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 15, 2020

source.squeak.org

System-dtl.1171

Fix Etoys project loading. Update ImageSegment>>reshapeClasses:refStream: to accomodate the elementsForwardIdentityTo: changes from Collections-eem.885.

Also update other methods in ImageSegment and NativeImageSegment similarly on the (untested) assumption that the behavior should remain consistent for image segments. Note that Binding class>>convertInstances in package Environments may require similar attention.

by David T. Lewis (lewis@mail.msen.com) at September 15, 2020 03:52 PM

System-dtl.1172

Fix Etoys project loading. Update ImageSegment>>reshapeClasses:refStream: to accomodate the elementsForwardIdentityTo: changes from Collections-eem.885.

Also update other methods in ImageSegment and NativeImageSegment similarly on the (untested) assumption that the behavior should remain consistent for image segments. Note that Binding class>>convertInstances in package Environments may require similar attention.

Replaces System-dtl.1171 from inbox (moved to treated)

by David T. Lewis (lewis@mail.msen.com) at September 15, 2020 03:51 PM

System-mt.1170

Remove obsolete entries for Startup- and Shutdown-List from the global initialization code.
I think this is dead code. However, this here gave me a pointer: http://forum.world.st/SmalltalkImage-ShutdownList-oddity-td5121890.html

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at September 15, 2020 02:13 PM

ConfigurationOfFFI-mt.43

Adds version 2.0 to make FFI loadable through this configuration in Squeak 6.0alpha.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at September 15, 2020 01:19 PM

squeaksource.com

ConfigurationOfFFI-mt.43

Adds version 2.0 to make FFI loadable through this configuration in Squeak 6.0alpha.

by Marcel Taeumel (marcel.taeumel@hpi.de) at September 15, 2020 12:20 PM

ConfigurationOfConnectors-mt.6

Adds 1.0.3 explicitely for 6.0alpha. (Note that Metacello needs to be informed that latest Squeak 5 is 5.3, not 5.1)

September 15, 2020 08:42 AM

ConfigurationOfConnectors-mt.5

Adds 1.0.3 for Squeak 5.2 and above.

September 15, 2020 08:21 AM

source.squeak.org

Kernel-kfr.1339

Fix a deprecation warning

September 15, 2020 05:48 AM

Cog-eem.409

Make MIPSEL simulate a bit more (the things we do when trying to avoid hard work...)

by Eliot Miranda (eliot.miranda@gmail.com) at September 15, 2020 12:11 AM

September 14, 2020

source.squeak.org

Collections-eem.911

Correct the redirect logc so that it is the Transcript, and not any old TranscriptStream, that gets redirected to stdout when the redirectToStdOut preference is set Fix a regression in the redefinition of endEntry (forgot to send reset).

by Eliot Miranda (eliot.miranda@gmail.com) at September 14, 2020 06:03 PM

Collections-eem.910

Travelling on the one after 909, fix a slip in that last fix.

by Eliot Miranda (eliot.miranda@gmail.com) at September 14, 2020 05:50 PM

Collections-eem.909

Make TranscriptStream's access protect an inst var and a Mutex.

by Eliot Miranda (eliot.miranda@gmail.com) at September 14, 2020 05:40 PM

Collections-mt.908

Fixes some error messages regarding #become(Forward):.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at September 14, 2020 04:27 PM

squeaksource.com

Actors-tonyg.111

Clean up ActorBehavior spawn interface

September 14, 2020 10:00 AM

source.squeak.org

Cog-eem.408

Fix a typo.
Make MIPS[EL]Simulator simulate a bit...

by Eliot Miranda (eliot.miranda@gmail.com) at September 14, 2020 02:41 AM

squeaksource.com

ClosedVMMaker-eem.99

Fix a typo

by Eliot Miranda (eliot.miranda@gmail.com) at September 14, 2020 01:40 AM

September 13, 2020

source.squeak.org

VMMaker.oscog-eem.2806

Fix slip in primitiveGSMNewState

by Eliot Miranda (eliot.miranda@gmail.com) at September 13, 2020 10:37 PM

September 12, 2020

source.squeak.org

VMMaker.oscog-eem.2805

Plugins: Add isWordsOrShorts: for faster sound primitive marshalling. Squeak currently uses a hacked 32-bit WordArray to hold 16-bit signed sound samples. But Spur supports native 16-bit arrays. Soi using isWordasOrShorts: keeps backwards compatibility while allowing us to migrate to 16-bit native sound buffers when we choose. Use WordsOrShorts in the relevant SoundPlugin & SoundCodecPlugin primitives.

Slang: include InterpreterProxy's typed methods in VMPluginCodeGenerator's kernelReturnTypes for improved type inferrence. Fix a slip in inferTypesForImplicitlyTypedVariablesIn:. We should only avoid typing variables assigned a null type if that null type came from a send (and we must do so because types are assigned to methods until we reach a fixed point).

Fix a typo.

by Eliot Miranda (eliot.miranda@gmail.com) at September 12, 2020 08:39 PM

System-dtl.1170

End of the #World as we know it. Package postscript only. About two years ago we eliminated all dependencies on global World. However, the global binding has remained functional on the theory that some external packages might still expect it.

It is time to get rid of the binding now because:
- It gives the false impressing that the World is still in use as a global
- If a package is loaded that does need World, then "Smalltalk at: #World put: Project current world" will restore prior behavior.

September 12, 2020 06:52 PM

September 05, 2020

squeaksource.com

JSON-ul.55

- fix #unescapeUnicode when the encoded character value is outside of BMP (reported by Christoph Thiede on squeak-dev)
- #unescapeUnicode won't accept invalid unicode surrogate values any more
- added a test case to cover the positive case of #unescapeUnicode
- fixed Json class >> #mimeType

by Levente Uzonyi (leves@elte.hu) at September 05, 2020 11:05 PM

source.squeak.org

Chronology-Core-dtl.56

Adopt simplifications from Cuis. Remove ChronologyConstants. Retain jmv author initials where possible. The shared pool is not required, it is simpler to use methods in the responsible classes.

by David T. Lewis (lewis@mail.msen.com) at September 05, 2020 05:35 PM

Chronology-Core-dtl.58

Adopt simplifications from Cuis. Remove ChronologyConstants. Retain jmv author initials where possible. The shared pool is not required, it is simpler to use methods in the responsible classes.

For Squeak, OneDay is now a class variable in order to continue to allow Date instances to share a Duration. Cuis creates a new Duration for each Date.

September 05, 2020 05:35 PM

Chronology-Core-dtl.57

Clean up a leftover FIXME in DateAndTime>>asTimeStamp

by David T. Lewis (lewis@mail.msen.com) at September 05, 2020 03:37 PM

September 04, 2020

source.squeak.org

ST80-ct.258

Fixes home and end keys in MVC editors if the text is empty

by Christoph Thiede (Christoph.Thiede@student.hpi.uni-potsdam.de) at September 04, 2020 11:20 PM

Kernel-ct.1339

Implement missing simulation of objects as methods.

In the past, it was not possible to debug/simulate code that used objects as methods properly. (Thanks to Marcel for the hint!) This very simple commit adds support of the OaM protocol [1] to the simulation machinery. Now you can debug all tests in TestObjectsAsMethods as you would expect, instead of crashing your image!

Update: Uploaded again, this time with additional documentation comment, reformatted code, and multilingual support/fix of typös. Replaces Kernel-ct.1306, which can be moved to the treated inbox.

