mingodad
|
a8da5791c2
Apply some fixes from SQuirrel
|
3 years ago |
mingodad
|
2972d252b2
Add some UTF-8 functionality to SQString
|
4 years ago |
mingodad
|
750e9dde54
Add utf8Len method to string, also removed an unused variable
|
4 years ago |
mingodad
|
2f82f252d4
Use macros to access the length of strings
|
4 years ago |
mingodad
|
91797ca57c
Add two string method aliases to facilitate execute javascript code
|
5 years ago |
mingodad
|
aeb04c9715
Fixes from squirrel
|
5 years ago |
mingodad
|
7d2e795b10
Workaround for printing huge strings (>2GB)
|
5 years ago |
mingodad
|
389066e7a8
Replace a few uses of "int" by "size_t/SQInteger" to allow 64bits usage on 64bits operating systems
|
5 years ago |
mingodad
|
997678e94b
Fix to lexing integer overflow inside excluded ifdef
|
6 years ago |
mingodad
|
c9c778f18f
Add a global function "table_toarray"
|
6 years ago |
mingodad
|
0af2fc2279
Code format
|
6 years ago |
mingodad
|
30dc480cd9
Add function longestcommonsubstr
|
7 years ago |
mingodad
|
82d0b3cce3
When trying to compile on 32bits with SQInteger as int64_t several problems arised and on the way to fix it several compiler warnings was eliminated.
|
7 years ago |
mingodad
|
d8567cfa92
Add new predefined macros
|
7 years ago |
mingodad
|
db4648ae63
Add new global table_incnum and also change array sort to accept a an array for parallel sort
|
7 years ago |
mingodad
|
aeaf302490
Fix several compiler warnings
|
7 years ago |
mingodad
|
9b9b6784b9
Fix bug introduced by changes on SQArray
|
7 years ago |
mingodad
|
d32881d419
Add array_float64, array_float32, array_int64, array_int32, array_int16, array_int8 global functions to create native numeric arrays.
|
7 years ago |
mingodad
|
831f120b7b
Replace the array sort code by the one from lua 5.1.5 because it can sort with half number of calls to the compare function compared to the original Squirrel code.
|
7 years ago |
mingodad
|
8b40e1904c
Return the object from table/array manipulation
|
7 years ago |
mingodad
|
568f8aa706
Fix for the empty capture on string.match
|
7 years ago |
mingodad
|
a373d9a05f
Allow for for deep equality comparison for SquiLu objects
|
7 years ago |
mingodad
|
95d5c02a69
Add a string method to read unsigned shorts form it.
|
8 years ago |
mingodad
|
4fd1aa7589
Add more general functions to sqbaselib
|
8 years ago |
mingodad
|
c91c7ccfb2
Fix default makefiles (also normalize line ends \n only), fix some compile warnings.
|
8 years ago |
mingodad
|
26cbf6035e
Add optional message text parameter for assert(), from VasiliyRyabtsev https://github.com/albertodemichelis/squirrel/commit/c10a777285843af3fa5abca9b259f4ea76e96949
|
8 years ago |
mingodad
|
559a1b8d07
Fix an of by one mistake and added more tests
|
8 years ago |
mingodad
|
ea079daa15
Several fixes from squirrel.
|
8 years ago |
mingodad
|
a956252624
Comment out/remove function.pcall because it doesn't work as documented, use try/catch instead.
|
8 years ago |
mingodad
|
5cc722c21b
Expose "obj_clone" global function to clone Table, Array, Class Instance.
|
8 years ago |