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

October 25, 2020

source.squeak.org

VMMaker.oscog-eem.2853

Cogit: implement the VM lock/unlock funcitons on x86_64. Recategorize x86 processor-specific instruction generators in the correct category. Change the order of fields in 64-bit CogAbstractInstructions to get better packing (affects CogARMv8Instruction).

Compute numTarmpolines correctly for COGMTVM.
Improve the map documentation in initializeAnnotationConstants.

by Eliot Miranda (eliot.miranda@gmail.com) at October 25, 2020 03:04 AM

Cog-eem.413

Update MultiProcessor to current disassembly API.

by Eliot Miranda (eliot.miranda@gmail.com) at October 25, 2020 02:51 AM

October 24, 2020

source.squeak.org

VMMaker.oscog-eem.2852

Refactoring to start reviving CoInterpreterMT.

by Eliot Miranda (eliot.miranda@gmail.com) at October 24, 2020 03:24 AM

Cog-eem.412

Simplifications in set/void register state.
State to revive MultiProcessor.

by Eliot Miranda (eliot.miranda@gmail.com) at October 24, 2020 03:21 AM

October 23, 2020

source.squeak.org

KernelTests-ct.387

Adds regression test for Kernel-ct.1355 (source logging after SyntaxError). Should I invest further complexity into this test for the purpose of keeping the production source logs clean?

October 23, 2020 10:40 PM

Kernel-ct.1355

Fixes source logging when fixing a SyntaxError. In the past, the old source was stored in the logs instead of the new one.

October 23, 2020 10:39 PM

Kernel-ct.1354

empty log message

October 23, 2020 10:18 PM

Tests-ct.443

Removes unintended mock category from package organization.

October 23, 2020 10:17 PM

Compiler-ct.450

Implements #environment on SyntaxErrorNotification. Sorry I hit the Accept button to soon...

October 23, 2020 10:16 PM

Tools-ct.1006

Complements Compiler-ct.449 (CompilationCue in SyntaxErrorNotification). Fixes syntax highlighting in SyntaxError window.

October 23, 2020 10:15 PM

Compiler-ct.449

Redesigns SyntaxErrorNotification to hold a CompilationCue instead of 'inClass' and 'code', in orderto allow for recompilation of syntax errors where other compilation parameters have been specified, e.g. context or environment.

For example, the following syntax error could not be resolved before this patch:

Compiler new
evaluate: 'aCue yourself:'
in: thisContext sender
to: thisContext sender receiver.

October 23, 2020 10:12 PM

VMMaker.oscog-eem.2851

CoInterpreterMT: eliminate use of reenterInterpreter, thsi is StackInterpreter only now.

FilePlugin: use methodReturnInteger: rather than methodReturnValue: ... intergerObjectOf::

Simulators: start to simulate the interrupt-driven inputSemaphore input event mechanism (with an egregious hack in ioRelinquishProcessorForMicroseconds: that we can probably get rid of when we understand the code better). The mystery is that the changes here do allow events to get in quickly (e.g. Run tests in a TestRunner) but the screen menu resolutely refuses to appear (?!?!). Move ioGetNextEvent:, queueForwardedEvent: & ioProcessEvents up into StackInterpreter (as doNotGenerate). Use DoubleWordArray for the input event buffer on 64-bits.

by Eliot Miranda (eliot.miranda@gmail.com) at October 23, 2020 09:40 PM

VMMakerUI-eem.29

Provide a much simpler much more ratuional mechanism for squashing duplicate mouse move events in the simulator. Simply peek last and update the last event's position if it's a duplicate of the next event.

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

System-mt.1185

Promote annotation requests to be a pragma preference. Needs PreferenceBrowser-mt.108.

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

PreferenceBrowser-mt.108

Make views on text prefs more flexible to support, for example, arrays with literals.

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

Tools-mt.1007

Make format of "unknown author" match "no timestamp".

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

System-mt.1184

Fixes inverted author index to be case-sensitive to improve lookup quality for overlaps such as "JM" and "jm".

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

ReleaseBuilder-mt.213

Tools-mt.1006

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

System-mt.1183

Complements Tools-mt.1006

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

squeaksource.com