[1] "The [Objects as Methods] contract is that, when the VM encounters an ordinary object (rather than a compiled method) in the method dictionary during lookup, it sends it the special selector #run:with:in: providing the original selector, arguments, and receiver.". DOI: 10.1145/2991041.2991062.

September 04, 2020 07:09 PM

Morphic-ct.1680

Fixes a bug in PluggableButtonMorph when passing nil as a label

Instead of an empty string, 'nil' asText was diplayed. See also PluggableButtonMorph >> #label.

by Christoph Thiede (Christoph.Thiede@student.hpi.uni-potsdam.de) at September 04, 2020 06:48 PM

squeaksource.com

CSV-edc.15

Added examples for toying with CSV

September 04, 2020 09:52 AM

September 03, 2020

squeaksource.com

Actors-tonyg.110

Better during:monitor: linkage.

September 03, 2020 08:53 PM

Actors-tonyg.109

Move to patch-based assertion changes

September 03, 2020 01:53 PM

source.squeak.org

Tools-fbs.488

An initial stab at reimplementing ArchiveViewer's UI using ToolBuilder. It should all just work, but the lack of lining data up in columns is a serious UI concern.

The existing UI uses a monospaced font and spaces to achieve this. ToolBuilder doesn't allow for the setting of fonts (as far as I can tell). And really, what we want it a PluggableTableSpec.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at September 03, 2020 01:00 PM

Tools-nice.725

Recognize Cuis #classDefinition: when scanning a cuis change file.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at September 03, 2020 01:00 PM

Tools-kfr.930

Form preview was displaying wrong colors. Convert preview form to screen depth to make colors display correctly

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at September 03, 2020 01:00 PM

Tools-jr.929

Show browsed environment in Browser title if it is not the default environment.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at September 03, 2020 01:00 PM

Tools-jr.930

Speed up removing of messages from MessageTrace.

In an existing MessageTrace, try "senders of at:put:", then remove them again with "remove from this browser (d)". Took several seconds before, finishes in an instant now.

Replaces autoSelectStrings and messageSelections with new OrderedCollections. The other method deleteFromMessageList: removes one element from the existing collections instead.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at September 03, 2020 12:59 PM

Tools-ct.941

Fixes a small bug when reusing a MessageNames window.

To reproduce:

Preferences setFlag: #(SystemWindow >> reuseWindows) join asSymbol toValue: true during: [
ToolSet
browseMessageNames: 'someFictiveMessageName';
browseMessageNames: 'someOtherFictiveMessageName'].

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at September 03, 2020 12:59 PM

Tools-ct.945

Fixes a bug/unnecessary limitation in VersionsBrowser class >> #browseMethod: that raised an error when browsing a method that had been removed from the system.

You can also reproduce it via: thisContext method browse "on a fresh image".

This commit replaces Tools-ct.944, which has been refactored again to reuse the return carat according to Kent Beck ("Format conditionals so their value is used where it clearly expresses the intent of the method"). Thanks to Chris for the reminder!

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at September 03, 2020 12:59 PM

Tools-ct.952

Fixes an invalidation bug in the debugger's stack list display optimization

For the full bug report, see http://forum.world.st/BUG-in-Debugger-gt-gt-newStack-optimization-td5112726.html. Please review!

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at September 03, 2020 12:59 PM

Tools-ct.963

Fixes a bug in FileList2 >> #endingSpecs, caused by introduction of read-only literals (see Kernel-eem.1318). Fixes MorphicUIManagerTest >> #testShowAllBinParts. Also contains some refactoring of related stuff.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at September 03, 2020 12:59 PM

Tools-ct.985

Fix selection updates in ChangeList by sending missing observer updates.

Same reason as ToolBuilder-Morphic-ct.253. I also re-checked all other senders of #setSelectionList: in the Trunk image and did not found any further invalidation problems.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at September 03, 2020 12:58 PM

Tools-ct.987

Fixes several issues with accepting source in debuggers. Applies overall refactoring to Debugger>>#contents:notifying:.

With this version, two concrete regressions are fixed that were introduced with the SistaV1 bytecode set (see [1]):
- When compiling a method from a block context and answering subsequent parser notifications, make sure the source code is not lost. A variant of this issue was filed by Eliot (emm) in [2].
- When removing a method from a block context, make sure the stack is unwinded correctly.

Further adjustments:
- Don't restart the current context if a different selector is changed.
- Update contentsSelection correctly without morphic hack. Works now in MVC, again.

[1] http://forum.world.st/The-Inbox-Kernel-dtl-1310-mcz-td5113032.html
[2] http://forum.world.st/tedious-programming-in-the-debugger-error-needs-fixing-td5109568.html

by Christoph Thiede (Christoph.Thiede@student.hpi.uni-potsdam.de) at September 03, 2020 12:45 PM

Morphic-mt.1679

Merge commits.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at September 03, 2020 11:31 AM

Morphic-ct.1677

Nuke backward compatibility for Squeak 2.x menus. This should really not be relevant any longer I think. ;-)

Also minor refactoring to MenuItemMorph >> #invokeWithEvent:.

by Fabio Niephaus (code@fniephaus.com) at September 03, 2020 11:27 AM

August 24, 2020

source.squeak.org

SUnit-pre.122

Recateogrizes assertions and timeout infrastructure from the "accessing" category to their own method categories.

by Patrick Rein (patrick.rein@gmail.com) at August 24, 2020 01:13 PM

GraphicsTests-pre.55

Recategorizes methods throughout the package and improves two test cases which did only state the assertion in a comment.

by Patrick Rein (patrick.rein@gmail.com) at August 24, 2020 01:04 PM

Graphics-pre.437

Recategorizes a number of methods throughout the package to make categories more consistent.

by Patrick Rein (patrick.rein@gmail.com) at August 24, 2020 01:00 PM

Graphics-ct.437

Proposal: Add Point >> #exactCenter:, complementing Graphics-cbc.372. Refine relevant method comments in Point and Rectangle.

Usage example:

m := Morph new.
m changeProportionalLayout.

n := Morph new.
n color: Color red.
m addMorph: n fullFrame: (LayoutFrame fractions: (
0.5 @ 0.25 exactCenter: 0.5 @ 0.5)).

m openInHand.

by Christoph Thiede (Christoph.Thiede@student.hpi.uni-potsdam.de) at August 24, 2020 11:26 AM

August 23, 2020

squeaksource.com

Kernel.V3-dtl.1335

Name: Kernel-eem.1335
Author: eem
Time: 21 July 2020, 12:33:42.401688 pm
UUID: 829e7c17-0cb2-4269-a6ca-d85bef9ecc2a
Ancestors: Kernel-mt.1334

Support for FloatArray; add 64-bit duals of the 32-bit float converters, so along side Float>>asIEEE32BitWord & Float class>>fromIEEE32Bit: we have Float>>asIEEE64BitWord & Float class>>fromIEEE64Bit:.

by Dave Lewis (lewis@mail.msen.com) at August 23, 2020 05:46 PM

System.V3-dtl.1167

Name: System-mt.1167
Author: mt
Time: 21 July 2020, 9:04:24.515795 am
UUID: 962f538f-4a49-4832-8488-4337395436fc
Ancestors: System-mt.1166

In code holders, avoid label contraction in dialogs' buttons that pop up when having to choose a symbol for browsing senders/implementors.

