62 Commits

Author SHA1 Message Date
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