summaryrefslogtreecommitdiff
path: root/src/lobject.js
Commit message (Collapse)AuthorAge
* src/lobject.js: Add ids in the form of JS constructors for primitivesdaurnimator2017-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
* Centralise integer mod and div operations to luaV_mod and luaV_divdaurnimator2017-05-21
|
* Use same mod operator behaviour from both lvm.js and lobject.jsdaurnimator2017-05-21
|
* shifts have different semantics to JS, use add luaV_shiftldaurnimator2017-05-21
|
* src/lobject.js: l_str2int - keep numbers in representable rangedaurnimator2017-05-21
|
* Use >>> instead of >>Benoit Giannangeli2017-05-20
|
* src/lobject.js: Fix floating point mod operationdaurnimator2017-05-18
| | | | Closes #54
* src/lobject.js: IDIV is floor divisiondaurnimator2017-05-16
|
* src/lobject.js: Add default case to switchdaurnimator2017-05-16
|
* lua_arith, moved luaO_arith to lobject.jsBenoit Giannangeli2017-05-14
|
* Freeze luaO_nilobject to catch any accidental overwriteBenoit Giannangeli2017-05-11
| | | | To remove along with asserts calls for any real use
* src/lobject.js: Fix dead key TValue typedaurnimator2017-05-11
|
* Initialise CClosure upvalues TValues in constructordaurnimator2017-05-09
|
* src/lobject.js: Be consistent in LClosure/CClosure constructorsdaurnimator2017-05-09
|
* Introduce a TString classdaurnimator2017-05-08
|
* Add accessors to TValue for TString valuesdaurnimator2017-05-08
|
* 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
* Add lua_pushfstring and lua_pushvstringdaurnimator2017-05-04
|
* Move .id field from TValue to values themselvesdaurnimator2017-05-03
|