CHANGES.txt 129 KB

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