The Trunk: Help-Squeak-Project-mt.38.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Help-Squeak-Project-mt.38.mcz

commits-2
Marcel Taeumel uploaded a new version of Help-Squeak-Project to project The Trunk:
http://source.squeak.org/trunk/Help-Squeak-Project-mt.38.mcz

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

Name: Help-Squeak-Project-mt.38
Author: mt
Time: 11 August 2016, 5:09:37.394564 pm
UUID: 8d73b42c-7fc5-6140-a85c-6df590f8772f
Ancestors: Help-Squeak-Project-mt.37

Get release notes from the file system to not spoil the image with large strings.

=============== Diff against Help-Squeak-Project-mt.37 ===============

Item was added:
+ ----- Method: SqueakReleaseNotes class>>doesNotUnderstand: (in category 'accessing') -----
+ doesNotUnderstand: msg
+
+ msg arguments size > 0 ifTrue: [^ super doesNotUnderstand: msg].
+
+ "For example: doc/release-notes-51"
+ ^ (HelpTopic
+ title: msg selector
+ readOnlyContents: (HtmlReadWriter textFromFileNamed: ((FileDirectory default directoryNamed: 'doc') fullNameFor: msg selector)) ) key: msg selector!

Item was changed:
  ----- Method: SqueakReleaseNotes class>>pages (in category 'accessing') -----
  pages
+
+ | dir |
+ dir := FileDirectory default directoryNamed: 'doc'.
+ ^ dir exists
+ ifFalse: [#()]
+ ifTrue: [dir entries collect: [:entry | entry name]]!
- ^#(releaseNotes51 releaseNotes50)!


Reply | Threaded
Open this post in threaded view
|

Re: The Trunk: Help-Squeak-Project-mt.38.mcz

Chris Muller-3
Thank you!  -- for working to keep large String literals out of the image..  :)

On Thu, Aug 11, 2016 at 10:09 AM,  <[hidden email]> wrote:

> Marcel Taeumel uploaded a new version of Help-Squeak-Project to project The Trunk:
> http://source.squeak.org/trunk/Help-Squeak-Project-mt.38.mcz
>
> ==================== Summary ====================
>
> Name: Help-Squeak-Project-mt.38
> Author: mt
> Time: 11 August 2016, 5:09:37.394564 pm
> UUID: 8d73b42c-7fc5-6140-a85c-6df590f8772f
> Ancestors: Help-Squeak-Project-mt.37
>
> Get release notes from the file system to not spoil the image with large strings.
>
> =============== Diff against Help-Squeak-Project-mt.37 ===============
>
> Item was added:
> + ----- Method: SqueakReleaseNotes class>>doesNotUnderstand: (in category 'accessing') -----
> + doesNotUnderstand: msg
> +
> +       msg arguments size > 0 ifTrue: [^ super doesNotUnderstand: msg].
> +
> +       "For example: doc/release-notes-51"
> +       ^ (HelpTopic
> +               title: msg selector
> +               readOnlyContents: (HtmlReadWriter textFromFileNamed: ((FileDirectory default directoryNamed: 'doc') fullNameFor: msg selector)) ) key: msg selector!
>
> Item was changed:
>   ----- Method: SqueakReleaseNotes class>>pages (in category 'accessing') -----
>   pages
> +
> +       | dir |
> +       dir := FileDirectory default directoryNamed: 'doc'.
> +       ^ dir exists
> +               ifFalse: [#()]
> +               ifTrue: [dir entries collect: [:entry | entry name]]!
> -       ^#(releaseNotes51 releaseNotes50)!
>
>