Commit Graph

139 Commits

Author SHA1 Message Date
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
Niels Martin Hansen cf0a685b1f Final part of the "core" auto4 docs written.
Originally committed to SVN as r251.
2006-03-27 21:22:28 +00:00
Niels Martin Hansen 99c38fefb0 More auto4 docs work.
Originally committed to SVN as r249.
2006-03-26 13:00:17 +00:00
Niels Martin Hansen d45fb68058 Originally committed to SVN as r239. 2006-03-22 21:57:03 +00:00
Niels Martin Hansen ef057630d7 Cleanup of colorpicker code in progress, still incomplete.
More work on Automation 4.

Originally committed to SVN as r237.
2006-03-22 16:07:49 +00:00
Niels Martin Hansen 38dd8e0fb5 More updates to auto4 docs.
Originally committed to SVN as r219.
2006-03-12 21:43:11 +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
Rodrigo Braz Monteiro a8f7fb667b Originally committed to SVN as r2. 2006-01-16 21:02:54 +00:00