[squeak-dev] Fwd: The Inbox: XML-Parser-cbc.41.mcz

Chris Cunningham cunningham.cb at gmail.com
Mon Feb 6 17:57:19 UTC 2017


Hi.  This needs to be put in place of  XML-Parser-monty.40.mcz.  That
version is causing the trunk to not load (missing a few methods that should
be there - this version adds them in, as described).

Could someone with the right authority fix this, please?

-cbc
---------- Forwarded message ----------
From: <commits at source.squeak.org>
Date: Mon, Feb 6, 2017 at 9:55 AM
Subject: [squeak-dev] The Inbox: XML-Parser-cbc.41.mcz
To: squeak-dev at lists.squeakfoundation.org


A new version of XML-Parser was added to project The Inbox:
http://source.squeak.org/inbox/XML-Parser-cbc.41.mcz

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

Name: XML-Parser-cbc.41
Author: cbc
Time: 6 February 2017, 9:55:05.728517 am
UUID: b80148cc-7082-b549-afaf-d53bcdc98930
Ancestors: XML-Parser-monty.40

Added missing #applyLanguageInformation: to String and ByteString (and
gutted versions of #applyLanguageInfomation: to same locations, forwarding
on to correctly spelled variants, as implied in version .40 previosly).

=============== Diff against XML-Parser-monty.40 ===============

Item was added:
+ ----- Method: ByteString>>applyLanguageInfomation: (in category
'*xml-parser') -----
+ applyLanguageInfomation: languageEnvironment
+       "Fixed spelling"
+       ^self applyLanguageInformation: languageEnvironment!

Item was added:
+ ----- Method: ByteString>>applyLanguageInformation: (in category
'*xml-parser') -----
+ applyLanguageInformation: languageEnvironment
+ !

Item was changed:
  ----- Method: String>>applyLanguageInfomation: (in category
'*xml-parser') -----
  applyLanguageInfomation: languageEnvironment
+       "Fixed spelling"
+       ^self applyLanguageInformation: languageEnvironment!
-       "this is here for backwards compatibility but now just forwards to
the
-       correctly-spelled version defined directly on String and ByteString"
-       self applyLanguageInformation: languageEnvironment!

Item was added:
+ ----- Method: String>>applyLanguageInformation: (in category
'*xml-parser') -----
+ applyLanguageInformation: languageEnvironment
+
+       | leadingChar |
+       leadingChar := languageEnvironment leadingChar.
+       self withIndexDo: [:each :idx |
+               each asciiValue > 255
+                       ifTrue: [self at: idx put: (Character leadingChar:
leadingChar code: each asUnicode)]]!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20170206/5110d5c6/attachment.html>


More information about the Squeak-dev mailing list