Planet Squeak Code

blogs about Squeak, Pharo, Croquet and family
planet squeak - planet squeak es - planet squeak jp - planet croquet - planet squeak code - planet smalltalk

September 22, 2018

squeaksource.com

Crusoe-Perfect-pab.5

Added missing extension methods

September 22, 2018 08:23 AM

Crusoe-Perfect-SKW.5

A test without any implementation.

by Spencer Ward (spencerkward@gmail.com) at September 22, 2018 07:18 AM

September 21, 2018

squeaksource.com

Crusoe-Perfect-pab.4

Move test methods to instance side

September 21, 2018 07:43 PM

Crusoe-Perfect-pab.3

Commit following testing

September 21, 2018 06:34 PM

Crusoe-Perfect-pab.2

Added extension methods to Integer
Added another test

September 21, 2018 06:34 PM

Crusoe-Perfect-pab.1

Initial commit to Monticello

September 21, 2018 06:34 PM

September 20, 2018

source.squeak.org

VMMaker-eem.397

Add support for the varargs convention (good for eliminating cCode:). Port the much simplified FilePlugin/FilePluginSimulator directory primitive support from VMMaker.oscog.

by Eliot Miranda (eliot.miranda@gmail.com) at September 20, 2018 11:40 PM

squeaksource.com

VMConstruction-Plugins-XDisplayControlPlugin-eem.15

Refactor st:rn:cpy: => strncpy:_:_:

by Eliot Miranda (eliot.miranda@gmail.com) at September 20, 2018 10:47 PM

VMConstruction-Plugins-OSProcessPlugin.oscog-eem.58

Refactor st:rn:cpy: => strncpy:_:_: et al & minor cleanups.

by Eliot Miranda (eliot.miranda@gmail.com) at September 20, 2018 10:45 PM

VMConstruction-Plugins-AioPlugin-eem.21

Refactor st:rn:cpy: => strncpy:_:_:

by Eliot Miranda (eliot.miranda@gmail.com) at September 20, 2018 10:44 PM

source.squeak.org

VMMaker.oscog-eem.2444

Eliminate cCode: usage in the B3DAcceleratorPlugin and HostWindowPlugin usign the new "var args" style. Rewrite mem:mo:ve: et al in the new style.

Fix TMethod>>statementsFor:varName: for Pharo.

by Eliot Miranda (eliot.miranda@gmail.com) at September 20, 2018 07:09 PM

September 19, 2018

squeaksource.com

AST-Core-eem.97

Hack fix RBScanner class>>isSelector: so that #foo:_: et al are considered selectors.

by Eliot Miranda (eliot.miranda@gmail.com) at September 19, 2018 11:15 PM

AST-Core-eem.96

Hack fix for underscore keywords as in foo: a _: b ^a + b

by Eliot Miranda (eliot.miranda@gmail.com) at September 19, 2018 09:52 PM

AST-Tests-Core-eem.15

Add tests for underscore keyword arguments as in foo: a _: b ^a + b

by Eliot Miranda (eliot.miranda@gmail.com) at September 19, 2018 09:51 PM

source.squeak.org

VMMaker.oscog-eem.2443

Oops; remember to use isFakeStdinStream, and avoid isKindOf: in a couple of other places.

by Eliot Miranda (eliot.miranda@gmail.com) at September 19, 2018 05:31 PM

VMMaker.oscog-eem.2442

Final piece of Pharo compatibility to allow e.g. the REPL startreader images to run in Pharo 6.1. Split the input dialog for FakeStdinStream so it works both on Pharo and Squeak.

by Eliot Miranda (eliot.miranda@gmail.com) at September 19, 2018 04:22 PM

squeaksource.com

Collections.V3-dtl.806

Name: Collections-eem.806
Author: eem
Time: 18 September 2018, 11:54:09.798435 am
UUID: 300fdef5-d563-4e05-b16c-f82c15cc005f
Ancestors: Collections-cmm.805

Fix String>>numArgs for _: keywords (to accompany Compiler-eem.394)

by Dave Lewis (lewis@mail.msen.com) at September 19, 2018 01:41 AM

Compiler.V3-dtl.394

Name: Compiler-eem.394
Author: eem
Time: 18 September 2018, 11:01:49.239937 am
UUID: 446b4a31-2799-41fa-82d4-e503a94fb360
Ancestors: Compiler-bf.393

Fix a bug in Scanner>>xUnderscore that prevented parsing e.g.

method: p _: q _: r
^'cool'

