8d57d6056b
sq_getinstanceup adds throwerror parameter
2021-06-22 17:56:46 +08:00
a21721642e
Merge pull request #209 from atanasovdaniel/split
...
Add optional argument 'skipempty' to split function
2020-07-22 18:11:41 +08:00
40050fa249
fixed security vulnerabilty in regexp object
2020-06-12 23:58:44 +08:00
0a59e991e2
Add optional argument 'skipempty' to split function
2019-12-23 14:46:50 +02:00
a2f325df73
Set format string for _string_printf
2019-12-01 11:34:59 +02:00
ae49b12aa1
Move throwerrorf into the aux standard library. Implement pushstringf into the string library as well.
2019-04-24 21:36:52 +03:00
795af921cc
Never assume the format is actually a string.
...
The invoker should at least know that the value he specified is not of the correct type.
2016-11-16 10:47:29 +02:00
eeba56c81b
Normalize whitespace.
...
Convert source files to Unix EOL mode, convert .bat files to DOS EOL
mode, de-tabify and strip trailing whitespace.
2016-08-19 13:40:31 +02:00
e0f0e180a3
add a printf function to the string stdlib, so we can avoid having to write print(format( all the time. it should be a little more lean than writing that function in lua yourself (can work entirely from scratchpad this way).
2016-05-12 11:48:52 -05:00
14ac45d285
Fix minor spelling mistakes
2016-04-03 17:48:40 +02:00
d9ce07f065
Merge branch master
2016-03-08 13:59:33 +01:00
2fb3522470
Various improvements
2016-03-06 19:43:57 +01:00
6dee69057e
Silence all -Wunused-parameter warnings.
2016-03-06 16:15:13 +01:00
bf2c28b0ce
Silence all -Wmissing-field-initializer warnings.
2016-03-06 16:04:32 +01:00
026671b3d5
Silence some pedantic compilation warnings.
2016-03-06 15:49:46 +01:00
b115b84dd1
escape() fix for different SQChar sizes
2016-03-06 22:00:17 +08:00
ec36322140
Improve const-correctness.
...
This avoids some pedantic compiler warnings and also removes any
non-shared data from the squirrel core.
Before:
size --totals sqstdlib/*.o squirrel/*.o
text data bss dec hex filename
261270 3776 0 265046 40b56 (TOTALS)
After:
size --totals sqstdlib/*.o squirrel/*.o
text data bss dec hex filename
265046 0 0 265046 40b56 (TOTALS)
2016-02-22 22:15:31 +01:00
0378c7016f
Normalize whitespace.
...
Convert files to Unix EOL mode, de-tabify and strip trailing whitespace.
2016-02-15 20:51:20 +01:00
ff7704fa46
Remove double call to an already saved value.
2016-01-18 18:16:56 +00:00
85dfe4b676
first commit
2015-12-22 03:14:21 +08:00