Commit Graph

88 Commits

Author SHA1 Message Date
TRAMBO 4776ca9dd1
Fix errors when automation scripts being loaded and os.execute not working (#156)
* fix errors when automation scripts being loaded and os.execute not working

* Update unicode-monkeypatch.lua
2022-06-08 08:36:49 -07:00
Ryan 8394f1adca Monkeypatch script fixes 2021-03-27 12:34:18 -04:00
Ryan e929e4a75c meson: copy monkeypatch script 2021-03-27 12:34:18 -04:00
Ryan Lucia b7f6ac42e4 Add lua monkeypatch for Unicode support on Windows 2021-03-27 12:34:18 -04:00
Ryan f5122a3927 meson: copy automation files to build directory
This enables running Moonscript on Windows builds without relying on system files
2021-03-27 09:30:21 -04:00
wangqr 42552e5efb Correctly handle memory free using Lua GC
Instead of manually free. Otherwise return value of `search' may refer to invalid memory.
Fix Aegisub/Aegisub#99
2019-09-22 19:12:23 -04:00
Ryan Lucia 3c5b61429a Update moonscript version
Current version is from
491f2352a2
2018-03-03 12:46:20 -08:00
Thomas Goyne 8cd970eb53 Update moonscript to 0.3.1 2015-05-09 10:54:34 -07:00
Niels Martin Hansen 0f3bca016e Fix bug introduced in 15d26dd 2015-01-23 19:28:40 +01:00
Thomas Goyne 6d74f22e92 Fix the legacy clipboard include 2014-12-25 21:09:06 -08:00
Thomas Goyne 15d26dd86f Slightly speed up karaskel.collect_head 2014-12-24 15:10:12 -08:00
Thomas Goyne 1fd44ea8da Add subtitles.script_resolution()
Returns the values from the headers if they're present, or does the
insane Gabest-logic if one or both are missing.
2014-12-24 15:10:12 -08:00
Thomas Goyne 57d66be785 Fix skipping trailing empty segments in re.split 2014-09-20 08:13:49 -07:00
Thomas Goyne 5b47758539 Convert the clipboard module to the ffi 2014-07-28 15:52:37 -07:00
Thomas Goyne e3c60514cd Add lua argument checker 2014-07-28 12:30:45 -07:00
Thomas Goyne 74a215f642 Convert the re module over to the LuaJIT ffi 2014-07-28 12:30:44 -07:00
Thomas Goyne 0cf35894e1 Convert the lfs module to using the ffi 2014-07-28 12:30:44 -07:00
Thomas Goyne 4f08afd808 Convert the unicode lua module over to using the ffi 2014-07-28 12:30:44 -07:00
Thomas Goyne 365c04333c Install the unicode-compatible Lua module loader before loading moonscript
Closes #1760.
2014-07-07 09:23:36 -07:00
Thomas Goyne 94a060a556 Add unicode case conversion functions to the automation module 2014-05-09 07:00:48 -07:00
Thomas Goyne a5a6d5da86 Restore the BOM-skipping logic to the Lua script reader
And add BOM to one of the test files to verify it works.
2014-04-28 10:21:54 -07:00
Thomas Goyne b8af29da0d Move some of the automation machinery to libaegisub 2014-04-25 15:03:18 -07:00
Thomas Goyne 33a4a056a4 Move everything up a level since the root dir no longer has stuff 2014-03-11 12:14:57 -07:00
Amar Takhar 91d73ec8ea SVN Transition Step 3/7
1. cd aegisub/
  2. svn mv *cpp *h src/
  3. svn mv Makefile.am MatroskaParser.c auto4_perldata.inc bitmaps boost \
     changelog.txt config gl include libosxutil libresrc md5.c msvc mythes.cxx \
     mythes.hxx res.rc src/
  4. cd ..
  5. svn mv FFmpegSource2/ INSTALL Makefile.am README  acinclude.m4 \
     autogen.sh automation/ bin build configure.in desktop dummy.txt lib \
     libass/ m4macros/ packages/ po/ scripts/ universalchardet/ aegisub/
  6. mkdir -p docs/wiki_convert
  7. svn add docs/wiki_convert
  8. cd docs
  9. svn mv aegisub_convert_docs.pl convert.bat output wiki_convert/

* See r2749 for full description.

Originally committed to SVN as r2752.
2009-03-08 08:30:39 +00:00
Niels Martin Hansen 9e69b413dd Updated cleantags script from ai-chan.
Originally committed to SVN as r2748.
2009-02-28 17:52:06 +00:00
Niels Martin Hansen a4abc2e3de Move some Automation demos to autoload to match the Windows installation layout.
Remove two unused readme.txt files.

Originally committed to SVN as r2634.
2009-01-04 09:24:56 +00:00
Niels Martin Hansen 9f898ef5c2 Fix bug with # as first syllable on line, I think.
Originally committed to SVN as r1862.
2008-02-19 18:14:57 +00:00
shb b2518f9ca1 New and reorganized perl sources. Autotools patched accordingly. Win build must be fixed.
Originally committed to SVN as r1827.
2008-01-24 17:20:47 +00:00
Niels Martin Hansen 15ce07e803 Fix inline-fx parsing in karaskel and handling in kara-templater. (Fixes #577)
Originally committed to SVN as r1783.
2008-01-19 23:53:29 +00:00
Karl Blomster 7ffc21cc7e FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF Aegisub.pm
Originally committed to SVN as r1761.
2008-01-18 03:22:31 +00:00
Karl Blomster 7a6f2973c5 moved perl-console.pl to /trunk/automation/demos instead
Originally committed to SVN as r1759.
2008-01-18 03:05:45 +00:00
Karl Blomster 09924e9716 Added auto4perl includes and (highly incomplete) API docs
Originally committed to SVN as r1758.
2008-01-18 01:46:12 +00:00
Karl Blomster f4c2ffac54 Minor tweaks to Auto4Utils.pm
Originally committed to SVN as r1750.
2008-01-17 15:48:52 +00:00
Karl Blomster f2b6d17eb3 Adding Perl conversions of utils.lua. Requires discussion of what symbols should be exported by default; for now it exports the ones I think are interesting.
Originally committed to SVN as r1749.
2008-01-17 05:34:16 +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 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 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