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

April 22, 2017

source.squeak.org

VMMaker.oscog-eem.2200

Refactor access to optStatus in StackToRegisterMappingCogit behind receiverIsInReceiverResultReg et al so that it can be and is elided in RegisterAllocatingCogit in favour of simSelf liveRegister.

by Eliot Miranda (eliot.miranda@gmail.com) at April 22, 2017 12:37 AM

VMMaker.oscog-eem.2199

RegisterAllocatingCogit:
recover from overflow in genSpecialSelectorArithmetic correctly (must include carry/borrow); hence implement AddCqR & SubbCqR in CogX64Compiler.

Use a much more straight-forwqard algorithm for merging, albeit one that requires that the current simStack is saved and restored around merges since the current simStack is updated t reflect live registers when regsiters are stolen from temporaries to implement the merge. Hence add scratchBytecodePC to avoid copying teh original simStack to the scratchSimStack more than once in each bytecode (it is used three times in genSecialSelectorComparison for example).

Fix slip in RegisterAllocatingCogit>>ssAllocateRequiredRegMask:upThrough:upThroughNative:; 0 is not NoReg ;-).

Restore SistaCogitClone methods lost in previous commit.

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

April 21, 2017

source.squeak.org

VMMaker.oscog-EstebanLorenzano.2198

remove special MiscPrimitivePlugin class>>translatedPrimitives since Pharo will use the regular version.

by Esteban Lorenzano (estebanlm@gmail.com) at April 21, 2017 10:25 AM

Multilingual-pre.223

Undoes the previous refactoring after a discussion with topa on class initializers... Also reformats decoding table source and adds a latin9 converter

by Patrick Rein (patrick.rein@gmail.com) at April 21, 2017 10:11 AM

Multilingual-pre.222

Merges the fixed and the problematic multilingual commit to not cause merge prompts coming up.

by Patrick Rein (patrick.rein@gmail.com) at April 21, 2017 07:25 AM

NetworkTests-pre.46

Changing fixture code for an utf8 string to a more concise version

by Patrick Rein (patrick.rein@gmail.com) at April 21, 2017 07:16 AM

Multilingual-pre.221

Fixed the initialization method in ByteTextConverter.
Refactored the initialize of TextConverter classes as they all had the exact same source.
Fixed the comment of the CP1252 converter

by Patrick Rein (patrick.rein@gmail.com) at April 21, 2017 06:33 AM

squeaksource.com

JSON-edc.39

Add how to save a Json object to disk

April 21, 2017 06:00 AM

RotaryDialMorphs-tpr.2

Replace usage of a NuScratch specific method with a generally available one.

by tim rowledge (tim@rowledge.org) at April 21, 2017 12:13 AM

April 20, 2017

source.squeak.org

GraphicsExternal-cbc.2

Move some Form methods only used in conjuction with our classes into this package.

April 20, 2017 09:23 PM

squeaksource.com

WeatherStation-tpr.10

Move rotary dials out to their own package (RotaryDialMorphs)

by tim rowledge (tim@rowledge.org) at April 20, 2017 03:51 PM

RotaryDialMorphs-tpr.1

Initial commit

by tim rowledge (tim@rowledge.org) at April 20, 2017 03:51 PM

source.squeak.org

Network-pre.191

Changes to the MIME classes to respect charsets, mime encoded header fields, and fixes some parser issues

by Patrick Rein (patrick.rein@gmail.com) at April 20, 2017 09:47 AM

Multilingual-pre.220

refactored the initialize of TextConverter classes as they all had the exact same source.
Fixed the comment of the CP1252 converter

by Patrick Rein (patrick.rein@gmail.com) at April 20, 2017 09:45 AM

NetworkTests-pre.45

Adds a TestCase for testing whether the charset is respected when reading in MIMEDocuments

by Patrick Rein (patrick.rein@gmail.com) at April 20, 2017 09:39 AM

Multilingual-pre.219

adds the cp1252 charset and adds iso-8859-1 to the names of latin1

by Patrick Rein (patrick.rein@gmail.com) at April 20, 2017 09:38 AM

Collections-pre.747

changes decoding of mime headers to decode directly to squeak encoding

by Patrick Rein (patrick.rein@gmail.com) at April 20, 2017 09:37 AM

CollectionsTests-pre.279

Adds a test to test the decoding of mime headers

by Patrick Rein (patrick.rein@gmail.com) at April 20, 2017 09:36 AM

GraphicsExternal-cbc.1

Moved ExternalForm and ExternalScreen out of EToys and into its own package. No other changes.

April 20, 2017 02:55 AM

April 19, 2017

source.squeak.org

Kernel-tpr.1075

A simple approach to handling an absence of a writeable changes file when compiling code changes.
NB - this does NOTNOTNOT address the other implementors of #acceptsLoggingOfCompilation such as UnscriptedPlayer etc that do ... odd things.

This set of changes must of course be paired with Files-tpr.169 wherein lies the new code to test for a changes file

April 19, 2017 08:58 PM

Files-tpr.169

A simple approach to handling an absence of a writeable changes file when compiling code changes.
NB - this does NOTNOTNOT address the other implementors of #acceptsLoggingOfCompilation such as UnscriptedPlayer etc that do ... odd things.

This set of changes must of course be paired with Kernel-tpr.1075 wherein we will find the new version of #acceptsLoggingOfCompilation

April 19, 2017 08:57 PM

squeaksource.com

Smallapack-SUnitTests-nice.14

Separate testing of compatibility protocols

April 19, 2017 07:22 AM

Smallapack-CompatibilityTests-nice.1

Separate testing of compatibility protocols

April 19, 2017 07:21 AM

WeatherStation-tpr.9

Tidy up example dial morphs

by tim rowledge (tim@rowledge.org) at April 19, 2017 02:05 AM

April 18, 2017

squeaksource.com

Smallapack-Algorithm-nice.12

Don't use compatibility protocol.

April 18, 2017 09:39 PM

Smallapack-Matrix-nice.31

Move compatibility protocol in separate packages

April 18, 2017 09:38 PM

Smallapack-NumericalMethods-compatibility-nice.1

Separate package for Didier Besset NumericalMethod compatibility.

Note that most of the protocol is in Smallapack-Squeak-compatibility

April 18, 2017 09:37 PM

Smallapack-Smallpack-compatibility-nice.1

Separate package for Smallpack protocol compatibility.

Note: Smallpack was a linear algebra package for Visualworks from Jeff Hallman, calling linpack.
It's hardly available now, except thru wayback machine, for example
https://web.archive.org/web/20030502081107/http://wiki.cs.uiuc.edu/VisualWorks/Smallpack

April 18, 2017 09:36 PM

Smallapack-Squeak-compatibility-nice.1

Separate package for Squeak-protocol compatibility

April 18, 2017 09:32 PM

Smallapack-SUnitTests-nice.13

Don't use synonyms from Smallpack or Squeak protocols for testing Blas.

April 18, 2017 09:25 PM

source.squeak.org

Collections-eem.746

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

by Eliot Miranda (eliot.miranda@gmail.com) at April 18, 2017 09:10 PM

squeaksource.com

WeatherStation-tpr.8

Much fiddling to build more dials and make them work better

by tim rowledge (tim@rowledge.org) at April 18, 2017 07:19 PM

source.squeak.org

SystemReporter-eem.35

Better label for the system reporter's description of vm parameter #2 in Spur.

by Eliot Miranda (eliot.miranda@gmail.com) at April 18, 2017 06:43 PM

Kernel-eem.1097

Add the primitive implementation to the two hashMultiply methods.

by Eliot Miranda (eliot.miranda@gmail.com) at April 18, 2017 06:41 PM

Collections-eem.745

