aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Rename lopcodes.js require to consistently be lopcodesdaurnimator2017-05-09
|
* src/lopcodes.js: SETARG_* can be tail callsdaurnimator2017-05-09
|
* src/lopcodes.js: Add GET* macrosdaurnimator2017-05-09
|
* src/lvm.js: Remove i.breakpoint hackdaurnimator2017-05-09
|
* Cache string hashes in TStringdaurnimator2017-05-09
|
* Initialise CClosure upvalues TValues in constructordaurnimator2017-05-09
|
* src/lobject.js: Be consistent in LClosure/CClosure constructorsdaurnimator2017-05-09
|
* Fix bad integer size for string.pack/packsizeBenoit Giannangeli2017-05-08
|
* Fixed bad default separator in table.concatBenoit Giannangeli2017-05-08
|
* Introduce a TString classdaurnimator2017-05-08
|
* src/lapi.js: Use .svalue() getter for lua_todataviewdaurnimator2017-05-08
|
* src/lapi.js: Be consistent with aux_upvalue return typedaurnimator2017-05-08
|
* src/lcode.js: Fix nilK using invalid keydaurnimator2017-05-08
|
* src/lvm.js: Use TValue accessors to use stringsdaurnimator2017-05-08
|
* src/ltm.js: All stack items should be non-shared TValuesdaurnimator2017-05-08
|
* ltm.TMS should be indexes into an arraydaurnimator2017-05-08
|
* src/lvm.js: Optimise luaV_concatdaurnimator2017-05-08
| | | | Do the TString creation in one big Array.prototype.concat
* Add accessors to TValue for TString valuesdaurnimator2017-05-08
|
* src/lvm.js: Fix incorrect stack index in luaV_concatdaurnimator2017-05-08
|
* src/lstring.js: Freeze strings to catch accidental modificationdaurnimator2017-05-08
|
* src/lparser.js: Send localvarliterals via caching tabledaurnimator2017-05-08
|
* src/llex.js: Cache tokens in ls.hdaurnimator2017-05-08
|
* src/lstrlib.js: Array.prototype.reverse operates in place. Make a copy so ↵daurnimator2017-05-08
| | | | that internal string isn't modified
* src/lstrlib.js: Don't use string+offset from string.pack and friendsdaurnimator2017-05-08
| | | | Also fixes mutation of internal string object
* src/lcode.js: Fix luaH_set result checkdaurnimator2017-05-08
|
* 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
|
* 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)