by Dave Lewis (lewis@mail.msen.com) at August 23, 2020 05:39 PM

Collections.V3-dtl.902

Name: Collections-ul.902
Author: ul
Time: 12 July 2020, 4:13:31.850218 pm
UUID: 75865200-256c-40b8-9303-ec9a473c16cf
Ancestors: Collections-ul.901

OrderedCollection changes:

- override #allButFirstDo: and #allButLastDo: the same way #do: is done to achive better performance
- use #to:do: instead of #whileTrue: in all methods iterating over the internal indices

by Dave Lewis (lewis@mail.msen.com) at August 23, 2020 05:19 PM

Collections.V3-dtl.901

Name: Collections-ul.901
Author: ul
Time: 29 June 2020, 2:08:55.776619 am
UUID: 8df577a2-3856-4432-b54c-25c93831b5a8
Ancestors: Collections-ul.900

Fix regression in ReadStream >> #match:. When the subCollection is not present in the receiver, the stream's position must be set to the end to match the original behavior.

by Dave Lewis (lewis@mail.msen.com) at August 23, 2020 05:17 PM

Collections.V3-dtl.900

Name: Collections-ul.900
Author: ul
Time: 23 June 2020, 10:48:18.28482 pm
UUID: ff11e218-b6f4-44db-bd02-2e2284158946
Ancestors: Collections-mt.898

- enable the use of primitive 158 in String >> #compareWith:collated: because when collation is specified, the VM does not use the jitted version
- fix: String >> #compare:caseSensitive: needs to transform the return value of String >> #compareWith:collated:
- speed up ReadStream >> #match: when the receiver's class is ReadStream

by Dave Lewis (lewis@mail.msen.com) at August 23, 2020 05:14 PM

Kernel.V3-dtl.1334

Name: Kernel-mt.1334
Author: mt
Time: 15 July 2020, 11:29:30.243718 am
UUID: 15f827c9-c26e-46bf-a2e7-cddea3a22ee2
Ancestors: Kernel-mt.1333

Re-install interrupt watcher because semaphore changed in Kernel-mt.1333 from classVar to instVar.

by Dave Lewis (lewis@mail.msen.com) at August 23, 2020 05:06 PM

Kernel.V3-dtl.1333

Also load CompiledMethod>>hasPragma: which was accidentally omitted in an earler update.

Name: Kernel-mt.1333
Author: mt
Time: 15 July 2020, 11:22:34.685718 am
UUID: 4e50519a-d1e3-4a74-85cc-3c02660d650f
Ancestors: Kernel-nice.1332

Clean up code for non-event-based input processing, primarily used in ST80.

Moves some methods to ST80 package. Needs more work to remove all sends from Morphic such as #shiftPressed etc.

Also rely on in-image interrupt-key handling only. Recent VMs do not fire the old-style interrupt semaphore anymore. See #userInterruptWatcher.

by Dave Lewis (lewis@mail.msen.com) at August 23, 2020 05:03 PM

System.V3-dtl.1166

Name: System-mt.1166
Author: mt
Time: 29 June 2020, 9:01:56.145853 am
UUID: 6ec090d8-b6b4-0442-b6d9-ad7cb1e05983
Ancestors: System-dtl.1165

Adds Tim Johnson (tcj) to the in-image list of contributors.

by Dave Lewis (lewis@mail.msen.com) at August 23, 2020 02:35 PM

System.V3-dtl.1165

Name: System-dtl.1165
Author: dtl
Time: 12 June 2020, 9:56:28.877275 pm
UUID: 939daf88-a16b-4749-b905-cbd7f529d0c3
Ancestors: System-dtl.1164

Fix a bug introduced in the last commit. If the readDocumentAtStartup preference is disabled, then adjust image argument list accordingly.

by Dave Lewis (lewis@mail.msen.com) at August 23, 2020 02:34 PM

System.V3-dtl.1164

Name: System-dtl.1164
Author: dtl
Time: 8 June 2020, 9:16:15.619687 pm
UUID: f4d402cd-389a-4600-abcb-6ba4486c07c4
Ancestors: System-mt.1163

Fix handling of the '--' command line token, and let command parameters be handled consistently by SmalltalkImage>>argumentAt:
Discussion at http://lists.squeakfoundation.org/pipermail/squeak-dev/2020-June/209945.html

by Dave Lewis (lewis@mail.msen.com) at August 23, 2020 02:33 PM

Collections.V3-dtl.898

Name: Collections-mt.898
Author: mt
Time: 16 June 2020, 8:55:38.416917 am
UUID: 89207449-befb-f84f-83a0-ff0d727d40bc
Ancestors: Collections-mt.896, Collections-ul.897

Merges ancestry.

Does somebody know where to find Collections-ul.896?

Name: Collections-ul.897
Author: ul
Time: 31 May 2020, 12:23:26.517191 am
UUID: 16d2c780-9e9c-4012-8149-fee4227d45bc
Ancestors: Collections-ul.896

WeakIdentityDictionary:
- made it work as other weak hashed collections:
- no modification during element lookup
- simpler code - same runtime complexity

Other:
- removed ByteArray >> #atAllPut: because it was same the as in its superclass

Name: Collections-ul.896
Author: ul
Time: 26 May 2020, 5:06:35.966934 am
UUID: 1eb414fc-31f2-4890-8a0e-2cfe892ef798
Ancestors: Collections-nice.895

- prepare to introduce primitive 158 for string comparison

by Dave Lewis (lewis@mail.msen.com) at August 23, 2020 01:36 PM

source.squeak.org

SUnitGUI-ct.81

Fix selection updates in TestRunner by sending missing observer updates.

Same reason as ToolBuilder-Morphic-ct.253.

by Eliot Miranda (eliot.miranda@gmail.com) at August 23, 2020 02:12 AM

Tools-ct.985

Fix selection updates in ChangeList by sending missing observer updates.

Same reason as ToolBuilder-Morphic-ct.253. I also re-checked all other senders of #setSelectionList: in the Trunk image and did not found any further invalidation problems.

by Eliot Miranda (eliot.miranda@gmail.com) at August 23, 2020 02:11 AM

Kernel-ct.1338

Break dependents when copying a model

For the full discussion, see this thread: http://forum.world.st/Bug-in-copy-td5120761.html

by Eliot Miranda (eliot.miranda@gmail.com) at August 23, 2020 02:10 AM

KernelTests-ct.385

Test copying of the dependents array

Complements Kernel-ct.1338. For more details, see http://forum.world.st/Bug-in-copy-td5120761.html.

by Eliot Miranda (eliot.miranda@gmail.com) at August 23, 2020 02:09 AM

August 22, 2020

source.squeak.org

KernelTests-ct.385

Test copying of the dependents array

Complements Kernel-ct.1338. For more details, see http://forum.world.st/Bug-in-copy-td5120761.html.

August 22, 2020 06:20 PM

Kernel-ct.1338

Break dependents when copying a model

For the full discussion, see this thread: http://forum.world.st/Bug-in-copy-td5120761.html

August 22, 2020 06:18 PM

Tools-ct.985

Fix selection updates in ChangeList by sending missing observer updates.

Same reason as ToolBuilder-Morphic-ct.253. I also re-checked all other senders of #setSelectionList: in the Trunk image and did not found any further invalidation problems.

August 22, 2020 06:05 PM

