Commit Graph

4534 Commits

Author SHA1 Message Date
Thomas Goyne b0166afaef Bump some copyright years to 2013 2013-06-25 16:32:36 -07:00
Thomas Goyne cc0671f94c Add the build directory to the include path for git_version.h 2013-06-25 16:31:20 -07:00
Thomas Goyne f2d27837da Install the Dutch translation 2013-06-25 16:25:28 -07:00
Thomas Goyne cfe28b9ad6 Set the horizontal zoom option consistently
Always store the actual zoom level, rather than sometimes the zoom level
and sometimes the slider position.

Updates #1597.
2013-06-23 12:43:12 -07:00
Thomas Goyne 4ad4a754a3 Fix compilation on Linux 2013-06-23 12:38:02 -07:00
Thomas Goyne 1f93280376 Fix compilation error 2013-06-23 12:35:21 -07:00
Thomas Goyne ec07db2615 Implement TransferToWindow in DoubleValidator. Closes #1606. 2013-05-25 17:00:53 -07:00
Thomas Goyne 9174650c1e Don't invert horizontal scroll on the audio display on OS X
For some reason horizontal scroll comes pre-flipped.
2013-05-25 17:00:49 -07:00
Thomas Goyne 9bed1a2edc Don't use the custom renders in the hotkeys editor on OS X
The standard controls aren't particularly usable, but the OS X
implementation of wxDVC doesn't actually support custom renderers and
not very usable is mildly better than entirely nonfunctional.
2013-05-25 17:00:42 -07:00
Thomas De Rocker 4a7e31ea6d Add Dutch (nl) translation. 2013-05-25 17:00:40 -07:00
Thomas Goyne a355ff0777 Restore the position of the audio zoom slider from the options correctly. Closes #1597. 2013-04-21 19:04:35 -07:00
Thomas Goyne d85419c49a Select the right things in the select overlaps macro. Closes #1594. 2013-04-15 15:47:30 -07:00
Thomas Goyne f7f948872b Fix the option name for the subtitle MRU list. Closes #1592. 2013-03-30 07:23:56 -07:00
صفا الفليج 137a7c3482 Update Arabic translation. Updates #1532. 2013-03-03 20:14:23 -08:00
صفا الفليج f4db27d11a Update Arabic translation. Update #1532. 2013-03-03 20:14:12 -08:00
Lasse Liehu 97cbb3272d Update Finnish translation. Updates #1522. 2013-02-13 09:33:15 -08:00
Thomas Goyne c9408f28ec Fix loading unicode actor names from plain text files
'isComment ? "" : actor' results in actor decaying to a const char * in
the local charset rather than converting "" to wxString, which breaks
things when unicode is involved.
2013-02-12 15:54:57 -08:00
Thomas Goyne cc309a3a55 Release mouse capture from the visual tools when the zoom is changed 2013-02-12 15:53:16 -08:00
Thomas Goyne 0e3b383c4b Handle partial characters at the end of the read buffer when loading Lua scripts. Closes #1576. 2013-02-12 15:52:56 -08:00
Thomas Goyne 73cc2d21c6 Check the error code when FFMS2 can't create an indexer
Creating an indexer can fail for reasons other than the file not
existing. This check is still not completely correct, since FFMS2 uses
the wrong error codes in a bunch of places.
2012-12-17 10:32:16 -08:00
Thomas Goyne f8a6c71a21 Fix y4m loading 2012-12-17 10:32:16 -08:00
Thomas Goyne bac8bad995 Make the configure check for lua more specific
Move the generic lua check to after the checks for lua 5.1 and check for
lua < 5.2.

Closes #1559.
2012-12-17 10:32:16 -08:00
Thomas Goyne 50df8dbcec Add .m4v to the list of video file extensions
It would be nice if this didn't require adding it in five different places...
2012-12-17 10:32:16 -08:00
Thomas Goyne bde3252443 Fix typo in a VFW error message 2012-12-17 10:32:16 -08:00
Thomas Goyne 0263ee684b Round syllable durations to centiseconds when splitting syllables 2012-12-17 10:32:16 -08:00
Thomas Goyne 56447397a2 Use EVT_CHAR_HOOK rather than EVT_KEY_DOWN in TimeEdit
With wxWidgets trunk keydown events are no longer generated for
Ctrl-C/X/V on Windows, which breaks the custom copy/paste handling.
2012-12-17 10:32:16 -08:00
Thomas Goyne d9b56badbf Use wxSTC::GetTextRaw rather than converting utf-8 -> wxString -> utf-8 2012-12-17 10:32:15 -08:00
Thomas Goyne 99b5c26592 Fix crash when playing audio before time 0
There were two checks for reads past the end rather than checks for
before start and after end.

