Commit Graph

567 Commits

Author SHA1 Message Date
Rodrigo Braz Monteiro d403fd21f2 Applied demi's fix to scaledborderandshadow
Originally committed to SVN as r1150.
2007-04-27 21:19:22 +00:00
Rodrigo Braz Monteiro a59ee116a7 Some refactoring of options dialog code... not complete, but already an improvement.
Originally committed to SVN as r1149.
2007-04-27 04:53:44 +00:00
Niels Martin Hansen d244277ac9 More fixing build system
Originally committed to SVN as r1148.
2007-04-26 21:38:42 +00:00
Niels Martin Hansen e52740570a More correct playback position reporting.
Originally committed to SVN as r1147.
2007-04-26 20:17:20 +00:00
Niels Martin Hansen 7a89405f18 So apparently Alsa mostly works now. Not thorougly tested.
Originally committed to SVN as r1146.
2007-04-26 20:11:48 +00:00
Niels Martin Hansen 2e82606c29 Alsa player is still broken... but trying to do things differently at least.
Originally committed to SVN as r1145.
2007-04-26 18:34:36 +00:00
Rodrigo Braz Monteiro e04c25d378 Probably fixed OS X errors on gl_wrap.cpp, but I really don't think that I want to fix the retarded warnings
Originally committed to SVN as r1144.
2007-04-25 18:57:56 +00:00
Rodrigo Braz Monteiro 3f0b3eebae Another attempt to fix gl_wrap.cpp on OS X.
Originally committed to SVN as r1143.
2007-04-25 18:45:09 +00:00
Rodrigo Braz Monteiro aef7dd3e61 Possible fix for gl_wrap.cpp on OS X
Originally committed to SVN as r1142.
2007-04-25 18:35:27 +00:00
Rodrigo Braz Monteiro 577295495e Commiting text now commits times as well.
Originally committed to SVN as r1141.
2007-04-25 04:31:36 +00:00
Rodrigo Braz Monteiro 399a7396cf Attempt at a dummy video dialog fix and fixed mythes's function duplication issues once and for all.
Originally committed to SVN as r1140.
2007-04-25 04:09:42 +00:00
Rodrigo Braz Monteiro dfeb714019 restored boost
Originally committed to SVN as r1139.
2007-04-25 02:39:17 +00:00
Niels Martin Hansen dcfb3fc2ed Killed off unused boost headers.
And final commit in Makefile.am updates for now... I hope.

Originally committed to SVN as r1135.
2007-04-25 02:03:02 +00:00
Niels Martin Hansen b068353513 Adding Makefile.am's in smaller steps.. SVN doesn't like me.
Originally committed to SVN as r1134.
2007-04-25 01:59:46 +00:00
Niels Martin Hansen 93d0b0a469 Adding Makefile.am's in smaller steps.. SVN doesn't like me.
Originally committed to SVN as r1133.
2007-04-25 01:59:01 +00:00
Niels Martin Hansen 1ba8e934f2 Deleted old, unused files.
Originally committed to SVN as r1132.
2007-04-25 01:56:09 +00:00
Niels Martin Hansen 4d0a78b9a9 DSound player seems good now... stop breaking it.
Originally committed to SVN as r1129.
2007-04-25 00:35:10 +00:00
Niels Martin Hansen 14582ad00a Fixed Alsa player, now mostly works. (Incorrect position reporting, strange samplerate glitch at start of playback.) And more fixes to build system.
Originally committed to SVN as r1128.
2007-04-24 22:29:27 +00:00
Niels Martin Hansen a278e4e4a3 More fixing of build system: Properly link GL framework on OS X (I hope.) FFmpeg is now optional. Check for a working pthreads. More detailed warnings when no audio players or video/audio providers are available.
Originally committed to SVN as r1127.
2007-04-24 00:52:49 +00:00
Niels Martin Hansen bd72e621b8 Fixed "invalid -e option" warning when converting images to xpm
Originally committed to SVN as r1126.
2007-04-23 23:38:13 +00:00
Niels Martin Hansen 5ee7106920 Various fixes in build system
Originally committed to SVN as r1125.
2007-04-23 22:34:52 +00:00
Niels Martin Hansen 3e5d49d46c Seem to have fixed asserts randomly triggering. Taking the mainloop mutex is important!
Originally committed to SVN as r1124.
2007-04-23 20:58:21 +00:00
Niels Martin Hansen 470f8d05c6 Better error reporting
Originally committed to SVN as r1123.
2007-04-23 20:26:39 +00:00
Niels Martin Hansen e4051efbf0 Somewhat working playpack position indicator, but restarting playback doesn't always work properly.
Originally committed to SVN as r1122.
2007-04-23 17:34:39 +00:00
Niels Martin Hansen b63a2ade85 Commented out some trace-prints in PulseAudio player, and added device selection to (still broken) Alsa player.
Originally committed to SVN as r1121.
2007-04-23 17:01:00 +00:00
Niels Martin Hansen 15a5e39fff PulseAudio player seems to kinda work, it just doesn't report playback position yet
Originally committed to SVN as r1120.
2007-04-23 16:16:39 +00:00
Niels Martin Hansen 0617076b72 Added (broken) PulseAudio audio player. It currently deadlocks.
Originally committed to SVN as r1118.
2007-04-23 02:30:27 +00:00
Rodrigo Braz Monteiro e3d67151c0 Defaulted audio player to portaudio on non-win32
Originally committed to SVN as r1117.
2007-04-22 22:38:49 +00:00
Rodrigo Braz Monteiro 244b28ecf1 Ruby should hopefully work on posix now, but is hopefully optional. Aegisub is a project made of hopes.
Originally committed to SVN as r1116.
2007-04-22 22:20:53 +00:00
Niels Martin Hansen 5851f0561f Implemented (seemingly broken) Alsa audio player.
Fixed hunspell-related bugs in autoconf/automake system.

