1 ***version 2.2 stable***
\r
2 -added _newslot metamethod in classes
\r
3 -added enums added constants
\r
4 -added sq_pushconsttable, sq_setconsttable
\r
6 -added octal literals(thx Dinosaur)
\r
7 -fixed debug hook, 'calls' and 'returns' are properly notified in the same number.
\r
8 -fixed a coroutine bug
\r
11 ***version 2.1.2 stable***
\r
12 -new behaviour for generators iteration using foreach
\r
13 now when a generator is iterated by foreach the value returned by a 'return val' statement
\r
14 will terminate the iteration but will not be returned as foreach iteration
\r
15 -added sq_setclassudsize()
\r
17 -added table.clear(), array.clear()
\r
18 -fixed sq_cmp() (thx jyuill)
\r
22 ***version 2.1.1 stable***
\r
24 -optimized internal function memory layout
\r
25 -new global symbol _version_ (is the version string)
\r
26 -code size optimization for float literals(on 32bits float builts)
\r
27 -now the raw ref API(sq_addref etc...) is fully reentrant.
\r
28 -fixed a bug in sq_getdelegate() now pushes null if the object doesn't have a delegate(thx MatzeB)
\r
29 -improved C reference performances in NO_GARBAGE_COLLECTOR builds
\r
30 -sq_getlocal() now enumerates also outer values.
\r
31 -fixed regexp library for GCC users.
\r
34 ***version 2.1 stable***
\r
35 -added static class fields, new keyword static
\r
36 -added 64bits architecture support
\r
37 -added global slot _intsize_ int the base lib to recognize 32bits and 64bits builds
\r
38 -added functions with fixed environment, closure.bindenv() built-in function
\r
39 -all types except userdata and null implement the tostring() method
\r
40 -string concatenation now invokes metamethod _tostring
\r
41 -new metamethods for class objects _newmember and _inherited
\r
42 -sq_call() sq_resume() sq_wakeupvm() have a new signature
\r
43 -new C referencing implementation(scales more with the amount of references)
\r
44 -refactored hash table
\r
45 -new api functions sq_newslot(),sq_tobool(),sq_getbase(), sq_instanceof(), sq_bindenv()
\r
46 -the api func sq_createslot was deprecated but still supported in form of C macro on top of sq_newslot
\r
47 -sq_setreleasehook() now also works for classes
\r
48 -stream.readstr() and stream.writestr() have been deprecated(this affects file and blob)
\r
49 -fixed squirrel.h undeclared api calls
\r
50 -fixed few minor bugs
\r
51 -SQChar is now defined as wchar_t
\r
52 -removed warning when building with -Wall -pedantic for GCC users
\r
53 -added new std io function writeclosuretofile()
\r
54 -added new std string functions strip(),rstrip(),lstrip() and split()
\r
55 -regular expressions operators (+,*) now have more POSIX greedyness behaviour
\r
56 -class constructors are now invoked as normal functions
\r
59 ***version 2.0.5 stable***
\r
60 -fixed some 64bits incompatibilities (thx sarge)
\r
61 -fixed minor bug in the stdlib format() function (thx Rick)
\r
62 -fixed a bug in dofile() that was preventing to compile empty files
\r
63 -added new API sq_poptop() & sq_getfreevariable()
\r
64 -some performance improvements
\r
67 ***version 2.0.4 stable***
\r
68 -weak references and related API calls
\r
69 -added sq_objtobool()
\r
70 -class instances memory policies improved(1 mem allocation for the whole instance)
\r
71 -typetags are now declared as SQUserPointer instead of unsigned int
\r
72 -first pass for 64bits compatibility
\r
73 -fixed minor bug in the stdio stream
\r
74 -fixed a bug in format()
\r
75 -fixed bug in string.tointeger() and string.tofloat()
\r
78 ***version 2.0.3 stable***
\r
79 -dofile() and loadfile() in the iolib now can decode ASCII, UTF8 files UCS2 big-endian and little-endian
\r
80 -sq_setparamscheck() : now typemesk can check for null
\r
81 -added string escape sequence \xhhhh
\r
82 -fixed some C++ standard incompatibilities
\r
85 ***version 2.0.2 stable***
\r
86 -performances improvements (expecially for GCC users)
\r
87 -removed all dependencies from C++ exception handling
\r
91 ***version 2.0.1 stable***
\r
93 -sq_setparamscheck() now allows spaces in the typemask
\r
96 ***version 2.0 stable***
\r
97 -added API sq_gettypetag()
\r
98 -added built-in function to the bool type(tointeger, tostring etc...)
\r
101 ***version 2.0 release candidate 1(RC 1)***
\r
102 -added API sq_reseterror()
\r
103 -modified sq_release()
\r
104 -now class instances can be cloned
\r
108 ***version 2.0 beta 1***
\r
110 -class properties can be redefined in a derived class
\r
111 -added ops *= /= and %=
\r
112 -new syntax for class attributes declaration </ and /> instead of ( and )
\r
113 -increased the max number of literals per function from 65535 to 16777215
\r
114 -now free variables have proper lexical scoping
\r
115 -added API sq_createinstance(), sq_pushbool(), sq_getbool()
\r
116 -added built-in function type()
\r
117 -added built-in function obj.rawin(key) in table,class and instance
\r
118 -sq_rawget() and sq_rawset() now work also on classes and instances
\r
119 -the VM no longer uses C++ exception handling (more suitable for embedded devices)
\r
123 ***version 2.0 alpha 2***
\r
124 -globals scoping changed, now if :: is omitted the VM automatically falls back on the root table
\r
126 -added class level attributes
\r
129 ***version 2.0 alpha 1***
\r
130 -codebase branch from version 1.x
\r
132 -added functions with variable number of parameters(vargc & vargv and the ...)
\r
133 -0 and 0.0 are now considered 'false' by all conditional statements(if,while,for,?,do-while)
\r
134 -added new api functions sq_newclass() sq_setinstanceup() sq_getinstanceup() sq_getattributes() sq_setattributes()
\r
135 -modified api sq_settypetag()
\r
138 ***version 1.0 stable***
\r
139 -fixed some minor bug
\r
140 -improoved operator 'delete' performances
\r
141 -added scientific notation for float numbers( eg. 2.e16 or 2.e-2)
\r
144 ***version 1.0 release candidate 2(RC 2)***
\r
145 -fixed bug in the vm(thx Pierre Renaux)
\r
146 -fixed bug in the optimizer(thx Pierre Renaux)
\r
147 -fixed some bug in the documentation(thx JD)
\r
148 -added new api functions for raw object handling
\r
149 -removed nested multiline comments
\r
150 -reduced memory footprint in C references
\r
153 ***version 1.0 release candidate 1(RC 1)***
\r
154 -fixed division by zero
\r
155 -the 'in' operator and obj.rawget() do not query the default delegate anymore
\r
156 -added function sq_getprintfunc()
\r
157 -added new standard library 'auxlib'(implements default error handlers)
\r
160 ***version 1.0 beta 4***
\r
161 -fixed a bug in the integer.tochar() built-in method
\r
162 -fixed unary minus operator
\r
163 -fixed bug in dofile()
\r
164 -fixed inconsistency between != and == operators(on float/integer comparison)
\r
165 -added javascript style unsigned right shift operator '>>>'
\r
166 -added array(size) constructor built-in function
\r
167 -array.resize(size,[fill]) built-in function accepts an optional 'fill' value
\r
168 -improved debug API, added sq_getclosureinfo() and sq_setnativeclosurename()
\r
171 ***version 1.0 beta 3***
\r
172 -minor vm bug fixes
\r
173 -string allocation is now faster
\r
174 -tables and array memory usage is now less conservative(they shrink)
\r
175 -added regular expression routines in the standard library
\r
176 -The 'c' expression now accepts only 1 character(thx irbrian)
\r
177 -multiline strings <[ ]> have been substituted with C# style verbatim strings (eg. @"string")
\r
178 -added new keyword 'parent' for accessing the delegate of tables and unserdata
\r
179 -The metamethod '_clone' has been renamed '_cloned'
\r
180 -the _delslot metamethod's behaviour and prototype have been changed
\r
181 -new default function in the integer and float object 'tochar()'
\r
182 -the built-in function chcode2string has been removed
\r
183 -the default method [table].getdelegate() has been removed
\r
184 -new api sq_rawdeleteslot()
\r
185 -new table built-in method rawdelete(key)
\r
186 -the dynamic mudule loading has been removed from the standard distribution
\r
187 -some optimizations in the VM
\r
190 ***version 1.0 beta 2***
\r
191 -minor compiler/parser bug fixes
\r
192 -sq_newclosure has a different prototype, the "paramscheck" of paramter has been moved to the new function sq_setparamscheck()
\r
193 -sq_setparamscheck allows to add automatic parameters type checking in native closures
\r
194 -sq_compile() lost the lineinfo parameter
\r
195 -new api sq_enabledebuginfo() globally sets compiler's debug info generation
\r
196 -added consistency check on bytecode serialization
\r
197 -fixed += operator, now works on strings like +
\r
198 -added global slot in the base lib _charsize_ to recognize unicode builds from ascii builds runtime
\r
199 -added registry table
\r
200 -new api call sq_pushregistrytable()
\r
201 -added type tag to the userdata type sq_settypetag()
\r
202 -sq_getuserdata now queries the userdata typetag
\r
203 -the built in function collect_garbage() as been renamed collectgarbage() for consistency reasons
\r
204 -new standard libraries(sqlibs are now obsolete)
\r
207 ***version 1.0 beta 1***
\r
208 -fixed a bug in the compiler (thanks Martin Kofler)
\r
209 -fixed bug in the switch case statement
\r
210 -fixed the _unm metamethod
\r
211 -fixed minor bugs in the API
\r
212 -fixed automatic stack resizing
\r
213 -first beta version
\r
214 first pass code clean up in the VM and base lib
\r
215 first pass code coverege test has been done on VM and built-in lib
\r
216 -new VM creation API sq_open() sq_close() (sq_newvm and sq_releasevm are now obsolete)
\r
217 -new api allows to specifiy a "print" function to output text(sq_printfunc)
\r
218 -added some small optimizations
\r
219 -new cooperative multi-threading capabilities in the base library(coroutines), VMs are now a built in type("thread")
\r
220 -new built in functions have been added for manipulating the new "thread" type
\r
221 -friend virtual machines share the same root table, error handler and debug hook by default
\r
222 -new compile time options
\r
225 ***version 0.9 alpha***
\r
226 -fixed a garbage collection bug
\r
227 -fixed some API bugs(thanks to Joshua Jensen)
\r
228 -fixed tail calls (in the version 0.8 the tail call optimization was erroneously disabled)
\r
229 -new function parameters semantic, now passing a wrong number of parameters generates an exception
\r
230 -native closures have now a built in parameter number checking
\r
231 -sq_rawget and sq_rawset now work also on arrays
\r
232 -sq_getsize now woks also on userdata
\r
233 -the userdata release hook prototype is changed(now passes the size of the userdata)
\r
234 -the lexer reader function now returns an integer instead of a char that allows better error checking on the input(thx Joshua Jensen)
\r
236 -try/catch blocks do not cause any runtime memory allocation anymore
\r
239 ***version 0.8 alpha***
\r
240 -fixed a bug that was preventing to have callable userdata throught the metamethod _call
\r
241 -fixed a garbage collection bug
\r
242 -fixed == operator now can compare correctly different types
\r
243 -new built in method getstackinfos(level)
\r
244 -improoved line informations precision for the debug hook
\r
245 -new api call sq_compilebuffer()
\r
246 -new built-in api function compilestring()
\r
247 -new syntactic sugar for function declarations inside tables
\r
248 -the debug API has been finalized
\r
251 ***version 0.7 alpha***
\r
252 -fixed critical bug SQInteger the tail call system
\r
253 -fixed bug in the continue statement code generation
\r
254 -fixed func call param issue(thanks to Rewoonenco Andrew)
\r
255 -added _delslot metamethod(thanks to Rewoonenco Andrew)
\r
256 -new multiline string expression ( delimited by <[ and ]> )
\r
257 -normal strings ("") do not allow embedded new line anymore
\r
258 -reduced vm memory footprint(C refs are shared between friend VMs)
\r
259 -new api method sq_deleteslot()
\r
260 -new debug hook event 'r' is triggered when a function returns
\r
263 ***version 0.6 alpha***
\r
264 -fixed switch statement(was executing the default case after a break)
\r
265 -sq_call() doesn't pop the closure (just the params)
\r
266 -the vm execution can be suspended from the C API anytime (micro-threads)
\r
267 -new api calls sq_suspendvm() sq_wakeupvm() sq_getvmstate() and sq_reservestack()
\r
270 ***version 0.5 alpha***
\r
271 -fixed some minor bug
\r
272 -tested with non ASCII identifiers in unicode mode(I've tried chinese chars)
\r
273 -added built-in function string.find()
\r
274 -the built-in function array.sort() optionally accepts a cmp(a,b) function
\r
275 -the debug hook function now has a new prototype debug_hook(event_type,sourcefile,line,functionname)
\r
276 -fixed some debug info imprecision
\r
279 ***version 0.4 alpha***
\r
281 -sq_call will pop arguments and closure also in case of failure
\r
282 -fixed a bug in sq_remove
\r
283 -now the VM detects delegation cycles(and throws an exception)
\r
284 -new operators ++ and --
\r
285 -new operator ',' comma operator
\r
286 -fixed some expression precedence issue
\r
287 -fixed bug in sq_arraypop
\r
290 ***version 0.3 alpha***
\r
291 -fixed a bug in array::insert()
\r
292 -optional Unicode core(define SQUNICODE or _UNICODE on Win32)
\r
293 -sq_compiler uses a new reader function SQLEXREADFUNC
\r
294 -the debug hook passes 'l' instead of 'line' for line callbacks
\r
295 and 'c' instead of 'call' for call callbacks
\r
296 -new array.extend() bulit-in function
\r
297 -new API sq_clone()
\r
300 ***version 0.2 pre-alpha***
\r
301 -new completely reentrant VM (sq_open and sq_close are now obsolete)
\r
302 -sq_newvm() has a new prototype
\r
303 -allocators are now global and linked in the VM
\r
304 -_newslot meta method added
\r
305 -rawset creates a slot if doesn't exists
\r
306 -the compiler error callback pass the vm handle(thanks Pierre Renaux)
\r
307 -sq_setforeignptr() sq_getforeingptr() are now public
\r
308 -sq_resume() now is possible to resume generators from C
\r
309 -sq_getlasterror() retrieve the last thrown error
\r
313 ***version 0.1 pre-alpha***
\r