Commit Graph

5077 Commits

Author SHA1 Message Date
Thomas Goyne cae10121ed Fix a bunch of -pedantic stuff
Originally committed to SVN as r6181.
2011-12-28 21:27:06 +00:00
Thomas Goyne cdf8e31e1a Get audio marker drag sensitivity from configuration
Originally committed to SVN as r6180.
2011-12-28 21:27:00 +00:00
Thomas Goyne 0e17edc561 Rearrange AudioDisplay::OnMouseEvent a bit to eliminate some duplicated code and separate the code which requires a timing controller from that which doesn't
Originally committed to SVN as r6179.
2011-12-28 21:26:54 +00:00
Thomas Goyne 6953a69cf8 Store the last used AudioMarkerInteractionObject in its own member variable to eliminate an ugly dynamic_cast
Originally committed to SVN as r6178.
2011-12-28 21:26:48 +00:00
Thomas Goyne 88ba844850 Make middle-click-drag on the audio display continue to update the video position
Originally committed to SVN as r6177.
2011-12-28 21:26:41 +00:00
Thomas Goyne 4b2e5d1b93 Make audio marker snap distance and whether or not it defaults to snapping customizable
Originally committed to SVN as r6176.
2011-12-28 01:22:59 +00:00
Thomas Goyne c06d72d5be gcc compilation fix
Originally committed to SVN as r6175.
2011-12-28 01:22:54 +00:00
Thomas Goyne b7cd695cd6 Add support for getting the revision number from git
Originally committed to SVN as r6174.
2011-12-28 01:22:49 +00:00
Thomas Goyne f02ccdd331 Update translations to 2.1.9's. Still rather out of date, but slightly less so.
Originally committed to SVN as r6173.
2011-12-28 01:22:37 +00:00
Thomas Goyne 532072218f Allow snapping to the inactive line markers in the audio display
Originally committed to SVN as r6172.
2011-12-27 18:46:20 +00:00
Thomas Goyne eda90a15fb Make the "Play last 500ms of selection" command always play to the end of the selection as it did in 2.1
Originally committed to SVN as r6171.
2011-12-27 02:23:04 +00:00
Thomas Goyne 935e5544d5 Fix intermediate overflow in DirectSoundPlayer2 that resulted in the playback position resetting to the beginning after 97 seconds with 44.1 khz audio
Originally committed to SVN as r6170.
2011-12-27 01:38:14 +00:00
Thomas Goyne 090fdecb95 Scroll instantly to the audio playback position when "Lock Scroll on Cursor" is enabled
Originally committed to SVN as r6169.
2011-12-27 01:38:08 +00:00
Thomas Goyne cfc7e009f2 Don't disable or hide the visual tools while video is playing. Updates #1336.
Originally committed to SVN as r6168.
2011-12-27 01:38:00 +00:00
Thomas Goyne ae3895fb8e Handle empty files better in the translation assistant
Originally committed to SVN as r6167.
2011-12-26 22:21:19 +00:00
Thomas Goyne 92254a9806 Start the translation assistant at the first translatable block rather than always the first block
Originally committed to SVN as r6166.
2011-12-26 22:21:14 +00:00
Thomas Goyne 9cfe230682 Remove unused 'parent' member from AssDialogueBlock and make 'text' protected
Originally committed to SVN as r6165.
2011-12-26 22:21:08 +00:00
Thomas Goyne 7b4759cc13 Parse {} as an empty override block rather than an empty comment
Originally committed to SVN as r6164.
2011-12-26 22:21:02 +00:00
Thomas Goyne 04990e8694 Fix seeking to previous keyframe when the current frame is not a keyframe
Originally committed to SVN as r6163.
2011-12-26 22:20:57 +00:00
Thomas Goyne 7adbe07b4e Silence a bunch of PREFast warnings
Originally committed to SVN as r6162.
2011-12-26 22:20:49 +00:00
Thomas Goyne bddd4fc714 Add group as an optional parameter to AssEntry's contructor
Originally committed to SVN as r6161.
2011-12-26 22:20:43 +00:00
Thomas Goyne a189bac35e Make AudioRenderingStyleRanges's destructor protected
Originally committed to SVN as r6160.
2011-12-26 22:20:37 +00:00
Thomas Goyne bc640b4f94 Fix use of uninitialized value that resulted in the find/replace dialog always opening as the replace dialog
Originally committed to SVN as r6155.
2011-12-24 00:47:41 +00:00
Thomas Goyne 7c6696a53a Fix signature of AssDialogue::SetEntryData so it actually overrides the base
Originally committed to SVN as r6154.
2011-12-24 00:36:30 +00:00
Thomas Goyne 309e7e75fd Eliminate the use of wxAny as it's the only thing not supported by clang
Originally committed to SVN as r6153.
2011-12-24 00:36:19 +00:00
Thomas Goyne 38b3379b3a Remove build_bsd as it's no longer used by anything
Originally committed to SVN as r6152.
2011-12-23 23:30:31 +00:00
Thomas Goyne d87ff50fc1 Remove special-casing for iconv on BSD
iconv is only one of many dependencies which are likely to be installed
to /usr/local ib BSD.

