Week 24/2024 on the Pharo Issue Tracker

Pharo 12

Improvemetns

Fixes

Tools

Cleanups

Two talks about Pharo

Here are the videos of the talks I did at NoviSad. 

Customizable tools are developers’s best friends

https://rmod-files.lille.inria.fr/Pharo/PharoPresentations/2024-ToolsAreDevFriends.mov

Immersive Pharo for Art and Others

https://rmod-files.lille.inria.fr/Pharo/PharoPresentations/2024-ImmersivePharo.mov

S.

Wee week 22/2024 on the Pharo Issue Tracker

Pharo 12

  • Backport use of icon #smallPharo in #pharoItemsOn: for WorldState and #menuCommandOn: for ProfStef #16695 pharo-project/pharo#16695

Fixes

Improvements

Cleanups

Pharo talks at Novi Sad

Hi everyone

I published the two talks I will do at Novi sad:
http://talks.pharo.org

  • Tools are developers’ best friends
  • Immersive Pharo for Art and more

Videos may be posted later.

S.

Week 21 on the Pharo tracker

# Pharo 11 backports

– P11 – During compilation there are redundant allocation of collections #16485
https://github.com/pharo-project/pharo/pull/16485

# Pharo 12

– Fix for pharo/pharo-project#16677: libgit2 library not listed in LGitLibrary>>#unix64LibraryName #85
https://github.com/pharo-vcs/libgit2-pharo-bindings/pull/85

# Fixes

– 15652-Check-and-add-test-for–CompiledCodenewFrom #16663
https://github.com/pharo-project/pharo/pull/16663

– Debug points cleaning fixing #16670
https://github.com/pharo-project/pharo/pull/16670

– Change #pharoItemsOn: for WorldState and #menuCommandOn: for ProfStef to use the icon #smallPharo #16496
https://github.com/pharo-project/pharo/pull/16496

# Scriptable Debugger

– Migrate to Tonel V3 #97
https://github.com/pharo-spec/ScriptableDebugger/pull/97

– Cleanup: do not use #notNil, use #isNotNil instead #96
https://github.com/pharo-spec/ScriptableDebugger/pull/96

# Rules / Refactoring Engine

– Make class abstract driver #16347
https://github.com/pharo-project/pharo/pull/16347

– proposition for a potential new rule: use deny: instead of assert:equals:false #16668
https://github.com/pharo-project/pharo/pull/16668

# Cleanup

– Debug point refactoring #757
https://github.com/pharo-spec/NewTools/pull/757

– Remove empty Manifests from baseline packages, synchronize on the tag… #16537
https://github.com/pharo-project/pharo/pull/16537

– Remove VariableLayout from tests #16686
https://github.com/pharo-project/pharo/pull/16686

– 16680-Zinc-uses-old-Announcers-API #16681
https://github.com/pharo-project/pharo/pull/16681

– 16608 cleanup crown initialize should call super initialize #16676
https://github.com/pharo-project/pharo/pull/16676

– Deprecate RPackageSet #16675
https://github.com/pharo-project/pharo/pull/16675

– Update call to a deprecated class #16671
https://github.com/pharo-project/pharo/pull/16671

– fixes #16610: Cleanup: simple typo in Crown class comment #16666
https://github.com/pharo-project/pharo/pull/16666

Week 20/24 on the Pharo Issue Tracker

# Pharo 12

– Backport use of FormSet for ToggleMenuItemMorph submenu markers #16631
https://github.com/pharo-project/pharo/pull/16631

# Ehancements

– [Enhancement] Add “copy class name” to extras menu in Calypse #16635
https://github.com/pharo-project/pharo/pull/16635

– Add missing RGGlobalVariable>>isInstanceVariable #16644
https://github.com/pharo-project/pharo/pull/16644

– Introduce CompiledMethod>>#isInstanceSide #16626
https://github.com/pharo-project/pharo/pull/16626

# Fixes

– Issue 16430 – String>> asSymbol no protected against concurrent access (alternative solution) #16565
https://github.com/pharo-project/pharo/pull/16565

