CHANGES.txt 118 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562
  1. 2020-06-19 4.1.2
  2. Bugfixes:
  3. all : added `contains` and `keyValueIterator` methods to haxe.ds.ReadOnlyArray
  4. all : fixed super constructor call when extending externs (#7837, #9501)
  5. all : fixed compiler crash for "--run" argument without a value (#9513)
  6. all : fixed local variable name collision in `try..catch` (#9533)
  7. all : fixed memory leak in completion server related to haxe.Exception (#9537)
  8. display : fixed completion for out-of-bounds argument in a call (#9435)
  9. display : fixed "find references" through interfaces (#9470)
  10. display : optimized "find references" (#9504)
  11. display : optimized "server/invalidate" requests (#9509)
  12. analyzer : fixed compiler crash upon handling code branches with enums with optional arguments (#9591)
  13. jvm : added "--java-lib-extern" to use jar files as externs without adding them to the compiled project (#9515)
  14. macro : fixed type intersection syntax in macro reification (#9404)
  15. eval : fixed exception message when catching compiler-generated `haxe.macro.Error` as `Dynamic` (#9600)
  16. lua : fixed lua code generation without `--main` compilation argument (#9489)
  17. php : added an overload signature for `session_set_cookie_params` function (#9507)
  18. js : fixed name collisions for catch variables to avoid closure compiler errors (#9617)
  19. nullsafety : fixed various scenarios of `if..else` branching (#9474)
  20. 2020-22-05 4.1.1
  21. New features:
  22. jvm : added `--jvm path/to.jar` CLI argument
  23. Bugfixes:
  24. all : fixed arguments ordering for @:structInit constructors (#9418)
  25. all : fixed display/references completion server request for static fields (#9440)
  26. all : fixed "Module not found" error reporting during macro execution in display requests (#9449)
  27. all : fixed module name completion for target-specific modules like `Mod.js.hx` (#9423)
  28. all : fixed completion for packages named "function" (#7697)
  29. all : fixed recursive typedefs with optional arguments in `@:overload` functions (#9455)
  30. cpp : fixed StringTools.endsWith() for unicode characters (#8980)
  31. cpp : fixed broken externs in `cpp` package (#9452)
  32. js/cpp : fixed catch var naming collision (#9413)
  33. interp : fixed throwing `haxe.macro.Error` outside of a macro context (#9390)
  34. lua : fixed lua.PairTools.ipairsMap method
  35. php : fixed an edge case in String methods generation (#9464)
  36. 2020-05-13: 4.1.0
  37. New features:
  38. all : added tail recursion elimination (#8908)
  39. all : added unified exception handling (#9124)
  40. all : allow `try {} catch(e) {}` as a shortcut for `try {} catch(e:haxe.Exception) {}` (#9269)
  41. eval : added SSL support (#9009)
  42. jvm : the JVM target is no longer considered experimental
  43. General improvements:
  44. all : implemented different display support approach (#8962)
  45. all : improved display services related to reference finding
  46. all : added go-to-implementation support (#9043)
  47. all : made various improvements to diagnostics
  48. all : support completion for map keys (#9133)
  49. all : improved parser robustness for incomplete syntax (#9148)
  50. all : disallowed the combination of `@:overload` and inline (#3846)
  51. all : improved renaming of local variables (#9304)
  52. all : better inlining of for-loops with anonymous iterators (#8848)
  53. all : remove redundant final `return` in `Void` functions (#6420)
  54. all : remove redundant `continue` in loops (#8952)
  55. all : improved various compilation errors reporting
  56. all : allowed `(get,default)` property access combination (#6195, #8825)
  57. all : allowed ++ and -- on member properties of abstracts (#8930)
  58. js : use abstract type name for generating its implementation class (#9006)
  59. js : improve haxe.ds.StringMap implementation (#8909)
  60. js : improve interface checking and make it more minifier-friendly (#9178)
  61. js : generate `let` instead of `var` when compiler with `-D js-es=6` (#9280)
  62. js : optimize `.bind` on constructors (#9227)
  63. jvm : rewrote function handling to me much faster and more portable (#9208)
  64. jvm : generate interfaces for typedefs for improved performance (#9195)
  65. jvm : added support for haxe.MainLoop
  66. jvm : support `@:jvm.synthetic` and use it to hide some generated fields (#9213)
  67. jvm : respect `@:private` and `@:protected`
  68. lua : improve error handling behavior when throwing objects/instances
  69. lua : optimize `haxe.iterators.StringIterator`
  70. php : optimize `Std.isOfType` for String, Bool and Float
  71. php : make Haxe Array implement native interfaces Iterator, IteratorAggregate, Countable (#8821, 9377)
  72. cs : support `@:assemblyMeta` and `@:assemblyStrict` (#8347)
  73. python : added `__contains__` and `__getitem__` implementations to generated python code for `_hx_AnonObject`, so it is subscribable and behaves like a python dict (#9109)
  74. Standard Library:
  75. all : negative `startIndex` argument of `String.indexOf` and `String.lastIndexOf` is unspecified (#8365)
  76. all : changed Array.iterator() to return instances of haxe.iterators.ArrayIterator (#8987)
  77. all : added Array.contains (#9179)
  78. all : added Array.keyValueIterator (#7422)
  79. all : added haxe.Constraints.NotVoid (#8357)
  80. all : added Lambda.findIndex() (#9071)
  81. all : added Lambda.foldi() (#9054)
  82. all : added array access and key-value iteration support to haxe.ds.HashMap (#9056)
  83. jvm : added JVM-specific versions of sys.thread.Lock and sys.thread.Thread
  84. jvm : added JVM-specific version of haxe.ds.StringMap
  85. java/jvm : use native versions of MD-5, SHA-1 and SHA-256 for `haxe.crypto` modules (#9298)
  86. macro : added haxe.macro.Context.containsDisplayPosition(pos) (#9077)
  87. nullsafety : treat Strict as a single-threaded mode; added StrictThreaded (#8895)
  88. Deprecations:
  89. all : deprecated `Std.is`; use `Std.isOfType` instead (#2976)
  90. all : added a warning for an uninitialized variable usage captured in a closure (#7447)
  91. js : deprecated `untyped __js__(code, args)`; use `js.Syntax.code(code, args)` instead
  92. php/neko : deprecated neko.Web and php.Web; will be moved to hx4compat library later (#9153)
  93. Bugfixes:
  94. all : fixed display support for static imports (#9012)
  95. all : fixed completion in macro mode picking up the wrong type (#7703)
  96. all : fixed wonky analyzer transformation related to locals captured in closures (#9305)
  97. all : allow `return;` in abstract constructors (#7809)
  98. all : fixed static @:op([]) functions (#9347)
  99. all : fixed `@:optional` handling in the inheritance of `@:structInit` classes (#7559)
  100. all : support negative numbers as constant type parameters for `@:generic` types (#9149)
  101. all : fixed false positive compilation server error with empty methods in inheritance (#9029)
  102. all : fixed default values for manually defined @:structInit constructors (#9177, #9258)
  103. all : fixed inference of `Void` return type for arrow functions (#9181)
  104. all : fixed inconsistencies in wildcard imports resolution (#9189, #9190)
  105. all : fix array comprehension for a chain of `if..else if` without final `else` (#9040)
  106. all : prohibit @:structInit on interfaces (#9017)
  107. macro : fixed handling `TAnonymous` in `haxe.macro.TypeTools.map` (#9147)
  108. eval : fixed EReg.matchSub handling with negative length (#9333)
  109. eval : fixed extern classes being generated and causing errors in some cases (#9366)
  110. eval : fixed StringBuf.addSub unicode handling (#9382)
  111. jvm : fixed Void being generated with the wrong casing (#8717)
  112. jvm : fixed debugging-related data being generated in the wrong place
  113. jvm : fixed switches on string values being too optimistic
  114. jvm : fixed problems with Std.parseInt and Std.parseFloat
  115. jvm : made sure type parameter types are boxed
  116. jvm : fixed dynamic access on `null` yielding `null` (#8452)
  117. cpp : fixed native compilation if there is a `hx` package in a project (#8543)
  118. cs : fixed `null` to `0` conversion in parametrized functions for `Null<Int>` params (#7428)
  119. cs : fixed integer division handling (#9232)
  120. php : fixed closure creation out of fields with `null` value (#9316)
  121. js : fixed interface generation for minification with Google Closure Compiler in advanced mode (#9172)
  122. js : fixed a crash at startup in IE8 (#9062)
  123. hl : fixed BLOB handling in SQLite (#9048)
  124. 2019-12-17: 4.0.5
  125. Bugfixes:
  126. java : fix boolean arguments for `Type.createInstance(cls, args)` (#9025)
  127. jvm : fix static overloads (#9034)
  128. java/cs : fixed `Reflect.makeVarArgs(fn)` for calls of `fn` without arguments (#9037)
  129. js : fix multiple appearances of the first object added to `ObjectMap` is passed to `ObjectMap.set(obj, v)` multiple times (#9026)
  130. js : automatically wrap compound expressions with parentheses when passed to `js.Syntax.code()` (#9024)
  131. windows : fix adding neko to PATH env var running windows installer (#9021)
  132. 2019-11-29: 4.0.3
  133. General improvements:
  134. hl : profiler API
  135. Bugfixes:
  136. all : fixed EnumValue handling in constant propagation with analyzer enabled (#8959)
  137. all : fixed compiler crash upon Void items in array declarations (#8972)
  138. hl : fixed `sys.thread.Lock` implementation for Hashlink 1.11+ (#8699)
  139. js/eval/java/jvm/cs/python/lua : fixed `Std.parseInt()` for hexadecimals with leading whitespaces (#8978)
  140. java/cs : fixed `Reflect.callMethod(o, method, args)` for `args` not containing optional arguments (#8975)
  141. cs : fixed Json.stringify for @:struct-annotated classes (#8979)
  142. cs : fixed bitwise shifts for `cs.types.Int64` (#8978)
  143. python : fixed invalid generation of some inlined code blocks (#8971)
  144. std : fixed an exception from `haxe.zip.Huffman` on reading a zip (#8875)
  145. windows : workaround windows installer being detected as a malware by some anti-virus software (#8951)
  146. windows : fix PATH env var modification when running windows installer without admin privileges (#8870)
  147. all : fixed null-safety checker for field access on a call to inlined function
  148. 2019-11-11: 4.0.2
  149. General improvements and optimizations:
  150. php : improved performance of `haxe.io.Bytes.get()` (#8938)
  151. php : improved performance of serialization/unserialization of `haxe.io.Bytes` (#8943)
  152. php : improved performance of enum-related methods in `Type` class of standard library
  153. Bugfixes:
  154. haxelib : Fixed too strict requirements to haxelib.json data for private libs
  155. all : fixed `@:using` static extensions on `Null<SomeType>` (#8928)
  156. php : fixed static methods with the same name in parent and child classes (#8944)
  157. 2019-11-04: 4.0.1
  158. Bugfixes:
  159. haxelib : fixed git dependencies in haxelib.json
  160. neko : updated windows & osx installer to install Neko 2.3.0 (#8906)
  161. jvm : fixed compilation failure caused by a specific usage of `Array<Dynamic>` (#8872)
  162. all : fixed compiler crash on loops with `continue` in all branches of the body (#8912)
  163. all : fixed erasing typedef in AST on field access to forwarded abstract fields (#8919)
  164. 2019-10-26: 4.0.0
  165. General improvements:
  166. js : updated externs for `Float32Array` and `Float64Array` (#8864)
  167. php : added array access to `php.NativeStructArray` (#8893)
  168. Bugfixes:
  169. cs : fixed "This expression may be invalid" false warning (#8589)
  170. php : fixed iterator fields on maps being removed (#8851)
  171. php : fixed `-2147483648` as init value for static vars (#5289)
  172. python : fixed modulo by a negative number (#8845)
  173. java : fixed backslash escaping on `EReg.replace` (#3430)
  174. lua : fixed `EReg.map` for unicode (#8861)
  175. hl : fixed sqlite connection on OSX/Linux (#8878)
  176. 2019-09-12: 4.0.0-rc.5
  177. General improvements and optimizations:
  178. eval: improved performance of regular expressions (#8693)
  179. Bugfixes:
  180. all: fixed regression, which caused compiler to crash on enum abstracts with explicit casting (#8765)
  181. all: fixed regression of macro `@:from` methods on abstracts (#8779)
  182. all: fixed switching on `this` (#8781)
  183. 2019-09-04: 4.0.0-rc.4
  184. Standard Library:
  185. all : added Map.clear (#8681)
  186. all : improved Date API (#8508)
  187. all : added JSON-RPC protocol types to haxe.display package (#8610)
  188. all : added default timeout to HTTP sockets (#8646)
  189. macro : added Context.info (#8478)
  190. macro : added Context.getMessages and Context.filterMessages (#8471)
  191. macro : added function kind to EFunction (#8653)
  192. macro : added string literal kind to CString (#8668)
  193. flash : added flash.AnyType (#8549)
  194. General improvements and optimizations:
  195. all : allowed enum constructors without arguments as static inline var (#8187)
  196. all : improved handling of default values when inlining (#8397)
  197. all : made various improvements to the display API as usual
  198. all : detect invalid #tokens in inactive code (#7108)
  199. all : allowed function types in @:generic (#3697)
  200. all : improved --help-defines and --help-metas
  201. all : improved overall file finding (#8202)
  202. all : improved server reaction to added and removed files (#8451)
  203. all : improved memory handling of the compilation server (8727)
  204. all : improved handling of native libraries on the compilation server (#8629)
  205. all : support partial completion results (#8642)
  206. all : improved support of hovering over inactive conditional compilation blocks
  207. all : improved completion support in .platform.hx files
  208. all : support hovering conditional compilation identifiers
  209. all : improved and unified identifier checks for names, fields and types (#8708)
  210. all : improved --times performance (#8733)
  211. all : remove some redundant cast expressions (#8725)
  212. all : added --server-connect (#8730)
  213. lua : improved -D lua-vanilla
  214. js : improved HTML externs
  215. Bugfixes :
  216. all : fixed various position and replace ranges in the display API
  217. all : fixed compiler hang related to @:arrayAccess (#5525)
  218. all : fixed bug regarding abstract `this` modification in inline methods (#8454)
  219. all : fixed `from Dynamic` on abstracts (#8425)
  220. all : fixed overeager recursive inline check (#8489)
  221. all : fixed the pattern matcher allowing inexhaustive switches in value-places (#8277)
  222. all : fixed pattern matcher allowing invalid abstract unification (#8579)
  223. all : fixed local variable type information being lost on the compilation server (#8511)
  224. all : don't generate return expressions in Void lambda functions (#6503)
  225. all : fixed unification of recursive typedefs again (#8523)
  226. all : fixed various hangs related to abstracts (#8588)
  227. all : fixed various GADT-related problems (#7672)
  228. all : fixed macro `@:from` methods allowing any return type (#8463)
  229. macro : fixed Sys.programPath assertion failure (#8466)
  230. js : fixed typed array APIs (#8422)
  231. java : fixed Std.is on non-reference and unrelated types (#5168)
  232. java/macro : fixed null-pointer exception in Reflect.getProperty (#4934)
  233. java/jvm : fix switch on null string (#4481)
  234. jvm : fixed boxed vs. unboxed comparison (#8577)
  235. jvm : generate toplevel types to haxe.root like genjava does (#8590)
  236. jvm : improved 32bit support (#8601)
  237. cs/python : fixed various issues with code generation
  238. cs : fixed NativeArray casting (#3949)
  239. 2019-06-13: 4.0.0-rc.3
  240. New features:
  241. all : added JVM target
  242. General improvements and optimizations:
  243. all : create temp vars in pattern matcher to avoid duplicate access (#8064)
  244. all : support parsing dots in conditional compilation, e.g. `#if target.sys`
  245. all : added `@:bypassAccessor`
  246. all : improved various aspects of the display API
  247. all : properly error on `@:op(a = b)` (#6903)
  248. all : made `@:using` actually work
  249. all : properly disallowed some modifier combinations related to `final` (#8335)
  250. all : support `@:pure(false)` on variable fields (#8338)
  251. flash : updated Flash externs to version 32.0 (now using `final`, `enum abstract` and `haxe.extern.Rest`)
  252. flash : rework support for native Flash properties (#8241)
  253. php : improved performance of various parser implementations (#8083)
  254. cs : support .NET core target (#8391)
  255. cs : generate native type parameter constraints (#8311, #7863)
  256. Standard Library:
  257. all : added StringTools.contains (#7608)
  258. all : turned sys.thread.Thread into abstracts (#8130)
  259. all : introduced `Std.downcast` as replacement for `Std.instance` (#8301)
  260. all : introduced `UnicodeString`, deprecated `haxe.Utf8` (#8298)
  261. java : added java.NativeString (#8163)
  262. cs : added sys.thread implementations (#8166)
  263. js : moved various classes to js.lib (#7390)
  264. Bugfixes
  265. all : fixed issue with `@:generic` type parameters not being bound to Dynamic (#8102)
  266. all : fixed various issues related to `@:structInit`
  267. all : fixed top-down inference on abstract setters (#7674)
  268. all : fixed DCE issue related to closures (#8200)
  269. all : fixed and restricted various Unicode-related issues in String literals
  270. all : fixed various priority issues regarding loops and iterators
  271. all : fixed cast handling in try-catch expressions (#8257)
  272. all : fixed `inline new` handling (#8240)
  273. all : fixed pattern matcher issue with wildcards in or-patterns (#8296)
  274. all : fixed `@:allow(package)` allowing too much (#8306)
  275. all : fixed various issues with startIndex handling on String.indexOf and String.lastIndexOf
  276. all : fixed infinite recursion related to printing of objects with circular references (#8113)
  277. sys : fixed various Unicode issues (#8135)
  278. macro : fixed Array.pop handling (#8075)
  279. macro : fixed assertion failure when throwing exception (#8039)
  280. macro : fixed various uncatchable exceptions being thrown
  281. php : error on case-insensitive name clashes (#8219)
  282. lua : fixed issue where Process output occasionally is missing some data
  283. hl : fixed various String Unicode issues
  284. java : fixed null exception in CallStack.exceptionStack (#8322)
  285. js : fixed code generation issue related to negative abstract values (#8318)
  286. flash : fix various issues, including native `protected` handling and method overloading
  287. Removals:
  288. all : remove support for `@:fakeEnum` enums
  289. all : disallowed `\x` with values > 0x7F (#8141)
  290. all : consistently disallowed metadata in lambda function arguments (#7800)
  291. all : removed `--gen-hx-classes` (#8237)
  292. 2019-03-22: 4.0.0-rc.2
  293. New features:
  294. all : added strictness settings for the null-safety checker, using loose checking by default (#7811)
  295. js : added ES6 class generation with `-D js-es=6` (#7806)
  296. General improvements and optimizations:
  297. all : inherit `@:native` for overriden methods (#7844)
  298. all : standardized identifiers allowed in markup literals (#7558)
  299. all : show typo suggestions when declaring `override` field (#7847)
  300. all : improved parser error messages (#7912)
  301. all : improved diagnostics of syntax errors (#7940)
  302. all : improved positions of `switch` and `case` expressions (#7947)
  303. all : allow parsing `#if (a.b)` (#8005)
  304. eval : improved performance of various string operations (#7982)
  305. eval : fixed many error positions
  306. eval : greatly improved debugger interaction (#7839)
  307. eval : properly support threads when debugging (#7991)
  308. eval : improved handling of capture variables (#8017)
  309. js : generate dot-access for "keyword" field names (#7645)
  310. js : optimized run-time type checking against interfaces (#7834)
  311. js : skip generation of interfaces when no run-time type checking needed (#7843)
  312. Standard Library:
  313. all : unified various Thread APIs in sys.thread (#7999)
  314. all : moved typed arrays from `js.html` to `js.lib` (#7894)
  315. all : added `iterator()` to `haxe.DynamicAccess` (#7892)
  316. all : added `keyValueIterator()` to `haxe.DynamicAccess` (#7769)
  317. eval : completed Thread API
  318. Bugfixes:
  319. all : fixed argument default value checking for externs (#7752)
  320. all : fixed optional status of overloaded arguments with default values (#7794)
  321. all : fixed DCE compilation server state issue (#7805)
  322. all : fixed compilation server module dependency issue related to macros (#7448)
  323. all : fixed call-site inlining on abstracts (#7886)
  324. all : fixed Constructible not checking constraints properly (#6714)
  325. all : fixed @:structInit not being compatible with `final` fields (#7182)
  326. all : fixed capture variables being allowed in `.match` (#7921)
  327. all : fixed infinite recursion on `@:generic` field access (#6430)
  328. all : fixed `-D no-deprecation-warnings` for typedefs and enums
  329. js : fixed bad stack handling on `Map` constraint checks (#7781)
  330. js : fixed DCE issues related to haxe.CallStack (#7908)
  331. cpp : fixed Socket flags not being preserved (#7989)
  332. lua : fixed broken output when compiling through the compilation server (#7851)
  333. lua : fixed `StringTools.fastCodeAt` with `-D lua-vanilla` (#7589)
  334. lua : fixed `@:expose` for classes inside packages (#7849)
  335. 2019-02-01: 4.0.0-rc.1
  336. New features:
  337. all : added experimental null-safety feature through `--macro nullSafety("package")` (#7717)
  338. General improvements and optimizations:
  339. all : improved unification error messages (#7547)
  340. all : added `haxe4` define
  341. all : do not require semicolon for markup literals (#7438)
  342. all : made `@:expose` imply `@:keep` (#7695)
  343. all : unified cast, catch and Std.is behavior of null-values (#7532)
  344. macro : static variables are now always re-initialized when using the compilation server (#5746)
  345. macro : support `@:persistent` to keep macro static values across compilations
  346. js : improve js.Promise extern: now `then` callback argument types can be properly inferred (#7644)
  347. Bugfixes:
  348. all : fixed various pattern matching problems
  349. all : fixed various wrong positions when encoding data to macros
  350. all : specified String.indexOf with out-of-bounds indices (#7601)
  351. all : fixed various problems related to DCE and feature-handling (#7694)
  352. all : fixed bad unary operator optimization (#7704)
  353. js : fixed syntax problem related to `instanceof` (#7653)
  354. flash : fixed var field access on interfaces being uncast (#7727)
  355. cpp : fixed various issues related to casts
  356. cpp : fixed some leftover unicode issues
  357. php : fixed class naming conflicts (#7716)
  358. eval : fixed Socket.setTimeout (#7682)
  359. eval : fixed int switch bug related to overflows
  360. Removals:
  361. macro : deprecated Context.registerModuleReuseCall and onMacroContextReused (#5746)
  362. 2018-10-13: 4.0.0-preview.5
  363. New features:
  364. all : support Unicode strings properly on all targets
  365. all : support `for (key => value in e)` syntax for key-value iterators
  366. all : added keyValueIterator to Map and its implementations
  367. all : support loop-unrolling on `for (i in 0...5)` (#7365)
  368. all : added support for write-mode `@:op(a.b)`
  369. all : support `inline call()` and `inline new` expressions (#7425)
  370. all : support `@:using` on type declarations (#7462)
  371. all : support markup literal strings but require them to be macro-processed (#7438)
  372. all : allow enum values without arguments as default function argument values (#7439)
  373. lua : add -D lua-vanilla, which emits code with reduced functionality but no additional lib dependencies
  374. General improvements and optimizations:
  375. all : [breaking] reserved `operator` and `overload` as keywords (#7413)
  376. all : made `final` on structure fields invariant (#7039)
  377. all : [breaking] disallowed static variables that have no type-hint and expression (#6440)
  378. all : added display/typeDefinition to display protocol (#7266)
  379. all : fixed various display-related problems
  380. all : made parser in display mode much more tolerant
  381. all : allowed assigning `[]` where `Map` is expected (#7426)
  382. all : unified various parts of the String API across all targets
  383. php : Optimized haxe.ds.Vector (VectorData is not Array anymore)
  384. php : Optimized `Map.copy()` and `Array.copy()`
  385. php : Optimized iterators of `Map` and native arrays.
  386. php : Support native PHP generators. See `php.Syntax.yield()` and `php.Generator`
  387. js : updated HTML externs
  388. eval : improved object prototype field handling (#7393)
  389. eval : optimized int switches (#7481)
  390. eval : improved IntMap and StringMap performance
  391. eval : improved performance of instance calls
  392. Removals :
  393. all : disallowed get_x/set_x property syntax, use get/set instead (#4699)
  394. all : disallowed default values on interface variables (#4087)
  395. all : disallowed `implements Dynamic` on non-extern classes (#6191)
  396. all : warn about expressions in extern non-inline fields (#5898)
  397. all : removed `-D use-rtti-doc`, always store documentation instead (#7493)
  398. all : disallowed macro-in-macro calls (#7496)
  399. js : removed jQuery and swfobject externs (#7494)
  400. Bugfixes:
  401. all : fix GC compacting too often in server mode
  402. all : [breaking] `function () { }(e)` is no longer parsed as a call (#5854)
  403. all : fixed various minor inlining issues
  404. all : disallowed `return null` from Void-functions (#7198)
  405. all : fixed various pattern matching problems
  406. all : fixed compiler hang in display mode (#7236)
  407. all : fixed the XML printer trimming CDATA content (#7454)
  408. all : fixed invalid visibility unification with statics (#7527)
  409. php : Escape `$` in field names of anonymous objects (#7230)
  410. php : Generate `switch` as `if...else if...else...` to avoid loose comparison (#7257)
  411. cs : fixed bad evaluation order in structures (#7531)
  412. eval : fixed various problems with the debugger
  413. eval : fixed Vector.fromArrayCopy (#7492)
  414. eval : fixed bad string conversions on invalid + operations
  415. Standard Library:
  416. all : [breaking] made Lambda functions return Array instead of List (#7097)
  417. all : added haxe.iterators package
  418. all : improved StringTools.lpad/rpad/htmlEscape implementation
  419. 2018-06-12: 4.0.0-preview.4
  420. New features:
  421. all : added JSON-RPC-based display protocol
  422. all : allow `enum abstract` syntax instead of `@:enum abstract` (#4282)
  423. all : allow `extern` on fields instead of `@:extern`
  424. all : support signature completion on incomplete structures (#5767)
  425. all : support auto-numbering and auto-stringification in enum abstracts (#7139)
  426. all : support `Type1 & Type2` intersection syntax for type parameter constraints and structures (#7127)
  427. General improvements and optimizations:
  428. all : reworked CLI usage/help output (#6862)
  429. all : implemented `for` loop unrolling (#3784)
  430. all : metadata can now use `.`, e.g. `@:a.b`. This is represented as a string (#3959)
  431. all : [breaking] disallow static extensions through abstract field casts (#5924)
  432. all : [breaking] disallow static extensions on implicit `this` (#6036)
  433. all : allow true and false expressions as type parameters (#6958)
  434. all : improved display support in many areas
  435. all : support `override |` completion
  436. all : make display/references and display/toplevel actually work sometimes
  437. all : allow `var ?x` and `final ?x` parsing in structures (#6947)
  438. all : improved overall robustness of the parser in display mode
  439. all : allow `@:commutative` on non-static abstract functions (#5599)
  440. js : added externs for js.Date (#6855)
  441. js : respect `-D source-map` flag to generate source maps in release builds
  442. js : enums are now generated as objects instead of arrays (#6350)
  443. eval : improved debugger, support conditional breakpoints
  444. Removals:
  445. all : moved haxe.remoting to hx3compat
  446. js : moved js.XMLSocket to hx3compat
  447. neko : moved neko.net to hx3compat
  448. all : removed support for `T:(A, B)` constraint syntax
  449. Bugfixes:
  450. all : fixed various issues with diagnostics
  451. all : fixed fields with default values for `@:structInit` classes (#5449)
  452. all : fixed `Null<T>` inconsistency in if/ternary expressions (#6955)
  453. all : fixed visibility check related to private constructors of sibling classes (#6957)
  454. all : fixed @:generic naming (#6968)
  455. all : fixed handling of type parameters in local functions (#6560)
  456. all : fixed resolution order between `untyped` and type parameters (#7113)
  457. all : fixed unification behavior in try/catch expressions (#7120)
  458. all : fixed field type being lost for Int expressions on Float fields (#7132)
  459. all : cleaned up `inline` handling (#7155)
  460. display : fixed completion in packages starting with underscore (#5417)
  461. php : fixed Reflect.callMethod with classes as first argument (#7106)
  462. eval : fixed internal exception surfacing in some context calls (#7007)
  463. eval : fixed Type.enumEq (#6710)
  464. flash : fixed silently swallowing exceptions in getters/setters when invoked with Reflect methods (#5460, #6871)
  465. Standard Library:
  466. all : added `resize` to Array (#6869)
  467. all : [breaking] removed `return this` from some haxe.Http methods (#6980)
  468. 2018-02-23: 4.0.0-preview.3
  469. See full commit history at https://github.com/HaxeFoundation/haxe/compare/4.0.0-preview.2...4.0.0-preview.3, notable changes below:
  470. New features:
  471. all : added new function type syntax (`(a:Int, b:String)->Void`) (#6645)
  472. all : added column to StackItem.FilePos (#6665)
  473. all : added `-D warn-var-shadowing`
  474. all : added haxe.Log.formatOutput (#6738)
  475. js : added js.Syntax class for generating unsupported JavaScript syntax in a type-safe analyzer-friendly way
  476. js : added js.Map and js.Set and js.JsIterator extern definitions (ES6)
  477. hl : added hl.Format.digest, use it for native Sha1/Md5
  478. General improvements and optimizations:
  479. all : made all non-warning/non-error compiler messages output to stdout (#4480)
  480. all : make DCE keep constructor if any instance field is kept (#6690)
  481. all : make `final` in structures use class notation
  482. display : added `this` and `super` to toplevel completion (#6051)
  483. php : implemented direct method comparison. No need to use `Reflect.compareMethods()`
  484. php : added `php.Syntax.code()` instead of deprecated `untyped __php__()` (#6708)
  485. php : added methods to `php.Syntax` for each php operator: `??`, `?:`, `**` etc. (#6708)
  486. python : add ssl support for http requests
  487. python : improve Sys.print(ln) code generation (#6184)
  488. js : generate faster code for `x.iterator()` calls (#6669)
  489. js : rework exception handling, added js.Lib.getOriginalException (#6713)
  490. js : generate `value instanceof MyClass` instead of `Std.is(value, MyClass)` (#6687)
  491. js : use lazy getter for HaxeError.message instead of calling String(val) in the ctor (#6754)
  492. Removals:
  493. php : removed `php.Syntax.binop()` (#6708)
  494. Deprecations:
  495. php : deprecated support for `untyped __php__`, `untyped __call__` etc. Use `php.Syntax` instead.
  496. Bugfixes:
  497. all : delay interface accessor generation properly (#6225, #6672)
  498. all : fixed unbound variable error in anonymous functions (#6674)
  499. all : fixed abstract `@:to` used when `from` is available in a specific case (#6751)
  500. all : sys.Http: fix chunked encoding handling (#6763)
  501. all : fix some invalid Json being accepted by haxe.format.JsonParser (#6734)
  502. all : fixed haxe.format.JsonPrinter for instances of classes to make it produce consistent result across targets (#6801)
  503. all : fixed autogenerated constructor for extending @:structInit classes (#6822, #6078)
  504. js : fixed saving setter to `tmp` var before invocation (#6672)
  505. lua : fix toString behavior in the case of -0 (#6652)
  506. lua : properly bind field functions when passed as arguments (#6722)
  507. php : don't fail on generating import aliases for classes with the similar names (#6680)
  508. php : fixed `Sys.environment()` to also return variables set by `Sys.putEnv()`
  509. php : fixed `sys.net.Socket.bind()` (#6693)
  510. php : fixed appending "sqlite:" prefix to the names of files created by `sys.db.Sqlite.open()` (#6692)
  511. php : made php.Lib.objectOfAssociativeArray() recursive (#6698)
  512. php : fixed php error on parsing expressions like `a == b == c` (#6720)
  513. php : fixed multiple file uploads in php.Web.parseMultiPart() (#4173)
  514. php : fixed an issue with "Object" used as a class name for PHP 7.2 (it's a new keyword in php) (#6838)
  515. eval : don't lose dynamic function inits from parent classes (#6660)
  516. cs : fix order-dependent enum type parameter issue (#6016)
  517. 2017-10-08: 4.0.0-preview.2
  518. New features:
  519. all : added final keyword (#6596)
  520. General improvements and optimizations:
  521. all : replaced some occurrences of List with Array
  522. all : changed haxe.xml.Fast to an abstract
  523. all : improved optimization when comparing against `null`
  524. all : added support for `case var x` syntax and detect possible typos (#6608)
  525. php : changed `--php-prefix`, `--php-front` and `--php-lib` to `-D php-prefix=`, `-D php-front=` and `-D php-lib=` respectively
  526. Removals:
  527. all : moved haxe.unit to hx3compat
  528. all : moved haxe.web.Request to hx3compat
  529. php : dropped php5 support; minimum supported php version is 7.0 now
  530. Bugfixes:
  531. all : fixed issue with various functions not being displayed in macro context (#6000)
  532. all : fixed invalid static extension lookup on `super` (#3607)
  533. all : fixed typing error when constructing enums with abstracts over functions (#6609)
  534. all : fixed bug that skipped checking @:from typing in some cases (#6564)
  535. all : fixed Int64 parsing of negative numbers that end in a zero (#5493)
  536. all : fixed top-down inference when constructing enums (#6606)
  537. eval : fixed bug with equality handling
  538. eval : fixed issue with file creation not defaulting to binary
  539. eval : fixed invalid override detection (#6583)
  540. eval : fixed infinite recursion when printing arrays/vectors
  541. cs/java : fixed DCE bug that would lose toString method of thrown objects
  542. php/python : fixed some bit operators for Int32 (#5938)
  543. php : fixed accessing `static inline var` via reflection (#6630)
  544. php : fixed Math.min() and Math.max() for NAN on PHP 7.1.9 and 7.1.10
  545. js : fixed js syntax error for `value.iterator--` (#6637)
  546. Standard Library:
  547. macro : added have.display.Position and PositionTools.toRange (#6599)
  548. all : moved List to haxe.ds (#6610)
  549. 2017-09-12: 4.0.0-preview.1
  550. New features:
  551. all : reworked macro interpreter
  552. all : added support for arrow functions
  553. General improvements and optimizations:
  554. js : improved generation of `break` inside `switch` inside loops (#4964)
  555. cs : improved generation of enum classes (#6119)
  556. sys : the `database` parameter of `Mysql.connect` is now optional
  557. js : updated jQuery extern (js.jquery.*) for jQuery 1.12.4 / 3.2.1 support.
  558. Makefile : default Unix installation location $(INSTALL_DIR) changed from /usr to /usr/local.
  559. Makefile : default Unix std location $(INSTALL_STD_DIR) changed from $(INSTALL_LIB_DIR)/std to $(INSTALL_DIR)/share/haxe/std.
  560. Removals:
  561. all : removed --eval command line argument
  562. sys : SPOD (sys.db.Object, sys.db.Manager and friends) was moved into a separate library `record-macros` (https://github.com/HaxeFoundation/record-macros)
  563. js : js.JQuery and js.SWFObject were moved into hx3compat library (https://github.com/HaxeFoundation/hx3compat),
  564. it's recommended to use more modern js.jquery.JQuery and js.swfobject.SWFObject classes.
  565. all : moved haxe.web.Dispatch into hx3compat library (https://github.com/HaxeFoundation/hx3compat).
  566. Bugfixes:
  567. php7: fix Reflect.field() for strings (#6276)
  568. php7: fix `@:enum abstract` generation without `-dce full` (#6175)
  569. php7: fix using enum constructor with arguments as a call argument (#6177)
  570. php7: fix `null` property access (#6281)
  571. php7: fix setting values in a map stored in another map (#6257)
  572. php7: fix haxe.io.Input.readAll() with disabled analyzer optimizations (#6387)
  573. php/php7: fixed accessing enum constructors on enum type stored to a variable (#6159)
  574. php/php7: fix "cannot implement previously implemented interface" (#6208)
  575. php: fix invoking functions stored in dynamic static vars (#6158)
  576. php: fix field access on `new MyClass()` expressions wrapped in a `cast` (#6294)
  577. Standard Library:
  578. all : added `EReg.escape` (#5098)
  579. all : `BalancedTree implements `haxe.Constraints.IMap` (#6231)
  580. 2018-01-31: 3.4.5
  581. General improvements and optimizations:
  582. dce : optimized DCE performance (#6181)
  583. Bugfixes:
  584. dce : don't remove constructor if any instance field is kept (#6062)
  585. js : fixed saving setter to `tmp` var before invocation (#6672)
  586. php7 : don't fail on generating import aliases for classes with the similar names (#6680)
  587. php7 : fixed appending "sqlite:" prefix to the names of files created by `sys.db.Sqlite.open()` (#6692)
  588. php7 : made php.Lib.objectOfAssociativeArray() recursive (#6698)
  589. php7 : fixed php error on parsing expressions like `a == b == c` (#6720)
  590. php/php7 : fixed `sys.net.Socket.bind()` (#6693)
  591. 2017-10-08: 3.4.4
  592. Bugfixes:
  593. flash : fixed flash target broken when compiled with OCaml 4.05 (#6589)
  594. php7 : fixed accessing `static inline var` via reflection (#6630)
  595. js : fixed js syntax error for `value.iterator--` (#6637)
  596. cpp : fixed evaluation order problem when constructing enums (#6643)
  597. 2017-09-10: 3.4.3
  598. Bugfixes:
  599. all : fixed DCE issue with interface fields (#6502)
  600. cpp : fixed return typing for embedded closures (#6121)
  601. php7: fixed `@:enum abstract` generation without `-dce full` (#6175)
  602. php7: fixed using enum constructor with arguments as a call argument (#6177)
  603. php7: fixed accessing methods on dynamic values (#6211)
  604. php7: fixed `null` property access (#6281)
  605. php7: fixed setting values in a map stored in another map (#6257)
  606. php7: implemented `php.Lib.mail()`
  607. php7: implemented `php.Lib.loadLib()`
  608. php7: implemented `php.Lib.getClasses()` (#6384)
  609. php7: fixed exception on `Reflect.getProperty(o, field)` if requested field does not exist (#6559)
  610. php/php7: fixed accessing enum constructors on enum type stored to a variable (#6159)
  611. php/php7: fixed "cannot implement previously implemented interface" (#6208)
  612. php: fixed invoking functions stored in dynamic static vars (#6158)
  613. php: fixed field access on `new MyClass()` expressions wrapped in a `cast` (#6294)
  614. macro : fixed bug in addClassPath that overwrites macro class paths with context class paths
  615. 2017-03-20: 3.4.2
  616. Bugfixes:
  617. cpp : fixed issue with @:native names being prefixed with :: (#6086)
  618. cpp : fixed issue with return type handling (#6103)
  619. cpp : fixed inaccurate line numbers that threw off debugging
  620. php7 : fixed generation of `[][0]` constructs (#6090)
  621. 2017-03-17: 3.4.1
  622. New features:
  623. php7 : added source maps generation with `-D source_map` flag.
  624. General improvements and optimizations:
  625. cpp : added cpp.Star and cpp.Struct to help with extern typing
  626. lua : cleaned up various parts of the standard library
  627. Bugfixes:
  628. all : fixed compilation server issue with two identical @:native paths on extern abstracts (#5993)
  629. all : fixed invalid inling in a specific case (#6067)
  630. all : fixed various display related issues
  631. all : fixed inline super() calls missing field initializations (#6097)
  632. all : consider UNC paths to be absolute in haxe.io.Path.isAbsolute (#6061)
  633. cpp : improved typing of some Function/Callable-related types
  634. cpp : fixed problem with line numbers when debugging
  635. hl : various fixes and improvements
  636. php : fixed FileSystem.stat() for directories on Windows (#6057)
  637. php/php7 : fixed invalid result of Web.getPostData() (#6033)
  638. php7 : fixed invalid access to length of string in some cases (#6055)
  639. php7 : fixed infinite recursion on MysqlConnection.close() (#6056)
  640. 2017-01-31: 3.4.0
  641. General improvements and optimizations:
  642. all : support completion for static extensions (#5766)
  643. all : removed neko dependency for macros, use PCRE instead
  644. all : disabled analyzer optimizations by default, re-enable with -D analyzer-optimize
  645. php7 : generate native `$v instanceof MyType` instead of `Std.is(v, MyType)` where possible for better performance
  646. php7 : added @:phpNoConstructor meta for externs which do not have native php constructors and yet can be constructed
  647. php7 : greatly reduced amount of generated tmp vars
  648. php7 : `Array` performance improvements
  649. hl : made various improvements
  650. Bugfixes:
  651. all : fixed `using` picking up non-static abstract functions (#5888)
  652. all : fixed issue with side-effect detection when optimizing (#5911)
  653. all : fixed issue with zlib bindings causing zlib_deflate errors (#5941)
  654. php7 : Allow user-defined modules in `php` package (#5921)
  655. php7 : Dereference some of `php.Syntax` methods if required (#5923)
  656. php : fixed assigning a method of dynamic value to a variable (#5469)
  657. php : fixed missing initialization of dynamic methods in classes with empty constructors (#4723)
  658. 2016-12-24: 3.4.0-RC2
  659. New features:
  660. js : added API documentation to HTML externs (#5868)
  661. php : added php7 target, enabled with -D php7
  662. Bugfixes:
  663. all : fixed top-down inference infinite recursion issue (#5848)
  664. all : fixed regression in Compiler.include (#5847)
  665. all : fixed Not_found exception related to try/catch (#5851)
  666. all : fixed metadata completion showing up in trace arguments (#5775)
  667. all : fixed problem with useless pattern detection (#5873)
  668. all : fixed issue with toString handling in trace arguments (#5858)
  669. all : fixed inline constructor scoping (#5855)
  670. cpp : fixed issue with cpp.Pointer variables being eliminated (#5850)
  671. js : added Notification API to HTML externs (#5852)
  672. js : fixed several options structures in HTML externs (#5849)
  673. php/cs : FileSystem.deleteFile() and FileSystem.deleteDirectory() now throw on non-existent path (#5742)
  674. php/lua : fixed field access on `null` (#4988)
  675. php : fixed static field access on a `Class<T>` stored to a field (#5383)
  676. php : fixed invalid detection of `NativeArray` by `Std.is()` (#5565)
  677. php : fixed `stdin()`, `stdout()`, `stderr()` of `Sys` to use predefined constants for corresponding channels (#5733)
  678. php : fixed Std.parseInt() on hexstrings for PHP7+ (#5521)
  679. php : fixed typed cast in assign operations (#5135)
  680. php : fixed exception thrown by `Reflect.fields(o)` when `o` is `Class<T>` (#5608)
  681. php : fixed json encoding of empty objects (#5015)
  682. php : fixed checking floats for equality (#4260)
  683. php : throw if invalid json string supplied to Json.parse() (#4592)
  684. php : fixed ssl connections (#4581)
  685. php : fixed writing bytes containing zero byte to MySQL & SQLite (#4489)
  686. php : fixed call()() cases for PHP5 (#5569)
  687. 2016-11-29: 3.4.0-RC1
  688. New features:
  689. all : support metadata completion
  690. all : support type-hint completion
  691. all : added @signature display mode (#4758)
  692. all : finalized HashLink (HL) target
  693. General improvements and optimizations:
  694. all : greatly improved support for display mode in general
  695. all : made --times output look much nicer
  696. all : remove calls to functions that have no side-effect
  697. all : hid private property accessors from completion (#5678)
  698. js : updated jQuery extern (js.jquery.*) for jQuery 1.12.4 / 3.1.0 support.
  699. js : jQuery extern (js.jquery.*) now includes deprecated fields marked with @:deprecated.
  700. js : no longer rewrite `o["s"]` to `o.s` (#5724)
  701. cpp : greatly improved ObjC output and integration options
  702. lua : greatly improved code output quality
  703. Bugfixes:
  704. all : fixed various optimization issues
  705. all : fixed various issues with side-effect detection
  706. all : fixed performance drain in the DCE implementation (#5716)
  707. all : fixed issue with assignments when inlining constructors (#5340)
  708. all : fixed major inlining issue when using compilation server (#5320)
  709. all : fixed pattern matching evaluation order issue (#5274)
  710. cpp : fixed various minor code generation issues
  711. js : fixed issue regarding iterating over abstracts (#5385)
  712. python : fixed evaluation order issue for array writing (#5366)
  713. Standard Library:
  714. all : added Any type (#5500)
  715. all : added haxe.extern.AsVar
  716. all : added haxe.macro.CompilationServer (experimental)
  717. all : fixed haxe.Template.resolve (#5301)
  718. 2016-05-27: 3.3.0-RC1
  719. New features:
  720. all : support @:resolve on abstracts (#3753)
  721. all : support extern abstracts and extern @:enum abstracts (#4862)
  722. all : support completion on { if the expected type is a structure (#3907)
  723. all : support (expr is Type) with mandatory parentheses (#2976)
  724. all : allowed passing package dot-paths on command line (#4227)
  725. all : support import.hx modules that define per-directory import/using directives (#1138)
  726. all : support parsing of postfix ! operator (can be used by abstract operator overloading and macros) (#4284)
  727. all : support parsing of ||= and &&= operators (can be used by abstract operator overloading and macros) (#4427)
  728. all : support @:structInit classes (#4526)
  729. all : reworked static analyzer and enabled it by default
  730. flash : update flash externs to version 21
  731. hl : added HL target (interpreter and C output)
  732. lua: added lua target
  733. js : introduced new jQuery extern (js.jquery.*) for jQuery 1.12.4 / 2.2.4 support. (#4377)
  734. js : introduced new SWFObject extern (js.swfobject.SWFObject) for SWFObject 2.3.20130521 (#4451)
  735. js : added js.Lib.rethrow (#4551)
  736. cs/java : added -D fast_cast as an experimental feature to cleanup casts
  737. Bugfixes:
  738. all : properly disallowed assigning methods to structures with read-accessors (#3975)
  739. all : fixed a bug related to abstract + Int/Float and implicit casts (#4122)
  740. all : disallowed duplicate type parameter names (#4293)
  741. all : made UInt's >>> behave like >> (#2736)
  742. all : fixed various type loading issues
  743. all : fixed code generation problems with `inline` (#1827)
  744. php/as3 : support run-time metadata on interfaces (#2042)
  745. php : fixed argument passing to closures (#2587)
  746. neko/cpp : fixed various sys.Filesystem issues with Windows drive paths (#3266)
  747. as3 : fixed problem with covariant return types (#4222)
  748. as3 : fixed rare problem with static initialization order (#3563)
  749. python : fixed various reflection problems
  750. General improvements and optimizations:
  751. all : added support for determining minimal types in Map literals (#4196)
  752. all : allowed @:native on abstracts to set the name of the implementation class (#4158)
  753. all : allowed creating closures on abstract inline methods (#4165)
  754. all : type parameter declarations can now have metadata (#3836)
  755. all : optimize Math.ceil/floor on constant arguments (#4223)
  756. all : allowed extern classes to have field names being used for both static and instance (#4376)
  757. all : added haxe.Constraints.Constructible (#4761)
  758. all : rewrote pattern matcher to improve output in many cases (#4940)
  759. python : use spaces instead of tabs to indent the output (#4299)
  760. cpp : reworked backend to improve overall code output quality and fix various issues
  761. swf : added scene-tag to allow creating accessible SWF files
  762. Standard Library:
  763. all : added Lambda.flatten and Lambda.flatMap (#3553)
  764. all : added haxe.Constraints.Constructible (#4761)
  765. sys : proper quoting/escaping (can be opt-out) for Sys.command and sys.io.Process (#3603)
  766. js : added position parameter to haxe.macro.Compiler.includeFile
  767. js : removed -D embed-js (#4074)
  768. js : updated HTML externs
  769. Macro features and changes:
  770. macro : added overloads field to ClassField (#3460)
  771. macro : added Context.getLocalImports (#3560)
  772. macro : added Context.onAfterTyping (#4714)
  773. macro : added Context.resolveType
  774. 2015-10-11: 3.2.1
  775. Bugfixes:
  776. cs/java : fixed `-dce no` issues
  777. cs/java : fixed how KExpr type parameters are generated
  778. cs : fixed enum creation by reflection problem
  779. cpp : do not rely in reflection to make interfaces work for non-first interface parents
  780. cpp : fixed setting of static variables via reflection when class has no member variables
  781. cpp : make sure StringMap's h field is kept if we use StringMap
  782. js : Avoid the use of `eval`/`Function` to get the top-level defined type/var to not break ContentSecurityPolicy
  783. 2015-05-12: 3.2.0
  784. New features:
  785. all : added @:noPrivateAccess to re-enable access restrictions within @:privateAccess
  786. cpp : some support for @:nativeGen metadata
  787. Bugfixes:
  788. all : fixed detection of @:generic classes with constructor constraints
  789. all : fixed variable initialization check issue in loop condition
  790. all : fixed pattern matching on @:enum abstracts via field access (#4084)
  791. all : fixed missing implicit casts in Map literals (#4100)
  792. all : fixed various minor issues in haxe.xml.Parser
  793. all : fixed class path issue when HAXE_STD_PATH is set (#4163)
  794. js : fixed DCE issue related to printing enums (#4197)
  795. js : fixed various issues with the new Bytes implementation
  796. php : fixed EOF handling in FileInput.readByte (#4082)
  797. cs/java : fixed Math.fround implementation (#4177)
  798. cs/java : fixed some cases of Std.parseInt failing (#4132)
  799. cpp : fixed compilation without -main (#4199)
  800. General improvements and optimizations:
  801. all : --macro keep no longer causes types to be included for compilation
  802. php : support interpolation in __php__ code
  803. js : added variable number of arguments support in js.html.* classes
  804. js : refined new HTML externs
  805. Macro features and changes:
  806. macro : [breaking] synced FClosure and FInstance with the compiler updates
  807. 2015-03-15: 3.2.0-RC1
  808. This release removes support for Flash 8 target
  809. New features:
  810. all : added --display mode for toplevel completion
  811. all : added --display mode for position and usage information
  812. all : allowed @:callable on abstracts to forward calls to their underlying type
  813. all : allowed pattern matching on getters
  814. all : allowed @:native on class fields
  815. all : added static analyzer with constant propagation
  816. all : added Haxe-based XML implementation
  817. python : added python target
  818. flash : flash player 12-14 support
  819. js : added @:jsRequire and js.Lib.require
  820. js : support haxe.CallStack.exceptionStack
  821. cs : added @:bridgeProperties
  822. cs : added -D erase_generics
  823. cs : added -D dll_import to import haxe-generated dlls
  824. java/cs : added `sys.db` package
  825. java/cs : clean unused files in output folder, unless `-D keep_old_output` is defined
  826. java/cs : added `-c-arg` to add C#/Java compiler arguments
  827. cpp : inititial implementation of cppia scripting
  828. Bugfixes:
  829. all : fixed nullability of abstracts over functions
  830. all : fixed some equality checks between UInt and Int
  831. all : fixed rare issue with abstract casts
  832. all : fixed some internal code which relied on unspecified evaluation order
  833. all : fixed exhaustiveness checks involving guards
  834. all : fixed issue involving recursively constrained type parameters and @:generic
  835. all : fixed type inference issue in map literals
  836. all : fixed type inference issue when calling abstract method from within the abstract
  837. all : fixed several abstract variance issues
  838. all : fixed DCE issues with interface properties
  839. all : fixed variance issue with function variables and dynamic methods on interfaces
  840. all : fixed pattern matching on empty arrays that are typed as Dynamic
  841. all : fixed various @:generic issues
  842. all : fixed default cases on @:enum abstract being omitted
  843. all : fixed various expression positions
  844. all : disallowed break/continue in closures in loops
  845. all : disallowed inline functions in value places
  846. all : fixed parsing of cast followed by parentheses
  847. all : fixed resource naming in case of invalid file system characters
  848. all : fixed issue with inlined array declarations with field access
  849. cpp : fixed issue with the side-effect handler
  850. cpp : fixed issue with NativeArray in --no-inline mode
  851. php : fixed issue with invalid references for closures in for-loops
  852. php : fixed Reflect.compare and string comparison for numeric strings
  853. cs/java : fixed various issues with -java-lib and -net-lib.
  854. cs/java : added @:libType to skip checking on -java-lib / -net-lib types
  855. cs/java : compilation server now works with C#/Java [experimental support]
  856. cs : fixed Type.enumIndex / switch on C# native enums
  857. cs : fixed reflection on COM types
  858. java : fixed sys.net.Socket server implementation
  859. spod : various fixes - working now on cpp, java, neko, php and c#
  860. cpp : improved boot order, with enums constants first
  861. General improvements and optimizations:
  862. all : disallowed using `super` in value positions
  863. all : check exhaustiveness of explicit Null types
  864. all : resolve unqualified identifiers to @:enum abstract constructors
  865. all : determine @:generic type parameters from constructor call if possible
  866. all : properly disallowed field redefinition in extending interface
  867. all : properly disallowed leading zeroes for Int and Float literals
  868. all : allowed variance on interface variables
  869. all : allowed pattern matching on arrays if they are typed as Dynamic
  870. all : allowed pattern matching on fields of parent classes
  871. all : -D doc-gen no longer implies -dce no
  872. all : allowed matching against null on any enum instance
  873. flash/js: optimized haxe.ds.StringMap
  874. neko : create output directory if it does not exist
  875. js : inline Math methods and fields
  876. cs/java : optimized Reflect.fields on dynamic structures
  877. cs/java : haxe will now clear output directory of old files (use -D keep-old-output to keep them)
  878. cs : optimized field lookup structure
  879. cs : optimized casting of parametrized types
  880. cs : beautify c# code output
  881. cs : added `cs.Flags` to manipulate C# enums that can be also flags
  882. xml : improved documentation generation and fixed missing entity escaping
  883. cpp : property access via Dynamic variables now requires property to be declared with @:nativeProperty
  884. cpp : allow injection of code from relative paths using @:sourceFile and @:cppInclude
  885. cpp : stronger typing of native functions via cpp.Function + cpp.Callable
  886. cpp : moved 'Class' implementation to hx namespace to improve objective C interaction
  887. cpp : added file_extension define to change the output filename extension (eg, ".mm")
  888. cpp : added pre-calculated hashes to string constants to allow faster lookups
  889. cpp : map implementation allows strongly typed interactions in some cases (avoids boxing)
  890. cpp : added native WeakMap implementation
  891. cpp : put each resource into own cpp file to allow more data/smaller files
  892. Standard Library:
  893. all : added typed arrays to haxe.io package
  894. all : added haxe.ds.Either
  895. all : added haxe.extern.Rest type for representing "rest" arguments in extern method signatures
  896. all : added haxe.extern.EitherType abstract type for dealing with externs for dynamic targets
  897. all : added haxe.DynamicAccess type for working with dynamic anonymous structures using a Map-like interface
  898. all : [breaking] changed haxe.ds.Vector.get to return T instead of Null<T>
  899. all : added haxe.macro.Compiler.addGlobalMetadata
  900. all : changed haxe.Int64 to be an abstract type instead of a class
  901. js : updated HTML externs
  902. Macro features and changes:
  903. macro : added Context.getLocalTVars
  904. macro : added TypedExprTools.iter
  905. macro : added Context.getCallArguments
  906. macro : changed @:genericBuild macros to prefer ComplexType returns
  907. macro : [breaking] extended TAnonymous structures now have AExtend status instead of AClosed
  908. macro : added Context.getDefines
  909. macro : fixed file_seek from end (position was inversed)
  910. macro : added Context.storeTypedExpr
  911. macro : allowed type name reification
  912. Deprecations:
  913. all : deprecated structurally extending classes and interfaces
  914. sys : Sys.command shell special chars (&|<>#;*?(){}$) are now properly escaped
  915. java/cs : Lib.nativeType is now renamed to Lib.getNativeType
  916. 2014-04-13: 3.1.3
  917. Bugfixes:
  918. all : fixed handling of abstract variance
  919. flash : ensure correct endianess in haxe.io.BytesBuffer
  920. cpp : fixed issue involving class paths with spaces
  921. php : fixed >>>
  922. macro : fixed haxe.macro.Compiler.keep
  923. General improvements and optimizations:
  924. all : give @:deprecated warnings by default, allow -D no-deprecation-warnings
  925. cpp : optimized Vector implementation
  926. Standard Library:
  927. all : renamed Bytes.readDouble/Float to getDouble/Float to avoid inheritance issues
  928. all : deprecated Bytes.readString in favor of getString
  929. all : added pretty-printing to haxe.format.JsonPrinter (and haxe.Json)
  930. 2014-03-29: 3.1.2
  931. Bugfixes:
  932. all : disallowed spaces between >>, >>>, >>= and >>>=
  933. all : fix branching issue when switching on Dynamic values with only one case
  934. all : added missing abstract cast call when checking for equality
  935. all : fixed member fields initializations on parent classes that have no constructor
  936. all : fixed toString usage of abstracts which are argument to Std.string
  937. flash : avoid rare FP 12 PPAPI JIT crash
  938. cpp : fixed bug in side-effect handler which caused incorrect behavior of while loops
  939. js : fixed missing print function for enum values with DCE
  940. macro : make sure member field initializations are respected
  941. General improvements and optimizations:
  942. all : cached file exist checks to speed up compilations with a lot of class paths
  943. all : improved completion related to super class fields
  944. all : allowed iterating on abstract which have get_length and @:arrayAccess fields
  945. js : improved Type.allEnums implementation to avoid issues with obfuscation
  946. Standard Library:
  947. all : added haxe.io.Bytes.readDouble/Float
  948. all : added haxe.io.BytesBuffer.addString/Float/Double
  949. 2014-03-15: 3.1.1
  950. New features:
  951. all : added -D deprecation-warnings
  952. all : allowed \u escape sequences in strings
  953. cs : implemented haxe.CallStack
  954. Bugfixes:
  955. all : fixed wrong handling of "" and null in haxe.io.Path.join
  956. all : fixed invalid cast-to-self generation on some abstracts
  957. all : removed @:to Dynamic from UInt to avoid issues in the Map selection algorithm
  958. all : fixed various issues with UInt
  959. all : fixed position setter in haxe.io.BytesInput
  960. all : fixed various issues with member/static extension macros
  961. flash : fixed invalid override involving single-constraint type parameters
  962. flash8 : fixed various bugs
  963. js : fixed a problem with Std.string(null) being optimized incorrectly
  964. js : fixed custom generators
  965. cpp : dealt with string literals that are too long for MSVC
  966. cs : fixed various issues with -net-lib
  967. 2014-03-04: 3.1.0
  968. New features:
  969. all : allowed null-patterns in pattern matching
  970. all : allowed extractors in pattern matching using => syntax
  971. all : allowed extending generic type parameters
  972. all : allowed (expr : type) syntax (ECheckType)
  973. all : allowed @:enum and @:forward on abstracts
  974. all : allowed using abstracts as static extension
  975. all : allowed Class.new
  976. all : added EnumValue.match
  977. all : allow multiple structural extension using { > T1, > T2, fields }
  978. all : inline array and structure declarations if possible
  979. cs : added -net-lib
  980. cs : support for native delegates
  981. cs : support for attributes
  982. cs : support for events
  983. Standard Library:
  984. all : support abstract types in haxe.rtti.XmlParser
  985. all : added Std.instance
  986. all : added length field to BytesBuffer, BytesOutput, BytesInput and StringBuf
  987. all : added UInt for all targets
  988. all : added Array.indexOf and Array.lastIndexOf
  989. all : added haxe.xml.Printer
  990. all : added haxe.Int32 as abstract type
  991. all : added haxe.format.JsonParser/Printer
  992. General improvements and optimizations:
  993. all : optimized pattern matching output
  994. all : allowed recursive type parameter constraints
  995. all : improved support of custom @:coreType abstracts
  996. all : evaluate conditional expressions in @:require
  997. all : improved inline constructors by detecting more cases where it can be applied
  998. js : improved inlining
  999. js : always use JSON extern (compile with -D old-browser to disable)
  1000. js : added -D js-flatten
  1001. js : added -D js-es5
  1002. cpp : improved side-effect detection
  1003. Bugfixes:
  1004. all : inlining a parameter which has side effects will not remove it even if not used
  1005. all : implemented constraints check on enum and enum field type parameters
  1006. all : fixed memory leak in compilation server and optimized caching in general
  1007. all : fixed issue with invalid lowercase class name in Windows completion
  1008. flash : fixed font embedding with UTF8 chars
  1009. flash : give error if non-nullable basic types are skipped in a call
  1010. flash : give error if assigned parent class field values would be overwritten by super()
  1011. Macro features and changes:
  1012. macro : add Context.onAfterGenerate
  1013. macro : add Context.typeExpr
  1014. macro : add Context.getExpectedType
  1015. macro : add ExprTools.getValue
  1016. macro : allowed $v{(c:Float|Int|String)}
  1017. macro : resolve error line number in external files
  1018. macro : rewrote macros used as static extension
  1019. macro : exposed typed AST
  1020. macro : added @:genericBuild
  1021. macro : [breaking] first argument of ComplexType.TExtend is now Array<TypePath> instead of TypePath
  1022. macro : improved expression printing
  1023. 2013-09-25: 3.0.1
  1024. all : minor DCE bug fix
  1025. 2013-05-25: 3.0.0
  1026. all : added haxe.ds.BalancedTree
  1027. all : added haxe.ds.EnumValueMap
  1028. all : allow enum constructors as keys to Map
  1029. all : haxe.ds.ObjectMap is now correctly constrained on all targets
  1030. all : preliminary support of -D display-mode=usage|position|metadata
  1031. all : improved pattern matcher error messages
  1032. all : allow inline constructors
  1033. all : allow abstract member macros (not for @:op, @:arrayAccess, @:from, @:to)
  1034. all : allow abstract type parameter variance
  1035. all : do not generate hidden null on if without else
  1036. macro : made abstract structure available
  1037. 2013-05-08: 3.0.0-RC2
  1038. all : improved abstract support
  1039. all : renamed HAXE_LIBRARY_PATH to HAXE_STD_PATH
  1040. all : added inlinable constructors
  1041. all : renamed haxe.ds.FastCell to GenericCell
  1042. all : fixed >= operator in #if conditionals
  1043. all : improved completion support for Unknown results
  1044. all : allowed [] access for Map
  1045. all : added haxe.ds.WeakMap (not yet supported on all platforms)
  1046. all : all trace parameters are now printed by default
  1047. all : added --help-metas
  1048. all : improved completion
  1049. all : improved pattern matching variable capture and GADT support
  1050. js : cached $bind results (unique closure creation per instance)
  1051. js : removed --js-modern (now as default)
  1052. cpp : added socket.setFastSend
  1053. flash : update player 11.7 api
  1054. flash : improved @:font, @:sound and @:bitmap support
  1055. neko/java/cs : improved Array performances when growing with []
  1056. java : added -java-lib support
  1057. java : added sys.net package implementation (alpha)
  1058. java : complete java std library through hxjava haxelib
  1059. java/cs : added support for overloaded function declarations
  1060. java/cs : overload selection algorithm
  1061. cs : operator overloading is now accessible through Haxe
  1062. cs : source mapping; can be disabled with -D real_position
  1063. as3 : fixed rare syntax ambiguity
  1064. php : removed initialization of some inline fields
  1065. macro : fixed several issues with 'using' a macro function
  1066. macro : improved expression printing
  1067. 2013-02-24: 3.0.0-RC
  1068. flash : updated player 11.4 api
  1069. all : allowed named functions as r-value
  1070. all : fixed using + overload usage
  1071. all : allow any type constraint for type parameters
  1072. all : make property type optional (when a initial value is set)
  1073. all : Std.random(x) when x <= 0 is now always 0
  1074. spod : added serialized data with SData<T>
  1075. all : Dispatcher will now throw DETooManyValues
  1076. all : speed up neko compilation by using native compiler
  1077. all : allow @:generic on functions
  1078. all : allow constructing generic type parameters
  1079. swf : added support for SWC files in -swf-lib
  1080. macro : added Context.onTypeNotFound callback for unresolved types
  1081. js : no JS embed as default (use -D embed-js instead)
  1082. all : added abstract types (Int/Float/Bool/Void/Class/Enum/EnumValue)
  1083. all : added --help-defines
  1084. all : changed DCE with three modes : std(default), no and full
  1085. all : Haxe3 packages changes (see http://haxe.org/manual/haxe3)
  1086. all : Removed haxe.Int32, haxe.Firebug, haxe.TimerQueue
  1087. all : added -D key=value and #if (key >= value) operations
  1088. all : StringTools.htmlEscape/unescape nows handle "/&quot; and '/&#039;
  1089. all : using and import must now appear before any type declaration in a file
  1090. all : no longer create variable fields for pure getter/setter properties (unless @:isVar is used)
  1091. all : use default get_prop/set_prop instead of custom getter/setter names for properties
  1092. js : added JQuery.delegateTarget
  1093. macro : removed EType and CType, added EMeta, modified ESwitch
  1094. all : allow @metadata expr
  1095. all : replaced haxe.rtti.Generic interface with @:generic metadata
  1096. all : no longer infer arrays of mixed types as Array<Dynamic>
  1097. all : all type/import/enum constructor resolution now follows the shadowing principle (latest has priority)
  1098. all : added EReg.matchSub, renamed EReg.customReplace to map
  1099. all : no longer allow initialization of extern non-inline variables
  1100. swf : fixed out of memory errors on very large swf-lib files
  1101. swf : added -D swf_preloader_frame, swf_gpu, swf_direct_blit
  1102. swf : added -D swf_script_timeout=seconds, swf_debug_password=password, swf_metadata=file
  1103. swf : added -swf-lib-extern
  1104. swf : added @:font support (beta)
  1105. all : added GADT support in enums
  1106. all : added pattern matching (beta)
  1107. all : changed callback(func, args) to func.bind(args)
  1108. macro : added haxe.macro.ExprTools/ComplexTypeTools/TypeTools
  1109. macro : changed reification syntax to ${expr}, $a{array}, $p{path}, $v{value}
  1110. macro : allow macro @:pos(pos-expr) to inject positions for reification
  1111. all : added array comprehension
  1112. flash : Vector.length is now Int instead of UInt
  1113. all : moved haxe.BaseCode, haxe.Md5 and haxe.SHA1 to haxe.crypto package
  1114. all : disallow Void variables and arguments (still allow S -> T to S -> Void)
  1115. all : added Array.map/filter
  1116. all : added spell check suggestions for enum constructors and fields
  1117. all : added opaque abstract(T) types
  1118. all : allow operator overloading on opaque abstract types
  1119. all : renamed IntIter to IntIterator
  1120. all : added Map
  1121. all : added haxe.ds with StringMap, IntMap, HashMap, ObjectMap, Vector, GenericStack
  1122. all : removed Hash, IntHash and haxe.FastList in favor of the types in haxe.ds
  1123. all : haxe.xml.Parser now handles entities consistently across platforms
  1124. all : renamed HAXE_LIBRARY_PATH environment variable to HAXE_STD_PATH
  1125. 2012-07-16: 2.10
  1126. java/cs : added two new targets (beta)
  1127. all : fixed List and Null<T> for first, last, pop
  1128. js : added js.Lib.debug()
  1129. flash : fixed Xml.parent() when no parent
  1130. flash : fixed haxe.io.Bytes.blit when len=0
  1131. js/php/flash8 : fixed haxe.Int32.mul overflow on 52 bits
  1132. js : fixed haxe.Utf8 usage (static 'length' issue)
  1133. all : does not allow overriding var/prop
  1134. flash : removed wrapping for Xml nodes, use instead specific compare when comparing two typed nodes
  1135. js : use new haxe.xml.Parser (faster, not based on Regexp)
  1136. flash : fixed completion issue with for( x in Vector )
  1137. all : optimized Std.int(123) and Std.int(123.45)
  1138. flash : bugfix for @:bitmap with 24-bits PNG (flash decode wrong colors)
  1139. as3 : fixed EnumValue becomes Object
  1140. js : removed js.Lib.isIE/isOpera (not complete, use js.JQuery.browser instead)
  1141. all : function parameters are nullable if they are declared with '?'
  1142. all : added support for finding common base types of multiple types (unify_min) for array, switch, if
  1143. php : do not implement duplicate interfaces
  1144. haxelib : added git support through haxelib git
  1145. all : allow derived classes to widen method visibility
  1146. macro : added haxe.macro.Context.getLocalMethod
  1147. macro : improved support of "using" macro functions
  1148. php : optimized Xml implementation
  1149. php : fixed Reflect.get/setProperty not working on PHP < 5.3
  1150. all : support for callback(f, _, x)
  1151. all : allow private access between classes that have a common base class
  1152. all : added Output.writeFloat/Double and Input.readFloat/Double
  1153. all : support for var:{x:Float} = { x = 1 } constant structure subtyping
  1154. all : allow contravariant function arguments and covariant function returns in overrides
  1155. macro : support for final Array<Expr> argument as rest argument
  1156. macro : use top-down inference on macro calls
  1157. all : made "using" imply "import"
  1158. all : made String concat more consistent across platforms (add Std.string wrappers)
  1159. all : allow direct member variable/property and static property initialization
  1160. js : greatly reduced amount of generated code by using smarter DCE
  1161. php : made modulo operations more consistent
  1162. all : allow local functions to have both type parameters and be inlined
  1163. all : functions type parameters can be constraint (will be checked at end of compilation)
  1164. macro : use NekoVM runtime for regexps, process and xml parsing
  1165. flash : allow @:getter/@:setter in interfaces
  1166. flash : added support for "arguments" in methods
  1167. all : not used enums and inline var/methods are now removed by DCE
  1168. all : allow @:overload to use type parameters and not-absolute type paths
  1169. all : ensure that Std.string of arrays and enums are now consistent across platforms
  1170. all : allow to inline functions containing other functions
  1171. xml : added metadata output to xml generator
  1172. macro : added macro <expr> and macro : <type> reification
  1173. all : renamed type(e) to $type(e)
  1174. as3 : support for metadata and resources, and other fixes
  1175. 2012-04-14: 2.09
  1176. all : optimized const == const and const != const (with different const types)
  1177. all : add Type.allEnums(e)
  1178. all : big improvements with completion speed and fixed many issues
  1179. flash9 : fixed -D swfprotected with swc output
  1180. neko : added ~ implementation
  1181. js : upgraded jquery version, more api overloads
  1182. sys : added "in" operator for spod macros, added relation access in expressions
  1183. macro : added ECheckType
  1184. macro : added TLazy for not-yet-typed class fields
  1185. js/php/neko : added haxe.web.Request
  1186. all : added Std.format
  1187. js : trace() output fallback on console.log if no id="haxe:trace"
  1188. all : ensure that Std.is(2.0,Int) returns true on all platforms
  1189. js : replaced $closure by function.$bind + changes in output format
  1190. all : allowed @:extern on static methods (no generate + no closure + force inlining)
  1191. all : added documentation in --display infos + display overloads in completion
  1192. js : removed --js-namespace, added $hxClasses
  1193. flash : output traces to native trace() when using -D fdb or -D nativeTrace
  1194. all : allowed abitrary string fields in anonymous objects
  1195. all : allowed optional structure fields (for constant structs)
  1196. all : allowed optional args in functions types (?Int -> Void)
  1197. all : added Reflect.getProperty/setProperty (except flash8)
  1198. all : added --wait and --cwd and --connect (parsed files and module caching)
  1199. all : fixed completion in macros calls arguments
  1200. all : fixed DCE removing empty but still used interfaces/superclasses
  1201. all : added haxe.Utf8 (crossplatform)
  1202. neko : Reflect now uses $fasthash (require neko 1.8.2)
  1203. all : allow \uXXXX in regexp (although not supported everywhere)
  1204. js : make difference between values and statements expressions in JSGenApi
  1205. js : added source mapping with -debug (replace previous stack emulation)
  1206. flash : added @:file("a.dat") class File extends flash.utils.ByteArray
  1207. flash : added @:sound("file.wav|mp3") class S extends flash.media.Sound
  1208. js : added --js-modern for wrapping output in a closure and ES5 strict mode
  1209. all : null, true and false are now keywords
  1210. all : neko.io.Path, cpp.io.Path and php.io.Path are now haxe.io.Path
  1211. neko, cpp, php : added Sys class, sys.io and sys.net packages and "sys" define
  1212. all : allow to access root package with std prefix (std.Type for example)
  1213. all : added haxe.EnumFlags
  1214. sys : io.File.getChar/stdin/stdout/stderr are now in Sys class
  1215. cpp : Reflect.getField and Reflect.setField no longer call property functions. Use Reflect.getProperty and Refelect.setProperty instead.
  1216. cpp : Default arguments now use Null<T> for performance increase and interface compatibility
  1217. cpp : Added metadata options for injecting native cpp code into headers, classes and functions
  1218. php : added php.Lib.mail
  1219. (hotfix) fixed bug in completion and disabled profiling on Linux
  1220. (hotfix) fixed $ssize when doing new String(v) in neko
  1221. (hotfix) fixed bug with properties in interfaces for Flash & PHP
  1222. 2011-09-25: 2.08
  1223. js : added js.JQuery
  1224. all : added @:overload
  1225. js : upgraded js.SWFObject from 1.4.4 inlined to 1.5 embedded
  1226. js : code generator beautify
  1227. all : ensure that modifying returned Type.getEnumConstructs array does not affect enum
  1228. all : allow macro typed parameters (other than Expr)
  1229. flash : added flash11 apis
  1230. neko : added support for https to haxe.Http (using hxssl library)
  1231. all : added haxe.Int64
  1232. all : added haxe.Int32 isNeg,isZero,ucompare, fixed overflows for js/flash8/php
  1233. all : bugfix when optimizing inlined immediate function call
  1234. all : fixed "using" on macro function
  1235. all : allowed member macros functions (called as static)
  1236. neko : allowed serialization of haxe.Int32 (as Int)
  1237. all : fixed invalid optimization of two constant numbers comparison
  1238. flash8 : bugfix Std.parseInt with some hex values
  1239. flash9 : added flash.utils.RegExp
  1240. all : changed @:build behavior, now takes/returns a var with anonymous fields
  1241. all : added @:native support for enums
  1242. neko : changed the result of array-assign expression (was null)
  1243. flash9 : no longer auto create enums from SWF classes
  1244. (need explicit "enum" type patch)
  1245. all : optimized variable tracking/renaming
  1246. all : optimized macro engine (speed x2)
  1247. all : added -D macrotimes support
  1248. flash9 : store resources in bytes tag instead of bytecode
  1249. all : allow $ prefixed identifiers (for macros usage only)
  1250. all : allow to access modules subtype statics with pack.Mod.Type.value
  1251. and fixed identifier resolution order
  1252. flash9 : added @:bitmap("file") for simple embedding
  1253. all : added haxe.web.Dispatch
  1254. js : added js.Storage
  1255. all : allow this + member variables access in local functions
  1256. added untyped __this__ support and transition error
  1257. all : added haxe.macro.MacroType
  1258. neko : neko.Lib.serialize/unserialize now returns bytes
  1259. neko : added sys.db package (crossplatform with -D spod_macro support)
  1260. spod_macro now uses wrappers for Bytes (require neko 1.8.2)
  1261. php : added --php-prefix for prefixing generated files and class names
  1262. all : added type_expr_with_type enum support
  1263. php/js : fixed adding 'null' to StringBuf
  1264. all : added haxe.macro.Context.defineType
  1265. 2011-01-30: 2.07
  1266. all : fixed completion support with --remap
  1267. all : added macros, added --interp
  1268. all : removed 'here' special identifier
  1269. neko : fixed neko.Web.getParamsString() returning "null" instead of ""
  1270. flash9 : fixed issue with @:bind
  1271. flash9 : added some missing errors
  1272. flash9 : fixed TypedDictionary.exists
  1273. all : added @:build and @:autoBuild for enums and classes
  1274. neko : Std.parseFloat now returns NaN with invalid string
  1275. php: fixed Array.push must return the current length (issue 219)
  1276. php: fixed EReg.replace (issue 194)
  1277. php: FileSystem.readDirectory now skips '.' and '..' to be consistent with neko (issue 226)
  1278. flash9 : add trace text on stage (always over current and subclips)
  1279. flash9 : delay SWF initialization until it's added on stage and stageWidth > 0
  1280. (this can be disabled with -D dontWaitStage)
  1281. all : added haxe.Timer.measure
  1282. all : added Lambda.indexOf and Lambda.concat
  1283. all : no longer allow inline vars as metadata values
  1284. neko : added getFieldsNames to neko.db.ResultSet (supported in Neko 1.8.2 mysql driver)
  1285. all : added --macro and haxe.macro.Compiler
  1286. all : allow macro type patches
  1287. flash9 : changed --gen-hx-classes implementation
  1288. now use 'haxe -swf-lib lib.swf --gen-hx-classes' instead
  1289. flash9 : added @:getter and @:setter
  1290. all : added @:require
  1291. flash9 : moved vector utils functions from flash.Lib to flash.Vector
  1292. flash9 : added support for FP 10.1 and 10.2
  1293. flash9 : added @:meta(Meta(k="v")) support
  1294. all : improved #if support (fixed ! precedence)
  1295. all : lookup unqualified types in all package hierarchy and not only in current package
  1296. flash : set default flash version to 10 (-swf9 deprecated, use -swf-version 8 for avm1)
  1297. php : added --php-lib to allow to rename the destination path of the generated lib
  1298. all : added --dead-code-elimination, removes unused functions from the output
  1299. (beta feature could not make in the final release)
  1300. all : added @:keep to prevent --dead-code-elimination of class/method
  1301. flash9 : fixed issues with loading a Haxe SWF (boot_XXXX class extends flash.Boot)
  1302. all : allow to inline override methods (if the superclass method is not inlined already)
  1303. all : fixed escape sequences in literal regular expressions
  1304. flash9 : fixed Xml.setNodeValue
  1305. all : removed -excluded, replaced by --macro excludeFile('filename')
  1306. all : added --macro exclude('package') and --macro include('package')
  1307. all : importing a typedef of an enum allow to access its constructors
  1308. all : removed String.cca (replaced by StringTools.fastCodeAt + StringTools.isEOF)
  1309. flash9 : fixed use of default values when null is passed for nullable basic types
  1310. all : fixed issues with inlining and class/function type parameters
  1311. all : big speedup for compiler internal completion
  1312. all : added --macro keepClass('classname')
  1313. flash9 : fixed Xml.nodeValue for comments (does not include <!--/-->)
  1314. all : added named local functions (allow self-recursion)
  1315. all : use left-assoc for (==,!=,>,>=,<,<=)(==,!=,>,>=,<,<=) (&&)(&&) and (||)(||)
  1316. all : give prefix unary operators higher priority than ?:
  1317. php : fixed XML parsing
  1318. cpp : many fixes
  1319. 2010-08-14: 2.06
  1320. neko : change serializer to be able to handle instances of basic classes from other modules
  1321. js : add Document.createTextNode
  1322. all : bugfix with inline when modifying var with same name as one of current local
  1323. flash9 : classes implementing ArrayAccess<T> are now dynamic (including TypedDictionary)
  1324. all : allow "using" on typedefs
  1325. as3 : minor fixes in genas3 and --gen-hx-classes
  1326. as3 : fix with readonly/writeonly properties accesses
  1327. flash9 : list native getter/setters in Type API class/instance fields
  1328. all : make haxe.rtti.Generic typing lazy (fix for self-recursion)
  1329. all : allow haxe.rtti.Generic + inheritance
  1330. all : added resource size limit to 12MB (ocaml max_string_size is 16MB + b64)
  1331. flash : changes in swf handling to work with >16MB swfs
  1332. flash9 : only init dynamic methods if not already defined (in subclass)
  1333. std : added haxe.SHA1
  1334. compiler : added TCast, allow cast optimization on flash9/cpp
  1335. as3 : fixed Std.__init__ generating 'null'
  1336. compiler : fixed -no-opt
  1337. flash : allow several -swf-lib
  1338. no longer support automatic creation of classes for f8 swfs in f9 mode
  1339. classes defined in f9 swf are not redefinable in Haxe code (use extern)
  1340. flash9 : allow direct access and completion with classes defined in -swf-lib's
  1341. flash9 : remove imported libraries debug infos when not compiled with -debug
  1342. all : only display errors with --display if no completion matched
  1343. all : some completion related errors fixed
  1344. flash9 : added @:bind support
  1345. all : fixed StringTools.hex with negative numbers
  1346. flash9 : fixed Type.typeof(1<<28) was TFloat
  1347. flash9 : use flash.XML parser for Xml class implementation
  1348. neko : fixed Array.splice (was not setting null at end of array)
  1349. neko : rewrote Array class using neko.NativeArray
  1350. all : core classes implementation are now in std/(platform)/_std
  1351. all : added @:final support
  1352. all : added haxe.rtti.Meta
  1353. flash9 : added flash.desktop.Clipboard* classes (added in flash10)
  1354. as3 : fixed Date.toString issue in flash.Boot (now use .toStringHX instead)
  1355. this will only work if .toString called explicitely on Date class
  1356. all : only allow "using" on Dynamic if first parameter is Dynamic
  1357. php : haxe.Http now supports Https connections when OpenSSL extension is enabled (issue 143)
  1358. php : fixed enum constructors sequence (issue 142)
  1359. php : added error message when using 2 fields with different cases in the same class/enum
  1360. php : fixed field declaration for properties with getter and setter (issue 124)
  1361. php : fixed comparison issues between strings (issue 132)
  1362. php : enhanced FileInput.readLine using native fgets function (issue 103)
  1363. flash9 : renamed flash.Error to flash.errors.Error
  1364. php : removed eval() everywhere and simplified _hx_lambda
  1365. php : fixed return type for Std.string() with integers and floats
  1366. php : fixed php.Lib.rethrow
  1367. all : added custom Haxe serialization
  1368. php : aligned php.Web.parseMultipart signature with neko implementation
  1369. cpp : Added source location and stack dump for errors in debug mode
  1370. cpp : Remapped more keywords
  1371. cpp : Added templated fast iterator code for arrays and FastLists
  1372. cpp : Added option for tracing GC references in debug mode
  1373. cpp : Switch the native string implementation from wchar_t to utf8 - for regex speed
  1374. cpp : Added extra "()" to ensure correct order of operations
  1375. cpp : Fixed various bugs for unusual (and not so unusual) language constructs
  1376. cpp : Fixed order of enum generation from index
  1377. cpp : Added __unsafe_get and __unsafe_set to Array as possible optimizations
  1378. cpp : Default to mult-thread compiling on windows for cl version >= 14
  1379. cpp : Seed Math.random
  1380. cpp : Use strftime for Dates
  1381. cpp : Fix socket sellect passing _s
  1382. cpp : Throw error when match count does not match regex
  1383. cpp : Improve register capture in GC
  1384. cpp : Fix Dynamic integer compare
  1385. cpp : Implement makeVarArgs
  1386. cpp : Fix toString for nulls in Enums and Arrays
  1387. cpp : Added initial Android support
  1388. cpp : Move initializers to entry functions in standard ndlls.
  1389. cpp : Changes some CFFI register funtions to char*, from wchar_t*
  1390. cpp : Added some initial support for v8 script target
  1391. cpp : Use non-recursive GC marking to avoid overflow in big lists
  1392. cpp : Added __hxcpp_obj_id
  1393. 2010-01-09: 2.05
  1394. js : added js.Scroll
  1395. js : package names are now checked at runtime to avoid clashes with existing libs
  1396. js : added --js-namespace to create a namespace for types that are defined in the root
  1397. all : updated xml output and html doc - add inline, override, dynamic functions support
  1398. all : added error when comparing enum with arguments
  1399. all : optimize constant equality for enums
  1400. flash9 : fixed verify error with inline + null type
  1401. flash9 : bugfix when overriding/implementing an method with an applied type parameter
  1402. php : fixed issues with classes that implement Dynamic
  1403. all : ignore #! line at beginning of the hx file
  1404. haxelib : added tags, added documentation
  1405. flash8 : don't use b64 encoding for text ressources
  1406. php : fixed bug in Hash.exists for null values and Reflect.callMethod
  1407. js/flash9 : throw exception in Xml.parse when unclosed node
  1408. all : improve return type progagation in inlined expression (fix some VerifyErrors)
  1409. all : optimize {const} into const
  1410. all : added structure / Dynamic<T> subtyping
  1411. all : fixed List.map2 error when inline + optional args
  1412. flash9 : encode all ISO constant strings into UTF8 at compilation time
  1413. all : allow hxml with only -cmd statements
  1414. spod : moved Manager.addQuote to Connection.addValue
  1415. flash9 : removed .iterator() from Vector (not implementable)
  1416. all : fixed haxe.rtti.Generic on interfaces
  1417. php : fixed issue with Reflect.callMethod
  1418. php : fixed issue with PHP reserved word used in callbacks
  1419. all : bugfix with non-constant enums in switches
  1420. flash9 : fix for interfaces (use namespace)
  1421. all : "using" now works for identifiers in member methods
  1422. flash9 : bugfix with switch on some big integers
  1423. all : bugfix when optimizing (function(x) return x)(x)
  1424. neko : improved speed of Xml.toString()
  1425. all : added -D dump (for debugging purposes)
  1426. neko : added neko.Web.isTora
  1427. php : added php.db.PDO (php.db.Sqlite is now deprecated)
  1428. php : fixed bug in Type.getClassFields() that reported duplicated entries
  1429. php : fixed errror in XML error reporting
  1430. all : allow sub-types declarations everywhere (pack.Type.Sub)
  1431. all : added completion for sub-types declarations
  1432. all : improved completion with lambda function
  1433. as3 : several generation fixes
  1434. all : bugfix haxe.rtti.Generic on private class
  1435. php/js/cpp : sanitize binary expressions to prevent inlining errors
  1436. spod : remove object from cache when deleted
  1437. 2009-07-26: 2.04
  1438. flash9 : fixed get_full_path error with -D fdb
  1439. js : fixed Array.remove on IE
  1440. flash8 : removed extra empty AS3 tag (causing some issue with F8 loadMovie)
  1441. improved speed of Bytes unserializing (no need for BytesBuffer)
  1442. flash9 : bugfix, Null<Typedef> was generating dynamic code
  1443. flash9 : added error message in flash.Vector if used without flash 10
  1444. flash9 : fixed some "never" property access issues
  1445. all : added "never" property access support for all platforms
  1446. js : small syntax fix with value-blocks
  1447. js : fixed Type.enumEq with null values
  1448. js/flash8 : use &0xFF in haxe.io.Bytes.set
  1449. flash9 : fixed switch on Null<Int> verify error
  1450. flash9 : fixes related to UInt type + error when using Int/UInt comparison
  1451. as3 : improved Vector support, inline flash.Lib.as
  1452. as3 : bugfix with skip_constructor
  1453. as3 : added Enum.__constructs__ (allow Type.getEnumConstructs)
  1454. as3 : make all constructor parameters optional (allow Type.createEmptyInstance)
  1455. as3 : bugfix with property access inside setter (stack overflow)
  1456. all : Enum is now Enum<T>
  1457. all : added Type.createEnumIndex
  1458. all : forbid same name for static+instance field (not supported on several platforms)
  1459. all : renamed haxe.Http.request to "requestUrl"
  1460. all : renamed neko.zip.Compress/Uncompress.run to "execute"
  1461. spod : fix very rare issue with relations and transactions
  1462. compiler : added TClosure - optimize closure creation and ease code generation
  1463. cpp : added CPP platform
  1464. all : added 'using' syntax
  1465. neko : added 'domains' optional param to ThreadRemotingServer to answer policy-file-request
  1466. php : fixed php.db.Mysql so that getResult is consistent with Neko behavior
  1467. php : fixed __toString for anonymouse objects
  1468. php : fixed bug in overridden dynamic functions
  1469. php : fixed round to be consistent with other platforms
  1470. php : fixed bug concatenating two dynamic variables
  1471. php : php.Lib.rethrow now works as expected
  1472. flash9 : fixed bug with SWC output and recursive types
  1473. flash8 : fixed inversed arguments in __new__
  1474. neko : added neko.net.Socket.setFastSend
  1475. php: fixed String.charCodeAt
  1476. php: minor optimization (removed foreach from std code)
  1477. php: implemented haxe.Stack
  1478. php: changed exception handler to use Haxe call stack
  1479. php: changed special vars to use the '\xBB' prefix instead of __
  1480. php: fixed use of reserved keywords for var names
  1481. php: List iterator is now class based (faster)
  1482. php: fixed behavior of class variables having assigned functions
  1483. php: fixed php.db.Manager (was uncorrectly removing superclass fields)
  1484. php: added support for native Iterator and IteratorAggregate interfaces
  1485. all : added --display classes and --display keywords
  1486. all : fixed issue with optional parameters in inline functions
  1487. all : allow implementing interfaces with inline methods
  1488. all : enable inlining for getter/setter/iterator/resolve/using
  1489. 2009-03-22: 2.03
  1490. optimized Type.enumEq : use index instead of tag comparison for neko/flash9/php
  1491. bugfix for flash.display.BitmapDataChannel and GraphicsPathCommand (allow inline static)
  1492. resolve environment variable in -cmd commands
  1493. added flash.Vector.indexOf and lastIndexOf
  1494. fixed bug in interfaces that define the method toString (Haxe/PHP)
  1495. fixed bug in haxe.io.BytesInput.readBytes in Flash9 (was throwing Eof if full buffer can't be read)
  1496. fixed implements/extends special classes when they are imported
  1497. StringBuf now uses an array for JS implementation (around same on FF, faster on IE)
  1498. fixed assignment of field length in anonym objects (Haxe/PHP)
  1499. fixed addEventListener typing for flash9
  1500. fixed __vector__ generation for AS3 target
  1501. fix with inline functions : position is now the inserted position and not the original one (better error reporting)
  1502. added SWC output support
  1503. fixed issues with unset of values in for loops and executing blocks that return functions (Haxe/PHP)
  1504. "throw" type is now Unknown instead of Dynamic (prevent type-hole in "if A else if B else throw")
  1505. added __foreach__ for flash9/as3
  1506. fixed f9 verify error with different kind of functions
  1507. moved eof() from neko.io.FileOutput to FileInput
  1508. added haxe.rtti.HtmlEditor
  1509. added neko.db.Manager.setLockMode
  1510. genAS3 : fixed Error classes issues
  1511. genAS3 : fixed default basic type value in interfaces
  1512. flash9 : fixed UInt default parameter verify error
  1513. flash9 : fixed issue with flash.* string enums verify error
  1514. compiler : allowed \r line separators for HXML files
  1515. flash9 : fixed verify error with loop variable beeing a specific class
  1516. compiler : prevent truncating float dynamic values to int when using numerical operations
  1517. neko.db.Manager fix : synchronize fields after locking an unlocked cached object
  1518. compiler : fixed issue with cascading inline+haxe.rtti.Generic
  1519. optimizer : reduce constant int/float/bool expressions and immediate function calls
  1520. flash9/as3/php : don't add Boot.skip_constructor test if no side effects in constructor
  1521. compiler : added --no-opt to disable expr reduction
  1522. compiler : separated basic and advanced commandline options
  1523. compiler : fixed printing of sub-function types
  1524. genHX : fixed generation of classes that extends another class (shouldn't be turned into enums)
  1525. speedup Array.remove on flash9/js
  1526. 2008-11-23: 2.02
  1527. Std.is(MyInterface, Class) now returns true (Haxe/PHP)
  1528. php arrays are wrapped into _hx_array instances, fixes issues with references (array cast, access out of bounds ...)
  1529. removed untested php classes (php.DBase, php.IniHash)
  1530. added -D use_rtti_doc
  1531. flash.Lib.getTimer() now returns Int and is inlined
  1532. fixed php.FileSystem.stat
  1533. added memory related functions to php.Sys
  1534. added error when trying to extend Array, String, Date and Xml
  1535. fixed handling of implements ArrayAccess
  1536. fixed some minor things in flash10 api
  1537. switch/for/while/do/try/if are no longer using parse_next (parenthesises requ. instead)
  1538. fixed Type.typeof and Std.is in case of too much large integers for Flash6-8/JS
  1539. haxe.xml.Check : treat comments the same as PCDATA spaces
  1540. haxe.io.BytesData now uses strings instead of arrays for PHP
  1541. compiler : optimized line calculus from ast position
  1542. lexer : allow identifiers starting with _[0-9]
  1543. fixed access to flash.Vector methods : use AS3 namespace (faster)
  1544. bugfix in inline functions : modifying a parameter can't modify a real local var anymore
  1545. bugfix in inline functions : handle class type parameters and method type parameters
  1546. fixed issue with Int default value for Float parameter
  1547. flash9 : bugfix when using the retval after setting a closure variable
  1548. added flash.Memory API for flash10 alchemy opcodes access
  1549. changed #if as3gen to #if as3 when generating as3 code
  1550. fixed as3 flash.Vector generation
  1551. fixed haxe.io.BytesOutput for flash9 : set default to little-endian
  1552. some flash9 fixes related to extern enums
  1553. updated flash.text.engine package with haxe enums
  1554. flash9 : use target file path for Boot unique ID instead of random number
  1555. as3 : fixed bug when anonymous field was a reserved identifier
  1556. flash9 : added flash.Lib.vectorOfArray and vectorConvert for flash10
  1557. added -D check-js-packages to allow several haxe-generated js files in same page
  1558. 2008-10-04: 2.01
  1559. fixed php.Sys
  1560. added neko.NativeString and neko.NativeArray
  1561. fixed php.Boot.__string_rec() when invoked from toString
  1562. fixed null references in class constructors for array arguments
  1563. fixed Type.enumParameters() and Type.typeOf() for PHP
  1564. fixed SPOD/MySql for PHP
  1565. fixed php.net.Socket.setTimeout(), php.io.Process
  1566. fixed php.Web.setCookie() for expire time
  1567. fixed php rethrow in catches and added the possibility to catch native exceptions
  1568. added runttime check for php.io.Socket.shutdown (uses fclose in php 5.1.x)
  1569. allowed optional Context in remoting connections
  1570. fixed extern classes for flash < 8
  1571. fixed inherited protected/private properties in as3 SWF library
  1572. fixed haxe.io float/double in Neko (when bigEndian was null)
  1573. added __FSCommand2__ support
  1574. optimized haxe.Unserializer (use faster buffer access)
  1575. use "Dynamic" instead of Dynamic->Void for flash9 IEventDispatcher
  1576. always use full classes paths for genAS3
  1577. prevent different get/set property accesses when implementing an interface
  1578. fixed assign of dynamicfunction references in PHP
  1579. Haxe/PHP now generates code for extern classes __init__
  1580. added strings literal support in haxe.Template
  1581. fixed Process arguments and exitCode() in Haxe/PHP
  1582. fixed hierarchy problem for classes with the name from different packages Haxe/PHP
  1583. php.db.Mysql now throws an exception when tries to connect to an unexistant DB
  1584. fixed blocks in if statements for Haxe/PHP
  1585. added php check on the full hierarchy for colliding names
  1586. added support for "g" modifier in EReg for PHP
  1587. PHP now generates __toString for classes that have toString defined
  1588. implemented php.Lib.getClasses()
  1589. fixed duplicate fields in Type.getInstanceFields on subclass
  1590. Enum is no longer defined inside Type but is standalone class
  1591. fixed Date.getDay on Neko/Windows (use %w instead of %u)
  1592. fixed memory leak with PHP closures
  1593. fixed wrong scope in PHP closures
  1594. fixed Array.reverse() in PHP
  1595. fixed Reflect.compareMethods in Neko (require Neko 1.8.0)
  1596. fixed flash7-8 register usage for __init__ and static variables initialization
  1597. moved StringTools.baseEncode/Decode to haxe.BaseCode
  1598. fixed binary resources for Flash, JS and PHP outputs
  1599. fixed compiler bug with inline + optional arguments
  1600. fixed Type.createInstance and createEmptyInstance with Array for flash6-8
  1601. 2008-07-28: 2.0
  1602. fixed current package bug in inherited constructor type
  1603. delayed type-parameter constraints check (allow mutual rec extends for SPOD)
  1604. improved unclosed macro error reporting
  1605. Haxe/PHP integration
  1606. renamed NekoSocketConnection to SyncSocketConnection (php support)
  1607. fixes in genAs3
  1608. fix for flash9 : always coerce call return type
  1609. set all private+protected names from SWF lib to public (allow override+reflect)
  1610. flash9 : use findprop instead of findpropstrict for 'this' access (allow dynamic)
  1611. don't allow nullness changes in overrided/implemented
  1612. prevent typing hole with overridden polymorphic methods
  1613. added neko.vm.Mutex and neko.vm.Deque (included in neko 1.7.1)
  1614. added package remapping using --remap
  1615. 2008-07-17: 2.0-RC1
  1616. genneko : remove big array error (fixed in neko 1.7.1)
  1617. fixed neko.net.ThreadRemotingServer.onXML
  1618. genswf9 : fixed verify error with Null<Class> (was using dynamic access)
  1619. small patch for jsfl support
  1620. added .cca for faster string operations on Flash9/Flash/JS
  1621. bugfix with inlined local variables
  1622. upgraded flash9 api to flex3/player 9.0.115
  1623. override is now mandatory, no more --override
  1624. dynamic is now a keyword
  1625. f9dynamic is now dynamic and is mandatory on all platforms
  1626. public/private/dynamic are inherited by default when overriding a method
  1627. removed Reflect.empty() : use {} instead
  1628. changed #else by #elseif, added #else
  1629. flash9 : optimized Hash,IntHash,StringBuf (use typed value)
  1630. Reflect.field/setField/callMethod , Type.enumIndex and StringBuf methods are now inlined
  1631. optimized haxe.Md5 : don't use statics
  1632. allow up to 8 parameters in Reflect.createInstance
  1633. flash9 : some minor optimizations in haxe.Serializer
  1634. added haxe.io package (removed things from neko.io)
  1635. __resolve becomes resolve (and should be documented)
  1636. added haxe.Int32
  1637. removed neko.Int32
  1638. removed neko.io.Input/Output/Eof/Error/Logger/Multiple/StringInput/StringOutput
  1639. removed neko.net.RemotingServer
  1640. changed neko apis to use haxe.io and Bytes instead of String buffers
  1641. fixed big bug in js/flash8 debug stack handling
  1642. complete rewrite of haxe.remoting package
  1643. haxe.io.Bytes serialization support (replace deprecated string support)
  1644. removed === and !==
  1645. removed Std.bool
  1646. fixed : Reflect.field(null) in flash9 doesn't throw an error anymore
  1647. removed Type.toClass and Type.toEnum
  1648. Dynamic type is now a class and not an enum
  1649. moved reflection support for core types from Boot to Std
  1650. fixed Type.getClassName/getEnumName/resolve for core flash9 types
  1651. renamed haxe.rtti.Type to haxe.rtti.CType (with changes in prefix)
  1652. added haxe.TimerQueue, added haxe.Timer.delay, remove haxe.Timer.delayed
  1653. flash9 : bugfix, generated interfaces were empty
  1654. fixed bug while writing block-vars in flash/js
  1655. added parameters default value (constants)
  1656. removed Std.resource, Std.ord, Std.chr
  1657. added haxe.Resource, allow binary data in resources
  1658. added Type.createEnum
  1659. check that local variables get correctly initialized before usage
  1660. haxe.Stack support for flash9
  1661. 2008-04-05: 1.19
  1662. fixed flash9 Array.toString
  1663. fixed inline return bug
  1664. added haxe.rtti.Generic behavior
  1665. added haxe.FastList
  1666. bugfix to prevent recursive anonymous
  1667. fixed some incorrectly reported "recursive inline" errors
  1668. fixes in genas3 + genswf9 for Dynamic/* in methods
  1669. {} is now an empty object and not an empty block
  1670. fixed some verify errors left in flash9
  1671. fixed private/protected differences in gen-hx-classes
  1672. genswf9 : allowed to store a Class in a typed register
  1673. fixed switch-on-bool (don't use matching)
  1674. genswf9 : optimized switch on ints
  1675. some renames in haxe.rtti.Type
  1676. added flash.utils.TypedDictionary for F9
  1677. genswf9 : fixe debug filename with inline code
  1678. fixed completion for packages starting with 'a' or 'z'
  1679. added flash9.Lib.as
  1680. prevent double Movieclip class declaration when linking flash9 lib
  1681. allow numerical operations on type parameters constraint by Float
  1682. genswf9 : fixed dynamic inheritance
  1683. 2008-02-23: 1.18
  1684. some optimization and bugfix for as3 codegen
  1685. bugfix : allow bitmaps and fonts classes for F9 library
  1686. bugfix : neko.Web.setCookie
  1687. bugfix : as3 switches in -swf-lib, and enable to "repair" corrupted as3 bytecode
  1688. fixed --i return value in flash9
  1689. fixed some transforms in flash9
  1690. added js.Selection
  1691. simplified js.Dom (more events)
  1692. added haxe.xml.Fast.innerHTML
  1693. added Reflect.compare
  1694. fixed "".split() in Neko (now returns [""] instead of [])
  1695. bugfix for swf-lib f9 classes ordering
  1696. added EReg.customReplace
  1697. added neko.Lib.lazyLoad and improved neko.net.Poll for Neko 1.6.1
  1698. prevented static fields in interfaces
  1699. added neko.Sys.cpuTime()
  1700. fix for protected as3 classes
  1701. added support for flash9 XML (in flash.xml package)
  1702. added neko.vm.Tls for Neko 1.6.1
  1703. added --no-inline
  1704. renamed neko.zip.File to neko.zip.Reader
  1705. added neko.zip.Writer and neko.zip.CRC32
  1706. fixed multilevel Transform.block_vars
  1707. added js.SWFObject
  1708. fixes for if/switch with null or Null<T> on Flash9
  1709. 2008-01-13: 1.17
  1710. fixed Int32.compare, added Int32.read and Int32.write
  1711. fixed type of unitialized registers in flash9
  1712. fixed Sqlite transactions (commit and rollback now restart a transaction)
  1713. several flash9 optimizations
  1714. flash9 debug support (with -D fdb)
  1715. set align to TopLeft if not defined for flash9
  1716. added neko.vm.Gc
  1717. fixed Null should not be a value
  1718. bugfix in serialization format with USE_ENUM_INDEXES
  1719. added apis in DateTools for time manipulation
  1720. bugfix in flash9 : strictly typed local vars used in local functions
  1721. always force swf version and sandbox redefinition
  1722. added as3hl layer
  1723. merge as3 classes
  1724. use flash9 fast switch for enums
  1725. always use match for enums (no switch even if constant)
  1726. fixed DateTools.format %I and %l in Flash/JS
  1727. securized Hash for JS and Flash
  1728. compiletime F9 class generation for F8 swflib
  1729. optimized for loops (Array and IntIter)
  1730. added #line support
  1731. more f9 Null<T> support for "if" and array declarations
  1732. more neko.Web.setCookie parameters
  1733. added "inline" for methods and static vars
  1734. fixed % type in flash9
  1735. 2007-10-31: 1.16
  1736. use _sans font for default flash traces (better Linux support)
  1737. fixed haxe.remoting.Connection compilation for Flash<8
  1738. added fix to prevent 64K identifiers limit on Flash<9
  1739. ensure order of anonymous fields initialization
  1740. fixed haxe.remoting.Connection.urlConnect in JS
  1741. use amortized O(1) for Neko Array implementation
  1742. ndlls libraries should now use .neko() instead of __a
  1743. allowed 'u' utf8 for regexp (needs Neko 1.6.1 regexp.ndll on windows)
  1744. onclick and onsubmit JS events returns Bool
  1745. fixed inherited constructor of extern class was always private
  1746. fixed Ereg.split without 'g' flag on JS/Flash9
  1747. fixed haxe.Stack in JS without -debug
  1748. added support for -D no-swf-compress
  1749. fixed ByteArray.readObject
  1750. fixed implements Dynamic in Flash9
  1751. removed neko.io.FileInput.eof, fixed neko.io.Input.readLine
  1752. fixed haxe.Template for Flash9
  1753. added neko.Sys.command optional array of arguments
  1754. removed haxe.Proxy
  1755. added flash.XMLRequest
  1756. fixed Type.enumParameters for Neko
  1757. guaranteed order of Type.getEnumConstructs same as code
  1758. used index-based dispatch for enums
  1759. added Type.enumIndex
  1760. fixed enum.toString for Flash and JS
  1761. support for -Dnetwork-sandbox
  1762. trim -cp and -resource
  1763. various genas3 fixes
  1764. 2007-08-29: 1.15
  1765. fixed bug with Enum.construct when Enum have type parameters
  1766. change with "untyped" : arguments types are checked (because of opt select)
  1767. haxedoc : fixed type parameters display
  1768. fix for JS and Flash9 XML parser : allow newlines in attributes
  1769. disable Flash9 resources with AS3Gen
  1770. error on extra anonymous fields
  1771. error on too much big neko array declaration (neko 1.6 max_stack limit)
  1772. fixed Flash9 statics slots (FP 9,0,60 compatibility)
  1773. fixed Flash9 Type.getClassName
  1774. optional enums arguments on Flash9 are now automatically Null
  1775. forbid usage of type parameters in static functions
  1776. fixed Std.int with negative numbers
  1777. fixed some F9 issues with Haxe-specific Array, Date and Math methods
  1778. used AS3 namespace for F9 Array and String instance methods
  1779. fixed F9 with uninitialized integer registers
  1780. fixed F9 + operator with Dynamic/Null operands
  1781. added Enum subtyping
  1782. fix with remoting threadserver and exceptions
  1783. fixed Flash9 dynamic runtime type field access
  1784. fixed very tricky typing bug with constructors inheritance
  1785. fixed some documentation related parser bug
  1786. fixed stack overflow with static setter
  1787. fixed package completion bug when -cp points to an not existing dir
  1788. fix duplicate sandboxes tags with -swf
  1789. __resolve in Haxe Remoting is now public
  1790. 2007-07-25: 1.14
  1791. fixed no error when invalid "catch" expression
  1792. remove variance
  1793. fixed prototype bug in neko when "Main" class is defined
  1794. fixed flash9 xml iterator methods
  1795. bugfix in flash9 ByteArray serialization
  1796. fixed genAS3 conflicting classes and interfaces
  1797. preserve neko output file extension
  1798. added flash.Event for Flash9
  1799. added --no-output
  1800. fixed neko.net.Socket peer and host methods
  1801. added neko.io.Process and neko.vm.Ui
  1802. added haxe.xml.Proxy
  1803. some flash6 fixes
  1804. allowed simplequotes for xml attributes in Flash9 and JS
  1805. flash9 optimizing compiler
  1806. new faster neko binary AST
  1807. added haxe.remoting.NekoSocketConnection and SocketProtocol
  1808. don't allow for...in iteration with Dynamic or Unknown
  1809. added flash9 resources
  1810. fixed precedence of ternary operator ?:
  1811. 2007-05-18: 1.13
  1812. fixed bug with local variable masking package in catch type
  1813. fixed "Not_found" when enum params differs
  1814. added "override" for AS3 generator
  1815. fixed stack overflow in typedefs
  1816. added haxe.Timer.queue, removed delayedArg (use callback instead)
  1817. fixed haxe.remoting.SocketConnection (msg invertions might occur)
  1818. add uniqueness check for switch constants
  1819. js : HtmlCollection and MetaDom.childNodes are not true Arrays
  1820. allowed semicolon after typedef declaration
  1821. fixed in-loop closure usage of "for" variable for Flash and JS
  1822. added neko.net.ThreadRemotingServer.onXml (to handle crossdomain xml)
  1823. more accurate stack trace for socket remoting
  1824. prevent some memory leak in haxe.Timer / JS
  1825. added flash fullscreen support
  1826. added cond?a:b syntax support
  1827. added utf8 buffer api
  1828. added haxelib "dev" mode
  1829. renamed Http.asyncRequest to customRequest
  1830. add classes to Neko module export table
  1831. fixed parametrized enums for Flash6
  1832. fixed bug with completion and interfaces
  1833. fixed --flash-use-stage in Flash9
  1834. 2007-03-06: 1.12
  1835. added flash lite support with -D flash_lite
  1836. bugfix for Unknown<X> should Unknown<X>
  1837. prevent some exceptions in neko.net.ProxyDetect
  1838. fixed ByteArray serialization
  1839. added neko.Int32
  1840. added -x for fast neko scripting
  1841. prevent locals from breaking class access (works with imports)
  1842. fix in function overriding subtyping
  1843. added haxe.remoting.FlashJsConnection
  1844. fixed tar support in neko.zip.File
  1845. ide completion support using --display
  1846. give access to neko.net.Host ip (as Int32)
  1847. fixed bug when calling super.UpperCaseMethod()
  1848. hide additional flash Array methods
  1849. allow leading comma in anonymous types
  1850. added haxe.Public interface
  1851. added AS3 code generator
  1852. field lookup gives priority to superclass over interfaces
  1853. improved haxedoc output
  1854. fixed bug in neko regexp split/replace when empty match at eol
  1855. fixed bug in flash 6-7-8 resources generation
  1856. 2007-01-28: 1.11
  1857. changed StringBuf.add implementation
  1858. added haxe.Firebug
  1859. allowed variable return type for overridden/implemented methods
  1860. display error position in front of each error line
  1861. improved error messages when optional arguments not matched
  1862. added neko.io.Path
  1863. added neko.net.ProxyDetect
  1864. bugfix in unify : prevent recursive anonymous objects
  1865. haxe.Http call "prepare" only if size is known
  1866. added multiple expressions in "case"
  1867. serialization : deprecated old string format, use urlEncode/Decode
  1868. added flash9 bytearray serialization (to binary string, for neko com)
  1869. fixed Type.typeof on some flash9 instances
  1870. no more dontUseCache (haxe.Serializer.USE_CACHE, default to false)
  1871. small genxml/haxedoc improvements
  1872. added Type.enumEq
  1873. local function parameters are now inferred in several cases
  1874. optional RTTI for Spod Object
  1875. bugfix related to callback in neko code generator
  1876. more type error stack (now includes type parameters)
  1877. type system fixes in anonymous subtyping
  1878. added Iterable<T>, changed Lambda
  1879. added TAR and GZIP support to neko.io.Zip
  1880. compute minimal array content type
  1881. fixes in enum switchs
  1882. 2007-01-01: 1.10
  1883. fix in haxe.remoting.SocketConnection.readAnswer
  1884. fix in postfix incr/decr and getter/setter
  1885. added haxe.Http.fileTransfert for Neko
  1886. fixed haxelib to 1.02 (use multipart file transfert)
  1887. fixed Array.reverse
  1888. added flash.Lib.getURL and fscommand for Flash9
  1889. fixed some ignored parse errors
  1890. fixed minor syntax : immediate object access
  1891. allow extend/implements a typedef
  1892. fixed Flash9 AMF remoting
  1893. fixed Flash9 bugs in Date object
  1894. fixed dynamic Array typing bug
  1895. allowed typedef private field access
  1896. added Class<T> base class type
  1897. AsyncConnection.call callback is now optional
  1898. fixed if/switch with no else/default compilation
  1899. moved Reflect.createInstance to Type
  1900. added Reflect.makeVarArgs
  1901. haXelib 1.03 : several developers per project + web interface
  1902. 2006-11-22: 1.09
  1903. added neko.vm.Module and neko.vm.Loader
  1904. haxelib : allowed spaces in "run" arguments
  1905. allowed Thread comparison
  1906. fixed bug in SWF6 compilation
  1907. allowed either Mysql or Mysql5 usage
  1908. replaced db.Connection.hasFeature by db.Connection.dbName
  1909. added Socket.custom field
  1910. moved neko.Thread to neko.vm.Thread
  1911. define haxe_109 (for api changes)
  1912. fixes in haxe.remoting.Connection and haxe.Unserializer for F9
  1913. added haxe.remoting.Connection.urlConnect for JS
  1914. allowed private typedef fields
  1915. added neko.net.ThreadServer, ThreadRemotingServer and Poll
  1916. removed neko.net.RemotingBuffer
  1917. relaxed enums switchs (allow value in first case)
  1918. changed "cast" codegeneration (fix some F9 usages)
  1919. change in POST data handling in mod_neko (max 256K, except multipart)
  1920. added neko.Web.getClientHeaders and neko.Web.flush
  1921. "callback" is now a keyword
  1922. fixed stack overflow when typedef = Dynamic
  1923. fixed Reflect.createInstance on F9
  1924. Array : slice optional length, fixed neko slice & splice
  1925. + fixed cast return type
  1926. 2006-10-29: 1.08
  1927. fixed bug in flash -debug
  1928. fixed Sqlite result .length
  1929. fixed missing "." in OSX/Linux default classpath
  1930. fixed haxelib NDLL autoloading on OSX
  1931. fixed bug in deserialization of "\\\r" sequence
  1932. added inheritance and fields getter/setter to xml output
  1933. haxedoc 2.0
  1934. fixed neko native enum serialization
  1935. fixed "all constructors matched" for enums without params
  1936. fixed returned value semantics in neko (prevent remoting leak)
  1937. more documentation
  1938. added haxe.rtti package (classes can implement haxe.rtti.Infos)
  1939. fixed windows line endings in exclude files under linux/osx
  1940. fixed small bug in "cast" syntax
  1941. added "callback" for partial function application
  1942. added --auto-xml for future haxeFD usage
  1943. fixed Reflect.isFunction
  1944. minor bugfix in JS code generator
  1945. new neko.net package
  1946. allow recursive remoting proxys (skip instead of error)
  1947. added neko.Thread and neko.Lock MultiThread classes
  1948. added neko.net.ServerLoop for multiple clients handling
  1949. 2006-09-11: 1.07
  1950. fixed resources in Neko
  1951. typedef, override, package and f9dynamic are now keywords
  1952. slighly changed error format output
  1953. fixed "undefined" serialization and Type.typeof
  1954. some fixes in haxelib
  1955. set default classpath for non windows systems
  1956. added variance
  1957. fixed bug in bounded type parameters
  1958. fixed scope bug in try/catch with Flash9
  1959. added remoting over XMLSocket and LocalConnection for Flash9
  1960. fixed Std.is(*,null) = false
  1961. allowed >64K Haxe/neko strings
  1962. -debug and stack traces support for Flash and JS
  1963. minor changes in xml output
  1964. 2006-08-28: 1.06
  1965. allowed extern enums
  1966. use only matching construct when parameters are matched
  1967. fixed bug preventing & char to be sent between JS and Flash remoting
  1968. improved flash9 api (more strict)
  1969. flash9 xml : use JS ReXml parser
  1970. added neko.io package (Input/Output)
  1971. moved neko.File and neko.Socket to neko.io package
  1972. fixed flash optional arguments (when extending flash.MC)
  1973. fixed neko native serialization problems
  1974. variable modification does not have side effects in 'for x in a...b'
  1975. jit disabled by default for neko web server
  1976. enable flash7-8 libraries usage from flash9
  1977. unknown identifier become "class not found" when representing a classpath
  1978. changed haxe.PosInfos handling
  1979. added -debug (removed --flash-debug) effective on flash9 and neko only now
  1980. added Type.typeof
  1981. improved Serializer speed
  1982. added Serialization support for Date, Hash, IntHash, List
  1983. added flash9 and JS IE/Opera class reflection
  1984. added haxe.xml.Check and haxe.xml.Fast
  1985. added Xml.parent
  1986. added haxelib
  1987. added ArrayAccess interface
  1988. 2006-08-16: 1.05
  1989. moved Md5 to haxe package.
  1990. some method renamed in neko.FileSystem.
  1991. added neko.remoting.Server.setLogger
  1992. fixed bug in haxe.Serializer on neko (was preventing List serialization)
  1993. fixed bugs in Haxe.Unserializer on neko (invalid enum tag & pbs with UTF8 strings)
  1994. fixed sqlite escape & quote , added BOOL support
  1995. allowed direct property access in getter/setter (prevent rec loop)
  1996. allowed event-driven neko http requests
  1997. forbidden "name" static in js
  1998. don't allow variable redeclaration in subclasses
  1999. added && || and ! in conditional compilation rules
  2000. metas : removed __construct__ and class.toString.
  2001. metas : __super__ and __interfaces__ now optional
  2002. added Type api (seperated from Reflect)
  2003. flash 9 support
  2004. 2006-07-25: 1.04
  2005. added macros in haxe.Template
  2006. allowed static variables access from a signature shortcut
  2007. allowed new Signature when signature is a class
  2008. fixed : modulo priority is now higher than mult and div
  2009. fixed bug in haxe.Proxy generation
  2010. fixed more stack overflows with recursive signatures
  2011. fixed bug in class <: anonymous subtyping (inherited fields)
  2012. override is not mandatory by default (need --override)
  2013. added neko just-in-time
  2014. fixed bugs in haxe.Serializer and haxe.Unserializer (enum format change)
  2015. changed "signature" by "typedef" (more comprehensible)
  2016. restricted objects comparisons
  2017. fixed bug with js operator priority
  2018. improved performances for haxe.Serializer and haxe.Unserializer
  2019. fixed bug in static variable lookup (should look class in the last case)
  2020. prevented several prints of "not enough arguments".
  2021. 2006-06-23: 1.03
  2022. haxedoc executable now part of the distribution
  2023. removed selectDB from the neko.db.Connection API
  2024. added optional parameters with selection
  2025. removed --no-flash-opt-args
  2026. changes in SWF packages handling
  2027. fixed optional leading comma in anonymous object and array values
  2028. fixed bug in inheritend constructor type parameters
  2029. fixed bug in type_field with inherited type parameters
  2030. added haxe.Proxy
  2031. added code transformations for swf/js block variables
  2032. fixed very tricky bug with constraint parameters used together with polymorphic methods
  2033. added selective import (import x.y.Class.InnerType)
  2034. added optional enum constructor parameters
  2035. added opened anonymous types (no more Unknown has no field...)
  2036. fixed "MovieClip extends flash.MovieClip".
  2037. added Reflect.copy
  2038. added neko.Random
  2039. added Date.fromString
  2040. fixed bug in haxe.Unserializer, slighlty optimized haxe.Serializer
  2041. added __setfield magic (complete __resolve)
  2042. added explicit override when overriding methods
  2043. 2006-06-08: 1.02
  2044. fixed stack overflow when recursive class <: recursive signature
  2045. improved a bit commandline : allow several hxml arguments
  2046. added {> Class, fields... } types declarations
  2047. added cast without type (less dangerous than untyped)
  2048. no stage objects by default, added --flash-use-stage
  2049. added haxe.remoting.DelayedConnection
  2050. added -exclude
  2051. removed classpath from neko debug infos filenames
  2052. fixed bug in Neko empty Array.pop and Neko EReg.replace ""
  2053. fixed nodeValue for Neko XML comments, doctype, prolog
  2054. improved DocView : formating, signatures, files generation
  2055. added neko.zip package
  2056. fixed bug in neko.File binary flags
  2057. fixed problems when downloading large files using haxe.Http under Neko
  2058. neko.db.Connection and neko.db.ResultSet are now interfaces
  2059. added neko.db.Sqlite and neko sqlite ndll
  2060. mod_neko2.ndll for Apache2 in Windows distribution
  2061. fixed bug in static properties method resolution
  2062. change js.Dom : use cascading signatures and improved api
  2063. added haxe.unit Unit test framework
  2064. 2006-05-25: 1.01
  2065. added neko.Utf8
  2066. Serializer/Unserializer now support utf8 strings
  2067. allowed subtyping of prop accesses public/private when implementing an interface
  2068. removed "eval" from Remoting APIs (only calls - more easy to handle).
  2069. added flash6 support
  2070. fixed Std.is on different platforms (interfaces implements interface)
  2071. added AsyncConnection.amfConnect for flash
  2072. added SWF overflow checks
  2073. changed "property" to "var"
  2074. don't allow monorph unification with Dynamic (more safe)
  2075. allowed multiple parsing and typing errors
  2076. review and completed commandline options
  2077. error on backwards constant integer iterators
  2078. remoting proxy constructor is now public
  2079. fixed -swf-header override the swflib background color
  2080. moved all remoting classes into the haxe.remoting package
  2081. added haxe.remoting.LocalConnection
  2082. 2006-05-17: 1.0
  2083. fixed small bugs in JS Xml Parser (empty attribute, newlines in attributes)
  2084. added default Content-Type for haxe.Http in JS
  2085. haxe.AsyncConnection : onError should not be call if error occur in onData
  2086. fixed infinite loop if haxe.Unserializer.readDigits reach eof on JS/Flash
  2087. fixed bugs in neko.Web and neko.Sys (some methods returning "null" instead of null)
  2088. added neko.Socket.setBlocking for nonblocking sockets
  2089. fixed bug in js generator when using cascading iterators
  2090. fixed typing bug when overloading parametrized method
  2091. fixed bug in js generator when "try" without curly braces.
  2092. allowed enum catching
  2093. added remoting proxys
  2094. allowed neko.Web API commandline emulation outside mod_neko
  2095. removed subtyping Anon :> Instance
  2096. added signatures, Iterator is now a signature
  2097. getter/setter and public/private unification
  2098. allowed anonymous declaration with interface-style syntax (for signatures)
  2099. optimized code generated for underscore in enum matches parameters
  2100. fixed flash/js String.charCodeAt(outside) => null
  2101. fixed neko charAt(outside) => ""
  2102. added errors for strings containing \0 in JS and Flash
  2103. added HAXE_LIBRARY_PATH environment variable support
  2104. fixed interfaces inheritance : can't extend, can implement (type-sums)
  2105. fixed fixed >64K resource bug in SWF
  2106. fixed newline problems with Flash/JS Connection
  2107. 2006-05-02: RC1
  2108. added the Socket class
  2109. fixed a bug of returned value in neko with 6 or more parameters
  2110. added "Missing type" error for catchs.
  2111. added regular expressions (still missing Flash implementation)
  2112. fixed type printing and parenthesis in type declarations
  2113. different behavior when elements removed during Array.iteration
  2114. fixed genswf : local variables used in for...function
  2115. improved type parameters structure coherency
  2116. enable usage of Spod without Transaction
  2117. implemented neko.db.Transaction.isDeadlock
  2118. slighly relaxed one of the javascript generator constraint
  2119. added haxe.Template
  2120. moved Log , PosInfos and ImportAll to haxe package
  2121. completed private class/interface/enum support
  2122. removed Array.indexes
  2123. added __resolve compile-time support when class implement Dynamic
  2124. added haxe Remoting
  2125. added "module with different case" error (for windows)
  2126. added Reflect.resolveClass, Reflect.resolveEnum, Reflect.setPrototype
  2127. added access to classes by name in genneko
  2128. added enum.__ename__
  2129. fixed Std.is(e,enum)
  2130. fixed infinite loop in neko EReg split/replace and epsilon matching
  2131. added neko native serialization support
  2132. fixed syntax for multiple constraints in type parameter
  2133. added recursive type parameters constraints (T : C<T> constraints)
  2134. updated Xml handling
  2135. 2006-04-17: beta 5
  2136. fixed bug : continue in do...while
  2137. changed typing order for do...while (infer condition after block)
  2138. fixed JS "catch" generation
  2139. fixed extending flash.* extern class
  2140. fixed bug in neko generator w/ closures
  2141. fixed bug in js generator (return switch need correct "this" context)
  2142. fixed bug in for x in a...b : invalid local variables overridding
  2143. added properties
  2144. fixed bug in js generator : while...switch...break
  2145. new List implementation
  2146. can use static function __init__ on every platform
  2147. bug fixes in Reflect.fields
  2148. added Hash.remove, changed Hash/JS implementation
  2149. added flash __delete__ support
  2150. added neko.db.Object, Manager, Transaction
  2151. fixed neko class.__interfaces__
  2152. added "assigning a value to itself" error
  2153. added automatic PosInfos when is last parameter
  2154. added polymorphic methods
  2155. added check_flash_args support
  2156. 2006-04-02: beta 4
  2157. fixed javascript events case
  2158. fixed invalid use of physeq
  2159. fixed + type inference
  2160. added -altfmt
  2161. allowed anonymous <: class subtyping
  2162. relaxed unifications of expressions in "for" and "while"
  2163. more methods in List
  2164. syntax changes : mandatory parenthesis for "for" and "while"
  2165. allowed any kind of identifier almost everywhere
  2166. moved tools, flash, js and neko inside "std"
  2167. no need for 0x in flash header bgcolor
  2168. added -res
  2169. fixed type parameter contraint holes
  2170. Std.is Dynamic always returns true
  2171. added Enum.toString
  2172. neko : env locals can be modified in inner functions
  2173. completed js keywords list in generator
  2174. added Reflect.typeof
  2175. prioritize neko.Lib.load static calls
  2176. fixed bugs in for...in optimization with continue
  2177. fixed Reflect fields, added documentation, added Class
  2178. added javascript closures, fixed null closures on flash and Neko
  2179. added javascript __init__ statics and js.XMLHttpRequest
  2180. added neko.Stack
  2181. fixed bug in Std.ord
  2182. convert neko string to haxe string on catch
  2183. automaticaly creates empty clips for classes extending flash.MovieClip
  2184. unify stack : several meaningful unification errors
  2185. added cast operation and keyword
  2186. 2006-03-11: beta 3
  2187. javascript generator
  2188. optimized for in interval
  2189. renaming of locals (name must be unique)
  2190. added uncaught exceptions handling in Flash
  2191. fixed Bool.true == true and Bool.false == false on all platforms
  2192. fixed matching on Bool different from enums
  2193. removed -fplayer (use -D instead) and added -fheader
  2194. fixed infinity is Int
  2195. added "here" special identifier
  2196. neko Apis : File, FileSystem, Sys
  2197. added base JS API
  2198. 2006-02-19: beta 2
  2199. renamed neko.db.Result to neko.db.ResultSet
  2200. added Date support for Mysql results
  2201. added private fields for static class anonymous types
  2202. disambigous >=, >>= and >>>=
  2203. fixed inheritance bug in swf and neko generators
  2204. improved function parameters type error reporting.
  2205. allowed variable number of args for flash.* constructors.
  2206. added Math.random(), Reflect.empty()
  2207. added flash.XMLSocket and flash.Timer classes
  2208. completed Std class with conversion functions and others.
  2209. completed flash.Lib class with flash toplevel functions.
  2210. fixed bugs in neko webserver
  2211. 2006-02-04: beta 1
  2212. allowed array literals to be dynamic
  2213. use neko 1.2 commandline and prototypes
  2214. changed #cond to #if cond for conditional compilation
  2215. all fields are defined to null by default
  2216. defined __class__ and other meta accesses for Flash and Neko
  2217. fixed type hole for compiler-know types (should not resolve using imports)
  2218. changed packages : neko.* and flash.* (with protection)
  2219. added Lazy types : type the fields when they are needed with recursion
  2220. untyped accesses are monomorphs, not dynamics
  2221. generated __string check that toString() return an object
  2222. XmlParser and other APIs for Neko
  2223. fixed escaped chars in Neko generation
  2224. conservative static initialization order
  2225. allowed no type parameters for new Class
  2226. function types carry parameter names
  2227. anonymous types contain private variables (for private static accesses)
  2228. added optional name for anonymous types in typer (for static accesses)
  2229. private classes and enums (partial support)
  2230. improved error message for invalid number of arguments
  2231. flash extern classes can take variable number of args.
  2232. added -swf-lib for importing SWF library
  2233. added neko.db package
  2234. 2005-12-23: alpha 5
  2235. added -main commandline parameter
  2236. catches are now working with Neko
  2237. restricted catch types for type-safety
  2238. added constructor inheritance + check if superconstructor is called
  2239. allowed Dynamic-only subtyping on type parameters
  2240. added method closures to Neko generation
  2241. added class Reflect
  2242. added License : libraries are BSD
  2243. added -xml documentation output
  2244. allowed class instance :> anonymous subtyping
  2245. 2005-12-10: alpha 4
  2246. forbid break and continue outside loops
  2247. fixed SWF generation bugs
  2248. added SWF "extends" support
  2249. added method closures
  2250. added some flash lowlevel operations (__xxx__)
  2251. added Log, LogInfos and trace
  2252. added Neko generation
  2253. fixed problems with conditional compilation macros
  2254. 2005-11-30: alpha 3
  2255. added Flash extern classes
  2256. Boot initialization
  2257. added "untyped"
  2258. added conditional compilation
  2259. added interfaces
  2260. changed iterators from closures to objects
  2261. added (XML)Node and XmlParser for Flash
  2262. 2005-11-25: alpha 2
  2263. swf generation (missing iterators)
  2264. some typing fixes
  2265. 2005-11-17: alpha 1b
  2266. fix some bugs
  2267. changed package tests.lang
  2268. 2005-11-14: alpha 1
  2269. lexer
  2270. parser
  2271. typer