commits | 1 Feb 01:00
Favicon

The Trunk: ST80-ul.89.mcz

Levente Uzonyi uploaded a new version of ST80 to project The Trunk:
http://source.squeak.org/trunk/ST80-ul.89.mcz

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

Name: ST80-ul.89
Author: ul
Time: 1 February 2010, 1:51:09.687 am
UUID: a23ecf99-aaa8-b74f-bd05-4f48eb5f59f5
Ancestors: ST80-dtl.88

- fix: ParagraphEditor >> #tallyIt

=============== Diff against ST80-dtl.88 ===============

Item was changed:
  ----- Method: ParagraphEditor>>tallySelection (in category 'do-its') -----
  tallySelection
  	"Treat the current selection as an expression; evaluate it and return the time took for this evaluation"
  	| result rcvr ctxt valueAsString v |
  	self lineSelectAndEmptyCheck: [^ -1].

  	(model respondsTo: #doItReceiver) 
  		ifTrue: [FakeClassPool adopt: model selectedClass.  "Include model pool vars if any"
  				rcvr := model doItReceiver.
  				ctxt := model doItContext]
  		ifFalse: [rcvr := ctxt := nil].
  	result := [ | cm |
  		cm := rcvr class evaluatorClass new 
  			compiledMethodFor: self selectionAsStream
(Continue reading)

commits | 1 Feb 01:00
Favicon

The Trunk: Morphic-ul.314.mcz

Levente Uzonyi uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-ul.314.mcz

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

Name: Morphic-ul.314
Author: ul
Time: 1 February 2010, 1:50:15.396 am
UUID: 2b034a41-c53e-f44b-9da4-2b2a4f454798
Ancestors: Morphic-dtl.313

- fix: http://bugs.squeak.org/view.php?id=7449

Implement TextEditor >> #selectionAsStream just like ParagraphEditor >> #selectionAsStream. The
system expects that the stream contains the full text of the editor, but only the selection can be read from it.

- fix: SmalltalkEditor >> #tallyIt

=============== Diff against Morphic-dtl.313 ===============

Item was changed:
  ----- Method: TextEditor>>selectionAsStream (in category 'accessing-selection') -----
  selectionAsStream
  	"Answer a ReadStream on the text in the paragraph that is currently 
  	selected."

+ 	^ReadWriteStream
+ 		on: paragraph string
+ 		from: self startIndex
+ 		to: self stopIndex - 1!
(Continue reading)

commits | 1 Feb 01:00
Favicon

The Trunk: ST80-dtl.89.mcz

A new version of ST80 was added to project The Trunk:
http://source.squeak.org/trunk/ST80-dtl.89.mcz

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

Name: ST80-dtl.89
Author: dtl
Time: 30 January 2010, 10:02:57.136 pm
UUID: 4aeee0aa-bae1-4226-9e29-5c09a7fe30b5
Ancestors: ST80-dtl.88

Move PopUpMenu from ST80-Menus to Tools-Menus.
Remove explicit MVC and Morphic dependencies from PopUpMenu.
Support Project>>dispatchTo:addPrefixAndSend:withArguments:
Add PopUpMenu>>mvcStartUpLeftFlush
Add PopUpMenu>>mvcStartUpWithCaption:icon:at:allowKeyboard:

=============== Diff against ST80-dtl.88 ===============

Item was added:
+ ----- Method: PopUpMenu>>mvcStartUpWithCaption:icon:at:allowKeyboard: (in category
'*ST80-Menus') -----
+ mvcStartUpWithCaption: captionOrNil icon: aForm at: location allowKeyboard: aBoolean
+ 	"Display the menu, with caption if supplied. Wait for the mouse button to go down, then track the
selection as long as the button is pressed. When the button is released,
+ 	Answer the index of the current selection, or zero if the mouse is not released over  any menu item.
Location specifies the desired topLeft of the menu body rectangle. The final argument indicates whether
the menu should seize the keyboard focus in order to allow the user to navigate it via the keyboard."
+ 
+ 	frame ifNil: [self computeForm].
(Continue reading)

commits | 1 Feb 01:00
Favicon

The Trunk: Morphic-dtl.314.mcz

A new version of Morphic was added to project The Trunk:
http://source.squeak.org/trunk/Morphic-dtl.314.mcz

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

Name: Morphic-dtl.314
Author: dtl
Time: 30 January 2010, 10:06:49.378 pm
UUID: 4f55d9ab-07eb-440e-a7c6-d3e468945a8d
Ancestors: Morphic-dtl.313

Support Project>>dispatchTo:addPrefixAndSend:withArguments:
Add PopUpMenu>>morphicStartUpLeftFlush
Add PopUpMenu>>morphicStartUpWithCaption:icon:at:allowKeyboard:

=============== Diff against Morphic-dtl.313 ===============

Item was added:
+ ----- Method: MorphicProject>>selectorPrefixForDispatch (in category 'dispatching') -----
+ selectorPrefixForDispatch
+ 	"A string to be prepended to selectors for project specific methods"
+ 
+ 	^ 'morphic'!

Item was added:
+ ----- Method: PopUpMenu>>morphicStartUpLeftFlush (in category '*Morphic-Menus') -----
+ morphicStartUpLeftFlush
+ 	"Build and invoke this menu with no initial selection.  By Jerry Archibald, 4/01.
+ 	If in MVC, align menus items with the left margin.
+ 	Answer the selection associated with the menu item chosen by the user or nil if none is chosen.  
(Continue reading)

commits | 1 Feb 01:00
Favicon

The Trunk: Tools-dtl.165.mcz

A new version of Tools was added to project The Trunk:
http://source.squeak.org/trunk/Tools-dtl.165.mcz

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

Name: Tools-dtl.165
Author: dtl
Time: 30 January 2010, 10:01:34.961 pm
UUID: 376005ff-b046-4bfa-aaef-66ffb6f4d534
Ancestors: Tools-ar.164

Move PopUpMenu from ST80-Menus to Tools-Menus.
Remove explicit MVC and Morphic dependencies from PopUpMenu.

=============== Diff against Tools-ar.164 ===============

Item was added:
+ ----- Method: PopUpMenu class>>notify: (in category 'dialogs') -----
+ notify: message
+ 	"Deprecated. Use #inform: instead."
+ 
+ 	self inform: message!

Item was added:
+ ----- Method: PopUpMenu class>>initialize (in category 'class initialization') -----
+ initialize  "PopUpMenu initialize"
+ 	(MenuStyle := TextStyle default copy)
+ 		gridForFont: TextStyle default defaultFontIndex withLead: 0;
+ 		centered.
+ 	PopUpMenu allSubInstancesDo: [:m | m rescan]!
(Continue reading)

commits | 1 Feb 01:00
Favicon

The Trunk: System-dtl.241.mcz

A new version of System was added to project The Trunk:
http://source.squeak.org/trunk/System-dtl.241.mcz

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

Name: System-dtl.241
Author: dtl
Time: 30 January 2010, 10:00:40.376 pm
UUID: 4d4d420e-4618-4fe6-ab0f-c63a28bb622f
Ancestors: System-dtl.240

Add Project>>dispatchTo:addPrefixAndSend:withArguments:
Allow classes with MVC and Morphic dependencies to dispatch through Project current to invoke
appropriate methods. Prevents accumulation of unrelated implementations in Project.

=============== Diff against System-dtl.240 ===============

Item was added:
+ ----- Method: Project>>dispatchTo:addPrefixAndSend:withArguments: (in category 'dispatching') -----
+ dispatchTo: requestor addPrefixAndSend: baseSelector withArguments: arguments
+ 	"Sender wants to perform a method with dependencies on the type of project.
+ 	Dispatch to an appropriate method for the current project."
+ 
+ 	| selector |
+ 	selector := (self selectorPrefixForDispatch, baseSelector) asSymbol.
+ 	^ requestor perform: selector withArguments: arguments!

Item was added:
+ ----- Method: Project>>selectorPrefixForDispatch (in category 'dispatching') -----
+ selectorPrefixForDispatch
(Continue reading)

commits | 1 Feb 01:00
Favicon

The Trunk: ST80-dtl.90.mcz

David T. Lewis uploaded a new version of ST80 to project The Trunk:
http://source.squeak.org/trunk/ST80-dtl.90.mcz

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

Name: ST80-dtl.90
Author: dtl
Time: 31 January 2010, 9:05:16.275 pm
UUID: 8a2dc302-830b-4a7e-b319-3c40519bd779
Ancestors: ST80-dtl.89, ST80-ul.89

Merge ST80-dtl.89 and ST80-ul.89

=============== Diff against ST80-dtl.89 ===============

Item was changed:
  ----- Method: ParagraphEditor>>tallySelection (in category 'do-its') -----
  tallySelection
  	"Treat the current selection as an expression; evaluate it and return the time took for this evaluation"
  	| result rcvr ctxt valueAsString v |
  	self lineSelectAndEmptyCheck: [^ -1].

  	(model respondsTo: #doItReceiver) 
  		ifTrue: [FakeClassPool adopt: model selectedClass.  "Include model pool vars if any"
  				rcvr := model doItReceiver.
  				ctxt := model doItContext]
  		ifFalse: [rcvr := ctxt := nil].
  	result := [ | cm |
  		cm := rcvr class evaluatorClass new 
  			compiledMethodFor: self selectionAsStream
(Continue reading)

commits | 1 Feb 03:12
Favicon

The Trunk: Morphic-dtl.315.mcz

David T. Lewis uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-dtl.315.mcz

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

Name: Morphic-dtl.315
Author: dtl
Time: 31 January 2010, 9:07:08.899 pm
UUID: 8b66934c-739d-4523-99a2-1617ef7e1312
Ancestors: Morphic-dtl.314, Morphic-ul.314

Merge Morphic-ul.314 and Morphic-dtl.314

=============== Diff against Morphic-dtl.314 ===============

Item was changed:
  ----- Method: TextEditor>>selectionAsStream (in category 'accessing-selection') -----
  selectionAsStream
  	"Answer a ReadStream on the text in the paragraph that is currently 
  	selected."

+ 	^ReadWriteStream
+ 		on: paragraph string
+ 		from: self startIndex
+ 		to: self stopIndex - 1!
- 	^ReadStream
- 		on: (paragraph string copyFrom: self startIndex to: self stopIndex - 1)!

Item was changed:
  ----- Method: SmalltalkEditor>>tallySelection (in category 'do-its') -----
(Continue reading)

keith | 1 Feb 06:38
Picon
Favicon
Gravatar

Re: [Cuis] LaunchPad to collaborate on Cuis2 development

I started 2 open groups on LaunchPad.net

https://launchpad.net/~rodents  For those interested in collaborating on Cuis and derived images.
https://launchpad.net/~smalltalkers - For anyone else.

Launchpad uses Bazaar2.0, I liked git for 1 day, but github doesnt offer open repositories, or open team projects, so it is back to the old faithful bazaar! Launchpad.net is very cool though.

We have two projects so far

To use - begin by making yourself a local working directory...

# mkdir Cuis2.0_trunk
# cd Cuis2.0_trunk

Runtime and One-Click template
=========================
Checkout the vm runtime - this is also a one-click image template for you to branch from, or help improve.

# bzr branch lp:~rodents/cuis/Cuis2.0vm.app

Incremental Kernel Development
==========================
Checkout the current Cuis2.0 kernel development repositories - these are InstallStreams for incrementally moving the kernel forwards.

# bzr branch lp:~rodents/cuis/base
# bzr branch lp:~rodents/cuis/release
# bzr branch lp:~rodents/cuis/stable
# bzr branch lp:~rodents/cuis/unstable

1) cuis/base - the starting release image to build on using InstallStreams

2) cuis/release - the released updates (included in the release image)
This tracks Juan's official updates.

3) cuis/stable - branch & contribute back your tested updates here
In anticipation that these will get incorporated in the release.

4) unstable - branch & contribute your "being-tested" updates here

