Proposed 4.4 Changelog

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

Proposed 4.4 Changelog

Frank Shearar-3
* Old TextMorphEditor removed, ParagraphEditor now unloadable. New
stub TextMorphEditor added for legacy support (particularly
Connectors) which wraps TextEditor.

* Add host window support, letting you display things in a host
window. (Currently only on Windows and Mac.)
* Bugfixes in the Compiler, Parser and Debugger toolchain
* Stub support for the ability to evolve the bytecode set
* Better printing of Floats, hashing of DateAndTimes
* ChangeSorter improvements
* ToolBuilder improvements
* Merged network improvements from Etoys
* Monticello browsing can now group versions by branch, making
tracking of parallel developments easier
* Decreased coupling between core packages
* IPv6 support (if your VM provides it)

I've put the first item slightly separate because I'm not sure I
summarised things accurately.

If you have suggestions for improvement - particularly if there's
something important I've missed - please let me know ASAP. I'd like to
have all our ducks in a row by the end of the week.

frank

Reply | Threaded
Open this post in threaded view
|

Re: Proposed 4.4 Changelog

Colin Putney-3



On Tue, Dec 4, 2012 at 7:34 AM, Frank Shearar <[hidden email]> wrote:
I've put the first item slightly separate because I'm not sure I
summarised things accurately.

You could just say something like "Cleanup and simplification of Morphic text editing" 


Reply | Threaded
Open this post in threaded view
|

Re: Proposed 4.4 Changelog

Frank Shearar-3
On 4 December 2012 19:16, Colin Putney <[hidden email]> wrote:
> Cleanup and simplification of Morphic text editing

That's exactly what I want: why the user should care.

Thanks!

frank

Reply | Threaded
Open this post in threaded view
|

Re: Proposed 4.4 Changelog

Frank Shearar-3
On 4 December 2012 20:30, Frank Shearar <[hidden email]> wrote:
> On 4 December 2012 19:16, Colin Putney <[hidden email]> wrote:
>> Cleanup and simplification of Morphic text editing
>
> That's exactly what I want: why the user should care.

Right. I now have a Workspace with the changelog all nicely marked up.
I need to turn that into something I can put in the ReleaseBuilder. I
thought I could just explore my way to the Text instance with my
stuff, and do something like (WriteStream on: String new)
nextChunkPutWithStyle: self). Which is fine, but I need to turn that
into something like TheWorldMainDockingBar >> #welcomeToSqueak43. What
am I missing?

frank

Reply | Threaded
Open this post in threaded view
|

Re: Proposed 4.4 Changelog

Bob Arning-2
Something like
=====================
TheWorldMainDockingBar compile: 'welcomeWhatever

^',(self contents printStringLimitedTo: 100000),'  readStream nextChunkText'
=======================

where self is your WriteStream

Cheers,
Bob

On 12/5/12 10:41 AM, Frank Shearar wrote:
On 4 December 2012 20:30, Frank Shearar [hidden email] wrote:
On 4 December 2012 19:16, Colin Putney [hidden email] wrote:
Cleanup and simplification of Morphic text editing
That's exactly what I want: why the user should care.
Right. I now have a Workspace with the changelog all nicely marked up.
I need to turn that into something I can put in the ReleaseBuilder. I
thought I could just explore my way to the Text instance with my
stuff, and do something like (WriteStream on: String new)
nextChunkPutWithStyle: self). Which is fine, but I need to turn that
into something like TheWorldMainDockingBar >> #welcomeToSqueak43. What
am I missing?

frank





Reply | Threaded
Open this post in threaded view
|

Andreas filedOut an instance? ( was Re: [squeak-dev] Proposed 4.4 Changelog)

Chris Cunnington
On 2012-12-05 11:41 AM, Bob Arning wrote:
Something like
=====================
TheWorldMainDockingBar compile: 'welcomeWhatever

^',(self contents printStringLimitedTo: 100000),'  readStream nextChunkText'
=======================

where self is your WriteStream

Cheers,
Bob

