[Pkg] Monticello Public: Monticello.impl-kph.630.mcz
squeak-dev-noreply at lists.squeakfoundation.org
squeak-dev-noreply at lists.squeakfoundation.org
Thu Feb 12 22:24:16 UTC 2009
A new version of Monticello.impl was added to project Monticello Public:
http://www.squeaksource.com/mc/Monticello.impl-kph.630.mcz
==================== Summary ====================
Name: Monticello.impl-kph.630
Author: kph
Time: 12 February 2009, 10:24:05 pm
UUID: 195260ff-45fb-43a9-8210-a4505f35a9b0
Ancestors: Monticello.impl-kph.625
Those pesky overrides sneaked back in. Returned to 625, and merged in 626-629
=============== Diff against Monticello.impl-kph.625 ===============
Item was changed:
+ ----- Method: MCWorkingCopy>>trimAncestry (in category 'accessing') -----
- ----- Method: MCWorkingCopy>>trimAncestry (in category 'private') -----
trimAncestry
+
+ self ancestry ancestors do: [ :ea | ea trimAfterVersionInfo: ea ]!
-
- self ancestry trimAfterVersionInfo: versionInfo!
Item was changed:
----- Method: MCWorkingCopy>>myMenu:inBrowser: (in category 'menu') -----
myMenu: aMenu inBrowser: browser
+ "note these actions are sent to the browser"
+
browser fillMenu: aMenu fromSpecs:
#(
('add required package' #addRequiredPackage)
('clear required packages' #clearRequiredPackages)
('add repository...' #addPackageRepository)
"('browse package' #browseWorkingCopy)
('view changes' #viewChanges)
('view history' #viewHistory)"
('recompile package' #recompilePackage)
('recompile all packages' #recompileAllPackages)
('memory use for all packages' #viewMemoryUseAll)
('memory use' #viewMemoryUse)
('revert package...' #revertPackage)
('unload package code' #unloadPackage)
('trim ancestry' #trimAncestry)
('ancestry go back one' #ancestryGoBackOne)
('remove package name from list' #deleteWorkingCopy)
('explore working copy' #exploreWorkingCopy)
).
self class selectors select: [ :sel | (sel beginsWith: #myMenu) and: [ sel ~= #myMenu:inBrowser: ]]
thenDo: [ :ea | self perform: ea with: aMenu ].
^ aMenu
!
Item was changed:
----- Method: MCWorkingCopyBrowser>>workingCopyListMenu: (in category 'morphic ui') -----
workingCopyListMenu: aMenu
+
+ workingCopy ifNil: [ ^ self workingCopyAllMenu: aMenu ] ifNotNilDo: [ :wc | wc myMenu: aMenu inBrowser: self ].
+
+ ^ aMenu!
- workingCopy ifNil: [^ aMenu].
- self fillMenu: aMenu fromSpecs:
- #(('add required package' #addRequiredPackage)
- ('add required all dirty packages' #addRequiredDirtyPackage)
- ('clear required packages' #clearRequiredPackages)
- ('browse package' #browseWorkingCopy)
- ('view changes' #viewChanges)
- ('view history' #viewHistory)
- ('recompile package' #recompilePackage)
- ('recompile all packages' #recompileAllPackages)
- ('memory use for all packages' #viewMemoryUseAll)
- ('memory use' #viewMemoryUse)
- ('revert package...' #revertPackage)
- ('unload package' #unloadPackage)
- ('delete working copy' #deleteWorkingCopy)).
- (Smalltalk includesKey: #SARMCPackageDumper) ifTrue: [
- aMenu add: 'make SAR' target: self selector: #fileOutAsSAR
- ].
- ^aMenu!
Item was added:
+ ----- Method: MCWorkingCopyBrowser>>workingCopyAllMenu: (in category 'morphic ui') -----
+ workingCopyAllMenu: aMenu
+
+ aMenu add: 'trim ALL ancestry' target: self selector: #trimAncestryAll.
+
+ ^aMenu!
Item was changed:
----- Method: MCWorkingCopyBrowser>>workingCopyTreeMenu: (in category 'morphic ui') -----
workingCopyTreeMenu: aMenu
+
+ workingCopy ifNil: [ ^ self workingCopyAllMenu: aMenu ] ifNotNilDo: [ :wc | wc myMenu: aMenu inBrowser: self ].
-
- workingCopy ifNotNilDo: [ :wc | wc myMenu: aMenu inBrowser: self ].
^ aMenu!
Item was added:
+ ----- Method: MCWorkingCopyBrowser>>trimAncestryAll (in category 'actions') -----
+ trimAncestryAll
+
+ self workingCopies do: [ :ea | ea trimAncestry ]
+
+ !
Item was removed:
- ----- Method: MCWorkingCopyBrowser>>trimOldestAncestry (in category 'actions') -----
- trimOldestAncestry
- self pickAncestorVersionInfo ifNotNilDo:
- [:ancestor |
- workingCopy ancestry trimAfterVersionInfo: ancestor]!
More information about the Packages
mailing list