Commit Graph

3493 Commits

Author SHA1 Message Date
Niels Martin Hansen 747599cdc2 new version, sorry 'bout the delay guys
Originally committed to SVN as r6219.
2012-01-08 01:08:18 +00:00
Niels Martin Hansen 2976c1b739 For reasons not known, the Cut and Copy options in the grid context menu have been swapped since a time before time.
Originally committed to SVN as r6195.
2012-01-01 19:31:14 +00:00
Niels Martin Hansen 20c7cbb6c7 Fix compilation error (warnings as errors) on MSVC.
Originally committed to SVN as r6194.
2012-01-01 19:29:31 +00:00
Niels Martin Hansen 5706d00262 Updated Russian translation, thanks to z0rc.
Originally committed to SVN as r6193.
2012-01-01 19:27:31 +00:00
Niels Martin Hansen 85c8241597 Updated Finnish and Japanese translations, thanks to JEEB.
Originally committed to SVN as r6192.
2011-12-30 19:56:26 +00:00
Niels Martin Hansen 8d4b519b81 Updated Serbian translations, and a fix to the Windows installer. See #1325. Thanks to Rancher.
Originally committed to SVN as r6191.
2011-12-30 16:44:34 +00:00
Niels Martin Hansen c28363c58f Updated Greek translation, thanks to Gpower2.
Originally committed to SVN as r6190.
2011-12-30 16:24:41 +00:00
Niels Martin Hansen b6ee6a8cf3 Fix compilation of PortAudio player, closes #1372.
Originally committed to SVN as r6186.
2011-12-29 17:06:55 +00:00
Niels Martin Hansen bd2960a09c Updated POT file. Includes some new strings, but they are not important and translations are still considered complete even with those missing.
The new strings cover: A message given if the user orders a spell check and no dictionaries are available. Configuration dialog for export to the EBU STL subtitle format.

Originally committed to SVN as r6159.
2011-12-25 02:19:31 +00:00
Niels Martin Hansen 3d94b7e914 Fixes for OS X version checker HTTP code, actually handle connection failing.
Originally committed to SVN as r6158.
2011-12-24 17:53:02 +00:00
Niels Martin Hansen b74b437f08 Kill a lot of old wxLogDebug statements, unused and unloved, and occasionally causing problems for Mac builds.
Originally committed to SVN as r6157.
2011-12-24 15:56:55 +00:00
Niels Martin Hansen a8df963b8b Fix a few bugs introduced in the previous changes to configure.
Originally committed to SVN as r6156.
2011-12-24 15:40:50 +00:00
Niels Martin Hansen 6a98f9e37f Hack: Force-disable multithreading in ffms2 video provider when loading AVI files, since there is some long-standing bug related to multithreaded decoding from those.
Originally committed to SVN as r6148.
2011-12-23 01:37:49 +00:00
Niels Martin Hansen b955ad1c52 Make FFMS2 error reporting work.
Originally committed to SVN as r6147.
2011-12-23 01:20:33 +00:00
Niels Martin Hansen a514e92571 Why didn't the Windows project add the src/include/ dir to the include path...
Originally committed to SVN as r6000.
2011-12-22 13:07:54 +00:00
Niels Martin Hansen ab1711005c Fix some video provider error reporting, ffms provider was throwing wxStrings but we were catching wxChar*s.
Originally committed to SVN as r5999.
2011-12-22 13:06:29 +00:00
Niels Martin Hansen 58f7ee3015 Always repaint the entire grid when selection has changed by mouse, fixes #1371. (r6000 release is called off.)
Originally committed to SVN as r5998.
2011-12-22 13:04:50 +00:00
Niels Martin Hansen 877d9b5894 Make a bunch more sense in the configure script, have autodetection tests behave and report more sensibly. Hopefully this didn't break anything.
Originally committed to SVN as r5997.
2011-12-14 22:45:33 +00:00
Niels Martin Hansen 59536155ba Forgot to include <aegisub/exception.h> in r5979 when some Aegisub::UserCancelException catching was added.
Originally committed to SVN as r5996.
2011-12-14 15:55:17 +00:00
Niels Martin Hansen 1a35b77880 Update the URL to the online manual. Closes #1368.
Originally committed to SVN as r5995.
2011-12-13 00:59:02 +00:00
Niels Martin Hansen a4344ed8e8 Fix some wx runtime-warnings on Mac.
Originally committed to SVN as r5994.
2011-12-12 14:43:08 +00:00
Niels Martin Hansen 4fc08f94c6 Write a new HTTP client for the update checker for Mac builds, to avoid the problems the wx one causes. Fixes #1197 by the virtue of no longer depending on wxHTTP.
Originally committed to SVN as r5993.
2011-12-12 14:38:31 +00:00
Niels Martin Hansen 6a37e0c143 Forgot adding the EBU STL source file to the Makefile, breaking non-Windows builds.
Originally committed to SVN as r5992.
2011-12-10 20:39:11 +00:00
Niels Martin Hansen 2902d4e90c Remove some dead code from style editor.
Originally committed to SVN as r5991.
2011-12-08 17:05:53 +00:00
Niels Martin Hansen 85e1f6ac34 Hook into validator data transfer for the style editor, to make sure the preview box is updated when data are transferred into the window. This fixes #1356. (For whatever reason, the preview was never told to update after the data were transferred before.)
Originally committed to SVN as r5990.
2011-12-08 17:01:11 +00:00
Niels Martin Hansen 0777d3b136 Delay loading files specified on the commandline until the main window has been created, layouted and shown. This should solve glitches occurring due to any window layout changes from things being loaded. Fixes #1357.
Originally committed to SVN as r5986.
2011-12-06 22:14:43 +00:00
Niels Martin Hansen f7af745f75 Updated Indonesian translation, thanks to doplank for the continued work on this. Closes #1318.
Originally committed to SVN as r5983.
2011-12-06 21:29:31 +00:00
Niels Martin Hansen 26a8a64ef3 Handle the case of inserting a dialogue line into a file containing no dialogue lines in Auto4 Lua. Fixes #1363.
(The sample attached to the ticket still produces an invalid file because of poor logic in the Lua script, it chooses to place its configuration right before the first blank line in the file, but in the "original.ass" file, the first blank line is before [Script Info].)

