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

squeaksource.com

BarnsleyFern-kfr.13

SmoothStep testing with degreeSin

February 27, 2020 04:32 PM

source.squeak.org

Collections-ul.877

- recalculate tally in WeakIdentityDictionary >> #noCheckNoGrowFillFrom: to prevent it becoming greater than the maximum number of elements the dictionary can hold

by Levente Uzonyi (leves@caesar.elte.hu) at February 27, 2020 01:01 PM

February 26, 2020

squeaksource.com

Collections.V3-dtl.876

Name: Collections-mt.876
Author: mt
Time: 26 February 2020, 5:24:00.015527 pm
UUID: 282a3821-8c7b-974f-b426-2cc481055eab
Ancestors: Collections-ul.875

Prepare 5.3rc2 --- Fixes #isEmpty for weak collections.

by Dave Lewis (lewis@mail.msen.com) at February 26, 2020 11:41 PM

Kernel.V3-dtl.1306

Name: Kernel-mt.1306
Author: mt
Time: 26 February 2020, 5:17:44.570527 pm
UUID: c36a6ca0-83a9-8c48-a66e-2e1f683b0391
Ancestors: Kernel-mt.1305

Prepare 5.3rc2 --- Class organization clean-up must be silent to not interfere with other clean-up code such as in ChangeSet.

by Dave Lewis (lewis@mail.msen.com) at February 26, 2020 11:39 PM

Kernel.V3-dtl.1305

Name: Kernel-mt.1305
Author: mt
Time: 25 February 2020, 10:37:58.980786 am
UUID: 46b30358-e624-b44e-a36d-b6775af60202
Ancestors: Kernel-mt.1304

Fixes class-rename issue.

We need a name! Voting time is now:

- RemarkNotification
- LoggingNotification
- CommentNotification
- NoticeNotification (???)
- [You idea goes here.]

by Dave Lewis (lewis@mail.msen.com) at February 26, 2020 11:38 PM

System.V3-dtl.1136

No change, method not present in System.V3

Name: System-mt.1136
Author: mt
Time: 26 February 2020, 5:16:40.861527 pm
UUID: 162c3149-76a8-da4a-96c7-f5088c26dc0f
Ancestors: System-mt.1135

Prepare 5.3rc2 --- Removes obsolete query (autogenerated long time ago)

by Dave Lewis (lewis@mail.msen.com) at February 26, 2020 11:36 PM

source.squeak.org

EToys-ct.382

Complements System-ct.1137 (clean up Clipboard). System should not depend on EToys.

February 26, 2020 06:47 PM

System-ct.1137

Prepare 5.3rc2 --- be even more aggressive when cleaning up Clipboard. Privacy. You know :)

February 26, 2020 06:46 PM

ReleaseBuilder-mt.206

Prepare 5.3rc2 --- Renames the two existing change sets to "RootProject" and "HomeProject" to be both readable and file-out compatible. Fixes the (manual) check for undeclared symbols. Make sure that #clearCaches really cleans the code artifacts in the correct order. Adds some documentation for that. Also bumps version from rc1 to rc2.

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

Collections-mt.876

Prepare 5.3rc2 --- Fixes #isEmpty for weak collections.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at February 26, 2020 04:24 PM

CollectionsTests-mt.334

Prepare 5.3rc2 --- Marks expected failures for some Interval tests. Adds tests about #isEmpty in weak collections.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at February 26, 2020 04:21 PM

Tests-mt.426

Prepare 5.3rc2 --- Makes the test for undeclared symbols more robust and now passing.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at February 26, 2020 04:20 PM

Morphic-mt.1630

Prepare 5.3rc2 --- During release building, reset keyboard shortcuts for all kinds of editors. More importantly, reset the ChangeText/FindText caches, which might contain sensitive information.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at February 26, 2020 04:19 PM

Kernel-mt.1306

Prepare 5.3rc2 --- Class organization clean-up must be silent to not interfere with other clean-up code such as in ChangeSet.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at February 26, 2020 04:17 PM

System-mt.1136

Prepare 5.3rc2 --- Removes obsolete query (autogenerated long time ago)

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at February 26, 2020 04:16 PM

Installer-Core-mt.439

Prepare 5.3rc2 --- Removes invalid reference to universe installer.

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

ReleaseBuilder-dtl.206

Tidy up change sets for release images. Empty the home project change set and give it a better name.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at February 26, 2020 10:16 AM

VMMaker.oscog-eem.2721

Interpreter: Change the signature of the core selector send breakpointing routines from taking the receiver to taking a class tag. (Requires corresponding changes in platforms/Cross/vm/dispdbg.h).
Add an accessor for breakLookupClassTag and add couldBeContext:. Comment fetchClassTagOf:. [This was all to track down a bug with ARMv8 do do with register save/restore across the call in ceScheduleScavengeTrampoline that caused contexts to appear where blocks were expected].

Cogit: rename the accessor for codeToDataDelta to getCodeToDataDelta to allow codeToDataDelta to be defined as 0 in the non DUAL_MAPPED_CODE_ZONE regime. Consequently find and fix a slip in NewspeakCogMethod class>>initialize. Don't attempt to take the address of 0 in the DUAL_MAPPED_CODE_ZONE regime.
Fix genLoadCStackPointer(s) to use NativeSPReg

Slang: add support for even and odd.

Simulator:
Extend machine code breakpojnt framework to allow CogMethodSurrogates to function as breakpoints.
Recategorize the breakpoint routines. Fix a slip in Integer>>addBreakpoint:.

by Eliot Miranda (eliot.miranda@gmail.com) at February 26, 2020 03:19 AM

squeaksource.com

ClosedVMMaker-eem.85

ARMv8: Fix MoveAwRR & MoveRRAw for SP; SP is not allowed as a souerce or target reg in in LDP/STP, so substitute RISCTempReg.
genAlignCStackSavingRegisters:numArgs:wordAlignment: is a noop given the ARMv8 enforces SP alignment on all SP accesses.
Fix bad bug in genRestoreRegs:.

Add suitable inlining directives and simplify the processor-specific opcode generation routines.

by Eliot Miranda (eliot.miranda@gmail.com) at February 26, 2020 02:34 AM

February 25, 2020

squeaksource.com

ConfigurationOfTutorialWebApp-RyanPark.3

empty log message

by Ryan Park (ryandavidpark@gmail.com) at February 25, 2020 07:05 PM

TutorialWebApp-RyanPark.2

empty log message

by Ryan Park (ryandavidpark@gmail.com) at February 25, 2020 06:22 PM

TutorialWebApp-RyanPark.1

empty log message

by Ryan Park (ryandavidpark@gmail.com) at February 25, 2020 06:20 PM

source.squeak.org

ReleaseBuilder-fn.205

Bump the image version to Squeak5.3rc1.

by Fabio Niephaus (code@fniephaus.com) at February 25, 2020 02:28 PM

ST80-mt.248

Fixes an issue with debugging a process at hand, which is used when entering MVC as recovery for Morphic. Example: "[ 3 + 4 ] newProcess debug".

After this fix, the strange re-draw glitches are gone. BUT, the debugger opens only after, for example, opening the world menu once. That's related to #addDeferredUIMessage: and not having the right controller at hand in #enterForEmergencyRecovery. Not that important for 5.3.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at February 25, 2020 02:12 PM

System-kks.1136

