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
Thomas Goyne
a927672c27
Remove unused private variables in AudioProvider
...
Originally committed to SVN as r6222.
2012-01-08 01:33:33 +00:00
Thomas Goyne
4e06c198d0
Kill AssStyle::Get\SetMarginString, as it isn't really used for much of anything
...
Originally committed to SVN as r6221.
2012-01-08 01:33:26 +00:00
Thomas Goyne
8fdd5d987e
Remove the encoding parameter from AssFile::SaveMemory, as it only supports utf-8, and simplify the implementation
...
Originally committed to SVN as r6220.
2012-01-08 01:33:19 +00:00
Thomas Goyne
c379e1e8e0
Prompt to save changes before creating new subtitles
...
Originally committed to SVN as r6218.
2012-01-08 01:05:57 +00:00
Thomas Goyne
dc58b3db40
Clean up SetThreadName a little
...
Originally committed to SVN as r6217.
2012-01-08 01:05:51 +00:00
Thomas Goyne
c0d8270815
Add shell script to regenerate the .pot file
...
Originally committed to SVN as r6216.
2012-01-08 01:05:45 +00:00
Thomas Goyne
2b07b3411f
Fill in a few placeholder strings
...
Originally committed to SVN as r6215.
2012-01-08 01:05:39 +00:00
Thomas Goyne
dfafbc082d
Delete unused command "subtitle/tags/show"
...
Originally committed to SVN as r6214.
2012-01-08 01:05:33 +00:00
Thomas Goyne
e8ba128fa8
Synchronize a bunch of similar but not quite identical strings. Closes #1081 .
...
Originally committed to SVN as r6213.
2012-01-08 01:05:25 +00:00
Thomas Goyne
c847318ddb
Mark command strings as translatable
...
Originally committed to SVN as r6212.
2012-01-08 01:05:19 +00:00
Thomas Goyne
3efdef2224
Tweak a few strings to make them easier to translate
...
Originally committed to SVN as r6211.
2012-01-08 01:05:13 +00:00
Thomas Goyne
eaa1001d7a
Don't mark help button page names as translatable
...
Originally committed to SVN as r6210.
2012-01-08 01:05:07 +00:00
Thomas Goyne
e08fb25d15
Check for --enable-debug before wxWidgets as the wx m4 macros use the value of $enable_debug
...
Originally committed to SVN as r6209.
2012-01-08 01:05:01 +00:00
Thomas Goyne
25c1225ad1
Fix bug where on wxGTK the display mode would get set to "Subs Only" the first time the menus were opened after opening video or audio
...
Originally committed to SVN as r6208.
2012-01-08 01:04:55 +00:00
Thomas Goyne
89705b4f9c
Add missing config.h include in preferences.cpp
...
Originally committed to SVN as r6207.
2012-01-08 01:04:50 +00:00
Thomas Goyne
4990d8255c
Don't bother refcounting portaudio initializations as portaudio does that internally
...
Originally committed to SVN as r6206.
2012-01-08 01:04:44 +00:00
Thomas Goyne
0fd475031a
Make default script resolution customizable
...
Originally committed to SVN as r6205.
2012-01-08 01:04:37 +00:00
Thomas Goyne
6b85782dc5
Fix signed/unsigned comparison warning on x64
...
Originally committed to SVN as r6204.
2012-01-08 01:04:29 +00:00
Thomas Goyne
71968aa4f3
Fix wxString::Format assertion failures in the stack walker
...
Originally committed to SVN as r6203.
2012-01-08 01:04:16 +00:00
Thomas Goyne
00b3fcf0b7
Remove incorrect overriding of the test project's intermediate and output directories
...
Originally committed to SVN as r6202.
2012-01-08 01:04:11 +00:00
Thomas Goyne
0113b33d66
Always build with -g and optionally strip the debugging symbols on install so that crash backtraces aren't completely meaningless
...
Originally committed to SVN as r6201.
2012-01-08 01:04:05 +00:00
Thomas Goyne
5702dd60a1
Add install-strip target to the makefile
...
Originally committed to SVN as r6200.
2012-01-08 01:03:59 +00:00
Thomas Goyne
3d906ded47
Remove precompiled headers on 'make clean' and add 'mostlyclean' target that does not touch them
...
Originally committed to SVN as r6199.
2012-01-08 01:03:53 +00:00
Thomas Goyne
c4251bd181
Add DESTDIR support. Patch by Alucryd. Closes #1376 .
...
Originally committed to SVN as r6198.
2012-01-08 01:03:45 +00:00
Thomas Goyne
58d6ac1fad
Make DataBlockCache::Age roughly ten times as fast
...
Originally committed to SVN as r6197.
2012-01-08 01:03:40 +00:00
Thomas Goyne
83805934dd
Fix order of Cut and Copy on the subtitles grid context menu
...
Originally committed to SVN as r6196.
2012-01-08 01:03:33 +00:00
Thomas Goyne
3f9080bbee
Fix left-click check on audio display
...
Originally committed to SVN as r6189.
2011-12-30 15:52:04 +00:00
Thomas Goyne
e34b401201
Return -1 from AegisubApp::FilterEvent rather than wxEventFilter::Event_Skip, as the enum was added in wx 2.9.4
...
Originally committed to SVN as r6188.
2011-12-30 15:51:58 +00:00
Thomas Goyne
84d1315736
Write the config and MRU files to ?data in portable mode rather than ?user
...
Originally committed to SVN as r6187.
2011-12-30 01:21:03 +00:00
Thomas Goyne
d01d7eb78b
Fix crash when the audio commit hotkey is pressed with the grid focused and no audio open
...
Originally committed to SVN as r6185.
2011-12-29 15:12:36 +00:00
Thomas Goyne
d192f1c332
Fix bad format string that made stack trace writing fail after one stack frame
...
Originally committed to SVN as r6184.
2011-12-29 05:36:49 +00:00
Thomas Goyne
68b2ae8275
Eliminate most clang warnings
...
Originally committed to SVN as r6183.
2011-12-28 21:27:22 +00:00
Thomas Goyne
0eeb1d18fc
Fix getting the revision from git with BSD sed
...
Originally committed to SVN as r6182.
2011-12-28 21:27:16 +00:00
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