summaryrefslogtreecommitdiff
path: root/src/lstrlib.js
Commit message (Collapse)AuthorAge
* 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
|
* 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
|