by Dave Lewis (lewis@mail.msen.com) at September 19, 2018 01:39 AM

September 18, 2018

source.squeak.org

VMMaker.oscog-eem.2441

Make sure is:KindOf: has a valid return type.

by Eliot Miranda (eliot.miranda@gmail.com) at September 18, 2018 10:46 PM

VMMaker.oscog-eem.2440

More Pharo compatibility.

Refactor FilePluginSimulator simulation of primitiveDirectoryEntry & primitiveDirectoryLookup (primLookupEntryIn:name: & primLookupEntryIn:index:) so that the actual primitives in FilePlugin are simulated. Modify Slang to strip trailing underscores from selectors when constructing C function names, allowing a nice "varargs" convention (we should use this to get rid of my horrible hacks such as mem:cp:y:, st:rn:cpy: et al, which are too difficult to read or remember). Improve CObjectAccessor printing for cases like dir_[Entry]Lookup:_:_:_:_:_:_:_:_:_:_:_: so we can see the fake pointer accessors.

Eliminate the variation on dir_[Entry]Lookup between PharoVM and SqueakVM, leaving the difference only in makeDirEntryName:size:createDate:modDate:isDir:fileSize:[posixPermissions:isSymlink:]. (Hence a new FilePlugin must be coordinated with platfiorm code changes).

Fix a bug in attemptToComputeTempNamesFor: with methods with blocks but no top level temps.

Haver statementsFor:varName: work in Pharo as well as Squeak.

Remove an and:and: from bindVariableUsesIn:andConstantFoldIf:in:

by Eliot Miranda (eliot.miranda@gmail.com) at September 18, 2018 10:38 PM

Collections-eem.806

Fix String>>numArgs for _: keywords (to accompany Compiler-eem.394)

by Eliot Miranda (eliot.miranda@gmail.com) at September 18, 2018 06:54 PM

Compiler-eem.394

Fix a bug in Scanner>>xUnderscore that prevented parsing e.g.

method: p _: q _: r
^'cool'

by Eliot Miranda (eliot.miranda@gmail.com) at September 18, 2018 06:01 PM

September 17, 2018

source.squeak.org

WebClient-Core-pre.117

Fixes an issue with chunked encoded WebMessages which resulted in already decoded content to be decoded again. While not perfect it is important to allow for larger GitHub repositories such as Metacello.

by Patrick Rein (patrick.rein@gmail.com) at September 17, 2018 03:01 PM

September 16, 2018

squeaksource.com

MQTT-tpr.24

Fix stupid typo in publish topic checking where the wild chars were incorrectly listed as # and * instead of # and +.
Clean up some topic checking for Connect, Publish and Subscription packets.

by tim rowledge (tim@rowledge.org) at September 16, 2018 04:10 AM

September 15, 2018

source.squeak.org

Collections-topa.807

Revert for consistency and, subsequently, speed.

The correct fix is not as trivial and not fit in the beta phase.

Sorry, Ron.

by Chris Muller (ma.chris.m@gmail.com) at September 15, 2018 08:18 PM

Collections-topa.806

Fix separators to include U+00A0 (no break space)

Thanks Ron!

by Chris Muller (ma.chris.m@gmail.com) at September 15, 2018 08:17 PM

Help-Squeak-Project-ul.59

- up-to-date OCompletition load script

by Levente Uzonyi (leves@elte.hu) at September 15, 2018 07:23 PM

September 11, 2018

squeaksource.com

Shampoo-DmitryMatveev.16

Made it work in Pharo6.0 (and later, probably)

by Dmitry Matveev (dmm1989@gmail.com) at September 11, 2018 07:00 AM

September 10, 2018

squeaksource.com

Finance-OP.2

Just a backup

by duckflyer (duckflyer@gmail.com) at September 10, 2018 04:30 PM

YBuffer-Tests-Seaside-pmm.5

- make tests run

by marschal (philippe.marschall@gmail.com) at September 10, 2018 07:29 AM

YBuffer-Pharo-Core-pmm.20

- make tests run

by marschal (philippe.marschall@gmail.com) at September 10, 2018 07:29 AM

September 09, 2018

source.squeak.org

VMMakerCompatibilityForPharo6-eem.8

Add translation support for brace constructs in case statements.
And include a *Tools extension for TranscriptStream.

by Eliot Miranda (eliot.miranda@gmail.com) at September 09, 2018 05:57 PM

VMMakerCompatibilityForPharo6-eem.7

