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

August 17, 2017

source.squeak.org

VMMaker.oscog-eem.2263

Fix simulation of Pharo primitiveDirectoryLookup above Squeak.

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

August 16, 2017

source.squeak.org

ShoutCore-tpr.59

#sharedPools was making a Set with included nils, which means that SHParserST80>resolvePartial: breaks when 'c sharedPools do:[.... is used.
This change prevents the obscene spectacle of a Set with deliberately included nils.

by tim Rowledge (tim@rowledge.org) at August 16, 2017 10:31 PM

August 14, 2017

squeaksource.com

ConfigurationOfVistaCursors-TorstenBergmann.8

provide a setting for adjustable cursor size

August 14, 2017 09:52 PM

VistaCursors-TorstenBergmann.5

have cursor size adjustable

August 14, 2017 09:49 PM

Cryptography-hh.77

support UTC and Generalized Times better

by Henry House (henry@callistohouse.club) at August 14, 2017 09:38 AM

August 11, 2017

source.squeak.org

ToolBuilder-Kernel-eem.113

chooseFont:for:setSelector:getSelector: should be subclassResponsibility (both MorphicUIManager and MVCUIManager implement it).

by Eliot Miranda (eliot.miranda@gmail.com) at August 11, 2017 05:36 PM

ToolBuilder-Kernel-eem.112

chooseFromOrAddTo:lines:title: should use self, not UIManager default, since self is already a UIManager.

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

August 10, 2017

source.squeak.org

VMMaker.oscog-eem.2262

LargeIntegers plugin
Fix the crash for 2009 nthRoot: 100000 due to digitDivLarge:with:negative: failing to check if allocations fail. The example produces 600k byet long integers and so provokes plenty of allocation failures.

In addition mark some support methods as <inline: #always> to eliminate their unnecessary uninlined versions.

by Eliot Miranda (eliot.miranda@gmail.com) at August 10, 2017 10:44 PM

CogTools-sk.84

* take into account the modified primitive collectCogCodeConstituents to display the differenciation open/closedPICs
* remove unused method (VMFileSystem, which has been replaced)

To do :
* In the textual report, the display of the number of samples and the cumulated percentages tends to get messy (non aligned) for no reason. I'll try to fix it later

by Sophie Kaleba (sophie.kaleba@gmail.com) at August 10, 2017 01:07 PM

VMMaker.oscog-sk.2261

Modify the profiling primitive cogCodeConstituents: to be able to differentiate the closedPICs from the openPICs in the profiling report

by Sophie Kaleba (sophie.kaleba@gmail.com) at August 10, 2017 09:04 AM

August 09, 2017

source.squeak.org

VMMaker.oscog-eem.2260

Fix Spur instantiateClass:indexableSize: for non-indexaqble objects. Old code would allocate if num indexable slots was 0, but would zero-fill. New code has the fixed old code ifdef'ed out and always fails. We can make the old code work for Squeak if required, but since no one's noticed DirectoryEntry crashing the system this shouldn't be an issue. If peopel feel strongly about the ugly old code simply delete it.

Fix Slang so that e.g. cppIf: (PharoVM or: [true]) ifTrue: aBlock => aBlock

by Eliot Miranda (eliot.miranda@gmail.com) at August 09, 2017 08:38 PM

Tests-eem.381

No longer hard-code the typeOfClass for compiled code MCClassDefinitions. Instead trust the typeSymbol argument. Assumes Monticello-eem.673

by Eliot Miranda (eliot.miranda@gmail.com) at August 09, 2017 07:49 PM

Monticello-eem.673

No longer hard-code the typeOfClass for compiled code MCClassDefinitions. Instead trust the typeSymbol argument.

by Eliot Miranda (eliot.miranda@gmail.com) at August 09, 2017 07:48 PM

Tests-eem.381

No longer hard-code the typeOfClass for compiled code MCClassDefinitions. Instead trust the typeSymbol argument. Assumes Monticello-eem.673

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

Monticello-eem.673

No longer hard-code the typeOfClass for compiled code MCClassDefinitions. Instead trust the typeSymbol argument.

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

August 08, 2017

source.squeak.org

VMMaker.oscog-eem.2259

Plugin Slang
Make sure the accessor depths of optional primitives are emitted as conditionals.

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

Nebraska-tpr.50

Fix a dumb-thumb in the prior update

by tim Rowledge (tim@rowledge.org) at August 08, 2017 01:38 AM

August 07, 2017

source.squeak.org

Nebraska-tpr.49

Correct an ancient underscore assignment

by tim Rowledge (tim@rowledge.org) at August 07, 2017 11:42 PM

Morphic-tpr.1348

Explain that an underscore assignment requires a Preference setting

by tim Rowledge (tim@rowledge.org) at August 07, 2017 11:41 PM

Kernel-tpr.1110

Correct an ancient underscore assignment

by tim Rowledge (tim@rowledge.org) at August 07, 2017 11:38 PM

squeaksource.com

OpenGL-Core-tpr.23

Remove a dud char from the sources

