[squeak-dev] The Trunk: Network-tfel.37.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Sep 17 03:12:11 UTC 2009


Andreas Raab uploaded a new version of Network to project The Trunk:
http://source.squeak.org/trunk/Network-tfel.37.mcz

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

Name: Network-tfel.37
Author: tfel
Time: 16 September 2009, 12:59:53 pm
UUID: 7e10a2c7-c077-409f-b0d2-aa7d5d33ad80
Ancestors: Network-Igor.Stasenko.36

Url>>toText is deprecated. It says to use asText, however, itself it returns the result of asString, so use that here.

=============== Diff against Network-Igor.Stasenko.36 ===============

Item was changed:
  ----- Method: HttpUrl>>askNamePassword (in category 'downloading') -----
  askNamePassword
  	"Authorization is required by the host site.  Ask the user for a userName and password.  Encode them and store under this realm.  Return false if the user wants to give up."
  
  	| user pass |
+ 	(self confirm: 'Host ', self asString, '
- 	(self confirm: 'Host ', self toText, '
  wants a different user and password.  Type them now?' orCancel: [false])
  		ifFalse: [^ false].
  	user := UIManager default request: 'User account name?' initialAnswer: ''.
  	pass := UIManager default requestPassword: 'Password?'.
  	Passwords at: realm put: (Authorizer new encode: user password: pass).
  	^ true!




More information about the Squeak-dev mailing list