Просмотр исходного кода

Merge pull request #1864 from dpeek/proper-noun

Haxe is a proper language (and a proper noun)
Simon Krajewski 12 лет назад
Родитель
Сommit
8b47f46527

+ 17 - 17
doc/CHANGES.txt

@@ -280,7 +280,7 @@
 	all : added --dead-code-elimination, removes unused functions from the output
 	     (beta feature could not make in the final release)
 	all : added @:keep to prevent --dead-code-elimination of class/method
-	flash9 : fixed issues with loading a haXe SWF (boot_XXXX class extends flash.Boot)
+	flash9 : fixed issues with loading a Haxe SWF (boot_XXXX class extends flash.Boot)
 	all : allow to inline override methods (if the superclass method is not inlined already)
 	all : fixed escape sequences in literal regular expressions
 	flash9 : fixed Xml.setNodeValue
@@ -319,7 +319,7 @@
 	compiler : fixed -no-opt
 	flash : allow several -swf-lib
 		no longer support automatic creation of classes for f8 swfs in f9 mode
-		classes defined in f9 swf are not redefinable in haXe code (use extern)
+		classes defined in f9 swf are not redefinable in Haxe code (use extern)
 	flash9 : allow direct access and completion with classes defined in -swf-lib's
 	flash9 : remove imported libraries debug infos when not compiled with -debug
 	all : only display errors with --display if no completion matched
@@ -347,7 +347,7 @@
 	php : removed eval() everywhere and simplified _hx_lambda
 	php : fixed return type for Std.string() with integers and floats
 	php : fixed php.Lib.rethrow
-	all : added custom haXe serialization
+	all : added custom Haxe serialization
 	php : aligned php.Web.parseMultipart signature with neko implementation
 	cpp : Added source location and stack dump for errors in debug mode
 	cpp : Remapped more keywords
@@ -460,7 +460,7 @@
 	php: fixed String.charCodeAt
 	php: minor optimization (removed foreach from std code)
 	php: implemented haxe.Stack
-	php: changed exception handler to use haXe call stack
+	php: changed exception handler to use Haxe call stack
 	php: changed special vars to use the » prefix instead of __
 	php: fixed use of reserved keywords for var names
 	php: List iterator is now class based (faster)
@@ -477,16 +477,16 @@
 	bugfix for flash.display.BitmapDataChannel and GraphicsPathCommand (allow inline static)
 	resolve environment variable in -cmd commands
 	added flash.Vector.indexOf and lastIndexOf