Originally committed to SVN as r5982.
2011-12-06 21:25:51 +00:00
Niels Martin Hansen a42e8277b4 Add support for writing the EBU STL (tech 3264) subtitle format. Implementation sponsored by Bandai.
Forgive me for I have sinned: This adds new GUI with translatable strings, but it's a minor sin since the new GUI has very low visibility.

Originally committed to SVN as r5981.
2011-12-06 20:44:38 +00:00
Niels Martin Hansen 6270b312db SubtitleFormat::FPSRational can be useful in other places, so make it a public type.
Originally committed to SVN as r5980.
2011-12-06 20:42:07 +00:00
Niels Martin Hansen 88fe92bef1 Let export actions be gracefully cancellable.
Originally committed to SVN as r5979.
2011-12-06 20:40:56 +00:00
Niels Martin Hansen f18d0821e9 Refactoring the fractional time (SMPTE timecode) support, as well as some behaviour fixing. This should make timecode-based subtitle writing be more frame-correct and let inclusive/exclusive end-timecode handling be more reliable.
Not actually tested with any of the existing timecode formats, though I don't expect breakage.

Originally committed to SVN as r5978.
2011-12-06 20:39:38 +00:00
Niels Martin Hansen a01b45fe3a Also read SRT files that use periods instead of commas to separate fractional seconds.
Originally committed to SVN as r5848.
2011-11-15 03:43:33 +00:00
Thomas Goyne 1b6c1a69d3 Add -lrt to ALSA's LDFLAGS. Closes #1358.
Originally committed to SVN as r5840.
2011-11-08 17:44:17 +00:00
Niels Martin Hansen ddcebdef70 Add a DLL configuration to the CSRI wrapper library project.
Originally committed to SVN as r5839.
2011-11-08 07:26:01 +00:00
Niels Martin Hansen a039499909 When writing an UTF-8 memory subtitle file, also include a BOM to keep VSFilter happy.
Originally committed to SVN as r5789.
2011-10-27 23:00:56 +00:00
Niels Martin Hansen e2d75337db A bit of simplification of SubtitlesPreview.
Originally committed to SVN as r5788.
2011-10-27 22:25:02 +00:00
Niels Martin Hansen 8870eac2e9 Scrap the "OH NO VSFILTER CANNOT OPEN FROM MEMORY" sillyness from CSRI sub provider. It _can_, it just does it in a rather inefficient way (which incidentally involves a temporary file). It probably won't make a difference but it's less complexity on our side.
Originally committed to SVN as r5787.
2011-10-27 22:23:52 +00:00
Niels Martin Hansen 225832c490 Introduce a feature in TextFileReader that checks whether a file seems to be binary rather than text.
Use this to make the MicroDVD (.sub) format reader check that it isn't being fed something that might actually be VobSub (.sub+.idx) which makes Aegisub crash.
Hopefully this doesn't break anything else.
Fixes #1351.