Unstable patches are not built by default.

The default search for updates is only 2 directories deep. In the unstable repository each contributed set of updates is published in a containing folder, and is 3 levels deep.

To apply a specific unstable update execute InstallStreams updatesInstall: 'unstable/InstallStreams-testing'.
To apply all unstable updates execute InstallStreams updatesInstall: 'unstable'.

Optional Kernel Innovations Development
=================================
InstallStreams providing optional kernel innovations may go in their own repositories, rather than release,stable, or unstable.

i.e. when you are ready to show the world...
# bzr push lp:~rodents/cuis/simple-namespaces
# bzr push lp:~rodents/cuis/pragmas
# bzr push lp:~rodents/cuis/nano-traits
# bzr push lp:~rodents/cuis/logging

Packages - Loadable with InstallStream
===============================
There is a separate project for sharing loadable packages. 
In your working directory make a directory for non-installed packages

# mkdir packages
# cd packages
# bzr branch lp:~rodents/cuis-packages/Installer

To manually load an individual package
InstallStream packagesInstall: 'packages/Installer'

To manually install all the packages checked out into ./packages
InstallStream packagesInstall: 'packages'

Generating the build
================
Juan's release of Cuis2.0 does not appear to support the execution of a script on start up. So in the meantime, you will have to search for and file in that script manually.