Eliminate infinite dialog loop while seeking author's initials.

February 25, 2020 09:59 AM

Morphic-mt.1629

Fixes a minor regression with the window title font after UI theme changes.

Note that one could have swapped #setDefaultParamters and #replaceBoxes in #applyUserInterfaceTheme (as suggested by ct), BUT #replaceBoxes reads more specific than #setDefaultParameters, so I put it first. Also, the order of those calls should not make a difference.

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

Tools-mt.941

Complements Kernel-mt.1305.

Fixes class-rename issue, which occurred due to catching ProgressNotification. And the missing #resume.

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

Kernel-mt.1305

Fixes class-rename issue.

We need a name! Voting time is now:

- RemarkNotification
- LoggingNotification
- CommentNotification
- NoticeNotification (???)
- [You idea goes here.]

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

MorphicTests-mt.60

We did not find a working fix for that bug.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at February 25, 2020 08:36 AM

Tests-mt.425

We removed a dependency. Yay! :-)

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at February 25, 2020 08:35 AM

VMMakerUI-eem.23

Extend CogFrameInspector to allow changing the stack pointer, and to force text generation when frame is old and out-of-bounds.

by Eliot Miranda (eliot.miranda@gmail.com) at February 25, 2020 06:18 AM

squeaksource.com

ClosedVMMaker-eem.84

Robustness in printing register state and decorating assembly.

by Eliot Miranda (eliot.miranda@gmail.com) at February 25, 2020 05:17 AM

source.squeak.org

Collections-cmm.874

- Optimize for system compactness by ensuring the default internal array size of any HashedCollection is not initialized larger than it may ever need to be.
- Let #new: be used to define larger sizes than the minimum, and perform comparably with #new even if the minimum size is specified.

by Chris Muller (ma.chris.m@gmail.com) at February 25, 2020 04:35 AM

February 24, 2020

source.squeak.org

Tools-ct.951

Fixes a small bug after dropping a class into a system category. Explicitly select the class to assure the correct system category is selected in the left pane.

by Christoph Thiede (Christoph.Thiede@student.hpi.uni-potsdam.de) at February 24, 2020 08:03 PM

Tools-ct.950

Adds support for dragging methods on a class in a browser

Committed again and replaces Tools-ct.949 due to a stupid slip (forgot one method).

by Christoph Thiede (Christoph.Thiede@student.hpi.uni-potsdam.de) at February 24, 2020 07:55 PM

Tools-ct.949

Adds support for dragging methods on a class in a browser

by Christoph Thiede (Christoph.Thiede@student.hpi.uni-potsdam.de) at February 24, 2020 07:50 PM

VMMakerUI-eem.22

Adapt to VMMaker.oscog-eem.2720
Change return value for not-found of methodFor: from 0 to nil.

by Eliot Miranda (eliot.miranda@gmail.com) at February 24, 2020 05:58 PM

VMMaker.oscog-eem.2720

Cogit:
Change return value for not-found of methodFor: from 0 to nil.

#define codeToDataDelta as 0 for the non DUAL_MAPPED_CODE_ZONE regime.

Fix followForwardedLiteralsIn:, mapObjectReferencesInMachineCodeForXXX, and storeLiteral:atAnnotatedAddress:using: for the DUAL_MAPPED_CODE_ZONE regime.

Inlcude the method in question in armPrintDualZoneAnomalies output.

Fix printMethodFieldForPrintContext: to always print the method oop frst and the cogMethod, if any, afterwards.

Fix asserts in frameCallerContext: and mapStackPages when a frame context may be forwarded as part of scavenging.

Slang: Fix sizeOfIntegralCType: for the more complex defnition of codeToDataDelta.

by Eliot Miranda (eliot.miranda@gmail.com) at February 24, 2020 05:58 PM

squeaksource.com

ClosedVMMaker-eem.83

ARMv8: Fix genLoadCStackPointers for the NativeSPReg ~= SPReg regime.

by Eliot Miranda (eliot.miranda@gmail.com) at February 24, 2020 05:00 PM

source.squeak.org

Tools-ct.948

Minor, non-exhaustive refactorings in the Browser:

- Don't reinvent the shouldCopy wheel in #dropOnMessageCategories:at:
- Improve multilingual support
- Brackets, spaces and use of #ifError:

by Christoph Thiede (Christoph.Thiede@student.hpi.uni-potsdam.de) at February 24, 2020 03:09 PM

Tools-ct.947

Proposal: If no message is selected in a browser, browse senders of class name instead

by Christoph Thiede (Christoph.Thiede@student.hpi.uni-potsdam.de) at February 24, 2020 03:03 PM

SystemReporter-mt.42

Makes "Image Preferences" work again in the system reporter tool by ignoring Deprecation warnings.

This is only a quickfix for the release. We might want to think about whether to mark deprecated preferences visually or maybe even skip them in the report.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at February 24, 2020 02:20 PM

Morphic-ct.1630

Remove obsoleted instance variables from TransferMorph

by Christoph Thiede (Christoph.Thiede@student.hpi.uni-potsdam.de) at February 24, 2020 01:51 PM

MorphicTests-mt.59

Adds a test for #containsPoint: in PolygonMorph. See the discussion on the mailing list: http://forum.world.st/Bug-in-PolygonMorph-gt-gt-filledForm-td5112218.html

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

February 23, 2020

squeaksource.com

ClosedVMMaker-eem.82

ARMv8:
Fix an assert in emitMoveCw:intoR:at:.
Fix rewriteImm[19|26]JumpBefore:target: to not assign to opcode.
Fix a trailing nil that was creeping into assembly decoration.

by Eliot Miranda (eliot.miranda@gmail.com) at February 23, 2020 10:42 PM

BarnsleyFern-kfr.12

empty log message

February 23, 2020 06:42 PM

My-Spec-Tutorial-rxm.2

My Spec tutorial practice for Spec

by Rikio Morikawa (rexmori1@mac.com) at February 23, 2020 09:12 AM

February 18, 2020

source.squeak.org

Morphic-ct.1625

Fixes broken balloon helps on halo handles

Please review.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at February 18, 2020 01:49 PM

Morphic-mt.1625

Fixes an issue with event dispatching used (only) in halo, which affects the balloon texts for those halo handles. Adds documentation of some tricky parts.

Not sure why MenuMorph is so clingy about its keyboard help. Manually delete that if the menu gets closed.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at February 18, 2020 01:48 PM

Collections-ct.875

Extends and realigns version of #findFirst: and #findLast:.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at February 18, 2020 08:25 AM

MonticelloConfigurations-mt.159

Minor spelling/formatting fix in a progress label.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at February 18, 2020 08:12 AM

PreferenceBrowser-mt.102

Small fix in the wizard's labels when installing extra packages. Make all labels appear in the same form, which starts with an uppercase letter and is (more or less) title case.

