Thomas Goyne
fa2e3fb38f
More cruft to support running busted on Travis
2015-12-22 17:43:25 -08:00
Thomas Goyne
26361c5003
Add support for using busted 2.0 to run automation tests
...
Supply a definition of socket.gettime() to remove the dependency on
LuaSocket, as installing binary deps from luarocks doesn't work with a
custom build of luajit.
2015-12-21 19:48:23 -08:00
Thomas Goyne
c49dd8bd96
Ensure luarocks env variables are set for make-automation
2015-09-13 11:54:32 +02:00
Thomas Goyne
57d66be785
Fix skipping trailing empty segments in re.split
2014-09-20 08:13:49 -07:00
Thomas Goyne
e3c60514cd
Add lua argument checker
2014-07-28 12:30:45 -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
eb0cf90433
Ensure the lua state gets closed when running tests
...
This is required for the gc metamethods to actually get run.
2014-07-23 15:29:55 -07:00
Thomas Goyne
4dc38447dc
Check the return value from lua_open()
...
It always fails when running under valgrind because valgrind does not
implement mmap functionality that LuaJIT requires.
2014-07-11 09:26:58 -07:00
Thomas Goyne
6fab17d860
Add basic tests for lfs
2014-07-04 10:52:38 -07:00
Thomas Goyne
8d26c66d0f
Remove a bunch of unused functionalty from agi::Exception
2014-05-30 11:53:14 -07:00
Thomas Goyne
63f4bf1beb
Switch from regular Lua to LuaJIT
2014-04-28 07:38:30 -07:00
Thomas Goyne
9492192b73
Switch back to building Lua as C
...
In preparation for switching to LuaJIT, which doesn't support PUC Lua's
thing of using C++ exceptions for lua_error.
Requires replacing all uses of lua_error (and things calling lua_error)
with custom versions that throw an exception instead and adding an
exception -> lua error wrapper at all C++ -> Lua boundaries.
2014-04-27 10:37:23 -07:00
Thomas Goyne
2adcc76cf6
Switch automation tests to busted
...
This requires shuffling a bunch of stuff around to get a CLI lua
executable that uses an automation-like environment, but that's
something that'll be nice to have in the future anyway.
Busted indirectly depends on lfs and we currently can't use external
binary modules, so add a copy of lfs to the repo and build it with
Aegisub.
2014-04-26 08:16:38 -07:00
Thomas Goyne
b8af29da0d
Move some of the automation machinery to libaegisub
2014-04-25 15:03:18 -07:00
Thomas Goyne
a5fdc6795c
Fix compilation of automation tests
2014-04-25 14:52:53 -07:00
Thomas Goyne
1d5292fdee
Kill config.h and just force-include acconf.h in non-pch builds
2014-04-16 08:11:37 -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
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
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
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
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
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
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
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
27a9927cf2
Testcase for text_extents function
...
Originally committed to SVN as r824.
2007-01-17 09:20:17 +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
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