by tim rowledge (tim@rowledge.org) at August 07, 2017 05:37 PM

Balloon3D-Kernel-tpr.11

Correct an underscore assign in comment

by tim rowledge (tim@rowledge.org) at August 07, 2017 03:33 PM

HV-Divagaciones-edc.28

Some cosmetics changes

by Edgar J. De Cleene (edgardec2001@yahoo.com.ar) at August 07, 2017 07:40 AM

ChangesHV-Divagaciones-edc.28

empty log message

by Edgar J. De Cleene (edgardec2001@yahoo.com.ar) at August 07, 2017 07:18 AM

August 03, 2017

source.squeak.org

Network-tpr.202

Correct a misleading comment

by tim Rowledge (tim@rowledge.org) at August 03, 2017 12:56 AM

MorphicExtras-tpr.209

tiny changes to the init of Hygrometer and Thermomemter dials

by tim Rowledge (tim@rowledge.org) at August 03, 2017 12:54 AM

August 02, 2017

squeaksource.com

MQTT-tpr.21

minor comment change.
leave socket stream error handling to the client

by tim rowledge (tim@rowledge.org) at August 02, 2017 04:55 PM

WeatherStation-tpr.14

More early error trapping when connecting to an mqtt broker and include all graphs in a default window.

by tim rowledge (tim@rowledge.org) at August 02, 2017 04:51 PM

source.squeak.org

System-dtl.961

When Project class>>tryOtherProjectForRecovery is searching for a safe project to use for emergency recovery, test for projects of a type that the current project inherits from, but do not require that they be of the same class. This handles the case of errors in a FooMorphicProject that inherits from MorphicProject, for which another Morphic project is not likely to be suitable for handling a fatal error raised in the FooMorphicProject.

Expected behavior when evaluating "Project handlePrimitiveError: 'Foobar' "

In an MVC project that is a chlid of a Morphic project, enter the Mophic project and open a debugger on the process that failed in MVC.

In a Mophic project that is a chlid of an MVC project, enter the MVC project and open a debugger on the process that failed in Morphic.

For the common case of a parent project of the same type as the project from which the error is raised, do not attempt to enter another project, and open an emergency evaluator instead.

by David T. Lewis (lewis@mail.msen.com) at August 02, 2017 01:22 PM

August 01, 2017

squeaksource.com

WeatherStation-tpr.13

Fix sensor offset related JSON loading

by tim rowledge (tim@rowledge.org) at August 01, 2017 08:43 AM

MQTT-tpr.20

Make #disconnect a bit more resilient.
Make sure the utf-8 strings are actually bytearrays before transmitting them

by tim rowledge (tim@rowledge.org) at August 01, 2017 08:42 AM

July 31, 2017

squeaksource.com

WeatherStation-tpr.12

Add some more data saving code

by tim rowledge (tim@rowledge.org) at July 31, 2017 07:35 PM

WeatherStation-tpr.11

Add line color to sensors to aid consistent graphing.
Add WeatherDisplay startup & shutdown handling, improve the example graphs and make sure that the MQTT connection is tagged with the machine ID to avoid clashes on the broker (which shut down both connections, just for fun)

by tim rowledge (tim@rowledge.org) at July 31, 2017 02:40 PM

July 28, 2017

squeaksource.com

2017-TyH-TestCases-JuanPablo.4

Correccion:
- Nombre de un test:
(trasposicion -> transposicion)

by JuanPabloLabrune (juampacabezon@hotmail.com) at July 28, 2017 08:21 PM

2017-TyH-AF.7

- Code Critic v1

by Alejandro Fontán (afontan91@gmail.com) at July 28, 2017 05:47 PM

2017-TyH-TestCases-AF.3

- Fixed RailFence test, se agrego el metodo setUp y tearDown

by Alejandro Fontán (afontan91@gmail.com) at July 28, 2017 04:14 PM

2017-TyH-AF.6

- Fixed decrypt Trasposicion

by Alejandro Fontán (afontan91@gmail.com) at July 28, 2017 04:14 PM

2017-TyH-TestCases-JuanPablo.2

Correcciones:
Se separaron los tests de cada Cipher en dos paquetes:
- tests-catedra para los test provistos por la catedra.
- tests para los tests creados por nosotros.
Ademas:
- Se corrigieron varios tests
- Se crearon diferentes test para ciphers, teniendo en cuenta algunos casos limites.
- Se agrego para el caso del TCC un test como el de la catedra pero en modo regular.

Importante:
Los tests provistos por la catedra fueron modificados para que se correspondieran con nuestra idae de mayusculas y minusculas. Es decis, los input de los test estan TODOS en minusculas.

by JuanPabloLabrune (juampacabezon@hotmail.com) at July 28, 2017 01:12 PM

2017-TyH-JuanPablo.5

Correcciones:
- Eliminar toLowerCase.
- Bugs menores.

by JuanPabloLabrune (juampacabezon@hotmail.com) at July 28, 2017 01:08 PM

2017-TyH-JuanPablo.1

empty log message

by JuanPabloLabrune (juampacabezon@hotmail.com) at July 28, 2017 10:13 AM