On 12/5/12 10:41 AM, Frank Shearar wrote:
On 4 December 2012 20:30, Frank Shearar [hidden email] wrote:
On 4 December 2012 19:16, Colin Putney [hidden email] wrote:
Cleanup and simplification of Morphic text editing
That's exactly what I want: why the user should care.
Right. I now have a Workspace with the changelog all nicely marked up.
I need to turn that into something I can put in the ReleaseBuilder. I
thought I could just explore my way to the Text instance with my
stuff, and do something like (WriteStream on: String new)
nextChunkPutWithStyle: self). Which is fine, but I need to turn that
into something like TheWorldMainDockingBar >> #welcomeToSqueak43. What
am I missing?

frank






    
I think Frank is asking for help about a question I couldn't answer. It's weird, because I found some solution to this when I released 4.3. The question might be phrased: how do you file out an instance?

Andreas did something, and it's baffling. If you go to TheWorldMainDockingBar>>#welcomeToSqueak43
you see the text of the docking bar menu selection Help>>WelcomeWorkspaces>>WelcomeToSqueak4.3. But here's the twist, it contains the styles at the bottom:

'Morphic
- SMxMorphicProject now able to host a SimpleMorphic World
- when present a SMxMorphicProject is made available in the World menu
!
]style[(24 75 10 48 9 34 18 152 4 69 14 667 8 120 1 1 7 131)FBitstreamVeraSans#20.0,,bu,,bu,,bu,,bu,,bu,,bu,,bu,,bu,!' readStream nextChunkText


This string fed to TheWorldMainDockingBar spits out a fully formatted Workspace.

TheWorldMainDockingBar instance
        showWelcomeText: #welcomeToSqueak43
        label: 'Welcome to Squeak 4.3'
        in: (200 @ 200 extent: 500 @ 300)

By hand, Frank has crafted a Welcome workspace with the underlines, bold, and fonts to his taste. Now he wants to know what to do to produce a string that can be saved as a method.

Chris





Reply | Threaded
Open this post in threaded view
|

Re: Andreas filedOut an instance? ( was Re: [squeak-dev] Proposed 4.4 Changelog)

Bob Arning-2

On 12/5/12 12:35 PM, Chris Cunnington wrote:
On 2012-12-05 11:41 AM, Bob Arning wrote:
Something like
=====================
TheWorldMainDockingBar compile: 'welcomeWhatever

^',(self contents printStringLimitedTo: 100000),'  readStream nextChunkText'
=======================

where self is your WriteStream

Cheers,
Bob

On 12/5/12 10:41 AM, Frank Shearar wrote:
On 4 December 2012 20:30, Frank Shearar [hidden email] wrote:
On 4 December 2012 19:16, Colin Putney [hidden email] wrote:
Cleanup and simplification of Morphic text editing
That's exactly what I want: why the user should care.
Right. I now have a Workspace with the changelog all nicely marked up.
I need to turn that into something I can put in the ReleaseBuilder. I
thought I could just explore my way to the Text instance with my
stuff, and do something like (WriteStream on: String new)
nextChunkPutWithStyle: self). Which is fine, but I need to turn that
into something like TheWorldMainDockingBar >> #welcomeToSqueak43. What
am I missing?

frank





I think Frank is asking for help about a question I couldn't answer. It's weird, because I found some solution to this when I released 4.3. The question might be phrased: how do you file out an instance?

Andreas did something, and it's baffling. If you go to TheWorldMainDockingBar>>#welcomeToSqueak43
you see the text of the docking bar menu selection Help>>WelcomeWorkspaces>>WelcomeToSqueak4.3. But here's the twist, it contains the styles at the bottom:

'Morphic
- SMxMorphicProject now able to host a SimpleMorphic World
- when present a SMxMorphicProject is made available in the World menu
!
]style[(24 75 10 48 9 34 18 152 4 69 14 667 8 120 1 1 7 131)FBitstreamVeraSans#20.0,,bu,,bu,,bu,,bu,,bu,,bu,,bu,,bu,!' readStream nextChunkText


This string fed to TheWorldMainDockingBar spits out a fully formatted Workspace.

TheWorldMainDockingBar instance
        showWelcomeText: #welcomeToSqueak43
        label: 'Welcome to Squeak 4.3'
        in: (200 @ 200 extent: 500 @ 300)

By hand, Frank has crafted a Welcome workspace with the underlines, bold, and fonts to his taste. Now he wants to know what to do to produce a string that can be saved as a method.
I think this does it:
=====================
TheWorldMainDockingBar compile: 'welcomeWhatever

^',(((WriteStream on: String new) nextChunkPutWithStyle: aText) contents printStringLimitedTo: 100000),'  readStream nextChunkText'
=====================

when aText is the Text with your pretty text, you get:
=================================
welcomeWhatever

^'Bob is bold!
]style[(3 8)f5b,f1!'  readStream nextChunkText
===============================

compiled into TheWorldMainDockingBar.

Cheers,
Bob

Chris






    



Reply | Threaded
Open this post in threaded view
|

Re: Andreas filedOut an instance? ( was Re: [squeak-dev] Proposed 4.4 Changelog)

Chris Cunnington
On 2012-12-05 12:55 PM, Bob Arning wrote:

On 12/5/12 12:35 PM, Chris Cunnington wrote:
On 2012-12-05 11:41 AM, Bob Arning wrote:
Something like
=====================
TheWorldMainDockingBar compile: 'welcomeWhatever

^',(self contents printStringLimitedTo: 100000),'  readStream nextChunkText'
=======================

where self is your WriteStream

Cheers,
Bob

On 12/5/12 10:41 AM, Frank Shearar wrote:
On 4 December 2012 20:30, Frank Shearar [hidden email] wrote:
On 4 December 2012 19:16, Colin Putney [hidden email] wrote:
Cleanup and simplification of Morphic text editing
That's exactly what I want: why the user should care.
Right. I now have a Workspace with the changelog all nicely marked up.
I need to turn that into something I can put in the ReleaseBuilder. I
thought I could just explore my way to the Text instance with my
stuff, and do something like (WriteStream on: String new)
nextChunkPutWithStyle: self). Which is fine, but I need to turn that
into something like TheWorldMainDockingBar >> #welcomeToSqueak43. What
am I missing?

frank





I think Frank is asking for help about a question I couldn't answer. It's weird, because I found some solution to this when I released 4.3. The question might be phrased: how do you file out an instance?

Andreas did something, and it's baffling. If you go to TheWorldMainDockingBar>>#welcomeToSqueak43
you see the text of the docking bar menu selection Help>>WelcomeWorkspaces>>WelcomeToSqueak4.3. But here's the twist, it contains the styles at the bottom:

'Morphic
- SMxMorphicProject now able to host a SimpleMorphic World
- when present a SMxMorphicProject is made available in the World menu
!
]style[(24 75 10 48 9 34 18 152 4 69 14 667 8 120 1 1 7 131)FBitstreamVeraSans#20.0,,bu,,bu,,bu,,bu,,bu,,bu,,bu,,bu,!' readStream nextChunkText


This string fed to TheWorldMainDockingBar spits out a fully formatted Workspace.

TheWorldMainDockingBar instance
        showWelcomeText: #welcomeToSqueak43
        label: 'Welcome to Squeak 4.3'
        in: (200 @ 200 extent: 500 @ 300)

By hand, Frank has crafted a Welcome workspace with the underlines, bold, and fonts to his taste. Now he wants to know what to do to produce a string that can be saved as a method.
I think this does it:
=====================
TheWorldMainDockingBar compile: 'welcomeWhatever

^',(((WriteStream on: String new) nextChunkPutWithStyle: aText) contents printStringLimitedTo: 100000),'  readStream nextChunkText'
=====================

when aText is the Text with your pretty text, you get:
=================================
welcomeWhatever

^'Bob is bold!
]style[(3 8)f5b,f1!'  readStream nextChunkText
===============================

compiled into TheWorldMainDockingBar.

Cheers,
Bob
Works for me. Very nifty.

Chris



Reply | Threaded
Open this post in threaded view
|

Re: Proposed 4.4 Changelog

Bert Freudenberg
In reply to this post by Frank Shearar-3

On 2012-12-05, at 16:41, Frank Shearar <[hidden email]> wrote:

> On 4 December 2012 20:30, Frank Shearar <[hidden email]> wrote:
>> On 4 December 2012 19:16, Colin Putney <[hidden email]> wrote:
>>> Cleanup and simplification of Morphic text editing
>>
>> That's exactly what I want: why the user should care.
>
> Right. I now have a Workspace with the changelog all nicely marked up.
> I need to turn that into something I can put in the ReleaseBuilder. I
> thought I could just explore my way to the Text instance with my
> stuff, and do something like (WriteStream on: String new)
> nextChunkPutWithStyle: self). Which is fine, but I need to turn that
> into something like TheWorldMainDockingBar >> #welcomeToSqueak43. What
> am I missing?
>
> frank

