Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
| * | src/lvm.js: Remove special case | daurnimator | 2017-05-05 | |
| | | | | | | | | This makes it faster on my computer | |||
| * | Always pass lua_State to Proto constructor | daurnimator | 2017-05-05 | |
| | | ||||
* | | Binary chunk can be a lua string (string.dump) | Benoit Giannangeli | 2017-05-05 | |
| | | ||||
* | | Added missing parameter to luaL_loadbufferx in luaB_load | Benoit Giannangeli | 2017-05-05 | |
| | | ||||
* | | L.openupval list was not linked correctly | Benoit Giannangeli | 2017-05-05 | |
| | | ||||
* | | [test-suite] calls.js | Benoit Giannangeli | 2017-05-05 | |
|/ | ||||
* | Flatten CallInfo union member | daurnimator | 2017-05-05 | |
| | ||||
* | src/ltable.js: Create Table class | daurnimator | 2017-05-05 | |
| | | | | This way it's pretty in debug output. | |||
* | Simplify UpVal structure | daurnimator | 2017-05-05 | |
| | | | | | | | No longer follows C api as closely (it is the way it is because C has unions) Instead, have a flat object. Also remove the 'setval' method, as it wasn't used from all call-sites and couldn't be extended to them (setval's body only worked with source TValue on a stack) | |||
* | An open upvalue already knows which lua_State it comes from | daurnimator | 2017-05-05 | |
| | ||||
* | Need to copy to the stack if not coming from a stack | daurnimator | 2017-05-05 | |
| | ||||
* | src/lfunc.js: Setting a closed upvalue should change a TValue, not create a ↵ | daurnimator | 2017-05-05 | |
| | | | | new one | |||
* | src/lfunc: Move refcount initialisation into constructor | daurnimator | 2017-05-05 | |
| | ||||
* | Remove .twups field | daurnimator | 2017-05-05 | |
| | | | | It's used to track threads that should be traversed by the GC to find upvalues | |||
* | src/ldebug.js: Micro optimisation that brings code more in line with ↵ | daurnimator | 2017-05-05 | |
| | | | | reference implementation | |||
* | src/ldebug.js: Fix incorrect error messages | daurnimator | 2017-05-05 | |
| | | | | | Previously could get odd things, e.g. `1-nil` would throw: > attempt to perform arithmetic on a number value | |||
* | Add a FIXME, remove a TODO, edit a comment | daurnimator | 2017-05-05 | |
| | ||||
* | src/lparser.js: protos have Upvaldescs not UpVals | daurnimator | 2017-05-05 | |
| | ||||
* | Don't wrap lexer/parser strings in a TValue | daurnimator | 2017-05-05 | |
| | | | | Fixes issue where internal TValues get exposed via lua_Debug structure | |||
* | src/ldebug.js: If no local is found then you can't get its name | daurnimator | 2017-05-05 | |
| | ||||
* | Proto.source should be a string, not a TValue | daurnimator | 2017-05-05 | |
| | | | | Fixes ar.source being internal tvalue | |||
* | src/ldebug.js: Fix off by one error when calculating line number | daurnimator | 2017-05-05 | |
| | ||||
* | src/ldebug.js: Use luaO_pushfstring | daurnimator | 2017-05-05 | |
| | ||||
* | src/lauxlib.js: Use lua_pushfstring (fixes missing fields in tracebacks) | daurnimator | 2017-05-05 | |
| | ||||
* | Fix luaL_error callsites | daurnimator | 2017-05-05 | |
| | | | | | | - Now that luaL_error does sprintf-like formatting it shouldn't take user input - % now needs to be escaped when passed to luaL_error - Removes several wasteful lua->js->lua string transformations | |||
* | src/lauxlib.js: Fix traceback text | daurnimator | 2017-05-05 | |
| | ||||
* | src/lauxlib.js: Use lua_pushvfstring | daurnimator | 2017-05-04 | |
| | ||||
* | Add lua_pushfstring and lua_pushvstring | daurnimator | 2017-05-04 | |
| | ||||
* | src/lvm.js: Don't localise lobject members | daurnimator | 2017-05-04 | |
| | ||||
* | src/ljstype.js: Add lisprint | daurnimator | 2017-05-04 | |
| | ||||
* | src/lapi.js: Add missing call to get type | daurnimator | 2017-05-04 | |
| | ||||
* | src/ldebug.js: Remove unused argument | daurnimator | 2017-05-04 | |
| | ||||
* | src/ldebug.js: Fix indentation | daurnimator | 2017-05-04 | |
| | ||||
* | src/ldo.js: Throw JS errors as runtime errors | daurnimator | 2017-05-04 | |
| | ||||
* | Add more/correct validation around integers | daurnimator | 2017-05-04 | |
| | ||||
* | src/ldblib.js: Add missing braces | daurnimator | 2017-05-04 | |
| | ||||
* | src/loadlib.js: Fix incorrect args for package functions | daurnimator | 2017-05-04 | |
| | ||||
* | package library doesn't need to be for just node | daurnimator | 2017-05-04 | |
| | ||||
* | src/loadlib.js: Fix use of js string instead of lua string | daurnimator | 2017-05-04 | |
| | ||||
* | package.searchpath | Benoit Giannangeli | 2017-05-03 | |
| | ||||
* | package.loadlib | Benoit Giannangeli | 2017-05-03 | |
| | ||||
* | require | Benoit Giannangeli | 2017-05-03 | |
| | ||||
* | loadlib.js | Benoit Giannangeli | 2017-05-03 | |
| | ||||
* | Merge remote-tracking branch 'daurnimator/iolib' | Benoit Giannangeli | 2017-05-03 | |
|\ | ||||
| * | src/liolib.js: add io.close() | daurnimator | 2017-05-03 | |
| | | ||||
| * | src/liolib: Add file:write() | daurnimator | 2017-05-03 | |
| | | ||||
| * | src/liolib.js: Implement io.write | daurnimator | 2017-05-03 | |
| | | ||||
| * | src/iolib.js: Add file:__tostring() | daurnimator | 2017-05-03 | |
| | | ||||
| * | src/iolib.js: Create stdin/stdout/stderr | daurnimator | 2017-05-03 | |
| | | ||||
* | | src/lauxlib.js: buffer.b should be null or array, not a string | daurnimator | 2017-05-03 | |
| | |