SUnitGUI-ct.81

Fix selection updates in TestRunner by sending missing observer updates.

Same reason as ToolBuilder-Morphic-ct.253.

August 22, 2020 06:03 PM

Morphic-ct.1677

Nuke backward compatibility for Squeak 2.x menus. This should really not be relevant any longer I think. ;-)

Also minor refactoring to MenuItemMorph >> #invokeWithEvent:.

August 22, 2020 05:34 PM

squeaksource.com

Kernel.V3-dtl.1332

Name: Kernel-nice.1332
Author: nice
Time: 25 June 2020, 1:40:53.258508 am
UUID: 1a712e0e-296b-394e-ad45-7374959e1d30
Ancestors: Kernel-tonyg.1331

Fix the bug found in Cuis by Luciano Notarfrancesco and resolved by Juan Vuletich

i:=0.
[a := (1 << 60) atRandom.
b := (a bitReverse: 64) bitReverse: 64.
a = b] whileTrue:[i:=i+1].
^i

Above loop should not stop.
But unnormalized Integer were sometimes returned,

by Dave Lewis (lewis@mail.msen.com) at August 22, 2020 05:21 PM

Compiler.V3-dtl.440

Name: Compiler-eem.440
Author: eem
Time: 1 July 2020, 10:05:10.178038 am
UUID: a39848b4-1bc8-4b31-93f8-e4f343d1400b
Ancestors: Compiler-mt.439

Improve slightly the EncoderForSistaV1 class comment specifying the SistaV1 bytecode set in the light of recent discussion.

by Dave Lewis (lewis@mail.msen.com) at August 22, 2020 05:18 PM

Compiler.V3-dtl.439

Name: Compiler-mt.439
Author: mt
Time: 15 June 2020, 7:14:22.86019 pm
UUID: fe605039-7601-ad4d-9a16-4d86b168d33e
Ancestors: Compiler-mt.438

Like in ShoutCore-mt.82, improve readability of code for dispatching to custom pragma parsers.

by Dave Lewis (lewis@mail.msen.com) at August 22, 2020 05:16 PM

Compiler.V3-dtl.438

Name: Compiler-mt.438
Author: mt
Time: 15 June 2020, 4:41:51.696209 pm
UUID: 40254d1d-a07c-c444-a87d-c1600f6e3f9d
Ancestors: Compiler-mt.437

Avoid breaking new hook for <pragmaParser> when subclassing Parser. That is, re-use all existing pragma parsers automatically in subclasses. Note that #methodDict was chosen over #lookupSelector: for performance reasons.

by Dave Lewis (lewis@mail.msen.com) at August 22, 2020 05:15 PM

Compiler.V3-dtl.437

Name: Compiler-mt.437
Author: mt
Time: 13 June 2020, 11:01:44.448351 am
UUID: ca2e1da8-da26-a840-ae3e-1822ce8ba67d
Ancestors: Compiler-mt.436

Speed-up method-based hook for custom pragma-parsing methods. Like in ShoutCore-mt.79

by Dave Lewis (lewis@mail.msen.com) at August 22, 2020 05:11 PM

Compiler.V3-dtl.436

Name: Compiler-mt.436
Author: mt
Time: 12 June 2020, 9:44:51.105703 am
UUID: 2f141bd8-8dd0-0d4a-a053-e9e006c7dde7
Ancestors: Compiler-mt.435

Adds a (extension) method-based hook to install custom pragma-parsing methods. Use it to move FFI-specific pragma-parsing, i.e. <apicall: ...> and <cdecl: ...>, into FFI packages.

Redirects parsing of <primitive: ...> to document the hook.

by Dave Lewis (lewis@mail.msen.com) at August 22, 2020 05:11 PM

Collections.V3-dtl.896

Name: Collections-mt.896
Author: mt
Time: 6 June 2020, 1:09:50.193722 pm
UUID: f5f12285-e0f4-754e-ae61-64cee815ebe0
Ancestors: Collections-nice.895

Moves FFI method to FFI-Kernel package since it is only sent from within that package.

by Dave Lewis (lewis@mail.msen.com) at August 22, 2020 04:43 PM

System.V3-dtl.1163

Name: System-mt.1163
Author: mt
Time: 7 June 2020, 1:22:23.857004 pm
UUID: 29897b05-acdf-b548-8eb3-40a93617ca9a
Ancestors: System-mt.1160

Fixes "color depth = 0" bug. See http://forum.world.st/Image-not-startable-after-save-td5117084.html.

by Dave Lewis (lewis@mail.msen.com) at August 22, 2020 04:37 PM

Kernel.V3-dtl.1331

Name: Kernel-tonyg.1331
Author: tonyg
Time: 4 June 2020, 7:51:24.268037 pm
UUID: b7790e35-7fff-4def-89ef-2a6f8534ca20
Ancestors: Kernel-tonyg.1330

More repairs to Promise to bring it closer to Promise/A+ behaviour.

by Dave Lewis (lewis@mail.msen.com) at August 22, 2020 04:10 PM

source.squeak.org

Graphics-kfr.434

I wanted to subclass Rectangle with a instance variable to carry some state, but these methodes indirected to Point>>corner: so it broke the override and returned a ordinary Rectangle instead of my fancy new subclass SuperRectangle

by Karl Ramberg (karlramberg@gmail.com) at August 22, 2020 09:50 AM

Graphics-kfr.435

I wanted to subclass Rectangle with a instance variable to carry some state, but these methodes indirected to Point>>corner: so it broke the override and returned a ordinary Rectangle instead of my fancy new subclass SuperRectangle

Updated to use #first to get the first element and #allButFirstDo: to iterate over the rest.
(Suggested by Levente Uzonyi)

by Karl Ramberg (karlramberg@gmail.com) at August 22, 2020 09:50 AM

Graphics-kfr.436

I wanted to subclass Rectangle with a instance variable to carry some state, but these methodes indirected to Point>>corner: so it broke the override and returned a ordinary Rectangle instead of my fancy new subclass SuperRectangle

Updated to use #first to get the first element and #allButFirstDo: to iterate over the rest.
(Suggested by Levente Uzonyi)

by Karl Ramberg (karlramberg@gmail.com) at August 22, 2020 09:47 AM

August 15, 2020

squeaksource.com

BabySRE-edc.48

attempt of loading in 5.2

August 15, 2020 11:07 AM

August 14, 2020

source.squeak.org

VMMaker.oscog-eem.2789

Provide the InterpreterPlugin>>stackStringValue: convenience.
Simplify and ake simulateable the SecurityPlugin using methodReturnString:

by Eliot Miranda (eliot.miranda@gmail.com) at August 14, 2020 09:36 PM

VMMaker.oscog-eem.2788

...and apply it to the SoundPlugin.

by Eliot Miranda (eliot.miranda@gmail.com) at August 14, 2020 09:03 PM

VMMaker.oscog-eem.2787

Add another convenience to InterpreterPlugin. methodReturnStringOrNil: answers nil for a null string, instead of failing.

by Eliot Miranda (eliot.miranda@gmail.com) at August 14, 2020 08:54 PM

Morphic-mt.1298

From 6.0alpha, backports fix for using custom event dispatchers as reported:
- https://smalltalk.tech.blog/2020/08/10/smalltalks-successor/
- http://forum.world.st/A-Sad-Day-tp5120519.html

