aboutsummaryrefslogtreecommitdiff
path: root/src/lstrlib.js
Commit message (Collapse)AuthorAge
* src/lstrlib: math.mininteger has to print speciallydaurnimator2017-05-23
|
* src/lstrlib.js: Always return a new string from num2strauxdaurnimator2017-05-22
| | | | It may get mutated in lua_number2strx
* src/lstrlib.js: Remove useless copies in num2strauxdaurnimator2017-05-22
|
* src/lstrlib.js: Fix incorrect size in commentdaurnimator2017-05-12
| | | | See https://github.com/giann/fengari/commit/3ba0fe6fd5ad9f62b948bf970347ffef3d5fe4bf#commitcomment-22054952
* Fix bad integer size for string.pack/packsizeBenoit Giannangeli2017-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
* Fix luaL_error callsitesdaurnimator2017-05-05
| | | | | | - Now that luaL_error does sprintf-like formatting it shouldn't take user input - % now needs to be escaped when passed to luaL_error - Removes several wasteful lua->js->lua string transformations
* luaL_Buffer constructor shouldn't take a lua statedaurnimator2017-05-03
| | | | It gets set in luaL_buffinit
* src/lstrlib.js: lobject no longer useddaurnimator2017-04-26
|
* Move frexp and ldexp to luaconf.jsdaurnimator2017-04-26
|
* Move jsstring() from lobject.js to defs.js; export from lua.jsdaurnimator2017-04-26
|
* Remove lightuserdata object subtypedaurnimator2017-04-26
|
* Remove pointless use internal string implementationdaurnimator2017-04-26
|
* Export lapi.js functions from lua.jsdaurnimator2017-04-26
|
* Remove lua.chardaurnimator2017-04-26
|
* Remove lua.CT and lua.constant_types (still available from defs)daurnimator2017-04-26
|
* Use maximum 32bit number instead of Number.MAX_SAFE_INTEGERBenoit Giannangeli2017-04-24
|
* No more Table, just TValue with table type and Map valueBenoit Giannangeli2017-04-18
|
* Cache all to_luastring of internal literalsBenoit Giannangeli2017-04-18
|
* nan, -inf, infBenoit Giannangeli2017-04-10
|
* Handle -0Benoit Giannangeli2017-04-10
|
* Fixed bad anchor testBenoit Giannangeli2017-04-10
|
* Use correct sprintf packageBenoit Giannangeli2017-03-31
|
* Fixed bad \0 check on %s formatBenoit Giannangeli2017-03-31
|
* 8-bit only in lstrlibBenoit Giannangeli2017-03-30
|
* 8-bit string internally testsBenoit Giannangeli2017-03-30
| | | | Lexing/Parsing is done on byte rather than js strings
* lua_strx2numberBenoit Giannangeli2017-03-28
|
* Fixed lua_number2strxBenoit Giannangeli2017-03-28
|
* Fixed string.format pattern with '.'Benoit Giannangeli2017-03-24
|
* Added missing sprintfBenoit Giannangeli2017-03-24
|
* %c put the actual value in the string arrayBenoit Giannangeli2017-03-24
|
* Fixed bad quoted cntrl charsBenoit Giannangeli2017-03-24
|
* string.format operate on byte array instead of js stringsBenoit Giannangeli2017-03-24
|
* Missing overflow check in string.repBenoit Giannangeli2017-03-24
|
* string.rep: don't repeat if n == 0Benoit Giannangeli2017-03-24
|
* string.char bypass to_luastring conversionBenoit Giannangeli2017-03-24
|
* TValue.jsstring can take start and end indexesBenoit Giannangeli2017-03-24
|
* strings.luaBenoit Giannangeli2017-03-24
|
* Userdata are ArrayBuffers, new lightuserdata subtype for js objectsBenoit Giannangeli2017-03-21
|
* Merge branch 'master' into feature/matchBenoit Giannangeli2017-03-21
|\
| * string.pack/unpack/packsize testBenoit Giannangeli2017-03-20
| |
| * string.packsizeBenoit Giannangeli2017-03-20
| |
| * string.unpackBenoit Giannangeli2017-03-20
| |
| * string.packBenoit Giannangeli2017-03-20
| |
* | string.gsub testsBenoit Giannangeli2017-03-21
| |
* | string.gmatchBenoit Giannangeli2017-03-21
| |
* | string.gsubBenoit Giannangeli2017-03-20
| |
* | string.match/find testBenoit Giannangeli2017-03-20
| |
* | string.match, string.findBenoit Giannangeli2017-03-20
| |