Revert "Update to SQUIRREL 3.0.4"
[supertux.git] / external / squirrel / HISTORY
old mode 100644 (file)
new mode 100755 (executable)
index 435d4f4..31b8a8f
-***version 3.0.4 stable***\r
--sq_deleteslot slot now pops the key in case of failure\r
--fixed bug when _get metamethod throws null\r
--fixed a bug in rstrip\r
--added some error handling\r
--minor bugfixes\r
-\r
-***2012-06-19             ***\r
-***version 3.0.3 stable***\r
--improved error messages for _cmp(when a non integer value is returned) (thx Yexo)\r
--added class.newmember() built in method (thx Nam)\r
--added class.rawnewmember()  built in method (thx Nam)\r
--added sq_rawnewmember() (thx Nam)\r
--added sq_getversion()\r
--added sq_typeof()\r
--added sq_getclosurename()\r
--added file.close() in stdlib\r
--documented closure.getinfos() built-in method\r
--fixed string iteration doesn't return negative numbers for characters > 127\r
--fixed bug in tofloat() when converting a string with scientific notation without a decimal point (thx wr2)\r
--fixed potential infinite loop in array.sort() when the _cmp function is inconsistent (thx Yexo)\r
--fixed obscure bug in the compiler(thx yishin)\r
--fixed some minor bug\r
-\r
-***2011-11-28             ***\r
-***version 3.0.2 stable***\r
--added sq_gethash API\r
+***version 2.2.5 stable***\r
+-sq_getsize() now returns userdatasize for classes and instances\r
+-added parameter 'isstatic' to _newmember metamethod(thx G.Meyer)\r
 -now array.sort() is implemented with heapsort\r
+-added SQUIRREL_VERSION_NUMBER preprocessor definition\r
 -now floats in scientific notation also accept numbers with no '.' (eg. 1e+6 or 1e6)\r
--fixed some warning\r
--fixed some documentation\r
--fixed bug in GC\r
-\r
-***2011-09-08             ***\r
-***version 3.0.1 stable***\r
--added # as alternative symbol for "line comment"(mostly useful for shell scripts)\r
--added sq_throwobject() to throw an arbitrary object from the C API\r
--added alignement flag for userdata types, SQ_ALIGNMENT (thx Shigemasa)\r
--added rawset() and rawget() to class and instance default delegate\r
--changed bytecode format now ensures matching integer size and float size\r
--now inherited classes also inherit userdatasize\r
--added SQUIRREL_VERSION_NUMBER in squirrel.h and _versionnumber_ global symbol\r
--fixed sq_getmemberhandle\r
--fixed sq_getrefcount\r
--refactored some sqstdio code\r
--refactored some clone code\r
--refactored some stuff in the string lib\r
--added -s and -fno-exceptions in GCC makefile(better performance when using GCC)\r
-\r
-***2011-03-13        ***\r
-***version 3.0 stable***\r
--added sq_getcallee()\r
--sq_getfreevariable() also works for native closures\r
--minior optimizations\r
--removed several warning when compiling with GCC 4.x\r
--fixed some errors in the documentation\r
--fixed bug when using SQUSEDOUBLE and 32bits intengers\r
--fixed bug when invoking generators with closure.call() (thx huntercool)\r
-\r
-***2010-12-19                                          ***\r
-***version 3.0 release candidate 1(RC 1)***\r
--improved metamethods error handling\r
--added parameter 'isstatic' to _newmember metamethod(thx G.Meyer)\r
--added sq_getrefcount() to return number of refences from C++(thx G.Meyer)\r
-\r
-***2010-11-07        ***\r
-***version 3.0 beta 3***\r
--license changed to "MIT license"\r
--added sq_resurrectunreachable() and resurrectunreachable()\r
--added callee() built in function, returns the current running closure\r
--added thread.getstackinfos()\r
--added sq_objtouserpointer()\r
--added sq_newtableex()\r
--various refactoring and optimizations\r
--fixed several 64bits issues regarding integer to string conversions\r
+-fixed some compiler warning\r
+-fixed a minor compiler bug\r
 -fixed some bugs when SQUSEDOUBLE is used in 32bits systems\r
+-fixed bug in GC\r
 \r
-***2010-08-18          ***\r
-***version 3.0 beta 2.1***\r
--fixed bug in class constructor\r
--fixed bug in compound arith\r
+***2009-11-15          ***\r
+***version 2.2.4 stable***\r
+-fixed bug in functions with default parameters\r
 \r