Originally committed to SVN as r5773.
2011-10-24 20:36:48 +00:00
Niels Martin Hansen e0c9f16988 This grid code is so bad already so why not make it a bit worse? Make most of the private fields in BaseGrid protected instead so SubsGrid can also access them. It's not like there is a clean distinction between the responsibilities of those two anyway. This lets us reset extendRow after deleting lines in some SubsGrid code. This fixes #1348.
Originally committed to SVN as r5765.
2011-10-24 19:48:28 +00:00
Niels Martin Hansen e1427ee08b Do something with how keyboard and mouse selection in the grid works. This should make behaviour slightly more sensible and even fix #1347. Wooh.
Originally committed to SVN as r5764.
2011-10-24 19:37:55 +00:00
Niels Martin Hansen 04249816fb Add some more specification to the attribList used for setting up our wxGLCanvas. It turns out that wxMSW will set PIXELFORMATDESCRIPTOR.cColorBits to 0 if there isn't anything in the attribList to specify a desired number of bits, which may be what some OpenGL drivers break on. (Shotgun debugging at its finest.)
Originally committed to SVN as r5739.
2011-10-16 22:34:59 +00:00
Niels Martin Hansen 92368a7aa6 Going back to using a WinRAR self-extractor for portable version. File-list and archive comment for this. Also, have the portable version default to using English UI without asking.
Originally committed to SVN as r5719.
2011-10-10 16:33:31 +00:00
Niels Martin Hansen 8d65e55e6e Let the video display expand to fill available space properly when it is detached. Needs testing on GTK and Mac. Updates #1346.
Originally committed to SVN as r5718.
2011-10-09 17:17:20 +00:00
Niels Martin Hansen 0763a96bd4 Apply patch to make the Open dialogues remember the last used path properly, closes #1340.
Originally committed to SVN as r5717.
2011-10-09 16:53:18 +00:00
Niels Martin Hansen 80ac12d408 Don't prevent the user from doing non-numeric input in the Jump To dialogue using a bad method. Closes #1319.
Originally committed to SVN as r5716.
2011-10-09 16:44:55 +00:00
Niels Martin Hansen 96c41938da Spell checker dictionaries installer for Serbian. Closes #1328.
Originally committed to SVN as r5715.
2011-10-09 13:34:09 +00:00
Niels Martin Hansen a9ee18f6e2 When loading VFR overrides, make sure to set both VFR Input and Output. (Whatever that means.) Not doing so makes subtitle rendering break if you later load a video and choose to use the overridden frame times.
Thanks to nodame for identifying this bug and the fix.

Originally committed to SVN as r5714.
2011-10-08 12:29:33 +00:00
Niels Martin Hansen 9a90550148 "This is madness!" "No, this is SRT!"
Remove SRT timestamp reading and writing from AssTime and write new functions that may be more flexible. It is now possible to have any number of decimal places on the seconds part.

Originally committed to SVN as r5713.
2011-10-07 11:59:21 +00:00
Niels Martin Hansen 26987e800b Fix typo in r5711
Originally committed to SVN as r5712.
2011-10-02 03:13:00 +00:00