[Pkg] The Trunk: HelpSystem-Core-mt.102.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Dec 18 16:42:25 UTC 2017

Marcel Taeumel uploaded a new version of HelpSystem-Core to project The Trunk:

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

Name: HelpSystem-Core-mt.102
Author: mt
Time: 18 December 2017, 5:42:15.024502 pm
UUID: 6871bdd2-b9f9-484b-a35e-f2d659de234e
Ancestors: HelpSystem-Core-bf.101

Makes file-based help topics more robust in case you try to read a binary file as text. This happens, for example, if macOS app bundles do not strip "._" files.

=============== Diff against HelpSystem-Core-bf.101 ===============

Item was changed:
  ----- Method: FileBasedHelpTopic>>contents (in category 'accessing') -----
  	^ contents ifNil: [
+ 		[contents := fileEntry readStream nextChunkText withSqueakLineEndings]
+ 			on: InvalidUTF8
+ 			do: [:err | ('Invalid UTF8 contents!! Please check ', self fileEntry fullName) asText addAttribute: TextColor red]]!
- 		contents := fileEntry readStream nextChunkText withSqueakLineEndings].!

More information about the Packages mailing list