Commit graph

442 commits

Author SHA1 Message Date
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