Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | src/lapi.js: Ignore 's' when lua_pushlstring is passed 0 | daurnimator | 2017-05-27 |
| | |||
* | Introduce setsvalue2s | daurnimator | 2017-05-27 |
| | |||
* | Introduce setobj2s | daurnimator | 2017-05-27 |
| | |||
* | Introduce setobjs2s | daurnimator | 2017-05-27 |
| | |||
* | src/lapi.js: Fix typo in lua_arith | daurnimator | 2017-05-24 |
| | |||
* | src/lapi.js: use .setfrom() when setting a TValue from a TValue | daurnimator | 2017-05-24 |
| | |||
* | Give userdata objects a class | daurnimator | 2017-05-24 |
| | | | | This way their type can be checked via `instanceof` | ||
* | src/lapi.js: Throw errors when attempting to use pseudo-index with index2addr_ | daurnimator | 2017-05-23 |
| | |||
* | Introduce luaO_tostring | daurnimator | 2017-05-23 |
| | |||
* | Introduce lvm.cvt2str | daurnimator | 2017-05-22 |
| | | | | In future this could be configurable | ||
* | src/lapi.js: Simplify+optimise lua_rotate | daurnimator | 2017-05-22 |
| | |||
* | Compare allowed stack indices to stack_last | daurnimator | 2017-05-22 |
| | | | | Not L.stack.length which is more equivalent to C's L->stacksize | ||
* | Fix lua_checkstack to check against LUAI_MAXSTACK. Adds luaD_growstack and ↵ | daurnimator | 2017-05-22 |
| | | | | luaD_reallocstack | ||
* | Checks for nil and NaN table keys | daurnimator | 2017-05-22 |
| | |||
* | Add TMcache | daurnimator | 2017-05-22 |
| | |||
* | lua_stringtonumber is meant to return length + 1 | daurnimator | 2017-05-22 |
| | |||
* | lua_checkstack did not adjust ci.top | Benoit Giannangeli | 2017-05-21 |
| | |||
* | Add facility for a user provided (state-global) native error handler | daurnimator | 2017-05-15 |
| | |||
* | src/lapi.js: Fix typo in variable name (chunckname => chunkname) | daurnimator | 2017-05-15 |
| | |||
* | Separate ZIO and MBuffer data structures | daurnimator | 2017-05-15 |
| | | | | - lua_load no longer takes a null reader function | ||
* | lua_arith, lua_islightuserdata, lua_register, lua_setallocf, lua_tocfunction | Benoit Giannangeli | 2017-05-14 |
| | |||
* | lua_arith, moved luaO_arith to lobject.js | Benoit Giannangeli | 2017-05-14 |
| | |||
* | uservalue should be a TValue | Benoit Giannangeli | 2017-05-11 |
| | |||
* | src/lapi.js: Add extensions 'lua_toproxy' and 'lua_isproxy' | daurnimator | 2017-05-11 |
| | |||
* | src/lapi.js: Use luaH_delete when rawset-ing nil | daurnimator | 2017-05-11 |
| | |||
* | src/lapi.js: lobject.luaO_str2num returns false if string is not a number | daurnimator | 2017-05-09 |
| | |||
* | src/lapi.js: Delete unwanted stack items | daurnimator | 2017-05-09 |
| | |||
* | Use 'delete' instead of setting to undefined | daurnimator | 2017-05-09 |
| | |||
* | Initialise CClosure upvalues TValues in constructor | daurnimator | 2017-05-09 |
| | |||
* | Introduce a TString class | daurnimator | 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 |
| | |||
* | Add accessors to TValue for TString values | daurnimator | 2017-05-08 |
| | |||
* | Move string functions to centralised lstring.js | 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. | ||
* | Sometimes upvalues have js string names | Benoit Giannangeli | 2017-05-07 |
| | |||
* | Flatten CallInfo union member | daurnimator | 2017-05-05 |
| | |||
* | 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 |
| | |||
* | Add a FIXME, remove a TODO, edit a comment | daurnimator | 2017-05-05 |
| | |||
* | Don't wrap lexer/parser strings in a TValue | daurnimator | 2017-05-05 |
| | | | | Fixes issue where internal TValues get exposed via lua_Debug structure | ||
* | Add lua_pushfstring and lua_pushvstring | daurnimator | 2017-05-04 |
| | |||
* | src/lapi.js: Add missing call to get type | daurnimator | 2017-05-04 |
| | |||
* | Add more/correct validation around integers | daurnimator | 2017-05-04 |
| | |||
* | Remove lua_pushtvalue | daurnimator | 2017-05-03 |
| | | | | Will probably be required again soon; but in a different form (e.g. should validate that TValue comes from same lua state) | ||
* | src/lapi.js: Remove now unused lua_compare_ function | daurnimator | 2017-05-03 |
| | |||
* | Move .id field from TValue to values themselves | daurnimator | 2017-05-03 |
| | |||
* | Add lua_rawseti | daurnimator | 2017-05-03 |
| | |||
* | Refactor table implementation | daurnimator | 2017-05-03 |
| | |||
* | src/lapi.js: Fix typo in aux_upvalue | daurnimator | 2017-05-03 |
| |