2017-TyH-TestCases-AF.1

First commit

by Alejandro Fontán (afontan91@gmail.com) at July 28, 2017 02:36 AM

2017-TyH-AF.4

MultiCipher fixed

by Alejandro Fontán (afontan91@gmail.com) at July 28, 2017 02:33 AM

July 27, 2017

squeaksource.com

2017-TyH-AF.3

Control del tipo de key en Rail Fence

by Alejandro Fontán (afontan91@gmail.com) at July 27, 2017 11:32 PM

2017-TyH-AF.2

Limpieza en decripy de trasposicion

by Alejandro Fontán (afontan91@gmail.com) at July 27, 2017 10:13 PM

2017-TyH-Anonymous.1

Primer commit

by Alejandro Fontán (afontan91@gmail.com) at July 27, 2017 08:35 PM

ConfigurationOfCommandShell-ThierryGoubier.22

CommandShell 4.6.19

July 27, 2017 08:01 PM

ConfigurationOfOSProcess-ThierryGoubier.42

OSProcess 4.6.9
Handle Pharo deprecation of #ifNotNilDo:

July 27, 2017 08:00 PM

OSProcess-Win32-ThierryGoubier.15

OSProcess 4.6.9
Handle Pharo deprecation of #ifNotNilDo:

by Thierry Goubier (thierry.goubier@gmail.com) at July 27, 2017 07:55 PM

OSProcess-Base-ThierryGoubier.58

OSProcess 4.6.9
Handle Pharo deprecation of #ifNotNilDo:

by Thierry Goubier (thierry.goubier@gmail.com) at July 27, 2017 07:55 PM

CommandShell-Base-ThierryGoubier.52

CommandShell 4.6.19
Forgot updating #versionString

by Thierry Goubier (thierry.goubier@gmail.com) at July 27, 2017 07:49 PM

CommandShell-Piping-ThierryGoubier.20

CommandShell 4.6.19
Handle Pharo deprecation of #ifNotNilDo:

by Thierry Goubier (thierry.goubier@gmail.com) at July 27, 2017 07:47 PM

CommandShell-Base-ThierryGoubier.51

CommandShell 4.6.19
Handle Pharo deprecation of #ifNotNilDo:

by Thierry Goubier (thierry.goubier@gmail.com) at July 27, 2017 07:47 PM

July 25, 2017

squeaksource.com

Moose-Core-CezaryB.439

First package on clustering allowing: making on-fly clustering of loaded models, interactive visualization of these clusterings.
Used libs: Glamour, Roassal.
Base for other works.

by Cezary (c.boldak@pb.edu.pl) at July 25, 2017 03:12 PM

Metacello-MC-CezaryB.734

First package on clustering allowing: making on-fly clustering of loaded models, interactive visualization of these clusterings.
Used libs: Glamour, Roassal.
Base for other works.

by Cezary (c.boldak@pb.edu.pl) at July 25, 2017 03:12 PM

Famix-Core-CezaryB.280

First package on clustering allowing: making on-fly clustering of loaded models, interactive visualization of these clusterings.
Used libs: Glamour, Roassal.
Base for other works.

by Cezary (c.boldak@pb.edu.pl) at July 25, 2017 03:12 PM

ConfigurationOfCBClustering-CezaryB.1

First package on clustering allowing: making on-fly clustering of loaded models, interactive visualization of these clusterings.
Used libs: Glamour, Roassal.
Base for other works.

by Cezary (c.boldak@pb.edu.pl) at July 25, 2017 03:12 PM

CB-clustering-CezaryB.2

Added magritte panel to store database connection parameters

by Cezary (c.boldak@pb.edu.pl) at July 25, 2017 03:12 PM

source.squeak.org

Collections-bf.761

Remove ByteArray>>at:put: and fix the fallback code in ByteArray>>#replaceFrom:to:with:startingAt: to match prim 105

by Bert Freudenberg (bert@freudenbergs.de) at July 25, 2017 11:25 AM

July 23, 2017

source.squeak.org

Kernel-nice.1109

Define gcd: and lcm: for Fraction.

For example, 1/5 and 1/7 are both whole multiple of 1/35 (which is their gcd).

by Nicolas Cellier (nicolas.cellier.aka.nice@gmail.com) at July 23, 2017 12:42 PM

July 21, 2017

source.squeak.org

VMMaker.oscog-eem.2257

InterpreterPlugins:
Add the Terf primitives to the HostWindowPlugin as <option: #TerfVM>. Hence add #TerfVM to namesDefinedAtCompileTime.
Make positive/signedMachineIntegerFor: <inline: #always> since they're merely indirections to 64-bit and 32-bit functions, and with #always we don't bother to generate the method itself.

by Eliot Miranda (eliot.miranda@gmail.com) at July 21, 2017 06:33 PM

July 20, 2017

squeaksource.com

ObjectiveC-Base-JohnMMcIntosh.48

Start work on migration to Pharo 5.x. Fix issues with inspect operation

by John M McIntosh (johnmci@smalltalkconsulting.com) at July 20, 2017 05:41 PM

