[squeak-dev] The Inbox: System-monty.908.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Feb 4 03:04:11 UTC 2017


A new version of System was added to project The Inbox:
http://source.squeak.org/inbox/System-monty.908.mcz

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

Name: System-monty.908
Author: monty
Time: 3 February 2017, 10:04:01.051573 pm
UUID: af50ee9b-0be1-4b86-b41f-9b89302aea23
Ancestors: System-mt.906

changed sends of the XML-Parser extension #applyLanguageInfomation: to #applyLanguageInformation: (with an 'r') directly defined in String and ByteString

=============== Diff against System-mt.906 ===============

Item was changed:
  ----- Method: MOFile>>loadStrings:pointers:encoding:languageEnvironment: (in category 'private') -----
  loadStrings: strm pointers: tupple encoding: encodingName languageEnvironment: env
  	| strings rawStr str offsetTable lenTable |
  	offsetTable :=  tupple first.
  	lenTable := tupple second.
  	strings := Array new: nStrings.
  	1 to: nStrings do: [:index |
  		rawStr := self loadString: strm 
  					pointer:  (offsetTable at: index)
  					length: (lenTable at: index).
  		str := encodingName isNil ifTrue: [rawStr] 
  						ifFalse: [ encodingName = 'utf8' 
+ 									ifTrue: [rawStr utf8ToSqueak applyLanguageInformation: env]
- 									ifTrue: [rawStr utf8ToSqueak applyLanguageInfomation: env]
  									ifFalse: [self error: 'this encoding isn''t supported']
  						].
  		strings at: index put: str.
  	].
  	^strings.!

Item was changed:
  ----- Method: MOFile>>translatedString: (in category 'private') -----
  translatedString: index
  	"KNOWN PROBLEM: conversion is executed everytimes this method called"
  	| str |
  	str := translatedStrings at: index.
  
+ 	^str utf8ToSqueak applyLanguageInformation: (Locale localeID: localeID) languageEnvironment.
- 	^str utf8ToSqueak applyLanguageInfomation: (Locale localeID: localeID) languageEnvironment.
  !

Item was changed:
  ----- Method: Preferences class>>debugLogTimestamp (in category 'standard queries') -----
  debugLogTimestamp
  	^ self
  		valueOfFlag: #debugLogTimestamp
  		ifAbsent: [false]!



More information about the Squeak-dev mailing list