Thomas Goyne
|
dedccc1f58
|
Handle errors when opening audio via the MRU menu
Originally committed to SVN as r5804.
|
2011-10-29 04:31:05 +00:00 |
|
Thomas Goyne
|
52a2316934
|
Don't display an error message if the user cancels audio loading
Originally committed to SVN as r5803.
|
2011-10-29 04:30:58 +00:00 |
|
Thomas Goyne
|
31a3b9aae0
|
Do nothing if video is played with no video loaded rather than crashing
Originally committed to SVN as r5802.
|
2011-10-29 04:30:52 +00:00 |
|
Thomas Goyne
|
402ba0e89d
|
Fix loading subtitles from matroska files
Originally committed to SVN as r5801.
|
2011-10-29 04:16:31 +00:00 |
|
Thomas Goyne
|
6315192e2b
|
Don't reuse buffers in the audio provider converters, as it isn't thread-safe to do so and making it thread-safe would hurt performance more than the extra allocations
Originally committed to SVN as r5800.
|
2011-10-29 03:47:02 +00:00 |
|
Thomas Goyne
|
085560b8c8
|
Use a single class for all audio endian and bit-depth conversion as while it's slower than the specialized ones, it isn't significantly so
Originally committed to SVN as r5798.
|
2011-10-29 03:46:51 +00:00 |
|
Thomas Goyne
|
f9408031b6
|
Add support for 24-64 bit audio. Based on a patch by SAPikachu. Updates #1292.
Originally committed to SVN as r5797.
|
2011-10-29 03:46:44 +00:00 |
|
Thomas Goyne
|
7f06849531
|
Rewrite the audio format converters, splitting each conversion into its own class
Originally committed to SVN as r5796.
|
2011-10-29 03:46:36 +00:00 |
|
Thomas Goyne
|
9a8fb66fbf
|
Remove an unused variable in BaseGrid::UpdateMaps
Originally committed to SVN as r5795.
|
2011-10-28 20:40:53 +00:00 |
|
Thomas Goyne
|
f48f17cd0b
|
Implement the hotkey page of the preferences dialog
Originally committed to SVN as r5794.
|
2011-10-28 20:40:43 +00:00 |
|
Thomas Goyne
|
6c995e7780
|
Add support for modifying hotkeys while the program is running
Originally committed to SVN as r5793.
|
2011-10-28 20:40:32 +00:00 |
|
Thomas Goyne
|
cba0b1edb8
|
Add a function to get a list of all registered command names
Originally committed to SVN as r5792.
|
2011-10-28 20:40:20 +00:00 |
|
Thomas Goyne
|
ffa622d698
|
Fix compilation without precompiled headers
Originally committed to SVN as r5791.
|
2011-10-28 20:15:10 +00:00 |
|
Thomas Goyne
|
f9f84b18f7
|
Use the error style for the entire thing-that-can't-be-a-tag-name rather than just the first character when a backslash is followed by garbage in an override block
Originally committed to SVN as r5786.
|
2011-10-26 02:48:08 +00:00 |
|
Thomas Goyne
|
48070be3a3
|
Move the audio display mouse wheel handling to the audio box so that it can update the horizontal zoom scrollbar
Originally committed to SVN as r5785.
|
2011-10-25 20:28:30 +00:00 |
|
Thomas Goyne
|
b4ace668de
|
Only display the cursor time in the audio display when it's enabled
Originally committed to SVN as r5784.
|
2011-10-25 20:28:19 +00:00 |
|
Thomas Goyne
|
17b9347562
|
Add mouse wheel forwarding to ScintillaTextCtrl as wxSTC uses the scroll wheel
Originally committed to SVN as r5783.
|
2011-10-25 19:41:06 +00:00 |
|
Thomas Goyne
|
9ed1653aae
|
Add mouse wheel forwarding code to FrameMain for when focus is on something that doesn't handle scroll events
Originally committed to SVN as r5782.
|
2011-10-25 19:40:57 +00:00 |
|
Thomas Goyne
|
1741ce93f6
|
Factor out the mouse wheel forwarding code in the audio display to a function used by the audio display, video display and subtitles grid, and make it actually work
Originally committed to SVN as r5781.
|
2011-10-25 19:40:45 +00:00 |
|
Thomas Goyne
|
be75262f73
|
Reload scripts through their manager so that the menu is aware of changes
Originally committed to SVN as r5780.
|
2011-10-25 19:02:01 +00:00 |
|
Thomas Goyne
|
ec9d50a43a
|
Set shadow_w to the correct value in AssStyle's copy constructor
Originally committed to SVN as r5779.
|
2011-10-25 19:01:53 +00:00 |
|
Thomas Goyne
|
f6c8c83f5a
|
Obey the option to disable the keyframe markers in the audio display
Originally committed to SVN as r5778.
|
2011-10-25 19:01:41 +00:00 |
|
Thomas Goyne
|
7476dfd9c6
|
Use GetScriptInfoAsInt in AssFile::GetResolution
Originally committed to SVN as r5777.
|
2011-10-25 01:16:56 +00:00 |
|
Thomas Goyne
|
af19dad6ea
|
Remove pointless try\catch in AssFile;GetScriptInfoAsInt (wx functions don't throw exceptions)
Originally committed to SVN as r5776.
|
2011-10-25 01:16:47 +00:00 |
|
Thomas Goyne
|
2ad0342103
|
Make AssFile::GetScriptInfo slightly less dumb
Originally committed to SVN as r5775.
|
2011-10-25 01:16:36 +00:00 |
|
Thomas Goyne
|
5c487ae75f
|
Don't apply the changes from an automation macro if an error occured
Originally committed to SVN as r5774.
|
2011-10-25 01:15:03 +00:00 |
|
Thomas Goyne
|
3a218c9dd4
|
Only set video zoom when loading associated video if it's actually present in the file
Originally committed to SVN as r5772.
|
2011-10-24 20:18:25 +00:00 |
|
Thomas Goyne
|
10464e4617
|
Kill AegisubApp::OnMouseWheel. It breaks the mouse wheel in dialogs, and it didn't actually work at the moment and isn't really the right way to handle mouse wheel forwarding in the first place
Originally committed to SVN as r5771.
|
2011-10-24 20:18:16 +00:00 |
|
Thomas Goyne
|
5e01f09b30
|
Refactor DialogAutomation::OnInfo
Originally committed to SVN as r5770.
|
2011-10-24 20:18:07 +00:00 |
|
Thomas Goyne
|
7f7aba1bcf
|
Make cmd::Command::name const
Originally committed to SVN as r5769.
|
2011-10-24 20:17:57 +00:00 |
|
Thomas Goyne
|
4e1e68c88b
|
Allow adding multiple scripts at once in the automation dialog
Originally committed to SVN as r5768.
|
2011-10-24 20:17:48 +00:00 |
|
Thomas Goyne
|
5cb7bdcbaf
|
Set the event object for colour button click events. Fixes a bug where colour buttons in automation dialogs were completely broken.
Originally committed to SVN as r5767.
|
2011-10-24 20:17:40 +00:00 |
|
Thomas Goyne
|
374a43cd8b
|
Simplify and speed up the hsl and hsv slider creation code in the color picker dialog
Originally committed to SVN as r5766.
|
2011-10-24 20:17:30 +00:00 |
|
Thomas Goyne
|
c1de03210d
|
Set the style dropdown's value after undo
Originally committed to SVN as r5763.
|
2011-10-23 17:00:32 +00:00 |
|
Thomas Goyne
|
f29e889776
|
Always update column widths after a new line is added or removed
Originally committed to SVN as r5762.
|
2011-10-23 17:00:26 +00:00 |
|
Thomas Goyne
|
f875938ee4
|
Don't report a user cancel when the user clicks on the 'Close' button after completion in the progress dialog
Originally committed to SVN as r5761.
|
2011-10-23 17:00:21 +00:00 |
|
Thomas Goyne
|
1364527681
|
Fix error when trying to insert to the end of the file from auto4lua
Originally committed to SVN as r5760.
|
2011-10-23 17:00:14 +00:00 |
|
Thomas Goyne
|
d4e17dde2e
|
Factor out the idea of a pen bound to options to a utility class
Originally committed to SVN as r5759.
|
2011-10-19 04:19:01 +00:00 |
|
Thomas Goyne
|
62f37772a3
|
Fix a pile of issues that resulted in the Actor box not working at all
Originally committed to SVN as r5758.
|
2011-10-19 04:05:09 +00:00 |
|
Thomas Goyne
|
035445e93a
|
When the cursor is in a comment block, insert override tags at the beginning of the block rather than inside the comment
Originally committed to SVN as r5757.
|
2011-10-19 03:24:10 +00:00 |
|
Thomas Goyne
|
4009d24e73
|
Return an approriately-sized empty icon from icon::get if no icon exists
Originally committed to SVN as r5756.
|
2011-10-18 00:10:02 +00:00 |
|
Thomas Goyne
|
1da6f46cb2
|
Log a warning in icon::get if the icon doesn't exist rather than using printf
Originally committed to SVN as r5755.
|
2011-10-18 00:09:51 +00:00 |
|
Thomas Goyne
|
c7d0ce60ee
|
Make the style editor commit its own changes. Fixes some issues where changes made in the style editor would fail to update the rest of the program.
Originally committed to SVN as r5754.
|
2011-10-17 22:00:58 +00:00 |
|
Thomas Goyne
|
36280b7a2b
|
Kill TrivialType_T as it's completely pointless
Originally committed to SVN as r5748.
|
2011-10-17 21:59:59 +00:00 |
|
Thomas Goyne
|
9dc9047c11
|
Change json::Object's backing store from a list to a map. Cajun used list to preserve order, but json objects do not guarantee that order will be preserved
Originally committed to SVN as r5747.
|
2011-10-17 21:59:47 +00:00 |
|
Thomas Goyne
|
2f64a116a7
|
Make cajun containers implement the STL container interfaces rather than being retarded special snowflakes
Originally committed to SVN as r5746.
|
2011-10-17 21:59:35 +00:00 |
|
Thomas Goyne
|
2f43ef2fca
|
Clean up the color picker dialog somewhat
Originally committed to SVN as r5744.
|
2011-10-17 17:52:49 +00:00 |
|
Thomas Goyne
|
04e385b4d5
|
Fix potential crash when opening the colorpicker dialog caused by use of an uninitialized variable
Originally committed to SVN as r5743.
|
2011-10-17 17:52:40 +00:00 |
|
Thomas Goyne
|
8daa6cfdc2
|
When setting the start or end time of a subtitle line to the current video frame, if the resulting line duration would be less than one frame also update the other time
Originally committed to SVN as r5742.
|
2011-10-17 17:52:31 +00:00 |
|
Thomas Goyne
|
6895e91e7c
|
Fix validation for Make Lines Continuous
Originally committed to SVN as r5741.
|
2011-10-17 17:52:22 +00:00 |
|
Thomas Goyne
|
cc9cc6d713
|
Use FFMS_SetOutputFormatV2 with sufficiently recent FFMS2 rather than the deprecated FFMS_SetOutputFormatV
Originally committed to SVN as r5740.
|
2011-10-17 17:52:11 +00:00 |
|
Thomas Goyne
|
98777eff4e
|
Use the per-platform default audio player from configure rather than always defaulting to portaudio
Originally committed to SVN as r5738.
|
2011-10-12 23:08:29 +00:00 |
|
Thomas Goyne
|
bb4c10a140
|
Make the audio play commands stop the video like in 2.1.x
Originally committed to SVN as r5737.
|
2011-10-12 23:08:20 +00:00 |
|
Thomas Goyne
|
bf5e504c59
|
Combine duplicated commands time/snap/frame and time/frame/current into one command that actually works
Originally committed to SVN as r5736.
|
2011-10-12 23:08:11 +00:00 |
|
Thomas Goyne
|
54f359f91b
|
Enable the correct shift amount text box when opening the shift times dialog rather than always enabling the time one
Originally committed to SVN as r5735.
|
2011-10-12 23:08:02 +00:00 |
|
Thomas Goyne
|
b7efafe3b8
|
Fix calculation of the time column widths
Originally committed to SVN as r5734.
|
2011-10-12 23:07:38 +00:00 |
|
Thomas Goyne
|
98786aecba
|
Fix the spelling of 'Choose...' in the preferences dialog
Originally committed to SVN as r5733.
|
2011-10-11 04:33:41 +00:00 |
|
Thomas Goyne
|
306664d16e
|
Make the browse and font pick buttons in the preferences dialog actually work, and delete BrowseButton as it's no longer used by anything.
Originally committed to SVN as r5732.
|
2011-10-11 00:06:44 +00:00 |
|
Thomas Goyne
|
a3d9deddb9
|
Fix endless recursion between SubsTextEditCtrl::UpdateCallTip and UpdateStyle
Originally committed to SVN as r5730.
|
2011-10-11 00:06:25 +00:00 |
|
Thomas Goyne
|
557e61722b
|
Kill DialogStyleEditor::OnChooseFont, which has been unused for over four years
Originally committed to SVN as r5729.
|
2011-10-11 00:06:13 +00:00 |
|
Thomas Goyne
|
7dfaa6427c
|
Implement the video position marker in the audio display
Originally committed to SVN as r5728.
|
2011-10-10 21:04:23 +00:00 |
|
Thomas Goyne
|
a260a998b3
|
Convert newlines to \N when pasting rather than trying to clean them up later
Originally committed to SVN as r5727.
|
2011-10-10 20:59:04 +00:00 |
|
Thomas Goyne
|
6e30ff633c
|
Fix compilation without precompiled headers
Originally committed to SVN as r5726.
|
2011-10-10 19:30:11 +00:00 |
|
Thomas Goyne
|
fdf74309a5
|
Don't revert changes to the filename made when undoing. Updates #1345.
Originally committed to SVN as r5725.
|
2011-10-10 17:29:35 +00:00 |
|
Thomas Goyne
|
eb947b3914
|
Remove dead code in AssFile::CanSave
Originally committed to SVN as r5724.
|
2011-10-10 17:29:26 +00:00 |
|
Thomas Goyne
|
e91834d667
|
Fix a few colourbutton issues in DialogStyleEditor
Originally committed to SVN as r5723.
|
2011-10-10 17:29:17 +00:00 |
|
Thomas Goyne
|
bd18ad11cb
|
Fix bug making it impossible to modify styles via the style editor
Originally committed to SVN as r5722.
|
2011-10-10 17:29:09 +00:00 |
|
Thomas Goyne
|
882ee76d59
|
Eliminate large amounts of duplicated code in DialogStyleEditor
Originally committed to SVN as r5721.
|
2011-10-10 17:28:59 +00:00 |
|
Thomas Goyne
|
cbcc581cea
|
Use PersistLocation for saving and restoring DialogStyleEditor's position
Originally committed to SVN as r5720.
|
2011-10-10 17:28:48 +00:00 |
|
Thomas Goyne
|
9ccd06b610
|
Uninvert playing the first/last 500ms of the selection
Originally committed to SVN as r5709.
|
2011-10-01 18:35:37 +00:00 |
|
Thomas Goyne
|
ac37a080c4
|
Change edit/search_replace to edit/find_replace in the default menu
Originally committed to SVN as r5708.
|
2011-10-01 18:35:31 +00:00 |
|
Thomas Goyne
|
a8caf35ebe
|
Fix flipped subtitles with libass + avisynth
Originally committed to SVN as r5707.
|
2011-10-01 18:35:25 +00:00 |
|
Thomas Goyne
|
8624f923d9
|
Add edit box font face and size to the preferences dialog
Originally committed to SVN as r5706.
|
2011-10-01 18:35:19 +00:00 |
|
Thomas Goyne
|
3ff8591c22
|
Add a third period to ellipses with only two
Originally committed to SVN as r5705.
|
2011-10-01 18:35:12 +00:00 |
|
Thomas Goyne
|
9b00fad2fc
|
Include the column headers in the column width calculations in BaseGrid
Originally committed to SVN as r5704.
|
2011-10-01 18:35:06 +00:00 |
|
Thomas Goyne
|
3dc0ed6c56
|
Use CmdDown in BaseGrid rather than #ifdefs
Originally committed to SVN as r5703.
|
2011-10-01 18:35:00 +00:00 |
|
Thomas Goyne
|
c199bd6d18
|
Only forward scroll wheel events to siblings and not parents to work around wx weirdness
Originally committed to SVN as r5702.
|
2011-10-01 18:34:49 +00:00 |
|
Thomas Goyne
|
5be401a1de
|
Rename edit/search_replace to edit/find_replace for consistency
Originally committed to SVN as r5701.
|
2011-09-30 23:51:41 +00:00 |
|
Thomas Goyne
|
76467584bb
|
Rearrange FrameMain's constructor so that the frame is shown before the updates check and files are loaded. Fixes some ugliness and a bug where the detached video dialog wasn't being parented correctly
Originally committed to SVN as r5700.
|
2011-09-30 20:43:04 +00:00 |
|
Thomas Goyne
|
e2ea5598fc
|
Remove a pointless sizer around the video box
Originally committed to SVN as r5699.
|
2011-09-30 20:42:55 +00:00 |
|
Thomas Goyne
|
87290be48e
|
Use Close rather than Destroy when closing the detached video dialog via the command
Originally committed to SVN as r5698.
|
2011-09-30 20:42:46 +00:00 |
|
Thomas Goyne
|
da6a208062
|
Bind wxEVT_LEFT_DCLICK in VideoDisplay so the cross and drag visual tools work
Originally committed to SVN as r5697.
|
2011-09-30 20:42:37 +00:00 |
|
Thomas Goyne
|
ce1783a868
|
Fix crash on commit in karaoke mode when autocommit is off
Originally committed to SVN as r5696.
|
2011-09-30 20:42:28 +00:00 |
|
Thomas Goyne
|
529f61e655
|
Allow overriding the aspect ratio when video is detached
Originally committed to SVN as r5695.
|
2011-09-30 20:42:20 +00:00 |
|
Thomas Goyne
|
3776051f96
|
Make the karaoke syllable table from aegisub.parse_karaoke_data zero-based for backward compatibility
Originally committed to SVN as r5694.
|
2011-09-30 20:42:09 +00:00 |
|
Thomas Goyne
|
5c75c9f708
|
Implement the audio scroll commands
Originally committed to SVN as r5693.
|
2011-09-30 20:41:56 +00:00 |
|
Thomas Goyne
|
597dd4bb8e
|
Don't try to detach on video open if the video is already detached
Originally committed to SVN as r5692.
|
2011-09-30 20:41:44 +00:00 |
|
Thomas Goyne
|
bdcc2ec170
|
Defriend VideoContext and AudioProvider
Originally committed to SVN as r5691.
|
2011-09-30 20:41:33 +00:00 |
|
Thomas Goyne
|
ea2525cd00
|
Remove unneccesary forward declarations from video_context.h
Originally committed to SVN as r5690.
|
2011-09-30 20:41:22 +00:00 |
|
Thomas Goyne
|
8bda12596a
|
Increase the minimum width of the thumb in the audio display scrollbar
Originally committed to SVN as r5689.
|
2011-09-30 20:41:10 +00:00 |
|
Thomas Goyne
|
8f918a59c2
|
Add some missing customizable subtitle grid colors to the preferences dialog
Originally committed to SVN as r5688.
|
2011-09-30 20:40:58 +00:00 |
|
Thomas Goyne
|
d5c4a9bec6
|
Get line start and end marker colors in dialogue mode from options
Originally committed to SVN as r5687.
|
2011-09-30 20:40:44 +00:00 |
|
Thomas Goyne
|
c4544839e9
|
Explicitly set the size of ColourButton as the default looks somewhat odd with wx trunk
Originally committed to SVN as r5686.
|
2011-09-29 20:27:50 +00:00 |
|
Thomas Goyne
|
546ced012a
|
Fix option names for syntax highlighting colors
Originally committed to SVN as r5685.
|
2011-09-29 20:27:40 +00:00 |
|
Thomas Goyne
|
0f8bafb432
|
Change default color for the end of line marker in the audio display to blue
Originally committed to SVN as r5684.
|
2011-09-29 20:27:32 +00:00 |
|
Thomas Goyne
|
62181365b9
|
Default to 25 FPS if there are too few frames in a video to compute the FPS
Originally committed to SVN as r5683.
|
2011-09-29 20:27:23 +00:00 |
|
Thomas Goyne
|
32463efb08
|
Fix crash when trying to open audio from file with no audio tracks
Originally committed to SVN as r5682.
|
2011-09-29 20:27:13 +00:00 |
|
Thomas Goyne
|
7b1dea1a7a
|
Eliminate flickering when moving the mouse over the karaoke split/join bar
Originally committed to SVN as r5681.
|
2011-09-29 18:17:37 +00:00 |
|
Thomas Goyne
|
ab52f9a441
|
Move most of the autosave logic to AssFile and only autosave if there's actually been changes since the last autosave
Originally committed to SVN as r5680.
|
2011-09-29 18:17:27 +00:00 |
|
Thomas Goyne
|
00dd477a40
|
Remove unused method FrameMain::OnSubtitlesSave
Originally committed to SVN as r5679.
|
2011-09-29 18:17:17 +00:00 |
|