July 18, 2017

source.squeak.org

VMMaker.oscog-eem.2254

Spur: Fail become if copyHash is true and target is immutable.

FloatArrayPlugin: Fix length & normalize to return at failure points instead of continuing.

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

Morphic-mt.1347

Regarding window colors and window listing, improve robustness for models that do not subclass Model and forget to provide #windowColorToUse.

Note that we could have added that message to Object but I do prefer not to clutter the interface any further.

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

July 13, 2017

source.squeak.org

Multilingual-eem.229

Fix two test failures due to bugs in the UTF16TextConverter

by Eliot Miranda (eliot.miranda@gmail.com) at July 13, 2017 01:19 AM

Collections-eem.760

Make Interval>>, answer another Interval if possible, so that (1 to: 2), (3 to: 4) answers (1 to: 4) not #(1 2 3 4).

Correct a misapprension in String>>hash.

Use the preferred var:type: and nuke an unused declaration in some translated primitives.

by Eliot Miranda (eliot.miranda@gmail.com) at July 13, 2017 12:30 AM

EToys-eem.305

Fix the ScriptCompiler's evaluate:in:to:notifying:ifFail:logged: method for non-cil contexts (e.g. the ContextVariablesInspector bottom right pane in the debugger). The old code used aContext methodClass which would exclude the variables of a receiver whose class inherited the method, rather than implemented it directly (e.g. debug (1@2) printString and in the context inspector on the Point(Object)>>printString activation try and evaluate x@y. Using methodClass excludes Point's inst vars.

At the same time eliminate its reliance on DoIt: and DoItIn:

by Eliot Miranda (eliot.miranda@gmail.com) at July 13, 2017 12:17 AM

Compiler-eem.357

Fix the Compiler's evaluate:in: methods for non-cil contexts (e.g. the ContextVariablesInspector bottom right pane in the debugger). The old code used aContext methodClass which would exclude the variables of a receiver whose class inherited the method, rather than implemented it directly (e.g. debug (1@2) printString and in the context inspector on the Point(Object)>>printString activation try and evaluate x@y. Using methodClass excludes Point's inst vars.

by Eliot Miranda (eliot.miranda@gmail.com) at July 13, 2017 12:14 AM

Tools-eem.765

Fix bug in DictionaryInspector when browsing references but selecting an inst var of the receiver.

by Eliot Miranda (eliot.miranda@gmail.com) at July 13, 2017 12:09 AM

July 12, 2017

source.squeak.org

EToys-eem.304

Make allExtantPlayers robust in the presence of a newly instantiated EtoysPresenter, which is something that happens during project loading. With this change I can now load saved projects.

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

CogTools-sk.83

remove duplicated code and unused method

by Sophie Kaleba (sophie.kaleba@gmail.com) at July 12, 2017 08:47 AM

July 09, 2017

source.squeak.org

System-eem.959

Adapt the NativeImageSegment loading code to the new loadSegmentFrom:outPointers: API.

by Eliot Miranda (eliot.miranda@gmail.com) at July 09, 2017 04:10 AM

squeaksource.com

Session-hh.29

BDS? Deconstruct. Sole objective.

July 09, 2017 02:11 AM

July 08, 2017

squeaksource.com

FEC-hh.5

empty log message

July 08, 2017 11:40 PM

source.squeak.org

VMMaker.oscog-eem.2252

SpurImageSegments
Fix some signed comparisons in mapOopsAndValidateClassRefsFrom:to:outPointers:.

Add class side analysis a la SpurPlanningCompactor.

Slang:
Propagate types from "ible" to "var" in "var := ible := expr" when inferring types from assignments.

by Eliot Miranda (eliot.miranda@gmail.com) at July 08, 2017 12:06 AM

July 07, 2017

source.squeak.org

VMMaker.oscog-eem.2251

Spur:
Round the space estimate when a new segment is used for planning compaction to avoid an assert fail.

Fix bad slip in computing objectsReachableFromRoots: (the wrong object was being marked when pushing unmarked objects onto the objStack), and rewrite to avoid growing the markStack unnecessarily. Fix an assert fail in adding to the mark stack by handling totalFreeOldSpace correctly (and comment other callers of allocateLargestFreeChunk).

Refactor use of marked bit to identify heap objects copied into the segment into isCopiedIntoSegment: & markAsCopiedIntoSegment:.

Make sure unsigned comparisons are used for several address/oop comparisons in the segment code.

Add support for doing an image segment save and/or load in a clone (which was key in debugging the slip in objectsReachableFromRoots:).

Add some debugging routines: forwardersIn:, indexOf:in:.

by Eliot Miranda (eliot.miranda@gmail.com) at July 07, 2017 07:56 PM

July 06, 2017

source.squeak.org

CogTools-sk.81

* Refactor (cleaner structure when initializing to get either a SqueakVMProfiler or PharoVMProfiler instance)
* added the detailed profiling features (at last!) - still need to work on the display
* Fixed rounded percentages in the report
* Display of the profiled expression in headless mode
* cleaning / renaming classes and methods for consistency