SBE-Quinto-a.1

empty log message

by zhang0xin (313366084@qq.com) at October 23, 2020 02:08 AM

October 21, 2020

source.squeak.org

Compiler-tobe.448

Report pc for closureCreationNodes of full blocks

See BlockNode>>#emitCodeForValue:encoder: for the analogous call without full blocks

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

MonticelloConfigurations-mt.163

Restore default name for update map to be 'update'. Not sure whether this one should also be ensured in ReleaseBuilder.

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

October 20, 2020

source.squeak.org

Tools-eem.1005

Have the Workspace thang deal with both ,text and .txt

by Eliot Miranda (eliot.miranda@gmail.com) at October 20, 2020 04:36 AM

Morphic-eem.1705

...and remember to track the target directory if it is changed.

by Eliot Miranda (eliot.miranda@gmail.com) at October 20, 2020 12:56 AM

Morphic-eem.1704

Integrate Javier Diaz-Reinoso's kindly contributed improvement to Workspace file editing.

by Eliot Miranda (eliot.miranda@gmail.com) at October 20, 2020 12:18 AM

Tools-eem.1004

Integrate Javier Diaz-Reinoso;s kindly contributed improvement to Workspace file editing.

by Eliot Miranda (eliot.miranda@gmail.com) at October 20, 2020 12:17 AM

October 19, 2020

source.squeak.org

VMMaker.oscog-eem.2850

Have the interpreters include sqImageFileAccess.h directly so that sq.h doesn't have to, and hence the entire VM isn't recompiled whenever sqImageFileAccess.h does.

Fix some C compiler warnings around invalidCompactClassError:.

by Eliot Miranda (eliot.miranda@gmail.com) at October 19, 2020 05:28 PM

VMMaker.oscog-eem.2849

And have the flags not recognised by a specific VM still get recorded in imageHeaderFlags, so set parameters will get set in the image header.

by Eliot Miranda (eliot.miranda@gmail.com) at October 19, 2020 12:32 AM

Tools-tpr.1003

Rework the window label handing of MessageSet/Trace to be a bit more accurate, and to work within the normal style of labels.

Instead of assuming the size of the list passed to the MessageSet/Trace is correct, derive it from the post-processing list. We process the list to remove duplicates, which e.g. the #allUnimplementedCalls method produces.

This required adding an instvar to M-Set, removing one from M-Trace, setting the new one properly, dumping some dodgy code that used to half-assedly derive the old one, use the proper #changed: #windowTitle to, y'know, change the title, and some faffing with the messageList.

As a result we are better placed to make further improvements if/when we develop a way to correctly hightlight multi-part keywords (or indeed, multiple messages) within a single method, which would greatly improve many browsers.

This benefits from being accompanied by the single-method change in the System-tpr.1181 package

October 19, 2020 12:24 AM

System-tpr.1181

Remove the no-longer needed (mis)calculation of the window label. Accompanies Tools-tpr.1004

October 19, 2020 12:23 AM

October 18, 2020

source.squeak.org

VMMaker.oscog-eem.2848

Fix an awful regression introduced in VMMaker.oscog-eem.2837. Have the setFullScreen fag also set the flag that is stored in the image header, hecne having the image start up as it was saved.

by Eliot Miranda (eliot.miranda@gmail.com) at October 18, 2020 11:58 PM

SystemReporter-eem.45

Add BIT_IDENTICAL_FLOATING_POINT to the CogVMFeatureFlags printing. Print flag fields in binary to the appropriate width.

by Eliot Miranda (eliot.miranda@gmail.com) at October 18, 2020 09:34 PM

squeaksource.com

OSProcess-dtl.121

OSProcess 4.6.22
Methods for accessing posix system configuration queries. Requires OSProcessPlugin 4.6.7 (VMConstruction-Plugins-OSProcessPlugin-dtl.53) or equivalent for primitive support. See convenience method OSProcess class>>gnuLinuxConf for example usage.

Supported queries are sysconf(3), confstr(3), pathconf(3), and fpathconf(3)

by Dave Lewis (lewis@mail.msen.com) at October 18, 2020 08:11 PM

OSProcess-Base-dtl.74