(Note that, after the release, we might want to re-design #findFeatures in String. That extra #asLowercase destroys information from the original text. But maybe that was intended after all to better cluster features.)

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at February 18, 2020 08:09 AM

VMMaker.oscog-nice.2713

Fix bug in LargeInteger division: instantiation of quotient (quo) may fail and thus require a proper guard.

It may happen: I did report some crash when testing huge integer division at http://smallissimo.blogspot.com/2019/05/tuning-large-arithmetic-thresholds.html

Fix a copy/paste glitch JumpCarry/JumpNoCarry in #setsConditionCodesFor:
We only ever use JumpZero so far, so it's benign.

by Nicolas Cellier (nicolas.cellier.aka.nice@gmail.com) at February 18, 2020 07:51 AM

February 17, 2020

source.squeak.org

VMMaker.oscog-nice.2712

Fix alternative code generation for highBit via BSR for Spur32:

Previous opcode is a Label, so we cannot test if it setsConditionCodesFor: JumpNegative.
We have to force a CmpCq:R:.
For X64, it's OK, previous opcode is an arithmetic shift.

Fix simulation of primitiveHighBit by sending #numSmallIntegerTagBits to the objectMemory which knows this kind of memory layout detail.

While at it, change the order of BSR registers maskReg -> destReg, like any other CogRTLOpcodes, rather than destReg <- maskReg.

by Nicolas Cellier (nicolas.cellier.aka.nice@gmail.com) at February 17, 2020 08:44 PM

Tools-ct.943

Adds shortcut <cmd>v for pasting morph from PasteBuffer.

by Christoph Thiede (Christoph.Thiede@student.hpi.uni-potsdam.de) at February 17, 2020 08:09 PM

Collections-ct.877

Extends and realigns version of #findFirst: and #findLast:.

Second, optimized version after many helpful comments by Levente (ul). Thank you!
Replaces Collections-ct.875.

---

Performance analysis:

#findFirst: - '238 per second. 4.2 milliseconds per run. 0.73956 % GC time.'
#findFirst:startingAt: - '1,510 per second. 660 microseconds per run. 1.56 % GC time.'
#findFirst:startingAt:ifNone: - '1,210 per second. 828 microseconds per run. 2.06 % GC time.'
#findFirst:ifNone: - '214 per second. 4.68 milliseconds per run. 0.65987 % GC time.'
#findLast: - '210 per second. 4.76 milliseconds per run. 0.66 % GC time.'
#findLast:startingAt: - '1,380 per second. 724 microseconds per run. 1.72 % GC time.'
#findLast:startingAt:ifNone: - '1,130 per second. 887 microseconds per run. 2 % GC time.'
#findLast:ifNone: - '206 per second. 4.86 milliseconds per run. 0.81967 % GC time.'

Comparing to previous version:

#findFirst: - '193 per second. 5.19 milliseconds per run. 0.5994 % GC time.' (NOW 23.3% faster)
#findLast: - '213 per second. 4.69 milliseconds per run. 0.71986 % GC time.' (NOW 1.4% slower)
#findLast:startingAt: - '1,360 per second. 736 microseconds per run. 1.72 % GC time.' (NOW 1.4% faster)

Measurements code:

random := Random new.
range := 1 to: 256.
array := (1 to: 128) collect: [:i | range atRandom: random].
values := (1 to: 4096) collect: [:i | range atRandom: random].

({
#findFirst: -> [
values do: [:x |
array findFirst: [:y | x = y]]].
#findFirst:startingAt: -> [
values pairsDo: [:x :s |
array findFirst: [:y | x = y] startingAt: s]].
#findFirst:ifNone: -> [
values do: [:x |
array findFirst: [:y | x = y] ifNone: [123456789 sqrt]]].
#findFirst:startingAt:ifNone: -> [
values pairsDo: [:x :s |
array findFirst: [:y | x = y] startingAt: s ifNone: [123456789 sqrt]]].
#findLast: -> [
values do: [:x |
array findLast: [:y | x = y]]].
#findLast:startingAt: -> [
values pairsDo: [:x :s |
array findLast: [:y | x = y] startingAt: s]].
#findLast:ifNone: -> [
values do: [:x |
array findLast: [:y | x = y] ifNone: [123456789 sqrt]]].
#findLast:startingAt:ifNone: -> [
values pairsDo: [:x :s |
array findLast: [:y | x = y] startingAt: s ifNone: [123456789 sqrt]]].
}
select: [:assoc | array respondsTo: assoc key])
collect: [:assoc | assoc key -> assoc value bench] as: Dictionary

by Christoph Thiede (Christoph.Thiede@student.hpi.uni-potsdam.de) at February 17, 2020 07:57 PM

Morphic-ct.1627

Removes #wantsHaloFromClick specialization for MenuItemMorph

This was an annoying restriction because it made it impossible to "browse button action" or "debug action invocation" of a menu with one item only.

by Christoph Thiede (Christoph.Thiede@student.hpi.uni-potsdam.de) at February 17, 2020 07:21 PM

Kernel-nice.1295

Fast-up isAnExactFloat.
Correct a typo in a comment.

by Nicolas Cellier (nicolas.cellier.aka.nice@gmail.com) at February 17, 2020 05:59 PM

Morphic-nice.1625

Free our mind from un-initialized LayoutFrame. There should not be any such thing.

Require Graphics-nice.425

by Nicolas Cellier (nicolas.cellier.aka.nice@gmail.com) at February 17, 2020 04:19 PM

Kernel-ct.1298

Fixes a simulation bug regarding #doesNotUnderstand:. Don't forget to indicate the correct lookup class.

Steps to reproduce this bug:
1. Debug "42 foo"
2. Step over
The debugger label was: 'MessageNotUnderstood: nil>>foo'.

February 17, 2020 03:48 PM

Graphics-nice.425

Expunge the nil protection out of the LayoutFrame.

Those additional states (to be or not to be nil...) are gratuitous complexifications. YAGNI.
Let's initialize all inst var to zero instead.
This will provide a reasonable default (the least surprising one).

leftOffset = rightOffset = 0 ==> pure proportional layout (no nil offset required).

leftFraction = rightFraction ==> pure absolute layout (no nil fraction required)

all zero ==> empty layout.

Every other combination is possible.

by Nicolas Cellier (nicolas.cellier.aka.nice@gmail.com) at February 17, 2020 03:45 PM

Morphic-mt.1624

Fixes three (hi-dpi / demo mode) scaling issues:
(1) selected icon in docking bars
(2) box replacement in windows (thanks to Christoph (ct)!)
(3) full-screen icon in world main docking bar.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at February 17, 2020 03:18 PM

System-mt.1132

Fixes scaling bug due to invalidation of (recently introduced) cache for ScaleFactor.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at February 17, 2020 03:16 PM

Graphics-ct.426

Repairs LayoutFrame>>printOn:

Fractions are expected to be nil in certain situations. It would not be correct to treat every nil as zero, see #minWidthFrom: as an example. This commit also hides zero offsets.

February 17, 2020 02:52 PM

squeaksource.com

Git-tonyg.45

Only notify addition/removal of a repo if there actually was a change

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at February 17, 2020 01:36 PM

source.squeak.org

Compiler-ct.420

Small refactoring: Use SmalltalkImage >> #classNamed: instead of #at:

Replaces Compiler-ct.418, which can be rejected. Thanks for the hint on the right protocol.

by Christoph Thiede (Christoph.Thiede@student.hpi.uni-potsdam.de) at February 17, 2020 09:27 AM

Kernel-ct.1298

Documents the small but essential difference between #sendTo: and #sentTo:

Refactored against Kent's Type Suggesting Parameter Name idiom. Thanks to Chris for the reminder!

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

PreferenceBrowser-ct.103

Fixes a bug that made it impossible to open a ServiceBrowser when a regular PreerenceBrowser was opened before. Thanks to Jakob for the report!

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at February 17, 2020 09:00 AM