by Sophie Kaleba (sophie.kaleba@gmail.com) at July 06, 2017 02:43 PM

WebClient-Core-topa.109

As with content-type-charset, cope for content-encoding variability

by Tobias Pape (tobias+squeaksource@netshed.de) at July 06, 2017 01:26 PM

WebClient-Tests-topa.52

rename charset test, add gzip test

by Tobias Pape (tobias+squeaksource@netshed.de) at July 06, 2017 01:23 PM

WebClient-Core-topa.108

fix encoding/converter ordering.
Thanks Max Leske

by Tobias Pape (tobias+squeaksource@netshed.de) at July 06, 2017 10:06 AM

July 04, 2017

source.squeak.org

System-bf.958

ImageSegmentLoader: ignore old contexts

by Bert Freudenberg (bert@freudenbergs.de) at July 04, 2017 11:27 AM

July 03, 2017

source.squeak.org

46Deprecated-eem.6

Use the abstract class-side interface for image segment use now that we have both LegacyImageSegment and NativeImageSegment.

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

EToys-eem.303

Use NativeImageSegment to compute rootsIncludingPlayers.

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

Morphic-eem.1345

Use the abstract class-side interface for image segment use now that we have both LegacyImageSegment and NativeImageSegment.

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

Tests-eem.379

Use the abstract class-side interface for image segment use now that we have both LegacyImageSegment and NativeImageSegment.

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

System-eem.957

Rstore the ImageSegment reading & writing facilities.
Refactor ImageSegment into ImageSegment, LegacyImageSegment (the new all-Smalltalk v3 loading code) and NativeImageSegment (the existing implementation dependent on ObjectMemory primitives).

Provide ImageSegment class-side methods for reading to insulate clients from the subclasses.

The space analysis that decoded the image segment bits needs to be rewritten for Spur. See senders of errorRewriteForSpur.

Nuke compactClassesArray usage from NativeImageSegment, and indeed from SmalltalkImage>>cleanUp.

The ImageSegmentTests pass but the BitmapStreamTests do not. Needs fiurther investigation but should be easy to fix given that the ImageSegmentTests pass.

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

WebClient-Core-topa.107

Make sure WebMessage>>getContent respects charset.

by Tobias Pape (tobias+squeaksource@netshed.de) at July 03, 2017 03:28 PM

WebClient-Tests-topa.51

Make sure WebMessage>>getContent respects charset.

by Tobias Pape (tobias+squeaksource@netshed.de) at July 03, 2017 03:27 PM

WebClient-Tests-topa.50

[WebServer] Since '/' is treated as default entry point, expecting an error is wrong here.

by Tobias Pape (tobias+squeaksource@netshed.de) at July 03, 2017 02:14 PM

squeaksource.com

ConfigurationOfNeo4reSt-MasashiUmezawa.36

Added 0.3.1 description

July 03, 2017 02:02 PM

July 02, 2017

squeaksource.com

HV-Divagaciones-edc.27

see squeakros.org

by Edgar J. De Cleene (edgardec2001@yahoo.com.ar) at July 02, 2017 01:34 PM

July 01, 2017

source.squeak.org

MorphicTests-mt.41

Adds a test for event handler and red/blue/yellow mouse down.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at July 01, 2017 12:57 PM

Graphics-mt.381

Quick fix for preferring default/old color names over the crayon ones. We may want to rethink the lookup procedure in Color >> #name.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at July 01, 2017 12:55 PM

June 30, 2017

source.squeak.org

VMMaker.oscog-eem.2250

Spur Image Segments:
Fix the mapping mistakes on the store side. N.B. The code needs rewriting to abstract mapping operarions and to use more descriptive variable names (inSegOop in stead of objOop etc).

Add a big test and rename the small test.

Get WordArrays to print in hex in the inspector.

by Eliot Miranda (eliot.miranda@gmail.com) at June 30, 2017 09:07 PM

Morphic-eem.1344

Make browseIt (Apple/Alt-b) work for class and pool variables.

by Eliot Miranda (eliot.miranda@gmail.com) at June 30, 2017 06:44 PM

Graphics-eem.380

Trim Dispplay flash: aRectangle time to 50ms

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

CogTools-sk.80

* moves back the Mac tempDir to /tmp
* add the deleteContents for Pharo

Still need to fix (soon):
* the rounding in the report
* bug from Integer>>readFrom:
* displays the profiled block in the headless report (it only shows when generating the report from the UI right now)
* add comments

by Sophie Kaleba (sophie.kaleba@gmail.com) at June 30, 2017 03:26 PM

Morphic-mt.1343

Small fix for showing a morph's halo directly after its world's halo got activated.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at June 30, 2017 12:05 PM

Tools-pre.764

Minor refactoring by topa of a menuPragma method.

by Patrick Rein (patrick.rein@gmail.com) at June 30, 2017 09:42 AM

Collections-pre.759

OrderedDictionary was missing the simple last selector.

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

EToys-mt.302

Companion for Morphic-mt.1342.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at June 30, 2017 07:29 AM