Originally committed to SVN as r1114.
2007-04-22 21:59:35 +00:00
Niels Martin Hansen ba944fd9b2 REALLY fixed DSound playback this time.
Originally committed to SVN as r1113.
2007-04-22 16:03:28 +00:00
Niels Martin Hansen cf2d2ff5d4 Fixed "cannot wait for thread termination (invalid handle)" error in Auto4/Lua on wxMSW 2.8.3 by removing threading dependency in Auto4LuaScript::Create. It wasn't needed there anyway.
Also removed absolute dependency on hunspell, Aegisub should just build without spellchecking support now. Finally removed requirement to have built with at least one spellchecker. (That was stupid.)

Originally committed to SVN as r1112.
2007-04-22 15:45:29 +00:00
Rodrigo Braz Monteiro 7f6c3a4ba1 1111 GET - failed attempt to get Ruby to work (commented out) and made PortAudio optional (I hope)
Originally committed to SVN as r1111.
2007-04-22 07:04:31 +00:00
Niels Martin Hansen a05cf649fe Proper checking for OpenGL, hopefully also using the right includes on OS X.
Most OS X users will want to add --with-apple-opengl-framework to the configure command line.

Originally committed to SVN as r1109.
2007-04-22 02:24:27 +00:00
Rodrigo Braz Monteiro 4f1dc2c59d Made hunspell into a pluggable factory. This MIGHT cause issues with mythes if hunspell is not available...
Originally committed to SVN as r1108.
2007-04-22 02:03:40 +00:00
Rodrigo Braz Monteiro b2f2cf2d7f Changed the audio player interface to use pluggable factories and added audio player/provider to options (in a new page, where all advanced audio options were moved to)
Originally committed to SVN as r1107.
2007-04-22 01:23:25 +00:00
Niels Martin Hansen c6722b0587 Fixed some building on Linux, at least on Ubuntu Feisty amd64. Also
updated configure.ac to check for wxSTC instead of wxScintilla.

Originally committed to SVN as r1106.
2007-04-22 00:23:21 +00:00
Rodrigo Braz Monteiro be0cedb475 Made esc work with attachments, automation and spell checker dialogs, and jfs's suggested changes to dsound code
Originally committed to SVN as r1105.
2007-04-22 00:14:58 +00:00
Rodrigo Braz Monteiro b91f1a0511 Replaced wxScintilla with the more sane (and standard) wxStyledTextCtrl.
Originally committed to SVN as r1104.
2007-04-21 23:16:38 +00:00
Rodrigo Braz Monteiro feff4e63f3 More optimizations
Originally committed to SVN as r1103.
2007-04-20 23:07:22 +00:00
Rodrigo Braz Monteiro 83f0c94545 Optimizations to AssTime::ParseASS()
Originally committed to SVN as r1102.
2007-04-20 22:17:42 +00:00
Niels Martin Hansen 168d08acc2 Fixed compiler warning and removed some dead code.
Originally committed to SVN as r1101.
2007-04-20 21:15:21 +00:00
Niels Martin Hansen c1cb6e4367 Stable, correct and uncut audio playback GET!
Originally committed to SVN as r1100.
2007-04-20 18:07:44 +00:00
Niels Martin Hansen 4276b02f89 Fixed #320, other applications no longer interfere with audio playback. Apparently those notifications for DSound buffers aren't reliable at all.
Still one minor problem with audio display cursor making a strange jump about one second from end of selection, this doesn't seem to affect playback though.

