Commit graph

3164 commits

Author SHA1 Message Date
Niels Martin Hansen
beedca2fba Fix #884, annoying wxString::Trim is destructive and there's no non-destructive variant. Adding a new function to utils.cpp to test whether a string is "blank", ie. empty or whitespace-only, as well as a function to check if a wchar_t is a whitspace character.
Trimming was used to test whether a string was blank or not, and this caused the source syllable texts to be altered when the kanji interpolation algorithm was run.

Originally committed to SVN as r3085.
2009-06-24 22:22:45 +00:00
Karl Blomster
a7760db77b Adjust the way VFR is handled in VideoContext::SetVideo; should be cleaner and less prone to odd bugs now (hopefully). Doesn't try to set CFR framerates on VFR videos anymore, for one thing. Fixes #864.
Originally committed to SVN as r3084.
2009-06-24 18:16:03 +00:00
Karl Blomster
2e9439c9f5 Implement timestamp reading from the container in the ffmpeg video provider. Updates #864.
Originally committed to SVN as r3083.
2009-06-24 17:43:36 +00:00
Karl Blomster
06ff786c60 Updated Czech translation by Christof (christof a totan d cz). Fixes #900
Originally committed to SVN as r3082.
2009-06-24 15:47:51 +00:00
harukalover
ee37d42618 Fixed an issue with Shift to Current Frame not updating the time edit boxes in the subs edit box, resulting in commit using the previous no longer valid times. Fixes #897
Originally committed to SVN as r3081.
2009-06-19 22:18:30 +00:00
Niels Martin Hansen
b0a9c3bc8d Add iconv project to Windows tinderbox solution file, and make the Aegisub project dependent on it, in preparation of iconv patch.
Originally committed to SVN as r3079.
2009-06-17 18:24:15 +00:00
Niels Martin Hansen
16a9521b0f Put iconv.vcproj in line with the other contrib etc. vcprojs:
* Add x64 configurations
 * Add contrib-outdirs.vsprop property sheet to put output dirs in line

Originally committed to SVN as r3078.
2009-06-17 17:55:30 +00:00
Thomas Goyne
80cb69f2ef Added a stripped down version of iconv with everything but libiconv and libcharset removed and a vcproj for building in MSVC added.
Originally committed to SVN as r3077.
2009-06-17 17:48:27 +00:00
Niels Martin Hansen
ce60827866 I can't spell names...
Originally committed to SVN as r3076.
2009-06-17 04:10:11 +00:00
Niels Martin Hansen
e20204610f New config for Windows buildbot.
* Add ffms2 support to build
 * Make sure Avisynth and ffms2 support is only built in 32 bit builds, as they can't work in 64 bit yet.

Originally committed to SVN as r3075.
2009-06-17 03:57:03 +00:00
Niels Martin Hansen
33d1b6d7d0 Change some nicknames for real names in About box, updates #894.
Originally committed to SVN as r3074.
2009-06-17 02:42:26 +00:00
harukalover
d83b19e57b Fixed a memory leak that occurred from canceling loading of audio with cache type set to RAM
Originally committed to SVN as r3073.
2009-06-17 02:04:01 +00:00
Amar Takhar
0d54078d93 Add cs (Czech) to LINGAS, anytime a language is added don't forget to add the file here!
Originally committed to SVN as r3072.
2009-06-17 01:45:13 +00:00
Niels Martin Hansen
b6e83c5edb New background for DMG for Mac OS X installs. Closes #869.
Originally committed to SVN as r3071.
2009-06-17 01:43:00 +00:00
Amar Takhar
e571fe0500 Remove whats probably a cut and paste-o introduced in r3069.
Originally committed to SVN as r3070.
2009-06-17 01:02:32 +00:00
Niels Martin Hansen
531831250a Update credits in About box, see #894.
Originally committed to SVN as r3069.
2009-06-17 00:49:41 +00:00
Niels Martin Hansen
b90baf0ef4 Fix #885, for some reason mouse events were firing in the audio display while some internal variables were invalid. Now mouse events are skipped if the display is missing a player or provider.
Originally committed to SVN as r3068.
2009-06-16 23:44:06 +00:00
Niels Martin Hansen
8e13869510 Got all the Unicode codepoints listed in Plorkyeran's patch and listed them in an array, to avoid encoding the source file as UTF-8 or UTF-16. Updates #710, seems to fix it but someone please confirm.
Originally committed to SVN as r3067.
2009-06-16 23:29:56 +00:00
Niels Martin Hansen
de5c5ea24b Add all translations to installer, comment out those that aren't up to date.
This should be all required for 2.1.7, so close #863.