This also increases the robustess when loading code that overrides #processEvent: or #processEvent:using: without returning an event object but self.

Also see:
http://forum.world.st/The-Trunk-Morphic-mt-1674-mcz-tp5120542.html
http://forum.world.st/The-Trunk-MorphicTests-mt-64-mcz-tp5120540.html

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at August 14, 2020 11:46 AM

Morphic-mt.1466

From 6.0alpha, backports fix for using custom event dispatchers as reported:
- https://smalltalk.tech.blog/2020/08/10/smalltalks-successor/
- http://forum.world.st/A-Sad-Day-tp5120519.html

This also increases the robustess when loading code that overrides #processEvent: or #processEvent:using: without returning an event object but self.

Also see:
http://forum.world.st/The-Trunk-Morphic-mt-1674-mcz-tp5120542.html
http://forum.world.st/The-Trunk-MorphicTests-mt-64-mcz-tp5120540.html

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at August 14, 2020 11:44 AM

Morphic-mt.1635

From 6.0alpha, backports fix for using custom event dispatchers as reported:
- https://smalltalk.tech.blog/2020/08/10/smalltalks-successor/
- http://forum.world.st/A-Sad-Day-tp5120519.html

This also increases the robustess when loading code that overrides #processEvent: or #processEvent:using: without returning an event object but self.

Also see:
http://forum.world.st/The-Trunk-Morphic-mt-1674-mcz-tp5120542.html
http://forum.world.st/The-Trunk-MorphicTests-mt-64-mcz-tp5120540.html

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at August 14, 2020 11:42 AM

Morphic-mt.1674

Fixes test12CustomEventDispatcher as reported:

- https://smalltalk.tech.blog/2020/08/10/smalltalks-successor/
- http://forum.world.st/A-Sad-Day-tp5120519.html

This also increases the robustess when loading code that overrides #processEvent: or #processEvent:using: without returning an event object but self.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at August 14, 2020 11:35 AM

MorphicTests-mt.64

Adds test about custom Morphic event dispatcher.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at August 14, 2020 11:26 AM

August 13, 2020

source.squeak.org

VMMaker-dtl.418

VMMaker 4.19.2
In ObjectMemory, the expression "self sizeMask + self size4Bit)" is constant regardless of bytesPerWord, see interp.h for the declarations. In all cases, SIZE_MASK + SIZE_4_BIT equals 16rFC. Simplify accordingly.

by David T. Lewis (lewis@mail.msen.com) at August 13, 2020 02:35 AM

August 08, 2020

source.squeak.org

CollectionsTests-EG.342

Adding tests for the updated #peekBack behavior

August 08, 2020 12:18 AM

Collections-EG.908

Changing behavior of #peekBack to (correctly) return first element of underlying collection when stream position is 1.

August 08, 2020 12:17 AM

August 07, 2020

source.squeak.org

System-eem.1168

Empty commit to remove a bogus timestamp from the version history. System-eem.1154 had aquired a date stamp far in the future.

by Eliot Miranda (eliot.miranda@gmail.com) at August 07, 2020 04:35 PM

squeaksource.com

DoItFirst-System-Support-dtl.8

Fix typo in help message

by Dave Lewis (lewis@mail.msen.com) at August 07, 2020 01:57 AM

DoItFirst-System-Support-dtl.7

Add -noinit and -debug command line options.
DoItFirst image arguments:
-doit argumentlist "evaluate each argument as a doIt expression"
-evaluate arg "evaluate arg, print result then exit"
-filein filelist "file in each file named in fileList"
-cwd path "set FileDirectory defaultDirectory to path prior to evaluating other options"
-debug "enter a debugger as soon as possible in the startUp processing"
-noinit "mimimal initiializeation, suppress file and directory startUp processing when evaluating options"
-help "print this message"

To make this work, call DoItFirst reevaluateDebug from Delay class>>startUp and call DoItFirst reevaluateCwd from FileDirectory class>>startUp

by Dave Lewis (lewis@mail.msen.com) at August 07, 2020 01:29 AM

August 06, 2020

source.squeak.org

Collections-eem.907

2.7x faster ByteArray>>readHexFrom:

by Eliot Miranda (eliot.miranda@gmail.com) at August 06, 2020 07:51 PM

August 04, 2020

source.squeak.org

System-tcj.1168

Remove stale preferences from Flash support which no longer lives in the image.

Needs this accompanying change to the postscript of System package:

#( compressFlashImages extractFlashInHighQuality extractFlashInHighestQuality )
do: [:pref | Preferences removePreference: pref ]

August 04, 2020 06:04 AM

August 02, 2020

squeaksource.com

PromisesLocal-rww.10

introduce the PriorityVat as a state machine.

by Robert Withers (robert.withers@protonmail.com) at August 02, 2020 12:55 PM

PromisesLocal-rww.10

introduce the PriorityVat as a state machine.

by Robert Withers (robert.withers@protonmail.com) at August 02, 2020 12:55 PM

PromisesLocal-rww.9

test case cleanup.

by Robert Withers (robert.withers@protonmail.com) at August 02, 2020 08:36 AM

PromisesLocal-rww.9

test case cleanup.

by Robert Withers (robert.withers@protonmail.com) at August 02, 2020 08:35 AM

PromisesLocal-rww.8

modified to handle exceptions better.

by Robert Withers (robert.withers@protonmail.com) at August 02, 2020 08:27 AM

PromisesLocal-rww.8

modified to handle exceptions better.

by Robert Withers (robert.withers@protonmail.com) at August 02, 2020 08:27 AM

July 24, 2020

squeaksource.com

BarnsleyFern-kfr.28

Magnification must reset the drawing form

July 24, 2020 08:07 PM

July 23, 2020

source.squeak.org

EToys-eem.400

Allow the webcam resolution to be set before opening a WebCamMorph.

by Eliot Miranda (eliot.miranda@gmail.com) at July 23, 2020 11:06 PM

MonticelloConfigurations-mt.162

Reverts CI badges, which got only partially added via dtl.161 by accident.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at July 23, 2020 09:31 AM

MonticelloConfigurations-mt.160

Shows the current CI status in the update dialog.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at July 23, 2020 09:28 AM

July 21, 2020

source.squeak.org

System-mt.1167

In code holders, avoid label contraction in dialogs' buttons that pop up when having to choose a symbol for browsing senders/implementors.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at July 21, 2020 07:04 AM

squeaksource.com

ConfigurationOfMooseJEE-FabrizioPerin.126

cleaning configuration of mooseEE

by Fabrizio Perin (fabrizio.perin@gmail.com) at July 21, 2020 04:53 AM

ConfigurationOfMooseJEE-FabrizioPerin.125

switch projects to squeaksource

by Fabrizio Perin (fabrizio.perin@gmail.com) at July 21, 2020 04:53 AM

source.squeak.org

VMMaker.oscog-eem.2778

Slang: Infer the correct types for the float/double accessors. Hence correct primitiveSpurFloatArrayAt for Float32Array.

by Eliot Miranda (eliot.miranda@gmail.com) at July 21, 2020 12:27 AM

July 20, 2020

source.squeak.org

Collections-ul.903

- let String >> #compareWith: use primitive 158 even if indirectly

by Levente Uzonyi (leves@caesar.elte.hu) at July 20, 2020 02:51 PM

MonticelloConfigurations-mt.159

Minor spelling/formatting fix in a progress label.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at July 20, 2020 01:41 PM

