The Trunk: Monticello-ct.822.mcz

[email protected] Mon, 6 Jul 2026 01:25:46 0000
Newsgroups gmane.comp.lang.smalltalk.squeak.general
Message-ID <[email protected]>
Christoph Thiede uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-ct.822.mcz

==================== Summary ====================

Name: Monticello-ct.822
Author: ct
Time: 6 July 2026, 3:25:45.640773 am
UUID: 42536a76-0420-4cfa-b410-448de7130bec
Ancestors: Monticello-ct.821

Adds missing change detection of working copies when renaming system categories (analogously to Monticello-mt.798 for message categories).

=============== Diff against Monticello-ct.821 ===============

Item was changed:
  ----- Method: MCPackageManager class>>reregisterForNotificationsWith: (in category 'system changes - support') -----
  reregisterForNotificationsWith: aSystemChangeNotifier
  	aSystemChangeNotifier
  		notify: self ofSystemChangesOfItem: #class change: #Added using: #classModified:;
  		notify: self ofSystemChangesOfItem: #class change: #Modified using: #classModified:;
  		notify: self ofSystemChangesOfItem: #class change: #Renamed using: #classModified:;
  		notify: self ofSystemChangesOfItem: #class change: #Commented using: #classModified:;
  		notify: self ofSystemChangesOfItem: #class change: #Recategorized using: #classMoved:;
  		notify: self ofSystemChangesOfItem: #class change: #Removed using: #classRemoved:;
  		notify: self ofSystemChangesOfItem: #method change: #Added using: #methodModified:;
  		notify: self ofSystemChangesOfItem: #method change: #Modified using: #methodModified:;
  		notify: self ofSystemChangesOfItem: #method change: #Recategorized using: #methodMoved:;
  		notify: self ofSystemChangesOfItem: #method change: #Removed using: #methodRemoved:;
+ 		notify: self ofSystemChangesOfItem: #protocol change: #Renamed using: #protocolRenamed:;
+ 		notify: self ofSystemChangesOfItem: #category change: #Renamed using: #systemCategoryRenamed:!
- 		notify: self ofSystemChangesOfItem: #protocol change: #Renamed using: #protocolRenamed:!

Item was added:
+ ----- Method: MCPackageManager class>>systemCategoryRenamed: (in category 'system changes') -----
+ systemCategoryRenamed: anEvent
+ 	"Inform managers about old and new name for system category."
+ 
+ 	self
+ 		managersForCategory: anEvent oldName
+ 		do: [:mgr | mgr modified: true].
+ 	
+ 	self
+ 		managersForCategory: anEvent newName
+ 		do: [:mgr | mgr modified: true].!

Item was changed:
  (PackageInfo named: 'Monticello') postscript: '"Adds support for protocol renaming"
+ MCWorkingCopy registerForNotifications..'!
- MCWorkingCopy registerForNotifications.'!

Squeak-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]