Nicolas Cannasse 16 년 전
부모
커밋
9216354c10
7개의 변경된 파일54개의 추가작업 그리고 9개의 파일을 삭제
  1. 1 6
      doc/CHANGES.txt
  2. 1 1
      doc/release.neko
  3. 1 1
      main.ml
  4. 7 0
      std/all.hxml
  5. 27 0
      std/haxe/ImportAll.hx
  6. 8 0
      tests/unit/unit.hxml
  7. 9 1
      tests/unit/unit.hxp

+ 1 - 6
doc/CHANGES.txt

@@ -1,9 +1,4 @@
-TODO :
-	SWC input support
-	flash9 : optimize enum parameters storage
-	rtti : allow rtti on all types and store them in a global static Hash<CType> (instead of XML)
-
-2009-??-??: 2.04
+2009-07-26: 2.04
 	flash9 : fixed get_full_path error with -D fdb
 	js : fixed Array.remove on IE
 	flash8 : removed extra empty AS3 tag (causing some issue with F8 loadMovie)

+ 1 - 1
doc/release.neko

@@ -51,7 +51,7 @@ chdir("tools");
 
 chdir("haxedoc");
 cmd("haxe haxedoc.hxml");
-cmd(curdir+"haxedoc \"../../flash.xml;flash\" \"../../neko.xml;neko\" \"../../js.xml;js\" \"../../flash9.xml;flash9;flash\" \"../../php.xml;php\"");
+cmd(curdir+"haxedoc \"../../flash.xml;flash\" \"../../neko.xml;neko\" \"../../js.xml;js\" \"../../flash9.xml;flash9;flash\" \"../../php.xml;php\" \"../../cpp.xml;cpp\"");
 cmd("mv index.html content ../../../doc");
 cmd("mv haxedoc"+binext+" ../../..");
 chdir("..");

+ 1 - 1
main.ml

@@ -20,7 +20,7 @@ open Printf
 open Genswf
 open Common
 
-let version = 203
+let version = 204
 
 let prompt = ref false
 let display = ref false

+ 7 - 0
std/all.hxml

@@ -46,5 +46,12 @@ haxe.ImportAll
 
 --next
 
+-cpp all_cpp
+--no-output
+-xml cpp.xml
+haxe.ImportAll
+
+--next
+
 -xml cross.xml
 haxe.ImportAll

+ 27 - 0
std/haxe/ImportAll.hx

@@ -566,3 +566,30 @@ import php.io.Process;
 
 #end
 
+#if cpp
+
+import cpp.FileSystem;
+import cpp.Lib;
+import cpp.Random;
+import cpp.Sys;
+
+import cpp.io.File;
+import cpp.io.FileInput;
+import cpp.io.FileOutput;
+import cpp.io.Path;
+import cpp.io.Process;
+
+import cpp.net.Host;
+import cpp.net.Socket;
+import cpp.net.SocketInput;
+import cpp.net.SocketOutput;
+
+import cpp.vm.Gc;
+import cpp.vm.Lock;
+import cpp.vm.Mutex;
+import cpp.vm.Thread;
+
+import cpp.zip.Flush;
+import cpp.zip.Uncompress;
+
+#end

+ 8 - 0
tests/unit/unit.hxml

@@ -51,3 +51,11 @@ unit.Test
 -cp ..
 -resource res1.txt
 -resource res2.bin
+
+#--next
+#-cpp cpp
+#-main unit.Test
+#-cp ..
+#-resource res1.txt
+#-resource res2.bin
+

+ 9 - 1
tests/unit/unit.hxp

@@ -21,7 +21,15 @@
   <output name="RemotingServer" mode="neko" out="remoting.n" class="unit.RemotingServer" lib="" cmd="" main="True" debug="False">-cp ..</output>
   <output name="PHP" mode="php" out="php" class="unit.Test" lib="" cmd="" main="True" debug="False">-cp ..
 -resource res1.txt
--resource res2.bin</output>
+-resource res2.bin
+
+#--next
+#-cpp cpp
+#-main unit.Test
+#-cp ..
+#-resource res1.txt
+#-resource res2.bin
+</output>
   <files path="/">
     <file path="MyClass.hx" />
     <file path="MyEnum.hx" />