Commit Graph

51 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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 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
pomyk 8d837d6a90 Ruby: key_frames function, improvements in scripts
Originally committed to SVN as r934.
2007-02-08 18:29:50 +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 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 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 5799e791af Forgot an include file...
Originally committed to SVN as r651.
2006-12-28 23:25:15 +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 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 d920efa33d Originally committed to SVN as r287. 2006-04-02 00:01:35 +00:00
Niels Martin Hansen 6ed6cfc289 Minor bugfixing in karaskel.
Added preliminary Automation 4 design docs.

Originally committed to SVN as r218.
2006-03-12 20:32:25 +00:00
Niels Martin Hansen f4ab9b2771 Added "auto-reload magic" to furigana demo.
Hopefully line widths are now calculated correctly in karaskel.
Spaces at start/end of syllables should be correctly handled (bug #2)

Originally committed to SVN as r153.
2006-02-24 21:35:36 +00:00
Niels Martin Hansen b5388c3bf9 Automation karaskel should now take kerning into account when calculating text positioning.
Furigana line-width calculation hopefully fixed (so centering should work.)

Originally committed to SVN as r138.
2006-02-23 23:26:32 +00:00
Niels Martin Hansen 49acbaa6e5 Fixed Automation script loading error messages (bug #1)
Fixed karaoke timing not being committed correctly (bug #7)
Changed some throw _T() into throw wxString()

Several architectural changes to Automation karaskel family.
Automation karaskel has Furigana, Inline-fx and Out-of-line-fx support added (still needs tweaking and bugfixing)

Originally committed to SVN as r131.
2006-02-23 21:56:46 +00:00
Niels Martin Hansen c6fb2bdf42 Fixed stupid possible bug in utils.lua. (Forgot a local keyword in copy_line.)
Finally wrote some documentation for karaskel.lua and karaskel-adv.lua.

Originally committed to SVN as r28.
2006-01-26 03:02:06 +00:00
Niels Martin Hansen 1b6aa55206 Changed the way debug-output is disabled in karaskel.lua.
Originally committed to SVN as r9.
2006-01-17 23:28:26 +00:00
Niels Martin Hansen e5df93eb51 From changelog.txt:
- Automation: Added xor(a,b) boolean logical function to utils.lua (jfs)
- Automation: Various changes to karaskel.lua and karaskel-adv.lua: (jfs)
   o Added some debug-calls (which are disable by default; aegisub.output_debug is replaced with a do-nothing function (you can change this in karaskel.lua)
   o The regular aegisub.output_debug is aliased to aegisub.output_warning, in order to always be able to show real warnings, in case something goes wrong
   o Fixed bug, triggered when a line had a style not defined in the subs. A warning is now shown instead.

Originally committed to SVN as r4.
2006-01-17 01:20:46 +00:00