Huh? Simply accept the welcome workspace. That regenerates the method.

- Bert -



Reply | Threaded
Open this post in threaded view
|

Re: Proposed 4.4 Changelog

Frank Shearar-3
On 05 Dec 2012, at 18:21, Bert Freudenberg <[hidden email]> wrote:

>
> On 2012-12-05, at 16:41, Frank Shearar <[hidden email]> wrote:
>
>> On 4 December 2012 20:30, Frank Shearar <[hidden email]> wrote:
>>> On 4 December 2012 19:16, Colin Putney <[hidden email]> wrote:
>>>> Cleanup and simplification of Morphic text editing
>>>
>>> That's exactly what I want: why the user should care.
>>
>> Right. I now have a Workspace with the changelog all nicely marked up.
>> I need to turn that into something I can put in the ReleaseBuilder. I
>> thought I could just explore my way to the Text instance with my
>> stuff, and do something like (WriteStream on: String new)
>> nextChunkPutWithStyle: self). Which is fine, but I need to turn that
>> into something like TheWorldMainDockingBar >> #welcomeToSqueak43. What
>> am I missing?
>>
>> frank
>
> Huh? Simply accept the welcome workspace. That regenerates the method.
> - Bert -

Only if the Workspace has the right acceptAction, which happens to be the case if you write the stub implementation and spawn the welcome workspaces from the ReleaseBuilder. Right. I'll be sure to add this to the release manager note file. Thanks, Bert! Very easy... once you know how!

frank
Reply | Threaded
Open this post in threaded view
|

Re: Proposed 4.4 Changelog

Bert Freudenberg

On 2012-12-05, at 20:32, Frank Shearar <[hidden email]> wrote:

> On 05 Dec 2012, at 18:21, Bert Freudenberg <[hidden email]> wrote:
>
>>
>> On 2012-12-05, at 16:41, Frank Shearar <[hidden email]> wrote:
>>
>>> On 4 December 2012 20:30, Frank Shearar <[hidden email]> wrote:
>>>> On 4 December 2012 19:16, Colin Putney <[hidden email]> wrote:
>>>>> Cleanup and simplification of Morphic text editing
>>>>
>>>> That's exactly what I want: why the user should care.
>>>
>>> Right. I now have a Workspace with the changelog all nicely marked up.
>>> I need to turn that into something I can put in the ReleaseBuilder. I
>>> thought I could just explore my way to the Text instance with my
>>> stuff, and do something like (WriteStream on: String new)
>>> nextChunkPutWithStyle: self). Which is fine, but I need to turn that
>>> into something like TheWorldMainDockingBar >> #welcomeToSqueak43. What
>>> am I missing?
>>>
>>> frank
>>
>> Huh? Simply accept the welcome workspace. That regenerates the method.
>> - Bert -
>
> Only if the Workspace has the right acceptAction, which happens to be the case if you write the stub implementation and spawn the welcome workspaces from the ReleaseBuilder. Right.

No. You simply open any of the Welcome Workspaces from the Help menu. ReleaseBuilder just has a convenience method to open all of them - which it needs to do for the out-of-box experience.

