Niels Martin Hansen
44a414e893
New karaoke timing helper script to automatically add lead-in timing to lines, such that they join up.
...
Originally committed to SVN as r1656.
2007-12-16 18:46:47 +00:00
Niels Martin Hansen
d7f962e2e9
tenv.basesyl was set incorrectly
...
Originally committed to SVN as r1655.
2007-11-23 23:43:13 +00:00
Niels Martin Hansen
afe0996608
More debug trace prints in kara-templater, especially for debugging code lines.
...
Originally committed to SVN as r1649.
2007-11-06 19:53:20 +00:00
Niels Martin Hansen
ccca10564c
Missing linebreak in debug trace message
...
Originally committed to SVN as r1647.
2007-11-01 21:17:50 +00:00
Niels Martin Hansen
304e4d080b
Bugfix: Used wrong name for aegisub.debug.out function in several places.
...
Addition: Also allow 'noblank' modifier for code lines.
Originally committed to SVN as r1599.
2007-10-08 15:22:00 +00:00
Niels Martin Hansen
10570fc54f
Report a different version number because I'm lazy
...
Originally committed to SVN as r1597.
2007-10-06 00:43:12 +00:00
Niels Martin Hansen
c9e26c0cf3
Bugfix: Anonymous line templates that did not have any additional template modifiers were treated as named line templates whose name was the empty string, causing such templates to be chained as one long line template.
...
Originally committed to SVN as r1595.
2007-10-04 23:30:52 +00:00
Niels Martin Hansen
774bd37839
Rename some auto3 scripts.
...
Originally committed to SVN as r1566.
2007-09-21 00:22:45 +00:00
Niels Martin Hansen
51616fea0b
Add tenv.maxj (upper loop bound)
...
Originally committed to SVN as r1564.
2007-09-19 21:58:25 +00:00
Niels Martin Hansen
a68fb2671a
Rename cleantags macro/filter wrapper script.
...
Originally committed to SVN as r1562.
2007-09-17 11:04:22 +00:00
Niels Martin Hansen
a3a3a29437
ai-chan's cleantags version 1.150
...
Originally committed to SVN as r1561.
2007-09-17 11:03:20 +00:00
Niels Martin Hansen
a5e800bccf
Fix a bug in mid-aligned line positioning
...
Originally committed to SVN as r1558.
2007-09-10 21:39:08 +00:00
Niels Martin Hansen
3c58dea73c
Adding ai-chan's tag cleaning script.
...
Originally committed to SVN as r1557.
2007-09-10 21:20:09 +00:00
Niels Martin Hansen
fda44c93a5
Add looping support for line templates. Produce multiple whole lines here, instead of multiple copies of each syllable one after another on the same line.
...
Originally committed to SVN as r1553.
2007-09-03 13:39:03 +00:00
Niels Martin Hansen
62ded21ece
Recalculate line.duration in retime() and add "line" as a mode.
...
Originally committed to SVN as r1552.
2007-09-03 13:28:40 +00:00
Niels Martin Hansen
4f689ac204
Apparently forgot to add 'meta' to tenv.
...
Originally committed to SVN as r1534.
2007-08-25 12:57:00 +00:00
Niels Martin Hansen
154e2840fb
'keeptags' modifier didn't do anything for non-'line' templates.
...
Originally committed to SVN as r1525.
2007-08-22 07:18:42 +00:00
Niels Martin Hansen
47e687900e
Missed a backslash in a string, thanks Gundamn.
...
Originally committed to SVN as r1509.
2007-08-18 00:03:33 +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
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
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
Niels Martin Hansen
5785cd191e
Some debug.out calls in furigana layout code were missing trace level.
...
Originally committed to SVN as r1450.
2007-07-28 21:43:35 +00:00
Niels Martin Hansen
fefa76b22c
Add missing field for furigana tables.
...
Originally committed to SVN as r1431.
2007-07-18 00:42:32 +00:00
Niels Martin Hansen
8ffaf7cfa0
Missed something crucial from Classic Advanced skeleton
...
Originally committed to SVN as r1430.
2007-07-17 23:37:42 +00:00
Niels Martin Hansen
a5fdb048a4
New karaoke skeleton, in the style of (but not compatible with) Auto3 karaskel-adv; untested as usual
...
Originally committed to SVN as r1429.
2007-07-17 23:09:09 +00:00
Niels Martin Hansen
42f47ed7eb
Minor fixes to Lua includes.
...
Originally committed to SVN as r1428.
2007-07-17 22:25:56 +00:00
Niels Martin Hansen
9eb5ab4e25
Can now set the grid selected from a Lua macro. Should still work in Ruby too but can't test that. Don't blame me if it breaks.
...
Originally committed to SVN as r1384.
2007-07-06 14:26:04 +00:00
Niels Martin Hansen
b9e7754b17
Add a missing trace level to debug output.
...
Originally committed to SVN as r1340.
2007-07-03 18:25:30 +00:00
Niels Martin Hansen
907221c940
Added spec for step in floatedit controls in Lua config dialogs and intedit spin controls seem to work properly now.
...
Originally committed to SVN as r1307.
2007-06-28 19:11:41 +00:00
Niels Martin Hansen
fa131dc769
Always generate furigana styles when kara-templater is used, hope it won't be ill received.
...
Originally committed to SVN as r1250.
2007-06-18 14:26:48 +00:00
Niels Martin Hansen
fc3a4938e1
Make sure tenv.line is well defined also when running code lines. (For code lines, tenv.line == tenv.orgline.)
...
Originally committed to SVN as r1249.
2007-06-18 14:03:22 +00:00
Niels Martin Hansen
a214b69cac
Introducing fxgroup modifier
...
Originally committed to SVN as r1248.
2007-06-18 13:49:17 +00:00
Niels Martin Hansen
520f380fbc
More sensible operation for empty "line" templates.
...
Originally committed to SVN as r1242.
2007-06-17 23:52:35 +00:00
Niels Martin Hansen
f3c9b2ca79
run_template_code and run_code_template is not the same thing...
...
Originally committed to SVN as r1238.
2007-06-17 20:42:42 +00:00
Niels Martin Hansen
a678ca82fe
Misc. enhancements and bugfixes to kara-templater.
...
Originally committed to SVN as r1234.
2007-06-17 12:01:36 +00:00
Niels Martin Hansen
9bb7b61007
Add "absurdness" benchmark-generator
...
Originally committed to SVN as r1229.
2007-06-17 01:58:00 +00:00
Niels Martin Hansen
354f96c081
kara-templater retime() function implemented, tested and working :)
...
Originally committed to SVN as r1226.
2007-06-16 21:57:14 +00:00
Niels Martin Hansen
40525074e3
Fixes to make kara-templater actually work... oops.
...
Originally committed to SVN as r1221.
2007-06-15 23:20:45 +00:00
Niels Martin Hansen
9b00ecf2ed
Kara-templater seems to be feature-complete by current specs, but it'll need lots and lots of testing!
...
Originally committed to SVN as r1220.
2007-06-15 21:42:03 +00:00
Niels Martin Hansen
59aad1f044
Added a bit to the template environment so all globals can now be called. (tenv._G refers to the regular global environment, so it's not safe from mangling, but that shouldn't matter either way. It allows much more freedom in writing templates.)
...
Originally committed to SVN as r1200.
2007-05-30 10:54:35 +00:00
Niels Martin Hansen
fab2bde15c
Fix syllable spacing issue (regression, I think)
...
Originally committed to SVN as r1196.
2007-05-22 22:03:17 +00:00
Niels Martin Hansen
5d81aa760a
Added a proper "interface" to tell furigana pseudo-syllables from actual syllables.
...
Originally committed to SVN as r1195.
2007-05-22 20:55:55 +00:00
Niels Martin Hansen
3090aaafad
Make furigana have (almost?) the same interface as syllables so the same code should be able to operate on either.
...
Originally committed to SVN as r1187.
2007-05-15 23:02:20 +00:00
Niels Martin Hansen
4aac1658ba
Removed now superseded precalc code and made it call the new code instead.
...
Originally committed to SVN as r1186.
2007-05-15 22:49:28 +00:00
Niels Martin Hansen
75548ec7cc
Full workiness added to furigana code. At least it passes my tests.
...
Originally committed to SVN as r1184.
2007-05-14 22:47:41 +00:00
Niels Martin Hansen
e2f62caf7b
And furigana seems to work, haven't tested flags however
...
Originally committed to SVN as r1183.
2007-05-14 21:36:00 +00:00
Niels Martin Hansen
6b55bf750c
Renamed Auto4/Lua test cases to more informative filenames
...
Originally committed to SVN as r1182.
2007-05-14 21:18:11 +00:00
Niels Martin Hansen
02c18a3380
Somewhat working furigana layouting
...
Originally committed to SVN as r1181.
2007-05-14 20:45:42 +00:00
Niels Martin Hansen
9ae7be4443
Seemingly working furigana/multi-hl parsing and some untested inline-fx parsing. Still no furigana layouting, and the parsing isn't integrated yet.
...
Originally committed to SVN as r1180.
2007-05-14 15:33:17 +00:00
Niels Martin Hansen
2c8c6977d5
Fix stupid bug in colour interpolation functions
...
Originally committed to SVN as r1179.
2007-05-13 14:08:10 +00:00
Niels Martin Hansen
5b9a374f6e
Fixes to make karaskel actually work again, and added some real skeleton code (fx_library)
...
Originally committed to SVN as r1176.
2007-05-12 14:37:31 +00:00
Niels Martin Hansen
c9a79bcf2f
Some extra colour handling code for Auto3, ported from Auto4/Lua.
...
Originally committed to SVN as r1172.
2007-05-08 13:30:24 +00:00
Niels Martin Hansen
7f8d1a5a81
Well look. Automation 3 works now!
...
Originally committed to SVN as r1165.
2007-05-07 13:38:12 +00:00
Niels Martin Hansen
81b8660348
Fix for styles table in auto3, broken karaoke-splitter...
...
Originally committed to SVN as r1163.
2007-05-04 01:43:00 +00:00
Niels Martin Hansen
73288ed43f
Fixed some Lua 5.0/5.1 compatibility problems in includes
...
Originally committed to SVN as r1161.
2007-05-03 18:22:11 +00:00
Niels Martin Hansen
480e7706a1
Incomplete, but parser-passing, changes to Lua karaskel
...
Originally committed to SVN as r1160.
2007-05-03 18:13:42 +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
1b0201995f
Forgot a makefile... and removed redundant stuff from main Makefile.am.
...
Originally committed to SVN as r1137.
2007-04-25 02:18:55 +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
f41e701422
Minor updates to kara-templater. (Also removed now-empty auto3/factorybrew/ dir.)
...
Originally committed to SVN as r1131.
2007-04-25 01:55:15 +00:00
Niels Martin Hansen
2069b993bc
Moving around a couple of auto3 scripts to get rid of unneeded subdirs.
...
Originally committed to SVN as r1130.
2007-04-25 01:53:34 +00:00
Niels Martin Hansen
0fa8464d62
Made colour format conversion functions in utils.lua actually usable and added some sanity checking
...
Originally committed to SVN as r1087.
2007-04-17 21:49:21 +00:00
Niels Martin Hansen
b91f8f29ae
Add some more colour handling code, including interpolation functions
...
Originally committed to SVN as r1062.
2007-04-12 19:05:45 +00:00
Niels Martin Hansen
55db15f9d9
Fixed kara templater so basic syl templating works (same as old multi-template)
...
Originally committed to SVN as r1010.
2007-04-04 22:13:57 +00:00
Niels Martin Hansen
06d5929bea
Semi-complete kara-templater implementation, regular syl and line handling should be in place now (untested though)
...
Originally committed to SVN as r1007.
2007-04-04 20:33:37 +00:00
Niels Martin Hansen
e35bb8e745
More useful positioning fields for lines in karaskel
...
Originally committed to SVN as r1003.
2007-04-04 15:07:07 +00:00
Niels Martin Hansen
16ac9e6e21
More bugfix to future windy blur
...
Originally committed to SVN as r986.
2007-04-03 18:28:28 +00:00
Niels Martin Hansen
807ba68ef0
Bugfix to future windy blur.
...
Added note/license to raytracer.
Originally committed to SVN as r985.
2007-04-03 18:19:43 +00:00
Niels Martin Hansen
a2f6d60655
Useful auto4/lua karaoke sample
...
Originally committed to SVN as r984.
2007-04-03 17:55:23 +00:00
Niels Martin Hansen
0fa69e80e0
Mostly working raytracer, still missing a few details to be fully usable though
...
Originally committed to SVN as r971.
2007-04-01 16:42:08 +00:00
Niels Martin Hansen
fbe1aa65d2
More work on kara templater, misc. additions to Lua includes
...
Originally committed to SVN as r970.
2007-04-01 12:22:30 +00:00
pomyk
fab3dd81a1
updated ruby scripts
...
Originally committed to SVN as r946.
2007-03-10 20:33:49 +00:00
Niels Martin Hansen
ef403060f8
Template parsing seems to be done
...
Originally committed to SVN as r945.
2007-03-09 01:58:39 +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
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
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
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
538a825eff
some useless Ruby scripts
...
Originally committed to SVN as r932.
2007-02-07 21:07:03 +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
Niels Martin Hansen
6da6f1bc57
Fix stupid syntax errors
...
Originally committed to SVN as r920.
2007-02-02 01:01:12 +00:00
Niels Martin Hansen
1dff6b2139
Auto4: Added aegisub.log as synonym for aegisub.debug.out
...
Originally committed to SVN as r836.
2007-01-18 20:55:40 +00:00
Niels Martin Hansen
bbfb0e94d0
Auto4: Added trace level and format string support to aegisub.debug.out function
...
Originally committed to SVN as r835.
2007-01-18 20:47:56 +00:00
Niels Martin Hansen
a2c8d7922e
Auto3 engine for auto4 seems to work now
...
Originally committed to SVN as r833.
2007-01-18 08:15:02 +00:00
Niels Martin Hansen
27a9927cf2
Testcase for text_extents function
...
Originally committed to SVN as r824.
2007-01-17 09:20:17 +00:00
Niels Martin Hansen
283bb7f48d
#155
...
Originally committed to SVN as r755.
2007-01-10 03:59:57 +00:00
Niels Martin Hansen
4384dbe2c4
Beginnings of auto4-lua karaskel - untested!
...
Originally committed to SVN as r715.
2007-01-05 14:53:21 +00:00
Niels Martin Hansen
d93ccab44d
Some basic UTF-8 support functions for Lua
...
Originally committed to SVN as r710.
2007-01-04 05:04:29 +00:00
Niels Martin Hansen
8b014f41ca
Fix for building on wx 2.6
...
Originally committed to SVN as r700.
2007-01-03 21:51:09 +00:00
Niels Martin Hansen
576f43249a
CHANGED AUTO4 API: Removed the option for selecting which menu to put a macro in, since it wasn't used.
...
Originally committed to SVN as r691.
2007-01-03 04:31:17 +00:00
Niels Martin Hansen
5799e791af
Forgot an include file...
...
Originally committed to SVN as r651.
2006-12-28 23:25:15 +00:00
Niels Martin Hansen
ef6ef4c603
More auto4 files...
...
Originally committed to SVN as r645.
2006-12-28 21:19:59 +00:00
Niels Martin Hansen
b39451823e
Continuing auto3 removal/auto4 merge
...
Originally committed to SVN as r644.
2006-12-28 21:18:35 +00:00
Niels Martin Hansen
d3a4f9d1c1
More Automation docs updates.
...
Clarification of the xor function in utils.lua.
Originally committed to SVN as r511.
2006-07-30 21:51:17 +00:00
Niels Martin Hansen
d6a641b5c2
No longer process syllable zero in factorybrews.
...
Originally committed to SVN as r506.
2006-07-19 20:43:19 +00:00
Niels Martin Hansen
8d5776b7ea
Automation scripts updated, mainly heavy commenting on the demo scripts. Updated readme files for script directories.
...
Removed some old code from the colorpicker.
Originally committed to SVN as r484.
2006-07-10 22:07:24 +00:00
Niels Martin Hansen
2344a5c096
Factorybrews had been broken for too long.
...
Originally committed to SVN as r399.
2006-05-22 12:18:21 +00:00
Niels Martin Hansen
3b224722a4
Multi-template factorybrew
...
Originally committed to SVN as r386.
2006-05-14 15:35:37 +00:00
Niels Martin Hansen
ca9523af18
Initial work on auto4 implementation.
...
Originally committed to SVN as r345.
2006-04-16 04:05:16 +00:00
Niels Martin Hansen
d920efa33d
Originally committed to SVN as r287.
2006-04-02 00:01:35 +00:00