OSProcess 4.6.22
Methods for accessing posix system configuration queries. Requires OSProcessPlugin 4.6.7 (VMConstruction-Plugins-OSProcessPlugin-dtl.53) or equivalent for primitive support. See convenience method OSProcess class>>gnuLinuxConf for example usage.

Supported queries are sysconf(3), confstr(3), pathconf(3), and fpathconf(3)

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

OSProcess-Unix-dtl.36

OSProcess 4.6.22
Methods for accessing posix system configuration queries. Requires OSProcessPlugin 4.6.7 (VMConstruction-Plugins-OSProcessPlugin-dtl.53) or equivalent for primitive support. See convenience method OSProcess class>>gnuLinuxConf for example usage.

Supported queries are sysconf(3), confstr(3), pathconf(3), and fpathconf(3)

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

VMConstruction-Plugins-OSProcessPlugin-dtl.53

OSProcessPlugin 4.6.7
Add new primitives for posix system configuration access via sysconf(3), confstr(3), pathconf(3), and fpathconf(3). For example usage, see OSProcess class>>gnuLinuxConf.

by Dave Lewis (lewis@mail.msen.com) at October 18, 2020 07:42 PM

October 14, 2020

squeaksource.com

Ma-Installer-Core-cmm.111

Fix #graphQlTestsEngine.

by Chris Muller (ma.chris.m@gmail.com) at October 14, 2020 12:12 AM

Ma-Installer-Core-cmm.110

Fix GraphQL tests package name.

by Chris Muller (ma.chris.m@gmail.com) at October 14, 2020 12:05 AM

Ma-Installer-Core-cmm.109

Don't use #ma repository yet.

by Chris Muller (ma.chris.m@gmail.com) at October 14, 2020 12:01 AM

October 13, 2020

squeaksource.com

Ma-Installer-Core-cmm.108

Excavating KryptOn!

by Chris Muller (ma.chris.m@gmail.com) at October 13, 2020 11:57 PM

Chronology-Core-cmm.58

Fix a dangerous part of the Chronology API.

- DateAndTime utcMicroseconds: Time utcMicrosecondClock offset: 0 looks reasonable, but it's very not. Notice how it's off, silently, by 68 years!!!
- Deprecate Time class>>#utcMicrosecondClock. Only soft-deprecate it for now due to its use in Kernel and Network packages. Will update them as needed.
- Replace it with Time class>>#primMicrosecondClockValue, where "prim" at least indicates implementation-specific properties may be present.
- Complement legacy Smalltalk-80 protocol, and expose the new microsecond-level precision in the VM for users with:
DateAndTime>>#asMicroseconds and
DateAndTime class>>#fromMicroseconds:
- Rename Time class>>#localMicrosecondClock to #localMicrosecondClockValue to 1) be consistent with microsecondClockValue and 2) avoid overloading the "clock" nomenclature. It's a value, not an object!
- Remove unused DateAndTime class>>#millisecondClockValue.

by Chris Muller (ma.chris.m@gmail.com) at October 13, 2020 11:46 PM

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 October 13, 2020 09:22 PM

Chronology-Core-cmm.52

Ability to run and compare multiple benchmarks at once via:

{ baselineExpression.
altExpression1.
altExpression2.
"...etc..." } benchCompare

The standard bench string is reported for each, along with a percentage rate relative to the baseline, the first one.

by Chris Muller (ma.chris.m@gmail.com) at October 13, 2020 09:21 PM

Morphic-cmm.1408

Integrate fix from Stéphane Rollandin that keeps ProportionalSplitter bars in their proportionally-assigned place after resizing windows.

by Chris Muller (ma.chris.m@gmail.com) at October 13, 2020 09:00 PM

System-cmm.524

- Use environment bindingOf: rather than associationAt:.
- Fix thoroughSenders preference.
- Make ColorTheme a concrete, attributable object.
- Set the default theme to a new instance of ColorTheme.
- This will help us disengage from SmalllandTheme dependency.

by Chris Muller (ma.chris.m@gmail.com) at October 13, 2020 09:00 PM

Compiler-cmm.179

- Merged improved pretty-print formatting.

