xLua - Lua C++ API

Timeline
Login

50 most recent check-ins

2019-03-18
11:10
BSD-3-Clause LICENSE Leaf check-in: 22f7da3e3c user: xjail tags: master, trunk
10:31
switch to mk-configure check-in: 67fcc7c7b0 user: xjail tags: master, trunk
2018-07-12
02:21
update check-in: 1152ce8736 user: xjail tags: master, trunk
2018-07-05
21:11
xlua check-in: 9ebeabe199 user: xjail tags: master, trunk
2018-07-04
21:16
xlua check-in: 14a84d3be5 user: xjail tags: master, trunk
01:55
xLua check-in: bb690c0ec0 user: xjail tags: master, trunk
01:47
Create new branch named "lutok" Leaf check-in: 66788f6d0c user: xjail tags: lutok
2016-07-18
20:02
Add 32-bit builds to Travis CI check-in: 3e4a71f080 user: julio@meroh.net tags: master, trunk
20:02
Preserve PATH when invoking sudo The new Travis CI Precise infrastructure seems to enforce env_reset in the sudo configuration and does not allow using the -E flag to bypass it. Instead, explicitly pass the PATH to the 'make distcheck' sudo invocation so that it can find the right tools. This fixes the AS_ROOT=yes builds after we were silently switched to the new infrastructure. Same as jmmv/kyua@abe209b58ba7f49d190ec809be99676430b5d5ec. check-in: e4f6c764cb user: julio@meroh.net tags: master, trunk
2014-09-14
11:50
Remove the only sub-Makefile.am.inc We have more than one top-level directory in the project so it does not make sense to only recurse into one to find Makefile.am.inc files. Get rid of the lonely instance of this instead of sharding the already-simple top-level Makefile.am. check-in: 89ff6d306b user: jmmv@google.com tags: master, trunk
11:48
Respect silent mode in custom rules Follow the instructions in the automake documentation to properly silence commands in custom rules when silent mode is enabled. check-in: 2a9391a828 user: jmmv@google.com tags: master, trunk
2014-08-03
22:48
Make sure libraries in /usr/local/lib are found Explicitly pass rpath and other flags to the build within Travis CI so that we can properly load our dependent libraries. check-in: 50183f8c44 user: jmmv@meroh.net tags: master, trunk
22:42
Send Travis CI notifications to lutok-log check-in: d4da9e7cb9 user: jmmv@meroh.net tags: master, trunk
22:42
Use prebuilt Kyua toolchain if available Attempt to download and unpack a prebuilt Kyua toolchain for Ubuntu 12.04 instead of rebuilding everything from scratch every time. This is to save time during build iterations and also to prevent flaky results due to problems with the dependencies. Also install the built files under /usr/local instead of /usr and make sure all build-time paths are correct. check-in: aa91c06248 user: jmmv@meroh.net tags: master, trunk
20:01
Improvements to the Travis scripts Add missing license headers and attempt both root and non-root builds. check-in: 935e7012db user: julio@meroh.net tags: master, trunk
2014-08-02
02:24
Try to fully set up Kyua in Travis CI This is so that we can run the full test suite. Didn't want to do this yet, but yet, it's not that hard and we'll need this for running Kyua later on. check-in: 507defb80c user: jmmv@google.com tags: master, trunk
02:23
Allow "make check" to be run when kyua is missing Discovered while trying to setup Travis CI. check-in: dd98dc60f4 user: jmmv@google.com tags: master, trunk
02:23
Fix error handling on call to access(2) check-in: 9bdc2e0b87 user: jmmv@google.com tags: master, trunk
01:59
Forbid creating a distfile when Doxygen is missing "make distcheck" was strangely failing when Doxygen was not present even when the install rules check for this condition. This was because the dist rules were not handling the lack of Doxygen properly. Discovered while trying to set up Travis CI for lutok. check-in: 31daf875d4 user: jmmv@google.com tags: master, trunk
01:50
Run autoreconf before trying configure check-in: 10092e6465 user: jmmv@google.com tags: master, trunk
01:47
Add a Travis CI script check-in: 32dda8dfbe user: jmmv@google.com tags: master, trunk
2014-02-04
21:45
Move project page to GitHub Update links to the project page and the issue tracker to point to the new site in GitHub. check-in: ad5e19c90e user: jmmv@google.com tags: master, trunk
2013-12-08
00:01
Prepare 0.4 release Set release date to today and bump shared library version. Leaf check-in: 9a6309d4dd user: julio@meroh.net tags: lutok-0.4, trunk
2013-12-07
19:23
Use kyua's build-root feature Stop populating the build directory with copies of the Kyuafiles required to run the tests and instead rely on kyua's --build-root feature. Much simpler to understand. check-in: 1e0ac19176 user: julio@meroh.net tags: trunk
19:23
Stop shipping an Atffile check-in: 3e063c7c63 user: julio@meroh.net tags: trunk
19:23
Remove default parameter values Let's be explicit on the caller side given that it's often unclear what the default parameter values are. Have had this in mind for a while, but doing it now because the previous changes to modify the behavior of do_file and do_string already break the API and ABI. check-in: 6a353c463b user: julio@meroh.net tags: trunk
2013-12-03
03:39
Support nargs and errfunc in do_{file,string} Modify the do_file and do_string operations to take 1) the number of items on the stack to pass to the parsed chunks as arguments and 2) an error handler. While doing so, make all of their arguments non-optional to prevent ambiguity issues. check-in: 5133dc2c0f user: julio@meroh.net tags: trunk
2013-11-29
22:12
Add the open_all method to the state class This is a wrapper for luaL_openlibs and allows the caller to open all the standard Lua libraries in the environment. Fixes issue 5. check-in: ac6a99506f user: julio@meroh.net tags: trunk
2013-10-18
20:39
Ignore admin/compile Not sure where the need for this came from, but I am seeing that this file gets created under a FreeBSD 10.0-ALPHA5 machine with autoconf 2.69 and automake 1.14. check-in: d9f4272802 user: julio@meroh.net tags: trunk
20:39
Cope with the lack of AM_PROG_AR In systems with automake 1.11.1 or below (like Ubuntu 10.04 LTS), AM_PROG_AR does not exist. Just avoid using the macro in those cases. check-in: d50561d2b5 user: julio@meroh.net tags: trunk
20:38
Bump version to 0.4 Beleatedly set the version number to 0.4 after 0.3 was released. check-in: bb6b48524a user: julio@meroh.net tags: trunk
2013-06-14
23:45
Mention that Lua 5.2 is supported Fix install notes to mention that Lua 5.2 is now supported. check-in: 0b8900e858 user: julio@meroh.net tags: trunk
23:41
Prepare for release of 0.3 Finish release notes and update library version info. check-in: adce20e4cc user: julio@meroh.net tags: trunk, lutok-0.3
22:37
Use std::shared_ptr when available Detect when std::shared_ptr is available and use it instead of std::tr1::shared_ptr. Patches from pkgsrc. check-in: 1d37fb6422 user: julio@meroh.net tags: trunk
22:32
Fix compilation with stale headers Change the ordering of the compilation flags so that we can successfully build Lutok when an older and incompatible version of the code is already installed. check-in: 94d0b134aa user: julio@meroh.net tags: trunk
22:32
Add AM_PROG_AR This silences the following warning while running automake: ltlibrary.am: warning: 'liblutok.la': linking libtool libraries using a ltlibrary.am: non-POSIX archiver requires 'AM_PROG_AR' in 'configure.ac' check-in: 77e5588998 user: julio@meroh.net tags: trunk
2013-06-13
03:47
Make open_{string,table} work with Lua 5.2 Modules need to be opened with luaL_requiref in Lua 5.2 instead of using the luaopen_* functions directly. Fix open_{string,table} to do the right thing in both Lua 5.2 and 5.1. check-in: 36960252df user: julio@meroh.net tags: trunk
03:39
Search for Lua 5.2 Look for both Lua 5.2 and 5.1 (in this order) at configure time, and extend the release notes to mention that the upcoming release will have support for Lua 5.2. check-in: c0a131b65e user: julio@meroh.net tags: trunk
03:35
Support Lua 5.2 when accessing the globals table Lua 5.2 has changed the way to access the globals table: instead of having a pseudo-index, it needs to be referenced via a value in the registry. Implement the get_global_table() to generalize access to the globals table in a way that works with both Lua 5.1 and 5.2. While doing this, I have to kill the globals_index symbol as it cannot be represented in Lua 5.2. Instead, expose a registry_index symbol. check-in: eca00a1513 user: julio@meroh.net tags: trunk
2012-08-24
15:06
Remove SHOW_DIRECTORIES This doxygen stanza has been deprecated in version 1.8.1. check-in: ee703a76eb user: jmmv@google.com tags: trunk
2012-07-23
18:08
Doxyfile should not be distributed The Doxyfile file should not be part of the distribution. We ship Doxyfile.in and Doxyfile is generated by configure. As part of this change, fix the path to the Doxyfile: it should really be a path into the builddir and not the srcdir. This fixes the build of the project within an object directory with a clean source tree (not a distfile). "make distcheck" did not catch the problem of Doxyfile being searched for in srcdir because we were distributing Doxyfile. check-in: 96a4ba221d user: julio@meroh.net tags: trunk
2012-06-07
00:16
Detect Lua in FreeBSD The FreeBSD ports tree installs the Lua 5.1 pkg-config file as lua-5.1.pc. Detect this alternative name. check-in: 502326fd26 user: jmmv@julipedia.org tags: trunk
2012-05-30
22:57
Post-release version bump to 0.3 Bump the package's version to 0.3 after the release of 0.2 and add a placeholder for news entries. check-in: 18e6594f75 user: jmmv@julipedia.org tags: trunk
22:37
Prepare for release of 0.2 Set release date to today and bump the library version information to reflect the new methods and symbols in the library. check-in: dd8e89ae0b user: jmmv@julipedia.org tags: trunk, lutok-0.2
22:13
Acknowledge that Lua 5.2 is not supported The current code does not compile against Lua 5.2. Adjust the release notes to mention this fact. check-in: f958143f26 user: jmmv@julipedia.org tags: trunk
2012-05-22
02:35
Add the globals_index constant Add a constant to wrap the LUA_GLOBALSINDEX value so that client code does not have to pull in c_gate.hpp just for this. check-in: 1842da49cf user: jmmv@julipedia.org tags: trunk
2012-05-18
13:55
Ignore more build products Change .gitignore to cope with object and library files, test programs, the .libs and api-docs directories, and the lutok.pc file. check-in: 72cd338c3b user: jmmv@julipedia.org tags: trunk
13:54
Add a bunch of new methods to the state class The new methods are: get_metafield, get_metatable, insert, push_value, raw_get and raw_set. check-in: eaf3058427 user: jmmv@julipedia.org tags: trunk
2012-02-29
21:25
Ignore build products Add .gitignore files to properly ignore all files generated during the build. check-in: d3aa0ad1f0 user: jmmv@julipedia.org tags: trunk
03:54
Complete move to Git Make clean-all properly detect leftover files after the move from Subversion to Git. Also fix a reference to svn in INSTALL. check-in: 14bf878f29 user: jmmv@julipedia.org tags: trunk