stx_libtool.st
author vrany
Sat, 20 Aug 2011 19:46:04 +0200
changeset 10618 28b16fdfabe0
parent 10536 3e3d1e4b74de
child 10625 8ce2eee2b50a
permissions -rw-r--r--
automatic checkIn

"
 COPYRIGHT (c) 2006 by eXept Software AG
	      All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"
"{ Package: 'stx:libtool' }"

LibraryDefinition subclass:#stx_libtool
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'* Projects & Packages *'
!

!stx_libtool class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 2006 by eXept Software AG
	      All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"
!

documentation
"
    Build-Information for creation of the st/x standard library: stx_libtool.
    This library contains developer tools.
"
!

extensionsVersion_CVS
    ^ '$Header: /cvs/stx/stx/libtool/stx_libtool.st,v 1.67 2011-08-20 17:46:04 vrany Exp $'
!

extensionsVersion_SVN
    ^ 'Id:'
! !

!stx_libtool class methodsFor:'description'!

excludedFromPreRequisites
    "list all packages which should be ignored in the automatic
     preRequisites scan. See #preRequisites for more."

    ^ #(
	#'exept:expecco'    "Expecco::ExpeccoNetAPI - referenced by AbstractLauncherApplication>>bugReporterAvailable "
	#'exept:httpPortal'    "WebApplicationModel - referenced by Tools::NewSystemBrowser>>classMenuNewWebApplication "
	#'exept:osi/asn1'    "OSI::ASN1Browser - referenced by FileBrowser>>openASN1Browser "
	#'stx:libwebkit'    "WebKitView - referenced by Tools::WebBrowserPage>>webKitView "
	#'stx:libsvn'

    )

    "Modified: / 06-07-2011 / 16:16:13 / jv"
    "Modified: / 26-07-2011 / 10:59:37 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!

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/refactoryBrowser/parser'    "RBProgramNodeVisitor - superclass of Tools::BreakpointBrowser::MessageArgumentExtractor "
	#'stx:libbasic'    "Object - superclass of VersionDiffBrowser::ClassChangeSet "
	#'stx:libbasic2'    "List - superclass of AbstractFileBrowser::DirectoryHistory "
	#'stx:libbasic3'    "MessageTally - superclass of Tools::Profiler "
	#'stx:libboss'    "BinaryOutputManager - referenced by Tools::Profiler>>storeStatisticsOn: "
	#'stx:libcomp'    "AbstractSyntaxHighlighter - superclass of SyntaxHighlighter2 "
	#'stx:libui'    "MenuComponentSpec - superclass of EditFieldWithCompletionSpec "
	#'stx:libview'    "SimpleView - superclass of InspectorView "
	#'stx:libview2'    "SimpleDialog - superclass of FileDialog "
	#'stx:libwidg'    "DialogBox - superclass of AboutBox "
	#'stx:libwidg2'    "SelectionInListModelView - superclass of Tools::CodeCompletionMenu "
	#'stx:libwidg3'    "ClockView - referenced by WorkspaceApplication>>addStopWatch "
    )

    "Modified: / 06-07-2011 / 16:15:46 / jv"
! !

!stx_libtool class methodsFor:'description - compilation'!

additionalBaseAddressDefinition_bc_dot_mak
    "this is an optional definition, which (if present) may speed up the dll-loading a little
     on win32 systems."

    ^ '
# see stdHeader_bc for LIBTOOL_BASE
LIB_BASE=$(LIBTOOL_BASE)
'
! !

!stx_libtool class methodsFor:'description - contents'!

