Chris Muller uploaded a new version of Files to project The Trunk:
http://source.squeak.org/trunk/Files-cmm.92.mcz
==================== Summary ====================
Name: Files-cmm.92
Author: cmm
Time: 26 November 2010, 9:45:59.25 pm
UUID: 9f4a9a9e-508a-4f35-bd3f-091715f24173
Ancestors: Files-ul.91
- Fix nil-pointer on shutdown when not all stdio monikers had been accessed.
=============== Diff against Files-ul.91 ===============
Item was changed:
----- Method: StandardFileStream class>>flushAndVoidStdioFiles (in category 'class initialization') -----
flushAndVoidStdioFiles
stdioFiles ifNotNil:
[stdioFiles do:
+ [:f| f ifNotNil: [f isReadOnly ifFalse: [[f flush] on: Error do: [:ex|"care less"]]]].
- [:f| f isReadOnly ifFalse: [[f flush] on: Error do: [:ex|"care less"]]].
stdioFiles := nil]!
Chris Muller uploaded a new version of Files to project The Trunk:
http://source.squeak.org/trunk/Files-cmm.92.mcz
==================== Summary ====================
Name: Files-cmm.92
Author: cmm
Time: 26 November 2010, 9:45:59.25 pm
UUID: 9f4a9a9e-508a-4f35-bd3f-091715f24173
Ancestors: Files-ul.91
- Fix nil-pointer on shutdown when not all stdio monikers had been accessed.
=============== Diff against Files-ul.91 ===============
Item was changed:
----- Method: StandardFileStream class>>flushAndVoidStdioFiles (in category 'class initialization') -----
flushAndVoidStdioFiles
stdioFiles ifNotNil:
[stdioFiles do:
+ [:f| f ifNotNil: [f isReadOnly ifFalse: [[f flush] on: Error do: [:ex|"care less"]]]].
- [:f| f isReadOnly ifFalse: [[f flush] on: Error do: [:ex|"care less"]]].
stdioFiles := nil]!
Chris Muller uploaded a new version of Files to project The Trunk:
http://source.squeak.org/trunk/Files-cmm.92.mcz
==================== Summary ====================
Name: Files-cmm.92
Author: cmm
Time: 26 November 2010, 9:45:59.25 pm
UUID: 9f4a9a9e-508a-4f35-bd3f-091715f24173
Ancestors: Files-ul.91
- Fix nil-pointer on shutdown when not all stdio monikers had been accessed.
=============== Diff against Files-ul.91 ===============
Item was changed:
----- Method: StandardFileStream class>>flushAndVoidStdioFiles (in category 'class initialization') -----
flushAndVoidStdioFiles
stdioFiles ifNotNil:
[stdioFiles do:
+ [:f| f ifNotNil: [f isReadOnly ifFalse: [[f flush] on: Error do: [:ex|"care less"]]]].
- [:f| f isReadOnly ifFalse: [[f flush] on: Error do: [:ex|"care less"]]].
stdioFiles := nil]!
Andreas Raab uploaded a new version of NetworkTests to project The Trunk:
http://source.squeak.org/trunk/NetworkTests-ar.22.mcz
==================== Summary ====================
Name: NetworkTests-ar.22
Author: ar
Time: 26 November 2010, 11:09:31.754 am
UUID: ba14660e-b781-ba4f-ae5b-3f0f096bf4a8
Ancestors: NetworkTests-ar.21
Two more SocketTests.
=============== Diff against NetworkTests-ar.21 ===============
Item was added:
+ ----- Method: SocketTest>>testDataReceive (in category 'tests') -----
+ testDataReceive
+ "Test data transfer and related methods"
+
+ self testDataSending.
+ "It can take a tad for the status change to be visible"
+ (Delay forMilliseconds: 200) wait.
+ self assert: serverSocket dataAvailable.
+ self assert: (serverSocket receiveData = 'Hello World').
+ self deny: (serverSocket dataAvailable).
+ !
Item was added:
+ ----- Method: SocketTest>>testDataSending (in category 'tests') -----
+ testDataSending
+ "Test data transfer and related methods"
+
+ self testServerAccept.
+ clientSocket sendData: 'Hello World'.
+ clientSocket waitForSendDoneFor: 2.
+ self assert: clientSocket sendDone.
+
+ !