stx_libsvn.st
changeset 1157 118030c0fa42
parent 1144 afdf42dd49be
child 1162 6558c17e1a7f
--- a/stx_libsvn.st	Tue Mar 04 18:01:13 2014 +0100
+++ b/stx_libsvn.st	Tue Mar 04 18:01:18 2014 +0100
@@ -73,6 +73,24 @@
     )
 !
 
+mandatoryPreRequisites
+    "list all required mandatory packages.
+     Packages are mandatory, if they contain superclasses of the package's classes
+     or classes which are extended by this package.
+     This list can be maintained manually or (better) generated and
+     updated by scanning the superclass hierarchies
+     (the browser has a menu function for that)"
+
+    ^ #(
+        #'stx:libbasic'    "ArithmeticValue - extended "
+        #'stx:libbasic3'    "AbstractSourceCodeManager - superclass of SVNSourceCodeManager "
+        #'stx:libtool'    "AbstractFileBrowser - extended "
+        #'stx:libview'    "DeviceGraphicsContext - extended "
+        #'stx:libview2'    "ApplicationModel - extended "
+        #'stx:libwidg2'    "FilenameWidgetWithHistory - extended "
+    )
+!
+
 postLoadAction
 
         SVN::Configuration flushCaches.
@@ -98,33 +116,36 @@
 
 !
 
-preRequisites
-    "list all required packages.
-     This list can be maintained manually or (better) generated and
-     updated by scanning the superclass hierarchies and looking for
-     global variable accesses. (the browser has a menu function for that)
-     Howevery, often too much is found, and you may want to explicitely
-     exclude individual packages in the #excludedFromPrerequisites method."
-
-    ^ #(
-        #'stx:goodies/sunit'
-        #'stx:goodies/xml/vw'    "XML::Node - referenced by SVN::WCEntry class>>readFromXml: "
-        #'stx:libbasic'    "Object - superclass of SVN::MergeViewApp "
-        #'stx:libbasic2'    "List - referenced by SVN::Configuration>>initialize "
-        #'stx:libbasic3'    "ClassChange - superclass of extended MethodChange "
-        #'stx:libtool'    "AbstractSettingsApplication - superclass of SVN::ConfigurationApp "
-        #'stx:libtool2'    "MenuEditor - referenced by SVN::IconLibrary class>>initialize "
-        #'stx:libview'    "GraphicsContext - superclass of SVN::DiffViewApp::Diff2TextView "
-        #'stx:libview2'    "SimpleDialog - superclass of SVN::BranchSelectionDialog "
-        #'stx:libwidg'    "Label - referenced by SVN::WorkingCopy>>inspector2TabBrowser "
-        #'stx:libwidg2'    "TwoColumnTextView - superclass of SVN::DiffViewApp::Diff2TextView "
-    )
-!
-
 preUnloadAction
 
     NewLauncher
         removeSettingsApplicationByClass: SVN::SettingsApp fullName asSymbol
+!
+
+referencedPreRequisites
+    "list all packages containing classes referenced by the packages's members.
+     This list can be maintained manually or (better) generated and
+     updated by looking for global variable accesses
+     (the browser has a menu function for that)
+     However, often too much is found, and you may want to explicitely
+     exclude individual packages in the #excludedFromPreRequisites method."
+
+    ^ #(
+        #'stx:goodies/xml/vw'    "XML::Node - referenced by SVN::WCEntry class>>readFromXml: "
+        #'stx:libbasic2'    "List - referenced by SVN::Configuration>>initialize "
+        #'stx:libtool2'    "MenuEditor - referenced by SVN::IconLibrary class>>initialize "
+        #'stx:libwidg'    "Button - referenced by SVN::CommitDialog2>>doRunSanityChecks "
+    )
+!
+
+subProjects
+    "list packages which are known as subprojects.
+     The generated makefile will enter those and make there as well.
+     However: they are not forced to be loaded when a package is loaded;
+     for those, redefine requiredPrerequisites"
+
+    ^ #(
+    )
 ! !
 
 !stx_libsvn class methodsFor:'description - contents'!
@@ -143,11 +164,9 @@
         #'SVN::Cache'
         #'SVN::CacheEntry'
         #'SVN::Command'
