author | vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177 |
Thu, 15 Nov 2012 16:41:36 +0000 | |
changeset 59 | b8722ad42c3b |
parent 54 | 66045198bfbc |
child 69 | 17045d49309f |
permissions | -rw-r--r-- |
34 | 1 |
"{ Package: 'stx:libscm/mercurial' }" |
2 |
||
3 |
LibraryDefinition subclass:#stx_libscm_mercurial |
|
4 |
instanceVariableNames:'' |
|
5 |
classVariableNames:'' |
|
6 |
poolDictionaries:'' |
|
7 |
category:'* Projects & Packages *' |
|
8 |
! |
|
9 |
||
10 |
||
11 |
!stx_libscm_mercurial class methodsFor:'description'! |
|
12 |
||
13 |
excludedFromPreRequisites |
|
14 |
"list all packages which should be ignored in the automatic |
|
15 |
preRequisites scan. See #preRequisites for more." |
|
16 |
||
17 |
^ #( |
|
18 |
) |
|
19 |
! |
|
20 |
||
21 |
preRequisites |
|
22 |
"list all required packages. |
|
23 |
This list can be maintained manually or (better) generated and |
|
24 |
updated by scanning the superclass hierarchies and looking for |
|
25 |
global variable accesses. (the browser has a menu function for that) |
|
26 |
Howevery, often too much is found, and you may want to explicitely |
|
27 |
exclude individual packages in the #excludedFromPrerequisites method." |
|
28 |
||
29 |
^ #( |
|
59
b8722ad42c3b
Removed dependency on git
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
54
diff
changeset
|
30 |
#'stx:goodies/sunit' |
b8722ad42c3b
Removed dependency on git
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
54
diff
changeset
|
31 |
#'stx:libbasic' "SequenceableCollection - superclass of HGNodeId " |
b8722ad42c3b
Removed dependency on git
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
54
diff
changeset
|
32 |
#'stx:libbasic2' "Singleton - superclass of HGStatus::NotTracked " |
46
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
40
diff
changeset
|
33 |
#'stx:libbasic3' "AbstractSourceCodeManager - superclass of HGSourceCodeManager " |
59
b8722ad42c3b
Removed dependency on git
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
54
diff
changeset
|
34 |
#'stx:libscm/common' "SCMAbstractSourceCodeManager - superclass of HGSourceCodeManager " |
b8722ad42c3b
Removed dependency on git
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
54
diff
changeset
|
35 |
#'stx:libtool' "AbstractSettingsApplication - superclass of HGSourceCodeManagementSettingsAppl " |
b8722ad42c3b
Removed dependency on git
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
54
diff
changeset
|
36 |
#'stx:libview' "Depth8Image - referenced by HGSourceCodeManagementSettingsAppl class>>defaultIcon2 " |
b8722ad42c3b
Removed dependency on git
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
54
diff
changeset
|
37 |
#'stx:libview2' "Model - superclass of HGCommitDialog " |
34 | 38 |
) |
39 |
! ! |
|
40 |
||
41 |
!stx_libscm_mercurial class methodsFor:'description - contents'! |
|
42 |
||
43 |
classNamesAndAttributes |
|
44 |
"lists the classes which are to be included in the project. |
|
45 |
Each entry in the list may be: a single class-name (symbol), |
|
46 |
or an array-literal consisting of class name and attributes. |
|
47 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
48 |
||
49 |
^ #( |
|
50 |
"<className> or (<className> attributes...) in load order" |
|
51 |
HGCommand |
|
52 |
HGCommandParser |
|
53 |
(HGRepositoriesResource autoload) |
|
54 |
HGRepository |
|
55 |
HGRepositoryError |
|
56 |
HGRepositoryObject |
|
57 |
(HGTests autoload) |
|
58 |
HGWorkingCopyFile |
|
59 |
#'stx_libscm_mercurial' |
|
60 |
HGBranch |
|
61 |
HGWorkingCopy |
|
36 | 62 |
HGNodeId |
63 |
HGStatus |
|
64 |
HGError |
|
65 |
HGCommandError |
|
40
e3699c0b00f9
Baisc support for changesets (revision log)
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
39
diff
changeset
|
66 |
(HGCommandParserTests autoload) |
e3699c0b00f9
Baisc support for changesets (revision log)
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
39
diff
changeset
|
67 |
HGChangeset |
46
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
40
diff
changeset
|
68 |
HGPackageModel |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
40
diff
changeset
|
69 |
HGCommitDialog |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
40
diff
changeset
|
70 |
HGIconLibrary |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
40
diff
changeset
|
71 |
HGPackageModelRegistry |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
40
diff
changeset
|
72 |
HGSourceCodeManagementSettingsAppl |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
40
diff
changeset
|
73 |
HGSourceCodeManager |
49
ffb879bfafe7
- stx_libscm_mercurial
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
46
diff
changeset
|
74 |
HGAuthorQuery |
51
61700cf82743
- HGCommandParser
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
50
diff
changeset
|
75 |
HGCommandParseError |
54
66045198bfbc
More changes towards self hosting. Some work on model is still missing...
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
51
diff
changeset
|
76 |
HGCommitTask |
34 | 77 |
) |
78 |
! |
|
79 |
||
80 |
extensionMethodNames |
|
81 |
"lists the extension methods which are to be included in the project. |
|
82 |
Entries are 2-element array literals, consisting of class-name and selector." |
|
83 |
||
84 |
^ #( |
|
85 |
) |
|
86 |
! ! |
|
87 |
||
88 |
!stx_libscm_mercurial class methodsFor:'description - project information'! |
|
89 |
||
90 |
applicationIconFileName |
|
91 |
"Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file" |
|
92 |
||
93 |
^ nil |
|
94 |
"/ ^ self applicationName |
|
95 |
! |
|
96 |
||
97 |
companyName |
|
98 |
"Return a companyname which will appear in <lib>.rc" |
|
99 |
||
100 |
^ 'eXept Software AG' |
|
101 |
! |
|
102 |
||
103 |
description |
|
104 |
"Return a description string which will appear in vc.def / bc.def" |
|
105 |
||
106 |
^ 'Smalltalk/X Class library' |
|
107 |
! |
|
108 |
||
109 |
legalCopyright |
|
110 |
"Return a copyright string which will appear in <lib>.rc" |
|
111 |
||
112 |
^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 1998-2012' |
|
113 |
! |
|
114 |
||
115 |
productInstallDirBaseName |
|
116 |
"Returns a default installDir which will appear in <app>.nsi. |
|
117 |
This is usually not the one you want to keep" |
|
118 |
||
119 |
^ (self package asCollectionOfSubstringsSeparatedByAny:':/') last |
|
120 |
! |
|
121 |
||
122 |
productName |
|
123 |
"Return a product name which will appear in <lib>.rc" |
|
124 |
||
125 |
^ 'Smalltalk/X' |
|
126 |
! ! |
|
127 |
||
128 |
!stx_libscm_mercurial class methodsFor:'description - svn'! |
|
129 |
||
130 |
svnRepositoryUrlString |
|
131 |
"Return a SVN repository URL of myself. |
|
132 |
(Generated since 2011-04-08) |
|
133 |
Do not make the string shorter!!!!!! We have to use fixed-length keyword!!!!!! |
|
134 |
" |
|
135 |
||
136 |
^ '$URL:: $' |
|
137 |
! |
|
138 |
||
139 |
svnRevisionNr |
|
140 |
"Return a SVN revision number of myself. |
|
141 |
This number is updated after a commit" |
|
142 |
||
143 |
^ "$SVN-Revision:"'nil '"$" |
|
144 |
! ! |
|
145 |
||
146 |
!stx_libscm_mercurial class methodsFor:'documentation'! |
|
147 |
||
54
66045198bfbc
More changes towards self hosting. Some work on model is still missing...
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
51
diff
changeset
|
148 |
version_HG |
66045198bfbc
More changes towards self hosting. Some work on model is still missing...
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
51
diff
changeset
|
149 |
"Never, ever change this method. Ask JV or CG why" |
66045198bfbc
More changes towards self hosting. Some work on model is still missing...
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
51
diff
changeset
|
150 |
^thisContext method mclass theNonMetaclass instVarNamed: #revision |
66045198bfbc
More changes towards self hosting. Some work on model is still missing...
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
51
diff
changeset
|
151 |
! |
66045198bfbc
More changes towards self hosting. Some work on model is still missing...
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
51
diff
changeset
|
152 |
|
34 | 153 |
version_SVN |
59
b8722ad42c3b
Removed dependency on git
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
54
diff
changeset
|
154 |
^ '§Id:: §' |
34 | 155 |
! ! |