-***2010-08-12        ***\r
-***version 3.0 beta 2***\r
--class methods can be added or replaced after the class as been instantiated\r
--JSON compliant table syntax, this is currently an experimental feature (thx atai)\r
--sq_getsize() now returns userdatasize for classes and instances\r
--now setroottable() and setconsttable() return the previous value of the respective table\r
--fixed bug in compound arith operators when used on a free variable (thx ellon)\r
--fixed some x64 minor bugs\r
--fixed minor bug in the compiler\r
--refactored some VM internals\r
--documented sq_getmemberhandle, sq_getbyhandle, sq_setbyhandle to set and get value from classes\r
-\r
-***2009-11-15        ***\r
-***version 3.0 beta 1***\r
--various refactoring and optimizations\r
--fixed bug in free variables (thx mokehehe)\r
--fixed bug in functions with default parameters (thx ara & Yexo)\r
--fixed bug in exception handling\r
--improved error propagation in _set and _get metamethods ( and 'throw null' for clean failure)\r
--added sq_getmemberhandle, sq_getbyhandle, sq_setbyhandle to set and get value from classes\r
-\r
-***2009-06-30         ***\r
-***version 3.0 alpha 2***\r
--added real free variables(thx Paul Ruizendaal)\r
--added refactored function call implementation and compiler(thx Paul Ruizendaal)\r
+***2009-06-30          ***\r
+***version 2.2.3 stable***\r
 -added sq_getfunctioninfo\r
 -added compile time flag SQUSEDOUBLE to use double precision floats\r
 -added global slot _floatsize_ int the base lib to recognize single precision and double precision builds\r
 -sq_wakeupvm can now resume the vm with an exception\r
 -added sqstd_format\r
--now blobs can be cloned\r
 -generators can now be instantiated by calling sq_call() or closure.call()\r
--fixed debughook bug\r
--fixed cooroutine error propagation\r
-\r
-***2008-07-23         ***\r
-***version 3.0 alpha 1***\r
--first branch from 2.x source tree\r
--added 'base' keyword\r
--removed 'delegate' keyword\r
--now compiled scripts are vararg functions\r
--added setdelegate() and getdelegate() table builtin methods\r
--added <=> 3 ways compare operator\r
--added lambda expression @(a,b) a + b\r
--added local function statement\r
--added array built-in map(),reduce(),apply(),filter() and find()\r
--generators hold only a weak reference of the enviroment object\r
--removed 'vargv' and 'vargc' keywords\r
--now var args are passed as an array called vargv(as a paramter)\r
--removed 'parent' keyword\r
--added class getbase() built in method\r
--instanceof doesn't throw an exception if the left expression is not a class\r
--lexical scoping for free variables(free variables are no longer in the second parameter list)\r
--sq_setprintfunc accept error func\r
--sq_geterrorfunc()\r
+-fixed a bug in sqstd_printcallstack(thx takayuki_h)\r
+-fixed modulo by zero(thx jup)\r
+-fixed negative enums and constants\r
+-fixed generator crash bug if invoked as tail call (thx Mr.Accident)\r
+-fixed some minor bug\r
+\r
+***2008-09-24          ***\r
+***version 2.2.2 stable***\r
+-fixed some behaviour inconsistencies in thread.call() and thread.wakeup() (thx Mr.Accident)\r
+-fixed coroutine error propagation\r
+-fixed lingering return value from native function (thx Tom Leonard)\r
+-fixed a bug if array.sort() is given a bad sort function (thx Tom Leonard)\r
+-fixed some minor api bug\r
 -added sq_arrayremove() and sq_arrayinsert()\r
--error() built in function(works like print but prints using the errorfunc)\r
--added native debug hook\r
 \r
-***2008-02-17        ***\r
-***version 2.2 stable***\r
+***2008-05-16          ***\r
+***version 2.2.1 stable***\r
+-fixed a tailcall bug\r
+\r
+***2008-02-17          ***\r
+***version 2.2 stable  ***\r
 -added _newslot metamethod in classes\r
 -added enums added constants\r
 -added sq_pushconsttable, sq_setconsttable\r
@@ -160,7 +61,7 @@ will terminate the iteration but will not be returned as foreach iteration
 -fixed sq_cmp() (thx jyuill)\r
 -fixed minor bugs\r
 \r
-***2006-08-21             ***\r
+***2006-08-21       ***\r
 ***version 2.1.1 stable***\r
 -vm refactoring\r
 -optimized internal function memory layout\r
@@ -279,7 +180,7 @@ will terminate the iteration but will not be returned as foreach iteration
 ***2004-11-01        ***\r
 ***version 1.0 stable***\r
 -fixed some minor bug\r
--improved operator 'delete' performances\r
+-improoved operator 'delete' performances\r
 -added scientific notation for float numbers( eg. 2.e16 or 2.e-2)\r
 \r
 ***2004-08-30        ***\r
@@ -383,7 +284,7 @@ will terminate the iteration but will not be returned as foreach iteration
 -fixed a garbage collection bug\r
 -fixed == operator now can compare correctly different types\r
 -new built in method getstackinfos(level)\r
--improved line informations precision for the debug hook\r
+-improoved line informations precision for the debug hook\r
 -new api call sq_compilebuffer()\r
 -new built-in api function compilestring()\r
 -new syntactic sugar for function declarations inside tables\r