squeaksource.com

Moose-Tests-SQL-Importer-FabrizioPerin.2

made sql importer tests green

by Fabrizio Perin (fabrizio.perin@gmail.com) at July 20, 2020 06:12 AM

Moose-Tests-SQL-Importer-FabrizioPerin.1

first commit

by Fabrizio Perin (fabrizio.perin@gmail.com) at July 20, 2020 06:12 AM

Moose-SQL-Importer-FabrizioPerin.24

fixed importer accordingly to the new model

by Fabrizio Perin (fabrizio.perin@gmail.com) at July 20, 2020 06:12 AM

Moose-SQL-Importer-FabrizioPerin.23

made tests green

by Fabrizio Perin (fabrizio.perin@gmail.com) at July 20, 2020 06:12 AM

Moose-SQL-Importer-FabrizioPerin.22

fixing importer accordingly to the new model

by Fabrizio Perin (fabrizio.perin@gmail.com) at July 20, 2020 06:12 AM

Moose-SQL-Importer-FabrizioPerin.21

added sql source language when importing a model

by Fabrizio Perin (fabrizio.perin@gmail.com) at July 20, 2020 06:12 AM

Moose-SQL-Importer-FabrizioPerin.20

the importer now is more resistent to errors such as, e.g., missing columns

by Fabrizio Perin (fabrizio.perin@gmail.com) at July 20, 2020 06:12 AM

Moose-SQL-Importer-FabrizioPerin.19

now the view associations are added silently

by Fabrizio Perin (fabrizio.perin@gmail.com) at July 20, 2020 06:12 AM

Moose-SQL-Importer-FabrizioPerin.18

adapted ensureAView: method and taken into account the new table view association

by Fabrizio Perin (fabrizio.perin@gmail.com) at July 20, 2020 06:12 AM

Moose-SQL-Importer-FabrizioPerin.17

exposed the information regarding the tables from which a view is created from

by Fabrizio Perin (fabrizio.perin@gmail.com) at July 20, 2020 06:12 AM

Moose-SQL-Importer-FabrizioPerin.16

fixed consistency

by Fabrizio Perin (fabrizio.perin@gmail.com) at July 20, 2020 06:12 AM

Moose-SQL-Importer-FabrizioPerin.15

reifying completeName

by Fabrizio Perin (fabrizio.perin@gmail.com) at July 20, 2020 06:11 AM

Moose-SQL-Importer-FabrizioPerin.14

fixed a problem with the importer status report

by Fabrizio Perin (fabrizio.perin@gmail.com) at July 20, 2020 06:11 AM

Moose-SQL-Importer-FabrizioPerin.13

fixing ensureIndex

by Fabrizio Perin (fabrizio.perin@gmail.com) at July 20, 2020 06:11 AM

Moose-SQL-Importer-FabrizioPerin.12

created support for views

by Fabrizio Perin (fabrizio.perin@gmail.com) at July 20, 2020 06:11 AM

Moose-SQL-Importer-FabrizioPerin.11

Added support for indexes

by Fabrizio Perin (fabrizio.perin@gmail.com) at July 20, 2020 06:11 AM

Moose-SQL-Importer-FabrizioPerin.10

added support for indexes

by Fabrizio Perin (fabrizio.perin@gmail.com) at July 20, 2020 06:11 AM

Moose-SQL-Importer-FabrizioPerin.9

making tests green for pharo 2.0

by Fabrizio Perin (fabrizio.perin@gmail.com) at July 20, 2020 06:11 AM

July 19, 2020

source.squeak.org

MonticelloConfigurations-dtl.161

A MCConfigurationExtended is a configuration with author initials, timestamp, UUID identifier, comment, and a list of prior versions. Its external storage format is organized for compatibility with MCConfiguration, such that an image wtih support for only MCConfiguration can use configurations saved from a MCConfigurationExtended.

The intended use is to enable documentation of configuration maps, and to allow modifications to a configuration map without loss of version history.

When editing an MCConfiguration, a copyForEdit of the configuration is modfied, leaving the prior configuration in the version history. When saving an edited version, an editor window allows a version comment to be entered for the new configuration. Version history for a saved MCConfiguration is trimmed to a maximum of 10 prior versions to maintain reasonable storage size. Full version history can be reconstructed based on the UUID identifiers.

MCConfigurationBrowser provides a "Versions" button to open an explorer on the version history of a configuration. No other support for browsing version history and comments is provided.

MCConfigurationExtended is fully backward compatible such that saved versions will be rendered as simple MCConfiguration without version history in an image that lacks support for the extended format.

A SqueakSource server must have this update applied before it can render a saved MCConfigurationExtended.

by David T. Lewis (lewis@mail.msen.com) at July 19, 2020 03:49 PM

July 15, 2020

squeaksource.com

OmniBrowser.39-edc.2

empty log message

July 15, 2020 11:13 AM

OB-Standard.39-edc.4

empty log message

July 15, 2020 11:03 AM

source.squeak.org

Morphic-mt.1672

Fixes recent regression. Sorry for the noise.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at July 15, 2020 10:53 AM

Morphic-mt.1671

Fixes demo/hi-dpi mode for system progress bar.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at July 15, 2020 09:38 AM

Kernel-mt.1334

Re-install interrupt watcher because semaphore changed in Kernel-mt.1333 from classVar to instVar.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at July 15, 2020 09:29 AM

EToys-mt.398

Removes deprecated, dead method.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at July 15, 2020 09:26 AM

Morphic-mt.1670

Complements Kernel-mt.1333

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at July 15, 2020 09:25 AM

Tools-mt.983

Complements Kernel-mt.1333

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at July 15, 2020 09:24 AM

ST80-mt.257

Complements Kernel-mt.1333.

Fixes regression: mouse wheel works again in tools.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at July 15, 2020 09:24 AM

Kernel-mt.1333

Clean up code for non-event-based input processing, primarily used in ST80.

Moves some methods to ST80 package. Needs more work to remove all sends from Morphic such as #shiftPressed etc.

Also rely on in-image interrupt-key handling only. Recent VMs do not fire the old-style interrupt semaphore anymore. See #userInterruptWatcher.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at July 15, 2020 09:22 AM

Morphic-mt.1669

Fixes icon scaling in tree widgets.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at July 15, 2020 07:10 AM

PreferenceBrowser-mt.105

Minor tweaks of visuals in preference browser to match other tools' appearance.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at July 15, 2020 07:04 AM

squeaksource.com

BarnsleyFern-kfr.26

DrawRectangles: Generate rooms with hallways between.

July 15, 2020 06:54 AM

July 14, 2020

source.squeak.org

ToolBuilder-MVC-mt.61

Fixes layout bug in MVC windows.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at July 14, 2020 01:10 PM

July 13, 2020

source.squeak.org

TrueType-tobe.54

when encountering an invalid font while scanning a file, skip that font

July 13, 2020 10:13 AM

60Deprecated-mt.79

Complements ST80-mt.256

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at July 13, 2020 09:49 AM

Tools-mt.982

Complements ST80-mt.256

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at July 13, 2020 09:49 AM

ST80-mt.256

Makes MVC lists, window titles, menus, and "dialogs" aware of demo/hi-dpi mode.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at July 13, 2020 09:48 AM

July 06, 2020

source.squeak.org

VMMaker.oscog-eem.2772

