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