Thomas Goyne
896a1ab902
Don't mark things in drawing blocks as words in GetWordBoundaries
...
This disables spell checking in drawing blocks and potential weird
behavior when right-clicking on drawing blocks.
Originally committed to SVN as r6272.
2012-01-11 19:19:03 +00:00
Thomas Goyne
3f8b9b8213
Fix use of uninitialized variables in GetWordAtPosition when the position is not in a word
...
Originally committed to SVN as r6271.
2012-01-11 19:18:54 +00:00
Thomas Goyne
1293f86afe
Refactor SubsTextEditCtrl::OnContextMenu a bit
...
Originally committed to SVN as r6270.
2012-01-11 19:18:45 +00:00
Thomas Goyne
4726402abd
Don't embolden spell check suggestions
...
Setting the font to bold also changes the font size, which results in
the suggestions looking worse than the default appearance is.
Originally committed to SVN as r6269.
2012-01-11 19:18:35 +00:00
Thomas Goyne
ce01b39248
Add some of the FFMS2 options to the advanced audio page of the preferences dialog
...
Originally committed to SVN as r6268.
2012-01-10 22:10:57 +00:00
Thomas Goyne
2b49d6ea62
Fix typo in preferences dialog
...
Originally committed to SVN as r6267.
2012-01-10 22:10:47 +00:00
Thomas Goyne
3b099dba74
Fix icon installation with DESTDIR set
...
Originally committed to SVN as r6266.
2012-01-10 20:56:25 +00:00
Thomas Goyne
5ab777f230
Set BIN_SINSTALL in a way that actually works (make is not sh)
...
Originally committed to SVN as r6265.
2012-01-10 20:56:15 +00:00
Thomas Goyne
237193a4bb
Add option to only show non-comment inactive dialogue lines in the audio display. Closes #1386 .
...
Originally committed to SVN as r6264.
2012-01-10 20:03:31 +00:00
Thomas Goyne
5cd47a8a88
Switch precompiled headers back to defaulting to on
...
Originally committed to SVN as r6263.
2012-01-10 19:10:00 +00:00
Thomas Goyne
1a02d2ba3e
Add missing #include <algorithm> to dialog_log.cpp. Closes #1391 .
...
Originally committed to SVN as r6262.
2012-01-10 19:09:51 +00:00
Thomas Goyne
ea819a2e1a
Fix portaudio compilation failure
...
Originally committed to SVN as r6261.
2012-01-10 19:09:41 +00:00
Thomas Goyne
d451cf3e9c
Add option to show the previous and next inactive lines in the audio display in addition to previous, all or none. Updates #1386 .
...
Originally committed to SVN as r6260.
2012-01-10 01:16:39 +00:00
Thomas Goyne
a0fcd535c1
Store the names of commands in the menu rather than references to the commands themselves, to avoid crashes with dynamically created and removed commands. This makes most menu operations a bit slower, but it appears to be sufficiently fast.
...
Originally committed to SVN as r6259.
2012-01-09 20:31:55 +00:00
Thomas Goyne
1801583ed7
Reload the video when reattaching the video display. Fixes a pile of issues and potential crashes
...
Originally committed to SVN as r6258.
2012-01-09 20:31:47 +00:00
Thomas Goyne
cd48b711b4
Fix opengl errors when the file is modified with a minimized detached video window open
...
Originally committed to SVN as r6257.
2012-01-09 20:31:38 +00:00
Thomas Goyne
93c96d1f82
Increase default audio marker snap distance to 10 pixels to match 2.1.9
...
Originally committed to SVN as r6256.
2012-01-09 20:31:30 +00:00
Thomas Goyne
8bfefd356c
Return nil from lua functions which require a project context if they're called during script initialization. Closes #1380 .
...
Originally committed to SVN as r6255.
2012-01-09 20:31:19 +00:00
Thomas Goyne
bf26c14999
Remove redundant check in AudioDispaly::SetZoomLevel
...
Originally committed to SVN as r6254.
2012-01-08 01:37:19 +00:00
Thomas Goyne
f4c8bf429b
Remove AudioTimingController::HasLabels as the rewritten audio display doesn't need it
...
Originally committed to SVN as r6253.
2012-01-08 01:37:12 +00:00
Thomas Goyne
d04753aaf2
Remove AudioController::GetAudioProvider as it was a temporary hack which is no longer needed
...
Originally committed to SVN as r6252.
2012-01-08 01:37:05 +00:00
Thomas Goyne
702d1e9c22
Split AudioDisplay::OnPaint into several methods
...
Originally committed to SVN as r6251.
2012-01-08 01:36:58 +00:00
Thomas Goyne
3c62a38c7a
Replace MyThes thesaurus implementation with a custom one
...
Fixes a pile of unicode-related issues, such as dictionaries in a path
which does not fit into the system's local charset, and significantly
cuts down on the amount of code.
Originally committed to SVN as r6250.
2012-01-08 01:36:50 +00:00
Thomas Goyne
518f93f18f
Create the json log writer after checking for local config so it goes to the right place
...
Originally committed to SVN as r6249.
2012-01-08 01:36:35 +00:00
Thomas Goyne
e2d31b708e
Split the json log writing into a seperate class from LogSink
...
Originally committed to SVN as r6248.
2012-01-08 01:36:23 +00:00
Thomas Goyne
59ce8bf414
Pass wxStrings to wxString::Format rather than std::string in LogWindow
...
Originally committed to SVN as r6247.
2012-01-08 01:36:16 +00:00
Thomas Goyne
d148bbbf2a
Make agi::log::LogSink take ownership of the emitters passed to it
...
Originally committed to SVN as r6246.
2012-01-08 01:36:09 +00:00
Thomas Goyne
ba1a1dc737
Load configuration before initializing commands, hotkeys and icons, as hotkeys uses ?user which may be changed by configuration loading
...
Originally committed to SVN as r6245.
2012-01-08 01:36:03 +00:00
Thomas Goyne
d2d28401bd
Change how local config mode works
...
Rather than loading both the local and user config files and saving to
the local directory if an option is set, simply try to load the local
config file, and if it exists switch to local mode and never even touch
the user file.
Originally committed to SVN as r6244.
2012-01-08 01:35:56 +00:00
Thomas Goyne
ae62cb75b4
Add missing uses of STD_STR when converting from wxString to std::string
...
Originally committed to SVN as r6243.
2012-01-08 01:35:49 +00:00
Thomas Goyne
56337beb11
Use OutputDebugStringW rather than OutputDebugStringA in the windows debug logging so that unicode actually works
...
Originally committed to SVN as r6242.
2012-01-08 01:35:43 +00:00
Thomas Goyne
976da6717e
Change "windows specific" things in the preferences dialog to avisynth-specific
...
Originally committed to SVN as r6241.
2012-01-08 01:35:37 +00:00
Thomas Goyne
32abbde477
Pass a copy of the video filename to SetVideo in VideoContext::Reload so that it doesn't get cleared by Reset
...
Originally committed to SVN as r6240.
2012-01-08 01:35:31 +00:00
Thomas Goyne
6f7836c11e
Paint keyframe markers on top of line markers so that they don't vanish when lines are scenetimed
...
Originally committed to SVN as r6239.
2012-01-08 01:35:25 +00:00
Thomas Goyne
58c7bbd78a
Sort inactive markers so that lower_bound will actually work when lines are out of order or overlapping
...
Originally committed to SVN as r6238.
2012-01-08 01:35:18 +00:00
Thomas Goyne
c84275d6fa
Snap to markers in the audio display on click in addition to on drag
...
Originally committed to SVN as r6237.
2012-01-08 01:35:11 +00:00
Thomas Goyne
4dcb6240d4
Move audio marker snapping logic from the audio display to the dialogue timing controller
...
Originally committed to SVN as r6236.
2012-01-08 01:35:04 +00:00
Thomas Goyne
1285584e89
Add ?local for the user's local config dir; use it for FFMS2 indexes
...
Originally committed to SVN as r6235.
2012-01-08 01:34:57 +00:00
Thomas Goyne
44bc249fe8
Don't suffix the configuration directory with the version on unix
...
Aegisub is not a library that needs to support having many versions
installed at once, and having multiple versions sharing a config
directory mostly works fine on Windows anyway.
Closes #1031 .
Originally committed to SVN as r6234.
2012-01-08 01:34:49 +00:00
Thomas Goyne
43d4e785fb
Cosmetics in standard_paths.cpp
...
Originally committed to SVN as r6233.
2012-01-08 01:34:43 +00:00
Thomas Goyne
01646d7cf4
Remove StandardPaths::DecodePathMaybeRelative, as it's been deprecated forever
...
Originally committed to SVN as r6232.
2012-01-08 01:34:37 +00:00
Thomas Goyne
15d49fb655
Revamp AssFile::AddLine and related functions to eliminate the statics and hopefully make it less brittle
...
Originally committed to SVN as r6231.
2012-01-08 01:34:30 +00:00
Thomas Goyne
f8b4dd3a61
Bump copyright year in about dialog to 2012
...
Originally committed to SVN as r6230.
2012-01-08 01:34:24 +00:00
Thomas Goyne
afca7e9732
Don't overwrite overridden menu text when hotkeys change
...
Originally committed to SVN as r6229.
2012-01-08 01:34:18 +00:00
Thomas Goyne
8511376da5
Make strings from the menu json translatable
...
Originally committed to SVN as r6228.
2012-01-08 01:34:12 +00:00
Thomas Goyne
4d7518e127
Make OpenStream and CloseStream pure virtual
...
Originally committed to SVN as r6227.
2012-01-08 01:34:06 +00:00
Thomas Goyne
2f38efede6
Remove pointless call to CloseStream in AudioPlayer's destructor (calling virtual functions in constructors/destructors calls the version from the current class, not the most derived type)
...
Originally committed to SVN as r6226.
2012-01-08 01:34:01 +00:00
Thomas Goyne
81a99ae27b
Remove pointless duplicated member variable in OSSPlayer and document a few of the members
...
Originally committed to SVN as r6225.
2012-01-08 01:33:55 +00:00
Thomas Goyne
02fa5bee3e
Add option to automatically open audio when opening video. Closes #1134 .
...
Originally committed to SVN as r6224.
2012-01-08 01:33:47 +00:00
Thomas Goyne
df9c6b627f
Improve audio open error reporting and remove a pile of unused stuff in AudioPlayer
...
Originally committed to SVN as r6223.
2012-01-08 01:33:39 +00:00