# HG changeset patch # User Claus Gittinger # Date 1351167376 -7200 # Node ID b1ff0ac2b9fa16133228eeb67814d8ab53e789f6 # Parent b5bec33f8092ff60371917286d18eda7b42048f8 changed: #listOfMethodCategories #makeGenerator diff -r b5bec33f8092 -r b1ff0ac2b9fa Tools_MethodCategoryList.st --- a/Tools_MethodCategoryList.st Thu Oct 25 14:16:05 2012 +0200 +++ b/Tools_MethodCategoryList.st Thu Oct 25 14:16:16 2012 +0200 @@ -861,7 +861,7 @@ partiallyCoveredProtocols uncoveredProtocols noCat static notStatic classSelectorPairsAlreadyDone packages remainingClasses remainingCategories classesAlreadyDone noPackage - catListed| + catListed showChanged| noPackage := PackageId noProjectID. noCat := (self class nameListEntryForNILCategory). @@ -897,6 +897,7 @@ (packages notNil and:[packages includes:(self class nameListEntryForALL)]) ifTrue:[ packages := nil. ]. + showChanged := packages notNil and:[packages includes:(self class nameListEntryForChanged)]. remainingClasses := leafClasses copy asIdentitySet. remainingCategories := protocols copy asSet. @@ -935,7 +936,8 @@ or:[ mPkg = noPackage or:[ (packages includes:mPkg) or:[ allProtocols "(extensionProtocols and:[ mthd isExtension ])" - ]]] + or:[ showChanged + ]]]] ) ifTrue:[ "/ used to be a more readable or, but to reuse info, I've splitted it. "/ because we should use the parser only once, we reuse the same methodInfo. @@ -1164,7 +1166,7 @@ itemsInChangeSet itemsInRemoteChangeSet itemsWithInstrumentedMethods itemsWithCalledMethods itemsWithUncalledMethods itemsWithPartiallyCoveredMethods itemsWithFullyCoveredMethods - packageFilterOnInput packageFilter nameListEntryForALL changeSet + packageFilterOnInput packageFilter showChanges nameListEntryForALL changeSet emphasizedPlus emphasisForRef emphasisForMod numAll numObsolete numSuper numUncommented numDocumentation numLong numOverride numRedefine numRedefined numExtension numMissingRequired numSubclassResponsibility @@ -1195,6 +1197,10 @@ (packageFilter notNil and:[packageFilter includes:nameListEntryForALL]) ifTrue:[ packageFilter := nil ]. + showChanges := false. + (packageFilter notNil and:[packageFilter includes:self class nameListEntryForChanged]) ifTrue:[ + showChanges := true + ]. categoryList := Set new. categoryBag := Bag new. @@ -1288,7 +1294,9 @@ |info cat suppress| (includedCats includes:(cat := mthd category)) ifTrue:[ - suppress := packageFilter notNil and:[ (packageFilter includes:mthd package) not ]. + suppress := packageFilter notNil + and:[ (packageFilter includes:mthd package) not + and:[ showChanges not ]]. suppress ifFalse:[ categoryBag add:cat. lazyPseudoProtocols ifFalse:[ @@ -2065,11 +2073,11 @@ !MethodCategoryList class methodsFor:'documentation'! version - ^ '$Header: /cvs/stx/stx/libtool/Tools_MethodCategoryList.st,v 1.85 2012-10-23 18:20:05 cg Exp $' + ^ '$Header: /cvs/stx/stx/libtool/Tools_MethodCategoryList.st,v 1.86 2012-10-25 12:16:16 cg Exp $' ! version_CVS - ^ '$Header: /cvs/stx/stx/libtool/Tools_MethodCategoryList.st,v 1.85 2012-10-23 18:20:05 cg Exp $' + ^ '$Header: /cvs/stx/stx/libtool/Tools_MethodCategoryList.st,v 1.86 2012-10-25 12:16:16 cg Exp $' ! ! MethodCategoryList initialize!