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

February 16, 2018

squeaksource.com

PI-MLB.3

Migration fixes

by Marius Lichtblau (marius.lichtblau@googlemail.com) at February 16, 2018 06:53 PM

PI-MLB.2

comment out examples

by Marius Lichtblau (marius.lichtblau@googlemail.com) at February 16, 2018 06:41 PM

PI-MLB.1

initial commit

this is the first commit to squeak source

by Marius Lichtblau (marius.lichtblau@googlemail.com) at February 16, 2018 05:30 PM

Peldan-PDF-ErikPeldan.4

WIP Parse xref-section

by Erik Peldan (erik.peldan@gmail.com) at February 16, 2018 03:43 PM

Peldan-parsing-ErikPeldan.6

Parse PDF dictionaries

by Erik Peldan (erik.peldan@gmail.com) at February 16, 2018 03:42 PM

source.squeak.org

ST80Tests-fn.6

'ST80' package no longer depends on Network. Also, classify methods.

by Fabio Niephaus (code@fniephaus.com) at February 16, 2018 03:15 PM

ST80Tests-fn.6

'ST80' package no longer depends on Network. Also, classify methods.

February 16, 2018 02:00 PM

squeaksource.com

CommandShell-dtl.90

Add missed method from last update.

by Dave Lewis (lewis@mail.msen.com) at February 16, 2018 12:40 AM

CommandShell-Base-dtl.56

Add missed method from last update.

by Dave Lewis (lewis@mail.msen.com) at February 16, 2018 12:40 AM

CommandShell-UI-dtl.19

CommandShell 4.6.22

Accommodate Squeak themes. Because CommandShellTranscript is a model, but does not inherit from Model, implement #windowColorToUse to delegate to a Model for selecting a default color.

Update various compatibility methods by adopting the latest versions from package OSProcess (preparation for Cuis support).

by Dave Lewis (lewis@mail.msen.com) at February 16, 2018 12:32 AM

CommandShell-Base-dtl.55

CommandShell 4.6.22

Accommodate Squeak themes. Because CommandShellTranscript is a model, but does not inherit from Model, implement #windowColorToUse to delegate to a Model for selecting a default color.

Update various compatibility methods by adopting the latest versions from package OSProcess (preparation for Cuis support).

by Dave Lewis (lewis@mail.msen.com) at February 16, 2018 12:32 AM

CommandShell-dtl.89

CommandShell 4.6.22

Accommodate Squeak themes. Because CommandShellTranscript is a model, but does not inherit from Model, implement #windowColorToUse to delegate to a Model for selecting a default color.

Update various compatibility methods by adopting the latest versions from package OSProcess (preparation for Cuis support).

by Dave Lewis (lewis@mail.msen.com) at February 16, 2018 12:31 AM

February 15, 2018

squeaksource.com

Peldan-parsing-ErikPeldan.5

Relocate parsing methods in PositionableStream

by Erik Peldan (erik.peldan@gmail.com) at February 15, 2018 08:17 PM

Peldan-parsing-ErikPeldan.4

Add some util methods to FileStream

by Erik Peldan (erik.peldan@gmail.com) at February 15, 2018 08:12 PM

Peldan-parsing-ErikPeldan.3

Testing

by Erik Peldan (erik.peldan@gmail.com) at February 15, 2018 07:47 PM

Peldan-PDF-ErikPeldan.2

Testing

by Erik Peldan (erik.peldan@gmail.com) at February 15, 2018 07:47 PM

source.squeak.org

Morphic-dtl.1395

Remove selectorPrefixForDispatch which was a remnant of the now defunct method dispatching hack for Project.

by David T. Lewis (lewis@mail.msen.com) at February 15, 2018 07:23 PM

ST80-dtl.235

Remove selectorPrefixForDispatch which was a remnant of the now defunct method dispatching hack for Project.

by David T. Lewis (lewis@mail.msen.com) at February 15, 2018 07:21 PM

System-dtl.1003

Remove selectorPrefixForDispatch which was a remnant of the now defunct method dispatching hack for Project.

by David T. Lewis (lewis@mail.msen.com) at February 15, 2018 07:20 PM

squeaksource.com

System.V3-dtl.1003

Name: System-dtl.1003
Author: dtl
Time: 15 February 2018, 2:19:58.588317 pm
UUID: 9f36a39d-2c05-4401-8924-fab1c3c2df0f
Ancestors: System-dtl.1002

Remove selectorPrefixForDispatch which was a remnant of the now defunct method dispatching hack for Project.

by Dave Lewis (lewis@mail.msen.com) at February 15, 2018 07:07 PM

Actors-tonyg.84

Correct the example in the SocketActor class comment

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at February 15, 2018 06:42 PM

source.squeak.org

System-dtl.1002

Handle some edges cases in vmStatisticsReportString.