60Deprecated-mt.7

Companion for Morphic-mt.1342.

Deprecates specific handler-priority callbacks, which can easily be replaced by using the generic callback #handlerForMouseDown:.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at June 30, 2017 07:28 AM

Morphic-mt.1342

Extract initial invocation of halo or meta menu to event filter at world level. Having this, EventHandler is more reliable and invocation logic is fully captured in PasteUpMorph >> #tryInvokeHalo:. Further halo transfer logic enclosed in SimpleHaloMorph.

This works now:

m := Morph new.
m openInWorld.

m wantsHaloFromClick: false.
m wantsYellowButtonMenu: false.
m wantsMetaMenu: false.

m on: #mouseDown send: #value: to:[:evt|
evt redButtonPressed ifTrue:[m color: Color red].
evt yellowButtonPressed ifTrue:[m color: Color yellow].
evt blueButtonPressed ifTrue:[m color: Color blue]].

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at June 30, 2017 07:26 AM

VMMaker.oscog-eem.2249

Fix slip in byteSizeOfInstanceOf:withIndexableSlots:errInto: that results in byteSizeOfInstanceOfSize: 0 answering nonsense for non-variable classes, instead of failing as intended.

by Eliot Miranda (eliot.miranda@gmail.com) at June 30, 2017 01:11 AM

VMMaker.oscog-eem.2248

Add a test for image segments that tries to save all of HashedCollection's subclasses and reload it. Currently no comparison of input and output yet.

Refactor SpurPlanningCompactorTests & (the new) SpurImageSegmentTests under SpurImageSegmentTests and SpurPlanningCompactorTestsImageResource to SpurImageTestResource.

Simplify and avoid inlining the segment manager result-returning/restoration routines. Add a few more sends of halt to error results retrurned (in mapOopsFrom:...).
Don't offset class out pointer references by firstClassIndexPun.
Extract the check for an out pointer class hash (in mapOopsFrom:...) into its own method.

by Eliot Miranda (eliot.miranda@gmail.com) at June 30, 2017 12:00 AM

June 29, 2017

source.squeak.org

Cog-eem.344

Move SimulatorHarness into VMMaker. It is useful in tests.
Fix Spur32BitPreen>>reportSizes given the changes to total heap size in VMMaker.oscog-eem.2237 & VMMaker.oscog-eem.2244.

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

MorphicExtras-tpr.208

Move the rotary dial morphs into this package as suggested by Marcel.

by tim Rowledge (tim@rowledge.org) at June 29, 2017 08:39 PM

VMMaker.oscog-eem.2247

Allow primitiveBytesLeft to answer the largesdt free chunk if on Spur and the argument is nil.
Clean up needGCFlagAddress sender and nuke unnecessary indirection.
Fix SpurMemoryManager>>bytesLeft:'s comment.

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

SystemReporter-mt.37

Fixes some glitch with the font in the system reporter's report.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at June 29, 2017 01:03 PM

Graphics-mt.379

Fixed integration of color names with named crayon colors. Thanks to Ralph for pointing this out.

This works now: "Color banana name"

Note that I still do not follow up the scheme of having a class var for each named crayon color like the old named colors do. We can do this in the future if performance of named color access becomes an issue. Then, we could just opt for a caching dict and not a bunch of class vars. See MenuIcons for an example.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at June 29, 2017 11:36 AM

51Deprecated-mt.48

Fix explanation of deprecation warning for window colors.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at June 29, 2017 11:17 AM

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.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at June 29, 2017 09:56 AM

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.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at June 29, 2017 09:51 AM

EToys-cbc.299

Removed Etoys-Squeakland-Graphics-External.
Its classes are now in http://www.squeaksource.com/Balloon3D

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at June 29, 2017 09:47 AM

Graphics-cbc.375

Factored out remaining pieces of ExternalForm, simplifying Form methods in the process. Minimal support left there, in case you want to use ExternalForm in the future. New location of classes noted in Form comment.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at June 29, 2017 09:46 AM

EToys-mt.301

Merges cbc.299
See http://forum.world.st/Updated-and-finished-removal-of-ExternalForm-and-related-classes-td4945675.html

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at June 29, 2017 09:45 AM

Graphics-mt.378

Merges cbc.375
See http://forum.world.st/Updated-and-finished-removal-of-ExternalForm-and-related-classes-td4945675.html

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at June 29, 2017 09:44 AM

EToys-cbc.296

Merge with latest.
Also, additional removal of ExternalForm/ExternalScreen forks in Form methods. That is, simplified Form methods where possible to not include any tests for ExternalForm/ExternalScreen, and instead let polymorphism take care of most of those issues.

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at June 29, 2017 09:21 AM

EToys-cbc.294

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

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at June 29, 2017 09:18 AM

EToys-cbc.293

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

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at June 29, 2017 09:18 AM

GraphicsExternal-cbc.1

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

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at June 29, 2017 09:14 AM

GraphicsExternal-cbc.2

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

by Marcel Taeumel (marcel.taeumel@hpi.uni-potsdam.de) at June 29, 2017 09:14 AM