by Chris Muller (ma.chris.m@gmail.com) at October 13, 2020 08:57 PM

Compiler-cmm.323

Kent Beckian style "Rectangular Block" pretty printing.

by Chris Muller (ma.chris.m@gmail.com) at October 13, 2020 08:56 PM

Chronology-Core-cmm.56

Building on Chronology-Core-ul.54:

- Let #microsecondClockValue complement #millisecondClockValue, to offer higher precision.
- New constructor, DateAndTime class>>#utcMicroseconds:, complements the above.
- Make Time class>>#utcMicrosecondClock private to help avoid accidental improper use with the above.

by Chris Muller (ma.chris.m@gmail.com) at October 13, 2020 08:55 PM

Chronology-Core-cmm.55

Fixed comment.

by Chris Muller (ma.chris.m@gmail.com) at October 13, 2020 08:55 PM

Chronology-Core-cmm.54

- Let #primUtcMicrosecondClock provide access to primitive 240.
- Let #utcMicrosecondClock be based on the Smalltalk epoch, 1/1/1901 @ 00:00:00.
- Three legacy senders were left alone pending discussion whether they can use the new #utcMicrosecondClock.
- Provide DateAndTime class>>#fromUtcMicrosecondClock:, as a supplement to Time class>>#utcMicrosecondClock.

by Chris Muller (ma.chris.m@gmail.com) at October 13, 2020 08:55 PM

Chronology-Core-cmm.53

- Extend the API to allow an integral representation of DateAndTime's, by introducing

DateAndTime class>>#fromMicroseconds:
DateAndTime>>#asMicroseconds

which go along with the existing API:

DateAndTime class>>#fromSeconds:
DateAndTime>>#asSeconds

- Every Squeak with the substring "utcMicrosecond" in the selector name refers to the number of microseconds since the POSIX epoch (1/1/1971@00:00:00.000), __except for one__: Time utcMicroseconds. Therefore, to avoid astonishment when using it with the "utc" API of DateAndTime, rename it without the "utc" prefix.

by Chris Muller (ma.chris.m@gmail.com) at October 13, 2020 08:54 PM

VMMakerUI-eem.28

Add click count to mouse e4vents and do a better job at collapsing mouse moves. But the collapse code is still wrong; a much better way would be to peek in teh event queue and update the last event in teh queue to the curreent position if it is also a mouse move. Also a UI indication that the event queue was not empty could help in not generating too many evennts.

by Eliot Miranda (eliot.miranda@gmail.com) at October 13, 2020 04:41 PM

VMMaker.oscog-eem.2839

Correct the coercion code.
- no longer have a catch-all in Object, requiring the relevant classes to coerce themselves explicitly.
- have Integer do its best to properly interpret C integer casts, including signed values, so that e.g. (self cCoerce: 65535 to: #short) = -1.
So far Float only deals with #float.
Have HostWindowPlugin use cCoerce:to:, not cCoerceSimple:to:

by Eliot Miranda (eliot.miranda@gmail.com) at October 13, 2020 04:34 PM

Kernel-eem.1351

Rename EventSensorConstants WindowEventStinks to WindowEventScreenChange. (Why is EventSensorConstants still in Kernel?).

by Eliot Miranda (eliot.miranda@gmail.com) at October 13, 2020 05:01 AM

October 12, 2020

source.squeak.org

WebClient-Core-ct.128

Reupload #2 of WebClient-Core-ct.126. Reverted reformatting, which will go into another version later.

October 12, 2020 09:39 PM

Morphic-eem.1699

Fix a slip.

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

Tools-eem.999

Add a preference for automatic variable declaration in a Workspace (true by default). Many people love this feature; I hate it :-)

by Eliot Miranda (eliot.miranda@gmail.com) at October 12, 2020 06:00 PM

WebClient-Core-ct.126

Proposal to implement pre-authentication on WebClient.

MOTIVATION.
Until now, the authentication flow in Squeak's WebClient looks like this:
First, a request is made without trying to authenticate the user. If the request fails with an error 401 (Unauthorized) or an error 407 (Proxy Authentication Required), the authentication headers are added to the request, and the request is retried.

