Commit graph

111 commits

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