-	fixed bug in interfaces that define the method toString (haXe/PHP)
+	fixed bug in interfaces that define the method toString (Haxe/PHP)
 	fixed bug in haxe.io.BytesInput.readBytes in Flash9 (was throwing Eof if full buffer can't be readed)
 	fixed implements/extends special classes when they are imported
 	StringBuf now uses an array for JS implementation (around same on FF, faster on IE)
-	fixed assignment of field length in anonym objects (haXe/PHP)
+	fixed assignment of field length in anonym objects (Haxe/PHP)
 	fixed addEventListener typing for flash9
 	fixed __vector__ generation for AS3 target
 	fix with inline functions : position is now the inserted position and not the original one (better error reporting)
 	added SWC output support
-	fixed issues with unset of values in for loops and executing blocks that return functions (haXe/PHP)
+	fixed issues with unset of values in for loops and executing blocks that return functions (Haxe/PHP)
 	"throw" type is now Unknown instead of Dynamic (prevent type-hole in "if A else if B else throw")
 	added __foreach__ for flash9/as3
 	fixed f9 verify error with different kind of functions
@@ -511,7 +511,7 @@
 	speedup Array.remove on flash9/js
 
 2008-11-23: 2.02
-	Std.is(MyInterface, Class) now returns true (haXe/PHP)
+	Std.is(MyInterface, Class) now returns true (Haxe/PHP)
 	php arrays are wrapped into _hx_array instances, fixes issues with references (array cast, access out of bounds ...)
 	removed untested php classes (php.DBase, php.IniHash)
 	added -D use_rtti_doc
@@ -564,12 +564,12 @@
 	always use full classes paths for genAS3
 	prevent different get/set property accesses when implementing an interface
 	fixed assign of dynamicfunction references in PHP
-	haXe/PHP now generates code for extern classes __init__
+	Haxe/PHP now generates code for extern classes __init__
 	added strings literal support in haxe.Template
-	fixed Process arguments and exitCode() in haXe/PHP
-	fixed hierarchy problem for classes with the name from different packages haXe/PHP
+	fixed Process arguments and exitCode() in Haxe/PHP
+	fixed hierarchy problem for classes with the name from different packages Haxe/PHP
 	php.db.Mysql now throws an exception when tries to connect to an unexistant DB
-	fixed blocks in if statements for haXe/PHP
+	fixed blocks in if statements for Haxe/PHP
 	added php check on the full hierarchy for colliding names
 	added support for "g" modifier in EReg for PHP
 	PHP now generates __toString for classes that have toString defined
@@ -591,7 +591,7 @@
 	fixed current package bug in inherited constructor type
 	delayed type-parameter constraints check (allow mutual rec extends for SPOD)
 	improved unclosed macro error reporting
-	haXe/PHP integration
+	Haxe/PHP integration
 	renamed NekoSocketConnection to SyncSocketConnection (php support)
 	fixes in genAs3
 	fix for flash9 : always coerce call return type
@@ -769,7 +769,7 @@
 	optional enums arguments on Flash9 are now automatically Null
 	forbid usage of type parameters in static functions
 	fixed Std.int with negative numbers
-	fixed some F9 issues with haXe-specific Array, Date and Math methods
+	fixed some F9 issues with Haxe-specific Array, Date and Math methods
 	used AS3 namespace for F9 Array and String instance methods
 	fixed F9 with uninitialized integer registers
 	fixed F9 + operator with Dynamic/Null operands
@@ -781,7 +781,7 @@
 	fixed stack overflow with static setter
 	fixed package completion bug when -cp points to an not existing dir
 	fix duplicate sandboxes tags with -swf
-	__resolve in haXe Remoting is now public
+	__resolve in Haxe Remoting is now public
 
 2007-07-25: 1.14
 	fixed no error when invalid "catch" expression
@@ -961,7 +961,7 @@
 	fixed scope bug in try/catch with Flash9
 	added remoting over XMLSocket and LocalConnection for Flash9
 	fixed Std.is(*,null) = false
-	allowed >64K haXe/neko strings
+	allowed >64K Haxe/neko strings
 	-debug and stack traces support for Flash and JS
 	minor changes in xml output
 
@@ -995,7 +995,7 @@
 	some method renamed in neko.FileSystem.
 	added neko.remoting.Server.setLogger
 	fixed bug in haxe.Serializer on neko (was preventing List serialization)
-	fixed bugs in haXe.Unserializer on neko (invalid enum tag & pbs with UTF8 strings)
+	fixed bugs in Haxe.Unserializer on neko (invalid enum tag & pbs with UTF8 strings)
 	fixed sqlite escape & quote , added BOOL support
 	allowed direct property access in getter/setter (prevent rec loop)
 	allowed event-driven neko http requests

+ 1 - 1
doc/ImportAll.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2005, The haXe Project Contributors
+ * Copyright (c) 2005, The Haxe Project Contributors
  * All rights reserved.
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:

+ 2 - 2
doc/setup.cpp

@@ -17,7 +17,7 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-// this is a small program that do basic haXe setup on Windows
+// this is a small program that do basic Haxe setup on Windows
 #include <windows.h>
 
 static void Set( HKEY k, const char *name, DWORD t, const char *data ) {
@@ -67,6 +67,6 @@ int WINAPI WinMain( HINSTANCE inst, HINSTANCE prev, LPSTR lpCmdLine, int nCmdSho
 	delete kdata;
 	// register 
 	if( strcmp(lpCmdLine,"-silent") != 0 )
-		MessageBox(NULL,"Setup completed, you can start using haXe now","haxesetup",MB_OK | MB_ICONINFORMATION);
+		MessageBox(NULL,"Setup completed, you can start using Haxe now","haxesetup",MB_OK | MB_ICONINFORMATION);
 	return 0;
 }

+ 4 - 4
gencommon.ml

@@ -25,14 +25,14 @@
 
   This module intends to be a common set of utilities common to all targets.
 
-  It's intended to provide a set of tools to be able to make targets in haXe more easily, and to
+  It's intended to provide a set of tools to be able to make targets in Haxe more easily, and to
   allow the programmer to have more control of how the target language will handle the program.
 
   For example, as of now, the hxcpp target, while greatly done, relies heavily on cpp's own operator
   overloading, and implicit conversions, which make it very hard to deliver a similar solution for languages
   that lack these features.
 
-  So this little framework is here so you can manipulate the HaXe AST and start bringing the AST closer
+  So this little framework is here so you can manipulate the Haxe AST and start bringing the AST closer
   to how it's intenteded to be in your host language.
 
   Rules
@@ -4451,7 +4451,7 @@ end;;
   and will unwrap statements where expressions are expected, and vice-versa.
 
   It should be one of the first syntax filters to be applied. As a consequence, it's applied after all filters that add code to the AST, and by being
-  the first of the syntax filters, it will also have the AST retain most of the meaning of normal HaXe code. So it's easier to detect cases which are
+  the first of the syntax filters, it will also have the AST retain most of the meaning of normal Haxe code. So it's easier to detect cases which are
   side-effects free, for example
 
   Any target can make use of this, but there is one requirement: The target must accept null to be set to any kind of variable. For example,
@@ -4460,7 +4460,7 @@ end;;
   dependencies:
     While it's best for Expression Unwrap to delay its execution as much as possible, since theoretically any
     filter can return an expression that needs to be unwrapped, it is also desirable for ExpresionUnwrap to have
-    the AST as close as possible as HaXe's, so it can make some correct predictions (for example, so it can
+    the AST as close as possible as Haxe's, so it can make some correct predictions (for example, so it can
     more accurately know what can be side-effects-free and what can't).
     This way, it will run slightly after the Normal priority, so if you don't say that a syntax filter must run
     before Expression Unwrap, it will run after it.

+ 1 - 1
genjava.ml

@@ -633,7 +633,7 @@ struct
     run
 
   let configure gen (mapping_func:texpr->texpr) =
-    (if java_hash "Testing string hashCode implementation from haXe" <> (Int32.of_int 545883604) then assert false);
+    (if java_hash "Testing string hashCode implementation from Haxe" <> (Int32.of_int 545883604) then assert false);
     let map e = Some(mapping_func e) in
     gen.gsyntax_filters#add ~name:name ~priority:(PCustom priority) map
 

+ 1 - 1
std/Class.hx

@@ -22,7 +22,7 @@
 /**
 	An abstract type that represents a Class.
 	
-	See `Type` for the haXe Reflection API.
+	See `Type` for the Haxe Reflection API.
 **/
 @:coreType @:runtimeValue abstract Class<T> {
 }

+ 1 - 1
std/DateTools.hx

@@ -108,7 +108,7 @@ class DateTools {
 		Format the date `d` according to the format `f`. The format is
 		compatible with the `strftime` standard format, except that there is no
 		support in Flash and JS for day and months names (due to lack of proper
-		internationalization API). On haXe/Neko/Windows, some formats are not
+		internationalization API). On Haxe/Neko/Windows, some formats are not
 		supported.
 	**/
 	public static function format( d : Date, f : String ) : String {

+ 1 - 1
std/EnumValue.hx

@@ -22,7 +22,7 @@
 
 /**
 	An abstract type that represents any enum value.
-	See `Type` for the haXe Reflection API.
+	See `Type` for the Haxe Reflection API.
 **/
 @:coreType abstract EnumValue {
 }

+ 2 - 2
std/StdTypes.hx

@@ -19,7 +19,7 @@
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
-// standard haXe types
+// standard Haxe types
 
 /**
 	The standard Void type. Only `null` values can be of the type `Void`.
@@ -64,7 +64,7 @@ typedef Null<T> = T
 
 /**
 	Dynamic is an internal compiler type which has special behavior.
-	See the haXe language reference for more informations.
+	See the Haxe language reference for more informations.
 **/
 @:coreType @:runtimeValue abstract Dynamic<T> {
 }

+ 1 - 1
std/cs/_std/Reflect.hx

@@ -21,7 +21,7 @@
  */
 import cs.internal.Function;
 /*
- * Copyright (c) 2005, The haXe Project Contributors
+ * Copyright (c) 2005, The Haxe Project Contributors
  * All rights reserved.
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:

+ 1 - 1
std/cs/_std/Sys.hx

@@ -23,7 +23,7 @@ import sys.io.Process;
 import cs.system.Environment;
 import cs.system.threading.Thread;
 /*
- * Copyright (c) 2005-2012, The haXe Project Contributors
+ * Copyright (c) 2005-2012, The Haxe Project Contributors
  * All rights reserved.
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:

+ 1 - 1
std/cs/_std/Type.hx

@@ -23,7 +23,7 @@ import cs.Lib;
 import cs.internal.HxObject;
 import cs.internal.Runtime;
 /*
- * Copyright (c) 2005, The haXe Project Contributors
+ * Copyright (c) 2005, The Haxe Project Contributors
  * All rights reserved.
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:

+ 1 - 1
std/cs/_std/haxe/ds/IntMap.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2005, The haXe Project Contributors
+ * Copyright (c) 2005, The Haxe Project Contributors
  * All rights reserved.
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:

+ 1 - 1
std/haxe/Json.hx

@@ -23,7 +23,7 @@ package haxe;
 
 /**
 	Crossplatform JSON API : it will automatically use the optimized native API if available.
-	Use -D haxeJSON to force usage of the haXe implementation even if a native API is found : this will provide
+	Use -D haxeJSON to force usage of the Haxe implementation even if a native API is found : this will provide
 	extra encoding features such as enums (replaced by their index), Hashs and Iterable.
 **/
 #if (flash11 && !haxeJSON)

+ 1 - 1
std/haxe/macro/JSGenApi.hx

@@ -28,7 +28,7 @@ import haxe.macro.Type;
 typedef JSGenApi = {
 	/** the file in which the JS code can be generated **/
 	var outputFile : String;
-	/** all the types that were compiled by haXe **/
+	/** all the types that were compiled by Haxe **/
 	var types : Array<Type>;
 	/** the main call expression, if a -main class is defined **/
 	var main : Null<TypedExpr>;

+ 1 - 1
std/haxe/remoting/SocketProtocol.hx

@@ -35,7 +35,7 @@ typedef Socket =
 	#end
 
 /**
-	The haXe Remoting Socket Protocol is composed of serialized string exchanges.
+	The Haxe Remoting Socket Protocol is composed of serialized string exchanges.
 	Each string is prefixed with a 2-chars header encoding the string size (up to 4KB)
 	and postfixed with the \0 message delimiting char.
 	A request string is composed of the following serialized values :

+ 1 - 1
std/java/_std/Reflect.hx

@@ -22,7 +22,7 @@
 import java.internal.Function;
 import java.Boot;
 /*
- * Copyright (c) 2005, The haXe Project Contributors
+ * Copyright (c) 2005, The Haxe Project Contributors
  * All rights reserved.
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:

+ 1 - 1
std/java/_std/Sys.hx

@@ -22,7 +22,7 @@
 import java.lang.System;
 import sys.io.Process;
 /*
- * Copyright (c) 2005-2012, The haXe Project Contributors
+ * Copyright (c) 2005-2012, The Haxe Project Contributors
  * All rights reserved.
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:

+ 1 - 1
std/js/JQuery.hx

@@ -365,7 +365,7 @@ extern class JQuery implements ArrayAccess<Element> {
 	//	return untyped this["map"](function() return f(cur)).get();
 	//}
 
-	// haXe addition
+	// Haxe addition
 	@:runtime inline function iterator() : Iterator<JQuery> {
 		return untyped __define_feature__('js.JQuery.iterator', this["iterator"])();
 	}

+ 2 - 2
std/neko/Lib.hx

@@ -90,7 +90,7 @@ class Lib {
 	}
 
 	/**
-		Converts a Neko value to its haXe equivalent. Used for wrapping String and Arrays raw values into haXe Objects.
+		Converts a Neko value to its Haxe equivalent. Used for wrapping String and Arrays raw values into Haxe Objects.
 	**/
 	public static function nekoToHaxe( v : Dynamic ) : Dynamic untyped {
 		switch( __dollar__typeof(v) ) {
@@ -122,7 +122,7 @@ class Lib {
 	}
 
 	/**
-		Converts a Neko value to its haXe equivalent. Used to unwrap String and Arrays Objects into raw Neko values.
+		Converts a Neko value to its Haxe equivalent. Used to unwrap String and Arrays Objects into raw Neko values.
 	**/
 	public static function haxeToNeko( v : Dynamic ) : Dynamic untyped {
 		switch( __dollar__typeof(v) ) {

+ 2 - 2
std/neko/vm/Loader.hx

@@ -116,8 +116,8 @@ class Loader {
 
 	/**
 		Loads a neko primitive. By default, the name is of the form [library@method].
-		The primitive might not be used directly in haXe since some of the Neko values
-		needs an object wrapper in haXe.
+		The primitive might not be used directly in Haxe since some of the Neko values
+		needs an object wrapper in Haxe.
 	**/
 	public function loadPrimitive( prim : String, nargs : Int ) : Dynamic {
 		return untyped l.loadprim(prim.__s,nargs);

+ 2 - 2
std/php/IteratorAggregate.hx

@@ -23,9 +23,9 @@ package php;
 
 extern interface IteratorAggregate<T> {
 	/** 
-		This method is not public to not induce haXe users to use it ;) 
+		This method is not public to not induce Haxe users to use it ;) 
 		Use iterator() instead.
-		The return type would be Aggregator that is unusable in haXe 
+		The return type would be Aggregator that is unusable in Haxe 
 	**/
 	private function getIterator() : Iterator<T>; // 
 }

+ 1 - 1
std/sys/db/Manager.hx

@@ -25,7 +25,7 @@ import sys.db.Connection;
 
 /**
 	Record Manager : the persistent object database manager. See the tutorial on
-	haXe website to learn how to use Record.
+	Haxe website to learn how to use Record.
 **/
 #if !macro @:build(sys.db.RecordMacros.addRtti()) #end
 class Manager<T : Object> {

+ 1 - 1
std/sys/db/Object.hx

@@ -22,7 +22,7 @@
 package sys.db;
 
 /**
-	Record Object : the persistent object base type. See the tutorial on haXe
+	Record Object : the persistent object base type. See the tutorial on Haxe
 	website to learn how to use Record.
 **/
 @:keepSub