Add LongTestCase & access for the return of a quick method to RBMethodNode needed for cmacro: methods.

by Eliot Miranda (eliot.miranda@gmail.com) at September 09, 2018 05:13 PM

VMMaker.oscog-eem.2439

Slang: more Pharo/Squeak compatibiltiy refactoring.

by Eliot Miranda (eliot.miranda@gmail.com) at September 09, 2018 05:09 PM

VMMakerCompatibilityForPharo6-eem.6

Add translation support to RBProgramNode such that simple methods such as primitiveMakePoint can be translated to C. Still work needed to run the workspace translation scripts, which translate everything to be able to run inlining before generating C for a single method.

Add ClosureExtractor, DisplayText and TranscriptStream as needed support classes now missing in Pharo6.

Add bytesPerElement to the Collection hierarchy, again support dropped from Pharo6 (perhaps because image segments are not supported?).

by Eliot Miranda (eliot.miranda@gmail.com) at September 09, 2018 04:49 PM

VMMaker.oscog-eem.2438

General robustness, compatibility and cleanups.

Make localNameFor: a self send implemented for compatiblity above FileDirectory and FileSystem. Analogously so for uiProcess & vmPath[Size] above Pharo & Squeak.

A few fewer isKindOf:s.

Fix some receiuvers in NewObjectMemory (can it be that long since we've simulated a V3 image?? Yes :-))

FIx a C compiler warning in returnAs:ThroughCallback:Context:.

Fix an MNU in printing incomplete TSend nodes that broke the Pharo6 debugger.

by Eliot Miranda (eliot.miranda@gmail.com) at September 09, 2018 04:16 PM

September 07, 2018

squeaksource.com

Collections.V3-dtl.805

Name: Collections-cmm.805
Author: cmm
Time: 31 August 2018, 5:57:40.555042 pm
UUID: 7c024534-7188-47c5-b5e8-41e6dccf91ea
Ancestors: Collections-eem.804

Goes with Morphic-cmm.1461 to provide access to TextIndent attributes from the alignment menu.

by Dave Lewis (lewis@mail.msen.com) at September 07, 2018 09:57 PM

Kernel.V3-dtl.1190

Name: Kernel-cmm.1190
Author: cmm
Time: 29 August 2018, 9:20:01.027647 pm
UUID: b5a78e5d-c7fe-4e5d-9673-ee6208534ae1
Ancestors: Kernel-eem.1189

- Remove unnecessary string literals from ClassBuilder>>#reservedNames.
- Fix and simplify ClassBuilder>>#validateInstvars:from:forSuper:.
ClassBuilder>>#validateClassvars:from:forSuper: may benefit from a similar change.

by Dave Lewis (lewis@mail.msen.com) at September 07, 2018 09:54 PM

System.V3-dtl.1042

Name: System-pre.1042
Author: pre
Time: 5 September 2018, 4:56:50.998822 pm
UUID: 842afa63-0116-f84c-bb10-e82e86728dfb
Ancestors: System-eem.1041

Fixes a bug with the new MailSender probably due to an incomplete changeset. The missing attributes have already been used but were not part of the protocol of MailSender.

by Dave Lewis (lewis@mail.msen.com) at September 07, 2018 09:51 PM

System.V3-dtl.1041

Name: System-eem.1041
Author: eem
Time: 24 August 2018, 3:27:21.106494 pm
UUID: d696fe38-c1f1-f347-aa6a-9f53055d2306
Ancestors: System-eem.1040

Add the image side primitive error support for FFI exceptions. See ExceptionInFFICallError's class comment for an example.

by Dave Lewis (lewis@mail.msen.com) at September 07, 2018 09:47 PM

Compiler.V3-dtl.393

Name: Compiler-bf.393
Author: bf
Time: 23 August 2018, 7:44:43.576279 pm
UUID: 860565e2-2f2c-49bb-9e2f-e0d69d7b46c5
Ancestors: Compiler-bf.392

Fix pc highlighting for ifNil:ifNotNil:.

by Dave Lewis (lewis@mail.msen.com) at September 07, 2018 09:19 PM

Compiler.V3-dtl.392

Name: Compiler-bf.392
Author: bf
Time: 23 August 2018, 6:06:38.314464 pm
UUID: 039d1b50-5fe6-4c03-b82f-8015a2bac469
Ancestors: Compiler-eem.391

Mark macro senders for browsing

by Dave Lewis (lewis@mail.msen.com) at September 07, 2018 09:17 PM

Collections.V3-dtl.804

Name: Collections-eem.804
Author: eem
Time: 25 August 2018, 3:03:35.102786 pm
UUID: e4fae5d7-2676-4f01-bc05-21ac3946d248
Ancestors: Collections-eem.803

Fix TranscriptStream class>>redirectToStdOut: on "platforms" where stdout is not necessarily available (Windows). The existing implementation raises an error on start up on these "platforms".

by Dave Lewis (lewis@mail.msen.com) at September 07, 2018 09:13 PM

Collections.V3-dtl.803

Name: Collections-eem.803
Author: eem
Time: 21 August 2018, 2:09:17.558296 pm
UUID: 86665c06-0176-4eb8-b9dd-2b8dc3677fd6
Ancestors: Collections-dtl.802

More rational Dictionary>>fillFrom:with: so that collect:as: Dictionary matches e.g. Dictionary withAll:

Since 2010 Dictionary withAll: { 2->3 } => a Dictionary(2->3 ).
But
'abc' collect: [ :each | each -> each asciiValue ] as: Dictionary => a Dictionary(1->$a->97 2->$b->98 3->$c->99 )

With this change no tests appear to break (at least none that explicitly call collect:as:) and
'abc' collect: [ :each | each -> each asciiValue ] as: Dictionary => a Dictionary($a->97 $b->98 $c->99 )

by Dave Lewis (lewis@mail.msen.com) at September 07, 2018 09:10 PM

source.squeak.org

Tools-cmm.826

Command++ and Command+- hot keys for increasing/decreasing the sizes of all fonts.

by Chris Muller (ma.chris.m@gmail.com) at September 07, 2018 07:57 PM

Collections-cmm.805

Goes with Morphic-cmm.1461 to provide access to TextIndent attributes from the alignment menu.

by Chris Muller (ma.chris.m@gmail.com) at September 07, 2018 07:51 PM

Morphic-cmm.1461

Provide access to the TextIndent attribute on the alignment menu.

by Chris Muller (ma.chris.m@gmail.com) at September 07, 2018 07:50 PM

Morphic-LM.1462

Fixes a NonBooleanReceiver error that appeared when pressing backspace on a read-only text field.

by Chris Muller (ma.chris.m@gmail.com) at September 07, 2018 07:44 PM

Kernel-cmm.1190

- Remove unnecessary string literals from ClassBuilder>>#reservedNames.
- Fix and simplify ClassBuilder>>#validateInstvars:from:forSuper:.
ClassBuilder>>#validateClassvars:from:forSuper: may benefit from a similar change.

by Chris Muller (ma.chris.m@gmail.com) at September 07, 2018 07:43 PM

Morphic-cmm.1463

- Fix halo-invocation on a rotated Morph when halos are on the World.
- Provide access to the TextIndent attribute on the alignment menu.
- Fix a NonBooleanReceiver error that appeared when pressing backspace on a read-only text field.

by Chris Muller (ma.chris.m@gmail.com) at September 07, 2018 07:39 PM

ToolBuilder-Morphic-cmm.220

Restore keyboard list filtering when choosing files by temporarily avoiding the new dependency on PluggableMulticolumn until it can be improved.

by Chris Muller (ma.chris.m@gmail.com) at September 07, 2018 07:38 PM

Graphics-bf.401

Fix screen size check when using virtual display

by Bert Freudenberg (bert@freudenbergs.de) at September 07, 2018 04:07 AM

squeaksource.com

VK-IChing-vk.3

Simply improved categorization.

by Van Kichline (vkichline@hotmail.com) at September 07, 2018 12:53 AM

Ma-Installer-Core-cmm.103

Added a package-definition for #refactoringTools, which depends on #ast.

by Chris Muller (ma.chris.m@gmail.com) at September 07, 2018 12:28 AM

September 06, 2018

source.squeak.org

ReleaseBuilder-pre.188

Bumps version to 5.2beta and thereby sets the feature freeze in agreement with Edgar. Also fixes a minor bug in the release builder.

by Patrick Rein (patrick.rein@gmail.com) at September 06, 2018 11:20 AM

squeaksource.com

VK-IChing-VK.2

Improved persistance, line creation.

by Van Kichline (vkichline@hotmail.com) at September 06, 2018 01:59 AM

September 05, 2018

source.squeak.org

System-pre.1042

Fixes a bug with the new MailSender probably due to an incomplete changeset. The missing attributes have already been used but were not part of the protocol of MailSender.

by Patrick Rein (patrick.rein@gmail.com) at September 05, 2018 02:57 PM

September 04, 2018

source.squeak.org

Morphic-cmm.1462

Fix halo-invocation on rotated morphs.

by Chris Muller (ma.chris.m@gmail.com) at September 04, 2018 01:58 AM

September 03, 2018

squeaksource.com

KeplerEquations-B3D-JohnnyMcKeon.2

B3D Version!!!

by John McKeon (p3anoman@gmail.com) at September 03, 2018 12:46 AM

September 01, 2018

squeaksource.com

VK-IChing-VK.1

Initial checkin. Everything works in text. Print a new IChing to see output.

by Van Kichline (vkichline@hotmail.com) at September 01, 2018 07:43 PM

December 19, 2017

squeaksource.com

ProjectQuinto

Juste pour le plasir

by Francois Rousseau (lejazzgitan@gmail.com) at December 19, 2017 10:50 PM

December 12, 2011

squeaksource.com

w00t

Here it goes...

December 12, 2011 03:50 PM

November 23, 2011

squeaksource.com

Dead Code Detection - Group 6 - Week 1

We were able to import *.mse files successfully and started to think about how we could detect dead code. After browsing through the moosetechnology.org website, we saw that one possibility would be to use the methods provided by Moose Chef to handle dead code detection. But since this is all new to us we would like to be sure that we're not starting off from the wrong foot. Could you please tell us if using Moose Chef would be a good approach? Thank you.

by Frédéric Aebi (frederic.aebi@unifr.ch) at November 23, 2011 06:53 AM

October 02, 2011

squeaksource.com

A database driver for MySQL protocol

The driver is now capable of authenticating users in case the password was created in old style (short hash). The new style (long hash) password support remains available as usual. The fallback is silent, and handled during the handshake. Similar mechanisms apply to change user command.

In order to test the short has password cases change the password to use the old style by issuing commands like (from an admin account):

set password for 'stdbtestuser'@'%' = old_password('stdbtestpass')

Then run the test suite.

To change the password style back to new hash just do:

set password for 'stdbtestuser'@'%' = password('stdbtestpass')

Then run the test suite again to confirm.

by Anindya Haldar (anindya_haldar@yahoo.com) at October 02, 2011 08:17 AM

September 26, 2011

squeaksource.com

SBE Quinto Game

hmm, test: add message

by Philippe Quesnel (philippe.quesnel@gmail.com) at September 26, 2011 06:18 AM

July 16, 2011

squeaksource.com

FSGittest

test

by Max Leske (theseion@students.unibe.ch) at July 16, 2011 09:29 AM

July 10, 2011

squeaksource.com

Pier Multilanguage

Fehlerbehebung: Ein neuer Blog-Eintrag konnte nicht gespeichert werden, da bei der Ermittlung des Index die Monatsnamen aus dem Englischen herangezogen wurden (July - Juli).

by Thomas Aldag (thomas.aldag@gmx.de) at July 10, 2011 11:39 AM

April 12, 2011

squeaksource.com

StSearch - Search Engine for Smalltalk

The latest version is working fine in Squeak 4.2. Please be informed.

by Zhe Xi Lim (limzhexi@hotmail.com) at April 12, 2011 08:29 AM

December 24, 2010

squeaksource.com

AltFreeCell

Updated for Pharo 1.1 (and 1.2beta1) with some bugfixes.

Note that there is a bug in Pharo on Linux where saving an image causes Color black to become Color transparent. A work-around is to eval 'AltCardMorph initialize', then click on Start Over (or 'Klondike new openInWorld').

by Ken Dickey (Ken.Dickey@whidbey.com) at December 24, 2010 09:13 PM

September 18, 2010

squeaksource.com

Frob, Twiddle and Tweak

just frobbin' round

by frob (mehl@frob.de) at September 18, 2010 12:52 PM

September 11, 2010

squeaksource.com

VerMonTest

Hola!

by Pablo (pcarreno@dcc.uchile.cl) at September 11, 2010 07:26 PM

April 30, 2010

squeaksource.com

OMeta

Make sure you load the "preload" package before the "postload" package!

by Alex Warth (alexwarth@gmail.com) at April 30, 2010 11:14 PM

November 14, 2009

squeaksource.com

MessageNotUndestood>>UndefindObject>>visible.

see

http://gdsfeel.com/note/?BUGS

insert ifNotNilDo: block

by Kenjiro Fukuda (gdsfeel_doit@me.com) at November 14, 2009 04:50 AM