squeaksource.com

Git-tonyg.44

GitRepositoryCache clearCaches

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at February 17, 2020 08:17 AM

Git-tonyg.43

GitTaglikeObject contributor

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at February 17, 2020 08:15 AM

Git-tonyg.42

Decode strings as UTF-8 instead of ASCII (!!!).

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at February 17, 2020 08:15 AM

February 16, 2020

source.squeak.org

PreferenceBrowser-dtl.100

Use Installer rather than MCMcmUpdater for OSProcess/CommandShell installation

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

Tools-ct.942

Small refactoring of ObjectExplorer menu keys and a little bit documentation.

by Christoph Thiede (Christoph.Thiede@student.hpi.uni-potsdam.de) at February 16, 2020 04:38 PM

Kernel-ct.1300

Fix multiple typos in BlockClosure and FullBlockClosure documentation

February 16, 2020 03:54 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 Christoph Thiede (Christoph.Thiede@student.hpi.uni-potsdam.de) at February 16, 2020 03:48 PM

squeaksource.com

PunchedCards-dtl.7

Save Morphic-PunchedCards-dtl.6 as package PunchedCards to avoid conflict with Morphic package. No changes other than package name.

Name: Morphic-PunchedCards-dtl.6
Author: dtl
Time: 27 August 2004, 1:37:57 pm
UUID: 603455d4-7c3f-4557-81d1-246012050f70
Ancestors: Morphic-PunchedCards-dtl.5

Name: Morphic-PunchedCards-dtl.3
Author: dtl
Time: 23 August 2004, 9:53:16 pm
UUID: 99fb9f01-03ec-4e45-9051-89adafbad992
Ancestors: Morphic-PunchedCards-dtl.2

'From Squeak3.7beta of ''1 April 2004'' [latest update: #5923] on 23 August 2004 at 5:54:49 am'!
Change Set: PunchedCard-new
Date: 21 August 2004
Author: David T. Lewis

Updated Bob Arning's PunchedCard morph for Squeak 3.7, and added a few embellishments.

Recategorized methods
Added #handlesKeyboard:
Added programmable punching
Added #openWith:
Added #punchFromString:
Speeded up Punchy class
Added keyboard handlers for <home>, <end>, left arrow, right arrow

by Dave Lewis (lewis@mail.msen.com) at February 16, 2020 03:28 PM

source.squeak.org

Kernel-ct.1299

Refactor #valueSupplyingAnswers::

- Don't reinvent the wheel of Exception >> #pass
- Use #ifError:

See also http://forum.world.st/The-Trunk-Kernel-mt-1283-mcz-td5107403.html.

February 16, 2020 03:26 PM

PreferenceBrowser-dtl.99

Update PreferenceWizardMorph>>installOSProcess to install OSProcess and CommandShell. Requires MonticelloConfigurations-dtl.158. Metacello is not required, just load the latest versions developed in and for Squeak.

by David T. Lewis (lewis@mail.msen.com) at February 16, 2020 03:13 PM

MonticelloConfigurations-dtl.157

Follow up on an old TODO reminder to remove an unused class var and its initialization. This was used during update stream conversion and is no longer relevant.

by David T. Lewis (lewis@mail.msen.com) at February 16, 2020 03:13 PM

MonticelloConfigurations-dtl.158

Allow an MCMcmUpdater to bypass UI updates when not interactive. Force transcript to open, and present concluding OK dialog, only if interactive.

by David T. Lewis (lewis@mail.msen.com) at February 16, 2020 03:13 PM

Compiler-ct.419

Adds Compiler >> #compiledMethodFor:in:to:environment:notifying:ifFail: with new environment argument.

by Christoph Thiede (Christoph.Thiede@student.hpi.uni-potsdam.de) at February 16, 2020 02:53 PM

Compiler-ct.418

Small refactoring: Use SmalltalkImage >> #at:ifPresent:ifAbsent:.

by Christoph Thiede (Christoph.Thiede@student.hpi.uni-potsdam.de) at February 16, 2020 02:49 PM

Help-Squeak-Project-ct.78

Adds non-exhaustive statements of #defaultPageKey to various help topics

Complements HelpSystem-Core-ct.125.

February 16, 2020 02:46 PM

Collections-ct.876

Fixes a typo in #withFirstCharacterDownshifted

February 16, 2020 02:38 PM

CollectionsTests-ct.334

Tests #findFirst: and #findLast: versions. Complements Collections-ct.875.

February 16, 2020 02:33 PM

Collections-ct.875

Extends and realigns version of #findFirst: and #findLast:.

February 16, 2020 02:32 PM

Morphic-jr.1623

Fix occasional subscript error with balloon help for messages in filtered message lists

Either the hoverRow or its model index could be zero when the balloon was eventually displayed and after the hoverRow > 0 check.

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

Morphic-mt.1623

Fixes occasional error in lists that want to show the balloon text for items.

Thanks to Jakob (jr) for the tip!

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at February 16, 2020 11:30 AM

Services-Base-jr.68

Small discoverability fixes to services class comments.

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

February 15, 2020

source.squeak.org

Kernel-ct.1298

Documents the small but essential difference between #sendTo: and #sentTo:

Refactored against Kent's Type Suggesting Parameter Name idiom. Thanks to Chris for the reminder!

February 15, 2020 08:30 PM

February 14, 2020

source.squeak.org

MorphicExtras-mt.270

For Etoys. Fixes scaling, positioning, and closing of sketch editor (and paint box).

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

Morphic-mt.1622

Fixes more icon scaling bugs, which I discovered by testing Etoys (and the demo mode).

