#FEATURE by cg
authorClaus Gittinger <cg@exept.de>
Tue, 31 Jul 2018 14:56:12 +0200
changeset 4344 c50a83dee9fa
parent 4343 7db6e823ed14
child 4345 6b6b7085590f
#FEATURE by cg class: CVSSourceCodeManager class added: #disabledModules:
CVSSourceCodeManager.st
--- a/CVSSourceCodeManager.st	Sat Jul 28 10:07:27 2018 +0200
+++ b/CVSSourceCodeManager.st	Tue Jul 31 14:56:12 2018 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 1995 by Claus Gittinger
               All Rights Reserved
@@ -203,6 +205,18 @@
     CVSModuleRoots at:'stx' put:(self exeptsPublicSTXRepositoryModuleRoot)
 !
 
+disabledModules:aCollectionOfModuleNames
+    DisabledModules := aCollectionOfModuleNames.
+
+    "
+     self disabledModules:#('stx' 'exept')
+     CVSSourceCodeManager classVarAt:#DisabledModules put:#('stx' 'exept') 
+     CVSSourceCodeManager classVarAt:#DisabledModules put:nil 
+    "
+
+    "Created: / 31-07-2018 / 14:53:08 / Claus Gittinger"
+!
+
 exeptsPrivateSTXRepositoryModuleRoot
     "the actual stx repository as used within exept.
      Only valid within exept"
@@ -4615,17 +4629,17 @@
             "/ The repair code will be removed at some time in the future...
 
             "/ temporary fix Felix' bad string translation:
-            (aString startsWith:'§Header:') ifTrue:[
-                (aString endsWith:'Exp §') ifTrue:[
+            (aString startsWith:'§Header:') ifTrue:[
+                (aString endsWith:'Exp §') ifTrue:[
                     fixedString := '$' , (aString copyFrom:3 to:(aString size - 2)) , '$'.
 
                     aClass isNil ifTrue:[
                         autoFixHolder value ifFalse:[
-                            Dialog information:'Attention: the CVS version string is corrupted (§-bug). Please fix it manually'.
+                            Dialog information:'Attention: the CVS version string is corrupted (§-bug). Please fix it manually'.
                         ]
                     ] ifFalse:[
                         (autoFixHolder value 
-                            or:[ Dialog confirm:('Attention: the CVS version string is corrupted in "%1" (§-bug). Fix it?' withCRs bindWith:aClass name) ]
+                            or:[ Dialog confirm:('Attention: the CVS version string is corrupted in "%1" (§-bug). Fix it?' withCRs bindWith:aClass name) ]
                         ) ifTrue:[
                             self updateVersionMethodOf:aClass for:fixedString.
                         ].
@@ -4633,7 +4647,7 @@
                 ].
             ].
 
-            "/ temporary fix Jan's bad Umlaut-removal (which results in Felix's bad § being removed):
+            "/ temporary fix Jan's bad Umlaut-removal (which results in Felix's bad § being removed):
             (aString startsWith:'Header: ') ifTrue:[
                 (aString endsWith:'Exp ') ifTrue:[
                     fixedString := '$' , aString , '$'.
@@ -5946,7 +5960,7 @@
     "/ $-Revision: rev $
     "/ $-Id:       fileName rev date time user state $
     "/
-    (firstWord = '$Header:' or:[firstWord = '§Header:']) ifTrue:[
+    (firstWord = '$Header:' or:[firstWord = '§Header:']) ifTrue:[
         d := firstWord first.
         s skipSeparators.
         nm := s throughAll:',v '.
@@ -5976,12 +5990,12 @@
         ^ info
     ].
 
-    (firstWord = '$Revision:' or:[firstWord = '§Revision:']) ifTrue:[
+    (firstWord = '$Revision:' or:[firstWord = '§Revision:']) ifTrue:[
         info revision:(s upToEnd asCollectionOfWords first).
         ^ info
     ].
 
-    (firstWord = '$Id:' or:[firstWord = '§Id:']) ifTrue:[
+    (firstWord = '$Id:' or:[firstWord = '§Id:']) ifTrue:[
         "/commented out by Jan Vrany, 2009/10/20
         "/according to http://svnbook.red-bean.com/en/1.5/svn.advanced.props.special.keywords.html
         "/svn has no support for $ Header $ expansion. Therefore