Browse Source

Merged branch develop into master

Mark Sibly 8 years ago
parent
commit
0e2463c4e8
6 changed files with 14 additions and 4 deletions
  1. 2 0
      .gitignore
  2. 8 0
      VERSIONS.TXT
  3. BIN
      bin/mx2cc_linux
  4. BIN
      bin/mx2cc_macos
  5. BIN
      bin/mx2cc_windows.exe
  6. 4 4
      modules/std/stream/stream.monkey2

+ 2 - 0
.gitignore

@@ -2,6 +2,8 @@
 *.bak
 *.buildv*
 
+.DS_Store
+
 /desktop.ini
 
 /bin/*.dll

+ 8 - 0
VERSIONS.TXT

@@ -0,0 +1,8 @@
+
+Restored Stream.ReadCString and Stream.WriteCString.
+
+***** v1.0.91 *****
+
+Made reflection optional. You now need to #Import "<reflection>" to activate it, and the first build of an app will be SLOW. Reflection is still 'all or nothing' for now.
+
+Fixed some race conditions with Process objects going out of scope very quickly.

BIN
bin/mx2cc_linux


BIN
bin/mx2cc_macos


BIN
bin/mx2cc_windows.exe


+ 4 - 4
modules/std/stream/stream.monkey2

@@ -314,12 +314,12 @@ Class Stream
 		Return str
 	End
 	
-	#rem monkeydoc Reads a null terminated string from the stream.
+	#rem monkeydoc Reads a null terminated cstring from the stream.
 	
 	@return the string read.
 	
 	#end
-	Method ReadNullTerminatedString:String()
+	Method ReadCString:String()
 		Local buf:=New Stack<Byte>
 		While Not Eof
 			Local chr:=ReadByte()
@@ -451,12 +451,12 @@ Class Stream
 		WriteString( str )
 	End
 	
-	#rem monkeydoc Writes a null terminate string to the stream.
+	#rem monkeydoc Writes a null terminated cstring to the stream.
 	
 	@param str The string to write.
 	
 	#end
-	Method WriteNullTerminatedString( str:String )
+	Method WriteCString( str:String )
 		WriteString( str )
 		WriteByte( 0 )
 	End