(Note that all those #scaleIconToDisplay sends can easily be located through the senders tool and later be corrected once we find better way of scaling things up for high-dpi displays. It is also a nice way of documenting those hard-coded values. ^__^)

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at February 14, 2020 02:54 PM

squeaksource.com

Git-tonyg.41

GitTagLike messageSummary

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at February 14, 2020 08:33 AM

February 13, 2020

squeaksource.com

Collections.V3-dtl.873

No change, method was apparently already moved to Tools in this update stream.

Name: Collections-topa.873
Author: topa
Time: 11 February 2020, 1:29:50.690328 pm
UUID: 45abc260-998e-4352-89cb-2e33b4f4b59c
Ancestors: Collections-ul.872

Fix browser-dependency of Collections

by Dave Lewis (lewis@mail.msen.com) at February 13, 2020 11:31 PM

Git-tonyg.40

Fix (?) recording of renames in diffs

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at February 13, 2020 04:08 PM

source.squeak.org

HelpSystem-Core-mt.119

Fixes window title for help browsers to behave like other browsers, i.e., the system (code) browser. Makes window listing more useful. See screenshot.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at February 13, 2020 01:25 PM

Monticello-dtl.710

Let the well-known repository URLs be class variables. Allows ReleaseBuilder to work cleanly with a location other http://source.squeak.org.trunk, e.g. http://www.squeaksource.com/TrunkUpdateStreamV3

by David T. Lewis (lewis@mail.msen.com) at February 13, 2020 12:59 PM

Morphic-mt.1620

Adds documentation to that modal-dialog issue related to restoring the mouse focus after dialog invocation.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at February 13, 2020 12:50 PM

MonticelloConfigurations-dtl.157

Follow up on an old TODO reminder to remove an unused class var and its initialization. This was used during update stream conversion and is no longer relevant.

by David T. Lewis (lewis@mail.msen.com) at February 13, 2020 12:48 PM

Tools-mt.939

In debuggers, fixes the bug that occurred when fullStackSize is smaller than notifierStackSize.

Such a configuration is not useful but can happen when those preferences are changed independently for different reasons.

(Also completes a move-method from that merge in Help-Squeak-Project-mt.74)

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at February 13, 2020 12:37 PM

squeaksource.com

Git-tonyg.39

Comparison of GitObjectName by sha1String

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at February 13, 2020 10:40 AM

source.squeak.org

EToys-ct.363

Complements Tools-ct.902 (deprecate Inspector constructors)

by Tobias Pape (tobias+squeaksource@netshed.de) at February 13, 2020 08:43 AM

Tools-ct.938

Overrides #canonicalArgumentName for Text. You don't want to get a generated method stub such as 'setText: anArray'.

by Tobias Pape (tobias+squeaksource@netshed.de) at February 13, 2020 08:42 AM

squeaksource.com

Git-tonyg.38

Small fixes for resolveLooseRef:.

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at February 13, 2020 07:28 AM

source.squeak.org

Tools-ct.940

Proposal: tool icon for Model

by Christoph Thiede (Christoph.Thiede@student.hpi.uni-potsdam.de) at February 13, 2020 12:23 AM

February 12, 2020

source.squeak.org

EToys-ct.377

Remove missspelled extension selector from FilePath. The thing is named #converter: and already located in Files with exactly the same implementation.

by Christoph Thiede (Christoph.Thiede@student.hpi.uni-potsdam.de) at February 12, 2020 11:27 PM

Tools-ct.939

Refines debugger's category dialog again, combining it with the benefits of #defaultCategoryForSelector:. Depends on Tools-ct.932 and Kernel-ct.1285.

by Christoph Thiede (Christoph.Thiede@student.hpi.uni-potsdam.de) at February 12, 2020 11:23 PM

squeaksource.com

Collections.V3-dtl.872

Name: Collections-topa.873
Author: topa
Time: 11 February 2020, 1:29:50.690328 pm
UUID: 45abc260-998e-4352-89cb-2e33b4f4b59c
Ancestors: Collections-ul.872

Fix browser-dependency of Collections

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

Collections.V3-dtl.871

Name: Collections-ul.872
Author: ul
Time: 4 February 2020, 1:26:07.104018 pm
UUID: 735423f6-6dbb-4f4a-b2a7-f311cc7e8806
Ancestors: Collections-nice.870

Various performance tweaks in a single commit:

- be straightforward in Dictionary >> #fillFrom:with:
- when aCollection is a Dictionary use #associationsDo:, as it very likely it has associations, and it's faster than #keysAndValuesDo:
- when it's not a Dictionary, use #do: instead of #associationsDo:, because the former is what we can expect a Collection to implement

- use existing search methods in String >> #findDelimiters:startingAt:, because those are faster, and there's no need to reinvent the wheel. All users other than #findTokens:* should be rewritten to use #indexOfAnyOf:* instead.

- almost twice as fast (amortized cost) Symbol >> #lookup: for existing symbols

(Same as Collections-ul.869 in the Treated Inbox but with updated Trunk ancestry.)

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

System.V3-dtl.1131

Name: System-cmm.1131
Author: cmm
Time: 24 January 2020, 10:29:33.137608 pm
UUID: e1008e87-2bc1-4149-8890-2543885b48d7
Ancestors: System-cmm.1129

Fix Community (dark) theme balloons not easily seen due to matching color on MC and SqueakMap browsers.

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

source.squeak.org

Morphic-kfr.1619

Bug fix for spelling error of #spaceFill

by Nicolas Cellier (nicolas.cellier.aka.nice@gmail.com) at February 12, 2020 09:58 PM

squeaksource.com

Git-tonyg.37

Many fixes and structural improvements

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at February 12, 2020 03:51 PM

Git-tonyg.36

Object cache

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at February 12, 2020 02:35 PM

Git-tonyg.35

More robust loose ref reading

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at February 12, 2020 12:23 PM

Git-tonyg.34

Tag chain resolution

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at February 12, 2020 12:22 PM

Actors-tonyg.99

Add hook for SingletonActor instance customization.

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at February 12, 2020 12:22 PM

Git-tonyg.33

localTags; packed tags

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at February 12, 2020 11:40 AM

Git-tonyg.32

Handle submodule changes in diff building

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at February 12, 2020 10:39 AM

Git-tonyg.31

Submodule GitTreeEntry type code.

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at February 12, 2020 09:39 AM

Git-tonyg.30

GitRepositoryCache>>objectAt:ifPresent:ifAbsent:

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at February 12, 2020 09:38 AM

Git-tonyg.29

GitDiskRepository comparison.

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at February 12, 2020 09:38 AM

February 11, 2020

source.squeak.org

Network-eem.239

Use withoutDuplicates for what it was intended for. Thanks to Timothy for the reminder.

February 11, 2020 11:44 PM

squeaksource.com

Git-tonyg.28

Usability improvements and fixes

February 11, 2020 09:05 PM

source.squeak.org

VMMakerUI-eem.20

Add StackInterpreterSimulator set break block...

by Eliot Miranda (eliot.miranda@gmail.com) at February 11, 2020 07:31 PM

VMMaker.oscog-eem.2710

Cogit: remove some references to BytesPerOop in Lowcode. There are still lots of references to BytesPerWord we would like to rewrite to objectMemory bytesPerWord. The issue is that using the messages allows us to have 32-bit and 64-bit images open side-by-side and at least have printing working.

SitackInterpreterSimulator:
Fix a bug in endPCOf: that hence fixes symbolicMethod:
Provide a breakBlock somewhat similar to the CogVMSimulator's
Have StackInterpreterSimulator>>close close attendant debuggers a la CogVMSimulator
Update the arg name in CogVMSimulator>>setBreakBlockFromString:

by Eliot Miranda (eliot.miranda@gmail.com) at February 11, 2020 07:29 PM

Cog-eem.400

Ecstacy: M SpurMtoNBitImageConverter>>alterSystem
D SpurMtoNBitImageConverter>>flipWordSize
A SpurMtoNBitImageConverter>>nilWordSize

Have the converter properly void SmalltalkImage classPool at: #WordSize.
We want to void it rather than nil it so that we know that we have some signal of being in a newly converted image. It takes an insignificant amoputn of tme to compute WordSize the first timne, and having this hook could be useful for applications that introduce word-size dependencies the image converters are ignorant of.

by Eliot Miranda (eliot.miranda@gmail.com) at February 11, 2020 07:25 PM

Cog-eem.399

Committing somethign the change history describes afurately:

M SpurMtoNBitImageConverter>>alterSystem
A SpurMtoNBitImageConverter>>flipWordSize
D SpurMtoNBitImageConverter>>nilWordSize

This just to record the idea

by Eliot Miranda (eliot.miranda@gmail.com) at February 11, 2020 07:22 PM

Collections-ct.874

Adds constructors for PluggableDictionary and PluggableSet. This is also a useful way to document the aspect that you should not specify an equal block without a hash block.

by Christoph Thiede (Christoph.Thiede@student.hpi.uni-potsdam.de) at February 11, 2020 06:25 PM

Collections-topa.873

Fix browser-dependency of Collections

by Tobias Pape (tobias+squeaksource@netshed.de) at February 11, 2020 12:29 PM

Tools-topa.931

Fix browser-dependency of Collections

by Tobias Pape (tobias+squeaksource@netshed.de) at February 11, 2020 12:29 PM

February 10, 2020

source.squeak.org

Help-Squeak-Project-topa.78

Avoid dependencies from the Help to all over the place Classes.
That way, only examples are shown that can actually be browsed in the image.


Transformation used:

org := Scanner new scanTokens: SqueakMessageCategoriesHelp organization asString.
[SqueakMessageCategoriesHelp copyOfMethodDictionary
keysAndValuesDo:
[:selector :method | | source old new|
source := method getSource asString lines.
[old := source allButLast.
new := source last.
new withBlanksTrimmed isEmpty] whileTrue: [source := old].
new := new copyWithRegex: '\<(:isUppercase::isAlphaNumeric:*)>>' matchesTranslatedUsing: [:each | '#', each ].
new := new copyWithRegex: '\<(:isUppercase::isAlphaNumeric:*) class' matchesTranslatedUsing: [:each | '#''', each, ''''].
new := new copyReplaceAll: '>>' with: ' -> '.
source last = new
ifFalse: [ | code |
code := (old copyWith: new) joinSeparatedBy: String cr.
SqueakMessageCategoriesHelp compile: code]]
] ensure: [SqueakMessageCategoriesHelp organization changeFromCategorySpecs: org]

by Tobias Pape (tobias+squeaksource@netshed.de) at February 10, 2020 11:04 PM

February 04, 2020

source.squeak.org

Morphic-kfr.1620

Enhancement for PolygonMorph. When a vertex is dropped it will snap if it is close to another PolygonMorphs vertex. It is possible to toggle functionality on/ off in menu

February 04, 2020 06:54 PM

Morphic-kfr.1620

Enhancement for PolygonMorph. When a vertex is dropped it will snap if it is close to another PolygonMorphs vertex. It is possible to toggle functionality on/ off in menu

by Karl Ramberg (karlramberg@gmail.com) at February 04, 2020 06:48 PM

System-ct.1135

Adds common request string ActiveHand resumeAfterDrawError.

February 04, 2020 05:53 PM

System-ct.1134

Fixes dangling reference in common request strings.

February 04, 2020 05:38 PM

Compiler-ul.307

Set literal limit to 32767.

by Levente Uzonyi (leves@caesar.elte.hu) at February 04, 2020 01:42 PM

Collections-ul.872

Various performance tweaks in a single commit:

- be straightforward in Dictionary >> #fillFrom:with:
- when aCollection is a Dictionary use #associationsDo:, as it very likely it has associations, and it's faster than #keysAndValuesDo:
- when it's not a Dictionary, use #do: instead of #associationsDo:, because the former is what we can expect a Collection to implement

- use existing search methods in String >> #findDelimiters:startingAt:, because those are faster, and there's no need to reinvent the wheel. All users other than #findTokens:* should be rewritten to use #indexOfAnyOf:* instead.

- almost twice as fast (amortized cost) Symbol >> #lookup: for existing symbols

(Same as Collections-ul.869 in the Treated Inbox but with updated Trunk ancestry.)

by Levente Uzonyi (leves@caesar.elte.hu) at February 04, 2020 12:27 PM

Collections-ul.869

Various performance tweaks in a single commit:

- be straightforward in Dictionary >> #fillFrom:with:
- when aCollection is a Dictionary use #associationsDo:, as it very likely it has associations, and it's faster than #keysAndValuesDo:
- when it's not a Dictionary, use #do: instead of #associationsDo:, because the former is what we can expect a Collection to implement

- use existing search methods in String >> #findDelimiters:startingAt:, because those are faster, and there's no need to reinvent the wheel. All users other than #findTokens:* should be rewritten to use #indexOfAnyOf:* instead.

- almost twice as fast (amortized cost) Symbol >> #lookup: for existing symbols

by Levente Uzonyi (leves@caesar.elte.hu) at February 04, 2020 12:22 PM

squeaksource.com

ClosedVMMaker-eem.77

ARMv8: Add support for cache flushing in the dual mapped regime.

by Eliot Miranda (eliot.miranda@gmail.com) at February 04, 2020 04:45 AM

February 03, 2020

squeaksource.com

Git-tonyg.27

localBranches

February 03, 2020 12:59 PM

Actors-tonyg.98

Avoid non-Pharo scaledIdentityHash method.

February 03, 2020 10:56 AM

Actors-tonyg.97

Squeak's compiler special-cases sends of #future and #future:, so inline manually here to avoid this while still supporting the Pharo port.

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at February 03, 2020 10:40 AM

Actors-Pharo-tonyg.3

Port FutureMaker from Squeak.

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at February 03, 2020 10:34 AM

Actors-tonyg.96

Change ActorProxy to forward #future/#future: via #sync.

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at February 03, 2020 10:33 AM

Actors-tonyg.95

SingletonActor

February 03, 2020 09:55 AM

ConfigurationOfVistaCursors-TorstenBergmann.11

add Pharo 9

February 03, 2020 07:39 AM

ClosedVMMaker-eem.76

ARMv8: Fix a coupel of Slang warnings.

by Eliot Miranda (eliot.miranda@gmail.com) at February 03, 2020 02:47 AM

ClosedVMMaker-eem.75

ARMv8: Access Load[C]StackPointers SaveStackPointers via ldp/stp MoveAwRR/MoveRRAw

by Eliot Miranda (eliot.miranda@gmail.com) at February 03, 2020 01:42 AM

February 02, 2020

squeaksource.com

ClosedVMMaker-eem.74

ARMv8: Add NativePopRR and NativePushRR to map to stp/lpd and use them to implement genRestoreRegs: & genSaveRegs:. 3+4 now simulates in the REPL image, but TestRunner open! craps out in an enilopmart with rump C stack overflow. Getting close to a working substitute stack pointer regime!

by Eliot Miranda (eliot.miranda@gmail.com) at February 02, 2020 01:36 AM

February 01, 2020

squeaksource.com

ClosedVMMaker-eem.73

ARMv8:
Use a substitute SPReg to avoid the ABI's hard 16-byte stack pointer alignment requirement (if SA0 bit set in SCTLR_EL1, which it typically is).
Have the GdbARMv8Alien report violations via reportStackAlignmentVolation

by Eliot Miranda (eliot.miranda@gmail.com) at February 01, 2020 10:46 PM

System.V3-dtl.1130

Name: System-cmm.1131
Author: cmm
Time: 24 January 2020, 10:29:33.137608 pm
UUID: e1008e87-2bc1-4149-8890-2543885b48d7
Ancestors: System-cmm.1129

Fix Community (dark) theme balloons not easily seen due to matching color on MC and SqueakMap browsers.

by Dave Lewis (lewis@mail.msen.com) at February 01, 2020 10:24 PM

Git-tonyg.26

Remove unused method

February 01, 2020 07:09 PM

Git-tonyg.25

Initial stab at retrieving repo's refs

February 01, 2020 07:09 PM

Git-tonyg.24

Initial .git/config reading support

February 01, 2020 07:08 PM

January 31, 2020

squeaksource.com

VMConstruction-Plugins-OSProcessPlugin.oscog-dtl.67

Merge from VMConstruction-Plugins-OSProcessPlugin-dtl.47
Add UnixOSProcessPlugin>>primitiveSpaceForByteSizeInDirectoryPath.
Given a file size requirement in bytes, and a path specifying a location within a file system, answer true if that file system has sufficient free space to save a file of that size. The file size parameter must be a SmallInteger (not LargePositiveInteger) and the directory path is a string. This primitive is entended as a guard to protect against saving an image file when the file system is full.

by Dave Lewis (lewis@mail.msen.com) at January 31, 2020 03:49 PM

OSProcess-Win32-dtl.18

OSProcess 4.6.16
Add OSProcessAccessor>>spaceFor:inDirectoryPath:.
Answers true if a specified file system has sufficient space to support writing a file of a given size. Requires OSProcessPlugin #primitiveSpaceForByteSizeInDirectoryPath support.

by Dave Lewis (lewis@mail.msen.com) at January 31, 2020 04:54 AM

OSProcess-Unix-dtl.34

OSProcess 4.6.16
Add OSProcessAccessor>>spaceFor:inDirectoryPath:.
Answers true if a specified file system has sufficient space to support writing a file of a given size. Requires OSProcessPlugin #primitiveSpaceForByteSizeInDirectoryPath support.

by Dave Lewis (lewis@mail.msen.com) at January 31, 2020 04:52 AM

OSProcess-Unix-dtl.34

OSProcess 4.6.16
Add OSProcessAccessor>>spaceFor:inDirectoryPath:.
Answers true if a specified file system has sufficient space to support writing a file of a given size. Requires OSProcessPlugin #primitiveSpaceForByteSizeInDirectoryPath support.

by Dave Lewis (lewis@mail.msen.com) at January 31, 2020 04:51 AM

OSProcess-Base-dtl.68

OSProcess 4.6.16
Add OSProcessAccessor>>spaceFor:inDirectoryPath:.
Answers true if a specified file system has sufficient space to support writing a file of a given size. Requires OSProcessPlugin #primitiveSpaceForByteSizeInDirectoryPath support.

by Dave Lewis (lewis@mail.msen.com) at January 31, 2020 04:49 AM

OSProcess-dtl.114

OSProcess 4.6.16
Add OSProcessAccessor>>spaceFor:inDirectoryPath:.
Answers true if a specified file system has sufficient space to support writing a file of a given size. Requires OSProcessPlugin #primitiveSpaceForByteSizeInDirectoryPath support.

by Dave Lewis (lewis@mail.msen.com) at January 31, 2020 04:48 AM

VMConstruction-Plugins-OSProcessPlugin-dtl.47

OSProcessPlugin 4.6.5
Add UnixOSProcessPlugin>>primitiveSpaceForByteSizeInDirectoryPath.
Given a file size requirement in bytes, and a path specifying a location within a file system, answer true if that file system has sufficient free space to save a file of that size. The file size parameter must be a SmallInteger (not LargePositiveInteger) and the directory path is a string. This primitive is entended as a guard to protect against saving an image file when the file system is full.

by Dave Lewis (lewis@mail.msen.com) at January 31, 2020 04:35 AM

ClosedVMMaker-eem.72

Fix signed/unsigned issue in isInImmediateBranchRange:

by Eliot Miranda (eliot.miranda@gmail.com) at January 31, 2020 12:30 AM

January 30, 2020

squeaksource.com

ClosedVMMaker-eem.71

ARMv8: Eliminate compilation warnings, eliminate duplication (concretizeAndCqRDest: => concretizeLogicalOp:CqRDest:), and prevent some inlining (for debugging). Fix Slang bugs with isImmNImmSImmREncodableBitmask:ifTrue:ifFalse: & decode64Imms:immr:(the algorithms assume unsigned types).

by Eliot Miranda (eliot.miranda@gmail.com) at January 30, 2020 10:49 PM

ClosedVMMaker-eem.70

ARMv8: Slang. Fix several C compiler warnings. Agree with VMMaker.oscog-eem.2686 w.r.t. inlineCacheValueForSelector:in:

by Eliot Miranda (eliot.miranda@gmail.com) at January 30, 2020 12:25 AM

January 27, 2020

squeaksource.com

Actors-tonyg.89

Steps toward a common Pharo/Squeak codebase.

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at January 27, 2020 08:54 AM

Actors-tonyg.90

thisContext asMessage is missing in Pharo.

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at January 27, 2020 08:54 AM

Actors-tonyg.91

Avoid use of `future`, using a new Promise extension for deferred UI work instead

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at January 27, 2020 08:54 AM

January 24, 2020

squeaksource.com

Actors-Pharo-tonyg.2

Fix SharedQueue2 extensions (they should come from Actors, not from this package).

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at January 24, 2020 07:57 PM

Actors-Pharo-tonyg.1

Pharo support code (Promise, SharedQueue2) for port of Squeak's Actors package.

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at January 24, 2020 07:53 PM

Compiler.V3-dtl.416

Name: Compiler-eem.416
Author: eem
Time: 18 January 2020, 5:39:19.465227 pm
UUID: dc1deb74-569c-4fab-8b57-c4513cbead96
Ancestors: Compiler-ct.415

Fix compiler bug with cascaded caseOf:[otherwise:] nodes. When an optimized block form is used in a cascade the form's message is sent ensureCanCascade:, whicharranges to send deoptimize to any and all previously optimized blocks in the form. The bug was that ensureCanCascade: failed to identify the brace node in the optimized caseOf:[otherwise:] form and hence neglected to deoptimize the blocks in the case. The fix is to provide both an isBraceNode to make it easy for ensureCanCascade: to identify braces, and BraceNode>>deoptimize: to do the work.

by Dave Lewis (lewis@mail.msen.com) at January 24, 2020 07:07 PM

Compiler.V3-dtl.415

Name: Compiler-ct.415
Author: ct
Time: 17 January 2020, 1:51:09.030813 pm
UUID: 8c7af075-6a3d-c54b-87a8-135580d7ec7c
Ancestors: Compiler-mt.413

Fixes a compiler bug that occured when sending a cascade to a block, caused by trouble with copies in Parser >> cascade. Each message of a cascade must be able to access the same instance of the cascadeReceiver in order to perform possible transformations. This bug is also tested in Tests-ct.425. Please revise carefully. Replaces Compiler-ct.414.

Furthermore, this commit refines the documentation of #blockExtent and fixes several spelling errors in the class comment of BlockNode (featuring Grammarly).

Thanks to Eliot & Nicolas for their support! For more information, see: http://forum.world.st/BUG-Cannot-compile-cascade-sent-to-block-td5108942.html

by Dave Lewis (lewis@mail.msen.com) at January 24, 2020 07:06 PM

Kernel.V3-dtl.1293

Name: Kernel-tonyg.1293
Author: tonyg
Time: 24 January 2020, 3:42:53.891725 pm
UUID: 818c88e4-7f2f-473a-ace7-e286013c078e
Ancestors: Kernel-nice.1292

Repair minor bug in Promise>>resolveWith:.

by Dave Lewis (lewis@mail.msen.com) at January 24, 2020 07:03 PM

January 23, 2020

squeaksource.com

ClosedVMMaker-eem.64

ARMv8: Alas IC_IALLU & IC_IALLUIS are only available from EL1 or higher. Simplify and shorten ceFlushICache as a result.

by Eliot Miranda (eliot.miranda@gmail.com) at January 23, 2020 04:45 PM

FillGame-kfr.3

gameOver state variable. Flash leds when game over

January 23, 2020 01:40 PM

ClosedVMMaker-eem.63

Have generateICacheFlush use IC_IALLUIS for large ranges (>= 1k).
Provide a printer for CTR_EL0.

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

January 22, 2020

squeaksource.com

ClosedVMMaker-eem.62

Parameterise DC & IC by variant. Support all three IC variants. Right now support just the DC CVAU variant. (Have yet to implement the choice between IC_IVAU & IC_IALLU)

by Eliot Miranda (eliot.miranda@gmail.com) at January 22, 2020 01:08 AM

January 21, 2020

squeaksource.com

ClosedVMMaker-eem.61

ARMv8: Revert the crude Alignment changes. Instead, save some instructions in ceFlushICache so that ceCheckFeatures and ceFlushICache fit in the same 16-word cache line. Less is more...

by Eliot Miranda (eliot.miranda@gmail.com) at January 21, 2020 09:45 PM

ClosedVMMaker-eem.60

ARMv8: Align ceFlushICache on a cache line boundary (i.e. ceCheckFeatures gets called precisely once so why allow it to waste cache space on every call; this way ceFlushICache fits in a single cache line).

by Eliot Miranda (eliot.miranda@gmail.com) at January 21, 2020 08:56 PM

ClosedVMMaker-eem.59

ARMv8: Implement machine code ceFlushICache.

Stupidly implement support for AddCqRR when LoadEffectiveAddressMwrR would have sufficed (I forgot :-().

Time to see if this runs on a Raspbery Pi 4 ;-)

by Eliot Miranda (eliot.miranda@gmail.com) at January 21, 2020 08:21 PM

January 16, 2020

squeaksource.com

BarnsleyFern-kfr.11

Remove FillGame

January 16, 2020 02:30 PM

FillGame-kfr.1

Move

January 16, 2020 02:29 PM

January 15, 2020

squeaksource.com

BarnsleyFern-kfr.10

fixing

January 15, 2020 05:42 PM

WarGame-kfr.29

damageReporting fix

January 15, 2020 04:24 PM

WarGame-kfr.28

Work on entity speed

January 15, 2020 04:16 PM

WarGame-kfr.27

add simple demo2

January 15, 2020 03:17 PM

WarGame-kfr.26

Separate out game set up from initialize

January 15, 2020 02:48 PM

BarnsleyFern-kfr.9

Remove a unused method and variable

January 15, 2020 12:40 PM

BarnsleyFern-kfr.8

Move some stuff around

January 15, 2020 11:49 AM

January 14, 2020

squeaksource.com

WarGame-kfr.25

Working on game speed

January 14, 2020 07:50 PM

WarGame-kfr.24

Fix menu pop up and instance var shadowing

January 14, 2020 06:48 PM

January 13, 2020

squeaksource.com

WarGame-kfr.23

comment updated

January 13, 2020 08:16 PM

January 07, 2020

squeaksource.com

ClosedVMMaker-eem.53

ARMv8: Fix concretizeRotateCqR and hence fix small float instantiation and hence get the screen background correct in the suoprreader example.

by Eliot Miranda (eliot.miranda@gmail.com) at January 07, 2020 12:09 AM

January 06, 2020

squeaksource.com

Collections.V3-dtl.869

Name: Collections-fn.869
Author: fn
Time: 3 January 2020, 10:27:08.945712 am
UUID: c29ef38b-f152-468e-bac9-74515c099ac4
Ancestors: Collections-nice.868

Add quick-check for identity to String>>sameAs: (similar to Character>>sameAs:).

Example:
[MenuIcons smallInspectItIconContents sameAs: MenuIcons smallInspectItIconContents] bench

Before:
1,740,000 per second. 574 nanoseconds per run. 0 % GC time.

After:
94,800,000 per second. 10.5 nanoseconds per run. 0 % GC time.

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

Collections.V3-dtl.868

Name: Collections-nice.868
Author: nice
Time: 28 December 2019, 1:23:35.502843 pm
UUID: e4026d16-31b5-430f-8c22-6475db37bb91
Ancestors: Collections-mt.866

Fix RunArrayTest>>testAt2 (testing access out of bounds)

Beware, Text depends on this feature of accessing runs out of bounds, because the characterIndex might be past end.

To avoid problems, transform previous #at: implementation into #atPin: and use that in Text.
#atPin: clamps the index in accessible range.

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

December 31, 2019

squeaksource.com

Collections.V3-dtl.867

Name: Collections-nice.868
Author: nice
Time: 28 December 2019, 1:23:35.502843 pm
UUID: e4026d16-31b5-430f-8c22-6475db37bb91
Ancestors: Collections-mt.866

Fix RunArrayTest>>testAt2 (testing access out of bounds)

Beware, Text depends on this feature of accessing runs out of bounds, because the characterIndex might be past end.

To avoid problems, transform previous #at: implementation into #atPin: and use that in Text.
#atPin: clamps the index in accessible range.

by Dave Lewis (lewis@mail.msen.com) at December 31, 2019 07:47 PM

Kernel.V3-dtl.1291

Name: Kernel-nice.1291
Author: nice
Time: 26 December 2019, 6:56:30.382504 pm
UUID: ba77885c-3a21-4d74-a5a4-ef2c3572e192
Ancestors: Kernel-mt.1290

Make AssertionFailure an Error rather than a Halt.

This change is necessary for at least running the SUnit tests suite, otherwise the DecompilerTests hangs in a debugger...

There was a consensus on this decision in squeak-dev thread last november, so let's just do it:
[squeak-dev] Squeak's AssertionFailure vs. SUnit's TestFailure
http://lists.squeakfoundation.org/pipermail/squeak-dev/2019-November/205039.html

For now, keep it resumable. I don't know if reasonable, but like that, AssertionFailure behavior should be mostly unchanged.

by Dave Lewis (lewis@mail.msen.com) at December 31, 2019 07:45 PM

December 29, 2019

squeaksource.com

ClosedVMMaker-eem.52

ARMv8: Support for GCing embedded literals, and disassembling cog SqueakV3 methods containing blocks.

by Eliot Miranda (eliot.miranda@gmail.com) at December 29, 2019 08:00 PM

December 22, 2019

squeaksource.com

ClosedVMMaker-eem.38

ARMv8: Implement MulRR. Fix pcRelativeAddressAt: for negative offsets (computing newMethod et al in external prims).

by Eliot Miranda (eliot.miranda@gmail.com) at December 22, 2019 03:03 AM

ClosedVMMaker-eem.37

ARMv8, Implement saveAndRestoreLinkRegUsingCalleeSavedRegNotLiveAtPointOfSendAround: so that mcprim calls work.

Simulation:
Handle trapping BR's. Implement the remaining simulated control transfer support.

by Eliot Miranda (eliot.miranda@gmail.com) at December 22, 2019 01:57 AM

December 21, 2019

squeaksource.com

ClosedVMMaker-eem.36

Fix report recent instructions for ARMv8 such that registers are included (we must include pc in integerRegisterState).

by Eliot Miranda (eliot.miranda@gmail.com) at December 21, 2019 10:12 PM