Originally committed to SVN as r6151.
2011-12-23 23:21:12 +00:00
Thomas Goyne aba01b833a Allow nonintegral font sizes in styles
Originally committed to SVN as r6150.
2011-12-23 23:21:02 +00:00
Thomas Goyne 435e7170df Add missing semicolon in the FFTW build credit
Originally committed to SVN as r6149.
2011-12-23 22:05:44 +00:00
Thomas Goyne 9bfa40a9d3 Add FFTW credit to the about dialog
Originally committed to SVN as r6146.
2011-12-22 21:32:37 +00:00
Thomas Goyne 31c696157d Change FFmpegSource to FFMS2 in the about dialog
Originally committed to SVN as r6145.
2011-12-22 21:32:29 +00:00
Thomas Goyne 236173ed22 Add myself to the primary authors in the About dialog
Originally committed to SVN as r6144.
2011-12-22 21:32:19 +00:00
Thomas Goyne be3e9dae68 Update the value of the zoom dropdown when the detached video dialog is resized
Originally committed to SVN as r6143.
2011-12-22 21:32:09 +00:00
Thomas Goyne 43b6d910fb Resize the detached video dialog to the specified size when the video zoom is changed. Closes #493.
Originally committed to SVN as r6142.
2011-12-22 21:31:57 +00:00
Thomas Goyne 77cf1f7583 Handle Windows newlines in line_iterator on non-Windows
Originally committed to SVN as r6141.
2011-12-22 21:31:48 +00:00
Thomas Goyne 4c9ebe1a4d Add debug flags to tests's CXXFLAGS
Originally committed to SVN as r6140.
2011-12-22 21:31:39 +00:00
Thomas Goyne 477dd8a2f6 Try to preserve the value of the styles dropdown across undo/redo
Originally committed to SVN as r6139.
2011-12-22 21:31:29 +00:00
Thomas Goyne 95ad8c1fba Fix the single-line-commit optimization
Originally committed to SVN as r6138.
2011-12-22 21:31:18 +00:00
Thomas Goyne 1c2abeae30 Stop coalescing changes made in the edit box after ten seconds of no changes
Originally committed to SVN as r6137.
2011-12-22 21:31:09 +00:00
Thomas Goyne fd35224cb5 Stop coalescing changes for undo when the active line changes
Originally committed to SVN as r6136.
2011-12-22 21:31:01 +00:00
Thomas Goyne f0e352f382 Update the view menu after the display mode has been automatically updated due to opening video or audio. Closes #1344.
Originally committed to SVN as r6135.
2011-12-22 21:30:49 +00:00
Thomas Goyne 5eb516f8d9 In non-WITH_STARTUPLOG builds, send startup log events to the standard logging system rather than discard them
Originally committed to SVN as r6134.
2011-12-22 21:30:40 +00:00
Thomas Goyne 046d8a6822 Use wxEventBlocker rather than manually enabling and disabling the event handler in SubsEditBox
Originally committed to SVN as r6133.
2011-12-22 21:30:32 +00:00
Thomas Goyne e5707ca6eb Don't use the ms time value of the Duration time edit control when in frame mode, as with vfr this may not actually represent a consisten number of frames
Originally committed to SVN as r6132.
2011-12-22 21:30:22 +00:00
Thomas Goyne 2c324de29c Fix use of an uninitialized value in the time edit control when the frame number can't be parsed
Originally committed to SVN as r6131.
2011-12-22 21:30:14 +00:00
Thomas Goyne 2fdbd86a7f Add aegisub.decode_path, which simply wraps StandardPaths::DecodePath
Originally committed to SVN as r6130.
2011-12-22 21:30:05 +00:00
Thomas Goyne 4a3f2b8412 Add aegisub.keyframes, which returns a table with all of the frame numbers which are keyframes
Originally committed to SVN as r6129.
2011-12-22 21:29:56 +00:00
Thomas Goyne f974fdb1b2 Delete aegisub.parse_tag_data and aegisub.unparse_tag_data
Originally committed to SVN as r6128.
2011-12-22 21:29:47 +00:00
Thomas Goyne 29460b97b9 Rearrange VideoContext::Reset to fix error on shutdown
Originally committed to SVN as r6127.
2011-12-22 21:29:38 +00:00
Thomas Goyne 4133806fe7 Allow opening video with no working subtitle providers enabled
Originally committed to SVN as r6126.
2011-12-22 21:29:29 +00:00