Fabian Wolff
2592e50f83
Implement more flexible installation
2016-03-13 14:36:10 +01:00
Fabian Wolff
e9f7d4f264
Add -Wcast-qual to g++ flags
2016-03-09 18:17:21 +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
albertodemichelis
3090721fc6
solved annoying clang warning
2016-03-07 23:57:01 +08:00
albertodemichelis
a9362e22df
Merge pull request #21 from mfxmfx/silence-warnings
...
Silence compiler warnings
2016-03-07 23:39:44 +08: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
b115b84dd1
escape() fix for different SQChar sizes
2016-03-06 22:00:17 +08: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
albertodemichelis
26d018d8b5
Merge pull request #18 from mfxmfx/master
...
Normalize whitespace and improve const-correctness.
2016-02-29 23:39:34 +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
albertodemichelis
20f6f78c8d
Merge pull request #12 from M1cha/master
...
added CMake build system
2016-02-04 00:57:04 +08: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
00f7a65aae
Dont allow regexping off the end of a string
2016-01-24 01:15:08 +08:00
Peter Hartley
c2e0203195
Fix for throwing exception from resumed generator
2016-01-24 01:03:08 +08:00
albertodemichelis
b6a7d1da2d
Merge pull request #1 from mingodad/master
...
Add a section to create missing folders on the main Makefile, few fixes in API
2016-01-21 19:57:12 +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
85e82ea746
Remove set of unused variables.
...
Add a new matching rule \m that behaves similar to lua %b, it matches a balanced open and close characters ex:
\m() <- will match a balanced pair of ( and )
\m{} <- will match a balanced pair of { and }
See lua %b for more info.
Also include a nut file as example.
2016-01-18 20:32:38 +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
mingodad
ff7704fa46
Remove double call to an already saved value.
2016-01-18 18:16:56 +00:00
mingodad
07fb2e313f
Add a section to create missing folders on the main Makefile
2016-01-18 17:56:20 +00:00
albertodemichelis
85dfe4b676
first commit
2015-12-22 03:14:21 +08:00