- Bert -

>  I'll be sure to add this to the release manager note file. Thanks, Bert! Very easy... once you know how!
>
> frank



Reply | Threaded
Open this post in threaded view
|

Re: Proposed 4.4 Changelog

Frank Shearar-3
On 5 December 2012 19:57, Bert Freudenberg <[hidden email]> wrote:

>
> On 2012-12-05, at 20:32, Frank Shearar <[hidden email]> wrote:
>
>> On 05 Dec 2012, at 18:21, Bert Freudenberg <[hidden email]> wrote:
>>
>>>
>>> On 2012-12-05, at 16:41, Frank Shearar <[hidden email]> wrote:
>>>
>>>> On 4 December 2012 20:30, Frank Shearar <[hidden email]> wrote:
>>>>> On 4 December 2012 19:16, Colin Putney <[hidden email]> wrote:
>>>>>> Cleanup and simplification of Morphic text editing
>>>>>
>>>>> That's exactly what I want: why the user should care.
>>>>
>>>> Right. I now have a Workspace with the changelog all nicely marked up.
>>>> I need to turn that into something I can put in the ReleaseBuilder. I
>>>> thought I could just explore my way to the Text instance with my
>>>> stuff, and do something like (WriteStream on: String new)
>>>> nextChunkPutWithStyle: self). Which is fine, but I need to turn that
>>>> into something like TheWorldMainDockingBar >> #welcomeToSqueak43. What
>>>> am I missing?
>>>>
>>>> frank
>>>
>>> Huh? Simply accept the welcome workspace. That regenerates the method.
>>> - Bert -
>>
>> Only if the Workspace has the right acceptAction, which happens to be the case if you write the stub implementation and spawn the welcome workspaces from the ReleaseBuilder. Right.
>
> No. You simply open any of the Welcome Workspaces from the Help menu. ReleaseBuilder just has a convenience method to open all of them - which it needs to do for the out-of-box experience.

Well, that might be so, but the important part is the acceptAction,
which a normal Workspace (spawned off the Tools menus) has not got.

frank

> - Bert -
>
>>  I'll be sure to add this to the release manager note file. Thanks, Bert! Very easy... once you know how!
>>
>> frank
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Andreas filedOut an instance? ( was Re: [squeak-dev] Proposed 4.4 Changelog)

Andreas.Raab
In reply to this post by Chris Cunnington
Chris Cunnington wrote
This string fed to TheWorldMainDockingBar spits out a fully formatted
Workspace.

TheWorldMainDockingBar instance
         showWelcomeText: #welcomeToSqueak43
         label: 'Welcome to Squeak 4.3'
         in: (200 @ 200 extent: 500 @ 300)