VM Parameters primitive(s). Fix the issue with the allocation failure test on 32-bit systems. It really is a Vm bug that parameter #67 must be a SmallInteger. It should be a positive machine integer.

by Eliot Miranda (eliot.miranda@gmail.com) at July 06, 2020 05:09 PM

squeaksource.com

Covid19-Core-tsl.6

empty log message

by Thiago da Silva Lino (thiagolino@yahoo.com.br) at July 06, 2020 03:59 PM

July 03, 2020

source.squeak.org

KernelTests-tpr.383

Make the AllocationTest work by preventing the requested free space size (in #setFreeSpaceLimi....) from exceeding SmallInteger>maxVal and thereby failing the vmParameter primitive's limit.

by tim Rowledge (tim@rowledge.org) at July 03, 2020 05:24 AM

July 02, 2020

source.squeak.org

VMMaker.oscog-eem.2769

Slang: And include the Monticello description for the Cogit's activeCompilerClass if it differs from Cogit's.

by Eliot Miranda (eliot.miranda@gmail.com) at July 02, 2020 11:00 PM

VMMaker.oscog-eem.2768

Slang: make good on the previous commit.

by Eliot Miranda (eliot.miranda@gmail.com) at July 02, 2020 10:44 PM

VMMaker.oscog-eem.2767

Slang: Allow the CogCompilers/Cogit files to specify preampleCCode.

by Eliot Miranda (eliot.miranda@gmail.com) at July 02, 2020 10:16 PM

squeaksource.com

ClosedVMMaker-eem.90

It trns out that Ken Dickey has been using the ARMv8 JIT without any issues in the JIT for months now, so it is about time we released it ;-) This commit adds the verbiage and code that precludes use in the PharoVM. Requires VMMaker.oscog-eem.2769.

by Eliot Miranda (eliot.miranda@gmail.com) at July 02, 2020 10:06 PM

July 01, 2020

source.squeak.org

Compiler-eem.440

Improve slightly the EncoderForSistaV1 class comment specifying the SistaV1 bytecode set in the light of recent discussion.

by Eliot Miranda (eliot.miranda@gmail.com) at July 01, 2020 05:05 PM

June 30, 2020

source.squeak.org

Monticello-cmm.726

Revert incorrect implementation of sorting repositories, because it broke "demote to bottom" which broke "browse revisions" and "browse origin".

by Chris Muller (ma.chris.m@gmail.com) at June 30, 2020 10:21 PM

June 27, 2020

squeaksource.com

OSProcess-dtl.120

OSProcess 4.6.21
Fix ThisOSProcess class>>shutDown: and OSProcess class>accessor to prevent problems when running an image with OSProcess on a SqueakJS virtual machine.

Change two unit tests to avoid issues when running on Pharo. Original fix by Max Leske https://github.com/dtlewis290/OSProcess-Tonel commit d0088c8b923e8a3aa0ad0ebfde30b5c3f45ae33d

by Dave Lewis (lewis@mail.msen.com) at June 27, 2020 11:29 PM

OSProcess-Base-dtl.73

OSProcess 4.6.21
Fix ThisOSProcess class>>shutDown: and OSProcess class>accessor to prevent problems when running an image with OSProcess on a SqueakJS virtual machine.

Change two unit tests to avoid issues when running on Pharo. Original fix by Max Leske https://github.com/dtlewis290/OSProcess-Tonel commit d0088c8b923e8a3aa0ad0ebfde30b5c3f45ae33d

by Dave Lewis (lewis@mail.msen.com) at June 27, 2020 11:28 PM

OSProcess-Tests-dtl.20

OSProcess 4.6.21
Fix ThisOSProcess class>>shutDown: and OSProcess class>accessor to prevent problems when running an image with OSProcess on a SqueakJS virtual machine.

Change two unit tests to avoid issues when running on Pharo. Original fix by Max Leske https://github.com/dtlewis290/OSProcess-Tonel commit d0088c8b923e8a3aa0ad0ebfde30b5c3f45ae33d

by Dave Lewis (lewis@mail.msen.com) at June 27, 2020 11:28 PM

source.squeak.org

ToolBuilder-MVC-ct.60

Don't fail in MVCToolBuilder when opening a menu

The semantics of ToolBuilder >> #open: are to work regardless of the build state of the passed object (thus "anObject"). As a consequence, [MVCToolBuilder new open: (MVCToolBuilder new build: PluggableMenuSpec new)] should work, too.

by Christoph Thiede (Christoph.Thiede@student.hpi.uni-potsdam.de) at June 27, 2020 08:37 PM

ToolBuilder-Kernel-ct.140

Don't fail in PluggableMenuSpec when building an empty menu

June 27, 2020 08:27 PM

Tools-ct.980

Fixes opening a TextLink pointing to a class from within a MessageSet. In addition, only select the new item for a consistent experience.

Steps to reproduce the original bug:
1. Insert a TextLink pointing to a class comment into any method comment and save the method with style.
2. Browse the method in a message trace.
3. Click the link.
Before this fix, the message trace raised a draw error because an internal conversion step was forgotten. See also Model >> #addItem: which already respected that conversion.

June 27, 2020 07:46 PM

June 25, 2020

source.squeak.org

VMMaker.oscog-eem.2762

Merge VMMaker.oscog-ul.2763
add missing SHA2Plugin to the list of plugins

by Eliot Miranda (eliot.miranda@gmail.com) at June 25, 2020 10:03 PM

VMMaker.oscog-nice.2761

1) Revise a bit the tranformation of assignment/returns for C code generation (see below)

2) Do not try to generate SHA256Plugin, it's obsolete and absent from latest cryptography packages.

In Smalltalk, every statement is an expression that can be used in other expression, assigned to variables, etc...

In C, not all statements are valid expressions, or IOW, not all statements have a value.
In C parlance, rvalues are the ones which can be used at the right of an assignment, lvalues the ones which can be used on the left of an assignment.

While working on FFI, I had invalid code generated looking like:

err = switch(atomicType) ...

This is because there is brittle code for transforming some expressions, which are not generic enough.

For example, we have similar TSwitchStmtListNode and TCaseStmtNode for handling #dispatchOn:in:, but not exactly same handling of both.

Before this change, an overview can be given by reviewing senders of:
#isSwitch #isCaseStmt

This commit is an attempt to enhance/generalize handling of such non-rvalues by distributing the handling of those constructs in TParseNode hierarchy.

A slight change, is that assigning/returning result of a caseOf: without otherwise clause did create a default branch with an error message and a default value for the returned expression/assigned variable.
See #emitCCodeOn:addToEndOfCases:level:generator:
or #emitCCodeOn:prependToEndOfCases:level:generator:

The new #transformInAssignmentTo: only create the error message, but does not provide the default value.
This is because type analysis might have been not yet taken place at time of transformation.
Is this really needed? I don't think so.

Please review!
We might want to further extend the mechanism.

by Eliot Miranda (eliot.miranda@gmail.com) at June 25, 2020 09:42 PM

VMMaker.oscog-nice.2762

Cosmetic changes
- move some smart syntax method FloatArray -> Float32Array
requires a recent Squeak trunk image or a compatibility layer
- recategorize some FFI methods
- remove some unused var:type:

by Eliot Miranda (eliot.miranda@gmail.com) at June 25, 2020 09:27 PM

June 22, 2020

squeaksource.com

Alien-Core-nice.104