Originally committed to SVN as r1099.
2007-04-20 16:27:18 +00:00
Niels Martin Hansen 813a487b23 Rewrote lots of the DirectSound audio code, hopefully it's more stable now.
Originally committed to SVN as r1098.
2007-04-19 23:38:54 +00:00
Rodrigo Braz Monteiro 877c4bf1b1 Much faster subtitles loading (only really relevant for huge files, though) and undo stack operations.
Originally committed to SVN as r1097.
2007-04-19 15:22:47 +00:00
Rodrigo Braz Monteiro 95bc4227f2 fixed an odd option
Originally committed to SVN as r1096.
2007-04-18 20:59:36 +00:00
Rodrigo Braz Monteiro f64d5341ce A few Linux fixes
Originally committed to SVN as r1095.
2007-04-18 20:24:32 +00:00
Rodrigo Braz Monteiro 8a7fc29c5d Fixed makefile to include two missing cpp files
Originally committed to SVN as r1094.
2007-04-18 19:44:45 +00:00
Rodrigo Braz Monteiro 9f18c2d448 Fixed hidden cursor on right click
Originally committed to SVN as r1093.
2007-04-18 04:51:17 +00:00
Rodrigo Braz Monteiro 9dcb9d7884 Added a "defaults" button to options dialog.
Originally committed to SVN as r1092.
2007-04-18 04:03:22 +00:00
Rodrigo Braz Monteiro 0c7b674e55 General tweaks
Originally committed to SVN as r1091.
2007-04-18 03:38:48 +00:00
Rodrigo Braz Monteiro 870d249123 Fixed autosaving of some file types.
Originally committed to SVN as r1090.
2007-04-18 01:59:50 +00:00
Rodrigo Braz Monteiro e6331a182a Forgot to add browse button to linux makefile
Originally committed to SVN as r1089.
2007-04-17 23:03:08 +00:00
Rodrigo Braz Monteiro edeaf98352 Created browse button and added it to several (but not all) places on the options dialog.
Originally committed to SVN as r1088.
2007-04-17 23:00:30 +00:00
Rodrigo Braz Monteiro e7eb42906a Fixed unloading of video.
Originally committed to SVN as r1086.
2007-04-17 01:19:04 +00:00
Rodrigo Braz Monteiro 6724424880 Forgot changelog for 1084. >_>
Originally committed to SVN as r1085.
2007-04-17 00:20:26 +00:00
Rodrigo Braz Monteiro 38dd7b1a4a Set csri/vsfilter_textsub as the default subtitles provider under win32
Originally committed to SVN as r1084.
2007-04-17 00:02:17 +00:00
Rodrigo Braz Monteiro 9f58957fd9 Styles editor seems totally finished, although it will probably still conflict on temporary subs filename.
Originally committed to SVN as r1083.
2007-04-16 23:59:38 +00:00
Rodrigo Braz Monteiro 94260f649d Several improvements to style editor, but still not 100% done
Originally committed to SVN as r1082.
2007-04-16 23:41:06 +00:00
Rodrigo Braz Monteiro 85cafc22bc Clean up of DialogStyleEditor constructor.
Originally committed to SVN as r1081.
2007-04-16 22:13:09 +00:00
Rodrigo Braz Monteiro 3726c82f21 Tweaks to style editor.
Originally committed to SVN as r1080.
2007-04-16 15:08:09 +00:00
Rodrigo Braz Monteiro 50f63ba3fe Style editor layout redesign and added a style preview box to it (doesn't autoupdate yet, though).
Originally committed to SVN as r1079.
2007-04-16 04:26:42 +00:00
Rodrigo Braz Monteiro e2c9befeae Fixed display of video coordinates.
Originally committed to SVN as r1078.
2007-04-15 22:44:52 +00:00
Rodrigo Braz Monteiro cb1f794b3e Actually completed spell checker dialog.
Originally committed to SVN as r1077.
2007-04-14 16:08:50 +00:00
Rodrigo Braz Monteiro bd03fbc3ce Spell checker dialog is complete.
Originally committed to SVN as r1076.
2007-04-14 15:26:46 +00:00
Rodrigo Braz Monteiro 79341020fd Early and mostly uncoded spellchecker dialog.
Originally committed to SVN as r1075.
2007-04-14 01:02:21 +00:00
Rodrigo Braz Monteiro 9292b79e1d Fixed double clicking on video
Originally committed to SVN as r1074.
2007-04-13 20:21:37 +00:00
Niels Martin Hansen 4b569de80d Fixed bug with grid scrollbar not updating.
Removed some old, unused auto3 files.

Originally committed to SVN as r1073.
2007-04-13 15:30:57 +00:00
Rodrigo Braz Monteiro 51cd2f5ced Completed (although it could still use some new features) OpenGL Text drawing code, and fully re-implemented video mouse coordinates.
Originally committed to SVN as r1072.
2007-04-13 14:38:27 +00:00
Rodrigo Braz Monteiro dbd64d935e Almost working gl text code (seemingly uploads and retrieves glyphs fine, but only rendering white rectangles, and there are many things that could be causing that)
Originally committed to SVN as r1071.
2007-04-13 03:52:25 +00:00
Rodrigo Braz Monteiro f1c9a1695d Fixed loading of unicode paths in win32
Originally committed to SVN as r1070.
2007-04-13 02:28:29 +00:00
Rodrigo Braz Monteiro f8a711a0db Made text file reader use iostream on all platforms... this will probably need some testing, though, so old code is only #ifdefed out.
Originally committed to SVN as r1069.
2007-04-13 02:05:38 +00:00
Niels Martin Hansen d342a55418 Windows debug builds now really shouldn't associate themselves.
Also some (preliminary, untested, possibly bad) file type registration code for Mac.

Originally committed to SVN as r1068.
2007-04-13 01:54:47 +00:00
Rodrigo Braz Monteiro 0ef48599e6 Stopped change of AR from re-displaying audio.
Originally committed to SVN as r1067.
2007-04-13 01:46:50 +00:00
Rodrigo Braz Monteiro c014c93c4c Fixed drawing of inactive lines in audio display to prevent it from being drawn over selection.
Originally committed to SVN as r1066.
2007-04-13 01:29:05 +00:00
Rodrigo Braz Monteiro 58c7a6f4e8 Failed attempt to get threaded video to work.
Originally committed to SVN as r1065.
2007-04-13 00:44:46 +00:00
Niels Martin Hansen 07cc2d8042 Use wxLaunchDefaultBrowser instead of custom-built solution for opening URL's
Originally committed to SVN as r1064.
2007-04-13 00:04:44 +00:00
Rodrigo Braz Monteiro 50c14d9067 More incomplete gl text code
Originally committed to SVN as r1063.
2007-04-12 20:37:56 +00:00
Niels Martin Hansen 16ab6082df Un-broke selected_lines in Automation
Originally committed to SVN as r1061.
2007-04-12 18:27:14 +00:00
Niels Martin Hansen 943c8c2564 Fixed karaoke mode + vector drawings crash
Originally committed to SVN as r1060.
2007-04-12 15:02:05 +00:00
Rodrigo Braz Monteiro f173204498 Very early, incomplete, and so far unused gl text class.
Originally committed to SVN as r1059.
2007-04-12 12:49:41 +00:00
Rodrigo Braz Monteiro a891964bc2 Merged the hotkeys dialog into the options dialog.
Originally committed to SVN as r1058.
2007-04-11 21:24:31 +00:00
David Lamparter 29e529367e get rid of numbers in bitmap names
Originally committed to SVN as r1057.
2007-04-10 20:46:16 +00:00
Rodrigo Braz Monteiro 2e1263055b Moved stdint.h to win32 to avoid issues with Linux, and removed
video_zoom.cpp from Linux makefile.

Originally committed to SVN as r1056.
2007-04-10 16:16:31 +00:00
Rodrigo Braz Monteiro 161f07f6be Made the relevant audio options reload audio.
Originally committed to SVN as r1055.
2007-04-10 02:55:23 +00:00
Niels Martin Hansen 6f6f53f1b2 Karaoke is now more properly autoscrolled into audio display, per bug #334, it still can use some tweaking though
Originally committed to SVN as r1054.
2007-04-10 00:51:03 +00:00
Rodrigo Braz Monteiro c42dff5d65 Added a "Scale Border and Shadow" check box to script properties dialog.
Originally committed to SVN as r1053.
2007-04-09 21:47:59 +00:00
Niels Martin Hansen d4e99d152c Colour picker now remembers its last position within the session
Originally committed to SVN as r1052.
2007-04-09 19:26:32 +00:00
Niels Martin Hansen 425e8748ea Colour picker history now correctly only keeps one copy of each colour used
Originally committed to SVN as r1051.
2007-04-09 19:04:11 +00:00
Rodrigo Braz Monteiro 33b62e2ad5 Added option to disable automatic grabbing of times from selected lines on the audio display. Also, it will never pick the times from 0:00:00.00 -> 0:00:00.00 lines.
Originally committed to SVN as r1050.
2007-04-09 18:25:58 +00:00
Rodrigo Braz Monteiro 7e398170d9 Fixed memory leak on exception throw in csri.
Originally committed to SVN as r1049.
2007-04-09 16:09:45 +00:00
Rodrigo Braz Monteiro 34c9492f97 Made csri/vsfilter_textsub use csri_open_file() instead of csri_open_mem()
Originally committed to SVN as r1048.
2007-04-09 16:08:57 +00:00
Rodrigo Braz Monteiro 1c6bea3220 No longer try to automatically backup binary files (especially nasty when loading subs from mkv).
Originally committed to SVN as r1047.
2007-04-09 05:59:46 +00:00
Rodrigo Braz Monteiro 47e5c5a003 Forgot to remove video_zoom.cpp
Originally committed to SVN as r1041.
2007-04-09 04:39:53 +00:00
Rodrigo Braz Monteiro f841b52d72 Removed more dead code.
Originally committed to SVN as r1040.
2007-04-09 04:28:16 +00:00
Rodrigo Braz Monteiro 7e94e8c7b0 Removed obsolete subtitle providers (pre-csri asa and dtextsub)
Originally committed to SVN as r1039.
2007-04-09 04:16:15 +00:00
Rodrigo Braz Monteiro 62cf73283e Fixed building of libass in msvc (was including the wrong ass.h...)
Originally committed to SVN as r1037.
2007-04-09 04:12:37 +00:00
Rodrigo Braz Monteiro 41843bf292 Added libass 0.9.3try2 as is to repository (patched for MSVC on next revision)
Originally committed to SVN as r1035.
2007-04-09 02:02:40 +00:00
Rodrigo Braz Monteiro 1e3694d859 Small tweak to options dialog.
Originally committed to SVN as r1034.
2007-04-08 21:56:52 +00:00
Rodrigo Braz Monteiro d3836e350f Fixed loading of subtitles from Matroska files.
Originally committed to SVN as r1033.
2007-04-08 21:20:32 +00:00
Rodrigo Braz Monteiro 716539b54a Allowed using detached subtitles providers on avisynth video provider, and changed the advanced video options in the options dialog to reload the video (so you can immediately see the changes)
Originally committed to SVN as r1032.
2007-04-08 19:27:46 +00:00
Rodrigo Braz Monteiro 5d3442f567 Moved YV12->RGB32 conversion to video provider, before caching.
Originally committed to SVN as r1031.
2007-04-08 18:12:51 +00:00
Rodrigo Braz Monteiro ebc0e37a2d Added multiple subtype support for provider factories, in particular, csri.
Originally committed to SVN as r1030.
2007-04-08 16:33:53 +00:00
Rodrigo Braz Monteiro cb75613747 Disabled autodetection on non-windows for now.
Originally committed to SVN as r1029.
2007-04-08 06:10:52 +00:00
Rodrigo Braz Monteiro 4dcd02ab0a Instead of falling back to your local charset, Aegisub will now use the "universalchardet" library (the one used by the Mozilla project) to autodetect the character set of non-Unicode files.
Originally committed to SVN as r1028.
2007-04-08 06:01:41 +00:00
Rodrigo Braz Monteiro e0ef2c9f55 Fixed undo & redo items in edit menu.
Originally committed to SVN as r1027.
2007-04-08 02:41:40 +00:00
Rodrigo Braz Monteiro 821399e03c Added "Video Formats" to "Open Audio"'s file selector, so you can open audio directly from video files (regardless of whether they're loaded or not). This has always worked, but it was never explicit.
Originally committed to SVN as r1026.
2007-04-08 02:26:32 +00:00
Rodrigo Braz Monteiro e49058f0cf Major cleanup to dynamic menu code, fixed menu flickering/slowness and replaced old hack to use wxWidgets 2.8.3's fixed handling of bitmaps in menus, which means that all the _disable bitmaps are now obsolete.
Originally committed to SVN as r1025.
2007-04-08 02:19:21 +00:00
Rodrigo Braz Monteiro b1ce35f817 2^10 GET! Style editor will no longer admit creation of styles with equal names. Also, hitting enter it will now "OK" it.
Originally committed to SVN as r1024.
2007-04-08 00:21:56 +00:00
Rodrigo Braz Monteiro 1c027dd44a Two storages with the same name can no longer be created in the styles manager.
Originally committed to SVN as r1023.
2007-04-08 00:10:42 +00:00
Rodrigo Braz Monteiro 9e4701cc61 Changed order of controls in the jump to dialog, so it defaults to frame instead of time.
Originally committed to SVN as r1022.
2007-04-07 23:50:31 +00:00
Rodrigo Braz Monteiro c0b62ff377 Re-coded threaded video mode, but it fails spetacularly. It's currently disabled in source, but there.
Originally committed to SVN as r1021.
2007-04-07 23:45:46 +00:00
Rodrigo Braz Monteiro 7da5406572 Allowed saving of screenshots and copying video frames to clipboard without subtitles. This will not work with the avisynth video provider (options will be greyed out).
Originally committed to SVN as r1020.
2007-04-07 22:03:06 +00:00
David Lamparter cfd9065cb4 add (rather useless) log window
Originally committed to SVN as r1019.
2007-04-07 05:27:32 +00:00
Rodrigo Braz Monteiro 0abb0bd433 Added setting of subtitles provider and toggling of pixel shader use to options/video.
Originally committed to SVN as r1018.
2007-04-07 04:40:44 +00:00
Rodrigo Braz Monteiro 6d988bdf4d Made middle click on audio display jump video to position, fixed a few uninitialized variable warnings and removed the GetString() method from AssFile, since it was only used by the old libass provider.
Originally committed to SVN as r1017.
2007-04-07 03:12:55 +00:00
Rodrigo Braz Monteiro 263df94e69 Some clean up to audio display code, added option to show/hide keyframes on audio display, and individual options to automatically snap to keyframes and adjascent lines (behavior can always be toggled by holding down shift).
Originally committed to SVN as r1016.
2007-04-07 02:39:18 +00:00
Rodrigo Braz Monteiro 7e040f6a66 Changing script resolution when asked to on video loading will now set an undo point.
Originally committed to SVN as r1015.
2007-04-07 01:56:55 +00:00
David Lamparter 89d62b85f5 bitch when no CSRI provider was found
Originally committed to SVN as r1014.
2007-04-06 16:32:46 +00:00
Dan Donovan f59df9233d Fix GetFloat again, I guess.
Originally committed to SVN as r1013.
2007-04-05 22:01:33 +00:00
Dan Donovan ae307d9f74 Why did someone screw up GetFloat in video_frame.cpp?
Originally committed to SVN as r1012.
2007-04-05 21:54:47 +00:00
David Lamparter a274bbc1aa detect PortAudio v19 and use accordingly
Originally committed to SVN as r1011.
2007-04-05 16:39:49 +00:00
David Lamparter 86c84ec3cd uber-evil casts. not really fixes, but let's get rid of the warnings
Originally committed to SVN as r1009.
2007-04-04 21:30:45 +00:00
Rodrigo Braz Monteiro 97d996f995 Fixed all warnings while building on Linux, except for the ones on MatroskaParser.c and the ones about image conversion. Poke equinox for the later.
Originally committed to SVN as r1008.
2007-04-04 20:42:44 +00:00
David Lamparter 5b0255a59d check for libass / add --with[out]-libass parameter to configure
Originally committed to SVN as r1006.
2007-04-04 19:40:06 +00:00
David Lamparter 758cd7e2e7 enable make dist
Originally committed to SVN as r1005.
2007-04-04 18:50:43 +00:00
Rodrigo Braz Monteiro 217c617a78 Fixed parsing of [Script Info] for libass, makes resolution work properly, and, apparently, all of libass behave correctly.
Originally committed to SVN as r1002.
2007-04-04 04:22:05 +00:00
Rodrigo Braz Monteiro f15c03b1cc Removed the old libass cpp to avoid confusion.
Originally committed to SVN as r1001.
2007-04-04 04:14:14 +00:00
Rodrigo Braz Monteiro 29072f75af 1000 GET. Actually added the libass .cpp (oops), and optimizations to its blender.
Originally committed to SVN as r1000.
2007-04-04 04:12:38 +00:00
Rodrigo Braz Monteiro 2b680c3e5b libass reimplemented on subtitles_provider_libass.cpp, although still slightly buggy. It will be built on Linux by default (it has been added to aegisub/Makefile.am)
Originally committed to SVN as r999.
2007-04-04 03:57:12 +00:00
Niels Martin Hansen a1cdffdb85 704x396 is not 640x396
Originally committed to SVN as r998.
2007-04-04 02:55:22 +00:00
Niels Martin Hansen a524881505 Misc. sizer tweaks
Originally committed to SVN as r997.
2007-04-04 02:54:03 +00:00
Niels Martin Hansen 5457b64925 Changes to sizer setup in dummy video options
Originally committed to SVN as r996.
2007-04-04 02:24:46 +00:00
Niels Martin Hansen e74727f634 Option for checkerboard pattern in dummy video
Originally committed to SVN as r995.
2007-04-04 01:54:37 +00:00
Niels Martin Hansen f292339808 Dummy video provider was always creating 640x480 frames, now creates in the right resolution
Originally committed to SVN as r994.
2007-04-04 01:21:23 +00:00
Rodrigo Braz Monteiro 28504a5c9b very minor changes to utils.h
Originally committed to SVN as r993.
2007-04-04 01:14:02 +00:00
Rodrigo Braz Monteiro e72b0ae8c0 Fixed audio display on Linux, and had to change
__attribute__((always_inline)) to just inline, since my g++ was bitching
about that.