However, this does not work properly in some situations.
For example, many modern REST APIs use to return an error 404 if an attempt is made to access a private resource without authenticating before [1] which currrently makes it impossible to authenticate to these APIs using the WebClient.
Another issue I encountered today lies in some particular servers not requesting a specific authentication method via the WWW-Authenticate header along a 401 response as specified by the protocol [2]. Concretely, I encountered this problem with the quite popular GitHub API so I think our client should be robust enough to handle this contract violation.

APPROACH.
This patch adds a new property for the #preAuthenticationMethod to the WebClient class. It can be set to a symbol indicating any authentication method that is supported by the WebClient, e.g. #basic or #bearer. (Digest access authentication, however, cannot be used at this place because it depends on a realm specified by the server.)
If this property is set, the relevant authentication headers will be added to the request already before the first attempt is made to request the resource.

In addition, the patch refactors and reformatst the methods #authenticate:from: and #sendRequest:contentBlock:.

The TESTS work as well as always (a number of them failing sporadically, but after some trials, I get a green bar again).

WHAT REMAINS TO BE DONE.
I deleted the fixme "Pre-authenticate the request if we have valid auth credentials" comment which I think was exactly what I implemented in this patch. I hope this assumption was correct? Also, another fixme comment requests to preserve the authState after following a redirect. Instead, with this patch, any specified pre-authentication method will be reused after every redirect. I did not fix this because I do not have a use-case scenario for it. Can we leave this as-is, and in a future version, could we simply delete this send to #flushAuthState?

Also, I'm not sure about whether pre-authentication maybe should be the default for every request containing a username/password specification. This would speed up every web request that uses credentials by up to the factor 2 because we could save one futile query. Also, it appears to be the state-of-the-art solution, popular tools such as curl specify the credentials in the first run already. On the contrary, it would be a breaking change, and looking at the comment in #preAuthenticationMethod, pre-authentication as an opt-out feature might break or at least slow down NTLM/Negotiate use cases. However, I never heard of this before. Are these protocols still relevant at all?

Please give this patch a careful review because still, all knowledge I have about this domain is collected from StackOverflow and Wikipedia a few hours ago.

REFERENCES.
[1] https://stackoverflow.com/a/17688080/13994294
[2] https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401

October 12, 2020 05:05 PM

MorphicTests-ct.68

Adds tests to ensure that the deprecated World global will be not referenced again. Complements Morphic-dtl.1370.

See http://forum.world.st/Changeset-Eliminating-global-state-from-Morphic-td5121690.html

October 12, 2020 11:41 AM

Monticello-ct.731

Make sure to reset the modified flag for working copies that have become empty after merging a version.

October 12, 2020 11:22 AM

squeaksource.com

Snarl-tonyg.8

Fall back to MorphicUIManager for Text instances.

October 12, 2020 10:30 AM

Snarl-tonyg.7

SnarlUIManager

October 12, 2020 10:28 AM

Snarl-tonyg.6

Updates for modern Squeak

October 12, 2020 10:17 AM

October 11, 2020

squeaksource.com

SeasideDoc-tty.83

added link to squeakbooks.com

by tty (gettimothy@zoho.com) at October 11, 2020 10:03 AM

Doc-tty.5

modified class comment

by tty (gettimothy@zoho.com) at October 11, 2020 09:57 AM

Zurb-tty.261

collision with TBSBootstrap apparently.

by tty (gettimothy@zoho.com) at October 11, 2020 09:53 AM

STON-Core-edc.85

empty log message

October 11, 2020 09:28 AM

October 06, 2020

squeaksource.com

BitSyntax-Help-tonyg.1

BitSyntax Help documentation.

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at October 06, 2020 01:54 PM

BitSyntax-Examples-tonyg.6

Rename package and monticello file to BitSyntax-Examples (from BitSyntaxExamples)

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at October 06, 2020 01:54 PM

BitSyntax-Core-tonyg.8

Rename Monticello file, too.

by Tony Garnock-Jones (tonyg@leastfixedpoint.com) at October 06, 2020 01:54 PM

source.squeak.org

Chronology-Core-eem.61

