summaryrefslogtreecommitdiff
path: root/src/lobject.js
Commit message (Collapse)AuthorAge
* src/lobject.js: Optimise l_str2d + removing use of spread operator (IE compat)daurnimator2018-01-07
|
* Avoid Uint8Array.slice (IE compat)daurnimator2018-01-07
|
* Introduce luastring_indexOf as Uint8Array.indexOf doesn't exist everywheredaurnimator2018-01-07
|
* Avoid String.fromCodePoint (IE compat)daurnimator2018-01-07
|
* Expose lua.luastring_of to construct a lua 'string' from raw byte valuesdaurnimator2018-01-06
|
* src/: Add defs.from_userstring function to take string from apidaurnimator2017-12-29
|
* src/lobject.js: Refactor luaO_chunkid to use Uint8Array.setdaurnimator2017-12-15
|
* src/: Use .subarray instead of .slice (optimisation)daurnimator2017-12-13
|
* Use Uint8Array to back stringsdaurnimator2017-12-13
|
* Introduce defs.string_of to create string from bytesdaurnimator2017-12-13
|
* src/lobject.js: Build string in js rather than appending to lua stringdaurnimator2017-12-13
|
* src/: Use to_luastring more often instead of manually creating arraysdaurnimator2017-12-13
|
* src/: Have luaO_str2num fill in passed TValue and return lengthdaurnimator2017-12-12
|
* src/lobject.js: Have luaO_pushvfstring respect null as terminator for %sdaurnimator2017-12-12
|
* src/{llex,lobject}.js: Fix luaO_utf8esc/luaO_utf8desc confusiondaurnimator2017-12-11
|
* Merge branch 'object-ids'daurnimator2017-12-10
|\
| * src/lobject.js: Add undefined as pointer form of void 0daurnimator2017-12-10
| |
| * src/lobject.js: Give functions and objects idsdaurnimator2017-12-10
| |
| * src/lobject.js: Add ids in the form of JS constructors for primitivesdaurnimator2017-12-10
| |
* | src/: Fix some linter complaintsdaurnimator2017-12-10
|/
* src/lobject.js: Add try/catch around to_jsstring call in number coercionsdaurnimator2017-11-12
|
* Removed incorrect use of llimits.MAX/MIN_INTBenoit Giannangeli2017-11-09
| | | | llimit.js is renamed to llimits.js
* Move jshint config to package.jsondaurnimator2017-08-18
|
* src/lobject.js: Remove .slice operations from lua_strx2numberdaurnimator2017-06-01
|
* src/lobject.js: Remove .slice operations from l_str2intdaurnimator2017-06-01
|
* long source chunkid must be truncated from the endBenoit Giannangeli2017-05-31
|
* src/lfunc.js: Give UpVals an id fielddaurnimator2017-05-29
| | | | | This way they have an id when printed via %p. e.g. `debug.upvalueid(function() print() end, 1)`
* luaO_tostring should modify TValuedaurnimator2017-05-29
|
* Merge remote-tracking branch 'daurnimator/stack-modification-work' into ↵Benoit Giannangeli2017-05-28
|\ | | | | | | test-suite
| * Modify stack values up to L.top instead of replacingdaurnimator2017-05-27
| |
| * src/lobject.js: Introduce TValue.set*value for missing typesdaurnimator2017-05-27
| |
| * Introduce chgfltvalue and chgivaluedaurnimator2017-05-27
| |
| * Introduce setsvalue2sdaurnimator2017-05-27
| |
| * Introduce setobj2sdaurnimator2017-05-27
| |
| * Introduce setobjs2sdaurnimator2017-05-27
| |
* | luaT_trybinTM in luaO_arith needs a stack indexBenoit Giannangeli2017-05-27
|/
* src/lobject.js: don't convert operands to numbers if first branch failsdaurnimator2017-05-24
|
* Implement %p specifier in luaO_pushvfstringdaurnimator2017-05-24
| | | | Move hacks out of luaL_tolstring
* Give userdata objects a classdaurnimator2017-05-24
| | | | This way their type can be checked via `instanceof`
* src/lobject.js: Don't assume LUA_COMPAT_FLOATSTRINGdaurnimator2017-05-23
|
* Add luaD_inctop calls where appropriatedaurnimator2017-05-23
|
* Introduce luaO_tostringdaurnimator2017-05-23
|
* Add luaD_checkstack callsdaurnimator2017-05-22
|
* src/lobject.js: MAXBY10 should be lower integer bounddaurnimator2017-05-22
|
* Use Math.imul when multiplying integersdaurnimator2017-05-22
|
* src/lobject.js: Fix luaO_chunkid to actually return a short source namedaurnimator2017-05-21
|
* src/lobject.js: missing semicolondaurnimator2017-05-21
|
* src/lobject.js: parseFloat ignores trailing junk, validate with regex firstdaurnimator2017-05-21
|
* src/lobject.js: our lua_strx2number returns null on failuredaurnimator2017-05-21
|
* src/lobject.js: Check that there is no trailing junk from lua_strx2numberdaurnimator2017-05-21
| | | | Also stop adding trailing null byte in llex.js