Fix raw stack pointer for 64bits callback context.

Is this used?

by nicolas cellier (nicolas.cellier.aka.nice@gmail.com) at June 22, 2020 06:11 AM

HDF5-Interface-nice.8

Fix the signature of callbacks.
Hid_t is longlong

Note: note sure if longlong is correctly passed by value for ARM32 ABI though...

by nicolas cellier (nicolas.cellier.aka.nice@gmail.com) at June 22, 2020 06:01 AM

June 21, 2020

source.squeak.org

FFI-Kernel-nice.120

Fixup: isEmpty is only for subclass...

by Nicolas Cellier (nicolas.cellier.aka.nice@gmail.com) at June 21, 2020 11:03 PM

squeaksource.com

HDF5-Interface-nice.7

Many changes to make it work.

This requires both
- a recent version of FFI
- a recent version of the plugin (to be published soon)

Among the changes:
- use C types size_t int and uint instead of Size_t long and ulong
long and ulong are squeakism for int32_t, it's better to not use them
- do not forget to pass the callback thunk to foreign function
- fix call to loadSymbol:module: it takes moduleName as second argument, not an instance of ExternalLibrary
- do not dereference the global datatype variable, but let the foreign funciton call do that
This requires a new version of FFI plugin
- do not forget to re-initialize the H5atatype on startup
- ensure to call H5open before we ever attempt to open/create an H5File
- wrap a few values into there respective ExternalTypeAlias
- unwrap those type alias when we want to use their value

With those changes and new plugin I can execute the very elementary example from Smallissimo blog, and contemplate the result thru HDFView utility.

out:= H5File create: 'foo.h5' .
H5Dataset createPath: 'float1' parent: out rootGroup value: 1.3e0.
H5Dataset createPath: 'double2' parent: out rootGroup value: Float pi.
H5Dataset createPath: 'int3' parent: out rootGroup value: -357.
out close.

by nicolas cellier (nicolas.cellier.aka.nice@gmail.com) at June 21, 2020 05:52 PM

HDF5-External-nice.6

Abide to recent FFI changes
- subclass ExternalTypeAlias for atomic aliases and enums
- let the enums answer an instance of themselves when asked for a constant
FFI require that we pass an alias of the right class
- boot out the auto-generated accessors - they are auto-generated and need not pollute the package

by nicolas cellier (nicolas.cellier.aka.nice@gmail.com) at June 21, 2020 08:36 AM

June 18, 2020

squeaksource.com

HDF5-Interface-nice.6

Define module name and fix MC random initialization order

by nicolas cellier (nicolas.cellier.aka.nice@gmail.com) at June 18, 2020 07:15 AM

June 17, 2020

squeaksource.com

HDF5-Xfer-nice.1

WIP preliminary package for serializing/deserializing Smalltalk object to/from HDF5 files

Only support for basic objects is provided.

by nicolas cellier (nicolas.cellier.aka.nice@gmail.com) at June 17, 2020 07:19 PM

June 14, 2020

squeaksource.com

DoItFirst-System-Support-dtl.4

Add -cwd to change working directory.
Add -help for help message.
Allow multiple arguments on the command line, including those that expect argument lists. Parse arguments into a queue of actions. Ensure that -cwd is evaluated before other actions that depend on it.

by Dave Lewis (lewis@mail.msen.com) at June 14, 2020 04:00 PM

DoItFirst-System-Support-dtl.3

Move methods to the instance side and let DoItFirst be instance based

by Dave Lewis (lewis@mail.msen.com) at June 14, 2020 12:24 PM

DoItFirst-System-Support-dtl.2

Initialize default directory in case image is started from a different file system location

by Dave Lewis (lewis@mail.msen.com) at June 14, 2020 12:10 PM

DoItFirst-System-Support-dtl.1

Be the first thing in the system startup list, and do things that should be done prior to any additional image initialization. If the first image argument is a recognized option, evaluate it. Image arguments are typically preceded by a '--' token on the command line.

by Dave Lewis (lewis@mail.msen.com) at June 14, 2020 12:01 PM

June 07, 2020

squeaksource.com

BarnsleyFern-kfr.25

Use integer for map positions

June 07, 2020 04:24 PM

BarnsleyFern-kfr.24

planeX and planeY vector

June 07, 2020 11:59 AM

BarnsleyFern-kfr.23

DrawLine. Trying to figure out vectors

June 07, 2020 08:43 AM

June 06, 2020

squeaksource.com

BarnsleyFern-kfr.22

empty log message

June 06, 2020 10:53 AM

June 05, 2020

squeaksource.com

PromisesRemote-rww.3

adopt new ParrotTalk api

by Robert Withers (robert.withers@protonmail.com) at June 05, 2020 01:54 PM

PromisesRemote-rww.3

adopt new ParrotTalk api

by Robert Withers (robert.withers@protonmail.com) at June 05, 2020 01:54 PM

ThunkStack-rww.31

add protocol and ensure frame returns.

by Robert Withers (robert.withers@protonmail.com) at June 05, 2020 01:54 PM

ThunkStack-rww.31

add protocol and ensure frame returns.

by Robert Withers (robert.withers@protonmail.com) at June 05, 2020 01:54 PM

MyCounter-ColinCraig.7

by Colin Craig (beverage.here@gmail.com) at June 05, 2020 01:20 PM

PromisesRemote-rww.2

finish porting

by Robert Withers (robert.withers@protonmail.com) at June 05, 2020 01:14 PM

PromisesRemote-rww.2

finish porting

by Robert Withers (robert.withers@protonmail.com) at June 05, 2020 01:14 PM

PromisesRemote-rww.1

rename package

by Robert Withers (robert.withers@protonmail.com) at June 05, 2020 12:34 PM

PromisesRemote-rww.1

rename package

by Robert Withers (robert.withers@protonmail.com) at June 05, 2020 12:34 PM

PromisesLocal-rww.1

rename package

by Robert Withers (robert.withers@protonmail.com) at June 05, 2020 12:34 PM

PromisesLocal-rww.1

rename package

by Robert Withers (robert.withers@protonmail.com) at June 05, 2020 12:34 PM

TraceMonitor-rww.1

Port to separate package

by Robert Withers (robert.withers@protonmail.com) at June 05, 2020 12:34 PM

TraceMonitor-rww.1

Port to separate package

by Robert Withers (robert.withers@protonmail.com) at June 05, 2020 12:34 PM

Shapes-jmb.74

projection added

by Hans Baveco (hans.baveco@wur.nl) at June 05, 2020 09:10 AM

Shapes-jmb.73

empty log message

by Hans Baveco (hans.baveco@wur.nl) at June 05, 2020 09:10 AM

Shapes-jmb.77

conversion of PolyLineZShape to arcs

by Hans Baveco (hans.baveco@wur.nl) at June 05, 2020 09:09 AM

Shapes-jmb.76

removing confusing external links

by Hans Baveco (hans.baveco@wur.nl) at June 05, 2020 09:09 AM

June 04, 2020

squeaksource.com

Actors-tonyg.107

Try all given addresses when attempting to connect a SocketActor. This lets the tests pass when the ChatRoom listens on IPv4, but localhost resolves to IPv6 (first) as well as IPv4.

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at June 04, 2020 06:53 PM

Actors-tonyg.106

Improve robustness of tests in case where socket connections are not working as expected.

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at June 04, 2020 05:59 PM