mingodad
|
c91c7ccfb2
Fix default makefiles (also normalize line ends \n only), fix some compile warnings.
|
8 vuotta sitten |
mingodad
|
26cbf6035e
Add optional message text parameter for assert(), from VasiliyRyabtsev https://github.com/albertodemichelis/squirrel/commit/c10a777285843af3fa5abca9b259f4ea76e96949
|
8 vuotta sitten |
mingodad
|
559a1b8d07
Fix an of by one mistake and added more tests
|
8 vuotta sitten |
mingodad
|
ea079daa15
Several fixes from squirrel.
|
8 vuotta sitten |
mingodad
|
a956252624
Comment out/remove function.pcall because it doesn't work as documented, use try/catch instead.
|
8 vuotta sitten |
mingodad
|
5cc722c21b
Expose "obj_clone" global function to clone Table, Array, Class Instance.
|
8 vuotta sitten |
mingodad
|
ba1b6af267
More fixes found by porting Lua tests
|
8 vuotta sitten |
mingodad
|
db60762121
Accepting empty pattern as Lua and Ruby does.
|
8 vuotta sitten |
mingodad
|
a1f91a7470
Another fix due to the latest changes on the lua_regex
|
8 vuotta sitten |
mingodad
|
c74277f2c2
Several fixes found when translating lua 5.1 tests (http://www.inf.puc-rio.br/%7Eroberto/lua/lua5.1-tests.tar.gz)
|
8 vuotta sitten |
mingodad
|
79d863965c
Fix expected parameters for string.reverse
|
8 vuotta sitten |
mingodad
|
ce1c21f8cf
Fix a mistake
|
8 vuotta sitten |
mingodad
|
7a4868caa2
Use sq_type instead of the duplicated sqtype as it's done in squirrel
|
8 vuotta sitten |
mingodad
|
2e71442f5e
Add an initial implementation of using environment var SQUILU_PATH to search for include files, inspired and based on LUA_PATH
|
8 vuotta sitten |
mingodad
|
5277f7fa7e
Fix for empty search/pattern string in replace/gsub
|
8 vuotta sitten |
mingodad
|
6ee9f39571
Change macro type() to sqtype() as done in squirrel, also updating sqlite3
|
8 vuotta sitten |
mingodad
|
ff1247f4a5
Fix off by one pointer mishandling
|
8 vuotta sitten |
mingodad
|
93d0f5a5c7
Fix handling of positive only paramenter. Need revise the same problem in other places.
|
8 vuotta sitten |
mingodad
|
f52af3afa3
Add a string method to retrieve individual char as unsigned integer.
|
8 vuotta sitten |
mingodad
|
94352c351e
Add string_iso88959_to_utf8 method to string
|
9 vuotta sitten |
mingodad
|
9a1f1b0a7c
Expose string.hash method
|
9 vuotta sitten |
mingodad
|
7cc5d7a7b7
Change the string.strchr function to return the string index instead of an aleatory pointer cast to integer, also accept an optional integer offset from the beginning of the string.
|
9 vuotta sitten |
mingodad
|
7ad249dd1b
Add new method to string "countchr"
|
9 vuotta sitten |
mingodad
|
b1bbb00763
Fix a bug in passing captures from lua_regex also add a new method "strchr"
|
9 vuotta sitten |
mingodad
|
5d951a5864
Add the methods "find_lua, match, gmatch" to blob
|
9 vuotta sitten |
mingodad
|
8c988eac33
Add new method to array "minsize" to resize an array only if needed.
|
9 vuotta sitten |
mingodad
|
7953e0bbf2
Expose the max_includes compiler parameter to scripts and api
|
9 vuotta sitten |
mingodad
|
14a19a5f17
Added a string method to calculate a modulo 97/10, expect as argument a string containing numbers only
|
9 vuotta sitten |
mingodad
|
1533a0608a
Added extra parameters start_pos and max_len_to_find to find_lua, match, gmatch
|
9 vuotta sitten |
mingodad
|
19542c3db7
Add lua_regexp, lua_find, lua_gsub to sq_sqlite3, update lua-regex
|
9 vuotta sitten |