classNamesAndAttributes
    "lists the classes which are to be included in the project.
     Each entry in the list may be: a single class-name (symbol),
     or an array-literal consisting of class name and attributes.
     Attributes are: #autoload or #<os> where os is one of win32, unix,..."

    ^ #(
        "<className> or (<className> attributes...) in load order"
        AboutBox
        AbstractFileApplicationNoteBookComponent
        AbstractFileBrowser
        AbstractLauncherApplication
        (AbstractRevisionItem autoload)
        AbstractSettingsApplication
        (AbstractVersionDiffBrowserItem autoload)
        (ApplicationBuilder autoload)
        Bookmark
        BookmarkBar
        BookmarkEditor
        BookmarkList
        BookmarkListEditor
        BookmarkVisitor
        BookmarksEditDialog
        BrowserView
        (ChangeSetBrowser autoload)
        ChangesBrowser
        (ClassInspectorView autoload)
        (ClassItem autoload)
        (ClassItemRoot autoload)
        (ClassItemRootForRevision autoload)
        (ClassNameItem autoload)
        (ClassRevisionTree autoload)
        (ClassVariablesInspectorView autoload)
        CodeGenerator
        (CodeGeneratorTests autoload)
        CodeGeneratorTool
        (ColorInspectorView autoload)
        DebugView
        Diff
        (Diff3TextView autoload)
        DiffListUtility
        DiffTextView
        (EWorldIconLibrary autoload)
        EditFieldWithCompletion
        EditFieldWithCompletionSpec
        (EventMonitor autoload)
        (ExpandableRevisionItem autoload)
        FileBrowser
        FileBrowserV2PanelView
        (FileBrowserV2SettingsDialog autoload)
        (FileBrowserV2Tests autoload)
        FileBrowserV2UISpecifications
        FileDialog
        (FileDialogV2 autoload)
        FileOperation
        FilenameEditFieldV2
        (HierarchicalClassRevisionList autoload)
        (HierarchicalVersionDiffBrowser autoload)
        InspectorView
        (Launcher autoload)
        (LibraryBuilder autoload)
        MemoryMonitor
        MemoryMonitorView
        (MemoryUsageView autoload)
        MultiViewToolApplication
        (NewChangesBrowser autoload)
        (OldLauncher autoload)
        (ProcessMonitor autoload)
        ProcessMonitorV2
        (ProjectView autoload)
        (RCSConflictEditTextView autoload)
        (SemaphoreMonitor autoload)
        SettingsDialog
        (SmalltalkInspectorView autoload)
        (SourceRevisionItem autoload)
        SyntaxElement
        SyntaxHighlighter2
        SystemBrowser
        (SystemStatusMonitor autoload)
        (TerminalApplication autoload)
        (TextDiffTests autoload)
        #'Tools::AbstractTestRunner'
        #'Tools::BreakpointBrowser'
        #'Tools::Browslet'
        #'Tools::BrowsletCanvas'
        #'Tools::CachedTags'
        #'Tools::ChangeSetBrowser2'
        #'Tools::ChangeSetDiffTool'
        #'Tools::ChangeSetSelectionDialog'
        #'Tools::ChangeSetSpec'
        #'Tools::CheckinInfoDialog'
        #'Tools::ClassChecker'
        #'Tools::ClassSorter'
        #'Tools::CodeCompletionMenu'
        #'Tools::CodeCritics'
        #'Tools::CodeView2'
        (#'Tools::CodeView2DemoApp' autoload)
        #'Tools::CodeViewService'
        (#'Tools::CompilerWarningToDoListEntry' autoload)
        #'Tools::DiffCodeView2'
        (#'Tools::DiffCodeView2DemoApp' autoload)
        #'Tools::HierarchicalChangesetDialog'
        #'Tools::InlineMessageDialog'
        #'Tools::Inspector2'
        #'Tools::Inspector2Tab'
        #'Tools::LintRuleDetail'
        #'Tools::LintRuleSelectionDialog'
        #'Tools::MethodCategoryCache'
        #'Tools::MethodRewriter'
        #'Tools::NavigationHistory'
        (#'Tools::NavigationHistoryTests' autoload)
        #'Tools::NavigationState'
        #'Tools::NavigatorModel'
        #'Tools::NewClassWizardDialog'
        #'Tools::NewSystemBrowserCodeView'
        #'Tools::Profiler'
        #'Tools::ProfilerInfoBuilder'
        #'Tools::ProfilerInfoItem'
        #'Tools::ProjectLoader'
        #'Tools::SearchDialog'
        #'Tools::SmalltalkDiffTool'
        (#'Tools::SmalltalkMergeTool' autoload)
        #'Tools::SpecialCodeView'
        #'Tools::StringSearchTool'
        #'Tools::Tag'
        #'Tools::TagList'
        #'Tools::TagsBrowser'
        #'Tools::TextDiffTool'
        (#'Tools::ToDoList' autoload)
        (#'Tools::ToDoListBrowser' autoload)
        (#'Tools::ToDoListEntry' autoload)
        (#'Tools::ToDoNotification' autoload)
        #'Tools::WebBrowserPage'
        VersionDiffBrowser
        (VersionRevisionItem autoload)
        ViewWithAcceptAndCancelBar
        Win32FileDialog
        (XTermView unix)
        #'stx_libtool'
        AbstractDirectoryBrowser
        AbstractSourceCodeManagementSettingsAppl
        BookmarkMenuBuilder
        ContextInspectorView
        DictionaryInspectorView
        DiffCodeView
        FileApplicationNoteBook
        FileBrowserV2
        FileBrowserV2SettingsAppl
        FileDialogWithPreview
        FindFileApplication
        ImageInspectorView
        NewLauncher
        OrderedCollectionInspectorView
        SetInspectorView
        SmalltalkCodeGeneratorTool
        #'Tools::BreakpointService'
        #'Tools::BrowserList'
        #'Tools::CodeCompletionService'
        #'Tools::CodeHighlightingService'
        #'Tools::CodeNavigationService'
        #'Tools::CodeView2SettingsAppl'
        #'Tools::NavigatorCanvas'
        #'Tools::NewSystemBrowser'
        #'Tools::OrganizerCanvas'
        #'Tools::SendersBrowslet'
        #'Tools::StringSearchToolForTextView'
        #'Tools::TestRunnerEmbedded'
        #'Tools::VisualProfilerCanvas'
        WorkspaceApplication
        BookmarkAddMenuBuilder
        BookmarkToolbarMenuBuilder
        CVSSourceCodeManagementSettingsAppl
        DirectoryContentsBrowser
        DirectoryTreeBrowser
        PerforceSourceCodeManagementSettingsAppl
        StoreSourceCodeManagementSettingsAppl
        #'Tools::ChangeList'
        #'Tools::ChangeSetDiffList'
        #'Tools::ClassCategoryList'
        #'Tools::ClassGeneratorList'
        #'Tools::ClassList'
        #'Tools::LintRuleList'
        #'Tools::MethodCategoryList'
        #'Tools::MethodList'
        #'Tools::NamespaceList'
        #'Tools::ProjectList'
        #'Tools::VariableList'
        #'Tools::FullMethodCategoryList'
        #'Tools::HierarchicalChangeList'
        #'Tools::HierarchicalClassCategoryList'
        #'Tools::HierarchicalClassList'
        #'Tools::HierarchicalLintRuleList'
        #'Tools::HierarchicalProjectList'
        #'Tools::ImplementingClassList'
        #'Tools::ImplementingMethodList'
        #'Tools::NamespaceFilter'
        #'Tools::TestRunner2'
        #'Tools::HierarchicalPackageFilterList'
        #'Tools::InheritanceClassList'
        #'Tools::LintHighlighter'
        #'Tools::LintService'
    )
!

extensionMethodNames
    "lists the extension methods which are to be included in the project.
     Entries are 2-element array literals, consisting of class-name and selector."

    ^ #(
	Breakpoint icon
	BreakpointDescription icon
	ByteArray inspectorExtraAttributes
	Change flattenOnto:
	Change flattenedChanges
	Change removed
	Change removed:
	ChangeSet condenseChangesForRemoved
	ChangeSet flattenOnto:
	ChangeSet flattenedChanges
	ChangeSet inspector2TabBrowser
	ChangeSet inspector2Tabs
	Character inspectorExtraAttributes
	CharacterArray inspector2TabBytes
	CharacterArray inspector2TabText
	CharacterArray inspector2Tabs
	CharacterArray inspectorExtraAttributes
	Collection inspectorExtraAttributes
	Color inspectorClass
	Color inspectorExtraAttributes
	CompositeChange condenseChangesForRemoved
	CompositeChange flattenOnto:
	CompositeChange removed
	CompositeChange removed:
	Date inspectorExtraAttributes
	Dictionary inspector2TabLabel
	Dictionary inspectorClass
	EditTextView absoluteXOfPosition:
	EditTextView absoluteYOfCursor
	EditTextView xOfPosition:
	EditTextView yOfCursor
	EditTextView yOfPosition:
	ExecutableFunction printStringForBrowserWithSelector:
	Form inspectorClass
	Image inspectorClass
	Integer inspectorExtraAttributes
	MenuView shortKeys
	Method inspectorExtraAttributes
	Method printStringForBrowserWithSelector:inClass:
	Method selectorPrintStringInBrowserFor:
	Method selectorPrintStringInBrowserFor:class:
	MethodDictionary inspectorClass
	Object asTestCase
	Object inspect
	Object inspector2TabCommon
	Object inspector2TabForBasicInspect
	Object inspector2TabForInspectorClass
	Object inspector2TabLabel
	Object inspector2Tabs
	Object inspectorExtraAttributes
	Object isTestCaseLike
	Object newInspector2Tab
	OrderedCollection inspectorClass
	PopUpMenu asMenu
	ProfileTree method
	ProfileTree package
	RunArray inspectorClass
	SelectionInListModelView textStartLeft
	SelectionInListModelView textStartLeft:
	Set inspectorClass
	SimpleView isCodeView2
	StringCollection inspector2TabText
	StringCollection inspector2Tabs
	Symbol formattedCode
	Text inspector2TabText
	Text inspectorExtraAttributes
	Timestamp inspectorExtraAttributes
	UserPreferences alwaysOpenNewTabWhenCtrlClick
	UserPreferences alwaysOpenNewTabWhenCtrlClick:
	UserPreferences showBookmarkBar
	UserPreferences showBookmarkBar:
	UserPreferences showEmbeddedTestRunnerInBrowser
	UserPreferences showEmbeddedTestRunnerInBrowser:
	UserPreferences showGlobalHistory
	UserPreferences showGlobalHistory:
	UserPreferences showLocalHistory
	UserPreferences showLocalHistory:
	UserPreferences showMethodTemplate
	UserPreferences showMethodTemplate:
	UserPreferences sortAndIndentClassesByInheritance
	UserPreferences sortAndIndentClassesByInheritance:
	UserPreferences useCodeView2In:
	UserPreferences useCodeView2InBrowser
	UserPreferences useCodeView2InBrowser:
	UserPreferences useCodeView2InDebugger
	UserPreferences useCodeView2InDebugger:
	UserPreferences useCodeView2InTools
	UserPreferences useCodeView2InTools:
	UserPreferences useCodeView2InWorkspace
	UserPreferences useCodeView2InWorkspace:
	UserPreferences webBrowserLikeLayout
	UserPreferences webBrowserLikeLayout:
	'AbstractSyntaxHighlighter class' formatExpression:in:elementsInto:
	'AbstractSyntaxHighlighter class' formatMethod:in:using:elementsInto:
	'GenericToolbarIconLibrary class' bookmarks22x22
	'GenericToolbarIconLibrary class' bug16x16Icon
	'GenericToolbarIconLibrary class' bug24x24Icon
	'GenericToolbarIconLibrary class' bug32x32Icon
	'GenericToolbarIconLibrary class' lint16x16Icon
	'GenericToolbarIconLibrary class' lint24x24Icon
	'GenericToolbarIconLibrary class' lint32x32Icon
	'NameSpace class' inspectorClass
	'Smalltalk class' inspectorClass
    )
! !

!stx_libtool class methodsFor:'description - project information'!

applicationIconFileName
    "Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file"

    ^ nil
    "/ ^ self applicationName
!

companyName
    "Return a companyname which will appear in <lib>.rc"

    ^ 'eXept Software AG'
!

description
    "Return a description string which will appear in nt.def / bc.def"

    ^ 'Smalltalk/X Tools'
!

legalCopyright
    "Return a copyright string which will appear in <lib>.rc"

    ^ 'Copyright Claus Gittinger 1988-2011\nCopyright eXept Software AG 1998-2011'

    "Modified: / 01-02-2011 / 11:56:18 / cg"
!

productName
    "Return a product name which will appear in <lib>.rc"

    ^ 'Smalltalk/X'
! !

!stx_libtool class methodsFor:'description - svn'!

svnRepositoryUrlString
    "Return a SVN repository URL of myself.
     (Generated since 2011-04-08)
    "

    ^ '$URL$'
!

svnRevisionNr
    "Return a SVN revision number of myself.
     This number is updated after a commit"

    ^ "$SVN-Revision:"'7820M'"$"
! !

!stx_libtool class methodsFor:'documentation'!

version
    ^ '$Header: /cvs/stx/stx/libtool/stx_libtool.st,v 1.67 2011-08-20 17:46:04 vrany Exp $'
!

version_CVS
    ^ '$Header: /cvs/stx/stx/libtool/stx_libtool.st,v 1.67 2011-08-20 17:46:04 vrany Exp $'
! !