mingodad
|
fe55aac029
Added the new HSQUIRRELVM parameter to the release hook functions.
|
13 years ago |
mingodad
|
a335787e54
Completed the creation of a statement from the database method prepare.
|
13 years ago |
mingodad
|
4e87b9684f
Fix the tcp instance creation on method accept.
|
13 years ago |
mingodad
|
3ce65dde6a
Added a new container function "get" that accepts a default parameter to return in case of key not found, rawget was extended to accept a default parameter as well.
|
13 years ago |
mingodad
|
7c7374566a
Add SQLITE_TRANSIENT to sqlite3_bind_text to force sqlite3 make a private copy of the string.
|
13 years ago |
mingodad
|
4a79190fef
Fix a mistake call to inflateEnd when it should be deflateEnd.
|
13 years ago |
mingodad
|
78a386f709
If there is a sequence of \r\n eat the \r and emit only \n.
|
13 years ago |
mingodad
|
cece7487ba
Finally got it to work the lua version escape some chars in a way incompatible with Squirrel, plus arithmetic errors.
|
13 years ago |
mingodad
|
a9e45c1c7a
Correct a mistake of saving a pointer position inside scratchpad that just before it is reallocated, when the memory returned is not the same it was writing to invalid address.
|
13 years ago |
mingodad
|
8c9f47325e
Correct a mistake when deciding to use _allocated or _size.
|
13 years ago |
mingodad
|
ff5347acc2
More new api functions that exists in Lua but is missing on Squirrel
|
13 years ago |
mingodad
|
cab23472ea
Added a port of Luasockets to SquiLu.
|
13 years ago |
mingodad
|
122b25b04e
Add a new line only for stetic
|
13 years ago |
mingodad
|
0e6d14367a
Forgot to increase line numbers after newline when parsing lua style literal strings
|
13 years ago |
mingodad
|
f4aaf6bcd6
Commented the warning on ignored keywords (right now only "new").
|
13 years ago |
mingodad
|
fb2bfb0292
Add 2 new api functions to make easy and less verbose write extensions
|
13 years ago |
mingodad
|
e8fe33faab
Changed the format for print source and line on stack dumps so scite editor can recognize then
|
13 years ago |
mingodad
|
a50075876f
Add new squirrel vm parameter to release hook functions
|
13 years ago |
mingodad
|
6f591ab367
Add new squirrel vm parameter to release hook functions
|
13 years ago |
mingodad
|
b43f799998
On the implementation of string.gsub make checks on the result of sq_get to not go forward if it doesn't succeed.
|
13 years ago |
mingodad
|
40d62ed700
Add a better management when we encounter a ']' that is not the real termination.
|
13 years ago |
mingodad
|
c55856a790
Another corner case when found ']' that is not the real end termination.
|
13 years ago |
mingodad
|
c1bdfe7919
Remove the modification on the compiler to prevent a identifier alone, Fagiano says that this is a language feature, for instance to have the side effect in case the _get method is implemented, also this modification makes the stack grow by one element all the time.
|
13 years ago |
mingodad
|
174267debe
Hiding the vector that holds delayed release hooks, add a function to add delayed release hooks, add a flag to prevent loops when actually doing the delayed release hooks calls.
|
13 years ago |
mingodad
|
aaa9e0b2df
Create a function "SQSharedState::CallDelayedReleaseHooks(SQVM *vm, int count)" to manage the delayed release hooks, call then on first in first out basis, modify userdata release to also join delayed release hooks.
|
13 years ago |
mingodad
|
1829e76e0f
Add a vector to SharedState where to store release hooks to be called when is safe to work with the vm, right now I'm calling it after calls to closures and whe finalizing the vm.
|
13 years ago |
mingodad
|
f5c2defb30
Fixed corner cases where like 'const char array[]= "string";' been interpreted as end of string, this implementation requires at least one '=' between brackets.
|
13 years ago |
mingodad
|
e5bebadb45
Forgot to discard a newline if it follows the Lua literal delimiter.
|
13 years ago |
mingodad
|
3eaf8b9cc7
Added Lua like string literal delimiters, nested is not implemented
|
13 years ago |
mingodad
|
e9da3f5611
First try to fix bug in compiler that accepts identifiers alone silently.
|
13 years ago |