author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Wed, 21 Nov 2012 01:21:47 +0000 | |
changeset 88 | 1ad71a063a20 |
parent 84 | 76c669414145 |
child 100 | 7e2196730455 |
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 |
^ #( |
|
88 | 30 |
#'stx:goodies/sunit' "TestAsserter - superclass of HGTests " |
31 |
#'stx:libbasic' "ByteArray - superclass of HGNodeId " |
|
69
17045d49309f
Refactoring: preparation for accessing changeset contents.
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
59
diff
changeset
|
32 |
#'stx:libbasic2' "Singleton - superclass of HGStatus::Added " |
46
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
40
diff
changeset
|
33 |
#'stx:libbasic3' "AbstractSourceCodeManager - superclass of HGSourceCodeManager " |
88 | 34 |
#'stx:libscm/common' "SCMAbstractTask - superclass of HGCommitTask " |
69
17045d49309f
Refactoring: preparation for accessing changeset contents.
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
59
diff
changeset
|
35 |
#'stx:libtool' "AbstractSourceCodeManagementSettingsAppl - superclass of HGSourceCodeManagementSettingsAppl " |
17045d49309f
Refactoring: preparation for accessing changeset contents.
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
59
diff
changeset
|
36 |
#'stx:libview' "ImageMask - referenced by HGIconLibrary class>>hgLogo2 " |
88 | 37 |
#'stx:libview2' "Model - superclass of HGSourceCodeManagementSettingsAppl " |
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 |
|
69
17045d49309f
Refactoring: preparation for accessing changeset contents.
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
59
diff
changeset
|
57 |
(HGTestCase autoload) |
34 | 58 |
(HGTests autoload) |
59 |
HGWorkingCopyFile |
|
60 |
#'stx_libscm_mercurial' |
|
61 |
HGBranch |
|
62 |
HGWorkingCopy |
|
36 | 63 |
HGNodeId |
64 |
HGStatus |
|
65 |
HGError |
|
66 |
HGCommandError |
|
40
e3699c0b00f9
Baisc support for changesets (revision log)
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
39
diff
changeset
|
67 |
(HGCommandParserTests autoload) |
e3699c0b00f9
Baisc support for changesets (revision log)
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
39
diff
changeset
|
68 |
HGChangeset |
46
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
40
diff
changeset
|
69 |
HGPackageModel |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
40
diff
changeset
|
70 |
HGCommitDialog |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
40
diff
changeset
|
71 |
HGIconLibrary |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
40
diff
changeset
|
72 |
HGPackageModelRegistry |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
40
diff
changeset
|
73 |
HGSourceCodeManagementSettingsAppl |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
40
diff
changeset
|
74 |
HGSourceCodeManager |
49
ffb879bfafe7
- stx_libscm_mercurial
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
46
diff
changeset
|
75 |
HGAuthorQuery |
51
61700cf82743
- HGCommandParser
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
50
diff
changeset
|
76 |
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
|
77 |
HGCommitTask |
69
17045d49309f
Refactoring: preparation for accessing changeset contents.
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
59
diff
changeset
|
78 |
HGChangesetFile |
17045d49309f
Refactoring: preparation for accessing changeset contents.
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
59
diff
changeset
|
79 |
(HGStXTests autoload) |
88 | 80 |
HGRevisionInfo |
81 |
HGRevisionAnnotation |
|
34 | 82 |
) |
83 |
! |
|
84 |
||
85 |
extensionMethodNames |
|
86 |
"lists the extension methods which are to be included in the project. |
|
87 |
Entries are 2-element array literals, consisting of class-name and selector." |
|
88 |
||
89 |
^ #( |
|
69
17045d49309f
Refactoring: preparation for accessing changeset contents.
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
59
diff
changeset
|
90 |
ByteArray asHGNodeId |
17045d49309f
Refactoring: preparation for accessing changeset contents.
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
59
diff
changeset
|
91 |
Integer asHGNodeId |
17045d49309f
Refactoring: preparation for accessing changeset contents.
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
59
diff
changeset
|
92 |
Object asHGNodeId |
17045d49309f
Refactoring: preparation for accessing changeset contents.
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
59
diff
changeset
|
93 |
String asHGNodeId |
80
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
69
diff
changeset
|
94 |
UserPreferences hgCommand |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
69
diff
changeset
|
95 |
UserPreferences hgCommand: |
88 | 96 |
Object asHGRevision |
97 |
'Annotation class' HGRevision: |
|
98 |
'ProjectDefinition class' hgBinaryRevision |
|
99 |
'ProjectDefinition class' hgLogicalRevision |
|
34 | 100 |
) |
101 |
! ! |
|
102 |
||
103 |
!stx_libscm_mercurial class methodsFor:'description - project information'! |
|
104 |
||
105 |
applicationIconFileName |
|
106 |
"Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file" |
|
107 |
||
108 |
^ nil |
|
109 |
"/ ^ self applicationName |
|
110 |
! |
|
111 |
||
112 |
companyName |
|
113 |
"Return a companyname which will appear in <lib>.rc" |
|
114 |
||
115 |
^ 'eXept Software AG' |
|
116 |
! |
|
117 |
||
118 |
description |
|
119 |
"Return a description string which will appear in vc.def / bc.def" |
|
120 |
||
121 |
^ 'Smalltalk/X Class library' |
|
122 |
! |
|
123 |
||
124 |
legalCopyright |
|
125 |
"Return a copyright string which will appear in <lib>.rc" |
|
126 |
||
127 |
^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 1998-2012' |
|
128 |
! |
|
129 |
||
130 |
productInstallDirBaseName |
|
131 |
"Returns a default installDir which will appear in <app>.nsi. |
|
132 |
This is usually not the one you want to keep" |
|
133 |
||
134 |
^ (self package asCollectionOfSubstringsSeparatedByAny:':/') last |
|
135 |
! |
|
136 |
||
137 |
productName |
|
138 |
"Return a product name which will appear in <lib>.rc" |
|
139 |
||
140 |
^ 'Smalltalk/X' |
|
141 |
! ! |
|
142 |
||
143 |
!stx_libscm_mercurial class methodsFor:'description - svn'! |
|
144 |
||
145 |
svnRepositoryUrlString |
|
146 |
"Return a SVN repository URL of myself. |
|
147 |
(Generated since 2011-04-08) |
|
148 |
Do not make the string shorter!!!!!! We have to use fixed-length keyword!!!!!! |
|
149 |
" |
|
150 |
||
151 |
^ '$URL:: $' |
|
152 |
! |
|
153 |
||
154 |
svnRevisionNr |
|
155 |
"Return a SVN revision number of myself. |
|
156 |
This number is updated after a commit" |
|
157 |
||
158 |
^ "$SVN-Revision:"'nil '"$" |
|
159 |
! ! |
|
160 |
||
161 |
!stx_libscm_mercurial class methodsFor:'documentation'! |
|
162 |
||
54
66045198bfbc
More changes towards self hosting. Some work on model is still missing...
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
51
diff
changeset
|
163 |
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
|
164 |
"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
|
165 |
^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
|
166 |
! |
66045198bfbc
More changes towards self hosting. Some work on model is still missing...
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
51
diff
changeset
|
167 |
|
34 | 168 |
version_SVN |
59
b8722ad42c3b
Removed dependency on git
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
54
diff
changeset
|
169 |
^ '§Id:: §' |
34 | 170 |
! ! |