June 28, 2017

source.squeak.org

System-pre.956

Improves on the description of the garbage collect utility call.

by Patrick Rein (patrick.rein@gmail.com) at June 28, 2017 09:03 AM

squeaksource.com

HV-Divagaciones-edc.1

Moved to privae development

by Edgar J. De Cleene (edgardec2001@yahoo.com.ar) at June 28, 2017 04:28 AM

source.squeak.org

System-eem.955

Have bytesLeft answer the result it claims to (Spur changed the p[rmitive to answer the largest free chunk; needed for the allocation failure followed by growth and retry logic).
Update bytesLeft string to include the largest free chunk info.
Comment garbageCollect properly.
Fix a comment typo.
Nuke unused methods in SuystemDictionary that are in SmalltalkImage.

by Eliot Miranda (eliot.miranda@gmail.com) at June 28, 2017 01:07 AM

June 27, 2017

source.squeak.org

VMMaker.oscog-rmacnak.2246

Add a description of the MIPS compiler's status to its class comment.

by Ryan Macnak (rmacnak@gmail.com) at June 27, 2017 03:54 AM

June 26, 2017

squeaksource.com

Session-Alpha.25

relocate BufferListLayer and new thunk cleanup

June 26, 2017 07:14 AM

EventualNet-Alpha.4

relocate BufferListLayer and new thunk cleanup

June 26, 2017 07:13 AM

EventualNet-Alpha.3

refactor for Session

June 26, 2017 06:07 AM

Session-Alpha.24

repaired asn1 type namespace

June 26, 2017 05:03 AM

Session-Alpha.23

fixed vat use

June 26, 2017 04:48 AM

EventualCore-Alpha.3

fixed ifCurtailed: hang-up

June 26, 2017 04:48 AM

June 24, 2017

squeaksource.com

VMConstruction-Plugins-OSProcessPlugin-dtl.43

Remove redundant include <stdlib.h>

by Dave Lewis (lewis@mail.msen.com) at June 24, 2017 09:43 PM

Session-Alpha.22

stabilize

June 24, 2017 11:41 AM

June 23, 2017

source.squeak.org

Collections-eem.758

Deprecate addNewElement:

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

60Deprecated-eem.6

Deprecate addNewElement:

by Eliot Miranda (eliot.miranda@gmail.com) at June 23, 2017 07:05 PM

Monticello-eem.671

Reimplement allAncestorsDo:visitedAncestors: using ifAbsentAdd:

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

Kernel-eem.1108

Implement messagesDo: using ifAbsentAdd:

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

CollectionsTests-eem.280

Add tests for withoutDuplicates and ifAbsentAdd:

by Eliot Miranda (eliot.miranda@gmail.com) at June 23, 2017 06:34 PM

Collections-eem.757

Add Set>>ifAbsentAdd: as a better named equivalent of addNewElement:.
Reimplement withoutDuplicates using ifAbsentAdd:.
Add the obvious Set-specific implementation of addIfNotPresent:.
Fix a bug with RunArray>>=; the old code would error if compared against other than a collection.

by Eliot Miranda (eliot.miranda@gmail.com) at June 23, 2017 06:33 PM

FFI-Kernel-eem.46

Fix booleanAt:

by Eliot Miranda (eliot.miranda@gmail.com) at June 23, 2017 05:00 PM

June 02, 2017

source.squeak.org

Network-eem.198

Correct deadlineSecs:. There is no roll over problem with the clock scheme from Squeak 5 on.

by Eliot Miranda (eliot.miranda@gmail.com) at June 02, 2017 07:12 PM

June 01, 2017

source.squeak.org

Kernel-nice.1107

Correct digitLength for negative SmallInteger

The length was overestimated for some numbers, for example
self assert: -16rFF01 digitLength = 2.

With old code it would answer 3.
Indeed, the binary representation is 16r...FFFFFF00FF
After shifting once, we got 16r....FFFFFF00, that is -256 and we shifted yet another time.

digitLength works on magnitude (like LargeInteger) so we have to take absolute value, but care of SmallInteger minVal abs which is a LargePositiveInteger with same trick as digitAt:

by Nicolas Cellier (nicolas.cellier.aka.nice@gmail.com) at June 01, 2017 10:13 PM

squeaksource.com

ELinda-rww.7

um

by Bob Wood (robert.withers@protonmail.com) at June 01, 2017 09:30 PM

source.squeak.org

Morphic-eem.1340

Fix browseIt so that accesses to a selected inst var are browsed, not just senders of the accessor. Needs alternateBrowseIt preference disabled.

by Eliot Miranda (eliot.miranda@gmail.com) at June 01, 2017 08:22 PM

Morphic-eem.1339

Changes harvested from Terf:
Add nClicks capture and access for MouseMenuEvents (the Cog VMs have produced this info by virtue of originating at Qwaq).

Break an Etoys dependency in adding halos to morphs.

Minor otimization to transforms in FrmCanvas; no need to set cellSize more than once.

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

Morphic-eem.1338

Increase the visibility of the menu gradient by using thriceLighter to thriceDarker.
Add preferences to DialogWIndow to exclude the close button and/or control menu.

by Eliot Miranda (eliot.miranda@gmail.com) at June 01, 2017 05:42 PM

Graphics-eem.376

Add thriceLighter and thriceDarker for more visible gradients.

by Eliot Miranda (eliot.miranda@gmail.com) at June 01, 2017 05:36 PM

squeaksource.com

EventualCore-rww.1

rename

by Bob Wood (robert.withers@protonmail.com) at June 01, 2017 12:25 AM

EventualNet_squeak-rww.1

reorg

by Bob Wood (robert.withers@protonmail.com) at June 01, 2017 12:23 AM

EventualNet-rww.1

reorg

by Bob Wood (robert.withers@protonmail.com) at June 01, 2017 12:22 AM

May 31, 2017

squeaksource.com

ELinda-rww.6

timing

by Bob Wood (robert.withers@protonmail.com) at May 31, 2017 10:41 PM

ELindaSession-rww.11

reset

by Bob Wood (robert.withers@protonmail.com) at May 31, 2017 10:41 PM

source.squeak.org

KernelTests-eem.329

Kernel tests harvested from Terf.

by Eliot Miranda (eliot.miranda@gmail.com) at May 31, 2017 05:43 PM

December 12, 2011

squeaksource.com

w00t

Here it goes...

December 12, 2011 03:50 PM

November 23, 2011

squeaksource.com

Dead Code Detection - Group 6 - Week 1

We were able to import *.mse files successfully and started to think about how we could detect dead code. After browsing through the moosetechnology.org website, we saw that one possibility would be to use the methods provided by Moose Chef to handle dead code detection. But since this is all new to us we would like to be sure that we're not starting off from the wrong foot. Could you please tell us if using Moose Chef would be a good approach? Thank you.

by Frédéric Aebi (frederic.aebi@unifr.ch) at November 23, 2011 06:53 AM

October 02, 2011

squeaksource.com

A database driver for MySQL protocol

The driver is now capable of authenticating users in case the password was created in old style (short hash). The new style (long hash) password support remains available as usual. The fallback is silent, and handled during the handshake. Similar mechanisms apply to change user command.

In order to test the short has password cases change the password to use the old style by issuing commands like (from an admin account):

set password for 'stdbtestuser'@'%' = old_password('stdbtestpass')

Then run the test suite.

To change the password style back to new hash just do:

set password for 'stdbtestuser'@'%' = password('stdbtestpass')

Then run the test suite again to confirm.

by Anindya Haldar (anindya_haldar@yahoo.com) at October 02, 2011 08:17 AM

September 26, 2011

squeaksource.com

SBE Quinto Game

hmm, test: add message

by Philippe Quesnel (philippe.quesnel@gmail.com) at September 26, 2011 06:18 AM

July 16, 2011

squeaksource.com

FSGittest

test

by Max Leske (theseion@students.unibe.ch) at July 16, 2011 09:29 AM

July 10, 2011

squeaksource.com

Pier Multilanguage

Fehlerbehebung: Ein neuer Blog-Eintrag konnte nicht gespeichert werden, da bei der Ermittlung des Index die Monatsnamen aus dem Englischen herangezogen wurden (July - Juli).

by Thomas Aldag (thomas.aldag@gmx.de) at July 10, 2011 11:39 AM

April 12, 2011

squeaksource.com

StSearch - Search Engine for Smalltalk

The latest version is working fine in Squeak 4.2. Please be informed.

by Zhe Xi Lim (limzhexi@hotmail.com) at April 12, 2011 08:29 AM

December 24, 2010

squeaksource.com

AltFreeCell

Updated for Pharo 1.1 (and 1.2beta1) with some bugfixes.

Note that there is a bug in Pharo on Linux where saving an image causes Color black to become Color transparent. A work-around is to eval 'AltCardMorph initialize', then click on Start Over (or 'Klondike new openInWorld').

by Ken Dickey (Ken.Dickey@whidbey.com) at December 24, 2010 09:13 PM

September 18, 2010

squeaksource.com

Frob, Twiddle and Tweak

just frobbin' round

by frob (mehl@frob.de) at September 18, 2010 12:52 PM

September 11, 2010

squeaksource.com

VerMonTest

Hola!

by Pablo (pcarreno@dcc.uchile.cl) at September 11, 2010 07:26 PM

April 30, 2010

squeaksource.com

OMeta

Make sure you load the "preload" package before the "postload" package!

by Alex Warth (alexwarth@gmail.com) at April 30, 2010 11:14 PM

November 14, 2009

squeaksource.com

MessageNotUndestood>>UndefindObject>>visible.

see

http://gdsfeel.com/note/?BUGS

insert ifNotNilDo: block

by Kenjiro Fukuda (gdsfeel_doit@me.com) at November 14, 2009 04:50 AM

September 29, 2009

squeaksource.com

LazyRabbit

What is this? Testing Testing. "Add Message"

by HwaJong Oh (hwajongoh@me.com) at September 29, 2009 08:03 AM