A simple script is provided in ./stable/build.sh which copies the base image into your working directory, and launches the image. (on mac only for the moment)

Find and file in ./stable/build.st which is intended to initiate and perform the build.

Next Steps
=========
It looks like we will have to release a Cuis2.0.1.image which fixes the startupscript feature.

enjoy

Keith











keith | 1 Feb 08:05
Picon
Favicon
Gravatar

Re: [Cuis] LaunchPad to collaborate on Cuis2 development

[resend with updated information]

I started 2 open groups on LaunchPad.net

https://launchpad.net/~rodents  For those interested in collaborating on Cuis and derived images.
https://launchpad.net/~smalltalkers - For anyone else.

Launchpad uses Bazaar2.0, I liked git for 1 day, but github doesnt offer open repositories, or open team projects, so it is back to the old faithful bazaar! Launchpad.net is very cool though.

We have two projects so far

To use - begin by making yourself a local working directory...

# mkdir Cuis2.0_trunk
# cd Cuis2.0_trunk

Runtime and One-Click template
=========================
Checkout the vm runtime - this is also a one-click image template for you to branch from, or help improve.

# bzr branch lp:~rodents/cuis/Cuis2.0vm.app

Incremental Kernel Development
==========================
Checkout the current Cuis2.0 kernel development repositories - these are the starting image and InstallStreams for incrementally moving the kernel forwards.

