[Pkg] The Trunk: Monticello-eem.505.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Apr 26 16:41:33 UTC 2012

Eliot Miranda uploaded a new version of Monticello to project The Trunk:

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

Name: Monticello-eem.505
Author: eem
Time: 26 April 2012, 9:41:06.528 am
UUID: 343bf518-4d54-4622-a5ff-4a6c299ddfd2
Ancestors: Monticello-bf.504

Simple history search for the working copy browser.
Open a Workspace containing all the history (version
summaries) for the current package.

=============== Diff against Monticello-bf.504 ===============

Item was added:
+ ----- Method: MCWorkingCopyBrowser>>searchHistory (in category 'actions') -----
+ searchHistory
+ 	workingCopy ifNotNil:
+ 		[(UIManager default
+ 			edit: (String streamContents:
+ 					[:s|
+ 					"Ignore the initial MCWorkingAncestry instance."
+ 					workingCopy ancestry topologicalAncestors allButFirst
+ 						do: [:versionInfo|
+ 							s nextPutAll: versionInfo summary]
+ 						separatedBy: [s cr; cr"; next: 32 put: $-; cr; cr"]])
+ 			label: 'Version History: ',  workingCopy packageName)
+ 				extent: (0.6 at 1) * Display height * 0.9]!

Item was changed:
  ----- Method: MCWorkingCopyBrowser>>workingCopyListMenu: (in category 'morphic ui') -----
  workingCopyListMenu: aMenu
  	workingCopy ifNil: [^ aMenu].
  	self fillMenu: aMenu fromSpecs:
  		#(('add required package' #addRequiredPackage)
  			('clear required packages' #clearRequiredPackages)
  			('add repository...' #addPackageRepository)
  			('browse package' #browseWorkingCopy)
  			('view changes' #viewChanges)
  			('view history' #viewHistory)
+ 			('search history' #searchHistory)
  			('recompile package' #recompilePackage)
  			('revert package...' #revertPackage)
  			('unload package' #unloadPackage)
  			('delete working copy' #deleteWorkingCopy)
  			('rename package...' #renamePackage)).
  	(Smalltalk includesKey: #SARMCPackageDumper) ifTrue: [
  		aMenu add: 'make SAR' target: self selector: #fileOutAsSAR
  	self insertExternalMenuEntries: aMenu.

More information about the Packages mailing list