Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | Fixed bad default separator in table.concat | Benoit Giannangeli | 2017-05-08 | |
| | ||||
* | Merge remote-tracking branch 'daurnimator/boxed-strings' | Benoit Giannangeli | 2017-05-08 | |
|\ | ||||
| * | Introduce a TString class | daurnimator | 2017-05-08 | |
| | | ||||
* | | Clean up package.json | Benoit Giannangeli | 2017-05-08 | |
|/ | ||||
* | src/lapi.js: Use .svalue() getter for lua_todataview | daurnimator | 2017-05-08 | |
| | ||||
* | src/lapi.js: Be consistent with aux_upvalue return type | daurnimator | 2017-05-08 | |
| | ||||
* | src/lcode.js: Fix nilK using invalid key | daurnimator | 2017-05-08 | |
| | ||||
* | src/lvm.js: Use TValue accessors to use strings | daurnimator | 2017-05-08 | |
| | ||||
* | src/ltm.js: All stack items should be non-shared TValues | daurnimator | 2017-05-08 | |
| | ||||
* | ltm.TMS should be indexes into an array | daurnimator | 2017-05-08 | |
| | ||||
* | src/lvm.js: Optimise luaV_concat | daurnimator | 2017-05-08 | |
| | | | | Do the TString creation in one big Array.prototype.concat | |||
* | Add accessors to TValue for TString values | daurnimator | 2017-05-08 | |
| | ||||
* | src/lvm.js: Fix incorrect stack index in luaV_concat | daurnimator | 2017-05-08 | |
| | ||||
* | package.json: npm automatically adds dependencies to PATH when you run 'npm ↵ | daurnimator | 2017-05-08 | |
| | | | | test' | |||
* | package.json: Add myself to contributors | daurnimator | 2017-05-08 | |
| | ||||
* | src/lstring.js: Freeze strings to catch accidental modification | daurnimator | 2017-05-08 | |
| | ||||
* | src/lparser.js: Send localvarliterals via caching table | daurnimator | 2017-05-08 | |
| | ||||
* | src/llex.js: Cache tokens in ls.h | daurnimator | 2017-05-08 | |
| | ||||
* | src/lstrlib.js: Array.prototype.reverse operates in place. Make a copy so ↵ | daurnimator | 2017-05-08 | |
| | | | | that internal string isn't modified | |||
* | src/lstrlib.js: Don't use string+offset from string.pack and friends | daurnimator | 2017-05-08 | |
| | | | | Also fixes mutation of internal string object | |||
* | src/lcode.js: Fix luaH_set result check | daurnimator | 2017-05-08 | |
| | ||||
* | LexState.h is a Table not a TValue | daurnimator | 2017-05-08 | |
| | ||||
* | src/llex.js: Fix missing extention in require | daurnimator | 2017-05-08 | |
| | ||||
* | src/llex.js: Add luaX_newstring | daurnimator | 2017-05-08 | |
| | ||||
* | src/lcode.js: Remove circular dep breaking hack | daurnimator | 2017-05-08 | |
| | ||||
* | src/ldo.js: Clean up requires | daurnimator | 2017-05-08 | |
| | ||||
* | Clean up lundump.js | daurnimator | 2017-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.js | daurnimator | 2017-05-08 | |
| | ||||
* | src/lobject.js: Fix %% in luaO_pushvfstring passing char rather than array ↵ | daurnimator | 2017-05-08 | |
| | | | | of chars | |||
* | src/ldump.js: Convert f.is_vararg field to number when writing out | daurnimator | 2017-05-08 | |
| | ||||
* | src/lundump.js: .readString should return a lua string, not a js string | daurnimator | 2017-05-08 | |
| | | | | This also reverts commit b1a8a4b0435199982d26de4a183600c155619a5a. | |||
* | src/lfunc.js: Give Protos an id field | daurnimator | 2017-05-08 | |
| | ||||
* | [test-suite] calls.js | Benoit Giannangeli | 2017-05-07 | |
| | ||||
* | Sometimes upvalues have js string names | Benoit Giannangeli | 2017-05-07 | |
| | ||||
* | BytecodeParser consumes a MBuffer (== ZIO) instead of a DataView | Benoit Giannangeli | 2017-05-06 | |
| | | | | So we can read binary code with a user reader function | |||
* | Renamed findupval to luaF_findupval | Benoit Giannangeli | 2017-05-05 | |
| | ||||
* | Merge remote-tracking branch 'daurnimator/fix-errors' | Benoit Giannangeli | 2017-05-05 | |
|\ | ||||
| * | src/lvm.js: Optimise variable declarations | daurnimator | 2017-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 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 |