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