summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* LexState.h is a Table not a TValuedaurnimator2017-05-08
|
* src/llex.js: Fix missing extention in requiredaurnimator2017-05-08
|
* src/llex.js: Add luaX_newstringdaurnimator2017-05-08
|
* src/lcode.js: Remove circular dep breaking hackdaurnimator2017-05-08
|
* src/ldo.js: Clean up requiresdaurnimator2017-05-08
|
* Clean up lundump.jsdaurnimator2017-05-08
| | | | | - Don't export a class (instead export luaU_undump) - Make error messages the same as normal lua
* Move string functions to centralised lstring.jsdaurnimator2017-05-08
|
* src/lobject.js: Fix %% in luaO_pushvfstring passing char rather than array ↵daurnimator2017-05-08
| | | | of chars
* src/ldump.js: Convert f.is_vararg field to number when writing outdaurnimator2017-05-08
|
* src/lundump.js: .readString should return a lua string, not a js stringdaurnimator2017-05-08
| | | | This also reverts commit b1a8a4b0435199982d26de4a183600c155619a5a.
* src/lfunc.js: Give Protos an id fielddaurnimator2017-05-08
|
* [test-suite] calls.jsBenoit Giannangeli2017-05-07
|
* Sometimes upvalues have js string namesBenoit Giannangeli2017-05-07
|
* BytecodeParser consumes a MBuffer (== ZIO) instead of a DataViewBenoit Giannangeli2017-05-06
| | | | So we can read binary code with a user reader function
* Renamed findupval to luaF_findupvalBenoit Giannangeli2017-05-05
|
* Merge remote-tracking branch 'daurnimator/fix-errors'Benoit Giannangeli2017-05-05
|\
| * src/lvm.js: Optimise variable declarationsdaurnimator2017-05-05
| | | | | | | | | | Oddly 'const' on OCi helps, but on anything else dramatically increases runtime Otherwise the reduced scope for other variables is a tiny bit faster
| * src/lvm.js: Remove special casedaurnimator2017-05-05
| | | | | | | | This makes it faster on my computer
| * Always pass lua_State to Proto constructordaurnimator2017-05-05
| |
* | Binary chunk can be a lua string (string.dump)Benoit Giannangeli2017-05-05
| |
* | Added missing parameter to luaL_loadbufferx in luaB_loadBenoit Giannangeli2017-05-05
| |
* | L.openupval list was not linked correctlyBenoit Giannangeli2017-05-05
| |
* | [test-suite] calls.jsBenoit Giannangeli2017-05-05
|/
* Flatten CallInfo union memberdaurnimator2017-05-05
|
* src/ltable.js: Create Table classdaurnimator2017-05-05
| | | | This way it's pretty in debug output.
* Simplify UpVal structuredaurnimator2017-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 fromdaurnimator2017-05-05
|
* Need to copy to the stack if not coming from a stackdaurnimator2017-05-05
|
* src/lfunc.js: Setting a closed upvalue should change a TValue, not create a ↵daurnimator2017-05-05
| | | | new one
* src/lfunc: Move refcount initialisation into constructordaurnimator2017-05-05
|
* Remove .twups fielddaurnimator2017-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 ↵daurnimator2017-05-05
| | | | reference implementation
* src/ldebug.js: Fix incorrect error messagesdaurnimator2017-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 commentdaurnimator2017-05-05
|
* src/lparser.js: protos have Upvaldescs not UpValsdaurnimator2017-05-05
|
* Don't wrap lexer/parser strings in a TValuedaurnimator2017-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 namedaurnimator2017-05-05
|
* Proto.source should be a string, not a TValuedaurnimator2017-05-05
| | | | Fixes ar.source being internal tvalue
* src/ldebug.js: Fix off by one error when calculating line numberdaurnimator2017-05-05
|
* src/ldebug.js: Use luaO_pushfstringdaurnimator2017-05-05
|
* src/lauxlib.js: Use lua_pushfstring (fixes missing fields in tracebacks)daurnimator2017-05-05
|
* Fix luaL_error callsitesdaurnimator2017-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 textdaurnimator2017-05-05
|
* src/lauxlib.js: Use lua_pushvfstringdaurnimator2017-05-04
|
* Add lua_pushfstring and lua_pushvstringdaurnimator2017-05-04
|
* src/lvm.js: Don't localise lobject membersdaurnimator2017-05-04
|
* src/ljstype.js: Add lisprintdaurnimator2017-05-04
|
* src/lapi.js: Add missing call to get typedaurnimator2017-05-04
|
* src/ldebug.js: Remove unused argumentdaurnimator2017-05-04
|
* src/ldebug.js: Fix indentationdaurnimator2017-05-04
|