aboutsummaryrefslogtreecommitdiff
path: root/src/lstrlib.js
Commit message (Collapse)AuthorAge
* src/{luaconf,lobject,lstrlib}.js: lua_getlocaledecpoint now returns char ↵daurnimator2018-01-29
| | | | code instead of string
* src/lstrlib.js: Use destructuring requiresdaurnimator2018-01-22
|
* src/l*lib.js: Use lualib.lua_assert from standard librarydaurnimator2018-01-22
|
* Move fengari specific things to src/fengaricore.jsdaurnimator2018-01-11
| | | | String manipulation functions now get exposed on 'fengari' object itself at top level
* Avoid Uint8Array.slice (IE compat)daurnimator2018-01-07
|
* src/lstrlib.js: Remove use of Uint8Array.reversedaurnimator2018-01-07
|
* src/lstrlib.js: Optimisations to use subarray instead of slice where sensibledaurnimator2018-01-07
|
* Introduce luastring_indexOf as Uint8Array.indexOf doesn't exist everywheredaurnimator2018-01-07
|
* src/lstrlib.js: Pass byte offsets to DataView constructordaurnimator2018-01-06
|
* src/lstrlib.js: Optimise array_cmpdaurnimator2017-12-14
| | | | Using .indexOf seems to benchmark faster than iterating
* src/lstrlib.js: Remove .slice from end of string checkdaurnimator2017-12-14
|
* src/lstrlib.js: Optimise nospecials, js .indexOf has no issues with a null bytedaurnimator2017-12-14
|
* src/lstrlib.js: Optimise find_subarray using .indexOfdaurnimator2017-12-14
|
* src/lstrlib.js: Replace adddigit function with call to .toString(16)daurnimator2017-12-13
|
* src/lstrlib.js: Reimplement using luaL_Bufferdaurnimator2017-12-13
|
* src/: Comment out unused constants/functionsdaurnimator2017-12-10
|
* src/: Fix some linter complaintsdaurnimator2017-12-10
|
* src/lstrlib.js: Move arg checking to own linedaurnimator2017-11-12
|
* Removed incorrect use of llimits.MAX/MIN_INTBenoit Giannangeli2017-11-09
| | | | llimit.js is renamed to llimits.js
* src/lstrlib.js: slice only what is requireddaurnimator2017-06-19
|
* Change size_t from 8 bytes to 4 bytesdaurnimator2017-06-19
| | | | JavaScript cannot perform arithmetic on 8byte (i.e. 64bit) numbers
* src/lstrlib.js: Fix pack('s') using wrong constantdaurnimator2017-06-18
|
* src/lstrlib.js: cast to unsigned when packing unsigneddaurnimator2017-06-17
|
* src/lstrlib.js: a 'long' is 4 bytes in JSdaurnimator2017-06-17
|
* str_packsize: fixed malformed luaL_argcheckBenoit Giannangeli2017-06-16
|
* 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
|