HISTORY 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535
  1. ***version 3.2 stable***
  2. -added new inline bind env syntax for closures
  3. -added sq_tailcall
  4. -added rawcall keyword
  5. -added post call initializer syntax
  6. -added table.keys() and table.values()
  7. -added table.filter()
  8. -added skipempty in split()
  9. -additional parameters in array.map() and array.apply()
  10. -additional optional initializer in array.reduce()
  11. -added sqstd_pushstringf and sqstd_throwerrorf
  12. -closure.call() is now a "native tailcall" and the invoked function can now be suspended
  13. -fixed sq_newmember and sq_rawnewmember properly pop parameters
  14. -fixed capturing free variable on for loop counter before a break statement
  15. -fixed \u in lexer
  16. -various bugfixes
  17. -sq_gettypetag doesn't set last error(it's treated as SQBool function but keeps a SQRESULT for backward compatibility)
  18. -fixed _set method in userdata delegates
  19. -fixed some warnings
  20. ***2016-03-27 ***
  21. ***version 3.1 stable***
  22. -added slice range for tolower and toupper
  23. -added startswith() and endswith() in string lib
  24. -added SQ_EXCLUDE_DEFAULT_MEMFUNCTIONS to exclude default mem fuction from compilation
  25. -added sq_getreleasehook
  26. -added thread.wakeupthrow()
  27. -added sq_pushthread
  28. -added \u and \U escape sequence for UTF8,UTF16 or UCS4 characters
  29. -added CMake scripts(thx Fabian Wolff)
  30. -the escape character \x is based on sizeof(SQChar)
  31. -fixed several warnings(thx Markus Oberhumer)
  32. -fixed optimizer bug in compound arith oprators(+=,-= etc...)
  33. -fixed sq_getrefvmcount() (thx Gerrit)
  34. -fixed sq_getrefcount() when no references were added with sq_addref() (thx Gerrit)
  35. -fixed bug in string.tointeger() (thx Domingo)
  36. -fixed weakref comparison in 32bit builds using doubles(thx Domingo)
  37. -fixed compiler bug(thx Peter)
  38. -fixed some error in the documentation(thx Alexander)
  39. -fixed some error reporting in compiler(thx Alexander)
  40. -fixed incorrect optional semicolon after "if block"(thx Alexander)
  41. -fixed crash bug in compiler related to compound arith operators(+=,-= etc...) (thx Jeff1)
  42. ***2015-01-10 ***
  43. ***version 3.1 RC 1***
  44. -added new header sqconfig.h for all optional type declarations(unicode, 64bits etc..)
  45. -added sq_setsharedforeignptr sq_getsharedforeignptr
  46. -added sq_setsharedreleasehook sq_getsharedreleasehook
  47. -added escape() in sqstd string library
  48. -added __LINE__ and __FILE__ (thx mingodad)
  49. -widechar support on gcc builds
  50. -now boolean can be used in constants
  51. -reduced dependencies on C runtime library
  52. -newthread and sq_newthread() no longer reinitialize the root table on friend VMs(thx Lucas Cardellini)
  53. -exceptions in the _inherited metamethod are propagated(thx Lucas Cardellini)
  54. -'in' operator performance improvement(thx unagipai and mingodad)
  55. -fixes crash in compiler when trying to write 'base'
  56. -fixed bug in switch statement when using locals as case values (thx mingodad)
  57. -fixed bug in print()(thx Lucas Cardellini)
  58. ***2013-08-30 ***
  59. ***version 3.1 beta 1***
  60. -added new scoping rule(root attached to closures)
  61. -added closure.setroot() closure.getroot()
  62. -added sq_setclosureroot() and sq_getclosureroot()
  63. -added sq_setvmreleasehook() and sq_getvmreleasehook()
  64. -added documentaion for sq_getbase()
  65. -now string.tointeger() accepts an optional parameter 'base'
  66. -now format accepts zeroes in the format string (thx mingodad)
  67. -fixed bug in sqstd_createfile() (thx mingodad)
  68. -minor buxfixes
  69. ***2012-11-10 ***
  70. ***version 3.0.4 stable***
  71. -sq_deleteslot slot now pops the key in case of failure
  72. -fixed bug when _get metamethod throws null
  73. -fixed a bug in rstrip
  74. -added some error handling
  75. -minor bugfixes
  76. ***2012-06-19 ***
  77. ***version 3.1.0 alpha 1***
  78. -changed in and instanceof operator precendence
  79. -root object in closures
  80. -added closure.setroot closure.getroot
  81. -added sq_setclosureroot and sq_getclosureroot
  82. ***version 3.0.3 stable***
  83. -improved error messages for _cmp(when a non integer value is returned) (thx Yexo)
  84. -added class.newmember() built in method (thx Nam)
  85. -added class.rawnewmember() built in method (thx Nam)
  86. -added sq_rawnewmember() (thx Nam)
  87. -added sq_getversion()
  88. -added sq_typeof()
  89. -added sq_getclosurename()
  90. -added file.close() in stdlib
  91. -documented closure.getinfos() built-in method
  92. -fixed string iteration doesn't return negative numbers for characters > 127
  93. -fixed bug in tofloat() when converting a string with scientific notation without a decimal point (thx wr2)
  94. -fixed potential infinite loop in array.sort() when the _cmp function is inconsistent (thx Yexo)
  95. -fixed obscure bug in the compiler(thx yishin)
  96. -fixed some minor bug
  97. ***2011-11-28 ***
  98. ***version 3.0.2 stable***
  99. -added sq_gethash API
  100. -now array.sort() is implemented with heapsort
  101. -now floats in scientific notation also accept numbers with no '.' (eg. 1e+6 or 1e6)
  102. -fixed some warning
  103. -fixed some documentation
  104. -fixed bug in GC
  105. ***2011-09-08 ***
  106. ***version 3.0.1 stable***
  107. -added # as alternative symbol for "line comment"(mostly useful for shell scripts)
  108. -added sq_throwobject() to throw an arbitrary object from the C API
  109. -added alignement flag for userdata types, SQ_ALIGNMENT (thx Shigemasa)
  110. -added rawset() and rawget() to class and instance default delegate
  111. -changed bytecode format now ensures matching integer size and float size
  112. -now inherited classes also inherit userdatasize
  113. -added SQUIRREL_VERSION_NUMBER in squirrel.h and _versionnumber_ global symbol
  114. -fixed sq_getmemberhandle
  115. -fixed sq_getrefcount
  116. -refactored some sqstdio code
  117. -refactored some clone code
  118. -refactored some stuff in the string lib
  119. -added -s and -fno-exceptions in GCC makefile(better performance when using GCC)
  120. ***2011-03-13 ***
  121. ***version 3.0 stable***
  122. -added sq_getcallee()
  123. -sq_getfreevariable() also works for native closures
  124. -minior optimizations
  125. -removed several warning when compiling with GCC 4.x
  126. -fixed some errors in the documentation
  127. -fixed bug when using SQUSEDOUBLE and 32bits intengers
  128. -fixed bug when invoking generators with closure.call() (thx huntercool)
  129. ***2010-12-19 ***
  130. ***version 3.0 release candidate 1(RC 1)***
  131. -improved metamethods error handling
  132. -added parameter 'isstatic' to _newmember metamethod(thx G.Meyer)
  133. -added sq_getrefcount() to return number of refences from C++(thx G.Meyer)
  134. ***2010-11-07 ***
  135. ***version 3.0 beta 3***
  136. -license changed to "MIT license"
  137. -added sq_resurrectunreachable() and resurrectunreachable()
  138. -added callee() built in function, returns the current running closure
  139. -added thread.getstackinfos()
  140. -added sq_objtouserpointer()
  141. -added sq_newtableex()
  142. -various refactoring and optimizations
  143. -fixed several 64bits issues regarding integer to string conversions
  144. -fixed some bugs when SQUSEDOUBLE is used in 32bits systems
  145. ***2010-08-18 ***
  146. ***version 3.0 beta 2.1***
  147. -fixed bug in class constructor
  148. -fixed bug in compound arith
  149. ***2010-08-12 ***
  150. ***version 3.0 beta 2***
  151. -class methods can be added or replaced after the class as been instantiated
  152. -JSON compliant table syntax, this is currently an experimental feature (thx atai)
  153. -sq_getsize() now returns userdatasize for classes and instances
  154. -now setroottable() and setconsttable() return the previous value of the respective table
  155. -fixed bug in compound arith operators when used on a free variable (thx ellon)
  156. -fixed some x64 minor bugs
  157. -fixed minor bug in the compiler
  158. -refactored some VM internals
  159. -documented sq_getmemberhandle, sq_getbyhandle, sq_setbyhandle to set and get value from classes
  160. ***2009-11-15 ***
  161. ***version 3.0 beta 1***
  162. -various refactoring and optimizations
  163. -fixed bug in free variables (thx mokehehe)
  164. -fixed bug in functions with default parameters (thx ara & Yexo)
  165. -fixed bug in exception handling
  166. -improved error propagation in _set and _get metamethods ( and 'throw null' for clean failure)
  167. -added sq_getmemberhandle, sq_getbyhandle, sq_setbyhandle to set and get value from classes
  168. ***2009-06-30 ***
  169. ***version 3.0 alpha 2***
  170. -added real free variables(thx Paul Ruizendaal)
  171. -added refactored function call implementation and compiler(thx Paul Ruizendaal)
  172. -added sq_getfunctioninfo
  173. -added compile time flag SQUSEDOUBLE to use double precision floats
  174. -added global slot _floatsize_ int the base lib to recognize single precision and double precision builds
  175. -sq_wakeupvm can now resume the vm with an exception
  176. -added sqstd_format
  177. -now blobs can be cloned
  178. -generators can now be instantiated by calling sq_call() or closure.call()
  179. -fixed debughook bug
  180. -fixed cooroutine error propagation
  181. ***2008-07-23 ***
  182. ***version 3.0 alpha 1***
  183. -first branch from 2.x source tree
  184. -added 'base' keyword
  185. -removed 'delegate' keyword
  186. -now compiled scripts are vararg functions
  187. -added setdelegate() and getdelegate() table builtin methods
  188. -added <=> 3 ways compare operator
  189. -added lambda expression @(a,b) a + b
  190. -added local function statement
  191. -added array built-in map(),reduce(),apply(),filter() and find()
  192. -generators hold only a weak reference of the enviroment object
  193. -removed 'vargv' and 'vargc' keywords
  194. -now var args are passed as an array called vargv(as a paramter)
  195. -removed 'parent' keyword
  196. -added class getbase() built in method
  197. -instanceof doesn't throw an exception if the left expression is not a class
  198. -lexical scoping for free variables(free variables are no longer in the second parameter list)
  199. -sq_setprintfunc accept error func
  200. -sq_geterrorfunc()
  201. -added sq_arrayremove() and sq_arrayinsert()
  202. -error() built in function(works like print but prints using the errorfunc)
  203. -added native debug hook
  204. ***2008-02-17 ***
  205. ***version 2.2 stable***
  206. -added _newslot metamethod in classes
  207. -added enums added constants
  208. -added sq_pushconsttable, sq_setconsttable
  209. -added default param
  210. -added octal literals(thx Dinosaur)
  211. -fixed debug hook, 'calls' and 'returns' are properly notified in the same number.
  212. -fixed a coroutine bug
  213. ***2007-07-29 ***
  214. ***version 2.1.2 stable***
  215. -new behaviour for generators iteration using foreach
  216. now when a generator is iterated by foreach the value returned by a 'return val' statement
  217. will terminate the iteration but will not be returned as foreach iteration
  218. -added sq_setclassudsize()
  219. -added sq_clear()
  220. -added table.clear(), array.clear()
  221. -fixed sq_cmp() (thx jyuill)
  222. -fixed minor bugs
  223. ***2006-08-21 ***
  224. ***version 2.1.1 stable***
  225. -vm refactoring
  226. -optimized internal function memory layout
  227. -new global symbol _version_ (is the version string)
  228. -code size optimization for float literals(on 32bits float builts)
  229. -now the raw ref API(sq_addref etc...) is fully reentrant.
  230. -fixed a bug in sq_getdelegate() now pushes null if the object doesn't have a delegate(thx MatzeB)
  231. -improved C reference performances in NO_GARBAGE_COLLECTOR builds
  232. -sq_getlocal() now enumerates also outer values.
  233. -fixed regexp library for GCC users.
  234. ***2006-03-19 ***
  235. ***version 2.1 stable***
  236. -added static class fields, new keyword static
  237. -added 64bits architecture support
  238. -added global slot _intsize_ int the base lib to recognize 32bits and 64bits builds
  239. -added functions with fixed environment, closure.bindenv() built-in function
  240. -all types except userdata and null implement the tostring() method
  241. -string concatenation now invokes metamethod _tostring
  242. -new metamethods for class objects _newmember and _inherited
  243. -sq_call() sq_resume() sq_wakeupvm() have a new signature
  244. -new C referencing implementation(scales more with the amount of references)
  245. -refactored hash table
  246. -new api functions sq_newslot(),sq_tobool(),sq_getbase(), sq_instanceof(), sq_bindenv()
  247. -the api func sq_createslot was deprecated but still supported in form of C macro on top of sq_newslot
  248. -sq_setreleasehook() now also works for classes
  249. -stream.readstr() and stream.writestr() have been deprecated(this affects file and blob)
  250. -fixed squirrel.h undeclared api calls
  251. -fixed few minor bugs
  252. -SQChar is now defined as wchar_t
  253. -removed warning when building with -Wall -pedantic for GCC users
  254. -added new std io function writeclosuretofile()
  255. -added new std string functions strip(),rstrip(),lstrip() and split()
  256. -regular expressions operators (+,*) now have more POSIX greedyness behaviour
  257. -class constructors are now invoked as normal functions
  258. ***2005-10-02 ***
  259. ***version 2.0.5 stable***
  260. -fixed some 64bits incompatibilities (thx sarge)
  261. -fixed minor bug in the stdlib format() function (thx Rick)
  262. -fixed a bug in dofile() that was preventing to compile empty files
  263. -added new API sq_poptop() & sq_getfreevariable()
  264. -some performance improvements
  265. ***2005-08-14 ***
  266. ***version 2.0.4 stable***
  267. -weak references and related API calls
  268. -added sq_objtobool()
  269. -class instances memory policies improved(1 mem allocation for the whole instance)
  270. -typetags are now declared as SQUserPointer instead of unsigned int
  271. -first pass for 64bits compatibility
  272. -fixed minor bug in the stdio stream
  273. -fixed a bug in format()
  274. -fixed bug in string.tointeger() and string.tofloat()
  275. ***2005-06-24 ***
  276. ***version 2.0.3 stable***
  277. -dofile() and loadfile() in the iolib now can decode ASCII, UTF8 files UCS2 big-endian and little-endian
  278. -sq_setparamscheck() : now typemesk can check for null
  279. -added string escape sequence \xhhhh
  280. -fixed some C++ standard incompatibilities
  281. ***2005-05-15 ***
  282. ***version 2.0.2 stable***
  283. -performances improvements (expecially for GCC users)
  284. -removed all dependencies from C++ exception handling
  285. -various bugfixes
  286. ***2005-04-12 ***
  287. ***version 2.0.1 stable***
  288. -various bugfixes
  289. -sq_setparamscheck() now allows spaces in the typemask
  290. ***2005-04-03 ***
  291. ***version 2.0 stable***
  292. -added API sq_gettypetag()
  293. -added built-in function to the bool type(tointeger, tostring etc...)
  294. ***2005-02-27 ***
  295. ***version 2.0 release candidate 1(RC 1)***
  296. -added API sq_reseterror()
  297. -modified sq_release()
  298. -now class instances can be cloned
  299. -various bufixes
  300. ***2005-01-26 ***
  301. ***version 2.0 beta 1***
  302. -added bool type
  303. -class properties can be redefined in a derived class
  304. -added ops *= /= and %=
  305. -new syntax for class attributes declaration </ and /> instead of ( and )
  306. -increased the max number of literals per function from 65535 to 16777215
  307. -now free variables have proper lexical scoping
  308. -added API sq_createinstance(), sq_pushbool(), sq_getbool()
  309. -added built-in function type()
  310. -added built-in function obj.rawin(key) in table,class and instance
  311. -sq_rawget() and sq_rawset() now work also on classes and instances
  312. -the VM no longer uses C++ exception handling (more suitable for embedded devices)
  313. -various bufixes
  314. ***2004-12-21 ***
  315. ***version 2.0 alpha 2***
  316. -globals scoping changed, now if :: is omitted the VM automatically falls back on the root table
  317. -various bufixes
  318. -added class level attributes
  319. ***2004-12-12 ***
  320. ***version 2.0 alpha 1***
  321. -codebase branch from version 1.x
  322. -added classes
  323. -added functions with variable number of parameters(vargc & vargv and the ...)
  324. -0 and 0.0 are now considered 'false' by all conditional statements(if,while,for,?,do-while)
  325. -added new api functions sq_newclass() sq_setinstanceup() sq_getinstanceup() sq_getattributes() sq_setattributes()
  326. -modified api sq_settypetag()
  327. ***2004-11-01 ***
  328. ***version 1.0 stable***
  329. -fixed some minor bug
  330. -improved operator 'delete' performances
  331. -added scientific notation for float numbers( eg. 2.e16 or 2.e-2)
  332. ***2004-08-30 ***
  333. ***version 1.0 release candidate 2(RC 2)***
  334. -fixed bug in the vm(thx Pierre Renaux)
  335. -fixed bug in the optimizer(thx Pierre Renaux)
  336. -fixed some bug in the documentation(thx JD)
  337. -added new api functions for raw object handling
  338. -removed nested multiline comments
  339. -reduced memory footprint in C references
  340. ***2004-08-23 ***
  341. ***version 1.0 release candidate 1(RC 1)***
  342. -fixed division by zero
  343. -the 'in' operator and obj.rawget() do not query the default delegate anymore
  344. -added function sq_getprintfunc()
  345. -added new standard library 'auxlib'(implements default error handlers)
  346. ***2004-07-12 ***
  347. ***version 1.0 beta 4***
  348. -fixed a bug in the integer.tochar() built-in method
  349. -fixed unary minus operator
  350. -fixed bug in dofile()
  351. -fixed inconsistency between != and == operators(on float/integer comparison)
  352. -added javascript style unsigned right shift operator '>>>'
  353. -added array(size) constructor built-in function
  354. -array.resize(size,[fill]) built-in function accepts an optional 'fill' value
  355. -improved debug API, added sq_getclosureinfo() and sq_setnativeclosurename()
  356. ***2004-05-23 ***
  357. ***version 1.0 beta 3***
  358. -minor vm bug fixes
  359. -string allocation is now faster
  360. -tables and array memory usage is now less conservative(they shrink)
  361. -added regular expression routines in the standard library
  362. -The 'c' expression now accepts only 1 character(thx irbrian)
  363. -multiline strings <[ ]> have been substituted with C# style verbatim strings (eg. @"string")
  364. -added new keyword 'parent' for accessing the delegate of tables and unserdata
  365. -The metamethod '_clone' has been renamed '_cloned'
  366. -the _delslot metamethod's behaviour and prototype have been changed
  367. -new default function in the integer and float object 'tochar()'
  368. -the built-in function chcode2string has been removed
  369. -the default method [table].getdelegate() has been removed
  370. -new api sq_rawdeleteslot()
  371. -new table built-in method rawdelete(key)
  372. -the dynamic mudule loading has been removed from the standard distribution
  373. -some optimizations in the VM
  374. ***2004-04-21 ***
  375. ***version 1.0 beta 2***
  376. -minor compiler/parser bug fixes
  377. -sq_newclosure has a different prototype, the "paramscheck" of paramter has been moved to the new function sq_setparamscheck()
  378. -sq_setparamscheck allows to add automatic parameters type checking in native closures
  379. -sq_compile() lost the lineinfo parameter
  380. -new api sq_enabledebuginfo() globally sets compiler's debug info generation
  381. -added consistency check on bytecode serialization
  382. -fixed += operator, now works on strings like +
  383. -added global slot in the base lib _charsize_ to recognize unicode builds from ascii builds runtime
  384. -added registry table
  385. -new api call sq_pushregistrytable()
  386. -added type tag to the userdata type sq_settypetag()
  387. -sq_getuserdata now queries the userdata typetag
  388. -the built in function collect_garbage() as been renamed collectgarbage() for consistency reasons
  389. -new standard libraries(sqlibs are now obsolete)
  390. ***2004-02-20 ***
  391. ***version 1.0 beta 1***
  392. -fixed a bug in the compiler (thanks Martin Kofler)
  393. -fixed bug in the switch case statement
  394. -fixed the _unm metamethod
  395. -fixed minor bugs in the API
  396. -fixed automatic stack resizing
  397. -first beta version
  398. first pass code clean up in the VM and base lib
  399. first pass code coverege test has been done on VM and built-in lib
  400. -new VM creation API sq_open() sq_close() (sq_newvm and sq_releasevm are now obsolete)
  401. -new api allows to specifiy a "print" function to output text(sq_printfunc)
  402. -added some small optimizations
  403. -new cooperative multi-threading capabilities in the base library(coroutines), VMs are now a built in type("thread")
  404. -new built in functions have been added for manipulating the new "thread" type
  405. -friend virtual machines share the same root table, error handler and debug hook by default
  406. -new compile time options
  407. ***2004-01-19 ***
  408. ***version 0.9 alpha***
  409. -fixed a garbage collection bug
  410. -fixed some API bugs(thanks to Joshua Jensen)
  411. -fixed tail calls (in the version 0.8 the tail call optimization was erroneously disabled)
  412. -new function parameters semantic, now passing a wrong number of parameters generates an exception
  413. -native closures have now a built in parameter number checking
  414. -sq_rawget and sq_rawset now work also on arrays
  415. -sq_getsize now woks also on userdata
  416. -the userdata release hook prototype is changed(now passes the size of the userdata)
  417. -the lexer reader function now returns an integer instead of a char that allows better error checking on the input(thx Joshua Jensen)
  418. -faster compiler
  419. -try/catch blocks do not cause any runtime memory allocation anymore
  420. ***2003-12-06 ***
  421. ***version 0.8 alpha***
  422. -fixed a bug that was preventing to have callable userdata throught the metamethod _call
  423. -fixed a garbage collection bug
  424. -fixed == operator now can compare correctly different types
  425. -new built in method getstackinfos(level)
  426. -improved line informations precision for the debug hook
  427. -new api call sq_compilebuffer()
  428. -new built-in api function compilestring()
  429. -new syntactic sugar for function declarations inside tables
  430. -the debug API has been finalized
  431. ***2003-11-17 ***
  432. ***version 0.7 alpha***
  433. -fixed critical bug SQInteger the tail call system
  434. -fixed bug in the continue statement code generation
  435. -fixed func call param issue(thanks to Rewoonenco Andrew)
  436. -added _delslot metamethod(thanks to Rewoonenco Andrew)
  437. -new multiline string expression ( delimited by <[ and ]> )
  438. -normal strings ("") do not allow embedded new line anymore
  439. -reduced vm memory footprint(C refs are shared between friend VMs)
  440. -new api method sq_deleteslot()
  441. -new debug hook event 'r' is triggered when a function returns
  442. ***2003-11-04 ***
  443. ***version 0.6 alpha***
  444. -fixed switch statement(was executing the default case after a break)
  445. -sq_call() doesn't pop the closure (just the params)
  446. -the vm execution can be suspended from the C API anytime (micro-threads)
  447. -new api calls sq_suspendvm() sq_wakeupvm() sq_getvmstate() and sq_reservestack()
  448. ***2003-10-13 ***
  449. ***version 0.5 alpha***
  450. -fixed some minor bug
  451. -tested with non ASCII identifiers in unicode mode(I've tried chinese chars)
  452. -added built-in function string.find()
  453. -the built-in function array.sort() optionally accepts a cmp(a,b) function
  454. -the debug hook function now has a new prototype debug_hook(event_type,sourcefile,line,functionname)
  455. -fixed some debug info imprecision
  456. ***2003-10-01 ***
  457. ***version 0.4 alpha***
  458. -faster VM
  459. -sq_call will pop arguments and closure also in case of failure
  460. -fixed a bug in sq_remove
  461. -now the VM detects delegation cycles(and throws an exception)
  462. -new operators ++ and --
  463. -new operator ',' comma operator
  464. -fixed some expression precedence issue
  465. -fixed bug in sq_arraypop
  466. ***2003-09-15 ***
  467. ***version 0.3 alpha***
  468. -fixed a bug in array::insert()
  469. -optional Unicode core(define SQUNICODE or _UNICODE on Win32)
  470. -sq_compiler uses a new reader function SQLEXREADFUNC
  471. -the debug hook passes 'l' instead of 'line' for line callbacks
  472. and 'c' instead of 'call' for call callbacks
  473. -new array.extend() bulit-in function
  474. -new API sq_clone()
  475. ***2003-09-10 ***
  476. ***version 0.2 pre-alpha***
  477. -new completely reentrant VM (sq_open and sq_close are now obsolete)
  478. -sq_newvm() has a new prototype
  479. -allocators are now global and linked in the VM
  480. -_newslot meta method added
  481. -rawset creates a slot if doesn't exists
  482. -the compiler error callback pass the vm handle(thanks Pierre Renaux)
  483. -sq_setforeignptr() sq_getforeingptr() are now public
  484. -sq_resume() now is possible to resume generators from C
  485. -sq_getlasterror() retrieve the last thrown error
  486. -improved docs
  487. ***2003-09-06 ***
  488. ***version 0.1 pre-alpha***
  489. first release