author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Thu, 24 Jan 2013 22:28:42 +0000 | |
changeset 197 | 1ebc0b3e7c10 |
parent 180 | 7b70d26f28da |
child 198 | 09b1ed1e291f |
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 |
^ #( |
|
180 | 30 |
#'stx:goodies/sunit' "TestAsserter - superclass of HGTests " |
31 |
#'stx:libbasic' "Set - superclass of HGConfig::Section " |
|
32 |
#'stx:libbasic2' "Singleton - superclass of HGStatus::Clean " |
|
46
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
40
diff
changeset
|
33 |
#'stx:libbasic3' "AbstractSourceCodeManager - superclass of HGSourceCodeManager " |
180 | 34 |
#'stx:libscm/common' "SCMAbstractPackageModel - superclass of HGPackageModel " |
35 |
#'stx:libtool' "SystemBrowser - superclass of extended Tools::NewSystemBrowser " |
|
36 |
#'stx:libview' "Depth8Image - referenced by HGIconLibrary class>>commit " |
|
37 |
#'stx:libview2' "SimpleDialog - superclass of HGCommitDialog " |
|
34 | 38 |
) |
39 |
! ! |
|
40 |
||
197
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
41 |
!stx_libscm_mercurial class methodsFor:'description - compilation'! |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
42 |
|
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
43 |
additionalRules_bc_dot_mak |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
44 |
"allows for additional static libraries to be added to the bc.mak file. |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
45 |
Subclasses may redefine this" |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
46 |
|
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
47 |
^ ' |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
48 |
doc: |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
49 |
pushd docs |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
50 |
call bmake.bat html |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
51 |
popd |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
52 |
|
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
53 |
doc-install: |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
54 |
pushd docs |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
55 |
call bmake.bat html-install |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
56 |
popd |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
57 |
|
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
58 |
|
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
59 |
clean:: |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
60 |
pushd docs |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
61 |
call bmake.bat clean |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
62 |
popd |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
63 |
|
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
64 |
' |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
65 |
|
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
66 |
"Created: / 11-11-2012 / 12:22:21 / jv" |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
67 |
"Modified: / 24-01-2013 / 22:26:16 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
68 |
! |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
69 |
|
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
70 |
additionalRules_make_dot_proto |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
71 |
"allows for additional rules to be added to the make.proto file." |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
72 |
|
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
73 |
^ ' |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
74 |
doc: |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
75 |
$(MAKE) -C docs html |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
76 |
|
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
77 |
doc-install: |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
78 |
$(MAKE) -C docs html-install |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
79 |
|
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
80 |
clean:: |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
81 |
$(MAKE) -C docs clean |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
82 |
' |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
83 |
|
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
84 |
"Created: / 01-11-2012 / 22:35:09 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
85 |
"Modified: / 24-01-2013 / 22:27:13 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
86 |
! ! |
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
87 |
|
34 | 88 |
!stx_libscm_mercurial class methodsFor:'description - contents'! |
89 |
||
90 |
classNamesAndAttributes |
|
91 |
"lists the classes which are to be included in the project. |
|
92 |
Each entry in the list may be: a single class-name (symbol), |
|
93 |
or an array-literal consisting of class name and attributes. |
|
94 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
95 |
||
96 |
^ #( |
|
97 |
"<className> or (<className> attributes...) in load order" |
|
98 |
HGCommand |
|
99 |
HGCommandParser |
|
100 |
(HGRepositoriesResource autoload) |
|
101 |
HGRepository |
|
102 |
HGRepositoryObject |
|
69
17045d49309f
Refactoring: preparation for accessing changeset contents.
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
59
diff
changeset
|
103 |
(HGTestCase autoload) |
34 | 104 |
(HGTests autoload) |
105 |
HGWorkingCopyFile |
|
106 |
#'stx_libscm_mercurial' |
|
107 |
HGBranch |
|
108 |
HGWorkingCopy |
|
103
04731ef44417
HGNodeId renamed to HGChangesetId
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
100
diff
changeset
|
109 |
HGChangesetId |
36 | 110 |
HGStatus |
111 |
HGError |
|
105
25e8ff9d2a31
Added read-only support for branches.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
103
diff
changeset
|
112 |
HGRepositoryError |
36 | 113 |
HGCommandError |
40
e3699c0b00f9
Baisc support for changesets (revision log)
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
39
diff
changeset
|
114 |
(HGCommandParserTests autoload) |
e3699c0b00f9
Baisc support for changesets (revision log)
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
39
diff
changeset
|
115 |
HGChangeset |
46
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
40
diff
changeset
|
116 |
HGPackageModel |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
40
diff
changeset
|
117 |
HGCommitDialog |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
40
diff
changeset
|
118 |
HGIconLibrary |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
40
diff
changeset
|
119 |
HGPackageModelRegistry |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
40
diff
changeset
|
120 |
HGSourceCodeManagementSettingsAppl |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
40
diff
changeset
|
121 |
HGSourceCodeManager |
49
ffb879bfafe7
- stx_libscm_mercurial
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
46
diff
changeset
|
122 |
HGAuthorQuery |
51
61700cf82743
- HGCommandParser
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
50
diff
changeset
|
123 |
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
|
124 |
HGCommitTask |
69
17045d49309f
Refactoring: preparation for accessing changeset contents.
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
59
diff
changeset
|
125 |
HGChangesetFile |
17045d49309f
Refactoring: preparation for accessing changeset contents.
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
59
diff
changeset
|
126 |
(HGStXTests autoload) |
88 | 127 |
HGRevisionInfo |
128 |
HGRevisionAnnotation |
|
105
25e8ff9d2a31
Added read-only support for branches.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
103
diff
changeset
|
129 |
HGNoSuchBranchError |
135
c74b92e6a2f8
Added HGChangeset>>changes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
115
diff
changeset
|
130 |
HGChange |
145
1b8652185a8f
Added HGRepository>>config.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
135
diff
changeset
|
131 |
HGConfig |
146
1015b8f6dc1c
Added check for author signature before commit.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
145
diff
changeset
|
132 |
HGCommitError |
150
1813913f6106
Addec HGRepositoru>>remotes returning list of remote repositories.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
146
diff
changeset
|
133 |
HGRemote |
151
527a1e85aef8
Support for 'autopush' in commit dialog.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
150
diff
changeset
|
134 |
HGPushError |
527a1e85aef8
Support for 'autopush' in commit dialog.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
150
diff
changeset
|
135 |
HGPushWouldCreateNewHeadError |
162
108fc9ee061e
Added HGWorkingCopyBrowser.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
161
diff
changeset
|
136 |
HGWorkingCopyBrowser |
177
1b0ddad9770e
Initial support for merging.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
173
diff
changeset
|
137 |
HGMergeInfo |
1b0ddad9770e
Initial support for merging.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
173
diff
changeset
|
138 |
HGCachedFileData |
178
1ed827252fee
More work on merging. Not yet finished.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
177
diff
changeset
|
139 |
HGMergeTool |
34 | 140 |
) |
141 |
! |
|
142 |
||
143 |
extensionMethodNames |
|
144 |
"lists the extension methods which are to be included in the project. |
|
145 |
Entries are 2-element array literals, consisting of class-name and selector." |
|
146 |
||
147 |
^ #( |
|
103
04731ef44417
HGNodeId renamed to HGChangesetId
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
100
diff
changeset
|
148 |
ByteArray asHGChangesetId |
04731ef44417
HGNodeId renamed to HGChangesetId
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
100
diff
changeset
|
149 |
Integer asHGChangesetId |
04731ef44417
HGNodeId renamed to HGChangesetId
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
100
diff
changeset
|
150 |
Object asHGChangesetId |
04731ef44417
HGNodeId renamed to HGChangesetId
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
100
diff
changeset
|
151 |
String asHGChangesetId |
80
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
69
diff
changeset
|
152 |
UserPreferences hgCommand |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
69
diff
changeset
|
153 |
UserPreferences hgCommand: |
151
527a1e85aef8
Support for 'autopush' in commit dialog.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
150
diff
changeset
|
154 |
UserPreferences hgAutopush |
527a1e85aef8
Support for 'autopush' in commit dialog.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
150
diff
changeset
|
155 |
UserPreferences hgAutopush: |
88 | 156 |
Object asHGRevision |
157 |
'Annotation class' HGRevision: |
|
158 |
'ProjectDefinition class' hgBinaryRevision |
|
159 |
'ProjectDefinition class' hgLogicalRevision |
|
107
c92f7674485e
Fixed test StXTests>>test_commit_03c
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
105
diff
changeset
|
160 |
'ProjectDefinition class' hgPostLoad |
154
c1221bf5f357
Added 'Push' menu to system browser.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
151
diff
changeset
|
161 |
#'Tools::NewSystemBrowser' commonMenuHGBrowseWorkingCopy |
c1221bf5f357
Added 'Push' menu to system browser.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
151
diff
changeset
|
162 |
#'Tools::NewSystemBrowser' selectedProjectsForHG |
c1221bf5f357
Added 'Push' menu to system browser.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
151
diff
changeset
|
163 |
'Tools::NewSystemBrowser class' #'classMenuSCMExtra_HG' |
c1221bf5f357
Added 'Push' menu to system browser.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
151
diff
changeset
|
164 |
'Tools::NewSystemBrowser class' #'projectMenuSCMExtra_HG' |
161
ed22df640210
Bugfix: added lost NewSystemBrowser>>commonMenuHGPushSlice.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
159
diff
changeset
|
165 |
#'Tools::NewSystemBrowser' commonMenuHGPushSlice |
162
108fc9ee061e
Added HGWorkingCopyBrowser.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
161
diff
changeset
|
166 |
'AbstractFileBrowser class' hgMenu |
108fc9ee061e
Added HGWorkingCopyBrowser.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
161
diff
changeset
|
167 |
'ConfigurableFeatures class' hasHGSupport |
108fc9ee061e
Added HGWorkingCopyBrowser.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
161
diff
changeset
|
168 |
'ConfigurableFeatures class' hasHGSupportEnabled |
163
21bc6994087d
Experimental HGWorkingCopyBrowser - unfinished!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
162
diff
changeset
|
169 |
AbstractFileBrowser currentHgRepository |
21bc6994087d
Experimental HGWorkingCopyBrowser - unfinished!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
162
diff
changeset
|
170 |
AbstractFileBrowser hasHGWorkingCopySelected |
173
c72794df7ae3
Implemented commit menu item in file browser.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
165
diff
changeset
|
171 |
AbstractFileBrowser hgCommit |
c72794df7ae3
Implemented commit menu item in file browser.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
165
diff
changeset
|
172 |
AbstractFileBrowser hgExecuteCommand: |
c72794df7ae3
Implemented commit menu item in file browser.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
165
diff
changeset
|
173 |
AbstractFileBrowser hgExecuteCommand:objects: |
c72794df7ae3
Implemented commit menu item in file browser.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
165
diff
changeset
|
174 |
AbstractFileBrowser hgStatus |
178
1ed827252fee
More work on merging. Not yet finished.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
177
diff
changeset
|
175 |
AbstractFileBrowser hgMenuMerge |
173
c72794df7ae3
Implemented commit menu item in file browser.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
165
diff
changeset
|
176 |
#'Tools::NewSystemBrowser' commonMenuHGBrowseTemporaryWorkingCopy |
180 | 177 |
AbstractFileBrowser hgMenuMerge: |
178 |
AbstractFileBrowser hgResolve |
|
179 |
AbstractFileBrowser hgResolveList |
|
180 |
AbstractFileBrowser hgResolveListUnresolved |
|
181 |
AbstractFileBrowser hgResolveMark |
|
182 |
AbstractFileBrowser hgRevert |
|
183 |
AbstractFileBrowser hgUpdate |
|
184 |
AbstractFileBrowser hgUpdateClean |
|
34 | 185 |
) |
186 |
! ! |
|
187 |
||
188 |
!stx_libscm_mercurial class methodsFor:'description - project information'! |
|
189 |
||
190 |
applicationIconFileName |
|
191 |
"Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file" |
|
192 |
||
193 |
^ nil |
|
194 |
"/ ^ self applicationName |
|
195 |
! |
|
196 |
||
197 |
companyName |
|
198 |
"Return a companyname which will appear in <lib>.rc" |
|
199 |
||
100
7e2196730455
Test fixes. Added library description & copyright.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
88
diff
changeset
|
200 |
^ 'Jan Vrany' |
7e2196730455
Test fixes. Added library description & copyright.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
88
diff
changeset
|
201 |
|
7e2196730455
Test fixes. Added library description & copyright.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
88
diff
changeset
|
202 |
"Modified: / 23-11-2012 / 20:27:04 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
34 | 203 |
! |
204 |
||
205 |
description |
|
206 |
"Return a description string which will appear in vc.def / bc.def" |
|
207 |
||
100
7e2196730455
Test fixes. Added library description & copyright.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
88
diff
changeset
|
208 |
^ 'Mercurial integration for Smalltalk/X' |
7e2196730455
Test fixes. Added library description & copyright.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
88
diff
changeset
|
209 |
|
7e2196730455
Test fixes. Added library description & copyright.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
88
diff
changeset
|
210 |
"Modified: / 23-11-2012 / 20:27:26 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
34 | 211 |
! |
212 |
||
213 |
legalCopyright |
|
214 |
"Return a copyright string which will appear in <lib>.rc" |
|
215 |
||
100
7e2196730455
Test fixes. Added library description & copyright.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
88
diff
changeset
|
216 |
^ 'Copyright Jan Vrany 2012' |
7e2196730455
Test fixes. Added library description & copyright.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
88
diff
changeset
|
217 |
|
7e2196730455
Test fixes. Added library description & copyright.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
88
diff
changeset
|
218 |
"Modified: / 23-11-2012 / 20:27:46 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
34 | 219 |
! |
220 |
||
221 |
productInstallDirBaseName |
|
222 |
"Returns a default installDir which will appear in <app>.nsi. |
|
223 |
This is usually not the one you want to keep" |
|
224 |
||
225 |
^ (self package asCollectionOfSubstringsSeparatedByAny:':/') last |
|
226 |
! |
|
227 |
||
228 |
productName |
|
229 |
"Return a product name which will appear in <lib>.rc" |
|
230 |
||
100
7e2196730455
Test fixes. Added library description & copyright.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
88
diff
changeset
|
231 |
^ 'Smalltalk/X Mercurial Integration' |
7e2196730455
Test fixes. Added library description & copyright.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
88
diff
changeset
|
232 |
|
7e2196730455
Test fixes. Added library description & copyright.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
88
diff
changeset
|
233 |
"Modified: / 23-11-2012 / 20:28:01 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
34 | 234 |
! ! |
235 |
||
236 |
!stx_libscm_mercurial class methodsFor:'description - svn'! |
|
237 |
||
238 |
svnRepositoryUrlString |
|
239 |
"Return a SVN repository URL of myself. |
|
240 |
(Generated since 2011-04-08) |
|
241 |
Do not make the string shorter!!!!!! We have to use fixed-length keyword!!!!!! |
|
242 |
" |
|
243 |
||
244 |
^ '$URL:: $' |
|
245 |
! |
|
246 |
||
247 |
svnRevisionNr |
|
248 |
"Return a SVN revision number of myself. |
|
249 |
This number is updated after a commit" |
|
250 |
||
251 |
^ "$SVN-Revision:"'nil '"$" |
|
252 |
! ! |
|
253 |
||
254 |
!stx_libscm_mercurial class methodsFor:'documentation'! |
|
255 |
||
54
66045198bfbc
More changes towards self hosting. Some work on model is still missing...
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
51
diff
changeset
|
256 |
version_HG |
115
b1ed2d29054b
version_HG changed to return string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
107
diff
changeset
|
257 |
|
b1ed2d29054b
version_HG changed to return string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
107
diff
changeset
|
258 |
^ '$Changeset: <not expanded> $' |
54
66045198bfbc
More changes towards self hosting. Some work on model is still missing...
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
51
diff
changeset
|
259 |
! |
66045198bfbc
More changes towards self hosting. Some work on model is still missing...
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
51
diff
changeset
|
260 |
|
34 | 261 |
version_SVN |
59
b8722ad42c3b
Removed dependency on git
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
54
diff
changeset
|
262 |
^ '§Id:: §' |
34 | 263 |
! ! |
197
1ebc0b3e7c10
Added 'doc' and 'doc-install' make targets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
180
diff
changeset
|
264 |