if no code compactions have happened yet (e.g. after initially opening the image, do not attempt to take average time (zero devide error).

Do not assume size of the VM parameters array, pad it to the expected length if necessary to avoid access violations.

Make the spur test work if VM parameter 41 is nil.

by David T. Lewis (lewis@mail.msen.com) at February 15, 2018 05:59 PM

squeaksource.com

System.V3-dtl.1002

Name: System-dtl.1002
Author: dtl
Time: 15 February 2018, 12:59:34.501292 pm
UUID: 9f4ddbc9-fdce-408b-bb37-c9c79233185c
Ancestors: System-tonyg.1001

Handle some edges cases in vmStatisticsReportString.

if no code compactions have happened yet (e.g. after initially opening the image, do not attempt to take average time (zero devide error).

Do not assume size of the VM parameters array, pad it to the expected length if necessary to avoid access violations.

Make the spur test work if VM parameter 41 is nil.

by Dave Lewis (lewis@mail.msen.com) at February 15, 2018 05:48 PM

System.V3-dtl.1001

Name: System-tonyg.1001
Author: tonyg
Time: 9 February 2018, 1:04:21.615446 pm
UUID: 761c7a6f-cd55-4660-a4f5-5baadcd7ab37
Ancestors: System-mt.1000

Attempting to set Preferences bigDisplay caused a DNU in Preferences class >> #displaySizeChanged invoking #smallLandFonts, which doesn't seem to be implemented anywhere in the stock image. I suspect this is code rot; this commit removes the call to Preferences class >> #smallLandFonts from #displaySizeChanged.

by Dave Lewis (lewis@mail.msen.com) at February 15, 2018 05:47 PM

System.V3-dtl.1000

Name: System-mt.1000
Author: mt
Time: 6 February 2018, 10:21:09.959461 am
UUID: 22b5ff48-9556-435c-bf2e-4f94d83a2ebe
Ancestors: System-tpr.999

Deprecate #inspectorClassOf: in favor of #inspectorClass.

by Dave Lewis (lewis@mail.msen.com) at February 15, 2018 05:47 PM

System.V3-dtl.999

Name: System-tpr.999
Author: tpr
Time: 1 February 2018, 4:13:05.258994 pm
UUID: 70bdd4f7-96fe-4233-bff2-48012f607163
Ancestors: System-dtl.998

Finally, remove the Project>>dispatchTo:addPrefixAndSend:withArguments: method.

See prior commits
ToolBuilder-Kernel-tpr.121
ToolBuilder-MVC-tpr.53
ToolBuilder-Morphic-tpr.207
ST80-tpr.234
Tools-tpr.795
Network-tpr.217
MorphicExtras-tpr.217
Morphic-tpr.1392
CommandLine-tpr.10

by Dave Lewis (lewis@mail.msen.com) at February 15, 2018 05:46 PM

February 11, 2018

squeaksource.com

Files.V3-dtl.170

Adopt the trunk version of StandardFileStream>>ascii. This requires an up to date interpreter VM with the necessary adoptInstance support. Adopted now because it leaves only StandardFileStream>>binary as a difference between this stream and trunk.

Name: Files-nice.170
Author: nice
Time: 26 April 2017, 11:01:48.184504 pm
UUID: 16f1903f-4a56-4f35-b737-dbb16a9022ae
Ancestors: Files-ul.169

Classify a few 'as yet unclassified' methods

by Dave Lewis (lewis@mail.msen.com) at February 11, 2018 01:58 AM

Kernel.V3-dtl.1101

Name: Kernel-nice.1101
Author: nice
Time: 26 April 2017, 11:32:58.822457 pm
UUID: e7668d92-95a7-4ece-967a-35a6bf61c946
Ancestors: Kernel-eem.1100

Fix the dividend of ZeroDivide exception in case of reciprocal.

Classify a few 'as yet unclassified' methods.

by Dave Lewis (lewis@mail.msen.com) at February 11, 2018 01:43 AM

Kernel.V3-dtl.1100

Name: Kernel-ul.1099
Author: ul
Time: 25 April 2017, 6:40:04.569495 pm
UUID: d06b7b82-b7b0-4896-ab30-7a5f85de7427
Ancestors: Kernel-ul.1098

- deprecated Object >> #clone
- removed #clone from subclasses

by Dave Lewis (lewis@mail.msen.com) at February 11, 2018 01:42 AM

Kernel.V3-dtl.1099

Name: Kernel-ul.1099
Author: ul
Time: 25 April 2017, 6:40:04.569495 pm
UUID: d06b7b82-b7b0-4896-ab30-7a5f85de7427
Ancestors: Kernel-ul.1098

- deprecated Object >> #clone
- removed #clone from subclasses

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

Collections.V3-dtl.753

Name: Collections-nice.753
Author: nice
Time: 26 April 2017, 11:56:06.826092 pm
UUID: 5f5b9a99-afa3-40f2-8fb5-a9a6183d10b5
Ancestors: Collections-nice.752

Nuke obsolete brace constructs used by compiler long long ago.

Since encoder v3 (plus closures) there is a dedicated byte code for constructing those arrays dynamically, so the #braceWith: like messages are not sent for a while and won't be used anymore in foreseeable future.

by Dave Lewis (lewis@mail.msen.com) at February 11, 2018 01:37 AM

Collections.V3-dtl.752

Name: Collections-nice.752
Author: nice
Time: 26 April 2017, 10:54:03.973466 pm
UUID: d3620c7a-7ead-43fb-93ee-21dce320c7eb
Ancestors: Collections-ul.751

Classify a few 'as yet unclassified' methods

by Dave Lewis (lewis@mail.msen.com) at February 11, 2018 01:34 AM

February 10, 2018

squeaksource.com

Files.V3-dtl.169

Name: Files-ul.169
Author: ul
Time: 24 April 2017, 1:01:59.851183 pm
UUID: 9593611d-fbbb-487f-a1c3-994e6347636e
Ancestors: Files-ul.168

- rewrote senders of #clone to use #shallowCopy

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

System.V3-dtl.947

Fix recreateSpecialObjectsArray for V3, but make the size 60 for compatibility with Spur VM expectations.

Fix ImageSegmentLoader>>allocateWordsObject:size: for V3, do not convert Float to BoxedFloat64.

Name: System-ul.947
Author: ul
Time: 24 April 2017, 1:15:54.622643 pm
UUID: 58e89632-762c-42f4-a3d0-55c1d1dd9dba
Ancestors: System-eem.946

- rewrote senders of #clone to use #shallowCopy

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

Kernel.V3-dtl.1098

Name: Kernel-ul.1098
Author: ul
Time: 24 April 2017, 12:59:49.967288 pm
UUID: f803e743-6f80-4bd8-9d1b-192f56d70de6
Ancestors: Kernel-eem.1097

- rewrote senders of #clone to use #shallowCopy
- Object >> #shallowCopy uses the fallback code of #clone, because that one is simpler (copying is done by #copyFrom:) and can copy CompiledMethods too.

by Dave Lewis (lewis@mail.msen.com) at February 10, 2018 08:50 PM

Kernel.V3-dtl.1097

Name: Kernel-eem.1097
Author: eem
Time: 18 April 2017, 11:41:03.658215 am
UUID: 716aef28-aea7-408d-9720-a0371de009d7
Ancestors: Kernel-dtl.1096

Add the primitive implementation to the two hashMultiply methods.

by Dave Lewis (lewis@mail.msen.com) at February 10, 2018 08:49 PM

Kernel.V3-dtl.1096

Name: Kernel-dtl.1096
Author: dtl
Time: 18 April 2017, 11:59:08.257358 am
UUID: 877ab97f-9ebe-4405-af31-fe9caab25eb6
Ancestors: Kernel-eem.1095

SmallInteger>>hashMultiply comment provided by Andres Valloud

by Dave Lewis (lewis@mail.msen.com) at February 10, 2018 08:48 PM

Kernel.V3-dtl.1095

Name: Kernel-eem.1095
Author: eem
Time: 13 April 2017, 2:05:29.158689 pm
UUID: 6872c2d8-f3c1-4037-b730-ea2e8fba4ff7
Ancestors: Kernel-eem.1094

Add simulation of directedSuperSend:numArgs:.

Clean up the send simulation machinery a little, using quickSend:to:with:lookupIn: and send:to:with:lookupIn: everywhere and replacing send:to:with:startClass:, & send:to:with:super: each of whose last argument is never used, with send:to:with:.

Nuke the obsolete tryNamedPrimitive template methods.

by Dave Lewis (lewis@mail.msen.com) at February 10, 2018 08:47 PM

Collections.V3-dtl.751

Name: Kernel-eem.1095
Author: eem
Time: 13 April 2017, 2:05:29.158689 pm
UUID: 6872c2d8-f3c1-4037-b730-ea2e8fba4ff7
Ancestors: Kernel-eem.1094

Add simulation of directedSuperSend:numArgs:.

Clean up the send simulation machinery a little, using quickSend:to:with:lookupIn: and send:to:with:lookupIn: everywhere and replacing send:to:with:startClass:, & send:to:with:super: each of whose last argument is never used, with send:to:with:.

Nuke the obsolete tryNamedPrimitive template methods.

by Dave Lewis (lewis@mail.msen.com) at February 10, 2018 08:38 PM

Collections.V3-dtl.750

Name: Collections-ul.750
Author: ul
Time: 24 April 2017, 3:36:04.668235 pm
UUID: 766fe870-89dd-455b-b0e9-8b14c7ab8548
Ancestors: Collections-ul.749

SequenceableCollection changes:
- #indexOfSubCollection:startingAt:ifAbsent: sends indexOfSubCollection:startingAt:
- fix: #identityIndexOf:startingAt:ifAbsent: didn't use startIndex

by Dave Lewis (lewis@mail.msen.com) at February 10, 2018 08:17 PM

Collections.V3-dtl.749

Name: Collections-ul.749
Author: ul
Time: 24 April 2017, 1:00:31.346232 pm
UUID: 455e6beb-40fe-41a4-a35e-675211c77f10
Ancestors: Collections-ul.748

- rewrote senders of #clone to use #shallowCopy

by Dave Lewis (lewis@mail.msen.com) at February 10, 2018 08:17 PM

Collections.V3-dtl.748

Name: Collections-ul.748
Author: ul
Time: 23 April 2017, 6:01:07.769449 pm
UUID: 834a2107-7087-42e3-a165-edc40a9f65f7
Ancestors: Collections-pre.747, Collections-ul.743

- merged with Collections-ul.743
- ArrayedCollection >> #mergeSortFrom:to:by: signals errors instead of assertion failures and uses #shallowCopy instead of #clone
- optimized Heap >> #removeFirst and SequenceCollection >> #beginsWith:

by Dave Lewis (lewis@mail.msen.com) at February 10, 2018 08:15 PM

Collections.V3-dtl.747

Name: Collections-pre.747
Author: pre
Time: 20 April 2017, 11:37:10.168994 am
UUID: 6fe02314-e789-064a-b678-0caec3506aac
Ancestors: Collections-eem.746

changes decoding of mime headers to decode directly to squeak encoding

by Dave Lewis (lewis@mail.msen.com) at February 10, 2018 08:11 PM

Collections.V3-dtl.746

Name: Collections-eem.746
Author: eem
Time: 18 April 2017, 2:10:45.148995 pm
UUID: 8d9adaca-1401-4323-974f-1aed16ae3688
Ancestors: Collections-eem.745

Nuke the pointless override of ByteSString class>>stringHash:initialHash: in ByteSymbol class. Rewrite the non-byte version to use the hashMultiply primitive.

by Dave Lewis (lewis@mail.msen.com) at February 10, 2018 08:10 PM

Compiler.V3-dtl.352

Name: Compiler-ul.352
Author: ul
Time: 24 April 2017, 1:00:45.337997 pm
UUID: 1ac9255e-aa00-4fca-8983-810cd0f1f3ba
Ancestors: Compiler-eem.351

- rewrote senders of #clone to use #shallowCopy

by Dave Lewis (lewis@mail.msen.com) at February 10, 2018 08:06 PM

Compiler.V3-dtl.351

Name: Compiler-eem.351
Author: eem
Time: 13 April 2017, 1:51:29.304066 pm
UUID: a6fc0090-227a-4e9c-b85d-a6c05c20707b
Ancestors: Compiler-eem.350

Add missing directedSuperSend: support.

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

source.squeak.org

Squeak-Version-cbc.5133

Fix postcript to call unload more cleanly - this already includes all of the 'complexity' of the previous call.

by Chris Cunningham (cunningham.cb@gmail.com) at February 10, 2018 07:30 PM

Squeak-Version-cbc.5132

Add class SqueakVersion to hold documentation about this package - how to use, why to use.

Also, remove previous preamble/postscript, since they are forced in a load prior to this one.

Finally, added to postscript the removal of the packages (Exceptions, FlexibleVocabularies, ScriptLoader) from the image.

by Chris Cunningham (cunningham.cb@gmail.com) at February 10, 2018 07:26 PM

EToys-fn.320

Move to "logical operations".

February 10, 2018 04:41 PM

Kernel-fn.1152

Move to "logical operations".

February 10, 2018 04:39 PM

VMMaker.oscog-eem.2333

RegisterAllocatingCogit:
Fix mistakes in reconcileWith:spillOffset:onSpillOrUnspill: when merging with a volatile entry that has a register. The current entry must morph into an SSRegister, /not/ an SSSpill, and it must answer that it has merged a register. mergeCurrentSimStackWith: must deassign the target's reguster, /not/ current's. And it must actually update current's spill status on (un)spill.

Fix slip in genForwardersInlinedIdenticalOrNotIf:.

Fix new case in simStackMergeCompatibleWith:.

With these changes the bootstrap gets beyond saving the image, > 18000 jitted methods, before hitting an assert fail due to a bad reguster assignment for simSelf in TransformMorph>>invalidRect:from:. Progress!

Simulator:
Have the break selector dialog allow setting an MNU break selector.

by Eliot Miranda (eliot.miranda@gmail.com) at February 10, 2018 02:02 AM

February 09, 2018

source.squeak.org

StOMP-koba.1

empty log message

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at February 09, 2018 05:45 PM

Kernel-maga.1054

Provide altTrue as an alternative to false. May be required for US government approved use of Squeak starting 2017.

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at February 09, 2018 05:39 PM

System-tonyg.1001

Attempting to set Preferences bigDisplay caused a DNU in Preferences class >> #displaySizeChanged invoking #smallLandFonts, which doesn't seem to be implemented anywhere in the stock image. I suspect this is code rot; this commit removes the call to Preferences class >> #smallLandFonts from #displaySizeChanged.

February 09, 2018 01:04 PM

Kernel-tonyg.1151

Update Promise >> #waitTimeoutMSecs: to stop waiting if the promise is rejected, as well as if it's accepted.

February 09, 2018 12:55 PM

KernelTests-tonyg.333

Extend PromiseTest cases for waitTimeoutMSecs: to examine isRejected status.

February 09, 2018 12:51 PM

KernelTests-fn.333

Update for Kernel-fn.1151

February 09, 2018 11:34 AM

Kernel-fn.1151

For consistency: allow blocks to be passed into #xor: (see #or: and #and:).

February 09, 2018 11:32 AM

VMMaker.oscog-eem.2332

RegisterAllocatingCogit:
Moving volatile stack contents to registers should happen once before each jump, not potentially multiple times in ensureFixupAt:.

Refactor moveVolatileSimStackEntriesToRegisters into moveVolatileSimStackEntriesToRegistersPreserving:, allowing easier use by the sopecial selecrtor generators, which have allocated registers before they're ready to move volatile contents to registers.

When reconciling, if a constant is in a register, use the register.

by Eliot Miranda (eliot.miranda@gmail.com) at February 09, 2018 02:02 AM

February 02, 2018

squeaksource.com

MQTTTests-tpr.6

Add MQTTClientTests as a first attempt to make some tests that are useful to other people. Still a lot to do to make comprehesive tests!

by tim rowledge (tim@rowledge.org) at February 02, 2018 11:38 PM

source.squeak.org

VMMaker.oscog-eem.2328

StackToRegisterMappingCogit:
Replace the UnknownSimStackPtrFlag hack in a fixup's simStackPtr and replace it by a proper flag. Consequently make a fixup's simStackPtr unsigned char, giving us a maximim of 255 stack slots (0 being for the receiver).

Fix typos and remove unnecessary doNotGenerate's from initialize methods (CCodeGenerator filters inityialize methods out anyway).

by Eliot Miranda (eliot.miranda@gmail.com) at February 02, 2018 08:59 PM

squeaksource.com

ClockAndCalendarMorphs-LL.4

Make backward compatible with Squeak versions before 5.1.

by Louis LaBrunda (Lou@Keystone-Software.Com) at February 02, 2018 02:40 PM

ClockAndCalendarMorphs-LL.2

Base version. Morphs that display a Clock and Calendar. The Calendar morph can be used separately or optionally with the clock morph. Requires KscAstroDataApp to calculate the sunrise and sunset times displayed in the calendar or clock.

by Louis LaBrunda (Lou@Keystone-Software.Com) at February 02, 2018 01:19 PM

source.squeak.org

System-tpr.999

Finally, remove the Project>>dispatchTo:addPrefixAndSend:withArguments: method.

See prior commits
ToolBuilder-Kernel-tpr.121
ToolBuilder-MVC-tpr.53
ToolBuilder-Morphic-tpr.207
ST80-tpr.234
Tools-tpr.795
Network-tpr.217
MorphicExtras-tpr.217
Morphic-tpr.1392
CommandLine-tpr.10

by tim Rowledge (tim@rowledge.org) at February 02, 2018 12:13 AM

CommandLine-tpr.10

Preliminary support for changes involved in removing the Project>>dispatchTo:addPrefixAndSend:withArguments: method.

by tim Rowledge (tim@rowledge.org) at February 02, 2018 12:06 AM

February 01, 2018

source.squeak.org

Morphic-tpr.1392

Preliminary support for changes involved in removing the Project>>dispatchTo:addPrefixAndSend:withArguments: method.

by tim Rowledge (tim@rowledge.org) at February 01, 2018 11:58 PM

MorphicExtras-tpr.221

Preliminary support for changes involved in removing the Project>>dispatchTo:addPrefixAndSend:withArguments: method.

by tim Rowledge (tim@rowledge.org) at February 01, 2018 11:56 PM

Network-tpr.217

Preliminary support for changes involved in removing the Project>>dispatchTo:addPrefixAndSend:withArguments: method.

by tim Rowledge (tim@rowledge.org) at February 01, 2018 11:55 PM

Tools-tpr.795

Preliminary support for changes involved in removing the Project>>dispatchTo:addPrefixAndSend:withArguments: method.

by tim Rowledge (tim@rowledge.org) at February 01, 2018 11:53 PM

ST80-tpr.234

Preliminary support for changes involved in removing the Project>>dispatchTo:addPrefixAndSend:withArguments: method.

by tim Rowledge (tim@rowledge.org) at February 01, 2018 11:49 PM

ToolBuilder-Morphic-tpr.207

Preliminary support for changes involved in removing the Project>>dispatchTo:addPrefixAndSend:withArguments: method.

by tim Rowledge (tim@rowledge.org) at February 01, 2018 11:47 PM

ToolBuilder-MVC-tpr.53

Preliminary support for changes involved in removing the Project>>dispatchTo:addPrefixAndSend:withArguments: method.

by tim Rowledge (tim@rowledge.org) at February 01, 2018 11:47 PM

ToolBuilder-Kernel-tpr.121

Preliminary support for changes involved in removing the Project>>dispatchTo:addPrefixAndSend:withArguments: method.

by tim Rowledge (tim@rowledge.org) at February 01, 2018 11:46 PM

squeaksource.com

MQTT-tpr.23

Correct a problem whereby aQOS 2 receive sent the wrong acknowledge packet.
Handle getting repeated PUBREL packets froma slow broker.
Make sure packet msgIDs are non-0.
Cope with apparent failure of brokers to ensure correct UTF-8 topic names (we got single char #[192] topic from test.mosquitto.org several times)

by tim rowledge (tim@rowledge.org) at February 01, 2018 09:08 PM

Kernel-tonyg.1150

(Re)introduce isPromise, and use it instead of isKindOf:.

February 01, 2018 05:07 PM

Actors-tonyg.48

Add a tracing facility. Remove the errorHandler block in an ActorProcess as a consequence. Simplify handling of ActorRequests. New tests and examples demonstrating chained promises etc. Bugfixes and other minor improvements.

February 01, 2018 05:05 PM

source.squeak.org

Kernel-tonyg.1150

(Re)introduce isPromise, and use it instead of isKindOf:.

February 01, 2018 09:59 AM

Multilingual-tonyg.235

Add
ByteArray>>utf8Decoded
String>>utf8Encoded
per discussion on mailing-list on 28 Jan 2018, http://lists.squeakfoundation.org/pipermail/squeak-dev/2018-January/197082.html

by David T. Lewis (lewis@mail.msen.com) at February 01, 2018 02:37 AM

January 31, 2018

source.squeak.org

Kernel-tonyg.1149

Add an alias for Promise>>#then:, called #>>=, echoing the monadic bind operator.

Use of a binary selector allows for convenient chaining of Promises without lots of nested parentheses.

For example:

(self produceSomePromise)
>>= [:v | self produceAnotherPromiseInvolving: v]
>>= [:v | self makeYetAnotherUsing: v]

instead of the more cumbersome

((self produceSomePromise)
then: [:v | self produceAnotherPromiseInvolving: v])
then: [:v | self makeYetAnotherUsing: v]

Also adds #>>, again named after the analogous monadic operator, which is like #>>= but does not pass the value from the left-hand-side promise to the continuation block.

January 31, 2018 11:45 PM

KernelTests-tonyg.331

Updated and new tests for Promise, to match Kernel-tonyg.1148

January 31, 2018 11:40 PM

Kernel-tonyg.1148

Brings the Promise implementation closer to Javascript/A+ promises in two ways:
* Resolving a Promise with another Promise causes them to be chained together
* Resolving or Rejecting a Promise that is not pending is a no-op, like the Firefox/Chrome/etc in-browser promise implementations.
The tests have been changed in KernelTests-tonyg.331 accordingly.

January 31, 2018 11:37 PM

Multilingual-tonyg.236

Properly report short sequences as InvalidUTF8 rather than out-of-bounds subscript. Fixes a failing UTF8EdgeCaseTest>>testSequencesWithLastContinuationByteMissing.

January 31, 2018 11:19 PM

MultilingualTests-tonyg.30

An additional few invalid-UTF8 tests.

January 31, 2018 11:17 PM

MultilingualTests-tonyg.29

Test cases for the new
ByteArray>>utf8Decoded
String>>utf8Encoded
in Multilingual-tonyg.235, plus a new suite of test cases based on "UTF-8 decoder capability and stress test" by Markus Kuhn, UTF8EdgeCaseTest.

January 31, 2018 08:39 PM

squeaksource.com

ClockAndCalendarMorphs-LL.3

Improved simple clock hands. Added automatic web retrieval of latitude and longitude if they are not supplied. Allow clock face image path to be a web URL. Modified date/time/sunrise/sunset display. Some minor bug fixes.

by Louis LaBrunda (Lou@Keystone-Software.Com) at January 31, 2018 08:20 PM

source.squeak.org

MonticelloConfigurations-bf.152

Properly fix the modified check when updating.

by Bert Freudenberg (bert@freudenbergs.de) at January 31, 2018 02:23 PM

January 30, 2018

squeaksource.com

ClockAndCalendarMorphs-LL.2

Base version. Morphs that display a Clock and Calendar. The Calendar morph can be used separately or optionally with the clock morph. Requires KscAstroDataApp to calculate the sunrise and sunset times displayed in the calendar or clock.

by Louis LaBrunda (Lou@Keystone-Software.Com) at January 30, 2018 06:11 PM

ClockAndCalendarMorphs-LL.2

Base version. Morphs that display a Clock and Calendar. The Calendar morph can be used separately or optionally with the clock morph. Requires KscAstroDataApp to calculate the sunrise and sunset times displayed in the calendar or clock.

by Louis LaBrunda (Lou@Keystone-Software.Com) at January 30, 2018 04:24 PM

KscAstroDataApp-LL.2

Base version of astro data for our solar system.

by Louis LaBrunda (Lou@Keystone-Software.Com) at January 30, 2018 04:11 PM

January 28, 2018

squeaksource.com

Francois-Package-francoisrousseau.rousseau.1515889099

Ai complete chapitre 6

by frodjango (lejazzgitan@gmail.com) at January 28, 2018 03:34 AM

Francois-Package-francoisrousseau.rousseau.1516574511

Done with chapter 7

by frodjango (lejazzgitan@gmail.com) at January 28, 2018 03:34 AM

Francois-Package-francoisrousseau.rousseau.1516765345

Petit changement que je sauvgarde d'abord dans la cache locale

by frodjango (lejazzgitan@gmail.com) at January 28, 2018 03:34 AM

Francois-Package-francoisrousseau.rousseau.1516765344

Etude du chapitre 8 et sauvegarde (esperee) vers squeaksource.com

by frodjango (lejazzgitan@gmail.com) at January 28, 2018 03:18 AM

January 27, 2018

squeaksource.com

eLindaContinued-rww.3

rename

by Robert Withers (robert.withers@protonmail.com) at January 27, 2018 03:18 PM

Cryptography-rww.115

rename

by Robert Withers (robert.withers@protonmail.com) at January 27, 2018 03:16 PM

ParrotTalk-rww.19

rename

by Robert Withers (robert.withers@protonmail.com) at January 27, 2018 03:15 PM

fec-rww.12

rename

by Robert Withers (robert.withers@protonmail.com) at January 27, 2018 03:14 PM

January 26, 2018

source.squeak.org

VMMaker.oscog-eem.2327

StackToRegisterMappingCogit:
Get much stricter with simSpillBase for the benefit of RegisterAllocatingCogit (and eventually SistaCogit).

updateSimSpillBase is now called after the new descriptor is pushed and either counts up or counts down as required to guarantee it points one beyoind the last spilled entry. The assertCorrectSimStackPtr asserts now insist on this. With this change we can start to replace all the simSpillBase max: 0 prharses with simply simSpillBase.

Deal with the assett failures due to frameless methods with unused temporaries by simply refusing to JIT them; see the new methodFoundInvalidPostScan hook.

by Eliot Miranda (eliot.miranda@gmail.com) at January 26, 2018 07:58 PM

VMMaker.oscog-eem.2326

StackToRegisterMappingCogit:
For simplicity, especially in the RegisterAllocatingCogit subclass, eliminate simSelf and optStatus and include the receiver's simStackEntry as the 0'th element of the simStack. optStatus is therefore whether simSelf's liveRegister is ReceiverResultReg. hence loops from 0 to: methodOrBlockNumTemps - 1 become loops from 1 to: methodOrBlockNumTemps. Teh simSelf variable is replaced by self simSelf, which is short-hand for self simStackAt: 0.

Consequently move te liveRegister accessors up from CogRegisterAllocatingSimStackEntry to CogSimStackEntry.

by Eliot Miranda (eliot.miranda@gmail.com) at January 26, 2018 07:30 PM

ReleaseBuilder-mt.178

Adds default preferences for Transcript tool.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at January 26, 2018 06:43 AM

Collections-mt.781

For the ReleaseBuilder, adds setter for #characterLimit Transcript preference.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at January 26, 2018 06:42 AM

System-dtl.998

Project>>dispatchTo:addPrefixAndSend:withArguments: no longer requires manual update of baseSelectors since System-bf.997. Update method comment accordingly.

by David T. Lewis (lewis@mail.msen.com) at January 26, 2018 01:05 AM

System-bf.997

Simplify project dispatch selector detection. No hard-coded list. Almost as good.

by David T. Lewis (lewis@mail.msen.com) at January 26, 2018 12:56 AM

January 25, 2018

source.squeak.org

VMMaker.oscog-eem.2325

StackToRegisterMappingCogit:
Fix ancient bug in voidReceiverResultRegContainsSelf. The computed index is the right argument for ssFlushTo:; it shouldn't be subtracted from simStackPtr!

Make stackTopIsBoolean more robust.

Better support for in-image compilation. Make sure to fill the code zone with stops (& provide better implementations of stopsFrom:to:). Extract creating an initialized Cogit instance to a method. Provide simStackPrintString.

by Eliot Miranda (eliot.miranda@gmail.com) at January 25, 2018 09:31 PM

Squeak-Version-cbc.5132

Add class SqueakVersion to hold documentation about this package - how to use, why to use.

Also, remove previous preamble/postscript, since they are forced in a load prior to this one.

Finally, added to postscript the removal of the packages (Exceptions, FlexibleVocabularies, ScriptLoader) from the image.

by Chris Cunningham (cunningham.cb@gmail.com) at January 25, 2018 09:22 PM

squeaksource.com

fec-HenryHouse.11

cleanup decode test

by henry house (henry@callistohouse.club) at January 25, 2018 07:05 PM

fec-HenryHouse.10

reorder tests

by henry house (henry@callistohouse.club) at January 25, 2018 07:03 PM

fec_stack_bridge-HenryHouse.2

port tests

by Alan Pinch (alan.c.pinch@gmail.com) at January 25, 2018 07:03 PM

fec_stack_bridge-HenryHouse.1

set aside

by Alan Pinch (alan.c.pinch@gmail.com) at January 25, 2018 06:56 PM

fec-HenryHouse.9

cleanup

by henry house (henry@callistohouse.club) at January 25, 2018 06:53 PM

fec-HenryHouse.8

fix intiialize

by henry house (henry@callistohouse.club) at January 25, 2018 04:21 PM

fec-HenryHouse.7

got decode working mostly

by henry house (henry@callistohouse.club) at January 25, 2018 04:11 PM

source.squeak.org

ToolBuilder-Kernel-eem.120

Add two essential conveniences alongside edit

by Eliot Miranda (eliot.miranda@gmail.com) at January 25, 2018 03:24 PM

January 24, 2018

source.squeak.org

Multilingual-tonyg.234

Repair bug identified in MultilingualTests-tonyg.28.

by David T. Lewis (lewis@mail.msen.com) at January 24, 2018 01:31 AM

MultilingualTests-tonyg.28

New test cases for MultiByteFileStream upToAll: and upToPosition:, exposing a bug in the latter.

by David T. Lewis (lewis@mail.msen.com) at January 24, 2018 01:30 AM

January 23, 2018

source.squeak.org

VMMaker.oscog-eem.2324

Fix store check call in genPrimitiveStringReplace on RISCs (i.e. on ARM save & restore LinkReg around call).

Fix code generation for RegisterAllocatingCogit>>genJumpBackTo: (must use addressOf: simSelf).

Fix typos in CogSimStackEntry's class comment.

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

Cog-eem.346

Add the missing control register accessiors for GdbARMAlien64 and delete subclass accessors that are the same as the superclass's.

by Eliot Miranda (eliot.miranda@gmail.com) at January 23, 2018 07:56 PM

Cog-eem.345

Add the processor aliens when compiled in 64-bits for running on 64-bit Squeak

Add a means for setting the name of the processor-specific ReceiverResultReg for decorating assembly with inst var names.

by Eliot Miranda (eliot.miranda@gmail.com) at January 23, 2018 05:10 PM

VMMaker.oscog-cb.2323

Based on discussions decreased from 7 to 5 the number of instructions on Intel in primStringReplace copying loops

by ClementBera (bera.clement@gmail.com) at January 23, 2018 04:12 PM

January 22, 2018

source.squeak.org

VMMaker.oscog-eem.2322

RegisterAllocatingCogit:
Make sure the receiverResultReg state is valid on backwards jump when the stackLimit is not exceeded. Implement branch following as per StackToRegisterMappingCogit>>#genJumpTo:. Avoid duplicating send of moveVolatileSimStackEntriesToRegisters in ensureFixupAt:.

Cogit:
Implement inst var name decoration in x64 disassembly.

by Eliot Miranda (eliot.miranda@gmail.com) at January 22, 2018 07:23 PM

squeaksource.com

fec-HenryHouse.5

RS encode and decode tweaks

by henry house (henry@callistohouse.club) at January 22, 2018 02:21 PM

source.squeak.org

VMMaker.oscog-eem.2321

Implement following of pushConstant: aBoolean; jumpTo: target; ...target: jump: target2 if: cond in genJumpTo:.

Add generatorForPC: and use it as appropriate.

Fix some senders of #== that should be using #=.

by Eliot Miranda (eliot.miranda@gmail.com) at January 22, 2018 05:27 AM

January 21, 2018

source.squeak.org

Multilingual-dtl.233

MutliByteFileStream>>upToPosition: fix provided by Bob Arning.

See squeak-dev discussion thread "MultiByteFileStream upToAll: strange bug" for background and diagnosis. The problem was introduced in Multilingual-tonyg.218 and merged to trunk in Multilingual-pre.230

Condensed email from Bob:

To: squeak-dev@lists.squeakfoundation.org
From: Bob Arning
Date: Sun, 21 Jan 2018 07:01:37 -0500
Subject: Re: [squeak-dev] MultiByteFileStream upToAll: strange bug

The culprit is MultiByteFileStream>>upToPosition: which was referencing the instVar <position> directly. Changing that to "self position" allows it to stop at the right place.

by David T. Lewis (lewis@mail.msen.com) at January 21, 2018 04:03 PM

January 20, 2018

squeaksource.com

HV-Divagaciones-edc.34

Synch between Endeavour and Magallanes.
Manual cleanup of DivagacionesIndex

January 20, 2018 09:51 AM

MQTTTests-tpr.5

Remove two incorrect uses of Delay waitMSecs: which we do not have.

by tim rowledge (tim@rowledge.org) at January 20, 2018 12:49 AM

MQTT-tpr.22

Correct monstrously stupid bug in checking the topic string for validity.

by tim rowledge (tim@rowledge.org) at January 20, 2018 12:49 AM

January 19, 2018

source.squeak.org

Monticello-cmm.677

Remove 'flush cached versions and ancestry' from the repository menu because it doesn't belong in the IDE, where development occurs. It is only meant to called from application build scripts.

by Chris Muller (ma.chris.m@gmail.com) at January 19, 2018 10:41 PM

VMMaker.oscog-eem.2320

Spur:
Fix a bad bug in SpurPlnningCompactor. unmarkObjectsFromFirstFreeObject, used when the compactor requires more than one pass due to insufficient savedFirstFieldsSpace, expects the corpse of a moved object to be unmarked, but copyAndUnmarkObject:to:bytes:firstField: only unmarked the target. Unmarking the corpse before the copy unmarks both. This fixes a crash with ReleaseBuilder class>>saveAsNewRelease when non-use of cacheDuring: creates lots of files, enough to push the system into the multi-pass regime.

Cogit:
Fix an assert fail during simulation with the openPICList. Simply void the list when doing unlinkAllSends, and change removeFromOpenPICList: to neither crash nor complain when attempting to remove a PIC when the list is empty. Have printOpenPICList answer the length of the list.

Simulation:
Add byte count text update to stack overflow in the cogit.

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

January 18, 2018

source.squeak.org

ToolBuilder-Kernel-mt.118

Updates message categories in UIManager to make ui requests more accessible.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at January 18, 2018 07:06 AM

ToolBuilder-Morphic-mt.206

Move new file dialogs into ToolBuilder-Morphic package due to its Morphic dependency. (Compares with ListChooser.)

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at January 18, 2018 07:05 AM

Tools-mt.793

Move new file dialogs into ToolBuilder-Morphic package due to its Morphic dependency. (Compares with ListChooser.)

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at January 18, 2018 07:03 AM

VMMaker.oscog-eem.2319

Simulation:
Close files properly in the FilePliginSimulator and recycle file handle indices.

Comma separate the bytecode count text for legibility.

Update the VM window title on Snapshot.

Use Project current restore to allow the GUI to update instead of being Morphic-specifc (thanks Bert).

Provide a VM option to turn off stack depth checking (since non-local returns occasionally violate stack depth and that can halt a long run).

by Eliot Miranda (eliot.miranda@gmail.com) at January 18, 2018 05:37 AM

January 16, 2018

squeaksource.com

OSProcess-dtl.105

OSProcess 4.6.10 additional updates for compatibility methods

by Dave Lewis (lewis@mail.msen.com) at January 16, 2018 04:37 AM

OSProcess-Base-dtl.60

OSProcess 4.6.10 additional updates for compatibility methods

by Dave Lewis (lewis@mail.msen.com) at January 16, 2018 04:36 AM

OSProcess-Unix-dtl.26

OSProcess 4.6.10 additional updates for compatibility methods

by Dave Lewis (lewis@mail.msen.com) at January 16, 2018 04:36 AM

OSProcess-dtl.104

OSProcess 4.6.10
Updates to use FileMan in Cuis. Add test for #useFileMan and update compatibility methods accordingly. Use compatibility methods in unit tests.
Also include earlier changes from OSProcess-Win32-ThierryGoubier.15

by Dave Lewis (lewis@mail.msen.com) at January 16, 2018 03:49 AM

OSProcess-Base-dtl.59

OSProcess 4.6.10
Updates to use FileMan in Cuis. Add test for #useFileMan and update compatibility methods accordingly. Use compatibility methods in unit tests.

by Dave Lewis (lewis@mail.msen.com) at January 16, 2018 03:48 AM

OSProcess-Tests-dtl.16

OSProcess 4.6.10
Updates to use FileMan in Cuis. Add test for #useFileMan and update compatibility methods accordingly. Use compatibility methods in unit tests.

by Dave Lewis (lewis@mail.msen.com) at January 16, 2018 03:48 AM

OSProcess-Unix-dtl.25

OSProcess 4.6.10
Updates to use FileMan in Cuis. Add test for #useFileMan and update compatibility methods accordingly. Use compatibility methods in unit tests.

by Dave Lewis (lewis@mail.msen.com) at January 16, 2018 03:48 AM

source.squeak.org

VMMaker.oscog-eem.2316

Interpreter: Fix bad bug in reverseDisplayFrom:to: feedback from the leak checker. The displayBits are not uopdated soon enough after a compaction and objects may be overwritten. So refactor postGCAction: to extract postGCUpdateDisplayBits which is also used by reverseDisplayFrom:to: to obtain up-to-date bits.

Interpreter Simulator:
Fix snapshot write with a 64-bit memory.
Make the globalSessionID (& thisSessionID in InterpreterProxy) a 32-bit quantity always. Thse were using SmallInteger>>maxVal with the assumption that SmallIntegers are less than 32-bits.

Rewrite primitiveDeferDisplayUpdates to invoke indirectly ioForceDisplayUpdate, and implement ioForceDisplayUpdate to allow the display to refresh, hence curing the lack of display update in the StackInterpreter simulator, and allowing the removal of CogVMSimulator>>primitiveDeferDisplayUpdates.

Spur Simulator:
Speed up the leak checker by about a factor of two by removing the bounds checking versions of fetchPointer:ofObject: in the simulator subclasses for the duration, and by using bitShift: instead of << in addressAfter:

Socket Plugin SImulator:
Maintain the resolver's status correctly, instead of the broken deferal to the host's NetNameResolver. This way the simulated image actually initializes itself.

SecurityPlugin simulator:
Answer true to ioCanRenameImage

by Eliot Miranda (eliot.miranda@gmail.com) at January 16, 2018 12:14 AM

January 14, 2018

source.squeak.org

ReleaseBuilder-eem.173

Allow the user to answer questions up front, hence allowing running the release process without user intervention,. This to debug the new bytecode set which looks to have a store check issue that is only seen long after the system is recompiied].

by Eliot Miranda (eliot.miranda@gmail.com) at January 14, 2018 05:41 PM

Kernel-eem.1146

Follow Clément's lead and redefine CompiledCode>>#= in terms of the subclass responsibility hasSameLiteralsAs: which avoids comparing the last literal in COmpiledBlock (the outerCode pointer) which neatly eliminates infinite recursion and considers iotherwise identical blocks embedded in different methiods as being equal.

by Eliot Miranda (eliot.miranda@gmail.com) at January 14, 2018 03:16 AM

January 13, 2018

squeaksource.com

fec-HenryHouse.4

GF equality for rsMode

by henry house (henry@callistohouse.club) at January 13, 2018 02:31 PM

January 12, 2018

source.squeak.org

System-akg.994

- Rename PrimitiveOSError class to PrimitiveError
- Rename #isPrimitiveOSError to #isPrimitiveError

PrimitiveError holds an errorName that indicates what type of error it is, e.g. an OS error, thus the class doesn't need the "OS" in the name.

by Alistair Grant (akgrant0710@gmail.com) at January 12, 2018 06:28 AM

January 11, 2018

source.squeak.org

VMMaker.oscog-eem.2314

Hack fix comment generation. The API for comments in TParseNode is broken because in some subclasses it is a sequence of Strings, and elsewhere is a single String.

Default to the StackToRegisterMappingCogit.

by Eliot Miranda (eliot.miranda@gmail.com) at January 11, 2018 10:05 PM

VMMaker.oscog-eem.2313

Cogit:
Fix bad bug in ceSend:above:to:numArgs: which was written to accept an association, not a class. The rewrite agrees with the interpreter's definition.

Fix bad bug in ceSend:super:to:numArgs: and ceSend:above:to:numArgs:. Can only patch a send site to an Open PIC if the send is a normal one. So don't patch in ceSend:above:to:numArgs:, and only if not a super send in ceSend:super:to:numArgs:.

Fix initializeBytecodeTable to default to V3PlusClosures+SistaV1 when MULTIPLEBYTECODESETS is true, again mirroring the interpreter.

Fix in-image compilation for full blocks. Needs CompiledBlock>>numCopiedValues from e.g. Kernel-eem.1143.

Nuke numCopiedTemps:, which is obsolete given full blocks.

by Eliot Miranda (eliot.miranda@gmail.com) at January 11, 2018 09:29 PM

squeaksource.com

VMConstruction-Plugins-AioPlugin-eem.20

Correct a slip in the last commit.

by Eliot Miranda (eliot.miranda@gmail.com) at January 11, 2018 09:22 PM

source.squeak.org

Kernel-eem.1143

CompiledBlock>>numCopiedValues has utility

by Eliot Miranda (eliot.miranda@gmail.com) at January 11, 2018 08:46 PM

squeaksource.com

VMConstruction-Plugins-AioPlugin-eem.19

Allow sessionIdentifierFromSqFile: to be inlined by implementing it as a macro (c.f. OSProcessPlugin).

by Eliot Miranda (eliot.miranda@gmail.com) at January 11, 2018 08:24 PM

source.squeak.org

Kernel-eem.1142

Provide the full properties and pragmas protocol in CompiledBlock, deferring to outer method. (It would be nice to prune this at some stage).

by Eliot Miranda (eliot.miranda@gmail.com) at January 11, 2018 06:48 PM

BytecodeSets.spur-eem.77

Remove SistaV1 category (its now empty here). Better temp names in printing method. Fix typo.

by Eliot Miranda (eliot.miranda@gmail.com) at January 11, 2018 06:04 PM

BytecodeSets.spur-eem.76

Save BytecodeeSets now that both Pharo and Squeak have the SistaV1 bytecode set in the base.

by Eliot Miranda (eliot.miranda@gmail.com) at January 11, 2018 05:43 PM

Compiler-eem.372

Move BlockLocalTempCounter to Kernel. It is used to implement BlockClosure>>numTemps, which is used more broadly than simply the decompiler and debugger.

by Eliot Miranda (eliot.miranda@gmail.com) at January 11, 2018 05:30 PM

Tests-eem.392

Update some tests to suit the recent full blocks changes.

by Eliot Miranda (eliot.miranda@gmail.com) at January 11, 2018 05:29 PM

Kernel-eem.1141

Move BlockLocalTempCounter to Kernel. It is used to implement BlockClosure>>numTemps, which is used more broadly than simply the decompiler and debugger.

by Eliot Miranda (eliot.miranda@gmail.com) at January 11, 2018 05:23 PM

Tools-eem.790

Add source range support for full blocks by adding DebuggerMethodMapForFullBlockCompiledMethods. Shift to using startKeys instead of merely startPcs.

Interface with the debuggerMap via rangeForPC:in:contextIsActiveContext: rather than rangeForPC:contextIsActiveContext: so that if a full block is in use the debuggerMap has the method in hand to choose the right source range map.

by Eliot Miranda (eliot.miranda@gmail.com) at January 11, 2018 05:10 PM

Compiler-eem.371

Implement source mapping for full blocks; to this end:
Have the pc in a node belonging to a full block be an association from the block method to the pc within it. Add a blockMethod inst var to BytecodeEncoder to hold the currently generated block method and have nodes access their pc via BytecodeEncoder>>pc & nextPC.

Introduce startKeys instead of startPcs, to generalize to full blocks and embedded blocks.
Refactor full block method generation a little to avoid unnecessary non-self sends.
Have LiteralNode print a block, not storeString it, for readability.

by Eliot Miranda (eliot.miranda@gmail.com) at January 11, 2018 05:08 PM

Tools-eem.789

Move CompiledMethod>>startpcsToBlockExtents and its support machinery to Compiler; it is used both by the Decompiler and the Debugger and so belongs in Compiler, not in Tools.

by Eliot Miranda (eliot.miranda@gmail.com) at January 11, 2018 04:46 PM

Kernel-eem.1140

Move CompiledMethod>>startpcsToBlockExtents and its support machinery to Compiler; it is used both by the Decompiler and the Debugger and so belongs in Compiler, not in Tools.

by Eliot Miranda (eliot.miranda@gmail.com) at January 11, 2018 04:44 PM

Compiler-eem.370

Move CompiledMethod>>startpcsToBlockExtents and its support machinery to Compiler; it is used both by the Decompiler and the Debugger and so belongs in Compiler, not in Tools.

by Eliot Miranda (eliot.miranda@gmail.com) at January 11, 2018 04:41 PM

VMMaker.oscog-eem.2312

Fix two places where cloning forgets to set the immutability bit if the input has it set (shallowCopy should /not/ copy across the immutability bit, but become: and pin: should).

Comment a possibility for concision in the plugin security function declarations. Opinions?

by Eliot Miranda (eliot.miranda@gmail.com) at January 11, 2018 08:11 AM

squeaksource.com

CommandShell-dtl.88

CommandShell 4.6.21
If available, use UserInterfaceTheme for setting window colors rather than prior deprecated method. Fix window color for CrLfFileEditor, which was incorrectly being set to the color for CommandShell.Maintain backward compatibility for Squeak. Colors are not set for Pharo.

by Dave Lewis (lewis@mail.msen.com) at January 11, 2018 01:54 AM

CommandShell-Commands-dtl.20

CommandShell 4.6.21
If available, use UserInterfaceTheme for setting window colors rather than prior deprecated method. Fix window color for CrLfFileEditor, which was incorrectly being set to the color for CommandShell.Maintain backward compatibility for Squeak. Colors are not set for Pharo.

by Dave Lewis (lewis@mail.msen.com) at January 11, 2018 01:53 AM

CommandShell-Base-dtl.54

CommandShell 4.6.21
If available, use UserInterfaceTheme for setting window colors rather than prior deprecated method. Fix window color for CrLfFileEditor, which was incorrectly being set to the color for CommandShell.Maintain backward compatibility for Squeak. Colors are not set for Pharo.

by Dave Lewis (lewis@mail.msen.com) at January 11, 2018 01:53 AM

source.squeak.org

Kernel-eem.1139

Add CompiledBlock>>pragmaAt:. Make the accessors that defer to the home mehtod use homeMehtod instaed of chaining through outerCode. The stack depth is one less as a result.

by Eliot Miranda (eliot.miranda@gmail.com) at January 11, 2018 01:37 AM

January 07, 2018

squeaksource.com

Compiler.V3-dtl.341

Also remove V3 versions of generateMethodOfClass:trailer:from: to use the new implemenation in BytecodeEncoder throughout.

Name: Compiler-eem.341
Author: eem
Time: 5 April 2017, 8:21:57.818217 pm
UUID: cffd92b7-b368-49ea-9ddd-2f01e7552079
Ancestors: Compiler-eem.340

Add the refactored encoder-specific method generator. This one moves generation from MethodNode to BytecodeEncoder and subclasses, and hence allows easier bytecode set selection, or at least far more sends to self than to encoder. Add the MethodNode>>primitive accessor it requires.

by Dave Lewis (lewis@mail.msen.com) at January 07, 2018 01:02 AM

Compiler.V3-dtl.340

No change for V3.

Name: Compiler-eem.340
Author: eem
Time: 3 April 2017, 5:00:32.319924 pm
UUID: 76902ca3-f64d-427a-af3d-466a103a3ce3
Ancestors: Compiler-eem.339

Use the encoder-specifc limit for maxNumLiterals.

by Dave Lewis (lewis@mail.msen.com) at January 07, 2018 12:34 AM

Kernel.V3-dtl.1085

Name: Kernel-eem.1085
Author: eem
Time: 3 April 2017, 4:53:09.025064 pm
UUID: 0ed0802d-4a76-4345-a33a-ff400094a7d9
Ancestors: Kernel-eem.1084

Get the fix for the EToys ScriptEncoder right.

by Dave Lewis (lewis@mail.msen.com) at January 07, 2018 12:27 AM

Compiler.V3-dtl.339

Note: For V3 do not apply change to BytecodeEncoder>>computeMethodHeaderForNumArgs:numTemps:numLits:primitive:

Name: Compiler-eem.339
Author: eem
Time: 3 April 2017, 4:41:32.232382 pm
UUID: fc3a8d3e-45e0-4d89-adde-ae01ce361263
Ancestors: Compiler-eem.338

Have the Parser obey the bytecode set preference in CompiledCode preferredBytecodeSetEncoderClass. Fix a restriction in BytecodeEncoder>>computeMethodHeaderForNumArgs:numTemps:numLits:primitive: that caused EToys to have to implement an unnecessary override.
Fix the literal limit in that same method. The max number of literals is 32767 now that we reserve bit 15 for the "do not jit-compile with counters' bit in Sista VMs.

by Dave Lewis (lewis@mail.msen.com) at January 07, 2018 12:24 AM

January 06, 2018

squeaksource.com

Kernel.V3-dtl.1084

Name: Kernel-eem.1084
Author: eem
Time: 3 April 2017, 4:45:38.181168 pm
UUID: 131f851c-368d-42aa-b28b-5a07ae8cb7f6
Ancestors: Kernel-eem.1083

Oops, the changes reported in Compiler-eem.339 are here, to whit:

Fix a restriction in BytecodeEncoder>>computeMethodHeaderForNumArgs:numTemps:numLits:primitive: that caused EToys to have to implement an unnecessary override.
Fix the literal limit in that same method. The max number of literals is 32767 now that we reserve bit 15 for the "do not jit-compile with counters' bit in Sista VMs.

by Dave Lewis (lewis@mail.msen.com) at January 06, 2018 11:46 PM

Kernel.V3-dtl.1083

Name: Kernel-eem.1083
Author: eem
Time: 3 April 2017, 4:27:59.818532 pm
UUID: 68311a56-626f-485c-a805-9922c04ed7e4
Ancestors: Kernel-eem.1082

Add a class variable for setting and holding the preferred bytecode set to use, along with a preference that uses the new code in PreferenceBrowser-eem.80.

by Dave Lewis (lewis@mail.msen.com) at January 06, 2018 11:41 PM

Collections.V3-dtl.745

Name: Kernel-eem.1083
Author: eem
Time: 3 April 2017, 4:27:59.818532 pm
UUID: 68311a56-626f-485c-a805-9922c04ed7e4
Ancestors: Kernel-eem.1082

Add a class variable for setting and holding the preferred bytecode set to use, along with a preference that uses the new code in PreferenceBrowser-eem.80.

by Dave Lewis (lewis@mail.msen.com) at January 06, 2018 11:39 PM

source.squeak.org

Tools-eem.788

Add some more canonicalArgumentName implementations for well-known Collection subclasses.

by Eliot Miranda (eliot.miranda@gmail.com) at January 06, 2018 11:37 PM

squeaksource.com

Collections.V3-dtl.744

Name: Collections-eem.744
Author: eem
Time: 3 April 2017, 4:06:10.757097 pm
UUID: a4dd8fb1-e4df-4031-b093-12296c5862f8
Ancestors: Collections-eem.743

Regularize literal printing for the Collection literal classes (which include Character). Replace the idiosyncratic forms storeAsLiteralByteArrayOn: and printAsLiteralFormOn: with printAsLiteralOn:.

Assums Kernel-eem.1082 or later.

by Dave Lewis (lewis@mail.msen.com) at January 06, 2018 11:33 PM

Compiler.V3-dtl.338

Name: Compiler-eem.338
Author: eem
Time: 3 April 2017, 4:08:55.888174 pm
UUID: 8d9fa12c-80e0-4ba8-8101-8ead7d8425eb
Ancestors: Compiler-eem.337

Use the newly regularized literal printing in Collections-eem.744 and Kernel-eem.1082 to ensure that literal characters and arrays are printed as such when pretty-rpinting and/or decompiling.

by Dave Lewis (lewis@mail.msen.com) at January 06, 2018 11:28 PM

Compiler.V3-dtl.337

Name: Compiler-eem.337
Author: eem
Time: 3 April 2017, 2:06:32.26662 pm
UUID: 85f04687-1157-4f7a-9a4c-c02c733b638e
Ancestors: Compiler-eem.336

Eliminate the support for blue book block decompilastion and collapse DecompilerConstructorForClosures into DecompilerConstructor.

Refactor MethodNode>>preen to also check for temps declared in blocks that conflict with method-level temps. On decompilation this is a sign that the method level temps were delcraed in sme optimized block and the preen pass finds out where to push the method level temps down to.

by Dave Lewis (lewis@mail.msen.com) at January 06, 2018 11:27 PM

source.squeak.org

Kernel-eem.1134

More FullBlockClosure support.

by Eliot Miranda (eliot.miranda@gmail.com) at January 06, 2018 11:24 PM

squeaksource.com

Kernel.V3-dtl.1082

Name: Kernel-eem.1082
Author: eem
Time: 3 April 2017, 4:04:21.670959 pm
UUID: 1438cc9f-a090-4294-9b73-bd409d2877a2
Ancestors: Kernel-eem.1081

Regularize literal printing for the Kernel literal classes.

by Dave Lewis (lewis@mail.msen.com) at January 06, 2018 11:18 PM

Kernel.V3-dtl.1081

Manual cleanup of discrepancies between V3 and trunk, followed by application of the postscript from Kernel-eem.1081 to move MethodContext binding to Undeclared.

Clean up references to CompiledMethod throughout, and remove classes ContextPart and BlockContext.
Update ClassBuilder>>tooDangerousClasses

Name: Kernel-eem.1081
Author: eem
Time: 31 March 2017, 9:31:25.428558 am
UUID: ef0a2820-8b5e-4e17-847f-6a802a426afd
Ancestors: Kernel-eem.1080

Move MethodContext's binding to Undeclared.

by Dave Lewis (lewis@mail.msen.com) at January 06, 2018 11:16 PM

source.squeak.org

Compiler-eem.369

reindexingLiteralsDo: acually needs to reset the lliteral nodes, not merely reset them, doh!
Fix a bad slip in the code to size a full block. Juyst because it ends with a returnNilToCaller doesn;t mean we shouldn't generate the other nodes in the block, doh!

by Eliot Miranda (eliot.miranda@gmail.com) at January 06, 2018 09:28 PM

squeaksource.com

Kernel.V3-dtl.1080

Name: Kernel-eem.1080
Author: eem
Time: 30 March 2017, 6:04:09.745358 pm
UUID: b3cbc78a-e6de-4624-ae85-181a64e89c05
Ancestors: Kernel-eem.1079

Replace mention of MethodContext with Context in class comments as appropriate.

by Dave Lewis (lewis@mail.msen.com) at January 06, 2018 09:18 PM

Kernel.V3-dtl.1079

Notes:
Do not remove allSuperClassesDo: because still referenced.
Omit changes for Behavior methods to retain the V3 versions.
Omit change to ClassBuilder>>format:variable:words:pointers:weak: to retain V3 version

Name: Kernel-eem.1079
Author: eem
Time: 30 March 2017, 5:12:50.577477 pm
UUID: 2c378b83-0ed9-4add-8a90-5169c20dd173
Ancestors: Kernel-eem.1078

Replace mention of MethodContext with Context in comments as appropriate.

Make isMethodContext accurate.
Nuke the bootstrapContext script now it's done its job.
Nuke the left-over UndefinedObject>>allSuperclassesDo: which clearly does /not/ need to be implemented :-)

by Dave Lewis (lewis@mail.msen.com) at January 06, 2018 09:14 PM

source.squeak.org

Compiler-eem.368

Better separate SelectorNode and SpecialSelectorNode to avoid SopecialSelectorNode deferring to SelectorNode on super sends. Hence reduce use of the obsolete code variable, makimng SelectorNode>>reserve: more straight-forward and unused in SpecialSelectorNode.

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

squeaksource.com

Continuation-ziro.1

init

by Alan Pinch (alan.c.pinch@gmail.com) at January 06, 2018 09:00 PM

eLinda-HenryHouse.16

split eventual

by henry house (henry@callistohouse.club) at January 06, 2018 08:57 PM

fec-HenryHouse.3

testing

by henry house (henry@callistohouse.club) at January 06, 2018 04:10 PM

Raven-HenryHouse.20

reorg

by henry house (henry@callistohouse.club) at January 06, 2018 04:07 PM

source.squeak.org

Compiler-eem.367

Uh, no. reindexingLiteralsDo: does have to deal with the selectorSet specially.

by Eliot Miranda (eliot.miranda@gmail.com) at January 06, 2018 05:27 AM

Compiler-eem.366

reindexingLiteralsDo: doesn't need to key by the same keys used in the literal sets; they can simply use the nodes themselves. This fixes the ambiguity between symbols used as selectors and symbols used as literal symbols, and fixes the missing literal problem addressed by Compiler-eem.365.

by Eliot Miranda (eliot.miranda@gmail.com) at January 06, 2018 05:08 AM

Compiler-eem.365

Make reindexingLiteralsDo: more robust when literals get added during blocks and hence weren't saved before the block was generated.

by Eliot Miranda (eliot.miranda@gmail.com) at January 06, 2018 04:21 AM

ReleaseBuilder-eem.172

Allow the ReleaseBuilder to query if the SistaV1 bytecode set should be the default in a new release.

by Eliot Miranda (eliot.miranda@gmail.com) at January 06, 2018 03:20 AM

Tools-eem.787

My favourite Group C car ever. Fix browseLocalSenders for the class-side.

by Eliot Miranda (eliot.miranda@gmail.com) at January 06, 2018 03:15 AM

Compiler-eem.364

Fix reindexingLiteralsDo: to also reset the nodes in the selectorSet. And simplify.

by Eliot Miranda (eliot.miranda@gmail.com) at January 06, 2018 03:03 AM

VMMaker.oscog-eem.2310

Simulation:
Fix charsOf: so that longPrintOop:/shortPrint: prints the full 8-bit character range, not the 7 bit character range.
Provide accessors for breakCount and nuke the unused (and composable runWithBreakCount:).
Make sure trhat click step in the StackInterpreter updates the bytecCount display.

by Eliot Miranda (eliot.miranda@gmail.com) at January 06, 2018 02:52 AM

January 05, 2018

source.squeak.org

Compiler-eem.363

Use the blockReturnNilToCaller bytecode in full blocks. Add a postscript to remove empty categories in ParseNode and subclasses (to get rid of the obsolte and empty code generation (closures) protocols).

by Eliot Miranda (eliot.miranda@gmail.com) at January 05, 2018 08:23 PM

Compiler-eem.362

Implement super sends in full blocks. Since CompiledBlock uses the last literal to refer to the outer CompiledCode, it can't hold the class association used in conventional super sends. Hence within a block a super send must use the directed super send form.

by Eliot Miranda (eliot.miranda@gmail.com) at January 05, 2018 06:30 PM

ReleaseBuilder-mt.171

Adds recent text-drag preference to release builder.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at January 05, 2018 02:25 PM

VMMaker.oscog-eem.2309

Tweak the recent inlining commenting change; don't bother to comment if what's being inlined is a named constant.

by Eliot Miranda (eliot.miranda@gmail.com) at January 05, 2018 08:29 AM

VMMaker.oscog-eem.2307

Refactor preDeclareInterpreterProxyOn: to extract collecting the InterpreterProxy interface to its own method to simplify consistency checking. To make the checking more correct use a concrete Sour class for the referenceObjectMemoryClass.

Fix several InterpreterProxy interface methods that don't specify a return type.

by Eliot Miranda (eliot.miranda@gmail.com) at January 05, 2018 08:07 AM

December 31, 2017

source.squeak.org

VMMaker.oscog-eem.2303

Simulation/Translation tweaks. Mark some simulation-only InterpreterPlugin methods as doNotGenerate. Slow down the simulated clock on the StackInterpreter (so that in simulation fewer tests time out). Provide an optional simulation-only primTraceLog for the StackInterpreter (which was used to debug the new 64-bit at:[put:] support).

by Eliot Miranda (eliot.miranda@gmail.com) at December 31, 2017 12:43 AM