Originally committed to SVN as r992.
2007-04-04 00:52:50 +00:00
Niels Martin Hansen 9c85a4795c Load/store Auto4 export filter settings to original subs file
Originally committed to SVN as r991.
2007-04-04 00:01:17 +00:00
Rodrigo Braz Monteiro a0f3e58894 Blind attempt to get audio box to work on Linux.
Originally committed to SVN as r990.
2007-04-03 23:29:51 +00:00
David Lamparter 9339f1c45b properly make inlines static
Originally committed to SVN as r989.
2007-04-03 21:24:29 +00:00
Rodrigo Braz Monteiro 0568af7ce0 added ClampSignedInteger32() to utils and used that to remove branching from YV12->RGB32 conversion, hopefully making it faster. Also, fixed a warning in lavc audio provider.
Originally committed to SVN as r988.
2007-04-03 21:05:33 +00:00
Rodrigo Braz Monteiro 29923cb8e1 Optimized the YV12->RGB32 conversion in AegiVideoFrame
Originally committed to SVN as r987.
2007-04-03 20:41:33 +00:00
David Lamparter 91c11fbf09 get locale stuff more correct
Originally committed to SVN as r983.
2007-04-03 04:34:56 +00:00
Rodrigo Braz Monteiro 246be56350 Made YV12->RGB32 conversion happen before subtitling, so asa works without glitching.
Originally committed to SVN as r982.
2007-04-03 02:55:43 +00:00
Rodrigo Braz Monteiro 4e2af4cd57 Added a method to AegiVideoFrame to allow conversion from YV12->RGB32, which is used by screenshot taking and video context, if the video provider can only provide YV12 (ffmpeg).
Originally committed to SVN as r981.
2007-04-03 02:31:51 +00:00
Rodrigo Braz Monteiro 292ad1af33 Added dummy provider to changelog:
- Added a dummy video provider to create a blank video with customizeable options. (jfs & AMZ)