Provide Time class>>millisecondClock and DateAndTime class>>millisecondClock to indicate that this is now a proiper clock. It will not roll-over after 45 days like the old 30 bit millisecond clock.

Nw code should use millisecondClock, not millisecondClockValue, and old code (senders of millisecondClockValue) should be migrated whenever convenient.

by Eliot Miranda (eliot.miranda@gmail.com) at October 06, 2020 05:19 AM

October 05, 2020

source.squeak.org

VMMaker.oscog-eem.2834

Primitives:
Implement some simulation support for the HostWindowPlugin, mainly to test the subset used by Terf. Make curasor warping generally available.

Remove cCode from primitiveSetDisplayMode

by Eliot Miranda (eliot.miranda@gmail.com) at October 05, 2020 02:46 AM

VMMaker.oscog-eem.2833

Spur: Start commenting the shim/slimbridge scheme to provide > 8 byte alignment.

by Eliot Miranda (eliot.miranda@gmail.com) at October 05, 2020 02:39 AM

October 04, 2020

source.squeak.org

CollectionsTests-ul.344

Hashed collections:
- updated tests to send #array and #size instead of #capacity
- added a few tests for #capacity

by Levente Uzonyi (leves@caesar.elte.hu) at October 04, 2020 10:32 PM

Collections-ul.914

HashedCollection changes:
- make #capacity return the actual capacity of the collection instead of the size of the internal array. This change is obviously not backwards compatible.
- improve the performance of #isEmpty when tally is 0

OrderedDictionary changes:
- make it a subclass of PluggableDictionary. This lets one create e.g. an ordered identity dictionary without creating a subclass with duplicated behavior
- simplify #initialize and #growTo: now that #capacity is accurate

by Levente Uzonyi (leves@caesar.elte.hu) at October 04, 2020 10:32 PM

Collections-ul.915

HashedCollection changes:
- make #capacity return the actual capacity of the collection instead of the size of the internal array. This change is obviously not backwards compatible.
- improve the performance of #isEmpty when tally is 0

OrderedDictionary changes:
- make it a subclass of PluggableDictionary. This lets one create e.g. an ordered identity dictionary without creating a subclass with duplicated behavior
- simplify #initialize and #growTo: now that #capacity is accurate

by Levente Uzonyi (leves@caesar.elte.hu) at October 04, 2020 10:31 PM

Monticello-ul.729

Do what Monticello-tobe.729 did, but apply the change to MCReader instead of MCVersionReader and remove the unnecessary override from MCVersionReader:

Include a dot when matching against extensions

Packages of extension-less formats (e.g. tonel) will otherwise match for e.g. the MCStReader in MCReader>>#canReadFileNamed: if their name happens to end on an "st", e.g. "Roassal3-Sunburst"

by Levente Uzonyi (leves@caesar.elte.hu) at October 04, 2020 10:14 PM

squeaksource.com

PromisesLocal-rww.29

updated required package version to 2.

by Robert Withers (rabbit@churchofthesacrifice.org) at October 04, 2020 06:54 PM

PromisesLocal-rww.29

updated required package version to 2.

by Robert Withers (rabbit@churchofthesacrifice.org) at October 04, 2020 06:53 PM

PromisesLocal-rww.28

added comments and removed the PromisesLocalServiceProvider.

by Robert Withers (rabbit@churchofthesacrifice.org) at October 04, 2020 06:53 PM

PromisesLocal-rww.28

added comments and removed the PromisesLocalServiceProvider.

by Robert Withers (rabbit@churchofthesacrifice.org) at October 04, 2020 06:53 PM

ProtocolState-rww.2

added a couple of comments.

by Robert Withers (rabbit@churchofthesacrifice.org) at October 04, 2020 06:52 PM

ProtocolState-rww.2

added a couple of comments.

by Robert Withers (rabbit@churchofthesacrifice.org) at October 04, 2020 06:52 PM

source.squeak.org

Monticello-tobe.729

Include a dot when matching against extensions

Packages of extension-less formats (e.g. tonel) will otherwise match for e.g. the MCStReader in MCReader>>#canReadFileNamed: if their name happens to end on an "st", e.g. "Roassal3-Sunburst"