Closes #1556.
2012-11-25 14:03:04 -08:00
Thomas Goyne 10579dcf48 Read strings from Matroska as UTF-8
Strings in Matroska files are all either UTF-8 or a UTF-8 subset, not
whatever the current locale happens to be.
2012-11-25 14:02:58 -08:00
Thomas Goyne 18a46610ca Commit pending audio changes on Enter in the edit box. Closes #1544. 2012-11-13 20:21:47 -08:00
Thomas Goyne a3201178a9 Handle errors which occur in the progress dialog worker thread 2012-11-10 18:02:42 -08:00
Thomas Goyne 23c750d138 Create well-formed ASS when reading SRT-in-Matroska
The conversion to ASS was creating invalid lines which could not be
parsed, resulting in the worker thread crashing.

Closes #1554.
2012-11-10 18:02:34 -08:00
Thomas Goyne 55886e4966 Add Malay to the spellchecker language list. Closes #1552. 2012-11-03 16:08:31 -07:00
Thomas Goyne 85bed94731 Fix some cases where the detached video dialog would get set to bogus sizes
At very large and very small sizes, setting the window's size with
SetSize may not actually result in the window changing to the requested
size.  Once this happened future adjustments to the size were incorrect,
and the video display would sometimes not fit in the window, and on os x
the window could get set to a negative size, with weird results.
2012-10-28 13:59:14 -07:00
Thomas Goyne 073bdbedcc Disable Ubuntu's global menu bar for Aegisub
wxWidgets currently doesn't generate menu open or update events for the
Ubuntu menubar (since GTK doesn't send the relevant signals to the
application), which we rely on.

Updates #1531.
2012-10-28 13:59:14 -07:00
Thomas Goyne e017d903c6 Timestamp temporary files to reduce the chance of name collisions 2012-10-28 13:51:23 -07:00
Thomas Goyne 913ff622a4 Verify that creating the temp file for saving actually succeeded 2012-10-28 13:51:23 -07:00
Thomas Goyne facee0578d Actually check MoveFileEx's return value 2012-10-28 13:51:23 -07:00
Thomas Goyne b968a7333b Add _tmp before the extension when saving
This makes it easier to open the temporary file if an error occurs at
some point in the saving process.
2012-10-28 13:51:23 -07:00
Thomas Goyne 063e1bc0dc Remove the platform-specific agi::io implementations since they were nearly identical 2012-10-28 13:51:23 -07:00
Thomas Goyne 9193023948 Fix a capitalization error in Info.plist. Closes #1547. 2012-10-28 13:49:08 -07:00
Thomas Goyne ce16f887e2 Add i386 to the supported architectures in the plist 2012-10-22 09:19:07 -07:00
Thomas Goyne bf1f1d8a88 Fix non-pch compilation 2012-10-22 09:19:07 -07:00
Thomas Goyne 5c2d31d6db Fix splitting lines by karaoke
New lines have to be committed before they can be selected.

Closes #1541.
2012-10-19 13:27:23 -07:00
Thomas Goyne 31803fd961 Don't use wxRemoveFile in the cache cleaner
wxRemoveFile notifies the user of errors via a dialog box, and errors
when cleaning the cache are normally just due to two copies of Aegisub
trying to clean it at the same time.
2012-10-19 07:38:05 -07:00
Thomas Goyne 8a1ba236ba Truncate syllables which extend past the end of the line rather than normalizing all of the syllable lengths 2012-10-16 14:30:28 -07:00
Thomas Goyne ef4cd5f519 Play right-clicked syllables when in karaoke mode 2012-10-16 14:09:04 -07:00
Thomas Goyne 4c116526d2 Fix an occasional crash on startup on Windows debug builds
Some of the debug iterator code seems to not like 'delete map[key]', so
change things a little to do things in a way that appears to be fine.
2012-10-16 09:47:06 -07:00
Thomas Goyne 181208a531 Skip unprocessed keydown events in the styling assistant so that typing style names actually works 2012-10-16 08:51:13 -07:00
Thomas Goyne 58981c5068 Make the correct row visible when selecting rows with shift + arrow keys in the grid. Closes #1533. 2012-10-14 08:31:36 -07:00