– [Bug]: Date>>#addMonths: should Respect Offset #16603
https://github.com/pharo-project/pharo/pull/16603

– sort subdirectories in the same order as the file tree table #748
https://github.com/pharo-spec/NewTools/pull/748

# VM

– Fixed VirtualMachine 76 and 78 parameters #16641
https://github.com/pharo-project/pharo/pull/16641

– Do not retain any selectors in CogAbstractInstruction #798
https://github.com/pharo-project/pharo-vm/pull/798

– add tests for type harmonization #807
https://github.com/pharo-project/pharo-vm/pull/807

– remove warning because of type and unsigned shift issues #800
https://github.com/pharo-project/pharo-vm/pull/800

– Fixed ntb page selection change announcement if built without pages #1542
https://github.com/pharo-spec/Spec/pull/1542

# Package Structure

– Sindarin/ScriptableDebugger should be listed as external project #16653
https://github.com/pharo-project/pharo/pull/16653

– Sindarin in Pharo13 need to be loaded from Pharo13 branch of ScriptableDebugger (and not Pharo12 branch) #751
https://github.com/pharo-spec/NewTools/pull/751

– Simplify Calypso packaging #16602
https://github.com/pharo-project/pharo/pull/16602

– Cleanup: CoverageCollectorTest should be in an own test package #16613
https://github.com/pharo-project/pharo/pull/16613

# Rules

– proposition rule for nil branch #16547
https://github.com/pharo-project/pharo/pull/16547

– [Enhancement] Add a rule ReBaselineProperlyPackagedRule #16630
https://github.com/pharo-project/pharo/pull/16630

– [Enhancement] Add a rule ReBaselineWithProperSuperclassRule #16633
https://github.com/pharo-project/pharo/pull/16633

– proposition for a potential new rule: useless ifTrue:ifFalse: #16638
https://github.com/pharo-project/pharo/pull/16638

– add ReStatementsAfterReturnConditionalRule #16640
https://github.com/pharo-project/pharo/pull/16640

– Review ReClassNotCategorizedRuleTest>>#testRule #16649
https://github.com/pharo-project/pharo/pull/16649

– Improve ReBaselineProperlyPackagedRule and ReBaselineWithProperSuperclassRule and cover with tests #16648
https://github.com/pharo-project/pharo/pull/16648

– Enhancement: Provide a lint rule to check for a “super initialize” call in instance side #initialize methods #16615
https://github.com/pharo-project/pharo/pull/16615

– tests for rules from the General-Rules package #16474
https://github.com/pharo-project/pharo/pull/16474

# Cleanups

– Reduce references to Undeclared global variable #16642
https://github.com/pharo-project/pharo/pull/16642

– Remove deprecated way to access the global package organizer #754
https://github.com/pharo-spec/NewTools/pull/754

– Remove the package Deprecated12, introduce package Deprecated13 #16538
https://github.com/pharo-project/pharo/pull/16538

– proposition refactoring -> Cleanup: 2 duplicated methods in FreeType #16583
https://github.com/pharo-project/pharo/pull/16583

– Clean up in SDL_Texture and SDL_Renderer #16601
https://github.com/pharo-project/pharo/pull/16601

– Simplify script pragma for FinderUI #16623
https://github.com/pharo-project/pharo/pull/16623

– CommentTestCase should be moved to PharoDocComment-Tests #16619
https://github.com/pharo-project/pharo/pull/16619

– Package “System-DependenciesTests” should be “System-Dependencies-Tests” #16621
https://github.com/pharo-project/pharo/pull/16621

– Cleanup: AthensTransformTest>>transformClass should be in accessing #16628
https://github.com/pharo-project/pharo/pull/16628

– Fix lint in ReShouldSendSuperSetUpAsFirstMessage class>>#checksMethod (second PR) #16643
https://github.com/pharo-project/pharo/pull/16643

– Remove part of ReAsClassRule about #asClass #16658
https://github.com/pharo-project/pharo/pull/16658

