[squeak-dev] The Trunk: Network-nice.72.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Jun 11 20:24:02 UTC 2010

Nicolas Cellier uploaded a new version of Network to project The Trunk:

==================== Summary ====================

Name: Network-nice.72
Author: nice
Time: 11 June 2010, 10:23:40.836 pm
UUID: 309fe549-0183-3d4d-b89e-8c98b8a10d45
Ancestors: Network-topa.71

Use String>>lines and Stream>>#nextLine to handle any case of in image LF leakage

=============== Diff against Network-topa.71 ===============

Item was changed:
  ----- Method: Password>>serverPasswords (in category 'as yet unclassified') -----
  	"Get the server passwords off the disk and decode them. The file 'sqk.info' must be in some folder that Squeak thinks is special (vm folder, or default directory).  (Note: This code works even if you are running with no system sources file.)"
  	| sfile |
  	(sfile := FileDirectory lookInUsualPlaces: 'sqk.info') ifNil: [^ nil].
  		"If not there, Caller will ask user for password"
  		"If you don't have this file, and you really do want to release an update, 
  		 contact Ted Kaehler."
+ 	^ (self decode: (sfile contentsOfEntireFile)) lines
- 	^ (self decode: (sfile contentsOfEntireFile)) findTokens: String cr

Item was changed:
  ----- Method: MailMessage>>readStringLineFrom: (in category 'parsing') -----
  readStringLineFrom: aStream 
  	"Read and answer the next line from the given stream. Consume the carriage return but do not append it to the string."
+ 	^aStream nextLine!
- 	| |
- 	^aStream upTo: Character cr!

More information about the Squeak-dev mailing list