The Trunk: Collections-eem.767.mcz

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

The Trunk: Collections-eem.767.mcz

commits-2
Eliot Miranda uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-eem.767.mcz

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

Name: Collections-eem.767
Author: eem
Time: 14 November 2017, 11:29:19.620473 am
UUID: 9705b40c-d81d-4667-b9eb-fbfccbe2e955
Ancestors: Collections-bp.766

Make the Transcript's characterLimit a preference.

=============== Diff against Collections-bp.766 ===============

Item was changed:
  WriteStream subclass: #TranscriptStream
  instanceVariableNames: 'lastChar'
+ classVariableNames: 'AccessSema CharacterLimit ForceUpdate RedirectToStdOut'
- classVariableNames: 'AccessSema ForceUpdate RedirectToStdOut'
  poolDictionaries: ''
  category: 'Collections-Streams'!
 
  !TranscriptStream commentStamp: 'fbs 12/30/2013 09:53' prior: 0!
  This class is a much simpler implementation of Transcript protocol that supports multiple views and very simple conversion to morphic.  Because it inherits from Stream, it is automatically compatible with code that is designed to write to streams.!

Item was added:
+ ----- Method: TranscriptStream class>>characterLimit (in category 'preferences') -----
+ characterLimit
+ <preference: 'Maximum number of characters in a transcript'
+ categoryList: #(printing morphic debug)
+ description: 'When the number of characters in a transcript exceeds this limit, characters at the start of the text are discarded.'
+ type: #Number>
+ ^CharacterLimit ifNil: [20000]!

Item was changed:
  ----- Method: TranscriptStream>>characterLimit (in category 'accessing') -----
  characterLimit
  "Tell the views how much to retain on screen"
+ ^self class characterLimit!
- ^ 20000!


Reply | Threaded
Open this post in threaded view
|

Re: The Trunk: Collections-eem.767.mcz

Tobias Pape
YAY!
Thank you :D

Best regards
        -Tobias

> On 14.11.2017, at 20:29, [hidden email] wrote:
>
> Eliot Miranda uploaded a new version of Collections to project The Trunk:
> http://source.squeak.org/trunk/Collections-eem.767.mcz
>
> ==================== Summary ====================
>
> Name: Collections-eem.767
> Author: eem
> Time: 14 November 2017, 11:29:19.620473 am
> UUID: 9705b40c-d81d-4667-b9eb-fbfccbe2e955
> Ancestors: Collections-bp.766
>
> Make the Transcript's characterLimit a preference.
>
> =============== Diff against Collections-bp.766 ===============
>
> Item was changed:
>  WriteStream subclass: #TranscriptStream
>   instanceVariableNames: 'lastChar'
> + classVariableNames: 'AccessSema CharacterLimit ForceUpdate RedirectToStdOut'
> - classVariableNames: 'AccessSema ForceUpdate RedirectToStdOut'
>   poolDictionaries: ''
>   category: 'Collections-Streams'!
>
>  !TranscriptStream commentStamp: 'fbs 12/30/2013 09:53' prior: 0!
>  This class is a much simpler implementation of Transcript protocol that supports multiple views and very simple conversion to morphic.  Because it inherits from Stream, it is automatically compatible with code that is designed to write to streams.!
>
> Item was added:
> + ----- Method: TranscriptStream class>>characterLimit (in category 'preferences') -----
> + characterLimit
> + <preference: 'Maximum number of characters in a transcript'
> + categoryList: #(printing morphic debug)
> + description: 'When the number of characters in a transcript exceeds this limit, characters at the start of the text are discarded.'
> + type: #Number>
> + ^CharacterLimit ifNil: [20000]!
>
> Item was changed:
>  ----- Method: TranscriptStream>>characterLimit (in category 'accessing') -----
>  characterLimit
>   "Tell the views how much to retain on screen"
> + ^self class characterLimit!
> - ^ 20000!
>
>


cbc
Reply | Threaded
Open this post in threaded view
|

Re: The Trunk: Collections-eem.767.mcz

cbc


On Nov 14, 2017 11:31 AM, "Tobias Pape" <[hidden email]> wrote:
YAY!
Agreed!  Never knew o wanted this but looking back over the years this would have been wonderful. 
Thank you :D

Best regards
        -Tobias
> On 14.11.2017, at 20:29, [hidden email] wrote:
>
> Eliot Miranda uploaded a new version of Collections to project The Trunk:
> http://source.squeak.org/trunk/Collections-eem.767.mcz
>
> ==================== Summary ====================
>
> Name: Collections-eem.767
> Author: eem
> Time: 14 November 2017, 11:29:19.620473 am
> UUID: 9705b40c-d81d-4667-b9eb-fbfccbe2e955
> Ancestors: Collections-bp.766
>
> Make the Transcript's characterLimit a preference.
>
> =============== Diff against Collections-bp.766 ===============
>
> Item was changed:
>  WriteStream subclass: #TranscriptStream
>       instanceVariableNames: 'lastChar'
> +     classVariableNames: 'AccessSema CharacterLimit ForceUpdate RedirectToStdOut'
> -     classVariableNames: 'AccessSema ForceUpdate RedirectToStdOut'
>       poolDictionaries: ''
>       category: 'Collections-Streams'!
>
>  !TranscriptStream commentStamp: 'fbs 12/30/2013 09:53' prior: 0!
>  This class is a much simpler implementation of Transcript protocol that supports multiple views and very simple conversion to morphic.  Because it inherits from Stream, it is automatically compatible with code that is designed to write to streams.!
>
> Item was added:
> + ----- Method: TranscriptStream class>>characterLimit (in category 'preferences') -----
> + characterLimit
> +     <preference: 'Maximum number of characters in a transcript'
> +             categoryList: #(printing morphic debug)
> +             description: 'When the number of characters in a transcript exceeds this limit, characters at the start of the text are discarded.'
> +             type: #Number>
> +     ^CharacterLimit ifNil: [20000]!
>
> Item was changed:
>  ----- Method: TranscriptStream>>characterLimit (in category 'accessing') -----
>  characterLimit
>       "Tell the views how much to retain on screen"
> +     ^self class characterLimit!
> -     ^ 20000!
>
>