# bzr checkout --lightweight lp:~rodents/cuis/base
# bzr branch lp:~rodents/cuis/release
# bzr branch lp:~rodents/cuis/stable
# bzr branch lp:~rodents/cuis/unstable

1) cuis/base - the starting image to build on using InstallStreams

To check out Juan's original official release, rather than the most recent.
# bzr checkout --lightweight -r tag:Cuis2.0-0393 lp:~rodents/cuis/base test

2) cuis/release - the released updates (included in the release image)
This is intended to track Juan's official updates, which are tagged.
It also tracks ./base/Cuis2.0.1,image showing what it contains.

3) cuis/stable - branch & contribute back your tested updates here
In anticipation that these may get incorporated in the release by Juan.

4) unstable - branch & contribute your "being-tested" updates here

Unstable patches are not built by default.

The default search for updates is only 2 directories deep. In the unstable repository each contributed set of updates is published in a containing folder, and is 3 levels deep, escaping the standard search

"To apply a specific unstable update execute:"
InstallStreams updatesInstall: 'unstable/InstallStreams-testing'.

"To apply all unstable updates execute"
InstallStreams updatesInstall: 'unstable'.

Optional Kernel Innovations Development
=================================
InstallStreams providing optional kernel innovations may go in their own repositories, rather than release,stable, or unstable.

i.e. when you are ready to show the world...
# bzr push lp:~rodents/cuis/simple-namespaces
# bzr push lp:~rodents/cuis/pragmas
# bzr push lp:~rodents/cuis/nano-traits
# bzr push lp:~rodents/cuis/logging

Packages - Loadable with InstallStream
===============================
There is a separate project for sharing loadable packages. 
In your working directory make a sub-directory for non-installed packages,
and checkout/branch your chosen packages there.

# mkdir packages
# cd packages
# bzr checkout lp:~rodents/cuis-packages/Installer

To manually load an individual package
InstallStream packagesInstall: 'packages/Installer'

To manually install all the packages you have checked out into ./packages
InstallStream packagesInstall: 'packages'

Generating the build
================
Juan's original release of Cuis2.0 does not appear to support the execution of a script on start up. So I have provided a modified image for you to begin with, this is called: (I should have called it 2.0.1-build or something less official looking, however if Juan doesn't mind, I will leave it as it is)

Cuis2.0.1.image

A simple script is provided in ./stable/build.sh which copies the ./base directory into your working directory giving you a known starting point, and then launches the image with ./stable/build.st. (on mac only for the moment)

A second simple script is provided in ./unstable/build.sh which launches the image with ./unstable/build.st. 

enjoy

Keith












Gmane