Commit graph

1429 commits

Author SHA1 Message Date
Niels Martin Hansen
a460743682 Implement raster.pixel_value_map function using expression evaluator. Seems to work correct.
Originally committed to SVN as r1507.
2007-08-17 23:56:20 +00:00
Niels Martin Hansen
3b5e953c70 Expression evaluator implemented and compiles... probably doesn't work
Originally committed to SVN as r1506.
2007-08-17 23:26:36 +00:00
Niels Martin Hansen
6cc27087dc Fix colour picker mode remembering.
Originally committed to SVN as r1505.
2007-08-17 17:03:16 +00:00
Niels Martin Hansen
39dab0d324 Draft for expression evaluator machine specification, and a minor update to the readme.
Originally committed to SVN as r1504.
2007-08-17 16:24:12 +00:00
Niels Martin Hansen
f3e8817487 Added some 'volatile' that should probably have been there all along
Originally committed to SVN as r1503.
2007-08-17 14:10:49 +00:00
Niels Martin Hansen
35ea03c2ab Forgot one instance of WITH_AUTO3. Now fully killed. (Auto4 Lua no longer depends on Auto3 under any circumstances.)
Originally committed to SVN as r1502.
2007-08-17 02:34:29 +00:00
Niels Martin Hansen
9a85ba7b82 No longer allow loading Auto3 scripts with .lua extension.
Originally committed to SVN as r1501.
2007-08-17 02:16:41 +00:00
Niels Martin Hansen
2124c58daf Add a little more error reporting to audio loading, also catch unspecified exceptions now. Additionally make sure to null out some pointers that might be delete'd during exception handling. (Also, GET.)
Originally committed to SVN as r1500.
2007-08-16 23:17:54 +00:00
Niels Martin Hansen
720ee8c309 Add some better error catching+reporting in audio loading/unloading. (Don't just crash.)
Originally committed to SVN as r1499.
2007-08-16 22:45:29 +00:00
Niels Martin Hansen
6bb162523b Oops, forgot a comma and broke the build.
Originally committed to SVN as r1498.
2007-08-16 19:25:17 +00:00
Niels Martin Hansen
3b75d9e7af Added list of enum->string mappings
Originally committed to SVN as r1497.
2007-08-16 18:13:07 +00:00
Niels Martin Hansen
0d4b0e5419 Another small sample, showing how to achieve some basic effects.
Originally committed to SVN as r1496.
2007-08-16 17:44:26 +00:00
Niels Martin Hansen
a7e05ff1c8 Semi-workaround for wrong text_extents on non-Windows. Better but still not perfect calculation.
Originally committed to SVN as r1495.
2007-08-16 16:02:52 +00:00
Niels Martin Hansen
0c7e929f13 Fix tab order issues in various dialogues - bug #518. Still a couple left with more serious issues. (Export, style editor, translation assistant, fonts collector, kanji timer, more I'm forgetting.)
Originally committed to SVN as r1494.
2007-08-15 23:17:42 +00:00
Niels Martin Hansen
762aa6287f Prevent audio display from continually stealing focus when navigating subtitle lines and karaoke mode is enabled. This should fix #425.
Originally committed to SVN as r1493.
2007-08-15 22:33:38 +00:00
Niels Martin Hansen
f9bfa1fc43 Workaround to #503 - UI no longer semi-freezes (becomes almost completely unresponsive to input) when karaoke mode is enabled and a blank line is selected. The workaround is to simply make sure that blank lines never happen, by turning them into one empty syllable instead.
Originally committed to SVN as r1492.
2007-08-15 20:41:57 +00:00
Niels Martin Hansen
aff3548407 Should fix #521 - no more "can not wait for thread termination" / "couldn't terminate thread" errors.
Originally committed to SVN as r1491.
2007-08-15 19:40:41 +00:00
Niels Martin Hansen
4ddc7d5820 I can has radial blur! *wheeee*
Originally committed to SVN as r1490.
2007-08-15 01:08:31 +00:00
Niels Martin Hansen
e99d9800c0 Add directional blur
Originally committed to SVN as r1489.
2007-08-15 00:20:11 +00:00
Niels Martin Hansen
8dee40348d Added HSL_to_RGB function
Originally committed to SVN as r1488.
2007-08-14 21:36:43 +00:00
Niels Martin Hansen
d130169ed2 Rename video_frame.h to image.h, various cleanup, and add functions to handle edge conditions.
Originally committed to SVN as r1487.
2007-08-14 01:08:00 +00:00
Niels Martin Hansen
6b72db3b80 Everything seems to work again now
Originally committed to SVN as r1486.
2007-08-14 00:45:09 +00:00
Niels Martin Hansen
2699972427 Reworking of video frame interface, into more general RGB(A) image interface
Originally committed to SVN as r1485.
2007-08-14 00:20:59 +00:00
Niels Martin Hansen
43149f9276 So apparently it's called "c"airo and not "C"airo...
Originally committed to SVN as r1484.
2007-08-13 19:06:07 +00:00
Niels Martin Hansen
17f235515e Add raster.separable_filter function.
Originally committed to SVN as r1483.
2007-08-13 14:56:02 +00:00
Niels Martin Hansen
dad6f7755b Better parameter checking for frame.overlay_cairo_surface and adding a more useful sample script.
Originally committed to SVN as r1482.
2007-08-13 02:01:54 +00:00
Niels Martin Hansen
7e8fcbdc8f Some cleanup in rasterops code and added colour inversion function.
Fixed ugly bugs in Cairo surface composition onto video frame.

Originally committed to SVN as r1481.
2007-08-13 01:06:27 +00:00
Niels Martin Hansen
c68a782820 Fix really stupid parameter-related bug in box blur, and update documentation.
Originally committed to SVN as r1480.
2007-08-12 23:21:45 +00:00
Niels Martin Hansen
c55dea23aa Replace the few fixed width box blurs with a single variable width one.
Originally committed to SVN as r1479.
2007-08-12 23:19:43 +00:00
Niels Martin Hansen
da8c8abc7d General cleaning up.
Make LuaCairoMatrix be non-broken (hopefully - neither tested that it was in fact broken nor that new code unbreaks it :D!)
Work on LuaCairoPath to make it script-buildable, and implement map and fold methods.

Originally committed to SVN as r1478.
2007-08-12 23:14:45 +00:00
Niels Martin Hansen
06452148d2 Added VFR support. (Untested, as usual.)
Originally committed to SVN as r1477.
2007-08-11 22:06:01 +00:00
Niels Martin Hansen
0a584a7cd4 Support a free-form string argument passed from Avisynth to the Lua script.
Originally committed to SVN as r1476.
2007-08-11 20:40:37 +00:00
Niels Martin Hansen
0211960d8e Another project for the Aegisub repository...
Originally committed to SVN as r1475.
2007-08-11 19:59:48 +00:00
Dan Donovan
98e837da5c (SSATool) add a missing resx file
Originally committed to SVN as r1474.
2007-08-11 17:29:19 +00:00
Rodrigo Braz Monteiro
b773706f6d Some fixes for ffmpeg linking (I have no idea how it worked before)
Originally committed to SVN as r1473.
2007-08-07 22:10:44 +00:00
Rodrigo Braz Monteiro
2c60df7b53 Some fixes for SVN wx compatibility (that doesn't work, anyway)
Originally committed to SVN as r1472.
2007-08-07 20:45:41 +00:00
Fredrik Mellbin
acc6e13022 FFmpegSource 1.7
Originally committed to SVN as r1471.
2007-08-06 15:49:57 +00:00
Niels Martin Hansen
4e48317803 Intermediate implementation of #498 - karaoke template syntax highlighting. Only !! blocks and $variables are highlighted right now, and no actual Lua specific highlighting is done.
Originally committed to SVN as r1470.
2007-08-06 14:29:43 +00:00
Rodrigo Braz Monteiro
53a95b3af2 Issue #386 - Fixed setting of hotkeys to enter.
Originally committed to SVN as r1469.
2007-08-04 09:23:21 +00:00
Niels Martin Hansen
9b282c8893 Scrapped tag-parsing functions from Auto4 Lua subtitle-file interface specs.
Originally committed to SVN as r1468.
2007-08-03 20:50:24 +00:00
Rodrigo Braz Monteiro
d162cb440a Issue #516 - Resample dialog no longer affects karaoke templater lines.
Originally committed to SVN as r1467.
2007-08-03 17:32:23 +00:00
Rodrigo Braz Monteiro
17c1a5801f Issue #514 - Fixed crash with vector clip. Also fixed a minor bug that caused visual typesetting to flag the script as modified even if nothing changed.
Originally committed to SVN as r1466.
2007-08-03 17:22:06 +00:00
Niels Martin Hansen
f556478902 Also accept SSA "Karaoke" effect field for timed karaoke source in kara-templater
Originally committed to SVN as r1465.
2007-08-03 01:46:33 +00:00
Fredrik Mellbin
400266c383 FFmpegSource 1.6
Originally committed to SVN as r1464.
2007-07-30 11:04:10 +00:00
Rodrigo Braz Monteiro
1d6f2f90c6 Issue #446 - Fixed some crashing while trying to play video without audio loaded, on posix
Originally committed to SVN as r1463.
2007-07-30 04:05:45 +00:00
Rodrigo Braz Monteiro
1e1f7b411b Fonts collector now seems to work on Linux, and presumably on other posix systems.
Originally committed to SVN as r1462.
2007-07-30 00:56:54 +00:00
Rodrigo Braz Monteiro
0ccf9cb111 Small fix to font attaching to file.
Originally committed to SVN as r1461.
2007-07-30 00:25:26 +00:00
Niels Martin Hansen
0718cf5a2c Hack: Use a single-play (non-looping) buffer for very short samples that fit entirely in the buffer for DSound playback. This avoids unwanted repeating of very short samples, but also makes it impossible to extend these selections to continue playback.
Fixing the real problem could prove to be very hard or even impossible, as it seems to be a problem of timing and possibly even related to the time slices allocated by the OS. As a buffer size in the DSound player is fixed at 150 ms the side-effect of this hack hopefully won't be a real problem.

Originally committed to SVN as r1460.
2007-07-29 21:00:57 +00:00
Fredrik Mellbin
c62c674975 FFmpegSource 1.5
Originally committed to SVN as r1459.
2007-07-29 20:49:50 +00:00
Rodrigo Braz Monteiro
8d69e930f6 Issue #394 - Fixed conflicting names in style storage.
Originally committed to SVN as r1458.
2007-07-29 09:45:11 +00:00