Originally committed to SVN as r979.
2007-04-03 00:22:19 +00:00
Rodrigo Braz Monteiro 0acbf6eb61 Small fix to make dummy video's dialog build on some machines.
Originally committed to SVN as r978.
2007-04-03 00:14:05 +00:00
Niels Martin Hansen c9ce15bb01 GUI for dummy video provider
Originally committed to SVN as r977.
2007-04-02 18:28:09 +00:00
Rodrigo Braz Monteiro 77e21c985d Better dealing of shaders.
Originally committed to SVN as r976.
2007-04-02 00:44:47 +00:00
Rodrigo Braz Monteiro 6b26ebd99b Made video context respect the setting of "video use pixel shaders", which was being ignored by ffmpeg, since it can only output yv12.
Originally committed to SVN as r975.
2007-04-01 23:27:22 +00:00
Rodrigo Braz Monteiro bef344645b Fixed memory handling in dummy provider.
Originally committed to SVN as r974.
2007-04-01 23:13:29 +00:00
Rodrigo Braz Monteiro 1d03da6844 Added a hack to video loading to allow the creation of a context in some platforms, and changed the colour of dummy video provider to sky-blue.
Originally committed to SVN as r973.
2007-04-01 23:07:29 +00:00
Rodrigo Braz Monteiro 14edd1fe3b Added dummy video provider.
Originally committed to SVN as r972.
2007-04-01 22:06:00 +00:00
Niels Martin Hansen 88639cf70c Update both top and bottom margins when vertical margin is changed
Originally committed to SVN as r969.
2007-04-01 12:21:16 +00:00
David Lamparter ae37b2481f CSRI helper library; fixup build system while at it
Originally committed to SVN as r968.
2007-03-31 22:04:57 +00:00
David Lamparter 7c38076d4f fix INT64_C breakage with ffmpeg
Originally committed to SVN as r967.
2007-03-31 21:28:43 +00:00
Rodrigo Braz Monteiro af7bfcc858 Applied demi's patch to fix the view menu and committed some unfinished (commented out) rgb lavc code
Originally committed to SVN as r966.
2007-03-31 03:23:46 +00:00
Rodrigo Braz Monteiro 867218fd0b Removed a seemingly useless call to glFinish(), which could also be causing issues, maybe.
line 2 test.

