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
Niels Martin Hansen
3c169039a6
Updated Russian translation, closes #865 .
...
Originally committed to SVN as r3034.
2009-06-08 15:04:01 +00:00
Niels Martin Hansen
837755b349
Fix #872 , make the gridlines colour be the same as the text colour in the kanji timer display.
...
Originally committed to SVN as r3033.
2009-06-08 03:34:09 +00:00
Niels Martin Hansen
4f3569b7d9
Mostly rewrite the kanji timer. Now using a custom control that avoids most of the problems the old implementation using text-boxes had. The new implementation unifies the pre-grouping and post-grouping display into one.
...
The auto-matching algorithm for Japanese was also rewritten, I think the new code works somewhat better. (For the song I used for testing, I can just hit Enter most of the way through, more than I remember being able to with the old.)
There are some slight oddities with the way the display scrolls when the input goes too close to the edge, but while it can feel confusing it should still keep everything you want to see, visible.
Fixes #847 and #708 .
Originally committed to SVN as r3032.
2009-06-08 02:37:09 +00:00
Niels Martin Hansen
bcd7e64bbd
Extend the kana table with a bunch more specialty characters and notations, and comment the existing esoteric katakana entries.
...
Updates #847 .
Originally committed to SVN as r3031.
2009-06-07 23:51:15 +00:00
Niels Martin Hansen
eae8edcd1f
The KanaTable was missing a destructor. Nobody noticed because the old kanji timer code created but never deleted KanaTable objects on the heap... yes that was a memory leak that'll also get plugged by the rewrite of the kanji timer.
...
Updates #847 .
Originally committed to SVN as r3030.
2009-06-07 23:15:02 +00:00
harukalover
1d945b9b3d
Made the styling assistant require a double click to select a style, this fixes issues with mistakenly selecting a style when the user is just trying to focus the assistant
...
Originally committed to SVN as r3029.
2009-06-07 03:43:12 +00:00
Niels Martin Hansen
a1677d3a2c
The AssEntry::Clone() function ought to have been const all the time... make it. (Ugh, I had to make a const_cast in AssStyle::Clone().)
...
Originally committed to SVN as r3028.
2009-06-07 00:22:36 +00:00
Niels Martin Hansen
1e4ec69f7f
The AssKaraoke parser can just as well take a const AssDialogue for parameter.
...
Originally committed to SVN as r3027.
2009-06-07 00:20:30 +00:00
Amar Takhar
92d5324084
Fix #846 , patch from pomyk, thanks!
...
Originally committed to SVN as r3026.
2009-06-06 21:05:31 +00:00
Niels Martin Hansen
6e2240166f
A bit of const correctness for AssDialogue
...
Originally committed to SVN as r3025.
2009-06-06 19:32:17 +00:00
Niels Martin Hansen
51c36f2803
Close #491 (again), force the min-size of the detached video to be (1,1) after creation and layout.
...
Originally committed to SVN as r3024.
2009-06-06 14:36:22 +00:00
Niels Martin Hansen
6e144e6589
Fix #491 : Let the detached video dialogue take a parameter indicating the initial video size.
...
Originally committed to SVN as r3023.
2009-06-06 02:57:42 +00:00
Niels Martin Hansen
d56b5b1bf6
Fix #598 , repaint the audio display upon playback to get rid of any junk on it.
...
Originally committed to SVN as r3022.
2009-06-06 02:32:31 +00:00
Niels Martin Hansen
0f2d39e28f
Fix #787 , make the Paste and Paste Over commands in the Edit menu sensitive to the current format on the clipboard and only enable them if plain text is a supported format. They will also be enabled if the clipboard fails to open, as a safety device.
...
Originally committed to SVN as r3021.
2009-06-06 02:16:20 +00:00
Niels Martin Hansen
c0586f690c
Close #861 , remove colour dropper tool on non-Windows platforms for now.
...
Originally committed to SVN as r3020.
2009-06-06 01:59:33 +00:00
Niels Martin Hansen
4b41b4ca4a
Fix #607 : Have style editor save its position and size during the session, similar to how several other dialogues already do. The stored position is not persistent, it is lost when Aegisub is closed.
...
Originally committed to SVN as r3019.
2009-06-05 02:02:55 +00:00
Niels Martin Hansen
c74a02e57d
Clean up code in Style Editor a bit, remove no longer needed performance measurement code.
...
Originally committed to SVN as r3018.
2009-06-05 01:49:06 +00:00
Niels Martin Hansen
2feefd85fd
Close #839 , the Shift Times function will now only do something if shifting by a non-zero number of milliseconds, or always if shifting by a number of frames (even zero).
...
Originally committed to SVN as r3017.
2009-06-05 00:02:26 +00:00
Niels Martin Hansen
ce015fc820
Add sample endianness info to all audio providers (except one, intentionally; see the stream provider changeset), and make the converting audio provider convert to native endian when required. Updates #725 but needs some testing. Might break compilation in some places, but shouldn't. ("Works for me.")
...
Originally committed to SVN as r3016.
2009-06-04 23:02:29 +00:00
Niels Martin Hansen
88a5335004
Adjust calculation of secondary colour for checkerboard pattern in dummy video provider. New calculation produces better results for dark colours, the old calculation produced very high contrast patterns for dark colours.
...
Originally committed to SVN as r3015.
2009-06-04 02:28:46 +00:00
Niels Martin Hansen
26ac4e65f8
Another shot at fixing wxGLCanvas woes on Mac, updates #850 . This time the code is also considerably simpler!
...
Originally committed to SVN as r3014.
2009-06-04 02:05:11 +00:00
Niels Martin Hansen
d6a8a07845
Experimental stuff trying to fix wxGLContext errors on Mac, updates #850 . Untested, might break build for Mac.
...
Originally committed to SVN as r3013.
2009-06-04 01:35:11 +00:00
Amar Takhar
4afd28b60a
Revert part of r3005, rename AV_PKT_FLAG_KEY back to PKT_FLAG_KEY, ffmpeg has added a compat define for any programs still using the old define. This is a temporary measure until we figure out how to properly handle it.
...
Originally committed to SVN as r3012.
2009-06-04 00:17:14 +00:00
Niels Martin Hansen
390fb2d03c
Remove all traces of local configuration support ("portable application") in non-Windows builds. Closes #856 .
...
Originally committed to SVN as r3011.
2009-06-03 23:42:47 +00:00
Niels Martin Hansen
4b986b5a53
Make the visual typesetting toolbar a bit prettier on Vista and probably also Win7, by removing themed background that didn't blend in with the surroundings.
...
Originally committed to SVN as r3010.
2009-06-03 23:18:40 +00:00
Niels Martin Hansen
f4939c082a
Really fix detached video, closes #853 .
...
Originally committed to SVN as r3009.
2009-06-03 23:08:40 +00:00
Niels Martin Hansen
6dc3015962
Work on fixing detached video, still broken but works a little better now. Updates #853 .
...
Originally committed to SVN as r3008.
2009-06-03 23:01:03 +00:00
harukalover
614f2ef559
Fixed a memory leak that occurred when using undo/redo, fixes #330
...
Originally committed to SVN as r3007.
2009-06-03 19:55:39 +00:00
harukalover
1d55e6b7b2
Add some sanity checking to SelectRow to prevent an invalid row from being selected when undoing line insertions
...
Originally committed to SVN as r3006.
2009-06-03 19:04:54 +00:00
Fredrik Mellbin
1c5ff247f6
FFMS2:
...
Flag keyframes in generated packets more properly
Requires FFmpeg r19078 to compile because of the changed define names
Originally committed to SVN as r3005.
2009-06-03 14:35:21 +00:00
Amar Takhar
ccde9fd3d8
Work around ancient versions of intltool...
...
Originally committed to SVN as r3004.
2009-06-02 01:58:00 +00:00
Amar Takhar
7eada86cde
Print the configure commandline before running it.
...
Originally committed to SVN as r3003.
2009-06-02 01:56:47 +00:00
Amar Takhar
bde1c68018
Fix FreeBSD dist building under buildbot.
...
Originally committed to SVN as r3002.
2009-06-02 01:56:29 +00:00
Amar Takhar
d603ceeda9
Fix osx-bundle and osx-dmg breakage after adding buildbot support, both scripts now accept spaces in the directory names.
...
Originally committed to SVN as r3001.
2009-06-02 00:16:45 +00:00
Niels Martin Hansen
f13d23509a
Fix #859 , or rather work around it. There's no good way to detect problematic regexes like the example, and the regex engine lies in wx, so we'll have to do with what wx offers. Put a limit of at most 1000 replacements per line processed, that "should be enough for everyone", and avoids infinite looping.
...
(Also 3000 GET!)
Originally committed to SVN as r3000.
2009-06-01 15:44:59 +00:00
Niels Martin Hansen
386cc9d3cd
Reword error messages introduced in r2998 to make it Aegisub's fault and not the graphics drivers'. Even if our code is technically correct, it's still our problem.
...
Updates #799 .
Originally committed to SVN as r2999.
2009-06-01 15:29:22 +00:00
Niels Martin Hansen
60970e5f29
Add some error catching in the OpenGL code, this should make most OpenGL-related problems less fatal, though it can still cause funky UI problems I think.
...
At least the user should get a slightly more useful error message now.
Updates #799 .
Originally committed to SVN as r2998.
2009-06-01 15:26:26 +00:00
Niels Martin Hansen
da78539ab2
Make DSound2 audio player use dynamic latency trickery and only do streaming (looping buffer) playback for long playback durations. This should fix most if not all "could not lock buffer" errors and close #855 .
...
Originally committed to SVN as r2997.
2009-06-01 14:53:18 +00:00
Niels Martin Hansen
db27d770f6
Fix #599 , the wrong overload for wxSpinCtrl::SetValue was used causing only the edit control part to be updated.
...
Originally committed to SVN as r2996.
2009-06-01 13:57:34 +00:00
Karl Blomster
fa73db1bf1
Update ffms2.lib
...
Originally committed to SVN as r2995.
2009-06-01 13:55:06 +00:00
Fredrik Mellbin
6542dd416d
FFMS2: Improve LAVF audio seeking in weird files
...
Originally committed to SVN as r2994.
2009-05-29 16:35:10 +00:00
Fredrik Mellbin
eaecf59d91
FFMS2: beta 9 TAG!
...
Originally committed to SVN as r2993.
2009-05-28 20:26:18 +00:00
Fredrik Mellbin
ea80b6c130
Changes required to compile because of the previous commit
...
Originally committed to SVN as r2992.
2009-05-28 19:34:52 +00:00
Fredrik Mellbin
841150b2b7
FFMS2:
...
Renamed a public api function just because I can
Less access violations (AGAIN!)
Dumping now implies indexing too
Much better logic for automatically indexing files when FFAudioSource is used in avisynth
Changed defaults for FFIndex
Now FFmpeg's internal codec lists are used for lookup from the non-lavf based parts
Originally committed to SVN as r2991.
2009-05-28 19:33:14 +00:00
harukalover
dfdea0298b
Revert r2965 and r2961, although they fixed the memory leaks they also caused a crash when closing either dialog under some operating systems
...
Originally committed to SVN as r2990.
2009-05-27 02:08:21 +00:00
Karl Blomster
379f15659a
Do COM initialization more properly (I think) in the FFMS2 providers.
...
Originally committed to SVN as r2989.
2009-05-25 16:42:33 +00:00
Karl Blomster
200b3393f9
Another missing ifdef in ffmsindex
...
Originally committed to SVN as r2988.
2009-05-25 16:28:28 +00:00
Fredrik Mellbin
9cb8cb25cf
FFMS2: unix ifdefs in ffmsindex
...
Originally committed to SVN as r2987.
2009-05-25 16:25:43 +00:00
Karl Blomster
c8b125943c
Update FFMS2 providers to initialize COM when running under Windows, as per the new FFMS2 init procedure.
...
Originally committed to SVN as r2986.
2009-05-25 15:52:42 +00:00
Karl Blomster
50069248e9
Update FFMSIndex to work with the new audio dump method.
...
Also update ffms2.lib (again).
Originally committed to SVN as r2985.
2009-05-25 15:50:31 +00:00
Fredrik Mellbin
9fe7b04830
FFMS2: revert the initialization mess, instead require the caller to initialize com where it's needed
...
Originally committed to SVN as r2984.
2009-05-25 14:05:04 +00:00
Karl Blomster
ab5bc99e94
Update ffms2.lib
...
Originally committed to SVN as r2983.
2009-05-25 13:44:27 +00:00
Niels Martin Hansen
a1a4d797e7
Turn broken hotkeys.dat file into a non-fatal error. If the file is broken (usually meaning exists but empty) the existing file will now be copied to hotkeys.bak and the defaults restored and saved as hotkeys.dat.
...
Originally committed to SVN as r2982.
2009-05-24 23:19:28 +00:00
Fredrik Mellbin
c8768d8043
FFMS2: more initialization fun
...
Originally committed to SVN as r2981.
2009-05-24 23:04:11 +00:00
Karl Blomster
cf03d252ca
Update ffms2.lib as per usual
...
Originally committed to SVN as r2980.
2009-05-23 23:03:57 +00:00
Fredrik Mellbin
f1fbef752c
FFMS2: The usual small fixes
...
Originally committed to SVN as r2979.
2009-05-23 20:04:38 +00:00
Fredrik Mellbin
3220a2301a
FFMS2:
...
Simplify the avisynth filters
Small api change => you can now list a group of desired colorspace output formats for automatic selection, less functions can return errors
Less singnedness warnings
Originally committed to SVN as r2978.
2009-05-23 14:18:51 +00:00
Fredrik Mellbin
e772ad5e10
FFMS2: Use the average fps for files opened with Haali's splitters
...
Originally committed to SVN as r2977.
2009-05-22 23:41:37 +00:00
Fredrik Mellbin
159552f36e
FFMS2:
...
Fix the weird crash bug
Fix *nix compilation
Originally committed to SVN as r2976.
2009-05-22 23:28:08 +00:00
Fredrik Mellbin
870f46f85e
FFMS2: Missing #ifdef
...
Originally committed to SVN as r2975.
2009-05-22 22:12:31 +00:00
Karl Blomster
a3ad037940
Fix ffms2 providers to work with latest FFMS2 API changes.
...
Originally committed to SVN as r2974.
2009-05-22 21:44:02 +00:00
Karl Blomster
4775179491
Update ffms2.lib to get in sync with last commit.
...
Originally committed to SVN as r2973.
2009-05-22 21:30:57 +00:00
Fredrik Mellbin
4165b7c963
FFMS2:
...
Added audio decoding using Haali's splitters
Restructuring
Big API changes
Many bug fixes
Originally committed to SVN as r2972.
2009-05-22 21:28:02 +00:00
Niels Martin Hansen
2377b1455e
Increase grabbing zone for karaoke split markers from 4 to 7 pixels, makes dragging much easier, speeding up work.
...
Originally committed to SVN as r2971.
2009-05-22 14:30:51 +00:00
harukalover
10a11ce0cc
Fixed some of the larger memory leaks in the LibassSubtitlesProvider detected by valgrind
...
Originally committed to SVN as r2970.
2009-05-22 04:09:09 +00:00
harukalover
17f0e664f0
Initialize a variable in the audio display that sometimes was used without any initial value being assigned to it.
...
Originally committed to SVN as r2969.
2009-05-22 02:27:36 +00:00
Niels Martin Hansen
ef4021f757
Make error handling in DSound2 audio player more robust. When an error happened in the playback thread, the error_happened flag was set, but was never cleared when the error was detected in the main thread. Furthermore, the main thread didn't act upon the error besides showing it, it kept acting as if the playback thread was still alive and playing, causing the error to be triggered continuously requiring you to kill Aegisub to get out.
...
Made the error_happened event reset itself after being checked so the check only succeeds the first time. (The playback thread returns from its threadproc upon error.) Mark playback thread as dead when error is detected, such that a new thread will be created next time playback is started, effectively making errors non-fatal.
Playback still works as expected, however I haven't tested what actually happens now when an error occurs.
Originally committed to SVN as r2968.
2009-05-22 01:41:31 +00:00
harukalover
bceabf4848
Fixed some mismatched new[]/deletes in the audio display detected by valgrind
...
Originally committed to SVN as r2967.
2009-05-22 00:05:25 +00:00
harukalover
fff437ea19
Fixed a memory leak in the CSRISubtitlesProvider
...
Originally committed to SVN as r2966.
2009-05-21 23:02:34 +00:00
harukalover
b4a5032b2e
Fixed some memory leaks in the kanji timer
...
Originally committed to SVN as r2965.
2009-05-21 22:57:43 +00:00
harukalover
ecc4b618b3
Fixed a memory leak in the style manager, the storage of catalog styles was never being cleared when closed.
...
Originally committed to SVN as r2964.
2009-05-21 22:24:52 +00:00
harukalover
acf2f5fa40
Fixed some memory leaks in the style manager detected by valgrind
...
Originally committed to SVN as r2963.
2009-05-21 22:15:32 +00:00
harukalover
68d2681193
Fixed a memory leak in the dummy video provider detected by valgrind. The video frame was being allocated but never deallocated.
...
Originally committed to SVN as r2962.
2009-05-21 19:49:23 +00:00
harukalover
350d9e5db7
Fixed some memory leaks in the translation assistant detected by valgrind
...
Originally committed to SVN as r2961.
2009-05-21 18:37:36 +00:00
Fredrik Mellbin
dd1c706d5c
FFMS2: More ICL warning inspired fixes
...
Originally committed to SVN as r2960.
2009-05-21 10:39:14 +00:00
Fredrik Mellbin
ccf24ae3af
FFMS2: ICL compilation fix
...
Originally committed to SVN as r2959.
2009-05-21 10:05:53 +00:00
Fredrik Mellbin
cb698b5c3f
FFMS2: Another small typo after all the changes
...
Originally committed to SVN as r2957.
2009-05-20 22:40:55 +00:00
Fredrik Mellbin
67e9033899
FFMS2: Missing #ifdef
...
Originally committed to SVN as r2956.
2009-05-20 19:05:42 +00:00
Fredrik Mellbin
34c50c8cd9
FFMS2:
...
Split indexing into a 2 step process so track numbers/types become known in advance
Big code cleanup and renaming
Originally committed to SVN as r2955.
2009-05-20 18:57:03 +00:00
harukalover
083e2ee91c
Initialized a variable that was being used before it was assigned an initial value
...
Originally committed to SVN as r2954.
2009-05-20 18:29:01 +00:00
Niels Martin Hansen
5bdcf2f63a
Update #742 , attempt fixing the bug. Removing wxEXPAND from some sizers, seems to work fine on Windows. Will test Mac build when tinderbox builds it.
...
Originally committed to SVN as r2953.
2009-05-18 23:37:41 +00:00
harukalover
6f0c5e6489
* Fixed some more memory leaks reported by valgrind and msvc by reimplementing a couple of singleton pattern based classes
...
* Fixed a memory leak that occurred from never deleting a wxBitmap allocated in OpenGLTextGlyph
Originally committed to SVN as r2952.
2009-05-18 05:51:37 +00:00
harukalover
392fbdfa4d
Fix a bunch of memory leaks reported by valgrind and msvc about the registered factories never being cleared.
...
Originally committed to SVN as r2951.
2009-05-18 05:42:54 +00:00
harukalover
9891c28977
Add a corresponding PopEventHandler call for each PushEventHandler call, this fixes a couple of memory leaks reported by valgrind and msvc.
...
Originally committed to SVN as r2950.
2009-05-18 05:33:49 +00:00
harukalover
f1bfb947cf
Call TestDestroy() to ensure we can delete the FontsCollectorThread, fixes #561
...
Originally committed to SVN as r2949.
2009-05-18 05:24:07 +00:00
Karl Blomster
5717f81ef2
Update FFMS2 providers to account for FFMS2 API change in last commit.
...
Also update ffms2.lib to corresponding version.
Originally committed to SVN as r2948.
2009-05-17 22:12:46 +00:00
Fredrik Mellbin
cd8d965324
FFMS2:
...
Some more API cleanup
General cleanup
Originally committed to SVN as r2947.
2009-05-17 22:02:43 +00:00
Karl Blomster
8195d36ee5
Update Japanese translation.
...
Originally committed to SVN as r2946.
2009-05-17 15:17:52 +00:00
harukalover
008f7f3853
Prevent an out of range exception from being thrown. (was commonly being thrown when commit was used on the last row of the grid)
...
Originally committed to SVN as r2945.
2009-05-17 05:47:28 +00:00
Niels Martin Hansen
ef407b6e68
Make FFmpegSource video and audio providers build again after FFMS2 changes last night.
...
Originally committed to SVN as r2944.
2009-05-16 12:47:23 +00:00
Niels Martin Hansen
7fcfaa5dc6
Updated ffms2.lib.
...
Originally committed to SVN as r2943.
2009-05-16 12:46:50 +00:00
Niels Martin Hansen
a312985f36
Split video backend and UI into separate groups in MSVC project file.
...
Originally committed to SVN as r2942.
2009-05-16 12:46:22 +00:00
Amar Takhar
0b583dcd0d
As required by r2940 supply -DFFMS_EXPORTS when building the library.
...
Originally committed to SVN as r2941.
2009-05-16 12:13:27 +00:00
Fredrik Mellbin
ab8f6e6239
FFMS2:
...
Rename lots of things, THIS BREAKS THE AEGISUB BUILD because of changed exported type and function names.
Fixed an uninitialized memory bug that would make it crash on unindexed audio tracks in mastroska.
Made ffms.h C-friendlier.
Exports the start time of an audio track in the audio properties.
Less signedness and type conversion warnings.
Originally committed to SVN as r2940.
2009-05-15 23:11:18 +00:00
Niels Martin Hansen
f6bd6df490
Hack to fix #687 , if playing to end of audio, changing the selection end shouldn't affect the playback end: it should still play to end of audio.
...
Originally committed to SVN as r2939.
2009-05-15 15:23:34 +00:00
Niels Martin Hansen
a6c7a8a724
Apply Plorkyeran's patch to close #843 .
...
Originally committed to SVN as r2938.
2009-05-15 12:44:36 +00:00
Karl Blomster
5bb56ae5d4
Fix gcc breakage caused by last commit, and remove an unused variable while at it.
...
Originally committed to SVN as r2937.
2009-05-15 12:31:09 +00:00
Karl Blomster
a3cd374bc0
Add a bit of sanity checking to FractionalTime.
...
Originally committed to SVN as r2936.
2009-05-15 12:18:33 +00:00
harukalover
1520e51dd0
Fixed Replace Next not marking the script as modified.
...
Originally committed to SVN as r2935.
2009-05-15 02:50:43 +00:00
Niels Martin Hansen
988df0ab81
Fix #809 , properly close all SRT overrides during export and ensure overrides in recombined lines do not affect each other (per the example I gave in the report.)
...
Originally committed to SVN as r2934.
2009-05-15 01:34:00 +00:00
Niels Martin Hansen
44e17e9e11
Converting audio provider didn't know about channel count during bitdepth and samplerate conversion and intermixed samples from channels and more, resulting in garbage output. Fixes #726 .
...
Originally committed to SVN as r2933.
2009-05-15 00:48:43 +00:00
Niels Martin Hansen
863d89ba4f
aegisub_endian.h was missing from MSVC project.
...
Originally committed to SVN as r2932.
2009-05-14 23:58:24 +00:00
Niels Martin Hansen
8ca726119f
Fix #825 for good, I hope. Get some sense worked into the handling of AssEntry::StartMS and AssDialogue::Start using some private members and virtual getter/setter functions.
...
Originally committed to SVN as r2931.
2009-05-14 23:45:20 +00:00
Niels Martin Hansen
fb6280b2e7
More const correctness in AssTime, broke build because I forgot to add const keyword to implementation too.
...
Originally committed to SVN as r2930.
2009-05-14 23:27:38 +00:00
Niels Martin Hansen
3977fff411
Const correctness in AssTime.
...
Originally committed to SVN as r2929.
2009-05-14 23:09:04 +00:00
Niels Martin Hansen
4e417a6dae
Change audio autoscroll behaviour:
...
* In karaoke mode, instead of scrolling start to end of active line into view, scroll start of selection to end of line into view. This gives sensible results when horizontal zoom is great enough that the entire line isn't visible at once and the syllable is too far from the start of the line. This fixes #677 .
* If the line is too long to fit in the display, always left-align it instead of sometimes left-aligning and sometimes centering. (I think the old behaviour depended on the actual scroll position.)
Originally committed to SVN as r2928.
2009-05-14 22:12:05 +00:00
Niels Martin Hansen
84b068b53a
Undo last change, code *was* used after all. Strangely my compiler didn't complain on first try...
...
Removing the comment about "is this even used?" as well...
Originally committed to SVN as r2927.
2009-05-14 21:44:43 +00:00
Niels Martin Hansen
cab268c9bb
Remove some unused code from karaoke UI.
...
Originally committed to SVN as r2926.
2009-05-14 21:26:39 +00:00
Niels Martin Hansen
523421300d
Split audio sources in MSVC project into Backend and UI groups.
...
Originally committed to SVN as r2925.
2009-05-14 21:25:08 +00:00
harukalover
1cc280216c
* Fixed a mismatched new[]/delete
...
* Fixed a memory leak that would occur when loading subtitles from a matroska file
Originally committed to SVN as r2924.
2009-05-14 18:28:57 +00:00
harukalover
ce15bc55bc
* Fixed the styling assistant marking the script as modified when it was unfocused and the Enable preview checkbox was unchecked even if no changes actually were made in the styling assistant.
...
* Removed some no longer needed code in the styling assistant.
Originally committed to SVN as r2923.
2009-05-14 17:29:07 +00:00
Niels Martin Hansen
2acf887157
Fix #845 by counting how many output lines were produced by applying a template to a line, instead of assuming that a template always gets applied, even if it's a code template.
...
Originally committed to SVN as r2922.
2009-05-14 15:34:37 +00:00
harukalover
f4808b82a0
Made the styling assistant modeless so the user can access other controls within aegisub without having to close the styling assistant, fixes #397
...
Originally committed to SVN as r2921.
2009-05-14 07:02:01 +00:00
Karl Blomster
ffa5a2021d
- Reworked the SMPTE timecode handling with Plorkyeran's help. It does now handle dropframe timecodes as well; the ms->SMPTE handling has been tested and seems reasonably correct, while the reverse conversion remains untested and unused. The Adobe Encore export filter will now use dropframe timecodes properly (previously it would play pretend with wallclock hours/minutes/seconds and incorrect frame numbers).
...
- Changed the SubtitleFormat::AskForFPS dialog box; removed the "PAL/NTSC only" choice and added a "show SMPTE dropframe" parameter instead. Also added 50fps as a choice.
- While I was at it, reworked the TranStation export filter so it actually looks ahead to see if the next line will overlap with the current, and if so, move the end time of the current line backwards one frame, which fixes #767
Originally committed to SVN as r2920.
2009-05-13 20:24:21 +00:00
Karl Blomster
7215f354b9
Update ffms2.lib as per Myrsloik's last commit.
...
Originally committed to SVN as r2919.
2009-05-12 21:31:44 +00:00
Fredrik Mellbin
68123167fe
FFMS2: api change so the logging level can be set arbitrarily, it also defaults to quiet now
...
Originally committed to SVN as r2918.
2009-05-12 20:50:40 +00:00
Niels Martin Hansen
3ddf48665a
Apparently not all platforms agree on providing MININT and MAXINT constants. Work around it by calculating those values ourselves.
...
Originally committed to SVN as r2917.
2009-05-12 20:48:05 +00:00
Niels Martin Hansen
55d5b668fa
Integer-edits in Auto 4 Lua config dialogues now always get spin buttons. If no min/max is specified, minint/maxint are assumed.
...
Originally committed to SVN as r2916.
2009-05-12 20:26:19 +00:00
Niels Martin Hansen
0b4ecb9797
Normalise case for style section names.
...
fixes #690 (hopefully)
Originally committed to SVN as r2915.
2009-05-12 18:10:13 +00:00
Niels Martin Hansen
425ca55698
Bump kara-templater version number.
...
Originally committed to SVN as r2914.
2009-05-12 16:39:53 +00:00
Niels Martin Hansen
d71fa2d85c
Add support for variable loops in kara-templater, and add a few more utility functions.
...
- Variable loops are controlled using the tenv.maxloop(newmax) function to set the loop counter max. This is a wrapper around setting tenv.maxj.
- Add tenv.relayer(newlayer) function for changing the Layer of an output line.
- Add tenv.restyle(newstyle) function for changing the Style of an output line, despite this usually breaking positioning/sizing information.
- tenv.maxloops is an alias for tenv.maxloop.
- tenv.loopctl(newj, newmaxj) controls both loop variables if anyone wants to do that.
This closes #753 but documentation still needs to be written.
Originally committed to SVN as r2913.
2009-05-12 16:36:51 +00:00
Niels Martin Hansen
277adad41f
Fix a bunch of bugs with config dialogues in Auto 4 Lua:
...
- When default buttons were present, pushing OK caused no button code to be returned at all.
- A load of controls not handling default/initial values properly, closes #775 and #776
Originally committed to SVN as r2912.
2009-05-12 15:32:11 +00:00
Niels Martin Hansen
28d4ed7c8a
Extend Auto 4 Lua config dialogues test case to cover most interesting cases of controls.
...
Updates #775 and #776 since they need those cases.
Originally committed to SVN as r2911.
2009-05-12 15:24:07 +00:00
Niels Martin Hansen
05e847b6d2
Make AssColor::Parse() also understand HTML colours with a bit of help from wx.
...
Originally committed to SVN as r2910.
2009-05-12 15:14:35 +00:00
Karl Blomster
ebcdf0ce46
Move the SMPTE timecode stuff out of the AssTime class and put it in a class of its own, FractionalTime. The AssTime to SMPTE part is tested and verified to work (in fact it looks like I unintentionally fixed an overlap bug in the TranStation export filter), while the SMPTE to AssTime part is completely untested (but it's currently not used anywhere so it's not like it matters).
...
Originally committed to SVN as r2909.
2009-05-10 03:50:58 +00:00
Karl Blomster
61a3c5657a
Fix a memleak in the FFMS2 video provider (the frame was never unallocated on video close). Patch by Harukalover, fixes #838
...
Originally committed to SVN as r2908.
2009-05-10 00:12:04 +00:00
Fredrik Mellbin
2c354ba64e
FFMS2: beta 8
...
Originally committed to SVN as r2907.
2009-05-09 21:59:24 +00:00
Karl Blomster
f869cd0231
Fix a minor bug that caused the add leadin/leadout buttons to not update the time edit boxes. Patch by Harukalover, fixes #836 .
...
Originally committed to SVN as r2906.
2009-05-07 17:52:29 +00:00
Karl Blomster
732ccbbb26
The buffer length/wanted latency in the dsound2 audio player are now tweakable in config.dat; the options are called "audio dsound buffer latency" and "audio dsound buffer length" respectively. Defaults to 100/5 respectively (should work for the people who used to get buffer errors); for better responsiveness try 80/4.
...
Originally committed to SVN as r2905.
2009-05-07 14:47:36 +00:00
Karl Blomster
4d83215690
Fix a bug (in a somewhat questionable manner) that would cause the text file writer to occasionally think the system locale was Unicode when it wasn't (by using an uninitialized variable in a condition). Should fix the issue with the SRT export filter failing to write "1" on the first line when using "local" as the text encoding.
...
Originally committed to SVN as r2904.
2009-05-06 19:14:10 +00:00
Karl Blomster
1e2a031765
Add Aegisub::Script::set_undo_point() to auto4-perl. Currently not all that useful since auto4-perl currently only supports macros and nothing else, and using a macro sets an undo point after execution automatically anyway.
...
Originally committed to SVN as r2903.
2009-05-06 12:25:08 +00:00
Karl Blomster
7b6a8811be
change how ffmsindex is linked to ffms2 (use a #pragma instead of an extra dependency in the project file)
...
Originally committed to SVN as r2902.
2009-05-05 21:43:49 +00:00
Niels Martin Hansen
24aa9785ae
Oops, had swapped size and value parameters in a memset call.
...
Originally committed to SVN as r2901.
2009-05-04 19:15:57 +00:00
Amar Takhar
97427e7b46
Sigh, make gawk happy, I despise gawk someone please get rid of it forever.
...
Originally committed to SVN as r2900.
2009-05-04 08:06:26 +00:00
Amar Takhar
763231423b
Add a note why the 'sed' hack is nessicary.
...
Originally committed to SVN as r2899.
2009-05-04 06:52:45 +00:00
Amar Takhar
952935cbea
Add a crappy sed hack to silence gcc warnings, sigh, I wish ImageMagick would update convert already.
...
Originally committed to SVN as r2898.
2009-05-04 06:51:02 +00:00
Amar Takhar
b88254856b
s/static/const/ to silence gcc warnings.
...
Originally committed to SVN as r2897.
2009-05-04 06:50:37 +00:00
Amar Takhar
de2ec45cea
Silence a bunch of gcc 'newline' warnings.
...
Originally committed to SVN as r2896.
2009-05-04 06:50:12 +00:00
Amar Takhar
c2267bedcc
Plug a bunch of memory leaks from uau in the mplayer2 repo: http://repo.or.cz/w/mplayer.git?a=commit;h=312d9e4b104741b834aa5d71b02228d0cd988a4e
...
libass: Fix cache lookup problem causing memory bloat
The cache code did hash lookups by storing key values in struct fields
and then hashing and comparing the struct as a single memory block. In
at least one case such a struct contained uninitialized padding bytes
which prevented the complete memory area of the struct from matching
even though the fields did. As a result the code failed to find
existing objects in the cache and stored new versions of them, causing
gigabytes of memory use in some circumstances. Initializing the struct
memory to zero before writing the fields avoided such memory use in
tests but is not guaranteed to work if I interpret the C standard
correctly (the compiler is allowed to write garbage over padding bytes
when changing struct member values).
Change the code to use struct-specific hashing and comparison
functions that work field by field to guarantee correct behavior.
Create these by replacing the struct definition with a template that
lists the fields and can be used the generate each of struct
definition, hash function and compare function with some preprocessor
magic (otherwise every field would need to be listed separately in all
three).
Originally committed to SVN as r2895.
2009-05-04 06:48:21 +00:00
Fredrik Mellbin
b55460ede5
FFMS2:
...
Fix an old bug that would drop the first or second video frame
Greatly improved audio decoding by adding a small internal cache
Originally committed to SVN as r2894.
2009-05-03 19:25:54 +00:00
Karl Blomster
c84a79fb7f
Implemented an automated cache cleaner that keeps the FFMS2 index cache at a manageable size. Cleaning is started when video is opened with the FFMS2 video provider and runs in its own thread. Removal is based on last access time, and the FFMS2 providers now explicitly touch the index files on reading to make sure access time is updated.
...
By default the cache is kept below 42MB and 20 files; to change the defaults change "FFmpegSource max cache size" and "FFmpegSource max cache files" in config.dat. Either or both may be set to 0, but the cleaner will not delete the last index file in the directory, regardless of cache settings and of the file's size.
Originally committed to SVN as r2893.
2009-05-03 18:05:30 +00:00
Karl Blomster
0a4190ca98
Fix compilation breakage introduced in r2891.
...
Originally committed to SVN as r2892.
2009-05-02 20:06:06 +00:00
Karl Blomster
04e4249219
Don't let the MKV parser crash on certain MKV's for which it cannot determine the filesize by itself. (Adaption of Myrsloik's similar fix for FFMS2.)
...
Originally committed to SVN as r2891.
2009-05-02 19:40:55 +00:00
Fredrik Mellbin
94cf1e4c22
FFMS2: Add a missing function the updated matroska parser expects
...
Originally committed to SVN as r2890.
2009-05-01 16:58:15 +00:00
Amar Takhar
35cea05304
Add an sh script to generate snap tarballs upon successful builds of UNIX platforms (excluding Darwin).
...
Originally committed to SVN as r2889.
2009-05-01 03:58:23 +00:00
Niels Martin Hansen
7e38ebfd82
Ensure some fields in VideoContext get initialised.
...
Originally committed to SVN as r2888.
2009-04-30 22:13:10 +00:00
Karl Blomster
341fc0c019
Re-update the license on Haali's matroska parser.
...
Originally committed to SVN as r2887.
2009-04-29 21:19:45 +00:00
Amar Takhar
68b382994b
Update libass from MPlayer r29129: Don't automatically wrap lines when WrapStyle==2.
...
Originally committed to SVN as r2886.
2009-04-29 21:06:54 +00:00
Fredrik Mellbin
91735eb86d
FFMS2: Update Haali's matroska parser
...
Originally committed to SVN as r2885.
2009-04-29 21:06:07 +00:00
Karl Blomster
33c31e3eee
Update Haali's MatroskaParser.c/.h in the main source tree (there's a copy in the FFMS2 folder as well, which will be updated later). Should fix a crash with x264-generated MKV's.
...
Originally committed to SVN as r2884.
2009-04-29 21:00:08 +00:00
Niels Martin Hansen
866f9d21fc
Let AudioProvider::GetAudioWithVolume() catch exceptions in AudioProvider::GetAudio() and return blank audio when that happens. Errors are not logged or otherwise handled. This fixes #800 for most cases, even if poorly.
...
Originally committed to SVN as r2883.
2009-04-29 19:30:02 +00:00
Niels Martin Hansen
92202a99bf
Some more delayload vsprops files.
...
Originally committed to SVN as r2882.
2009-04-29 19:08:40 +00:00
Karl Blomster
aacf2e4c19
remove duplicate variable
...
Originally committed to SVN as r2881.
2009-04-29 17:42:48 +00:00
Karl Blomster
1b2d26c231
Fix a few memory leaks in the FFMS2 providers. Patch by Myrsloik.
...
Originally committed to SVN as r2880.
2009-04-29 17:40:02 +00:00
Fredrik Mellbin
338188b184
FFMS2: Beta 7 release
...
Fix 3 gcc warnings
Originally committed to SVN as r2879.
2009-04-29 16:39:15 +00:00
Karl Blomster
7f44500c89
Don't fail to read subtitles from MKV's that are named .mks or .mka, both of those are reported as supported formats in the "open subtitles" dialog box.
...
Originally committed to SVN as r2878.
2009-04-29 14:04:23 +00:00
Amar Takhar
6eb56f60cd
s/32/??/ to include 64bit builds (what was I thinking?).. it's better than using '*' which could lead to a disaster.
...
Originally committed to SVN as r2877.
2009-04-29 08:07:22 +00:00
Amar Takhar
56fee329a2
Use 'SetFile' instead of '/usr/bin/SetFile' when creating the .dmg, 10.5 puts it in /usr/bin, on 10.4 it's in /Developer/Tools/.
...
Originally committed to SVN as r2876.
2009-04-29 07:55:40 +00:00
Amar Takhar
e1effd407d
* Favour '/usr/bin/perl' over 'perl' to ensure the base perl is always used. (it's required)
...
Originally committed to SVN as r2875.
2009-04-29 06:50:08 +00:00
Amar Takhar
667f950176
* Re-format the arch detection case.
...
* Fix an annoying buy, I hate the loops configure gets stuck in when you do "$blah" = "$blah" vs test "$blah..
Originally committed to SVN as r2874.
2009-04-29 00:49:38 +00:00
Amar Takhar
5b3a60c506
* Add support in configure.in to detect the arch.
...
* Add two new targets, osx-tinderbox-(bundle|dmg) to handle tinderbox building.
Originally committed to SVN as r2873.
2009-04-28 23:25:42 +00:00
Amar Takhar
023f61bdbd
Change the buildslave dist name to dist.7z so the waterfall isn't cluttered. There's a link to the archive so it won't be an issue.
...
Originally committed to SVN as r2872.
2009-04-28 17:59:03 +00:00
Karl Blomster
8c44d698e4
Don't try to synch audio when there is no audio player/provider present. (Could cause a crash under certain rare conditions.) Thanks Avi for report and fix.
...
Originally committed to SVN as r2871.
2009-04-28 10:23:20 +00:00
Amar Takhar
606abde1a3
Add a batch file to generate a distfile that can be uploaded.
...
Originally committed to SVN as r2870.
2009-04-28 07:04:53 +00:00
Amar Takhar
f18ed0748b
Remove an extra line (more testing.)
...
Originally committed to SVN as r2869.
2009-04-28 05:25:37 +00:00
Amar Takhar
ec87d3c63a
Remove some EOF whitespace (more testing.)
...
Originally committed to SVN as r2868.
2009-04-28 05:24:28 +00:00
Amar Takhar
5eaa033697
Remove some EOF whitespace.
...
Originally committed to SVN as r2867.
2009-04-28 05:21:23 +00:00
Amar Takhar
d226cdf33c
Add some error-checking and exit 1's.
...
Originally committed to SVN as r2866.
2009-04-28 05:17:33 +00:00
Amar Takhar
5de0558228
Add exit codes to various commands to ensure the script fails and doesn't proceed to the next step(s).
...
Originally committed to SVN as r2865.
2009-04-28 05:11:32 +00:00
Amar Takhar
c12d2d7636
Testing the tinderbox (a stub commit but still useful.)
...
Originally committed to SVN as r2864.
2009-04-28 05:08:18 +00:00
Amar Takhar
3648f61083
Testing the tinderbox.
...
Originally committed to SVN as r2863.
2009-04-27 20:58:42 +00:00
Karl Blomster
51df55edd7
Fix some more minor editbox regressions introduced in r2859. Patch by Harukalover, updates #794
...
Originally committed to SVN as r2861.
2009-04-26 04:31:19 +00:00
Karl Blomster
eed65e8945
Fix a minor graphical glitch in the time edit boxes introduced in r2859. Patch by Harukalover. updates #794
...
Originally committed to SVN as r2860.
2009-04-26 01:23:01 +00:00
Karl Blomster
31aed4c1a7
Fix a number of odd quirks regarding how grid selection is moved after committing multiple lines, and how audio selection moves after committing. See #794 for full details. Patch by Harukalover.
...
closes #64 , #420 , #794
Originally committed to SVN as r2859.
2009-04-26 01:02:23 +00:00
Karl Blomster
76cec3ec29
Fix a bug that would cause a crash under certain conditions when trying to change the properties of a recently deleted line. Patch by Plorkyeran, closes #815
...
Originally committed to SVN as r2858.
2009-04-26 00:25:33 +00:00
Karl Blomster
32eb3a8a62
Fix a bug that would cause the program to crash if CSRI was selected as subtitle renderer but no CSRI renderer was actually installed. Patch by Plorkyeran, closes: 462
...
Originally committed to SVN as r2857.
2009-04-26 00:11:29 +00:00
Karl Blomster
4dafa0ff10
Use less magic numbers
...
Originally committed to SVN as r2856.
2009-04-25 23:08:45 +00:00
Karl Blomster
4efd1b5567
Update ffms2.lib
...
Originally committed to SVN as r2855.
2009-04-25 23:04:06 +00:00
Amar Takhar
72c5828bc0
Sigh, add @set before the recently added environment variables (r2847)
...
Originally committed to SVN as r2854.
2009-04-25 23:00:29 +00:00
Fredrik Mellbin
140dc44882
FFMS2: Another much needed set of fixes to the Haali part
...
Originally committed to SVN as r2853.
2009-04-25 22:09:49 +00:00
Fredrik Mellbin
a41e48a159
Fix the video provider after the FFMS2 changes part2
...
Originally committed to SVN as r2852.
2009-04-25 10:31:39 +00:00
Fredrik Mellbin
f64b10978b
Fix the video provider after the FFMS2 changes
...
Originally committed to SVN as r2851.
2009-04-25 09:26:03 +00:00
Fredrik Mellbin
8f7930e876
FFMS2: Even less enum forward declarations
...
Originally committed to SVN as r2850.
2009-04-25 09:09:14 +00:00
Fredrik Mellbin
6f6d1bdf3a
FFMS2: Less enum forward declaration?
...
Originally committed to SVN as r2849.
2009-04-25 08:55:14 +00:00
Amar Takhar
f8652576c8
Add CommonProgramFiles CommonProgramFiles(x86) ProgramFiles ProgramFiles(x86) to the build environment.
...
Originally committed to SVN as r2847.
2009-04-25 02:04:33 +00:00
Amar Takhar
57024a2e7c
vc++ needs TMP/TEMP to be set in the env in order to work correctly.
...
Originally committed to SVN as r2846.
2009-04-24 23:23:48 +00:00
Fredrik Mellbin
6fae2955fd
FFMS2:
...
Remove the dependency of pixfmt.h in ffms.h
Added the alternative FFMS_GetPixFmt() for getting the different pixel format values
Originally committed to SVN as r2845.
2009-04-24 19:56:19 +00:00
Karl Blomster
aaad6b4ad6
Update ffms2.lib again
...
Originally committed to SVN as r2844.
2009-04-24 18:41:34 +00:00
Fredrik Mellbin
83586d2b18
FFMS2:
...
Several bugfixes which should fix crashes in recent versions
Added a simple regression test application
Removed a few useless functions from the API
Add TheFluff's FFmpegSource 1.21 syntax compatibility script
Originally committed to SVN as r2843.
2009-04-24 17:42:21 +00:00
Amar Takhar
45d6e37ee8
Whoops, remove trunk\ from the solution path.
...
Originally committed to SVN as r2842.
2009-04-24 04:16:01 +00:00
Amar Takhar
c2e02322cf
Add a bath file to compile aegisub, these will exist _per_ buildslave. It's probably better to keep it here anyway as build environments will not be changable without a historical record being kept. (it's also easier!)
...
Originally committed to SVN as r2841.
2009-04-24 04:00:04 +00:00
Amar Takhar
fb36f6d4af
Add a solution and windows config for Windows tinderbox building. Submitted by jfs, thanks!
...
Originally committed to SVN as r2840.
2009-04-23 20:26:07 +00:00
Karl Blomster
4c68bb5412
Updated German translation (by Sebastian Billau).
...
Originally committed to SVN as r2839.
2009-04-23 10:32:00 +00:00
Karl Blomster
53bc5a034d
Avisynth video provider will now use ffmpegsource2 instead of ffmpegsource when so required.
...
Originally committed to SVN as r2838.
2009-04-23 02:09:05 +00:00
Fredrik Mellbin
e42ae2d19d
FFMS2: Various fixes to haali stuff
...
Originally committed to SVN as r2837.
2009-04-22 18:38:28 +00:00
Amar Takhar
ff7ee2e776
Add a cross-compile condition to AC_RUN_IFELSE in AC_AGI_COMPILE to make cross-compiling work.
...
Originally committed to SVN as r2836.
2009-04-21 22:32:07 +00:00
Amar Takhar
e2d0317df3
Bunk commit to trigger the build cluster.
...
Originally committed to SVN as r2835.
2009-04-21 18:48:59 +00:00
Amar Takhar
af68c58f56
Add a command to autogen --skip-configure to allow the autogen/configure steps
...
to be split for the build tinderbox.
Originally committed to SVN as r2834.
2009-04-20 02:45:35 +00:00
Amar Takhar
544c325dde
Fix typo.
...
Originally committed to SVN as r2833.
2009-04-20 02:43:32 +00:00
Niels Martin Hansen
2ba96af5b2
Remove outdated and unused Windows installer scripts.
...
Originally committed to SVN as r2832.
2009-04-19 20:48:08 +00:00
Niels Martin Hansen
e2a75490c9
Remove the annoyance known as Tip of the Day. Right now it's completely inaccessible, but might return in a different incarnation when we get out of strings freeze.
...
Originally committed to SVN as r2831.
2009-04-18 15:29:13 +00:00
Niels Martin Hansen
6ec31a3a08
Simplify code to pick mapping size in PCMWAV provider, just use sizeof(void*) to determine address space size.
...
Originally committed to SVN as r2830.
2009-04-18 15:16:15 +00:00
Niels Martin Hansen
f5bc001e90
Move more project settings into property sheet files.
...
Originally committed to SVN as r2829.
2009-04-18 13:40:52 +00:00
Niels Martin Hansen
a749c23e8b
Rename auto3 DLL to something less ugly.
...
Originally committed to SVN as r2828.
2009-04-18 13:31:08 +00:00
Karl Blomster
f6016573c8
revert revision 2825 since apparently it broke all of jfs' changes
...
Originally committed to SVN as r2827.
2009-04-18 13:02:13 +00:00
Karl Blomster
65e69a51cf
"Fix" an issue that would cause the FFMS2 audio provider to crash when fed with a unicode filename/path. The solution involves getting the "short path", no idea if it works on Unix. Fixes bugtracker issues #810 and #808 .
...
Originally committed to SVN as r2826.
2009-04-18 10:54:20 +00:00
Karl Blomster
caa26103f5
add portaudio_x86.dll to the list of delay-loaded dll's in the vs2008 project file
...
Originally committed to SVN as r2825.
2009-04-18 09:37:54 +00:00
Karl Blomster
f20737b8b2
Fix an issue where the grid font face option's font browser button wouldn't actually update the setting. Patch by Harukalover, resolves bugtracker issues #706 and (partially) #821 .
...
Originally committed to SVN as r2824.
2009-04-18 09:12:26 +00:00
Niels Martin Hansen
fe393f82af
No longer support anything for Windows-builds but Visual Studio 2008/VC9.
...
Remove all outdated, unmaintained project files and some unused dirs, and other stuff related to outdated build methods.
Originally committed to SVN as r2821.
2009-04-17 22:08:37 +00:00
Niels Martin Hansen
30057004f1
Some changes to property sheets went unsaved before previous commit, oops.
...
(This made linking in various things impossible.)
Originally committed to SVN as r2820.
2009-04-17 21:58:17 +00:00
Niels Martin Hansen
77791217a0
Refactor Visual Studio 2008 build and make libauto3 and Lua 5.0 build on VC9.
...
* The most important project properties (especially paths) are now stored in VSProps files in generalised ways.
* Projects share VSProps files so they place output files in same locations and thus agree on where to find them.
* Avoid inconsistencies between build configurations/platforms as has happened often before.
* Now distributable binaries (aegisub.exe and aegisub-auto3.dll) will be placed in $(SolutionDir)/bin/, static libraries under $(SolutionDir)/lib/ and object files etc. under $(SolutionDir)/build/. Note that those locations are controlled by where the solution file is placed in the file system.
* libauto3 is no longer pulled in by a #pragma in auto4_auto3.c, but must instead be pulled in by making the aegisub project depend on the auto3 project, which must in turn depend on the lua50 project.
* Final binary filenames are now somewhat different. You get aegisub32.exe, aegisub64d.exe, aegisub-auto3lib32d.dll and more.
* There's still more that can be factored out, things like optimisation flags and defines.
Originally committed to SVN as r2819.
2009-04-17 21:53:48 +00:00
Niels Martin Hansen
c55df071cf
The lines.n value produced by Auto3 implementation was 1 too small causing the last line in a file to be eaten by karaskel.
...
Originally committed to SVN as r2818.
2009-04-17 21:34:43 +00:00
Niels Martin Hansen
5a76711a19
Make callables.c error properly if it's attempted compiled separately.
...
Originally committed to SVN as r2817.
2009-04-17 20:55:48 +00:00
Niels Martin Hansen
8a5933385d
Make libauto3 better liked by MSVC 2008.
...
Originally committed to SVN as r2816.
2009-04-17 20:51:58 +00:00
Karl Blomster
cc26be476e
add portaudio2 player to the vs2005 project as well while I'm at it
...
Originally committed to SVN as r2814.
2009-04-17 19:45:33 +00:00
Karl Blomster
8a6206e5d0
add portaudio2 audio player to config/config_windows0.h and the vs2008 project file
...
Originally committed to SVN as r2813.
2009-04-17 19:44:07 +00:00
Karl Blomster
c3afb85af4
change buffer length/wanted latency in the dsound2 audio player to 80/4 (down from 100/5); should make it a bit more responsive
...
Originally committed to SVN as r2812.
2009-04-17 19:40:29 +00:00
Karl Blomster
0d6454087e
update ffms2.lib
...
Originally committed to SVN as r2811.
2009-04-17 19:38:12 +00:00
Niels Martin Hansen
7a19b273b1
Fix crash in PCM audio provider when using files larger than the mapping size (256 MB on 32 bit). The length of mappings closer than mapping-size to the end of the file, when the file was larger, would not be adjusted to not cross the end of file.
...
Originally committed to SVN as r2810.
2009-04-17 16:34:06 +00:00
Amar Takhar
49e3895180
Re-order the functions so they're in line with every other player: Constructor,
...
Destructor, Open, Close, Play, Stop.. I rue the fact that I didn't do this at
the start.
Originally committed to SVN as r2809.
2009-04-17 13:58:44 +00:00
Karl Blomster
d77c119d63
Fix a bug in FFMS2 that caused it to write timecodes with scientific notation.
...
Originally committed to SVN as r2808.
2009-04-17 03:25:10 +00:00
Amar Takhar
6c256fd181
* Remove a short-lived hack (hours?) and replace it with a
...
PaStreamFinishedCallback which is called anytime a PaCallback is exited with
anything other than 0. (normal operation) paStreamFinishedCallback handles
stopping the audio stream when we've run to the end of the current selection
or the stream is stopped.
* Add framesPerBuffer to paCallback debug output in preperation for dynamic
buffers.
* Set paPrimeOutputBuffersUsingStreamCallback in Pa_OpenStream to prime the
output buffer using the callback rather than initing with empty space which
is the default.
* Indent paCallback decleration another level.
Originally committed to SVN as r2807.
2009-04-17 02:14:42 +00:00
Amar Takhar
50ce42d2e9
* Fold entire callback into a single if-else block.
...
* Remove 'end' variable and just return 0 if we have more to play.
Originally committed to SVN as r2806.
2009-04-16 20:55:14 +00:00
Amar Takhar
eb65009f66
* Remove variable 'avail'.
...
* Fold lenAvailable logic into a ternary operator.
* Use GetAduioWithVolume instead of applying volume ourselves.
* Remove code used to zero rest of the buffer. (not required)
Originally committed to SVN as r2805.
2009-04-16 20:49:37 +00:00
Amar Takhar
c6364bf43d
* Set Pa_OpenStream to use paClipOff as we don't need any clipping
...
* Update comment (realPlayPos has been removed).
* Return from paCallback with paAbort if there is no more audio to play.
Also set endPos to be less than the current playPos to stop the audio
event timer.
* Add CPU usage statistics to debug printf in paCallback.
Originally committed to SVN as r2804.
2009-04-16 19:55:52 +00:00
Amar Takhar
3e864d10c9
Make debug printf's a perm fixture wrapped with PORTAUDIO2_DEBUG.
...
Originally committed to SVN as r2803.
2009-04-16 14:22:46 +00:00
Niels Martin Hansen
7271a74b54
Forgot to put license on VideoSink.h as well.
...
Originally committed to SVN as r2802.
2009-04-16 13:01:05 +00:00
Niels Martin Hansen
4da7a70608
Clarify license for VideoSink.cpp.
...
<jfs> hmm Haali, the VideoSink.cpp you have contributed to aegisub doesn't have a license attached... I see you put MatroskaParser.c into 3-clause BSD like the rest of aegisub though, what about VideoSink ?
<Haali> jfs: BSD license is ok for that file
Originally committed to SVN as r2801.
2009-04-16 12:15:57 +00:00
Amar Takhar
50214a2a6a
Move the comment for the PortAudio library to setup.cpp.
...
Requested by: TheFluff
Originally committed to SVN as r2800.
2009-04-15 20:16:54 +00:00
Amar Takhar
50b7f33117
Don't initalise favorite to 0 (it's a a wxString).
...
Originally committed to SVN as r2799.
2009-04-15 20:11:53 +00:00
Amar Takhar
918945e03b
Don't set the current position via the PortAudio callback, instead set
...
GetCurrentPosition() to return the correct value using Pa_GetStreamTime(). Not
only does it not work on every platform, there is no point in setting it during
the callback as GetCurrentPosition() isn't called very often (in comparison)
when updating the play bar. Eventually this should be changed to update the
playbar via a callback to get a position that's a lot more accurate.
Originally committed to SVN as r2798.
2009-04-15 17:50:16 +00:00
Amar Takhar
b63c2ea27c
Add hidden option 'Audio PortAudio Device' to set the default portaudio output device.
...
Originally committed to SVN as r2797.
2009-04-15 11:26:43 +00:00
Amar Takhar
aa85b2eb01
* Fix paCallback decleration
...
* Switch from PaOpenDefaultStream to Pa_OpenStream.
* Add Debug output
* Add GetOutputDevices which returns a list of available devices (unused)
Originally committed to SVN as r2796.
2009-04-15 10:26:22 +00:00
Niels Martin Hansen
558be555e2
Make the default ALSA device default.
...
(It should be "default", not "default:0" as the old default was.)
Originally committed to SVN as r2795.
2009-04-13 17:08:13 +00:00
Amar Takhar
2d6ba0cb22
Move FOUND_AUDIO_PLAYER above the rest of the audio players to preserve
...
link ordering. Also add libaudio_player.a to the final link.
Originally committed to SVN as r2794.
2009-04-12 10:52:40 +00:00
Amar Takhar
dc34db7f62
Early morning code-o, setting AM_CONDITIONAL _after_ the Makefiles are
...
generated isn't going to work very well.
Originally committed to SVN as r2793.
2009-04-12 10:48:20 +00:00
Amar Takhar
733814793e
* Update comment
...
* Include audio_player_portaudio2.h instead of audio_player_portaudio.h.
Originally committed to SVN as r2792.
2009-04-12 10:30:38 +00:00
Amar Takhar
8dab71e974
Split audio_player.cpp into it's own convenience to avoid sending audio library
...
CFLAGS to every source file.
Originally committed to SVN as r2791.
2009-04-12 10:30:07 +00:00
Amar Takhar
95e9ccaf79
Add support for ALSA_(LD|C)FLAGS.
...
Originally committed to SVN as r2790.
2009-04-12 10:28:42 +00:00
Amar Takhar
21460ec589
Add block for WITH_PORTAUDIO2.
...
Originally committed to SVN as r2789.
2009-04-12 10:08:59 +00:00
Amar Takhar
d71cbda47b
* s/$found_audio/$found_audio_player/ for clarity.
...
* Add AM_CONDITIONAL for FOUND_AUDIO_PLAYER and FOUND_VIDEO_PROVIDER.
Originally committed to SVN as r2788.
2009-04-12 10:08:28 +00:00
Amar Takhar
579b46f097
Update PortAudio v19 support.
...
Originally committed to SVN as r2787.
2009-04-12 10:04:10 +00:00
Amar Takhar
b89ec65c43
Move the PortAudio v19 check above the v18 check.
...
Originally committed to SVN as r2786.
2009-04-11 23:40:15 +00:00
Amar Takhar
97c857a94f
Add 'PortAudio2' as an audio player.
...
Originally committed to SVN as r2785.
2009-04-11 23:23:30 +00:00
Amar Takhar
3247ad6c6c
Change WITH_PORTAUDIO -> WITH_PORTAUDIO2
...
Originally committed to SVN as r2784.
2009-04-11 23:18:04 +00:00
Amar Takhar
e61d0b77ac
Update audio_player_portaudio2.* for PortAudio v19.
...
Originally committed to SVN as r2783.
2009-04-11 23:16:58 +00:00
Amar Takhar
23eea68fdd
Verbatium copy of audio_player_portaudio.* -> audio_player_portaudio2.*
...
Originally committed to SVN as r2782.
2009-04-11 23:15:45 +00:00
Fredrik Mellbin
d39d308d0d
FFMS2 GCC compilation fix
...
Originally committed to SVN as r2781.
2009-04-11 19:43:18 +00:00
Fredrik Mellbin
6878e5884a
FFMS2 beta 6 (the real commit)
...
Requires a recent FFmpeg
Changes the HAALITS define into HAALISOURCE
Originally committed to SVN as r2780.
2009-04-11 18:45:40 +00:00
Amar Takhar
5f5960ef00
* Fix check for libavutil/pixfmt.h
...
* Add detection for PortAudio2 (v19)
Originally committed to SVN as r2779.
2009-04-11 18:06:23 +00:00
Amar Takhar
26e427e838
Add a check for libavutil/pixfmt.h as a low-brow check for FFMPEG r18129+, this
...
needs to be fixed to check exact versions of the library. For now this should
work.
Originally committed to SVN as r2778.
2009-04-11 08:13:09 +00:00
Amar Takhar
d642bb37ab
Fix an error message to be clearer.
...
Originally committed to SVN as r2777.
2009-04-11 07:51:50 +00:00
Amar Takhar
d0b1ad983e
Update libass to r29169 of MPlayer.
...
Originally committed to SVN as r2776.
2009-04-11 07:42:48 +00:00
Karl Blomster
e00fae15d6
Add a -v option to ffmsindex.
...
Originally committed to SVN as r2775.
2009-04-07 01:12:12 +00:00
Karl Blomster
2960b0298c
Fix ffms2 video provider to work with new ffms2 version (b6)
...
Originally committed to SVN as r2774.
2009-04-06 20:53:01 +00:00
Karl Blomster
245c91a271
Updated ffms2.lib
...
Originally committed to SVN as r2773.
2009-04-06 20:19:33 +00:00
Karl Blomster
1e47a9d3e5
FFMS2 compile fix for ffmpeg revisions >18129. Probably breaks backwards compatibility so it doesn't compile with older revisions anymore, have fun.
...
Originally committed to SVN as r2772.
2009-04-06 20:15:49 +00:00
Karl Blomster
036da35fe8
Rename a few internal utility functions (FloatToString, IntegerToString, StringToInt, StringToFix) to Aegi* so they do not conflict with identically named wxWidgets functions. Fixes bugtracker issue #819 .
...
Originally committed to SVN as r2771.
2009-04-06 20:01:42 +00:00
Karl Blomster
0e299f9146
FFmpegSource2 beta 6, see ffms2.html for change details
...
Originally committed to SVN as r2770.
2009-04-06 19:14:55 +00:00
Karl Blomster
1d69da533c
Add new (VSFilter 2.39) override tags to call tips and fix a typo. Patch by Harukalover.
...
Originally committed to SVN as r2769.
2009-03-30 22:10:24 +00:00
Karl Blomster
9bbf4c4281
FFmpegSource2 beta 5.
...
Fixes a bug with timecode writing, adds some additional documentation and resolves the issue with reading ffmsindex's progress reporting from another program.
Originally committed to SVN as r2768.
2009-03-30 22:09:33 +00:00
Rodrigo Braz Monteiro
6106546f74
Fixed windows project.
...
Originally committed to SVN as r2766.
2009-03-14 20:52:01 +00:00
Amar Takhar
01d522b344
* Add a (small) hack for scripts/osx-bundle.sh to handle libtools weirdness.
...
* Update path to reflect new repo changes.
Originally committed to SVN as r2765.
2009-03-13 04:27:24 +00:00
Amar Takhar
2cf7d9c80b
Fix auto3 build after repo change.
...
Originally committed to SVN as r2764.
2009-03-13 04:13:11 +00:00
Amar Takhar
b5ab061f02
Fix libass on OSX after the repo changes.
...
Originally committed to SVN as r2763.
2009-03-13 04:12:45 +00:00
Amar Takhar
b2bcb09943
Fix vs2008 build (Patch from Haruka)
...
Originally committed to SVN as r2762.
2009-03-12 05:56:02 +00:00
Amar Takhar
8b21bd2b9f
Sync libass with r28935 from MPlayer.
...
Originally committed to SVN as r2761.
2009-03-12 03:46:44 +00:00
Amar Takhar
a9180cfcf7
Missed patch: Fix build for auto3 it moved from ./auto3 -> src/libauto3.
...
Originally committed to SVN as r2760.
2009-03-09 05:48:13 +00:00
Amar Takhar
7740439efd
Remove dummy.txt it was used ages ago for testing the svn repository.
...
Originally committed to SVN as r2759.
2009-03-09 01:15:01 +00:00
Amar Takhar
689e353c90
Update the build system for the new repository layout.
...
Originally committed to SVN as r2757.
2009-03-09 00:58:38 +00:00
Amar Takhar
99d2711245
SVN Transition Step 4/7
...
1. svn mv auto3 aegisub/src/libauto3
1. svn mv installer aegisub/packages/win_installer
* See r2749 for full description.
Originally committed to SVN as r2753.
2009-03-08 08:31:28 +00:00
Amar Takhar
91d73ec8ea
SVN Transition Step 3/7
...
1. cd aegisub/
2. svn mv *cpp *h src/
3. svn mv Makefile.am MatroskaParser.c auto4_perldata.inc bitmaps boost \
changelog.txt config gl include libosxutil libresrc md5.c msvc mythes.cxx \
mythes.hxx res.rc src/
4. cd ..
5. svn mv FFmpegSource2/ INSTALL Makefile.am README acinclude.m4 \
autogen.sh automation/ bin build configure.in desktop dummy.txt lib \
libass/ m4macros/ packages/ po/ scripts/ universalchardet/ aegisub/
6. mkdir -p docs/wiki_convert
7. svn add docs/wiki_convert
8. cd docs
9. svn mv aegisub_convert_docs.pl convert.bat output wiki_convert/
* See r2749 for full description.
Originally committed to SVN as r2752.
2009-03-08 08:30:39 +00:00
Amar Takhar
bf730cf96e
* Rework the debugging flags to set the variables conditionally on either being
...
enabled.
* Fix some cut-and-paste-o's (dunno how I managed these)
* Move AC_SUBST* outside of the conditionally enabled blocks
* Fix typo.
Originally committed to SVN as r2746.
2009-02-22 22:01:14 +00:00
Amar Takhar
4960863be2
Add --enable-gcov, --enable-efence and --enable-ccmalloc for gcov, Electric
...
Fence and ccmalloc support. gcov support won't work without manual
intervention (for now) but some hooks will be added later to automate it.
Originally committed to SVN as r2745.
2009-02-22 05:38:46 +00:00
Amar Takhar
761f044526
Return NULL if n < 0 on line 886, for whatever reason on FreeBSD this falls
...
through exception handling and causes and abort().
Originally committed to SVN as r2743.
2009-02-19 23:58:06 +00:00
Amar Takhar
0eaa08c405
Add audio_provider_dummy.cpp to the build which is required when _DEBUG is used.
...
Originally committed to SVN as r2739.
2009-02-17 08:12:19 +00:00
Amar Takhar
8ba90af9cd
Add missing files from aegisub/libosxutil/, packages/, and scripts/.
...
All of the missing files were related to OS X.
Originally committed to SVN as r2735.
2009-02-16 00:27:52 +00:00
Niels Martin Hansen
82f91ce1fc
Oops, had a C++-style line comment in a C source file
...
Originally committed to SVN as r2726.
2009-02-09 18:10:16 +00:00
Niels Martin Hansen
2bd0ce3055
Updated version of stdint.h for MSVC
...
Originally committed to SVN as r2725.
2009-02-09 18:08:14 +00:00
Karl Blomster
f85ad3c81f
Fix the jumpto dialog again. Now sets the max possible number of digits to input based on how many digits are in the final frame number. Patch by Harukalover, solves bugtracker issue #804 .
...
Originally committed to SVN as r2723.
2009-02-05 14:48:19 +00:00
Karl Blomster
f530b4c0da
Modified Harukalover's patch from yesterday so the frame number is sanitized after entry, not during.
...
Originally committed to SVN as r2722.
2009-02-04 23:22:10 +00:00
Karl Blomster
6a765528e1
Fix a bunch of edge cases in the VFR code. Patch by Plorkyeran, solves bugtracker issue #773 .
...
Originally committed to SVN as r2721.
2009-02-04 23:11:56 +00:00
Karl Blomster
d9d0eddfde
Minor cosmetic fixes to the goto frame/time dialog box. Patch by Harukalover.
...
Originally committed to SVN as r2720.
2009-02-04 01:45:43 +00:00
Amar Takhar
9c6780a33e
* Add DEBUG_FLAGS / PROFILE_FLAGS to LDFLAGS for aegisub binary linking.
...
* Move assigned variables used by AC_SUBST below AC_INIT(), they won't work
otherwise.
Originally committed to SVN as r2718.
2009-01-29 21:32:39 +00:00
Amar Takhar
594d44f594
avutil is required on unix/dawrin, not just darwin.
...
Originally committed to SVN as r2710.
2009-01-28 23:34:17 +00:00
Amar Takhar
9a6265afb6
* Switch FFMPEG detection to use pkg-config.
...
* Add an FFMPEG compile check from TheFluff, thanks! (modified)
* Add a libpostproc check from Myrsloik, thanks!. (reqired by ffms)
* Rework how ffms / FFMPEG providers are enabled/disabled.
* Fix PulseAudio check to use pulseaudio_required_version.
Originally committed to SVN as r2705.
2009-01-28 03:19:53 +00:00
Karl Blomster
fe2ec42a45
Fix a really dumb bug in the caching video provider that caused crashes when seeking in the video.
...
Originally committed to SVN as r2704.
2009-01-24 23:00:35 +00:00
Amar Takhar
bd78a5c60e
Instead of generating wxicon_xpm.xpm from icon.ico (which is very low-res)
...
supply a 48x48 xpm to be included as the application icon. There's probably a
better way to do this, like figuring out what the typical application icon size
is and supplying different sizes.
Originally committed to SVN as r2702.
2009-01-24 15:58:38 +00:00
Niels Martin Hansen
4ddc90f027
Simple subtitle formats weren't being split-recombined correctly in some cases after modifications, because AssEntrty::StartMS didn't match AssDialogue::Start, which caused sorting to fail.
...
Make a hacky fix that involves setting StartMS to Start.GetMS() when Clone()ing an AssDialogue.
Originally committed to SVN as r2700.
2009-01-20 20:08:34 +00:00
Amar Takhar
fb557ddf6e
Fix restarting aegisub on osx, this uses scripts/osx-bundle-restart-helper.c
...
(written by jfs) to restart aegisub when it actually quites using KQUEUE to
monitor the process until it dies then executing /usr/bin/open <bundle_path>
Originally committed to SVN as r2689.
2009-01-12 22:54:58 +00:00
Amar Takhar
dc83532e02
Fix restarting after lang/options change (RestartAegisub()).
...
(this is unix only)
Originally committed to SVN as r2687.
2009-01-12 21:26:44 +00:00
Amar Takhar
439a2c547e
* Only list languages if they're actually installed (checking for the existence
...
of the actual .mo file)
* Add ja to the list of possbile translations.
Originally committed to SVN as r2685.
2009-01-12 21:20:53 +00:00
Amar Takhar
c476b7b883
Add PORTAUDIO_CFLAGS to portaudio static library compile.
...
Originally committed to SVN as r2684.
2009-01-12 00:21:17 +00:00
Karl Blomster
5e6253831a
Fix a bug (introduced when support for w64 was added) that caused the PCM provider to never get used.
...
Originally committed to SVN as r2682.
2009-01-10 05:41:56 +00:00
Amar Takhar
1468be9860
Remove a commented line, r2676 had the Darwin paths fix for automation
...
snuck in (svn drives me mad sometimes!)
Originally committed to SVN as r2677.
2009-01-08 08:48:29 +00:00
Amar Takhar
852ceef55d
On OS X shared librarys end with .dylib not .so, this fixes the (lame) workaround
...
for auto3 linking.
Originally committed to SVN as r2676.
2009-01-08 08:46:10 +00:00
Amar Takhar
81a168d625
Add a workaround for dependency_libs in auto3/, libtool brings in libraries
...
automatically which causes link errors due to auto4 (lua 5.1).
Originally committed to SVN as r2675.
2009-01-08 08:22:53 +00:00
Amar Takhar
24d52e10c9
Forgot to append /AEGISUB_VERSION_DATA to GetDataDir.
...
Originally committed to SVN as r2673.
2009-01-07 10:40:33 +00:00
Amar Takhar
302f12b472
Add extern "C" around libosxutil.h.
...
Originally committed to SVN as r2670.
2009-01-07 07:35:28 +00:00
Amar Takhar
ab55433c02
Add libres.cpp to EXTRA_DIST for now until I figure out why it's not working
...
as it should.
Originally committed to SVN as r2666.
2009-01-06 14:21:15 +00:00
Amar Takhar
d5f5e66e33
* Split HAVE_FFMPEG into HAVE_FFMPEG / HAVE_PROVIDER_FFMPEG
...
* s/HAVE_FFMPEGSOURCE/HAVE_PROVIDER_FFMPEGSOURCE/
* Add FFMPEG_CFLAGS / FFMPEG_LDFLAGS as configure env vars for FFMPEG
detection.
Originally committed to SVN as r2664.
2009-01-06 13:59:15 +00:00
Amar Takhar
90062363f3
Really do the aegisub->aegisub-2.1 binary rename.
...
Originally committed to SVN as r2663.
2009-01-06 13:58:21 +00:00
Amar Takhar
bbe33f2b91
Set bin_PROGRAMS to aegisub-2.1
...
Originally committed to SVN as r2661.
2009-01-06 12:35:57 +00:00
Amar Takhar
675c4caa09
Add multiple version support, everything is now suffixed with MAJOR.MINOR, this
...
will allow users on unix to install and operate different versions of aegisub a$
the same time. Note: auto3 linking is broken it will be fixed in the next
commit as it's unrelated to these changes.
Originally committed to SVN as r2659.
2009-01-06 10:44:49 +00:00
Amar Takhar
2ded1e69db
Remove unused files, add config/*.h
...
Originally committed to SVN as r2651.
2009-01-05 11:51:34 +00:00
Amar Takhar
0c6abb553e
Remove a cut-and-past-o
...
Originally committed to SVN as r2650.
2009-01-05 11:51:13 +00:00
Amar Takhar
25ca1497ab
* Add support for setting the default A/V provider and audio player using
...
--with-provider-(video|audio) and --with-player-audio.
* Cleanup --help alignment
* Print default values at the end of configure
* Remove :'s in end status section headings in configure.
Originally committed to SVN as r2648.
2009-01-05 11:07:14 +00:00
Amar Takhar
37b395310b
Add a cheap 'make bundledirs-test' target.
...
Originally committed to SVN as r2645.
2009-01-04 13:07:57 +00:00
Niels Martin Hansen
79b79d737f
Add RestartAegisub() function with obvious purpose.
...
Replace existing code that restarts Aegisub with a call to that function.
Originally committed to SVN as r2644.
2009-01-04 11:45:06 +00:00
Niels Martin Hansen
c98c5b10b9
Add (untested) test program for libosxutil, to display what the different locations map to.
...
There is no makefile support for it (yet).
Originally committed to SVN as r2643.
2009-01-04 11:10:51 +00:00
Niels Martin Hansen
00d15ee4db
Add OSX_GetBundlePath() to libosxutil
...
Originally committed to SVN as r2642.
2009-01-04 11:09:53 +00:00
Amar Takhar
732970fe56
Set default locale to en_US and disable tooltips on startup, for whatever
...
reason both of these break when loading (to be fixed later).
Originally committed to SVN as r2639.
2009-01-04 10:26:14 +00:00
Amar Takhar
bf09c76081
Remove posix dir and 'libposix' and create 'libresrc' which includes
...
resources from res.rc and and future resources required.
Originally committed to SVN as r2631.
2009-01-04 09:01:49 +00:00
Amar Takhar
e66eed8126
Remove -include posix/defines.h
...
Originally committed to SVN as r2625.
2009-01-04 07:02:28 +00:00
Amar Takhar
7e9f898c34
* Add -I../aegisub to libass/Makefile.am
...
* Remove res.h from config/config_unix.h
* Add posix/res.h to config.h (temp)
Originally committed to SVN as r2624.
2009-01-04 07:01:20 +00:00
Amar Takhar
9238c1b992
Remove WITH_FFMPEGSOURCE as the defines have been self-contained to FFmpegSource2.
...
Originally committed to SVN as r2623.
2009-01-04 06:56:20 +00:00
Rodrigo Braz Monteiro
7b552282ff
Fixed config for MSVC
...
Originally committed to SVN as r2622.
2009-01-04 06:42:49 +00:00
Amar Takhar
0763541848
Change how configuration works.
...
* move win32/config0.h -> config/config_windows0.h
* move win32/stdint.h -> msvc/stdint.h
* move posix/defines.h -> config/config_unix.h
* add config.h - brings in config_(windows|unix).h as required
* add config.h to *.cpp
* Self-contain FFmpegSource2 with required function defines wrapped with
__UNIX__ instead of the now removed defines.h.
* Edit aegisub_vs2008.vcproj to remove explicit inclusion of config.h, also
change VCPreBuildEventTool to create windows_config.h from
windows_config0.h. Add msvc to include path.
* Change configure to create ./acconf.h instead of posix/acconf.h
This will allow us to create a more standard and platform agnostic way of
configuration aegsisub during build time.
Originally committed to SVN as r2621.
2009-01-04 06:31:48 +00:00
Amar Takhar
da9e5f0cc1
Remove a single debug printf that is no longer required.
...
Originally committed to SVN as r2615.
2009-01-02 09:30:32 +00:00