summaryrefslogtreecommitdiff
path: root/src/lstrlib.js
Commit message (Collapse)AuthorAge
* str_unpack: pos is size_t in C so -1 should raise initial position errorBenoit Giannangeli2017-06-16
|
* unpacknum should only look at the first 'size' bytesBenoit Giannangeli2017-06-16
|
* unpacknum: number can be 32bitsBenoit Giannangeli2017-06-16
|
* Bad error message for too long KcharBenoit Giannangeli2017-06-16
|
* packint: Fixed how we search for 0 in KzstrBenoit Giannangeli2017-06-16
|
* lstrlib.js: j/J are 4 bytesBenoit Giannangeli2017-06-16
|
* packnum: num can be 32 bitsBenoit Giannangeli2017-06-16
|
* Fix bad test on issigned in unpackintBenoit Giannangeli2017-06-16
|
* src/lstrlib.js: pass ESC charcode (not as string)daurnimator2017-06-15
|
* src/lstrlib.js: frontier looks past end of string expecting a null bytedaurnimator2017-06-15
|
* src/lstrlib.js: Fix islower+isupperdaurnimator2017-06-15
| | | | Old islower considered the null byte to be lower case. The new implementations are simpler too
* src/lstrlib.js: In match_capture compare array contents not array slicesdaurnimator2017-06-15
|
* src/lstrlib.js: Pass string (not offset of string)daurnimator2017-06-15
|
* src/lstrlib.js: Fix stopping before end of gmatch subjectdaurnimator2017-06-15
|
* lstrlib.js: missing charCodeAt and misspelled ms.srcBenoit Giannangeli2017-06-12
|
* lstrlib.js: matchbalance fixed wrong char lookupBenoit Giannangeli2017-06-12
|
* Avoid .concat where simple to do sodaurnimator2017-06-09
|
* Add is_luastring function instead of using Array.isArray directlydaurnimator2017-06-09
|
* Don't pass user input as format to luaL_errordaurnimator2017-05-29
|
* src/lstrlib.js: Add annotations for jshintdaurnimator2017-05-29
|
* src/lstrlib.js: Fix position capture returning wrong valuedaurnimator2017-05-29
|
* lstrlib.js: pattern index treated as pattern itselfBenoit Giannangeli2017-05-29
|
* 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
|