– Cleanup: Remove deprecated announcement #SnapshotDone in SnapshotOperation>>#performSnapshot for Pharo 13 #16657
https://github.com/pharo-project/pharo/pull/16657

– Cleanup: unnecessary class BlLoadProjectWorldMenu #16655
https://github.com/pharo-project/pharo/pull/16655

– SourceFile>>#isOpen should use isNotNil #16651
https://github.com/pharo-project/pharo/pull/16651

– Remove Gofer #16606
https://github.com/pharo-project/pharo/pull/16606

– Remove reference to a deprecated class #1822
https://github.com/pharo-vcs/iceberg/pull/1822

– Fixing call to deprecated code #749
https://github.com/pharo-spec/NewTools/pull/749

– Use isNotNil instead notNil in initializePresenters #753
https://github.com/pharo-spec/NewTools/pull/753


# Website

– Update community.md: Social Media Section #74
https://github.com/pharo-project/pharo-website/pull/74

– Update community.md: update tweet suggestion form #73
https://github.com/pharo-project/pharo-website/pull/73

– Update Companies.md #72
https://github.com/pharo-project/pharo-website/pull/72

– Update 2024-04-26-pharo12-released.md: fix typy #69
https://github.com/pharo-project/pharo-website/pull/69

Week 19 on the Pharo Issue Tracker

# Pharo 12

– 16576-Problem-with-completion-in-the-tutorial #16582
https://github.com/pharo-project/pharo/pull/16582

# Virtual Machine

– Bump to MacOS 11 and above #792
https://github.com/pharo-project/pharo-vm/pull/792

– Do not use asserta: in a statement #788
https://github.com/pharo-project/pharo-vm/pull/788

– Moving pharo.signatures files for OSX Bundle to Resources folder #770
https://github.com/pharo-project/pharo-vm/pull/770

# Features

– New debugger extension model to display dynamic extensions #739
https://github.com/pharo-spec/NewTools/pull/739

– add asAccessor #16579
https://github.com/pharo-project/pharo/pull/16579

– Make it easier to diagnose mock failures by printing message sends properly and storing the send history in the mock #16555
https://github.com/pharo-project/pharo/pull/16555

– add two’s complement display for negative integers #746
https://github.com/pharo-spec/NewTools/pull/746

# Fixes

– Make ToggleMenuItemMorph use a FormSet for the submenu marker #16510
https://github.com/pharo-project/pharo/pull/16510

– Taskbar option to close windows hidden behind other windows #16552
https://github.com/pharo-project/pharo/pull/16552

– prof stef lesson view did not understand has binding of #16578
https://github.com/pharo-project/pharo/pull/16578

– fix precedence computation #16581
https://github.com/pharo-project/pharo/pull/16581

# Refactoring Engine

– Fix RBCompositeRefactoryChange>>#defineClass: argument name #16600
https://github.com/pharo-project/pharo/pull/16600

– Refactor: preconditions return array of preconditions by default #16527
https://github.com/pharo-project/pharo/pull/16527


# Rules

– add ReOverridingExtentsionMethod rule #16550
https://github.com/pharo-project/pharo/pull/16550

– add rule to avoid that TestCase rely on Initialize #16513
https://github.com/pharo-project/pharo/pull/16513

# Tests (Green tests on CI)

– Fix testCodeCruftLeftInMethods #16598
https://github.com/pharo-project/pharo/pull/16598

– Update roassal to v1.06d #16595
https://github.com/pharo-project/pharo/pull/16595

– Fixing reflectivity tests that can randomly fail because of unstable and unpredictable tests generating methods #16584
https://github.com/pharo-project/pharo/pull/16584

– 16569-CI-Pharo13-code-with-halt-was-merged #16570
https://github.com/pharo-project/pharo/pull/16570

– clearing debugger subscriptions and subcomponents in StDebuggerExtensionMechanismTest>>#tearDown #712
https://github.com/pharo-spec/NewTools/pull/712


# Cleanups

