Commit graph

371 commits

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