Originally committed to SVN as r3066.
2009-06-16 21:23:53 +00:00
Niels Martin Hansen
e0a3aeca3d Fix #892, LuaScriptReader wasn't checking if opening the file actually succeeded.
Check, and throw an exception if it fails.

Originally committed to SVN as r3065.
2009-06-16 21:21:25 +00:00
Niels Martin Hansen
bab71db434 * Change version string formatting to a cleaner format.
* Non-FINAL_RELEASE builds no longer show a version number, only SVN revision.
 * FINAL_RELEASE builds show SVN revision in About box only.
 * Also change FINAL_RELEASE version number to 2.1.7.

Originally committed to SVN as r3064.
2009-06-16 19:11:08 +00:00
Niels Martin Hansen
7097b3be3e New splash screen, following theme from Windows installer splash: Faded out and cropped shield in background, logo superimposed.
Closes #858 unless someone complains loudly.

Originally committed to SVN as r3063.
2009-06-16 19:08:54 +00:00
Niels Martin Hansen
4967c9d4a5 Updates to installer, see #863.
* Add bitmaps for large fonts configurations of Windows to installer.
 * Add auto-complete support to dir entry box in installer.
Thanks to ender.

Originally committed to SVN as r3062.
2009-06-16 18:17:33 +00:00
Niels Martin Hansen
9d47842aa7 Remove unused RuntimeTestLibrary code.
Originally committed to SVN as r3061.
2009-06-16 17:34:21 +00:00
Niels Martin Hansen
45f4a16001 Updated splash image for Windows installer, updates #863.
Also includes Paint.NET source image.

Originally committed to SVN as r3060.
2009-06-16 17:33:41 +00:00
Niels Martin Hansen
66a35cad87 Update license file installed with Windows version, also see #863.
Originally committed to SVN as r3059.
2009-06-16 17:23:59 +00:00
Niels Martin Hansen
766dcf3c3f More updates to installer, updates #863.
* Use a simple but (hopefully) very reliable way of detecting whether runtimes need to be installed: Check for an uninstaller entry for the runtimes.
 * Clean up from most, hopefully all, 2.x alpha and pre-release installers we have previously put out.
 * Also clean combinations of 1.x and 2.x pre-rel versions installed on top of each other.
 * TODO: List all completed translation files for installation.

Originally committed to SVN as r3058.
2009-06-16 17:09:42 +00:00
Niels Martin Hansen
9aaa1ed903 Installer updates for 2.1.7:
* Now picks up (almost) all files from a tree in src/ under dir with the .iss file
 * Perfect (I think) upgrade from 1.x versions
 * Remove the compile defines stuff, there's only one installer version
 * Good, old-fashioned unconditional installation of MSVC runtimes
To be done:
 * Upgrades from earlier 2.x versions (need to collect samples to test against)

Originally committed to SVN as r3057.
2009-06-16 02:06:09 +00:00
harukalover
0d1ede1ed1 Fixed a memory leak that would occur when loading audio while using the hard disk cache
Originally committed to SVN as r3056.
2009-06-14 04:29:20 +00:00
Niels Martin Hansen
f20d079598 Fix #890, make the output formatting for Adobe Encore format use a format string for clearness, instead of string building.
Originally committed to SVN as r3055.
2009-06-14 02:42:52 +00:00
Amar Takhar
ebcfe43d7e Add -I../FFmpegSource2 to AM_CXXFLAGS. This is *definatly* not the right way to do it, it's a temp measure until I figure out the best way to handle it.. updates #883.
Originally committed to SVN as r3054.
2009-06-12 17:26:56 +00:00
Niels Martin Hansen
5f7884ab22 Add FINAL_RELEASE and WITH_STARTUPLOG defines (both commented out) in config_windows0.h base.
Originally committed to SVN as r3053.
2009-06-12 17:13:22 +00:00
Karl Blomster
956f657c8d - Moved lib/ffms2.lib to FFmpegSource2/ffms2.lib.
- Deleted the lib folder since nothing uses it anymore.
- Modifed the #include of ffms.h in ffmpegsource_common.h to make it easier to use an external ffms2 instead of the one in the repository.
- Updated vs2008 project file to reflect these changes.
- Easily claims build breaker's hat.

