[Pkg] The Trunk: Multilingual-pre.240.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Oct 13 12:37:23 UTC 2018


Patrick Rein uploaded a new version of Multilingual to project The Trunk:
http://source.squeak.org/trunk/Multilingual-pre.240.mcz

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

Name: Multilingual-pre.240
Author: pre
Time: 13 October 2018, 2:37:04.326477 pm
UUID: 630531f5-35fc-3e4f-b4c5-d6751bf2573a
Ancestors: Multilingual-topa.239

Makes a reference to WebClient in an utility method indirect as it introduces the only dependency between Multilingual and WebClient.

=============== Diff against Multilingual-topa.239 ===============

Item was changed:
  ----- Method: Unicode class>>fetch:fromUnicodeData: (in category 'unicode data') -----
  fetch: what fromUnicodeData: fileName
  	| unicodeLocation |
  	unicodeLocation := 'https://www.unicode.org/Public/UCD/latest/ucd/'.
  	UIManager default informUser: 'Downloading ', what  during: 
  		[ | response|
+ 		response := (Smalltalk at: #WebClient) httpGet: unicodeLocation, fileName.
- 		response := WebClient httpGet: unicodeLocation, fileName.
  		^ response isSuccess
  			ifFalse: [self error: 'Download failed']
  			ifTrue: [response content]].
  		
  		 !



More information about the Packages mailing list