sL1pKn07
079b341f98
Fix permissions on installed files. Closes #1669 .
2013-12-06 15:25:17 -08:00
Thomas Goyne
0e2cc0938f
Strongly bind global lua functions used in the standard modules
2013-10-22 08:55:04 -07:00
Thomas Goyne
cb3b72af36
Update to moonscript 0.2.4
2013-07-03 16:11:42 -07:00
Thomas Goyne
5dd982b742
Fix util.deep_copy
2013-05-04 17:05:42 -07:00
Thomas Goyne
c23c3682aa
Also set the moonpath for the automation tests
2013-05-04 06:26:14 -07:00
Thomas Goyne
d9cb5ae574
Update automation files to install
2013-05-03 20:00:55 -07:00
Thomas Goyne
19854e207a
Add native support for MoonScript
2013-05-03 17:57:32 -07:00
Thomas Goyne
34be32d570
Don't build the automation tests helper so by default
2013-05-02 18:07:05 -07:00
Thomas Goyne
1b96bf748f
Fix calls to other util functions from within util functions
2013-05-02 07:44:40 -07:00
Thomas Goyne
9bcc6efcc8
Export the string functions from utils-auto4.lua
2013-05-02 07:30:25 -07:00
Thomas Goyne
ffb8c29ca2
Set the maximum end time seen correctly in select-overlaps
2013-05-01 21:21:07 -07:00
Thomas Goyne
0216d9d5bd
Make utils.lua a proper module with a compat wrapper
2013-04-28 20:52:36 -07:00
Thomas Goyne
a40b1d0028
Make unicode.lua a proper module and add basic tests
...
Also drop support for >4 byte sequences as they were eliminated in RFC 3629.
2013-04-28 20:52:36 -07:00
Thomas Goyne
37e74b8274
Add a basic test harness for running Automation tests
2013-04-28 20:51:45 -07:00
Thomas Goyne
7232de2cdd
Move Aegisub modules to aegisub.(module) and add wrapper shims
2013-04-28 20:02:54 -07:00
Thomas Goyne
5a4b70b8b9
Don't create a global 'clipboard' object in the clipboard module
2013-04-21 18:02:03 -07:00
Thomas Goyne
71b14ecc74
Select the right things in the select overlaps macro. Closes #1594 .
2013-04-16 20:05:44 -07:00
Thomas Goyne
c556a47509
Replace wxRegex bindings for lua with boost::regex bindings
...
API is mostly unchanged other than the addition of a lot more flags.
Should be less buggy since it has an actual test suite, and generally
has a more powerful regex syntax with better support for Unicode.
The bindings are written in MoonScript. For now the compiled form is
store in the repo for convenince.
2013-04-16 20:05:43 -07:00
Thomas Goyne
c83fff12a9
Match HTML colors in a way that actually works in extract_color
...
Lua patterns don't have optional capture groups, so instead make the
contents of the capture groups optional.
Closes #1575 .
2013-02-12 17:09:04 -08:00
Thomas Goyne
e44c47c863
Remove $Id$ markers since git doesn't support them
2012-10-25 17:39:49 -07:00
Thomas Goyne
b44d53c227
Don't install the somewhat out-of-date automation design docs. Updates #1135 .
2012-10-08 14:01:05 -07:00
Thomas Goyne
16cd907fe7
Add a BOM to all of the lua files since they're no longer assumed to be UTF-8
...
Originally committed to SVN as r6962.
2012-08-19 20:43:39 -07:00
Thomas Goyne
f3a935c985
Install all of the automation scripts
...
Originally committed to SVN as r6938.
2012-07-22 23:56:49 +00:00
Thomas Goyne
bc74dfc33b
Update the video matrix tagging scheme
...
Write the color range and color space used to convert video to RGB to
the YCbCr Matrix field, or None if no non-RGB video was opened. See
http://code.google.com/p/xy-vsfilter/issues/detail?id=91 for related
discussion.
Originally committed to SVN as r6762.
2012-05-11 14:38:44 +00:00
Thomas Goyne
b7c1526c7d
Fix an underescaped translatable string
...
Originally committed to SVN as r6656.
2012-04-04 02:47:12 +00:00
Thomas Goyne
4d2623bc2a
Really fix crash when switching lines with the drag visual tool active
...
Originally committed to SVN as r6588.
2012-03-15 00:25:54 +00:00
Thomas Goyne
9f43f9f041
Rewrite the Clean Script Info export filter in lua
...
This makes it easy to make it a macro in addition to an export filter,
and simplifies the implementation.
Originally committed to SVN as r6586.
2012-03-12 23:35:56 +00:00
Thomas Goyne
f4c1fb441e
Mark the names and descriptions of included lua macros as translatable
...
Originally committed to SVN as r6584.
2012-03-12 23:35:37 +00:00
Thomas Goyne
c4daf860e5
Add a lua module for reading from/writing to the clipboard
...
Originally committed to SVN as r6501.
2012-02-22 20:47:34 +00:00
Thomas Goyne
5bf7342019
Add a Lua binding for wxRegEx
...
Lua's built in regular expression engine is rather limited in features
compared to wx's, and operates on bytes rather than characters due to
not being unicode-aware.
Originally committed to SVN as r6473.
2012-02-15 21:23:42 +00:00
Thomas Goyne
fcffb010b9
Fix check for \i?clip in cleantags. Updates #1450 .
...
Originally committed to SVN as r6452.
2012-02-07 01:23:00 +00:00
Thomas Goyne
3ed84ba70d
Update distdir generation
...
The list of files to include was out of date and only included files
for dependencies which were actually enabled, and the script was
FreeBSD-specific.
Originally committed to SVN as r6298.
2012-01-14 18:46:43 +00:00
Thomas Goyne
c4251bd181
Add DESTDIR support. Patch by Alucryd. Closes #1376 .
...
Originally committed to SVN as r6198.
2012-01-08 01:03:45 +00:00
Thomas Goyne
776c7e69a8
When appending lines from a lua script, always append the new line to the end of the appropriate section, creating the section if needed
...
Originally committed to SVN as r6077.
2011-12-22 21:21:29 +00:00
Niels Martin Hansen
23510dcac8
Merge kara-templater remember/recall functions from 2.1.9. Updates #1277 .
...
Originally committed to SVN as r5378.
2011-04-26 08:42:05 +00:00
Niels Martin Hansen
27839f92ac
Fix #1018 properly, make sure the colour values are brought into 0-255 range and rounded.
...
Originally committed to SVN as r5354.
2011-02-22 00:54:20 +00:00
Amar Takhar
5a635ebdb3
Merge r4855-4894 from the new_build_system branch. This still has rough spots and some of the dependency relations haven't been expressed but it works, and it's much better than what we had before as it kills off automake, libtool, gettext (package not library), intltool usage.
...
Originally committed to SVN as r4895.
2010-12-05 19:12:42 +00:00
Karl Blomster
49cdd10ffd
fix a bug in kara-templater.lua on behalf of jfs.
...
Originally committed to SVN as r4808.
2010-10-15 14:33:10 +00:00
Niels Martin Hansen
ce4babb192
Update table.copy_deep function to correctly handle self-referencing tables and tables with circular references. Doesn't handle tables with meta-tables overriding regular field get/set behaviour but that isn't intended either way. Also add a test of this.
...
Originally committed to SVN as r4645.
2010-06-30 00:36:25 +00:00
Thomas Goyne
ea100e9bff
Add simple automation macros to strip override tags and select overlapping lines. Closes #120 .
...
Originally committed to SVN as r4305.
2010-05-19 00:44:31 +00:00
Niels Martin Hansen
cb8cafadbd
Add video/script resolution correct factor to karaskel, updates #1139 .
...
Originally committed to SVN as r4087.
2010-02-05 17:31:18 +00:00
Niels Martin Hansen
8d5cde185d
Fix rare furigana layout issue. Updates #1144 .
...
Originally committed to SVN as r4079.
2010-02-05 12:51:20 +00:00
Niels Martin Hansen
d6b0cdcedf
Blind but most likely correct fix missing \iclip support in cleantags.lua. Updates #1044 .
...
Originally committed to SVN as r3772.
2009-11-13 22:13:58 +00:00
Amar Takhar
4cc6610161
Commit jfs' patch to fix rounding errors as he doesn't have trunk going at the moment. Closes #1018 .
...
Originally committed to SVN as r3622.
2009-10-05 22:46:28 +00:00
Niels Martin Hansen
075439f405
Fix bugs in kara-templater causing tenv.relayer and tenv.restyle functions to fail.
...
Closes #950 .
Originally committed to SVN as r3277.
2009-07-25 18:16:37 +00:00
Amar Takhar
c6145f0b63
I don't know why there were .pm files under data_general.. updates #840 and #938 .
...
Originally committed to SVN as r3208.
2009-07-23 01:45:11 +00:00
Niels Martin Hansen
31657f94da
The removal of Auto4 Ruby and Auto4 Perl code. Updates #665 and #938 .
...
Originally committed to SVN as r3205.
2009-07-23 01:39:57 +00:00
Amar Takhar
af5df13f00
Remove Auto4 Ruby from the (unix) build system, updates #665 and #938 .
...
Originally committed to SVN as r3204.
2009-07-23 01:23:35 +00:00
Amar Takhar
3403a5faea
Remove Auto4 PERL from the build system, updates #840 and #938 .
...
Originally committed to SVN as r3203.
2009-07-23 01:18:51 +00:00
Amar Takhar
d8c7515975
Remove a few auto3 files that wern't associated with auto3 in the Makefile.
...
Originally committed to SVN as r3202.
2009-07-23 01:11:27 +00:00