author | Claus Gittinger <cg@exept.de> |
Mon, 08 Jul 2019 01:38:05 +0200 | |
changeset 3680 | 149a3b958e88 |
parent 3600 | 872b1d9a74f8 |
child 3683 | a1b642518b0b |
permissions | -rw-r--r-- |
2071 | 1 |
" |
3547 | 2 |
COPYRIGHT (c) 1988 by Claus Gittinger / 2006 by eXept Software AG |
3351 | 3 |
All Rights Reserved |
2071 | 4 |
|
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
2068 | 12 |
"{ Package: 'stx:libtool2' }" |
13 |
||
3177 | 14 |
"{ NameSpace: Smalltalk }" |
15 |
||
2068 | 16 |
LibraryDefinition subclass:#stx_libtool2 |
2381 | 17 |
instanceVariableNames:'' |
18 |
classVariableNames:'' |
|
19 |
poolDictionaries:'' |
|
20 |
category:'* Projects & Packages *' |
|
2068 | 21 |
! |
22 |
||
2071 | 23 |
!stx_libtool2 class methodsFor:'documentation'! |
24 |
||
25 |
copyright |
|
26 |
" |
|
3547 | 27 |
COPYRIGHT (c) 1988 by Claus Gittinger / 2006 by eXept Software AG |
3351 | 28 |
All Rights Reserved |
2071 | 29 |
|
30 |
This software is furnished under a license and may be used |
|
31 |
only in accordance with the terms of that license and with the |
|
32 |
inclusion of the above copyright notice. This software may not |
|
33 |
be provided or otherwise made available to, or used by, any |
|
34 |
other person. No title to or ownership of the software is |
|
35 |
hereby transferred. |
|
36 |
" |
|
37 |
! |
|
38 |
||
39 |
documentation |
|
40 |
" |
|
3177 | 41 |
Package documentation: |
42 |
||
3190 | 43 |
This library contains additional advanced ST/X development tools. |
3547 | 44 |
This includes new improved browser, additional analysis, monitoring and profiling tools, |
3503 | 45 |
UI builders, better inspector, better filebrowser etc. |
3190 | 46 |
|
3547 | 47 |
Typically, these tools are not needed in end-user (standAlone) applications. |
3504 | 48 |
|
49 |
[author:] |
|
50 |
cg |
|
51 |
||
52 |
[primary maintainer:] |
|
53 |
cg |
|
2071 | 54 |
" |
55 |
! ! |
|
2068 | 56 |
|
2145 | 57 |
!stx_libtool2 class methodsFor:'description'! |
58 |
||
2172 | 59 |
excludedFromPreRequisites |
2786 | 60 |
"list all packages which should be ignored in the automatic |
61 |
preRequisites scan. See #preRequisites for more." |
|
62 |
||
2172 | 63 |
^ #( |
2786 | 64 |
#'stx:clients/Demos' "WindowTreeView - referenced by FlyByWindowInformation>>keyPress:x:y:view: " |
65 |
#'stx:goodies/webServer' "HTTPServer - referenced by UIPainter>>doInstallAsWebPage " |
|
2966
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
66 |
#'exept:httpPortal' "WebApplicationModel - referenced by UIPainter>>canInstallAsWebPage " |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
67 |
#'stx:goodies/communication' "HTTPInterface - referenced by ImageEditor>>doLoadFromURL " |
3154
71cffa1e022e
Do not add stx:libview3 as preRequisite
Stefan Vogel <sv@exept.de>
parents:
2976
diff
changeset
|
68 |
#'stx:libview3' "LineSegmentMorph - referenced by UIObjectView class>>isHorizontalResizable: " |
2172 | 69 |
) |
70 |
! |
|
71 |
||
2966
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
72 |
mandatoryPreRequisites |
3600 | 73 |
"list packages which are mandatory as a prerequisite. |
74 |
This are packages containing superclasses of my classes and classes which |
|
75 |
are extended by myself. |
|
76 |
They are mandatory, because we need these packages as a prerequisite for loading and compiling. |
|
77 |
This method is generated automatically, |
|
78 |
by searching along the inheritance chain of all of my classes. |
|
79 |
Please take a look at the #referencedPreRequisites method as well." |
|
2786 | 80 |
|
2145 | 81 |
^ #( |
3600 | 82 |
#'stx:libbasic' "Array - superclass of DataSetBuilder::Row" |
83 |
#'stx:libview' "DisplaySurface - superclass of UIGalleryView" |
|
84 |
#'stx:libview2' "ActiveHelp - superclass of FlyByWindowInformation" |
|
85 |
#'stx:libwidg' "ListView - superclass of UIPainter::TreeView" |
|
86 |
#'stx:libwidg2' "AbstractHierarchicalItem - superclass of MenuEditor::ActionItem" |
|
2966
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
87 |
) |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
88 |
! |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
89 |
|
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
90 |
referencedPreRequisites |
3600 | 91 |
"list packages which are a prerequisite, because they contain |
92 |
classes which are referenced by my classes. |
|
93 |
These packages are NOT needed as a prerequisite for compiling or loading, |
|
94 |
however, a class from it may be referenced during execution and having it |
|
95 |
unloaded then may lead to a runtime doesNotUnderstand error, unless the caller |
|
96 |
includes explicit checks for the package being present. |
|
97 |
This method is generated automatically, |
|
98 |
by searching all classes (and their packages) which are referenced by my classes. |
|
99 |
Please also take a look at the #mandatoryPreRequisites method" |
|
2966
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
100 |
|
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
101 |
^ #( |
3600 | 102 |
#'stx:goodies/refactoryBrowser/parser' "ParseTreeSearcher - referenced by Tools::InternationalLanguageTranslationEditor>>extractTranslationsFromHelpSpecMethod:" |
103 |
#'stx:libbasic2' "ActorStream - referenced by Tools::ProjectBuilder>>buildWithColorizedOutputTo:" |
|
104 |
#'stx:libbasic3' "AbstractSourceCodeManager - referenced by Tools::ProjectBuilderAssistantApplication>>checkSourceCodeManagerType" |
|
105 |
#'stx:libcomp' "ObjectFileLoader - referenced by Tools::ObjectModuleInformation>>postBuildWith:" |
|
106 |
#'stx:libhtml' "HTMLDocumentView - referenced by MethodFinderWindow>>openHTMLDocumentation" |
|
107 |
#'stx:libtool' "AbstractLauncherApplication - referenced by Tools::ObjectModuleInformation>>loadPackage" |
|
108 |
#'stx:libui' "DataSetColumnSpec - referenced by DataSetBuilder>>columns:" |
|
109 |
) |
|
110 |
! |
|
111 |
||
112 |
subProjects |
|
113 |
"list packages which are known as subprojects. |
|
114 |
The generated makefile will enter those and make there as well. |
|
115 |
However: they are not forced to be loaded when a package is loaded; |
|
116 |
for those, redefine #referencedPrerequisites or #mandatoryPreRequisites." |
|
117 |
||
118 |
^ #( |
|
2145 | 119 |
) |
120 |
! ! |
|
121 |
||
2068 | 122 |
!stx_libtool2 class methodsFor:'description - compilation'! |
123 |
||
2577 | 124 |
additionalBaseAddressDefinition_bc_dot_mak |
125 |
"this is an optional definition, which (if present) may speed up the dll-loading a little |
|
126 |
on win32 systems." |
|
127 |
||
2068 | 128 |
^ ' |
2149 | 129 |
# see stdHeader_bc for LIBTOOL2_BASE |
2577 | 130 |
LIB_BASE=$(LIBTOOL2_BASE) |
2068 | 131 |
' |
3163 | 132 |
! |
133 |
||
134 |
stcWarningOptions |
|
135 |
^ '-warnNonStandard -warnUnused' |
|
2068 | 136 |
! ! |
137 |
||
138 |
!stx_libtool2 class methodsFor:'description - contents'! |
|
139 |
||
140 |
classNamesAndAttributes |
|
2755 | 141 |
"lists the classes which are to be included in the project. |
142 |
Each entry in the list may be: a single class-name (symbol), |
|
143 |
or an array-literal consisting of class name and attributes. |
|
144 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
145 |
||
2068 | 146 |
^ #( |
2643 | 147 |
"<className> or (<className> attributes...) in load order" |
148 |
ColorEditDialog |
|
149 |
DataSetBuilder |
|
2806 | 150 |
DirectoryView |
2786 | 151 |
FlyByWindowInformation |
2643 | 152 |
ImageEditor |
153 |
MenuEditor |
|
2738 | 154 |
MethodFinderWindow |
2643 | 155 |
SelectionBrowser |
156 |
TabListEditor |
|
3600 | 157 |
#'Tools::InternationalLanguageTranslationEditor' |
2786 | 158 |
#'Tools::ObjectModuleInformation' |
159 |
#'Tools::ProjectBuilder' |
|
160 |
#'Tools::ProjectBuilderAssistantApplication' |
|
2643 | 161 |
UIGalleryView |
162 |
UIHelpTool |
|
163 |
UILayoutTool |
|
2786 | 164 |
UIListEditor |
2643 | 165 |
UIObjectView |
166 |
UIPainter |
|
167 |
UISelectionPanel |
|
168 |
UISpecificationTool |
|
169 |
#'stx_libtool2' |
|
170 |
FileSelectionBrowser |
|
171 |
ResourceSelectionBrowser |
|
172 |
UIPainterView |
|
3600 | 173 |
(HierarchicalListEditor autoload) |
174 |
(MethodSelectionBrowser autoload) |
|
175 |
(ProjectBrowser autoload) |
|
176 |
(STXInstaller autoload) |
|
177 |
(ShellView autoload) |
|
178 |
(SnapShotImage autoload) |
|
179 |
(SnapShotImageMemory autoload) |
|
180 |
(#'Tools::NewInspectorList' autoload) |
|
181 |
(#'Tools::NewInspectorListView' autoload) |
|
182 |
(#'Tools::NewInspectorPanelView' autoload) |
|
183 |
(#'Tools::NewInspectorView' autoload) |
|
184 |
(#'Tools::ProjectDefinitionEditor' autoload) |
|
185 |
(#'Tools::ViewTreeInspectorApplication' autoload) |
|
2068 | 186 |
) |
187 |
! |
|
188 |
||
189 |
extensionMethodNames |
|
2786 | 190 |
"lists the extension methods which are to be included in the project. |
3600 | 191 |
Entries are 2-element array literals, consisting of class-name and selector. |
192 |
A correponding method with real names must be present in my concrete subclasses |
|
193 |
if it has extensions." |
|
2786 | 194 |
|
2068 | 195 |
^ #( |
3208 | 196 |
Image edit |
2068 | 197 |
) |
198 |
! ! |
|
199 |
||
200 |
!stx_libtool2 class methodsFor:'description - project information'! |
|
201 |
||
202 |
companyName |
|
203 |
"Return a companyname which will appear in <lib>.rc" |
|
204 |
||
3350 | 205 |
^ 'Claus Gittinger / eXept Software AG' |
206 |
||
207 |
"Modified: / 18-11-2016 / 11:48:00 / cg" |
|
2068 | 208 |
! |
209 |
||
210 |
description |
|
211 |
"Return a description string which will appear in nt.def / bc.def" |
|
212 |
||
2474 | 213 |
^ 'Smalltalk/X Additional Tools' |
2068 | 214 |
! |
215 |
||
216 |
legalCopyright |
|
217 |
"Return a copyright string which will appear in <lib>.rc" |
|
218 |
||
3352 | 219 |
^ 'Copyright Claus Gittinger 1988\nCopyright eXept Software AG 2012' |
2194 | 220 |
|
3352 | 221 |
"Modified: / 18-11-2016 / 12:18:55 / cg" |
2966
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
222 |
! |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
223 |
|
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
224 |
productName |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
225 |
"Return a product name which will appear in <lib>.rc" |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
226 |
|
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
227 |
^ 'Smalltalk/X' |
2068 | 228 |
! ! |
229 |
||
230 |
!stx_libtool2 class methodsFor:'documentation'! |
|
231 |
||
232 |
version |
|
233 |
^ '$Header$' |
|
2610 | 234 |
! |
235 |
||
236 |
version_CVS |
|
237 |
^ '$Header$' |
|
2068 | 238 |
! ! |
2966
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
239 |