Clarify the two primitiveStringHash uses. The one in ByteArray class is translated to a primitive in MiscPrimitivePlugin. The one in ByteString class is not; it uses the translated primitive derived from ByteArray class>>hashBytes:startingWith:.

(N.B. Requires a soon-to-be-committed change to VMMaker to accet the int decl for speciesHash.")

by Eliot Miranda (eliot.miranda@gmail.com) at April 18, 2017 06:39 PM

VMMaker.oscog-eem.2197

Modify the hashMultiply primitive implementations to do what's intended. Make the magic constant and modulo mask global vars shared between the three implementations.

Modify translated primitive parsing to allow int as a valid variable type.

Improve the commentary in MiscPrimitivePlugin class>>translatedPrimitives.

by Eliot Miranda (eliot.miranda@gmail.com) at April 18, 2017 06:35 PM

Kernel-dtl.1096

SmallInteger>>hashMultiply comment provided by Andres Valloud

by David T. Lewis (lewis@mail.msen.com) at April 18, 2017 03:59 PM

squeaksource.com

Smallapack-External-nice.33

Provide lamch fallback code.

April 18, 2017 01:05 PM

ArbitraryPrecisionFloatTests-nice.29

Be robust to recent squeak sign/signBit change. -0.0 sign is now returning 0.
If the signBit method exist, we use it, otherwise we revert to sign.

April 18, 2017 11:40 AM

source.squeak.org

VMMaker.oscog-eem.2196

Use genGetCompactClassIndexNonImmOf:into: in genPrimitiveHashMultiply so as to work on V3.

by Eliot Miranda (eliot.miranda@gmail.com) at April 18, 2017 02:13 AM

VMMaker.oscog-eem.2195

StackInterpreter:
Add hash multiply under primitive number 159.

Cogit:
Implement calling C primitive on Smalltalk stack support in compileMachineCodeInterpreterPrimitive:. Refactor compileInterpreterPrimitive: to compileInterpreterPrimitive:flags:, accessed via the CoInterrpeter supplying the PrimCallOnSmalltalkStack flag, moving the flags extraction to compilePrimitive. Leave an unused C primitive on Smalltalk stack version of hashMultiply (mcprimHashMultiply:). Implement as machine code (genPrimitiveHashMultiply) because its significantly faster.

Remove PrimitiveExternalCallIndex an favour of PrimNumberExternalCall.

Sista:
Use duff's device to generate more compact instane intialization in the inline pointer new primitive bytecode. As yet untested!!
Comment the inverse form of extJumpIfNotInstanceOfBehaviorsBytecode

Slang:
Corrct a comment and a variable name in emitCAPIExportHeaderOn:.

by Eliot Miranda (eliot.miranda@gmail.com) at April 18, 2017 12:12 AM

April 17, 2017

source.squeak.org

FFI-Win32-cbc.12

Added ability to silently run a program in the background (no window)

April 17, 2017 09:40 PM

EToys-cbc.294

Remove ExternalForm (and ExternalScreen) since they are not used by EToys, or, indeed, anything in Squeak.

April 17, 2017 07:55 PM

FFI-Tests-cbc.9

Remove test on ExternalForm (since it was removed from FFI package - and it was wrong, now, too). Currently in EToys tests.

April 17, 2017 05:15 PM

EToys-cbc.293

Moved ExternalForm test from FFI package here - since the ExternalForm is now in this package.
Also, fixed test.

April 17, 2017 04:44 PM

squeaksource.com

Morphic-Slideshow-hjh.10

Blocks are not save with SmartRefStream.

Intermediary step:

Thus a navigation method #showNextSlide was added and
a #slides class method so that buttons do not need blocks to do navigation.

April 17, 2017 12:56 PM

April 15, 2017

source.squeak.org

EToys-nice.292

Remove the Multi*Scanner, MultiNewParagraph, MultiComposer because they have no additional value.

by Nicolas Cellier (nicolas.cellier.aka.nice@gmail.com) at April 15, 2017 01:45 PM

April 14, 2017

source.squeak.org

Cog-eem.339

Fix ancient slip in GdbARMAlien>>cResultRegister

by Eliot Miranda (eliot.miranda@gmail.com) at April 14, 2017 06:42 PM

April 13, 2017

source.squeak.org

VMMaker.oscog-eem.2194

Fix a regression in VMMaker.oscog-eem.2138 & VMMaker.oscog-eem.2143 where receiverTags work broke cointer trips in special selector comparisons of known SmallIntegers.

Have compileAbstractInstructionsFrom:through: only check that extensions are consumed if the last bytewcode generator succeeded.

Rename Allocat(e)able to Allocable (OED).

Add some missing simulation glue. Comment the existence of the variable new inline primitives.

by Eliot Miranda (eliot.miranda@gmail.com) at April 13, 2017 10:07 PM

Kernel-eem.1095

Add simulation of directedSuperSend:numArgs:.

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

Nuke the obsolete tryNamedPrimitive template methods.

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

Tools-eem.757

Have the debugger look for both the old and the soon-to-appear new quickStep: methods when trying to inform an exsting debugger of an error.

by Eliot Miranda (eliot.miranda@gmail.com) at April 13, 2017 09:02 PM

Compiler-eem.351

Add missing directedSuperSend: support.

by Eliot Miranda (eliot.miranda@gmail.com) at April 13, 2017 08:51 PM

Kernel-eem.1094

Correct the SistaV1 bytecoders decoders up to immedately before the ensure4llocableSlots: bytecode (which is subject to change).

Add incomplete directedSuperSend:numArgs: support.

by Eliot Miranda (eliot.miranda@gmail.com) at April 13, 2017 04:22 PM

ImageFormat-dtl.23

Refactoring and cleaner magic file output by Subbu.

by David T. Lewis (lewis@mail.msen.com) at April 13, 2017 02:15 PM

squeaksource.com

SqueakRosCore-edc.20

Important missed methods for having own fork inside trunk

April 13, 2017 09:49 AM

April 12, 2017

source.squeak.org

ImageFormat-dtl.22

K K Subbu updates for magic file generation (vm-dev list)

by David T. Lewis (lewis@mail.msen.com) at April 12, 2017 11:52 PM

VMMaker.oscog-eem.2193

Fix ancient bug with non-local return in the StackToRegisterMappingCogit; the stack must be flushed before calling the non-local return trampoline. Solves some, if not all, of the stack depth mismatches on non-local return.

Make sure some Siata bytecodes are recognised by the StackDepthFinder.

by Eliot Miranda (eliot.miranda@gmail.com) at April 12, 2017 09:47 PM

squeaksource.com

PlotMorph-tpr.39

Add a TimeDataPlotMorph class that uses morphic stepping to trim back its points so that it covers a time duration going back from DateAndTime now by plotDuration. On each step the old data is removed from the left of the plot and the bounds set to cover the proper time interval. Currently the step time is set to 1 minute but clearly it ought to be a parameter.

by tim rowledge (tim@rowledge.org) at April 12, 2017 08:31 PM

WeatherStation-tpr.7

Change the data graphing to use TimeDataPlotMorph so they update cleanly.
Add a new morph that starts to handle dial type data displaying; barometer being the first type we create but thermometers, humidistats, spedometers etc should all be added and split into a normal Morph package. Lots of work on laying out a dial and creating a needle was donated by Bob Arning. Thanks, Bob.

by tim rowledge (tim@rowledge.org) at April 12, 2017 08:27 PM

source.squeak.org

VMMaker.oscog-eem.2192

SiatCogit:
Fix mapping errors for genExtStorePopRemoteTemp & genSistaExtStoreAndPopReceiverVariableBytecode.

Add some simulatiuon support for ensureAllocatableSlots:, and a shortcut for symbolicMethod:.

by Eliot Miranda (eliot.miranda@gmail.com) at April 12, 2017 06:56 PM

VMMaker.oscog-eem.2191

SistaVI Cogit:
Fix a slip in genExtEnsureAllocatableSlots; get the branch sense right.

Implement glue to access cogCodeZoneThreshold & needGCFlagAddress.

Fix receiver for integerObjectOf: in primitiveVMParameter.

by Eliot Miranda (eliot.miranda@gmail.com) at April 12, 2017 04:45 PM

squeaksource.com

SqueakRosCore-edc.19

This is for try to having my fork inside trunk

April 12, 2017 10:56 AM

source.squeak.org

VMMaker.oscog-eem.2190

Sista Cogit:
Implement ensureAllocatableSlots: support.

RegisterAllocatingCogit:
liveRegisters must work in frameless methods.
Fix yet another methodOrBlockNumArgs/Temps mixup (this time in an assert).
Add assertCorrectSimStackPtr and revert StackToRegisterMappingCogit's one; duplicateRegisterAssignmentsInTemporaries is a RegisterAllocatingCogit thang..

Misc: Eliminate some breaks left in various methods by mistake.

by Eliot Miranda (eliot.miranda@gmail.com) at April 12, 2017 12:52 AM

April 11, 2017

source.squeak.org

Tools-eem.756

Make the debugger handle gracefully stepping through the termiation of a process.

by Eliot Miranda (eliot.miranda@gmail.com) at April 11, 2017 07:06 PM

Kernel-eem.1093

Avoid a simulation error when attempting to step a terminated process.

by Eliot Miranda (eliot.miranda@gmail.com) at April 11, 2017 07:03 PM

ST80-eem.228

Fix a regression in ST80-cmm.227 which prevents a debugger opening while another is open. One should never suspend the active process within a critical: block; doing so prevents the critical: block from completing and hence releasing its lock. The fix is to pull the suspend out of the critical: block.

by Eliot Miranda (eliot.miranda@gmail.com) at April 11, 2017 06:29 PM

Morphic-eem.1334

Fix a regression in Morphic-cmm.1333 which prevents a debugger opening while another is open. One should never suspend the active process within a critical: block; doing so prevents the critical: block from completing and hence releasing its lock. The fix is to pull the suspend out of the critical: block.

by Eliot Miranda (eliot.miranda@gmail.com) at April 11, 2017 06:28 PM

squeaksource.com

Morphic-Slideshow-hjh.9

comment added to
positionAllSlides

Note: slides / cards are used as synonyms here.

The class name is SimpleCard1 but methods often refer to slides.

April 11, 2017 06:22 PM

Morphic-Slideshow-hjh.8

button to position all cards in the topleft corner at 40@40.

button to create a new project

April 11, 2017 06:16 PM

source.squeak.org

Monticello-bf.668

Restore diff naming logic which got broken when MCVersionName was introduced

by Bert Freudenberg (bert@freudenbergs.de) at April 11, 2017 02:24 PM

Monticello-mva.668

Stop infinite recursion when trying to 'Save' a new version or 'Update Squeak' after having set 'store diffs' on 'package-cache'

April 11, 2017 11:58 AM

ImageFormat-dtl.21

Add ImageFormat class>>unixMagiFileEntries to answer a string that can be appended to /etc/magic on a Unix system to support the file(1) utility. Based on magic decode by K K Subbu on vm-dev.

by David T. Lewis (lewis@mail.msen.com) at April 11, 2017 11:58 AM

April 10, 2017

source.squeak.org

Compiler-eem.350

Have decompileMethod: access the method from its argument, aBlock, so that FullBlockClosures have a chance of decompiling correctly.

by Eliot Miranda (eliot.miranda@gmail.com) at April 10, 2017 06:54 PM

Kernel-eem.1092

Add FullBlockClosure (blocks with independent bytecode methods; needed for Scorch/Sista). Give BlockClosure an informative comment.

by Eliot Miranda (eliot.miranda@gmail.com) at April 10, 2017 06:53 PM

squeaksource.com

Morphic-Slideshow-hjh.7

Only show first slide and hide other slides.

This allows slides/cards to be of different size.

April 10, 2017 05:38 PM

source.squeak.org

TrueType-ul.48

- on unix, visit the whole directory tree starting at /usr/share/fonts in TTFileDescription class>>fontPathsDo:, because most fonts have their own subdirectories

by Levente Uzonyi (leves@elte.hu) at April 10, 2017 11:12 AM

squeaksource.com

Morphic-Slideshow-hjh.6

New class:
CreateButton
which keeps scripts for working with slides/cards which have a property #isSlide.
These cards are kept in a Morph which has the property #isSlideCollection or alternatively they are submorphs of
Project current world

April 10, 2017 06:01 AM

April 09, 2017

source.squeak.org

XML-Parser-ul.44

As Monty pointed out on the mailing list, some out-of-image SAXHandlers assume that the attriubteList passed to its methods is always initialized to a Dictionary. Therefore, I introduced LazyAttributeListSAXDriver, which has the new, lazy behavior, and made SAXDriver a subclass of it with the old behavior.
Introduced SAXHandler class >> #driverClass which returns the SAXDriver to be used.
SAXHandler uses SAXDriver, while XMLDOMParser uses LazyAttributeListSAXDriver.

by Levente Uzonyi (leves@elte.hu) at April 09, 2017 12:30 PM

April 08, 2017

source.squeak.org

Squeak-Version-nice.4730

Make the MethodContext -> Context transition hack more robust post removal of ContextPart.

by Nicolas Cellier (nicolas.cellier.aka.nice@gmail.com) at April 08, 2017 06:18 PM

Squeak-Version-nice.4729

Renew the hack for restoring updateStream again (see preamble script). This time move #MethodContext binding in Undeclared.

by Nicolas Cellier (nicolas.cellier.aka.nice@gmail.com) at April 08, 2017 03:51 PM

Monticello-nice.667

Perform a forgetSuperfluousMethodRemovals, which is assuming that it's un-necessary to remove methods individually if we remove the whole class.

This change is necessary to restore the updateStream after MethodContext -> Context rename.

Indeed, the MCDiffyVersion for Kernel-eem.1078 is going to detect that there is no more MethodContext in the package and ask to remove each and every MethodContext method.

by Nicolas Cellier (nicolas.cellier.aka.nice@gmail.com) at April 08, 2017 03:01 PM

Squeak-Version-nice.4728

Renew the hack for restoring the update process.

by Nicolas Cellier (nicolas.cellier.aka.nice@gmail.com) at April 08, 2017 02:45 PM

MonticelloConfigurations-nice.151

Duplicate a few methods with an additional (upTo: versionNumber) parameter, so as to be able to write convenient things like:

MCMcmUpdater default doUpdateUpTo: 406.

This would require better refactoring rather than duplication, but I want to experiment fast for restoring the update process fast.

by Nicolas Cellier (nicolas.cellier.aka.nice@gmail.com) at April 08, 2017 11:53 AM

April 07, 2017

source.squeak.org

Squeak-Version-nice.4727

Add a hack in order to restore the updateStream health (see preamble for details).

by Nicolas Cellier (nicolas.cellier.aka.nice@gmail.com) at April 07, 2017 10:03 PM

Morphic-mva.1334

A quick hack - proof of concept - as a reaction to "I'd like to see system windows collapse when dropped in the menu bar".
http://lists.squeakfoundation.org/pipermail/squeak-dev/2017-April/194079.html

Drag a system window to the menu bar - it will collapse.
Drag it out to the world - it will expand.

Caveats.
When you drag a window in world - it will expand when you drop it.
When you collapse a window in world - it will will stay up. You can send it back with the 'send to back' menu option in the triangle menu on the right.
The windows you have put into the menu bar have an unnerving tendency to jump to the left of the menu bar putting themselves before the menu.

April 07, 2017 04:06 PM

squeaksource.com

Morphic-Slideshow-hjh.5

Class method

#createButtonToShowPreviousSlide

added.

April 07, 2017 03:34 PM

Morphic-Slideshow-hjh.4

fixed error in
wantsDroppedMorph: aMorph event: evt

April 07, 2017 09:26 AM

Morphic-Slideshow-hjh.3

Do not accept a SimpleSlide1 morph when dropped on another SimpleSlide1 morph

Added utility class method
#createButtonToShowNextSlide

April 07, 2017 08:55 AM

Morphic-Slideshow-hjh.2

added #descriptionForPartsBin on the class side of SimpleSlide1.

In the red 'Objects' flap just switch away from the 'Basic' or 'Presentation' category and back to make the a SimpleSlide1 appear.

April 07, 2017 08:08 AM

BabySRE-hjh.43

Check for notNil added in
#disconnectAllConstraints

Loads fine in Squeak 6.0a-17082

April 07, 2017 08:01 AM

Morphic-Slideshow-hjh.1

Start with SimpleSlide1 as a subclass of BorderedMorph.

A slide is not an instance of PasteUpMorph or a subclass of it.

SimpleSlide1 methods are adapted from a very small subset of PasteUpMorph methods.

And currently no additional instance and class variables.

A simple morph.

April 07, 2017 07:36 AM

BabySRE-hjh.42

Replaced
Sensor currentCursor
with
Cursor currentCursor

in method #needsToBeDrawn

April 07, 2017 03:00 AM

April 06, 2017

source.squeak.org

Tests-eem.376

Make the decompilation tests use the same bytecode set for recompilation as the original method.
Make the testMaxLiterals test use the preferred bytecode set's literal limit.

by Eliot Miranda (eliot.miranda@gmail.com) at April 06, 2017 11:06 PM

Kernel-eem.1091

Fix decode errors in the SistaV1 bytecode decoders. pushThisContext and doDup were off by one bytecode. pop and store remote temp were interchanged. ext push temp var was off by one and push integer was not signed.

by Eliot Miranda (eliot.miranda@gmail.com) at April 06, 2017 10:39 PM

Compiler-eem.349

Fix the limitation on num literals in the SistaV1 send bytecodes. Makew a probably obsolete method multiple-bytecode set aware.

by Eliot Miranda (eliot.miranda@gmail.com) at April 06, 2017 10:28 PM

Compiler-eem.348

Fix block temp scanning with multiple bytecode sets. Fix a comment typo.

by Eliot Miranda (eliot.miranda@gmail.com) at April 06, 2017 09:20 PM

Kernel-eem.1090

Fix slip in interpretNext2ByteSistaV1Instruction:for:extA:extB:startPC: for super sends.

by Eliot Miranda (eliot.miranda@gmail.com) at April 06, 2017 09:18 PM

Compiler-eem.347

Provide is(Non)SyntheticStoreAt:in:for: for SistaV1.
Fix selectorToSendOrItselfFor:in:at: so that it is not follwed if invoked at a raw bytecode that is preceeded by an extension.

by Eliot Miranda (eliot.miranda@gmail.com) at April 06, 2017 07:08 PM

Monticello-mva.667

New style diffy version (*.mcd): Prune ancestors version infos in the info of the base of the diff when writing a diffy version. Graft them back from the diff's base version when reading a diffy version unless base info already has ancestors (old-style diffy version with complete version history info) in which case leave them alone.

April 06, 2017 07:06 PM

Kernel-eem.1089

Decode doPop for SistaV1

by Eliot Miranda (eliot.miranda@gmail.com) at April 06, 2017 07:00 PM

Compiler-eem.346

Implement genPushNClosureTemps: in BytecodeEncoder so the implementation is shared between V3 and SistaV1.

by Eliot Miranda (eliot.miranda@gmail.com) at April 06, 2017 05:59 PM

Compiler-eem.345

Update EncoderForSistaV1. revise the comment with the latest inline primitive spec and with better description and ordering of the Smalltalk and Sista parts of the bytecode set.

Fix encoding bugs for genPushConsArray:, genPushSpecialLiteral:, genReturnTopToCaller, genSend:numArgs: & genStoreTemp:.

Cirrect some limit warnings amd several comments.

by Eliot Miranda (eliot.miranda@gmail.com) at April 06, 2017 05:40 PM

Kernel-eem.1088

Have the setter for the preferred bytecode set attempt to install a set if required and if possible.

by Eliot Miranda (eliot.miranda@gmail.com) at April 06, 2017 06:40 AM

Compiler-eem.344

Add EncoderForSistaV1.
Add decompiler & temp counter support for blockReturnConstant:

by Eliot Miranda (eliot.miranda@gmail.com) at April 06, 2017 06:17 AM

Compiler-eem.343

Have generate:using: use the new generation method that lives in BytecodeEncoder.
Recategorize all "code generation (closures)" methods as "closure analysis".

by Eliot Miranda (eliot.miranda@gmail.com) at April 06, 2017 06:14 AM

Compiler-eem.342

Remove most, if not all, of the old pre-closure-bytecode and blue-book block support from the compiler.

Recategorize code generation (size & emit methods) under "code generation", leaving closure analysis in "code generation (closures)" (to be changed later).

Eliminate the short-form brace node creation code (which has used the cons array bytecode since the use of the closure bytecodes).

by Eliot Miranda (eliot.miranda@gmail.com) at April 06, 2017 06:07 AM

Compiler-eem.342

Remove most of, if not all, old pre-closure-bytecode and blue-book block support from the compiler.

Recategorize code generation (size & emit methods) under "code generation", leaving closure analysis in "code generation (closures)" (to be changed later).

Eliminate the short-form brace node creation code (which has used the cons array bytecode since the use of the closure bytecodes).

by Eliot Miranda (eliot.miranda@gmail.com) at April 06, 2017 04:18 AM

Compiler-eem.341

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

by Eliot Miranda (eliot.miranda@gmail.com) at April 06, 2017 03:22 AM

Compiler-eem.342

Remove most, if not all, of the old pre-closure-bytecode and blue-book block support from the compiler.

Recategorize code generation (size & emit methods) under "code generation", leaving closure analysis in "code generation (closures)" (to be changed later).

Eliminate the short-form brace node creation code (which has used the cons array bytecode since the closure bytecodes).

Add MethodNode>>primitive, needed by the soon-to-be-refactored generate:using:.

by Eliot Miranda (eliot.miranda@gmail.com) at April 06, 2017 03:01 AM

Compiler-eem.344

Add the missing acessor for MethodNode>>primitive (perhaps too late? If so, I'l redo Compiler-eem.341 to add it).

Add EncoderForSistaV1.
\Add decompiler & temp counter support for blockReturnConstant:

by Eliot Miranda (eliot.miranda@gmail.com) at April 06, 2017 01:57 AM

Kernel-eem.1087

Add the SistaV1 bytecode set decoders and some of the new SistaV1 bytecode support (enough for printing).

by Eliot Miranda (eliot.miranda@gmail.com) at April 06, 2017 01:52 AM

Compiler-eem.343

Have generate:using: use the new generation method that lives in BytecodeEncoder.
Recategorize all "code generation (closures)" methods as "closure analysis".

by Eliot Miranda (eliot.miranda@gmail.com) at April 06, 2017 01:33 AM

Compiler-eem.342

Remove most of, if not all, old pre-closure-bytecode and blue-book block support from the compiler.

Recategorize code generation (size & emit methods) under "code generation", leaving closure analysis in "code generation (closures)" (to be changed later).

Eliminate the short-0form brace node creation code (which has used the cons array bytecode since the closure bytecodes).

by Eliot Miranda (eliot.miranda@gmail.com) at April 06, 2017 01:32 AM

Compiler-eem.341

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

by Eliot Miranda (eliot.miranda@gmail.com) at April 06, 2017 01:32 AM

Compiler-eem.340

Use the encoder-specifc limit for maxNumLiterals.

by Eliot Miranda (eliot.miranda@gmail.com) at April 06, 2017 01:32 AM

April 05, 2017

source.squeak.org

VMMaker.oscog-eem.2189

RegisterAllocatingCogit/SistaRegisterAllocatingCogit
Fix slips in RegisterAllocatingCogit>>genSpecialSelectorComparison (no need to juggle assigned registers) and mergeCurrentSimStackWith:forwards: (methodOrBlockNumTemps is the loop limit, not methodOrBlockNumArgs). Fix moveVolatileSimStackEntriesToRegisters to observe the registers assigned to temps.

Copy the merge logic into SistaRegisterAllocatingCogit>>genSpecialSelectorComparison

Add more places to check the duplicateRegisterAssignmentsInTemporaries deny.

Rewrite RegisterAllocatingCogit>>resetSimStack: to avoid a spurious assert-fail when preparing the second compilation pass.

SistaCogitClone's methods have also been auto-updated.

by Eliot Miranda (eliot.miranda@gmail.com) at April 05, 2017 08:14 PM

MonticelloConfigurations-bf.152

Suppress even more progress during version load

April 05, 2017 02:49 PM

squeaksource.com

PackageInfo-Base-edc.71

change for trunk

April 05, 2017 12:47 PM

source.squeak.org

Kernel-eem.1086

Improve Context's comment and move methods out of the effectively obsolete closure-specific instruction-decoding category.

by Eliot Miranda (eliot.miranda@gmail.com) at April 05, 2017 12:57 AM

EToys-eem.291

Remove more unused cruft from EToys kernel and compiler classes.

by Eliot Miranda (eliot.miranda@gmail.com) at April 05, 2017 12:55 AM

EToys-eem.290

Eliminate some VMMaker-speciasif cruft from EToys. Have primitiveFindSubstring:in:startingAt:matchTable: declare vars using the pragma form to avoid dependency on the (obsolete) empty Object method.

by Eliot Miranda (eliot.miranda@gmail.com) at April 05, 2017 12:25 AM

April 04, 2017

source.squeak.org

ST80-cmm.227

Fix the race condition introduced with Debugger>>'ErrorRecursion' which was causing an inescapable Emergency Evaluator to appear even when there was no recursion.

by Chris Muller (ma.chris.m@gmail.com) at April 04, 2017 08:57 PM

Morphic-cmm.1333

Fix the race condition introduced with Debugger>>'ErrorRecursion' which resulted in the Emergency Evaluator being opened too eagerly (and unable to be closed!) -- even when there was no recursion.

by Chris Muller (ma.chris.m@gmail.com) at April 04, 2017 08:52 PM

Tools-cmm.755

Fix the race condition introduced with Debugger>>'ErrorRecursion' which resulted in the Emergency Evaluator being opened too eagerly (and unable to be closed!) -- even when there was no recursion.

by Chris Muller (ma.chris.m@gmail.com) at April 04, 2017 08:49 PM

April 03, 2017

source.squeak.org

EToys-eem.289

Nuke a now unnecessary ScriptEncoder override, allowing EToys to also use a different bytecode set, if installed and preferred.

by Eliot Miranda (eliot.miranda@gmail.com) at April 03, 2017 11:56 PM

Kernel-eem.1085

Get the fix for the EToys ScriptEncoder right.

by Eliot Miranda (eliot.miranda@gmail.com) at April 03, 2017 11:53 PM

Kernel-eem.1084

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

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

by Eliot Miranda (eliot.miranda@gmail.com) at April 03, 2017 11:45 PM

Compiler-eem.339

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

by Eliot Miranda (eliot.miranda@gmail.com) at April 03, 2017 11:41 PM

Kernel-eem.1083

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

by Eliot Miranda (eliot.miranda@gmail.com) at April 03, 2017 11:28 PM

PreferenceBrowser-eem.80

Add a #Class type preference view (this code was contributed by Marcel Taumael and gratefully received by the publisher who will use it to select bytecode sets).

by Eliot Miranda (eliot.miranda@gmail.com) at April 03, 2017 11:25 PM

Compiler-eem.338

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

by Eliot Miranda (eliot.miranda@gmail.com) at April 03, 2017 11:08 PM

Collections-eem.744

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

Assums Kernel-eem.1082 or later.

by Eliot Miranda (eliot.miranda@gmail.com) at April 03, 2017 11:06 PM

Kernel-eem.1082

Regularize literal printing for the Kernel literal classes.

by Eliot Miranda (eliot.miranda@gmail.com) at April 03, 2017 11:04 PM

April 02, 2017

squeaksource.com

PlotMorph-tpr.38

Add way to set the maximum number of series displayed with a default of 6 to match past behaviour.
Add #series:updatePoint: as a way to add a new point and force the graph to expand its boundaries to handle that new point

by tim rowledge (tim@rowledge.org) at April 02, 2017 12:07 AM

WeatherStation-tpr.6

Quite major architectural changes -
- change from WeatherDisplayDataPoint to SensorDataPoint and subclasses for temperature/humidity/etc
- introduce ExternalSensor class to keep a calibration offset (may need expanding to curve calibration someday)
- add plots for humidity/pressure/rainfall/wind

by tim rowledge (tim@rowledge.org) at April 02, 2017 12:04 AM

March 27, 2017

squeaksource.com

MQTT-tpr.19

Small improvements in handling error situations. Rename findJobsOverdueForAcknowledgement.

by tim rowledge (tim@rowledge.org) at March 27, 2017 10:53 PM

BabySRE-edc.41

Change use of EmptyArray by #()

March 27, 2017 12:54 PM

March 26, 2017

squeaksource.com

PBE-LightsOut-JimPietrangelo.1

First save of simple game tutorial, Lights Out, from "Updated Pharo by Example" book.

by Jim Pietrangelo (jmp@webcampone.com) at March 26, 2017 01:50 PM

March 24, 2017

squeaksource.com

Kernel.V3-dtl.1070

Name: Kernel-eem.1070
Author: eem
Time: 23 March 2017, 11:32:43.949379 am
UUID: 1b8bfbce-9034-46cb-9ac9-631f9d57ae80
Ancestors: Kernel-eem.1069

Move some source and decompilation related methods up from CompiledMethod to CompiledCode. provide method on CompiledCode to allow simple forwarding to the CompiledMehtod from CompiledBlock via outerCode.

Correct a comment.

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

Kernel.V3-dtl.1069

CompiledCode>>numLiterals preserve V3 version

Name: Kernel-eem.1069
Author: eem
Time: 23 March 2017, 11:10:58.741571 am
UUID: f327f174-6584-4322-9adf-aabbb7b95f89
Ancestors: Kernel-eem.1068

Move most relevant accessing mehtods up from Compiledmethod to CompiledCode. Still remaining is a comprehensive localLiterals/literals split.

Add the outerCode accessors to CompiledBlock and its (non-Opal-specific) senders.

Nuke hasNewPropertyFormat; this has been obsolete for ages.

by Dave Lewis (lewis@mail.msen.com) at March 24, 2017 12:03 AM

March 23, 2017

squeaksource.com

Kernel.V3-dtl.1068

Preserve the V3 versions of two instance creation methods, otherwise adopt all changes from Kernel-eem.1068.

Name: Kernel-eem.1068
Author: eem
Time: 23 March 2017, 10:12:09.692043 am
UUID: ee70e995-61c9-468a-8ff5-3238631c3710
Ancestors: Kernel-eem.1067

Add isCompiledCode to Object. Later we can eliminate isCompiledMethod from Object if desired and implement isCompiledBlock and isCompiledMethod only on CompiledCode and subclasses. In any case we need isCompiledCode in Object now more than we need isCompiledMethod. Apologies to all offended by is methods (but get over it ;-) ).

Implement isCompiledBlock in CompiledCode (for subclasses of CompiledCode, foo isCompiledMethod = foo isCompiledBlock not).

Move the relevant class methods up from CompiledMethod to CompiledCode. Redo the error messages in basicNew, new et al.

by Dave Lewis (lewis@mail.msen.com) at March 23, 2017 10:49 PM

March 22, 2017

squeaksource.com

Kernel.V3-dtl.1067

Name: Kernel-eem.1067
Author: eem
Time: 22 March 2017, 1:20:50.066536 pm
UUID: 0073e975-c0c9-4923-9702-88e51890ae33
Ancestors: Kernel-eem.1066

Add CompiledCode and CompiledBlock to the package explciitly, now that the script has created them. Provide the class comments.

by Dave Lewis (lewis@mail.msen.com) at March 22, 2017 08:07 PM

Kernel.V3-dtl.1066

Name: Kernel-eem.1066
Author: eem
Time: 22 March 2017, 11:44:28.351522 am
UUID: 90c23fd4-0e78-4f36-87a2-6dd74f6a284f
Ancestors: Kernel-eem.1065

Invoke the script to install CompiledCode and CompiledBlock

by Dave Lewis (lewis@mail.msen.com) at March 22, 2017 06:49 PM

Kernel.V3-dtl.1065

Name: Kernel-eem.1065
Author: eem
Time: 22 March 2017, 11:40:47.118625 am
UUID: f4ab499b-630a-4aa6-8d66-2a0c8132383d
Ancestors: Kernel-eem.1064

Add the script that morphs the class hierarchy to my liking in installing CompiledCode and CompiledBlock.

by Dave Lewis (lewis@mail.msen.com) at March 22, 2017 06:31 PM

Kernel.V3-dtl.1064

Name: Kernel-eem.1064
Author: eem
Time: 22 March 2017, 9:21:06.777441 am
UUID: 5779c103-0ef2-470d-ae88-a5a759b47510
Ancestors: Kernel-ul.1063

Fix bug in creating new subclasses of #compiledMethod classes.

by Dave Lewis (lewis@mail.msen.com) at March 22, 2017 03:28 PM

March 21, 2017

squeaksource.com

System.V3-dtl.940

Name: System-ul.940
Author: ul
Time: 21 March 2017, 6:55:02.32896 pm
UUID: bb942b8d-8893-42f6-b10f-ba058fbda68c
Ancestors: System-ul.939

- SmalltalkImage >> #specialSelectors returns the raw array used by the VM
- introduced SmalltalkImage >> #specialSelectorNames, which returns just the names of the special selectors without their argument count

by Dave Lewis (lewis@mail.msen.com) at March 21, 2017 06:21 PM

System.V3-dtl.939

Merge, keep protection for vmParameter at > 40

Name: System-ul.939
Author: ul
Time: 20 March 2017, 12:53:20.911193 pm
UUID: 6ec2857d-f206-4fd1-92f0-37edc4f72123
Ancestors: System-eem.938

Always initialize the idleMs temporary in SmalltalkImage >> #vmStatisticsReportString

by Dave Lewis (lewis@mail.msen.com) at March 21, 2017 06:18 PM

System.V3-dtl.938

Update vmStatisticsReportingString to protect for non-Spur VM.

Name: System-eem.938
Author: eem
Time: 19 March 2017, 5:13:33.317857 pm
UUID: fd7c1495-541a-462b-97b8-335f767b8e50
Ancestors: System-ul.937

Update the vmStatisticsReportString to be aware of the tallied idle time in the latest VMs. This allows he report to give meaningful percentage of runtime in GC figures. Update vmParameterAt:[put:] with the idle time and Sista code zone proportion support.

Add [browse]allCallsOn:and:localToPackage:

by Dave Lewis (lewis@mail.msen.com) at March 21, 2017 06:12 PM

System.V3-dtl.937

Now remove SpecialSelectors class var as per skipped prior update.

Name: System-ul.937
Author: ul
Time: 20 March 2017, 12:35:03.813931 am
UUID: 01691bb8-181f-4795-83ce-20130031a81d
Ancestors: System-ul.936

Fixed SmalltalkImage >> #specialSelectors. SystemTracer doesn't use it any more, but it's being used by tests, which expect it to return only the selectors without their argument count.

by Dave Lewis (lewis@mail.msen.com) at March 21, 2017 05:55 PM

System.V3-dtl.936

No changes, skip System-ul.936. The special selectors changes are specific to recent Cog/Spur VMS. SpecialSelectors is presumably still used by the image tracer so do not remove it.

Name: System-ul.936
Author: ul
Time: 19 March 2017, 11:36:31.216287 pm
UUID: 1c32ca6a-2ed9-431d-9f92-b1519276062c
Ancestors: System-tonyg.935

- replaced #blockCopy: with #~~ in specialSelectorsArray
- removed the unused SpecialSelectors class variable from SmalltalkImage
- postscript recompiles the affected methods

by Dave Lewis (lewis@mail.msen.com) at March 21, 2017 05:48 PM

System.V3-dtl.935

Name: System-tonyg.935
Author: tonyg
Time: 16 March 2017, 8:50:09.732313 pm
UUID: 1130798e-730f-46ac-a7db-cc9a2fb617b6
Ancestors: System-dtl.934

Adjust unfocusedSelectionModifier for improved visibility, and darken darkSelectionColor by one step.

by Dave Lewis (lewis@mail.msen.com) at March 21, 2017 03:03 PM

March 20, 2017

squeaksource.com

System.V3-dtl.934

Merge recreateSpecialObjectsArray changes for V3

Name: System-eem.933
Author: eem
Time: 16 March 2017, 11:13:21.423056 am
UUID: e31159b6-b5e7-435f-9362-f3f146523ed3
Ancestors: System-ul.932

Add new primitive error codes used in BitBlt primitives to the primitiveErrorTable.

by Dave Lewis (lewis@mail.msen.com) at March 20, 2017 11:29 PM

System.V3-dtl.933

Name: System-tonyg.933
Author: tonyg
Time: 16 March 2017, 12:26:12.343192 am
UUID: 41dc870b-854c-4cab-8ba0-0a2368ead5d1
Ancestors: System-ul.932

Refactor SolarizedTheme to include darkSelectionColor and darkSelectionTextColor, and to call them as appropriate.

by Dave Lewis (lewis@mail.msen.com) at March 20, 2017 12:15 AM

System.V3-dtl.932

Name: System-ul.932
Author: ul
Time: 13 March 2017, 3:10:17.453603 pm
UUID: 7a305614-9a4b-47f8-a68f-79fcf6f90a80
Ancestors: System-eem.931

- SortedCollection Whack-a-mole
- introduced #classVarNames and #classInstVarNames in PseudoClass, because they had senders
- removed #startTimerInterruptWatcher from messages to keep lists

by Dave Lewis (lewis@mail.msen.com) at March 20, 2017 12:14 AM

System.V3-dtl.931

Patched to work around VM parameter array size assumption in oscog.

Name: System-eem.931
Author: eem
Time: 9 March 2017, 6:00:34.483842 pm
UUID: 05678f28-fed0-4457-a347-fa9d0a0b092f
Ancestors: System-eem.930

Update the VM Stats report to use an additional decimal place for the percentage of uptime spent in GC and scavenging.

by Dave Lewis (lewis@mail.msen.com) at March 20, 2017 12:12 AM

System.V3-dtl.930

Patched to work around VM parameter array size assumption in oscog.

Name: System-eem.930
Author: eem
Time: 9 March 2017, 5:57:44.800851 pm
UUID: bee2dd93-54fa-408c-bf35-fb8b6c842dc5
Ancestors: System-eem.929

Update the VM Stats report to include the more recent macrking vs compaction time, and scavenge threshold data. Break down the uptime in days if running for long enough.

by Dave Lewis (lewis@mail.msen.com) at March 20, 2017 12:09 AM

March 19, 2017

squeaksource.com

System.V3-dtl.929

Name: System-eem.929
Author: eem
Time: 9 March 2017, 4:50:33.064607 pm
UUID: b8dd7f95-bd11-48b9-b669-3595d5464a40
Ancestors: System-jr.928

Add scavenge threshold and time spent in compaction to vmParameterAt:'s comment.

by Dave Lewis (lewis@mail.msen.com) at March 19, 2017 11:56 PM

Kernel.V3-dtl.1063

Name: Kernel-ul.1063
Author: ul
Time: 13 March 2017, 5:08:47.219548 am
UUID: 3959a034-7e65-47a1-b70f-e493b376d673
Ancestors: Kernel-eem.1062

SortedCollection Whack-a-mole

by Dave Lewis (lewis@mail.msen.com) at March 19, 2017 11:50 PM

Kernel.V3-dtl.1062

Name: Kernel-eem.1062
Author: eem
Time: 9 March 2017, 12:34:12.792744 pm
UUID: 6376b349-df2b-4eab-8e2c-8695002a1bcb
Ancestors: Kernel-jr.1061

Eliminate obsolete millisecond delay primitive.

by Dave Lewis (lewis@mail.msen.com) at March 19, 2017 11:49 PM

Files.V3-dtl.168

Name: Files-ul.168
Author: ul
Time: 14 March 2017, 1:27:42.470961 am
UUID: ce489769-10b9-48e5-bc6f-86ee3a5a5eb4
Ancestors: Files-ul.167

- reverted some of the recent changes, because they may not work on other platforms

by Dave Lewis (lewis@mail.msen.com) at March 19, 2017 11:47 PM

Files.V3-dtl.167

Name: Files-ul.167
Author: ul
Time: 13 March 2017, 4:57:03.092475 am
UUID: c1b507f4-6808-43f3-ae9e-c50360ad43fd
Ancestors: Files-cmm.166

FileDirectory changes:

- implemented #directoryContentsFor:do: in all subclasses of FileDirectory, where #directoryContentsFor: was implemented
- introduced #entriesDo: based on the method above
- rewrote methods sending #entries to use #entriesDo: instead
- simplified DirectoryEntryDirectory >> #asFileDirectory
- introduced #hasEntries
- #directoryEntryForName: signals InvalidDirectoryError as suggested by a comment from 2007
- other minor optimizations
- SortedCollection Whack-a-mole

by Dave Lewis (lewis@mail.msen.com) at March 19, 2017 11:44 PM

Compiler.V3-dtl.332

Name: Compiler-ul.332
Author: ul
Time: 13 March 2017, 4:02:25.191527 am
UUID: 7bcb6664-de39-420a-97ab-8968cd28927e
Ancestors: Compiler-dtl.331

SortedCollection Whack-a-mole

by Dave Lewis (lewis@mail.msen.com) at March 19, 2017 11:42 PM

Collections.V3-dtl.742

Name: Collections-ul.742
Author: ul
Time: 13 March 2017, 3:48:27.984404 am
UUID: e13a7666-393a-49e3-ae8f-3fd24d09cb69
Ancestors: Collections-ul.741

- minor tweaks in String >> #alike: and Symbol class >> #hasInterned:ifTrue:

by Dave Lewis (lewis@mail.msen.com) at March 19, 2017 11:40 PM

Collections.V3-dtl.741

Name: Collections-ul.741
Author: ul
Time: 12 March 2017, 10:38:18.989253 pm
UUID: aca328b5-8334-400c-b7d9-9bf1ce83f49f
Ancestors: Collections-fn.740

- trimmed some more #ifAbsent: sends

by Dave Lewis (lewis@mail.msen.com) at March 19, 2017 11:39 PM

Collections.V3-dtl.740

Name: Collections-fn.740
Author: fn
Time: 7 March 2017, 10:49:27.466847 am
UUID: 1133e89d-10ca-4fa1-a98c-c1082fd360e6
Ancestors: Collections-ul.739, Collections-fn.712

HtmlReadWriter: Add support for style attributes in div and span containers and numberic HTML entities.

Name: Collections-fn.712
Author: fn
Time: 6 March 2017, 9:44:54.737668 pm
UUID: ac0592c6-9454-4d11-8ad0-1426ff954e90
Ancestors: Collections-mt.711

Add support for style attr

by Dave Lewis (lewis@mail.msen.com) at March 19, 2017 11:38 PM

Collections.V3-dtl.739

Name: Collections-ul.739
Author: ul
Time: 28 February 2017, 7:34:55.711173 pm
UUID: 66c6ecf2-71bf-4e7d-80e6-5ace72fa19ba
Ancestors: Collections-ul.738

- use micro optimization for #~~ and #notNil in common collection methods
- reuse one of the OrderedCollections in RunArray >> #scanFrom:
- two other minor tweaks in KeyedSet
- removed accidentally commited Set >> #includes2:

by Dave Lewis (lewis@mail.msen.com) at March 19, 2017 11:28 PM

Collections.V3-dtl.738

Name: Collections-ul.738
Author: ul
Time: 27 February 2017, 12:50:24.923499 am
UUID: 3cdaac93-5a62-4fb6-8037-4323767c63a1
Ancestors: Collections-ul.737

Part #3 of Improve SequenceableCollection's index-related search methods

- fixed typo in #indexOf:startingAt:ifAbsent:
- trimmed unnecessary #ifAbsent: sends
- improved a few methods

by Dave Lewis (lewis@mail.msen.com) at March 19, 2017 11:28 PM

Collections.V3-dtl.737

Name: Collections-ul.737
Author: ul
Time: 26 February 2017, 11:57:55.668118 pm
UUID: 8c9af190-2eba-4c9c-98d6-65aab3850908
Ancestors: Collections-ul.736

Part #2 of Improve SequenceableCollection's index-related search methods

- rewrote remaining #indexOf*ifAbsent: implementations in SequenceableCollection
- removed remaining #indexOf*ifAbsent: implementations from subclasses
- implemented correct variant of #indexOfSubCollection:startingAt: in String ('abc' indexOfSubCollection: #[98] startingAt: 1 ifAbsent: [ 0 ] returns 0 instead of 2)

by Dave Lewis (lewis@mail.msen.com) at March 19, 2017 06:14 PM

Compiler.V3-dtl.331

Name: Compiler-ul.329
Author: ul
Time: 27 February 2017, 2:04:49.47425 am
UUID: df499238-217a-4e1c-a710-77577e4df261
Ancestors: Compiler-nice.328

- omit ifAbsent from #index* sends when it would use the default value, 0

by Dave Lewis (lewis@mail.msen.com) at March 19, 2017 06:03 PM

March 18, 2017

squeaksource.com

HV-Divagaciones-edc.19

The search of pages fail for user "visita", this changes should fix the problem

March 18, 2017 10:50 AM

March 16, 2017

squeaksource.com

GoZer-acp.17

modifying protocol to utilize Asn1Der encoding of the Frame's header and payload. Leave the message specification as an 8 bytes frame header. Trying to keep matters tight and also standardized. Sometimes, choices are limited.

by Alan Pinch (pleased2pinch@gmail.com) at March 16, 2017 09:30 PM

Ghosts-acp.9

refactor container interface

by Alan Pinch (pleased2pinch@gmail.com) at March 16, 2017 09:30 PM

WeatherStation-tpr.5

Handle not having a 'temperaturePlot' morph yet crearted and add a way to dump collected data to a JSON format file.

by tim rowledge (tim@rowledge.org) at March 16, 2017 09:00 PM

MQTT-tpr.18

Improve the class comment a little and point to a swiki page for more documentation.
Start the long and probably confusing process of trying to handle possible socket erros with something better than halt.

by tim rowledge (tim@rowledge.org) at March 16, 2017 08:57 PM

Collections-vd.497

<strike></strike> tag for html conversion
Ancestors: Collections-bf.496
Added, Modified, Deleted vs. Collections-bf.496:
M TextEmphasis>>closeHtmlOn:
M TextEmphasis>>openHtmlOn:

by Vaidotas Didzbalis (vaidasd@gmail.com) at March 16, 2017 03:44 PM

March 14, 2017

squeaksource.com

Wonka-StateTransition-Tests-Core-acp.4390

reset stateName

by Alan Pinch (pleased2pinch@gmail.com) at March 14, 2017 04:30 PM

Wonka-StateTransition-Core-acp.1650

reset stateName

by Alan Pinch (pleased2pinch@gmail.com) at March 14, 2017 04:30 PM

Ghosts_squeak-acp.4

adopted new stack protocol

by Alan Pinch (pleased2pinch@gmail.com) at March 14, 2017 04:19 PM

Ghosts-acp.8

adopted new stack protocol

by Alan Pinch (pleased2pinch@gmail.com) at March 14, 2017 04:18 PM

GoZer-acp.16

cleaned up phase gate

by Alan Pinch (pleased2pinch@gmail.com) at March 14, 2017 04:18 PM

JSON-cqr.40

fixed cross padding

by Alan Pinch (pleased2pinch@gmail.com) at March 14, 2017 04:18 PM

JSON-cqr.40

fixed cross padding

by Bob Wood (robert.withers@protonmail.com) at March 14, 2017 02:51 AM

Wonka-StateTransition-Tests-Core-rww.4389

reorged test hierarchy

by Bob Wood (robert.withers@protonmail.com) at March 14, 2017 02:51 AM

Wonka-StateTransition-Core-rww.1649

collecting classes, green

by Bob Wood (robert.withers@protonmail.com) at March 14, 2017 02:51 AM

Ghosts_squeak-rww.3

touch

by Bob Wood (robert.withers@protonmail.com) at March 14, 2017 02:50 AM

Ghosts-dw.7

catchup

by Bob Wood (robert.withers@protonmail.com) at March 14, 2017 02:29 AM

GoZer-dw.15

AESede: 100 KB compressed data chunks received: 100
send time: 1050 ms, rate: 76 Mbs.
receive time: 1050 ms. rate: 76 Mbs.

**Leaves**
61.5% {31376ms} ProcessorScheduler class>>idleProcess
7.4% {3803ms} Array(SequenceableCollection)>>first
3.6% {1850ms} LargePositiveInteger>>\\
2.7% {1369ms} SHA1>>hashStream:
2.1% {1086ms} ByteArray>>bitXor:
1.6% {816ms} SHA1>>finalHash
1.5% {755ms} [] Delay>>wait
1.3% {651ms} LargePositiveInteger(Integer)>>bitShift:
1.1% {556ms} GZipWriteStream(ZipWriteStream)>>moveContentsToFront
1.0% {513ms} SmallInteger(Number)>>negative

**Memory**
old +0 bytes
young -90,256 bytes
used -90,256 bytes
free +90,256 bytes

**GCs**
full 6 totalling 737 ms (1.44% uptime), avg 122.8 ms
incr 1426 totalling 355 ms (0.7% uptime), avg 0.2 ms
tenures 22,437 (avg 0 GCs/tenure)
root table 0 overflows

by Bob Wood (robert.withers@protonmail.com) at March 14, 2017 02:10 AM

Compiler.V3-dtl.330

Name: Compiler-ul.330
Author: ul
Time: 27 February 2017, 2:43:16.813851 am
UUID: 8312df2d-c576-43eb-b847-bfcc53fb4c82
Ancestors: Compiler-ul.329

- fixed the first catch of the new #& and #| type checks

by Dave Lewis (lewis@mail.msen.com) at March 14, 2017 12:37 AM

March 13, 2017

squeaksource.com

MQTT-tpr.17

Attempt to handle connection problems a little more gracefully

by tim rowledge (tim@rowledge.org) at March 13, 2017 11:34 PM

WeatherStation-tpr.4

Make the main example handle a varialbe number of hours for the y x axis range and add an example for the air pressure reading

by tim rowledge (tim@rowledge.org) at March 13, 2017 11:34 PM

PlotMorph-tpr.37

Add drawing of axes at 2 pixels wide to stand out a little, and make submorphs clip to the plotmorph limits

by tim rowledge (tim@rowledge.org) at March 13, 2017 11:31 PM

GoZer-dw.14

removed transforms AESede: 100 KB compressed data chunks received: 100
send time: 1036 ms, rate: 77 Mbs.
receive time: 1037 ms. rate: 77 Mbs.

by Bob Wood (robert.withers@protonmail.com) at March 13, 2017 04:26 AM

March 11, 2017

squeaksource.com

GoZer-rww.9

scopeMaker cleanup

by Bob Wood (robert.withers@protonmail.com) at March 11, 2017 10:39 PM

GoZer-rww.7

fixed draining

by Bob Wood (robert.withers@protonmail.com) at March 11, 2017 09:46 PM

GoZer-rww.7

cleaned up scope creation

by Bob Wood (robert.withers@protonmail.com) at March 11, 2017 08:55 PM

GoZer-rww.7

removed ping-pong

by Bob Wood (robert.withers@protonmail.com) at March 11, 2017 07:46 PM

Wonka-StateTransition-Tests-Core-rww.4388

collecting classes, renaming tests

by Bob Wood (robert.withers@protonmail.com) at March 11, 2017 06:51 PM

GoZer-rww.7

JSON: AESede: 100 KB compressed data chunks received: 10
send time: 3001 ms, rate: 3 Mbs.
receive time: 3002 ms. rate: 3 Mbs.

Asn1Der: AESede: 100 KB compressed data chunks received: 100
send time: 1099 ms, rate: 73 Mbs.
receive time: 1099 ms. rate: 73 Mbs.

Bytes: AESede: 100 KB compressed data chunks received: 100
send time: 1069 ms, rate: 75 Mbs.
receive time: 1070 ms. rate: 75 Mbs.
**Leaves**
52.5% {26151ms} ProcessorScheduler class>>idleProcess
7.3% {3611ms} WeakActionSequence(SequenceableCollection)>>first
3.4% {1675ms} LargePositiveInteger>>\\
2.7% {1327ms} SHA1>>hashStream:
2.5% {1268ms} ByteArray>>bitXor:
2.1% {1054ms} SHA1>>finalHash
1.9% {955ms} LargePositiveInteger(Integer)>>bitShift:
1.6% {773ms} Array(SequenceableCollection)>>do:
1.3% {629ms} SmallInteger(Number)>>negative
1.1% {529ms} [] SystemProgressMorph(Morph)>>updateDropShadowCache

**Memory**
old +16,777,216 bytes
young -17,801,296 bytes
used -1,024,080 bytes
free +17,801,296 bytes

**GCs**
full 10 totalling 1,318 ms (2.65% uptime), avg 131.8 ms
incr 1696 totalling 544 ms (1.1% uptime), avg 0.3 ms
tenures 24,696 (avg 0 GCs/tenure)
root table 0 overflows

by Bob Wood (robert.withers@protonmail.com) at March 11, 2017 06:51 PM

March 10, 2017

squeaksource.com

ConfigurationOfSmallapack-nice.22

Oups and re-oups, the stable version was not that stable (problem of Callback signatures)

March 10, 2017 07:38 PM

ConfigurationOfSmallapack-nice.22

Oups and re-oups, the stable version was not that stable (problem of Callback signatures)

March 10, 2017 07:38 PM