by Levente Uzonyi (leves@caesar.elte.hu) at October 04, 2020 05:53 PM

PromisesLocal-rww.27

explicitly take protocol from trunk Promise

October 04, 2020 05:49 PM

PromisesLocal-rww.23

finish cycling out unused protocol

October 04, 2020 05:21 PM

squeaksource.com

ParrotTalk-rww.58

checkpoint

by Robert Withers (rabbit@churchofthesacrifice.org) at October 04, 2020 04:57 PM

ParrotTalk-rww.58

checkpoint

by Robert Withers (rabbit@churchofthesacrifice.org) at October 04, 2020 04:57 PM

CryptographyASN1-rww.8

checkpoint

by Robert Withers (rabbit@churchofthesacrifice.org) at October 04, 2020 04:55 PM

CryptographyASN1-rww.8

checkpoint

by Robert Withers (rabbit@churchofthesacrifice.org) at October 04, 2020 04:55 PM

ThunkStack-rww.33

split out ProtocolState

by Robert Withers (rabbit@churchofthesacrifice.org) at October 04, 2020 04:54 PM

ThunkStack-rww.33

split out ProtocolState

by Robert Withers (rabbit@churchofthesacrifice.org) at October 04, 2020 04:54 PM

source.squeak.org

ProtocolState-rww.1

split out ProtocolState

October 04, 2020 04:53 PM

squeaksource.com

PromisesLocal-rww.27

explicitly take protocol from trunk Promise

by Robert Withers (rabbit@churchofthesacrifice.org) at October 04, 2020 04:47 PM

PromisesLocal-rww.27

explicitly take protocol from trunk Promise

by Robert Withers (rabbit@churchofthesacrifice.org) at October 04, 2020 04:47 PM

source.squeak.org

PromisesLocal-rww.21

Added ProtocolState as a required package

October 04, 2020 04:44 PM

squeaksource.com

PromisesLocal-rww.26

complete protocol removal

by Robert Withers (rabbit@churchofthesacrifice.org) at October 04, 2020 04:36 PM

PromisesLocal-rww.26

complete protocol removal

by Robert Withers (rabbit@churchofthesacrifice.org) at October 04, 2020 04:35 PM

source.squeak.org

PromisesLocal-rww.20

use eventual sending to handle nil blocks, both the #then: block and the #ifRejected: block

October 04, 2020 04:24 PM

squeaksource.com

PromisesLocal-rww.23

finish cycling out unused protocol

by Robert Withers (rabbit@churchofthesacrifice.org) at October 04, 2020 04:20 PM

source.squeak.org

PromisesTests-rww.10

calls includesKey:

October 04, 2020 04:18 PM

September 23, 2020

squeaksource.com

Ocompletion-eem.121

Have up/down/page up/page down keys also exit from the completion dialog.

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

Actors-tonyg.119

Fix facet binding in callbacks; add FacetWorkQueue utility

September 23, 2020 08:35 AM

September 22, 2020

source.squeak.org

VMMaker.oscog-eem.2812

The interpeeter fils really should pull in stdio.h. And they want stdlib.h for alloca, not stddef.h!!

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

squeaksource.com

Actors-tonyg.118

Make bindActor automatically bindFacet in FacetActors

September 22, 2020 08:34 PM

source.squeak.org

Sound-eem.75

In deference to strong opinions voice on squeak-dev reimplement teh 64-bit alternative for SampledSound>>mixSampleCount:into:startingAt:leftVol:rightVol:, and consequently fix a non-obvious regression in the 64-bit alternative.

by Eliot Miranda (eliot.miranda@gmail.com) at September 22, 2020 06:47 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 Eliot Miranda (eliot.miranda@gmail.com) at September 22, 2020 06:15 PM

squeaksource.com

Actors-tonyg.117

DataspaceProxy>>newPresenceField:value:; FacetField>>changed.

September 22, 2020 04:23 PM

Actors-tonyg.116

And-patterns.

September 22, 2020 04:23 PM

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 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

August 22, 2020

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

August 15, 2020

squeaksource.com

BabySRE-edc.48

attempt of loading in 5.2

August 15, 2020 11:07 AM

August 07, 2020

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

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

July 20, 2020

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