Originally committed to SVN as r965.
2007-03-29 23:09:40 +00:00
Rodrigo Braz Monteiro cc99e37e2c Added several asserts to Video Display and stopped it from running Reset() when hidden, which could be leading to odd results.
Originally committed to SVN as r964.
2007-03-29 23:04:26 +00:00
Rodrigo Braz Monteiro 0dd4f96757 Fix for lavc audio provider to prevent it from crashing if it cannot load the file (was causing video playback to crash if no audio was loaded)
Originally committed to SVN as r963.
2007-03-29 21:05:22 +00:00
Rodrigo Braz Monteiro bc1897049b Complement to jfs's fix.
Originally committed to SVN as r962.
2007-03-28 15:24:06 +00:00
Niels Martin Hansen 4e7ddbbe85 Fix for non-pixelshader video rendering
Originally committed to SVN as r961.
2007-03-28 15:17:47 +00:00
Rodrigo Braz Monteiro b44540e63f Added video_provider_lavc.cpp to the unix makefile.
Originally committed to SVN as r960.
2007-03-28 01:59:14 +00:00
Rodrigo Braz Monteiro af757cf6fe Fixed paste over.
Originally committed to SVN as r959.
2007-03-28 01:37:13 +00:00
Rodrigo Braz Monteiro 58f4dae158 Fixed display of overridden key frames on audio display (#349).
Originally committed to SVN as r958.
2007-03-28 01:17:56 +00:00
Rodrigo Braz Monteiro ee3178a8e1 Fixed replace bug (#338) and cleaned search and replace code up a bit.
Originally committed to SVN as r957.
2007-03-28 01:11:52 +00:00
Rodrigo Braz Monteiro 27b08cc8aa Fixed ffmpeg memory leak.
Originally committed to SVN as r956.
2007-03-27 22:56:08 +00:00
Rodrigo Braz Monteiro 493bc75ed1 Slight Linux cosmic fix.
Originally committed to SVN as r955.
2007-03-27 22:41:33 +00:00
Rodrigo Braz Monteiro c722ce9741 ffmpeg video provider now works as expected, except that it leaks memory. This fix should also help with certain videos being loaded with other providers. Also added some asserts and clean up to video frame class.
Originally committed to SVN as r954.
2007-03-27 22:29:35 +00:00
Rodrigo Braz Monteiro d7a6ca1d76 ffmpeg provider almost works now
Originally committed to SVN as r953.
2007-03-24 02:07:06 +00:00
Rodrigo Braz Monteiro 4f1f9ccdf0 Made ffmpeg video provider compile again, conforming to the new video provider interface, but it still won't work.
Originally committed to SVN as r952.
2007-03-24 00:11:49 +00:00
Dan Donovan aba48b68e3 Can save an audio clip of multiple lines (just goes earliest start to latest end for now), and a little more error checking
Originally committed to SVN as r951.
2007-03-19 20:01:09 +00:00
Dan Donovan 4eb824ea16 Make the escape key work for more stuff in Style Manager
Originally committed to SVN as r950.
2007-03-18 02:18:25 +00:00
Dan Donovan 26cba4b46f Styles can be renamed when copied
Always call Stop in AudioDisplay on Play

Originally committed to SVN as r949.
2007-03-18 01:20:25 +00:00
Rodrigo Braz Monteiro d566e629f9 Marked readme.txt as outdated
Originally committed to SVN as r948.
2007-03-14 22:28:43 +00:00
Rodrigo Braz Monteiro 55f7f0ea15 Small fixes to paste over.
Originally committed to SVN as r947.
2007-03-14 16:39:45 +00:00
Niels Martin Hansen 6055eea81f Minor fixes for Auto3 support, still breaks badly though. Beginnings of auto4/lua karaoke template.
Originally committed to SVN as r944.
2007-03-08 23:37:41 +00:00
Dan Donovan cd4332ac04 Kanji timer: don't FlagAsModified if no changes are made
Originally committed to SVN as r943.
2007-03-08 18:57:55 +00:00
pomyk 4dd9a52482 Ruby: fixed some compiler warnings
Originally committed to SVN as r942.
2007-02-25 18:31:09 +00:00
pomyk 12c1e6f498 fixed a crash when no subs selected
Originally committed to SVN as r941.
2007-02-25 18:08:19 +00:00
Niels Martin Hansen 3a1d4ee18e Lua export filters didn't work when there was no configuration dialog function. Really stupid fix. Also, Lua include files are now more usable and karaskel pre-calculation actually works.
Originally committed to SVN as r940.
2007-02-20 02:50:40 +00:00
pomyk 9dcae98180 Separate thread for Ruby
Originally committed to SVN as r939.
2007-02-15 18:54:46 +00:00
Niels Martin Hansen bfa2edbe04 Oops, forgot to include vfr.h, previous rev doesn't compile
Originally committed to SVN as r938.
2007-02-15 13:02:36 +00:00
Niels Martin Hansen ffe5558ba1 Added VFR handling functions to Auto4/Lua.
Originally committed to SVN as r937.
2007-02-15 12:56:36 +00:00
Niels Martin Hansen 30792ec961 Multiple export filters with same name are now allowed, name clashes are resolved by adding (1), (2) etc. to the names.
Fixes to error reporting from Lua, now the error messages are more concise, and instead of exploding with an error message box, the script is just marked as "not loaded" and the actual error as its description.

Originally committed to SVN as r936.
2007-02-14 00:43:01 +00:00
Rodrigo Braz Monteiro ccdd960982 Fixed writing of styles
Originally committed to SVN as r935.
2007-02-10 23:56:10 +00:00
pomyk 8d837d6a90 Ruby: key_frames function, improvements in scripts
Originally committed to SVN as r934.
2007-02-08 18:29:50 +00:00
pomyk 99cc856076 Ruby: better error reporting (full backtrace)
Originally committed to SVN as r933.
2007-02-08 13:17:29 +00:00
pomyk f3535cdf41 Ruby: using symbols for hash keys
Originally committed to SVN as r931.
2007-02-07 18:52:23 +00:00
Rodrigo Braz Monteiro 63ad2baf5d Fixed event handling in styles manager.
Originally committed to SVN as r930.
2007-02-07 16:39:05 +00:00
Rodrigo Braz Monteiro dc803725bf Made Ruby automatically include the libraries it needs, and stdwx.h declare WIN32_LEAN_AND_MEAN (which also required a new header inclusion on audio_player_dsoun.h)
Originally committed to SVN as r929.
2007-02-07 00:12:15 +00:00
pomyk 507de4c4cd Ruby: some fixes, optimizations, support for selecting lines on grid...
Originally committed to SVN as r928.
2007-02-06 22:58:05 +00:00
Dan Donovan 317fba2e1e Trim raw data from left before parsing a style, else the mid(6) to get rid of "style:" can fail, usually leaving the :
Originally committed to SVN as r927.
2007-02-06 22:35:15 +00:00
Niels Martin Hansen 6dcb5ff4a8 Runtime errors in auto3 scripts no longer kill the program but are reported properly instead.
Apparently Lua 5.1 has changed the semantics of table.insert so it's incompatible with the way used in all Auto3 demo scripts etc. Now it's overridden in utils.auto3 and all instances of it in sample scripts etc. replaced with code having the expected behaviour.

Originally committed to SVN as r926.
2007-02-06 12:30:17 +00:00
Dan Donovan caea5872b4 Added copy+paste to style manager, ctrl+c/v only (so far, anyway)
Originally committed to SVN as r925.
2007-02-06 03:25:14 +00:00
Dan Donovan 56c7891baf Added keyboard shortcuts escape and delete to style manager
Originally committed to SVN as r924.
2007-02-05 19:09:45 +00:00
pomyk 008d60ba65 bug in line reading
Originally committed to SVN as r923.
2007-02-04 23:46:10 +00:00
pomyk 505e09257e Ruby: configuration dialogs
Originally committed to SVN as r922.
2007-02-03 20:31:20 +00:00
pomyk 2f52b36910 Ruby: scripts run in a separate thread
Originally committed to SVN as r921.
2007-02-02 19:40:50 +00:00