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
Thomas Goyne
08307674a0
Make AudioBox responsible for showing and hiding the karaoke bar, and make it shift the subs box down rather than shrink the audio display
...
Originally committed to SVN as r5678.
2011-09-29 05:33:10 +00:00
Thomas Goyne
094a6d081c
Move the audio box height management code from FrameMain to AudioBox
...
Originally committed to SVN as r5677.
2011-09-29 05:33:04 +00:00
Thomas Goyne
c211975b65
Remove unused window IDs in AudioBox
...
Originally committed to SVN as r5676.
2011-09-29 05:32:58 +00:00
Thomas Goyne
fca7657e60
Don't let the user drag the audio sash below the bottom of the window as it's rather hard to drag back afterwards
...
Originally committed to SVN as r5675.
2011-09-29 04:38:34 +00:00
Thomas Goyne
a00a3047cb
Save and restore the height of the audio display across sessions
...
Originally committed to SVN as r5674.
2011-09-29 04:38:27 +00:00
Thomas Goyne
6beb266c15
Use the end of line marker style for the end marker in karaoke mode rather than the start of line style
...
Originally committed to SVN as r5673.
2011-09-29 04:38:22 +00:00
Thomas Goyne
9b9482b96f
Set the subs box's style and size correctly
...
Originally committed to SVN as r5672.
2011-09-29 04:38:15 +00:00
Thomas Goyne
9ad1434f37
Don't rely on ADL for std algorithms called on wxArrayInt as wxArrayInt doesn't always inherit from std::vector
...
Originally committed to SVN as r5671.
2011-09-29 02:33:22 +00:00
Thomas Goyne
34a7f16214
Skip over invalid entries in the MRU file rather than crashing on startup
...
Originally committed to SVN as r5670.
2011-09-29 00:37:18 +00:00
Thomas Goyne
c328bdfa5f
Fix typo that resulted in automation macros not being able to set undo points
...
Originally committed to SVN as r5669.
2011-09-29 00:10:22 +00:00
Thomas Goyne
0f605b358f
Make the automation dialog resizable
...
Originally committed to SVN as r5668.
2011-09-28 21:38:18 +00:00
Thomas Goyne
6a49b5392d
Write MRU data to disk whenever a change is made rather than only on program exit
...
Originally committed to SVN as r5667.
2011-09-28 19:52:46 +00:00
Thomas Goyne
5411a57b3c
Add the command name for macros to the information popup in the automation dialog
...
Originally committed to SVN as r5666.
2011-09-28 19:52:37 +00:00
Thomas Goyne
dbca576d50
Require that macros defined in a single script have unique names
...
Originally committed to SVN as r5665.
2011-09-28 19:52:28 +00:00
Thomas Goyne
c632a662b2
Change the naming scheme for lua commands to 'automation/lua/[Script File Name]/[Macro Name]'
...
Originally committed to SVN as r5664.
2011-09-28 19:52:20 +00:00
Thomas Goyne
799c18e22d
Remove unused includes in auto4_lua.cpp
...
Originally committed to SVN as r5663.
2011-09-28 19:52:11 +00:00
Thomas Goyne
1e13670c70
Improve error handling in LuaModuleLoader and don't keep trying to load modules after one has been found
...
Originally committed to SVN as r5662.
2011-09-28 19:52:02 +00:00
Thomas Goyne
d3ea9236cf
Correct closing audio in FrameMain::OnSubtitlesOpen
...
Originally committed to SVN as r5661.
2011-09-28 19:51:53 +00:00
Thomas Goyne
77d02d269d
Eliminate a use of VideoContext::Get in AudioMarkerProviderKeyframes
...
Originally committed to SVN as r5660.
2011-09-28 19:51:44 +00:00
Thomas Goyne
6bf4a95428
Add a subtitles save slot to AudioController which stores the audio URI in the subtitles
...
Originally committed to SVN as r5659.
2011-09-28 19:51:35 +00:00
Thomas Goyne
74ae9189a2
Set ?audio to the path to the currently open audio file
...
Originally committed to SVN as r5658.
2011-09-28 19:51:26 +00:00
Thomas Goyne
9fc0b33cdf
Add opened audio files to the audio mru list
...
Originally committed to SVN as r5657.
2011-09-28 19:51:18 +00:00
Thomas Goyne
d863d4379b
Implement Audio/Auto/Scroll option
...
Originally committed to SVN as r5656.
2011-09-28 19:51:09 +00:00
Thomas Goyne
976061747d
Fix setting of filename when saving the subtitles
...
Originally committed to SVN as r5655.
2011-09-28 19:50:59 +00:00
Thomas Goyne
bfcd76c4aa
Add missing #include <algorithm> to scoped_ptr.h
...
Originally committed to SVN as r5654.
2011-09-28 19:50:50 +00:00
Thomas Goyne
5a49abb2eb
Fix bug in BaseGrid::GetSelection that resulted in row 0 always being selected
...
Originally committed to SVN as r5653.
2011-09-28 19:50:41 +00:00
Thomas Goyne
bb72ec980e
Actually select the new line when a new dialogue line is added due to the user switching to the next line from the edit box
...
Originally committed to SVN as r5652.
2011-09-28 19:50:32 +00:00
Thomas Goyne
94998f4283
Update ths column widths in BaseGrid when the number of digits in the row number changes
...
Originally committed to SVN as r5651.
2011-09-28 19:50:24 +00:00
Thomas Goyne
b55ff3f803
Switch auto4lua to a transactional model which applies changes to the subtitle file only if a macro runs to completion without errors or the user cancelling. Significantly improves behavior when the user cancels and fixes a race condition caused by committing on threads other than the GUI thread.
...
Originally committed to SVN as r5650.
2011-09-28 19:50:14 +00:00
Thomas Goyne
28afc48ca5
Eliminate an uninitialized variable warning
...
Originally committed to SVN as r5649.
2011-09-28 19:50:06 +00:00
Thomas Goyne
d419c7a447
Implement the Automation menu
...
Originally committed to SVN as r5648.
2011-09-28 19:49:56 +00:00
Thomas Goyne
5bb5f146a7
Make the project context available to lua C functions so that they can use that instead of VideoContext::Get()
...
Originally committed to SVN as r5647.
2011-09-28 19:49:47 +00:00
Thomas Goyne
dfef9191f9
Move the creation of the progress dialog for the audio caches to AudioProvider and just pass the BackgroundRunner to the caches. This still isn't the right place to be creating it, but this removes the UI-dependency for both caches.
...
Originally committed to SVN as r5646.
2011-09-28 19:49:37 +00:00
Thomas Goyne
a9dc1f045d
Remove "Config" from the name of ScriptConfigDialog and friends as they're used for more than just config, and clean up the implementations.
...
Originally committed to SVN as r5645.
2011-09-28 19:49:27 +00:00
Thomas Goyne
59d11f4cc4
Make it so auto4lua macros can have an IsActive function. Probably not very useful at the moment.
...
Originally committed to SVN as r5644.
2011-09-28 19:49:18 +00:00
Thomas Goyne
60ea67661a
Do a better job of setting the module load path in LuaAssFile
...
Originally committed to SVN as r5643.
2011-09-28 19:49:09 +00:00
Thomas Goyne
8ba559b7f7
Clean up Automation4::ScriptManager
...
Originally committed to SVN as r5642.
2011-09-28 19:48:58 +00:00
Thomas Goyne
eec3d64221
Make automation macros standard commands and remove the Automation4::Feature base class as it's no longer a useful abstraction.
...
Originally committed to SVN as r5641.
2011-09-28 19:48:47 +00:00
Thomas Goyne
492a0d3046
Make Automation4::Script mostly pure abstract and clean up the implementation of LuaScript
...
Originally committed to SVN as r5640.
2011-09-28 19:48:37 +00:00
Thomas Goyne
c09259c93d
Throw typed exceptions in automation rather than strings
...
Originally committed to SVN as r5639.
2011-09-28 19:48:28 +00:00
Thomas Goyne
6d0e44baad
Use LocalScriptManager::Reload rather than looping over the scripts manually in the am/manager command
...
Originally committed to SVN as r5638.
2011-09-28 19:48:20 +00:00
Thomas Goyne
af9315f1aa
Remove some lingering unused automation things in frame_main
...
Originally committed to SVN as r5637.
2011-09-28 19:48:11 +00:00
Thomas Goyne
f970508e67
Add the ability to unregister commands and clarify who owns command objects
...
Originally committed to SVN as r5636.
2011-09-28 19:48:02 +00:00
Thomas Goyne
8aca250fd0
Kill cmd::id and friends. It didn't work correctly as ids weren't stable and only VideoBox still used it
...
Originally committed to SVN as r5635.
2011-09-28 19:47:53 +00:00
Thomas Goyne
53b6765dd8
Redesign DialogProgress
...
Add agi::ProgressSink and agi::BackgroundRunner interfaces to libaegisub
which represent a generic progress sink and a thing which calls funtions
that need progress sinks. Make DialogProgress implement
agi::BackgroundRunner, invoking the passed function on a worker thread
and giving it a progress sink to update the dialog with.
Rewrite Automation4::ProgressSink, LuaThreadedCall and all related
classes to be based on agi::ProgressSink. Automation now simply uses
DialogProgress (although that's merely an implementation detail) and
adds a single method to route dialog opening from the worker thread to
the GUI thread.
Originally committed to SVN as r5634.
2011-09-28 19:47:40 +00:00
Thomas Goyne
5439c6dae6
Remove some old video options from default_config.json
...
Originally committed to SVN as r5633.
2011-09-28 19:47:31 +00:00
Thomas Goyne
f341a63f14
Delete all the unused things in MatroskaWrapper (i.e. most of it), fix some derpy things, and make it throw typed exceptions.
...
Originally committed to SVN as r5632.
2011-09-28 19:47:21 +00:00
Thomas Goyne
2ca9392942
Set more finely-grained commit types from LuaAssFile rather than always using COMMIT_NEW
...
Originally committed to SVN as r5631.
2011-09-28 19:47:12 +00:00
Thomas Goyne
08a61c7fd4
Refactor LuaAssFile's implementation
...
Switch to 1-based indices to match Lua rather than converting back and
forth all over the place.
Eliminate a bunch of duplicated code.
Fix a few memory leaks.
Automatically set an undo point at the end of a macro if there are any
uncommited changes.
Originally committed to SVN as r5630.
2011-09-28 19:47:03 +00:00
Thomas Goyne
df100fb5a5
Pass a project context to AssExportFilter::GetConfigDialogWindow so that export filters don't have to use things like AssFile::top and VideoContext::Get
...
Originally committed to SVN as r5629.
2011-09-28 19:46:53 +00:00
Thomas Goyne
9ce579e187
Document and clean up a bunch of exporter related things. Break some friendships, and add a getter for export filter names.
...
Originally committed to SVN as r5628.
2011-09-28 19:46:41 +00:00
Thomas Goyne
cec07012e7
Add auto4_lua_factory.h to the vc9 project
...
Originally committed to SVN as r5627.
2011-09-28 19:46:32 +00:00
Thomas Goyne
dfc18afd34
Replace custom karaoke parsing code in LuaAssFile with AssKaraoke
...
Originally committed to SVN as r5626.
2011-09-28 19:46:23 +00:00
Thomas Goyne
1329245a21
Clean up the automation dialog and don't let the user load the same script twice
...
Originally committed to SVN as r5625.
2011-09-28 19:46:14 +00:00
Thomas Goyne
53c0b6ff3a
Clean up and document ScriptFactory, and add a function to get the full wildcard string for all registered automation engines
...
Originally committed to SVN as r5624.
2011-09-28 19:46:05 +00:00
Thomas Goyne
7680d6c246
Move the local script logic from FrameMain to a new LocalScriptManager
...
Originally committed to SVN as r5623.
2011-09-28 19:45:55 +00:00
Thomas Goyne
3029436a2d
Drop some AS5-specific stuff in LuaAssfile
...
Originally committed to SVN as r5622.
2011-09-28 19:45:47 +00:00
Thomas Goyne
0a91be1c7c
Unconditionally enable building automation even if there are no enabled engines as there isn't really any reason not to and the defines uglify the code.
...
Originally committed to SVN as r5621.
2011-09-28 19:45:35 +00:00
Thomas Goyne
66e826edb3
Split LuaProgressSink into its own cpp file to cut down on the bloatedness of auto4_lua.cpp
...
Originally committed to SVN as r5620.
2011-09-28 19:45:25 +00:00
Thomas Goyne
0b6ef72242
Rewrite LuaScriptReader, making it simpler and adding support for more charsets
...
Originally committed to SVN as r5619.
2011-09-28 19:45:16 +00:00
Thomas Goyne
432abc309b
Remove WITH_OLD_HUNSPELL. 1.2.0 is four years old and the configure script doesn't even support older versions that would require WITH_OLD_HUNSPELL
...
Originally committed to SVN as r5618.
2011-09-28 19:45:07 +00:00
Thomas Goyne
4ec507f814
Clean up SubtitleFormat
...
Document all of the SubtitleFormat methods.
Add default implementations of CanReadFile and CanWriteFile that check
against the appropriate wildcard list.
Clean up and simplify a lot of very odd code.
Throw typed exceptions in all subtitle readers rather than strings.
Originally committed to SVN as r5617.
2011-09-28 19:44:53 +00:00
Thomas Goyne
156885b56d
Make AudioTimingControllerDialogue operate on a project context
...
Originally committed to SVN as r5616.
2011-09-28 19:44:44 +00:00
Thomas Goyne
a25c5c1909
Rewrite the subtitles edit control's syntax highlighting
...
Simplify and clean up the parsing code to better represent how VSFilter
actually handles many odd edge cases as well as making it significantly
faster.
Use an enum for syntax style IDs rather than magic numbers.
Add styles for comments, draw mode and karaoke templater variables
rather than reusing other styles and move some hardcoded style
information to the config file.
Operate on the utf-8 representation of the edit box text rather than a
wxString, as it's both faster and simpler.
Originally committed to SVN as r5615.
2011-09-28 19:44:34 +00:00
Thomas Goyne
67ab06e830
Add an optional argument to AssFile::Commit which indicates that only a single line was changed. Currently used only to cut down on file copies when coalescing.
...
Originally committed to SVN as r5614.
2011-09-28 19:44:24 +00:00
Thomas Goyne
c936306593
Rewrite nearly everything related to karaoke
...
Move most karaoke parsing/serializing/editing code to AssKaraoke rather
than being scattered all over the place, and add much better support for
non-karaoke override tags and comments.
Add a karaoke timing controller.
Redesign the karaoke syllable split/join interface to have a single mode
from which both splitting and joining can be done rather than separate
split and join modes.
Only show the karaoke split/join bar when karaoke mode is enabled.
Closes #886 , #987 , #1190 .
Originally committed to SVN as r5613.
2011-09-28 19:44:07 +00:00
Thomas Goyne
cc147d1660
Eliminate uses of c_str made unnecessary by changed to wxString::Format in wx 2.9
...
Originally committed to SVN as r5612.
2011-09-28 19:43:48 +00:00
Thomas Goyne
d990bbbb99
Eliminate all unnecessary uses of L and _T
...
Originally committed to SVN as r5611.
2011-09-28 19:43:11 +00:00
Niels Martin Hansen
7250b89cbd
MSBuild project updates.
...
Originally committed to SVN as r5603.
2011-09-15 14:50:08 +00:00
Thomas Goyne
088976554c
Fix non-precomp-header compilation
...
Originally committed to SVN as r5602.
2011-09-15 06:12:26 +00:00
Thomas Goyne
d70fb7fe2d
Fix compilation errors
...
Originally committed to SVN as r5601.
2011-09-15 06:03:13 +00:00
Thomas Goyne
683dd6c0a9
Kill BaseGrid::SelectVisible
...
Originally committed to SVN as r5600.
2011-09-15 05:17:43 +00:00
Thomas Goyne
11c40188c2
Eliminate some old selection code in BaseGrid
...
Originally committed to SVN as r5599.
2011-09-15 05:17:36 +00:00
Thomas Goyne
05da23b22f
Mostly detangle the edit box from the subtitles grid
...
Originally committed to SVN as r5598.
2011-09-15 05:17:29 +00:00
Thomas Goyne
3c4191e649
Kill SubtitlesGrid::SetSubsToVideo
...
Originally committed to SVN as r5597.
2011-09-15 05:17:22 +00:00
Thomas Goyne
0c4eb020a4
Rewrite the shift times dialog, detangling it from the grid and making it modeless, and add support for characters outside the local charset in the shift history file path. Closes #1269 .
...
Originally committed to SVN as r5596.
2011-09-15 05:17:14 +00:00
Thomas Goyne
1f095b0a01
Remove the SubsEditBox from the context in favor of the SubsEditTextCtrl as it was the only public member of SubsEditBox
...
Originally committed to SVN as r5595.
2011-09-15 05:17:07 +00:00
Thomas Goyne
d022d2ae56
Eliminate pointless (and slow) setting of the edit box to its current text
...
Originally committed to SVN as r5594.
2011-09-15 05:17:00 +00:00
Thomas Goyne
5b3b821696
Always keep the active line visible in the grid
...
Originally committed to SVN as r5593.
2011-09-15 05:16:54 +00:00
Thomas Goyne
1cc5d4001a
Rewrite the selection dialog, detangling it from SubtitlesGrid and making it modeless
...
Originally committed to SVN as r5592.
2011-09-15 05:16:47 +00:00
Thomas Goyne
584f36a744
Detangle the spellchecker dialog from the subtitles grid, make it modelss, and fix a lot of edges cases
...
Originally committed to SVN as r5591.
2011-09-15 05:16:41 +00:00
Thomas Goyne
934a5b24eb
Refine the commit types
...
Switch to a bitmask with much more finely-grained information about what
changed in the commit, fixing a few potential correctness problems and
significantly improving the performance of several scenarios where commits
are spammed very frequently.
Originally committed to SVN as r5590.
2011-09-15 05:16:32 +00:00
Thomas Goyne
3f05fe6b3e
Add support for labels in the audio display
...
Originally committed to SVN as r5589.
2011-09-15 05:16:26 +00:00
Thomas Goyne
3e708eab10
Slightly simplify parts of AudioDisplay
...
Originally committed to SVN as r5588.
2011-09-15 05:16:18 +00:00
Thomas Goyne
e5d660e281
Hide visual tools while video is playing. Closes #1336 .
...
Originally committed to SVN as r5586.
2011-09-02 00:03:40 +00:00
Thomas Goyne
182b57bd0f
Fix compilation with precompiled headers off
...
Originally committed to SVN as r5579.
2011-08-31 04:23:18 +00:00
Thomas Goyne
d82e2bb496
Use wxEVT_CONTEXT_MENU for context menus rather than right button down so that the context menu key works correctly. Updates #1238 .
...
Originally committed to SVN as r5578.
2011-08-31 04:17:37 +00:00
Thomas Goyne
1c4410bb87
Make middle-click on the audio display seek the video to the clicked on time
...
Originally committed to SVN as r5577.
2011-08-31 04:17:31 +00:00
Thomas Goyne
02d4ee0cec
Revert when the dialogue timing controller is created to avoid broken behavior when leaving karaoke mode
...
Originally committed to SVN as r5576.
2011-08-31 04:17:24 +00:00
Thomas Goyne
7155ace1d9
Fix merge error in ass_file.h
...
Originally committed to SVN as r5573.
2011-08-27 07:28:04 +00:00
Thomas Goyne
0de3ce42d5
Speed up BlockCache::Age somewhat
...
Originally committed to SVN as r5572.
2011-08-27 06:52:49 +00:00
Thomas Goyne
03d7849d12
Significantly speed up grid painting, especially when only some columns need to be repainted
...
Originally committed to SVN as r5571.
2011-08-27 06:52:42 +00:00
Thomas Goyne
b8a1674c27
Remove some cruft from ScintillaTextCtrl and make SetUnicodeStyling significantly faster
...
Originally committed to SVN as r5570.
2011-08-27 06:52:35 +00:00
Thomas Goyne
ccf9f64818
Make Assfile::SetScriptInfo slightly less slow
...
Originally committed to SVN as r5569.
2011-08-27 06:42:10 +00:00
Thomas Goyne
e12bcc6aef
Bind VideoContext::OnFileSave to the file save signal rather than the commit signal
...
Originally committed to SVN as r5568.
2011-08-27 06:42:03 +00:00
Thomas Goyne
b14b2eceea
Update the Makefile and vc2010 project
...
Originally committed to SVN as r5567.
2011-08-27 06:37:03 +00:00
Thomas Goyne
2006995645
Revert pending changes when audio is opened to fix problems with stale data
...
Originally committed to SVN as r5566.
2011-08-27 06:30:56 +00:00
Thomas Goyne
a45b971b3a
Redesign ToggleBitmap to operate on a command
...
Originally committed to SVN as r5565.
2011-08-27 06:30:49 +00:00
Thomas Goyne
3ecfd34bd3
Convert the audio toolbar over to the new dynamic toolbar system
...
Originally committed to SVN as r5564.
2011-08-27 06:30:42 +00:00
Thomas Goyne
fc0db4fc36
Convert the VideoDisplay context menu over to the new menu system
...
Originally committed to SVN as r5563.
2011-08-27 06:30:35 +00:00
Thomas Goyne
e2f464c94f
Add commands for the video display context menu items
...
Originally committed to SVN as r5562.
2011-08-27 06:30:29 +00:00
Thomas Goyne
ca6d5b1f3e
Rearrange VideoDisplay's privates to make them a bit less randomly ordered and switch from auto_ptr to scoped_ptr
...
Originally committed to SVN as r5561.
2011-08-27 06:30:23 +00:00
Thomas Goyne
bc70429ffb
Remove #pragma once from subs_grid.h
...
Originally committed to SVN as r5560.
2011-08-27 06:30:16 +00:00
Thomas Goyne
41119ff6fc
Convert the subtitles grid context menu over to the new menu system
...
Originally committed to SVN as r5559.
2011-08-27 06:30:10 +00:00
Thomas Goyne
017a6aa27d
Do stuff to the AVS video provider
...
Remove the Matroska keyframe/timecode loading code, as opening MKVs via
Avisynth is dumb and didn't work very well anyway.
Fix framerate reporting by actually bothering to read the video
information before trying to use it.
Kill the VFW wrapper and just put the code in the avisynth video source.
If reading the keyframes from an avi file fails just warn the user
rather than refuse to load the video.
Originally committed to SVN as r5558.
2011-08-27 06:30:03 +00:00
Thomas Goyne
27867421b2
Fix some whitespace in frame_main.cpp
...
Originally committed to SVN as r5557.
2011-08-27 06:29:57 +00:00
Thomas Goyne
fb1e6fcbaf
Delete some obsolete event handling in FrameMain
...
Originally committed to SVN as r5556.
2011-08-27 06:29:51 +00:00
Thomas Goyne
5d07756838
Kill FrameMain::HasASSDraw as it's no longer used
...
Originally committed to SVN as r5555.
2011-08-27 06:29:45 +00:00
Thomas Goyne
626df4db05
Rewrite the dynamic menu generation code
...
Remove hardcoded assumptions about where in the menu items are and
instead bind menu items directly to commands so that customizing the
menu actually works.
Add support for user menu files that override the default one.
Add better support for multiple menus so that all of the menus can
potentially be created by the dynamic menu system rather than just the
main menu bar.
Add support for commands whose names change based on the current project
state so that undo and redo can work properly.
Simplify the menu json format and make commands responsible for
controlling what type of menu item is created rather than allowing
nonsensical configurations.
The Automation menu is currently not implemented.
Originally committed to SVN as r5554.
2011-08-27 06:29:36 +00:00
Thomas Goyne
319b454bb8
Add hotkeys to the tooltip for toolbar items
...
Originally committed to SVN as r5538.
2011-08-17 05:32:27 +00:00
Thomas Goyne
d3e7f02597
Update the video box time boxes when detached video is first opened
...
Originally committed to SVN as r5537.
2011-08-17 05:32:21 +00:00
Thomas Goyne
20258438ec
Fix incorrect initial size of the detached video dialog
...
Originally committed to SVN as r5536.
2011-08-17 05:32:15 +00:00
Thomas Goyne
0c1794a93f
Don't silently fail to start up if a config file is invalid
...
Originally committed to SVN as r5535.
2011-08-17 05:32:09 +00:00
Thomas Goyne
330411c94a
Add some special cases to line_iterator that makes it significantly faster in common cases
...
Originally committed to SVN as r5534.
2011-08-17 05:32:01 +00:00
Thomas Goyne
561216d4c8
Make hotkey::check take a project context and make FrameMain::context private
...
Originally committed to SVN as r5532.
2011-07-29 23:16:55 +00:00
Thomas Goyne
ef26170214
Rearrange FrameMain deinitialization so that things which depend on the project context are guaranteed to be destroyed before the context
...
Originally committed to SVN as r5531.
2011-07-29 23:16:46 +00:00
Thomas Goyne
65368c5f35
Detangle FrameMain and DialogDetachedVideo
...
Originally committed to SVN as r5530.
2011-07-29 23:16:36 +00:00
Thomas Goyne
3f50ce6d46
Delete FrameMain::LoadVFR as it's not longer used by anything
...
Originally committed to SVN as r5529.
2011-07-29 23:16:24 +00:00
Thomas Goyne
59755b5bb5
Add command to toggle medusa mode and fix the command names for many hotkeys
...
Originally committed to SVN as r5528.
2011-07-27 22:59:11 +00:00
Thomas Goyne
6d8d1a48d3
Disable precompiled headers for the C files in release builds and not just debug
...
Originally committed to SVN as r5527.
2011-07-27 22:59:01 +00:00
Thomas Goyne
1cacc33d2d
Simplify version.cpp
...
Originally committed to SVN as r5526.
2011-07-27 22:52:37 +00:00
Thomas Goyne
3a4c48d8df
Fix compilation without precompiled headers
...
Originally committed to SVN as r5525.
2011-07-27 17:21:39 +00:00
Thomas Goyne
db965eb766
Unbreak tag hiding in the grid
...
Originally committed to SVN as r5524.
2011-07-27 05:54:25 +00:00