Originally committed to SVN as r3052.
2009-06-12 17:10:45 +00:00
Niels Martin Hansen
ac18b4889b Add super secret WITH_STARTUPLOG define, if enabled it causes insane amounts of message box spam during startup. Currently only implemented on Windows and should be disabled for almost all conceivable purposes.
Originally committed to SVN as r3051.
2009-06-12 16:59:53 +00:00
harukalover
769f61eaf3 Fixed a memory leak that would occur after using any help button
Originally committed to SVN as r3050.
2009-06-12 00:04:35 +00:00
harukalover
4eeb89710d Fixed compilation support with wxWidgets 2.9.0 (seems to work correctly besides some minor gui issues)
Originally committed to SVN as r3049.
2009-06-11 23:30:33 +00:00
harukalover
41f71ca3be Update link to bug tracker in Help menu
Originally committed to SVN as r3048.
2009-06-11 18:04:48 +00:00
harukalover
5d010113f0 Oops, r3045 caused crashing issues when closing the translation assistant again. Fixed the crash without having to revert the fix for the memory leaks again.
Originally committed to SVN as r3047.
2009-06-11 08:13:54 +00:00
Amar Takhar
8cfb941a3c Remove *portaudio2.(cpp|h) from the vcproj.
Originally committed to SVN as r3046.
2009-06-11 03:00:12 +00:00
harukalover
7ac69a31b3 * Fixed an issue with the translation assistant not remembering the last position it was placed at before closing it
* Fixed some memory leaks in the translation assistant

Originally committed to SVN as r3045.
2009-06-11 02:33:21 +00:00
harukalover
9abcbe19b3 Fixed a memory leak in the auto4 ScriptFactory
Originally committed to SVN as r3044.
2009-06-11 02:17:42 +00:00
Amar Takhar
1b9f38747b Supplant the portaudio player with the portaudio2 player. This still doesn't handle some of the issues that happen on linux, that will be fixed in a later commit, updates #876.
Originally committed to SVN as r3043.
2009-06-10 04:45:57 +00:00
Amar Takhar
17f1ccac06 Completely revert r2970 as line 84 causes crashes elsewhere. While the rest may not cause any issues it's better to deal with some leaking memory than hard crashes.
Originally committed to SVN as r3042.
2009-06-10 03:49:59 +00:00
harukalover
10b8a6253b Fixed a memory leak that would occur when using the visual typesetting tools
Originally committed to SVN as r3041.
2009-06-10 03:32:18 +00:00
Amar Takhar
eb27337349 Revert line 85 from r2970 as it causes aegisub to crash in very interesting ways. It's most likely not aegisubs fault entirely however removing this does fix the issue.
Originally committed to SVN as r3040.
2009-06-10 03:32:15 +00:00
Amar Takhar
5cff8b2d6a Remove support for old FFMPEG releases, if you require or want this support you are officially on your own, closes #875.
Originally committed to SVN as r3039.
2009-06-10 02:21:20 +00:00
Amar Takhar
e2015ca7e9 The finance department (jfs) let me know that we don't depreciate things here, only deprecate.
Originally committed to SVN as r3038.
2009-06-10 02:15:40 +00:00
Amar Takhar
357b527249 Ensure the system 'convert' utility is actually from ImageMagick.
Originally committed to SVN as r3037.
2009-06-10 02:13:24 +00:00
Amar Takhar
08d507e40c Disable FFMPEG provider, use --with-provider-ffmpeg to enable, closes #874.
Originally committed to SVN as r3036.
2009-06-10 02:09:00 +00:00
Amar Takhar
f8219e4863 Set versions for ffmpeg: avcodec 52.27.0, avformat 52.32.0, avutil 50.3.0, postproc 51.2.0 and swscale 0.7.1, all of these are from r18642 in ffmpeg.. updates #831
Originally committed to SVN as r3035.
2009-06-09 20:47:28 +00:00