By hand, Frank has crafted a Welcome workspace with the underlines,
bold, and fonts to his taste. Now he wants to know what to do to produce
a string that can be saved as a method.
Just accept the text? Have you tried this? Because if you look at #showWelcomeText:label:in: in my Squeak (4.4-12292) it says:

        "Change the following to allow editing the text"
        true ifTrue:[

In other words, editing is enabled. If it's disabled for you you might want to change this line. Then just edit away and accept.

Cheers,
  - Andreas


Reply | Threaded
Open this post in threaded view
|

Re: Andreas filedOut an instance? ( was Re: [squeak-dev] Proposed 4.4 Changelog)

Frank Shearar-3
On 6 December 2012 10:03, Andreas.Raab <[hidden email]> wrote:

> Chris Cunnington wrote
>> This string fed to TheWorldMainDockingBar spits out a fully formatted
>> Workspace.
>>
>> TheWorldMainDockingBar instance
>>          showWelcomeText: #welcomeToSqueak43
>>          label: 'Welcome to Squeak 4.3'
>>          in: (200 @ 200 extent: 500 @ 300)
>>
>> By hand, Frank has crafted a Welcome workspace with the underlines,
>> bold, and fonts to his taste. Now he wants to know what to do to produce
>> a string that can be saved as a method.
>
> Just accept the text? Have you tried this? Because if you look at
> #showWelcomeText:label:in: in my Squeak (4.4-12292) it says:
>
>         "Change the following to allow editing the text"
>         true ifTrue:[
>
> In other words, editing is enabled. If it's disabled for you you might want
> to change this line. Then just edit away and accept.

As I mentioned to Bert, the key in all this is that "just accept it"
works if the Workspace's acceptAction is set to something special.
This is highly non-obvious to someone like myself (or presumable Chris
Cunnington), who lack the in-depth experience you and Bert share.

So in particular, I've solved the problem. We'll use #welcomeToSqueak
as the basis for the welcome text, rather than the version-specific
#welcomeToSqueak43, so that for the next release it _will_ be as
simple as "open the welcome Workspace, edit it, and accept". And I've
added an item to the 4.5 wishlist (wiki.squeak.org/squeak/6189) to
pull this out of Morphic: it seems silly to have to touch Morphic at
all to update a new version of Squeak.

frank

> Cheers,
>   - Andreas
>
>
>
>
>
>
> --
> View this message in context: http://forum.world.st/Proposed-4-4-Changelog-tp4657998p4658260.html
> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>

Reply | Threaded
Open this post in threaded view
|

Re: Andreas filedOut an instance? ( was Re: [squeak-dev] Proposed 4.4 Changelog)

Chris Cunnington
On 2012-12-06 5:33 AM, Frank Shearar wrote:

> On 6 December 2012 10:03, Andreas.Raab <[hidden email]> wrote:
>> Chris Cunnington wrote
>>> This string fed to TheWorldMainDockingBar spits out a fully formatted
>>> Workspace.
>>>
>>> TheWorldMainDockingBar instance
>>>           showWelcomeText: #welcomeToSqueak43
>>>           label: 'Welcome to Squeak 4.3'
>>>           in: (200 @ 200 extent: 500 @ 300)
>>>
>>> By hand, Frank has crafted a Welcome workspace with the underlines,
>>> bold, and fonts to his taste. Now he wants to know what to do to produce
>>> a string that can be saved as a method.
>> Just accept the text? Have you tried this? Because if you look at
>> #showWelcomeText:label:in: in my Squeak (4.4-12292) it says:
>>
>>          "Change the following to allow editing the text"
>>          true ifTrue:[
>>
>> In other words, editing is enabled. If it's disabled for you you might want
>> to change this line. Then just edit away and accept.
> As I mentioned to Bert, the key in all this is that "just accept it"
> works if the Workspace's acceptAction is set to something special.
> This is highly non-obvious to someone like myself (or presumable Chris
> Cunnington), who lack the in-depth experience you and Bert share.
Oh my, yes.
>
> So in particular, I've solved the problem. We'll use #welcomeToSqueak
> as the basis for the welcome text, rather than the version-specific
> #welcomeToSqueak43, so that for the next release it _will_ be as
> simple as "open the welcome Workspace, edit it, and accept". And I've
> added an item to the 4.5 wishlist (wiki.squeak.org/squeak/6189) to
> pull this out of Morphic: it seems silly to have to touch Morphic at
> all to update a new version of Squeak.
>
Nice. Sounds like a plan.

Chris


Reply | Threaded
Open this post in threaded view
|

Re: Andreas filedOut an instance? ( was Re: [squeak-dev] Proposed 4.4 Changelog)

Bob Arning-2
In reply to this post by Frank Shearar-3

On 12/6/12 5:33 AM, Frank Shearar wrote:
> As I mentioned to Bert, the key in all this is that "just accept it"
> works if the Workspace's acceptAction is set to something special.
> This is highly non-obvious to someone like myself (or presumable Chris
> Cunnington), who lack the in-depth experience you and Bert share.
I didn't realize that was there until Bert pointed it out. It might be
nice if Workspace had a visual indicator, like an * with help available,
in the titlebar whenever this accept action exists. Might help people
find places where this is useful as well as avoid invoking some action
they are not aware of.

Cheers,
Bob