– Renaming DebugPointSideEffect into DebugPointMetaBehavior #16563
https://github.com/pharo-project/pharo/pull/16563

– Cleanup: TestCase class>>#lastRunMethodNamed: #16588
https://github.com/pharo-project/pharo/pull/16588

– Cleanup: TestCase class>>#hasErrorTest, TestCase class>>#hasPassedTest and TestCase class>>#hasFailedTest #16586
https://github.com/pharo-project/pharo/pull/16586

– Changed ‘Transcript show:’ construct to ‘self trace’ #16385
https://github.com/pharo-project/pharo/pull/16385

– removing dependency to UIManager in StFuelStackCommand #745
https://github.com/pharo-spec/NewTools/pull/745

# Documentation

– Update CONTRIBUTING.md #16575
https://github.com/pharo-project/pharo/pull/16575

About controling change format in P12

In Pharo12 we had to modify the information stored in the tonel format and this produce many noise changes.

The best pattern is to do an upgrade commit before stating to work on a project that was developed in Pharo 11 and that now should be continued in Pharo12.

Here are some additional notes

If you want to convert all the files of a repository at once to avoid to have multiple PR with format changes you can use this script and commit the resulting files:

| projectName |
projectName := ‘Spec2’.
repository := IceRepository repositories detect: [ :repo | repo name = projectName ].
repository workingCopy packages do: [ :pkg |
IceLibgitTonelWriter forInternalStoreFileOut: pkg latestVersion mcVersion on: repository ]

Also, if you work on a project both in p12 and p11, you can avoid the ping pong by fixing a version of tonel in the properties file. The file to update is the .properties that is in the source folder and it should look like this:

{
#format : #tonel,
#version: #’1.0′
}

P12 will take into account the tonel version asked and use it. In previous version of Pharo, this additional line will be ignored and Tonel v1 will be used.

With both of those options it should be possible to reduce the pain of the format update.

Have a nice day

Week (18/2024) on the Pharo Issue Tracker

With Pharo12 being released, we started to merge more changes in Pharo13.

# Pharo13 

– Pharo12: ProcessorScheduler>>#activeProcess added no instrumentation pragma #16557
https://github.com/pharo-project/pharo/pull/16557

– Add Toplo world menu entry (part 2) #16478
https://github.com/pharo-project/pharo/pull/16478

# Graphics

– Change default value for setting #autoSetCanvasScaleFactor to true #16529
https://github.com/pharo-project/pharo/pull/16529

– missing stroke paint method #16531
https://github.com/pharo-project/pharo/pull/16531

– Change #shrinkTo: on FreeTypeCache to selectively remove entries rather than all of them #16419
https://github.com/pharo-project/pharo/pull/16419

# Bugs

– ExteranlAddress>>fromString: converts string to UTF-8 first #16560
https://github.com/pharo-project/pharo/pull/16560

– ProcessorScheduler>>#activeProcess added no instrumentation pragma #16551
https://github.com/pharo-project/pharo/pull/16551

# Refactoring Engine

– Refactoring of the RefactoryChange manager #16526
https://github.com/pharo-project/pharo/pull/16526

– Composite extract method refactoring #16525
https://github.com/pharo-project/pharo/pull/16525


# Speed

– Announcer: Return early if there isn’t any subscriber #16336
https://github.com/pharo-project/pharo/pull/16336

# Cleanup / Misc

– New pass at removing SystemAnnouncer references #16518
https://github.com/pharo-project/pharo/pull/16518

– update with latest changes from Pharo12 #16523
https://github.com/pharo-project/pharo/pull/16523

– remove interactionState: #16559
https://github.com/pharo-project/pharo/pull/16559

– the tests use #category: from the package Deprecated12 #743
https://github.com/pharo-spec/NewTools/pull/743



# Tests
– add tests for testDoWhileFalse: and testDoWhileTrue: #16532
https://github.com/pharo-project/pharo/pull/16532

– 5 test for rules #16524
https://github.com/pharo-project/pharo/pull/16524

Design a site like this with WordPress.com
Get started