-        (#'SVN::CommitTests' autoload)
         #'SVN::CompatModeQuery'
         #'SVN::Configuration'
         #'SVN::ConfigurationApp'
-        (#'SVN::ConfigurationTests' autoload)
         #'SVN::Credentials'
         #'SVN::Dialog'
         #'SVN::DiffViewApp'
@@ -157,20 +176,15 @@
         #'SVN::IconLibrary'
         #'SVN::MergeBrowser'
         #'SVN::OSProcess'
-        (#'SVN::PackageAResource' autoload)
-        (#'SVN::PackageBResource' autoload)
         #'SVN::PackagePattern'
-        (#'SVN::PackagePatternTests' autoload)
-        (#'SVN::PackageResource' autoload)
         #'SVN::Property'
         #'SVN::Repository'
         #'SVN::RepositoryConfiguration'
         #'SVN::RepositoryManager'
-        (#'SVN::RepositoryResource' autoload)
         #'SVN::Revision'
+        #'SVN::RevisionRange'
         #'SVN::SVNError'
         #'SVN::Task'
-        (#'SVN::UpdateLikeWizard' autoload)
         #'SVN::WCAction'
         #'SVN::WCActionNotification'
         #'SVN::WCError'
@@ -184,6 +198,7 @@
         #'SVN::BranchCommand'
         #'SVN::BranchSelectionDialog'
         #'SVN::CVSTask'
+        #'SVN::CommitDialog2'
         #'SVN::ConfigurationDialog'
         #'SVN::CreateRepositoryCommand'
         #'SVN::CredentialsDialog'
@@ -195,6 +210,7 @@
         #'SVN::ProgressDialog'
         #'SVN::RepositoryDialog'
         #'SVN::RepositoryEntry'
+        #'SVN::RevisionBase'
         #'SVN::RevisionDate'
         #'SVN::RevisionHead'
         #'SVN::RevisionLogBrowser'
@@ -221,6 +237,7 @@
         #'SVN::CommitTask'
         #'SVN::CommitWizard'
         #'SVN::CopyCommand'
+        #'SVN::ExportCommand'
         #'SVN::ImportFromCVSTask'
         #'SVN::ListCommand'
         #'SVN::LogCommand'
@@ -259,10 +276,14 @@
         #'SVN::StatusCommand'
         #'SVN::UpdateCommand'
         #'SVN::UpdateTask'
-        #'SVN::ExportCommand'
-        #'SVN::RevisionRange'
-        #'SVN::CommitDialog2'
-        #'SVN::RevisionBase'
+        (#'SVN::CommitTests' autoload)
+        (#'SVN::ConfigurationTests' autoload)
+        (#'SVN::PackageAResource' autoload)
+        (#'SVN::PackageBResource' autoload)
+        (#'SVN::PackagePatternTests' autoload)
+        (#'SVN::PackageResource' autoload)
+        (#'SVN::RepositoryResource' autoload)
+        (#'SVN::UpdateLikeWizard' autoload)
     )
 !
 
@@ -326,17 +347,14 @@
         #'Tools::NewSystemBrowser' svnRepositoryManager
         #'Tools::NewSystemBrowser' theSingleSelectedProjectForSubversion
         #'Tools::NewSystemBrowser' theSingleSelectedProjectFromClasses
-        UserPreferences svnConfigurations
         UserPreferences svnConfigurations2
         UserPreferences svnConfigurations2:
-        UserPreferences svnConfigurations:
         UserPreferences svnCurrentConfiguration
         UserPreferences svnCurrentConfiguration:
         UserPreferences svnEnabled
         UserPreferences svnEnabled:
         UserPreferences svnVerbose
         UserPreferences svnVerbose:
-        #'XML::NodeSet' #'@'
         'AbstractFileBrowser class' svnMenu
         'ProjectDefinition class' forEachContentsMethodsCodeToCompileDo:ignoreOldEntries:ignoreOldDefinition:
         'ProjectDefinition class' svnRepositoryUrl
@@ -349,6 +367,42 @@
         'Tools::NewSystemBrowser class' projectSubversionCompareMenu
         'Tools::NewSystemBrowser class' projectSubversionMergeMenu
         'UserNotification class' notify:progress:
+        AbstractFileBrowser canSubversionMerge
+        AbstractFileBrowser canSubversionMergeAuto
+        AbstractFileBrowser canSubversionMergeWithExternalDiff3
+        AbstractFileBrowser canSubversionResolve
+        AbstractFileBrowser hasSubversionWorkingCopySelected
+        AbstractFileBrowser hasSubversionWorkingCopySelectedAndDiff3CmdDefined
+        AbstractFileBrowser svnAdd
+        AbstractFileBrowser svnCompare
+        AbstractFileBrowser svnCompare:
+        AbstractFileBrowser svnCompareWithBASE
+        AbstractFileBrowser svnCompareWithHEAD
+        AbstractFileBrowser svnDebugOpenWorkingCopyBrowser
+        AbstractFileBrowser svnDiff
+        AbstractFileBrowser svnExecuteCommand:
+        AbstractFileBrowser svnExecuteCommand:objects:
+        AbstractFileBrowser svnInfo
+        AbstractFileBrowser svnLog:
+        AbstractFileBrowser svnMerge
+        AbstractFileBrowser svnMergeAuto
+        AbstractFileBrowser svnMergeBranch
+        AbstractFileBrowser svnMergeFilesFor:do:
+        AbstractFileBrowser svnMergeFilesFor:inDirectoryContaining:do:
+        AbstractFileBrowser svnMergeWithExternalDiff3
+        AbstractFileBrowser svnRemove
+        AbstractFileBrowser svnRevert
+        AbstractFileBrowser svnStatusShowUpdates
+        AbstractFileBrowser svnUpdate
+        AbstractFileBrowser svnUpdateWithExternalDiff3
+        AbstractFileBrowser svnWorkingCopy
+        UserPreferences svnCommand
+        UserPreferences svnCommand:
+        UserPreferences svnDiff2Command
+        UserPreferences svnDiff2Command:
+        UserPreferences svnDiff3Command
+        UserPreferences svnDiff3Command:
+        'ProjectDefinition class' svnRevision
     )
 ! !
 
@@ -415,7 +469,8 @@
 !
 
 version_SVN
-    ^ '§Id: stx_libsvn.st 466 2011-12-23 18:26:45Z vranyj1 §'
+    ^ '$Id$'
 
 ! !
 
+