Avelino
48842f0979
fixing indentation error and return object delegate cycle
2016-08-17 20:23:08 -03:00
Avelino
f3bb11ef99
fixed typo, file indentation
2016-08-13 18:01:21 -03:00
Avelino
36c308bf57
Fixed code style, remove the warning from gcc
...
issue #69
2016-08-13 17:45:05 -03:00
albertodemichelis
17124aa789
Merge branch 'master' of https://github.com/albertodemichelis/squirrel
2016-07-30 19:09:53 +08:00
albertodemichelis
2ad9683f54
added rawcall
2016-07-30 19:09:40 +08:00
zeromus
d81f7e1c9d
fix typo in sq_writeclosure error message
2016-06-26 20:19:51 -05:00
Alberto Demichelis
7aadf19f34
Merge pull request #63 from zeromus/master
...
documentation fixups
2016-06-24 23:50:16 +08:00
zeromus
98b5cc434d
support sq_getinteger() for bools (returns SQFalse or SQTrue in the SQInteger). Useful for format("%d",mybool)
2016-06-19 18:48:46 -05:00
zeromus
7290b1fffe
docs & error message tidy
2016-06-19 15:44:00 -05:00
Alberto Demichelis
26ef4c4f5e
Merge pull request #54 from Dwachs/no_warning_unused
...
FIX: no warnings on unused arguments on non-gnu compilers
2016-06-15 15:04:47 +08:00
zeromus
3c4098da84
small docs fixes. small typo fixes in sqapi.cpp error messages
2016-06-13 20:19:32 -05:00
zeromus
997c7aefd2
Update sqapi.cpp
...
change comment "pop closure and args" to "pop args" in sq_call().
the code clearly pops only args.
the docs say: "the function pops all the parameters and leave the closure in the stack"
2016-06-11 16:48:22 -05:00
Dwachs
2e346b54ac
FIX: no warnings on unused arguments on non-gnu compilers
2016-06-08 21:08:38 +02:00
albertodemichelis
f441f7f99d
small fix in sq_getstringandsize
2016-05-16 01:44:13 +08:00
zeromus
0961039dd7
change sq_getpstring to sq_getstringandsize
2016-05-15 00:53:11 -05:00
zeromus
656c6a0d68
add SQPString and sq_getpstring() - an easy way to retrieve strings along with their size, to avoid useless strlens later. it's named PString to suggest that it's like a pascal-style PSTring, prefixed with the length--that's basically what it is.
2016-05-10 20:56:46 -05:00
albertodemichelis
16ab1fd6c0
Merge branch 'master' of https://github.com/albertodemichelis/squirrel
2016-05-07 02:38:55 +08:00
albertodemichelis
2aef08d0a5
fixed fallback set
...
removed some cruft
2016-05-07 02:38:41 +08:00
zeromus
7bb5dd4982
move TARGET and STK to sqvm.cpp instead of SQ to reduce probability of collisions in case inner headers are included
2016-05-05 10:23:55 -05:00
Sandu Liviu Catalin
692d4958e8
Remove empty statement.
2016-04-28 00:06:57 +03:00
zeromus
7305257b95
tidy sq_setreleasehook and sq_getreleasehook
2016-04-20 20:50:53 -05:00
appetizermaker
ed23d140df
Fix small mistake on sqlexer.cpp
2016-04-19 23:25:08 +09:00
zeromus
953d9e9771
fix typo in error messages: "stack overflow, cannot resize stack while in a metamethod"
2016-04-14 18:17:45 -05:00
albertodemichelis
04a4ff5c8d
fixed warning
2016-03-22 22:17:39 +08:00
Domingo Alvarez Duarte
9245970906
Fix conversion of integers base >= 14
2016-03-21 23:11:46 +00:00
Fabian Wolff
ba57d3b592
Add option to disable static targets
2016-03-17 12:44:03 +01:00
Fabian Wolff
89b5c519af
Improve Linux build
2016-03-16 00:01:16 +01:00
Fabian Wolff
2592e50f83
Implement more flexible installation
2016-03-13 14:36:10 +01:00
Fabian Wolff
dc4eb2ad3e
Fix DLL installation with MSVC
2016-03-08 14:48:19 +01:00
Fabian Wolff
d9ce07f065
Merge branch master
2016-03-08 13:59:33 +01:00
Fabian Wolff
2fb3522470
Various improvements
2016-03-06 19:43:57 +01:00
Markus F.X.J. Oberhumer
6dee69057e
Silence all -Wunused-parameter warnings.
2016-03-06 16:15:13 +01:00
Markus F.X.J. Oberhumer
bf2c28b0ce
Silence all -Wmissing-field-initializer warnings.
2016-03-06 16:04:32 +01:00
Markus F.X.J. Oberhumer
026671b3d5
Silence some pedantic compilation warnings.
2016-03-06 15:49:46 +01:00
Markus F.X.J. Oberhumer
8dfee6dedd
Remove trailing whitespace.
2016-03-06 15:48:37 +01:00
albertodemichelis
737ea798a8
added \u and \U escape sequence for UTF8,UTF16 or UCS4 characters
...
the escape character \x is based on sizeof(SQChar)
2016-03-05 19:29:14 +08:00
Markus F.X.J. Oberhumer
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
Markus F.X.J. Oberhumer
0378c7016f
Normalize whitespace.
...
Convert files to Unix EOL mode, de-tabify and strip trailing whitespace.
2016-02-15 20:51:20 +01:00
M1cha
0568675561
switch to CMake build system
2016-02-02 23:25:37 +01:00
albertodemichelis
b14fc118c0
fixed regression in sq_resume
2016-01-26 00:02:39 +08:00
albertodemichelis
887f121555
overflow fix in modulo and division
2016-01-26 00:01:26 +08:00
Peter Hartley
d23b238093
Ensure class constructors are functions
2016-01-24 01:17:37 +08:00
Peter Hartley
42ebb979ae
Correct -ve string and array slicing
2016-01-24 01:16:22 +08:00
Peter Hartley
c2e0203195
Fix for throwing exception from resumed generator
2016-01-24 01:03:08 +08:00
mingodad
cf5b6bbabf
Add array to the list of invalid types for sq_bindenv.
...
Remove duplicated function calls with same parameters.
2016-01-18 20:48:39 +00:00
mingodad
be2955b926
Remove multiple calls with same parameter by only one call.
2016-01-18 19:27:16 +00:00
mingodad
fc3da7819f
Fix possible buffer overflow, sizeof(SQChar) can be > 1 and the we need to reserve/allocate the correct size.
2016-01-18 19:00:59 +00:00
albertodemichelis
85dfe4b676
first commit
2015-12-22 03:14:21 +08:00