author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Tue, 23 Aug 2011 15:37:10 +0200 | |
changeset 437 | f66cbf40d994 |
parent 436 | 436066f63a27 |
child 452 | cbc2f85f11f8 |
permissions | -rw-r--r-- |
429 | 1 |
"{ Package: 'stx:goodies/monticello' }"! |
2 |
||
3 |
!Annotation class methodsFor:'instance creation'! |
|
395 | 4 |
|
5 |
mctimestamp: aString |
|
6 |
||
7 |
^MCTimestampAnnotation new timestamp: aString |
|
8 |
||
9 |
"Created: / 14-09-2010 / 15:35:07 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10 |
! ! |
|
11 |
||
429 | 12 |
!Behavior methodsFor:'*monticello-squeakCompatibility'! |
395 | 13 |
|
14 |
includesLocalSelector:aSymbol |
|
15 |
^ self localSelectors includes:aSymbol |
|
16 |
||
17 |
"Created: / 26-08-2009 / 11:50:00 / Jaroslav Havlin <havlij6@fel.cvut.cz>" |
|
18 |
! ! |
|
19 |
||
429 | 20 |
!Behavior methodsFor:'*monticello-squeakCompatibility'! |
395 | 21 |
|
22 |
localSelectors |
|
23 |
^ self methodDictionary collect:[:x | x selector asSymbol ] |
|
24 |
||
25 |
"Created: / 26-08-2009 / 11:53:47 / Jaroslav Havlin <havlij6@fel.cvut.cz>" |
|
26 |
! ! |
|
27 |
||
429 | 28 |
!Behavior methodsFor:'*monticello-squeakCompatibility'! |
395 | 29 |
|
30 |
traitCompositionString |
|
31 |
^ '{}' |
|
32 |
||
33 |
"Created: / 26-08-2009 / 12:43:23 / Jaroslav Havlin <havlij6@fel.cvut.cz>" |
|
34 |
! ! |
|
35 |
||
429 | 36 |
!Behavior methodsFor:'*monticello-squeakCompatibility'! |
150 | 37 |
|
38 |
typeOfClass |
|
395 | 39 |
"Answer a symbol uniquely describing the type of the receiver" |
40 |
"self instSpec = CompiledMethod instSpec ifTrue:[^#compiledMethod]." "Very special!!" |
|
41 |
self isBytes ifTrue:[^#bytes]. |
|
42 |
(self isWords and:[self isPointers not]) ifTrue:[^#words]. |
|
43 |
self isWeakPointers ifTrue:[^#weak]. |
|
44 |
self isVariable ifTrue:[^#variable]. |
|
45 |
^#normal. |
|
46 |
||
47 |
"Created: / 26-08-2009 / 12:45:50 / Jaroslav Havlin <havlij6@fel.cvut.cz>" |
|
48 |
! ! |
|
49 |
||
429 | 50 |
!Change methodsFor:'accessing'! |
395 | 51 |
|
52 |
mcDefinition |
|
53 |
||
54 |
^self objectAttributeAt: #mcDefinition |
|
55 |
||
56 |
"Created: / 08-11-2010 / 17:56:01 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
57 |
! ! |
|
58 |
||
429 | 59 |
!Change methodsFor:'accessing'! |
395 | 60 |
|
61 |
mcDefinition: aMCDefinition |
|
62 |
||
63 |
^self objectAttributeAt: #mcDefinition put: aMCDefinition |
|
64 |
||
65 |
"Created: / 08-11-2010 / 17:56:12 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
150 | 66 |
! ! |
136 | 67 |
|
436
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
68 |
!CharacterArray methodsFor:'*monticello-squeakCompatibility'! |
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
69 |
|
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
70 |
asStringWithNativeLineEndings |
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
71 |
|
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
72 |
^self copyReplaceAll:Character return with: Character cr |
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
73 |
|
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
74 |
"Created: / 12-09-2010 / 16:00:26 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
75 |
"Modified: / 13-10-2010 / 17:27:38 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
76 |
! ! |
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
77 |
|
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
78 |
!CharacterArray methodsFor:'*monticello-squeakCompatibility'! |
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
79 |
|
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
80 |
asStringWithSqueakLineEndings |
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
81 |
|
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
82 |
^self copyReplaceAll:Character cr with: Character return |
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
83 |
|
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
84 |
"Created: / 12-09-2010 / 16:00:11 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
85 |
"Modified: / 13-10-2010 / 17:28:10 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
86 |
! ! |
436066f63a27
moved asStringWith*LineEndings to CharacterArray
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
429
diff
changeset
|
87 |
|
429 | 88 |
!Class methodsFor:'*monticello'! |
136 | 89 |
|
90 |
asClassDefinition |
|
395 | 91 |
^ MCClassDefinition |
92 |
name: self name |
|
93 |
superclassName: self superclass name |
|
94 |
traitComposition: self traitCompositionString |
|
95 |
classTraitComposition: self class traitCompositionString |
|
96 |
category: self category |
|
97 |
instVarNames: self instVarNames |
|
98 |
classVarNames: self classVarNames |
|
99 |
poolDictionaryNames: self poolDictionaryNames |
|
100 |
classInstVarNames: self class instVarNames |
|
101 |
type: self typeOfClass |
|
102 |
comment: (self organization classComment ? '') asStringWithSqueakLineEndings |
|
103 |
commentStamp: self organization commentStamp |
|
104 |
||
105 |
"Modified: / 12-09-2010 / 17:19:14 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
136 | 106 |
! ! |
107 |
||
429 | 108 |
!Class methodsFor:'*monticello'! |
136 | 109 |
|
110 |
classDefinitions |
|
111 |
^ Array with: self asClassDefinition |
|
112 |
! ! |
|
113 |
||
429 | 114 |
!Class methodsFor:'*monticello'! |
136 | 115 |
|
116 |
poolDictionaryNames |
|
160 | 117 |
^ self sharedPools "/ collect: [:ea | ea name "self environment keyAtIdentityValue: ea"] |
136 | 118 |
! ! |
119 |
||
429 | 120 |
!ClassBuilder methodsFor:'compatibility - squeak'! |
150 | 121 |
|
122 |
name:newName |
|
123 |
inEnvironment:aSystemDictionaryOrClass |
|
124 |
subclassOf:aClass |
|
125 |
type: type |
|
126 |
instanceVariableNames: stringOfInstVarNames |
|
127 |
classVariableNames: stringOfClassVarNames |
|
128 |
poolDictionaries: stringOfPoolNames |
|
129 |
category: categoryString |
|
130 |
||
429 | 131 |
"this returns the created class; it is not a simple accessor" |
132 |
||
150 | 133 |
|variableBoolean wordsBoolean pointersBoolean| |
134 |
||
135 |
variableBoolean := wordsBoolean := pointersBoolean := false. |
|
136 |
type ~~ #normal ifTrue:[ |
|
137 |
self halt:'todo'. |
|
138 |
]. |
|
139 |
||
140 |
self |
|
141 |
name:newName |
|
142 |
inEnvironment:aSystemDictionaryOrClass |
|
143 |
subclassOf:aClass |
|
144 |
instanceVariableNames:stringOfInstVarNames |
|
145 |
variable:variableBoolean |
|
146 |
words:wordsBoolean |
|
147 |
pointers:pointersBoolean |
|
148 |
classVariableNames:stringOfClassVarNames |
|
149 |
poolDictionaries:stringOfPoolNames |
|
150 |
category:categoryString |
|
151 |
comment:'' |
|
152 |
changed:false |
|
429 | 153 |
classInstanceVariableNames:''. |
154 |
||
155 |
^ self buildClass |
|
156 |
||
157 |
"Modified (comment): / 20-08-2011 / 18:12:51 / cg" |
|
150 | 158 |
! ! |
159 |
||
429 | 160 |
!ClassDescription methodsFor:'*monticello-squeakCompatibility'! |
395 | 161 |
|
162 |
mcDefinition |
|
163 |
||
164 |
|s| |
|
165 |
||
166 |
s := WriteStream on:(String new). |
|
167 |
self |
|
168 |
basicFileOutDefinitionOn:s |
|
169 |
withNameSpace:false |
|
170 |
withPackage:false. |
|
171 |
s position: s position - 1. |
|
172 |
||
173 |
^ s contents |
|
174 |
||
175 |
"Created: / 11-09-2010 / 18:06:19 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
176 |
! ! |
|
177 |
||
429 | 178 |
!Object methodsFor:'*monticello'! |
136 | 179 |
|
180 |
isConflict |
|
181 |
^false |
|
182 |
! ! |
|
183 |
||
429 | 184 |
!ProjectDefinition class methodsFor:'code generation'! |
395 | 185 |
|
186 |
monticelloTimestamps_code |
|
187 |
||
188 |
| methodsWithTimestamp | |
|
189 |
methodsWithTimestamp := OrderedCollection new. |
|
190 |
||
191 |
self classes do:[:cls| |
|
192 |
cls methodsDo:[:mthd| |
|
193 |
(mthd hasAnnotation: #mctimestamp:) ifTrue:[ |
|
194 |
methodsWithTimestamp add: mthd |
|
195 |
] |
|
196 |
]. |
|
197 |
]. |
|
198 |
self extensionMethods do:[:mthd| |
|
199 |
(mthd hasAnnotation: #mctimestamp:) ifTrue:[ |
|
200 |
methodsWithTimestamp add: mthd |
|
201 |
] |
|
202 |
]. |
|
203 |
||
204 |
^self monticelloTimestamps_codeFor: methodsWithTimestamp |
|
205 |
||
206 |
" |
|
207 |
stx_goodies_mondrian_core monticelloTimestamps_code |
|
208 |
" |
|
209 |
||
210 |
"Created: / 09-11-2010 / 18:23:49 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
211 |
! ! |
|
212 |
||
429 | 213 |
!ProjectDefinition class methodsFor:'code generation'! |
395 | 214 |
|
215 |
monticelloTimestamps_codeFor: methods |
|
216 |
||
217 |
| code | |
|
218 |
code := String new writeStream. |
|
219 |
code nextPutAll:'monticelloTimestamps |
|
220 |
||
221 |
^#('. |
|
222 |
methods do:[:mthd| |
|
223 |
code |
|
224 |
tab; tab; |
|
225 |
nextPut:$(; |
|
226 |
nextPutAll: mthd mclass fullName; |
|
227 |
space; |
|
228 |
nextPutAll: mthd selector; |
|
229 |
space; |
|
230 |
nextPutAll: (mthd annotationAt: #mctimestamp:) timestamp storeString; |
|
231 |
nextPut:$); |
|
232 |
cr. |
|
233 |
]. |
|
234 |
code nextPutAll:' |
|
235 |
)'. |
|
236 |
||
237 |
^code contents |
|
238 |
||
239 |
" |
|
240 |
stx_goodies_mondrian_core mcTimestamps_code |
|
241 |
" |
|
242 |
||
243 |
"Created: / 09-11-2010 / 18:27:45 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
244 |
! ! |
|
245 |
||
429 | 246 |
!SequenceableCollection methodsFor:'*monticello-squeakCompatibility'! |
395 | 247 |
|
248 |
copyReplaceAll: oldSubstring with: newSubstring asTokens: ifTokens |
|
249 |
"Answer a copy of the receiver in which all occurrences of |
|
250 |
oldSubstring have been replaced by newSubstring. |
|
251 |
ifTokens (valid for Strings only) specifies that the characters |
|
252 |
surrounding the recplacement must not be alphanumeric. |
|
253 |
Bruce Simth, must be incremented by 1 and not |
|
254 |
newSubstring if ifTokens is true. See example below. " |
|
255 |
||
256 |
| aString startSearch currentIndex endIndex | |
|
257 |
(ifTokens and: [(self isString) not]) |
|
258 |
ifTrue: [(self isKindOf: Text) ifFalse: [ |
|
259 |
self error: 'Token replacement only valid for Strings']]. |
|
260 |
aString := self. |
|
261 |
startSearch := 1. |
|
262 |
[(currentIndex := aString indexOfSubCollection: oldSubstring startingAt: startSearch) |
|
263 |
> 0] |
|
264 |
whileTrue: |
|
265 |
[endIndex := currentIndex + oldSubstring size - 1. |
|
266 |
(ifTokens not |
|
267 |
or: [(currentIndex = 1 |
|
268 |
or: [(aString at: currentIndex-1) isAlphaNumeric not]) |
|
269 |
and: [endIndex = aString size |
|
270 |
or: [(aString at: endIndex+1) isAlphaNumeric not]]]) |
|
271 |
ifTrue: [aString := aString |
|
272 |
copyReplaceFrom: currentIndex |
|
273 |
to: endIndex |
|
274 |
with: newSubstring. |
|
275 |
startSearch := currentIndex + newSubstring size] |
|
276 |
ifFalse: [ |
|
277 |
ifTokens |
|
278 |
ifTrue: [startSearch := currentIndex + 1] |
|
279 |
ifFalse: [startSearch := currentIndex + newSubstring size]]]. |
|
280 |
^ aString |
|
281 |
||
282 |
"Test case: |
|
283 |
'test te string' copyReplaceAll: 'te' with: 'longone' asTokens: true " |
|
284 |
||
285 |
"Created: / 26-08-2009 / 12:40:34 / Jaroslav Havlin <havlij6@fel.cvut.cz>" |
|
286 |
! ! |
|
287 |
||
429 | 288 |
!Stream methodsFor:'*monticello'! |
136 | 289 |
|
290 |
isMessageStream |
|
291 |
^ false |
|
292 |
! ! |
|
293 |
||
429 | 294 |
!String methodsFor:'*monticello'! |
136 | 295 |
|
296 |
extractNumber |
|
297 |
^ ('0', self select: [:ea | ea isDigit]) asNumber |
|
298 |
! ! |
|
299 |
||
429 | 300 |
!String methodsFor:'*monticello-squeakCompatibility'! |
395 | 301 |
|
302 |
withSqueakLineEndings |
|
303 |
"Answer a copy of myself in which all sequences of <CR><LF> or <LF> have been changed to <CR>" |
|
304 |
| newText | |
|
305 |
(self includes: Character lf) ifFalse: [ ^self copy ]. |
|
306 |
newText := self copyReplaceAll: String crlf with: String cr. |
|
307 |
(newText asString includes: Character lf) ifFalse: [ ^newText ]. |
|
308 |
^newText copyReplaceAll: String lf with: String cr asTokens: false. |
|
309 |
||
310 |
"Created: / 26-08-2009 / 11:35:56 / Jaroslav Havlin <havlij6@fel.cvut.cz>" |
|
311 |
! ! |
|
312 |
||
429 | 313 |
!StringCollection methodsFor:'converting'! |
395 | 314 |
|
315 |
asStringWithNativeLineEndings |
|
316 |
||
317 |
^self asString |
|
318 |
||
319 |
"Created: / 12-09-2010 / 15:58:58 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
320 |
! ! |
|
321 |
||
429 | 322 |
!StringCollection methodsFor:'converting'! |
395 | 323 |
|
324 |
asStringWithSqueakLineEndings |
|
325 |
||
326 |
^ self |
|
327 |
asStringWith:Character return |
|
328 |
from:1 to:(self size) |
|
329 |
compressTabs:false |
|
330 |
final:nil |
|
331 |
||
332 |
"Created: / 12-09-2010 / 15:58:41 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
333 |
! ! |
|
334 |
||
429 | 335 |
!Symbol methodsFor:'*monticello-squeakCompatibility'! |
395 | 336 |
|
337 |
isDoIt |
|
338 |
^ (self == #DoIt) or:[ self == #DoItIn: ]. |
|
339 |
||
340 |
"Created: / 26-08-2009 / 11:46:44 / Jaroslav Havlin <havlij6@fel.cvut.cz>" |
|
341 |
! ! |
|
342 |
||
429 | 343 |
!Timestamp class methodsFor:'*monticello-instance creation'! |
395 | 344 |
|
345 |
fromMethodTimeStamp: aString |
|
346 |
| stream | |
|
347 |
stream := ReadStream on: aString. |
|
348 |
stream skipSeparators. |
|
349 |
stream skipTo: Character space. |
|
350 |
^self readFrom: stream. |
|
351 |
! ! |
|
352 |
||
429 | 353 |
!Tools::NewSystemBrowser methodsFor:'menu actions-monticello'! |
395 | 354 |
|
355 |
projectMenuMonticelloCommit |
|
356 |
||
357 |
| packageName package workingCopy | |
|
358 |
packageName := self theSingleSelectedProject. |
|
359 |
package := MCPackage named: packageName. |
|
360 |
workingCopy := package workingCopy. |
|
361 |
MCCommitDialog new |
|
362 |
workingCopy: workingCopy; |
|
363 |
open |
|
364 |
||
365 |
"Created: / 14-09-2010 / 22:54:28 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
366 |
! ! |
|
367 |
||
429 | 368 |
!Tools::NewSystemBrowser class methodsFor:'menu specs-monticello'! |
395 | 369 |
|
370 |
projectMonticelloMenu |
|
371 |
"This resource specification was automatically generated |
|
372 |
by the MenuEditor of ST/X." |
|
373 |
||
374 |
"Do not manually edit this!! If it is corrupted, |
|
375 |
the MenuEditor may not be able to read the specification." |
|
376 |
||
377 |
" |
|
378 |
MenuEditor new openOnClass:Tools::NewSystemBrowser andSelector:#projectMonticelloMenu |
|
379 |
(Menu new fromLiteralArrayEncoding:(Tools::NewSystemBrowser projectMonticelloMenu)) startUp |
|
380 |
" |
|
381 |
||
382 |
<resource: #menu> |
|
383 |
||
384 |
^ |
|
385 |
#(Menu |
|
386 |
( |
|
387 |
(MenuItem |
|
388 |
label: 'Commit' |
|
389 |
itemValue: projectMenuMonticelloCommit |
|
390 |
translateLabel: true |
|
391 |
) |
|
392 |
(MenuItem |
|
393 |
label: '-' |
|
394 |
) |
|
395 |
(MenuItem |
|
396 |
enabled: false |
|
397 |
label: 'Not yet finished...' |
|
398 |
translateLabel: true |
|
399 |
) |
|
400 |
) |
|
401 |
nil |
|
402 |
nil |
|
403 |
) |
|
404 |
! ! |
|
405 |
||
429 | 406 |
!UndefinedObject methodsFor:'* monticello'! |
150 | 407 |
|
408 |
typeOfClass |
|
409 |
"Necessary to support disjoint class hierarchies." |
|
410 |
||
411 |
^#normal |
|
412 |
! ! |
|
413 |
||
429 | 414 |
!UserPreferences methodsFor:'accessing-monticello'! |
395 | 415 |
|
416 |
mcEnabled |
|
417 |
||
418 |
^self at: #mcEnabled ifAbsent: [true]. |
|
419 |
||
420 |
"Created: / 16-09-2010 / 09:44:32 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
421 |
"Modified: / 16-09-2010 / 14:50:32 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
422 |
! ! |
|
423 |
||
429 | 424 |
!UserPreferences methodsFor:'accessing-monticello'! |
395 | 425 |
|
426 |
mcEnabled: aBoolean |
|
427 |
||
428 |
self at: #mcEnabled put: aBoolean. |
|
429 |
||
430 |
"Created: / 16-09-2010 / 09:44:16 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
431 |
! ! |
|
432 |
||
429 | 433 |
!UserPreferences methodsFor:'accessing-monticello'! |
395 | 434 |
|
435 |
mcRepositories |
|
436 |
||
437 |
| repos | |
|
438 |
repos := self at: #mcRepositories ifAbsent:[#()]. |
|
439 |
^repos decodeAsLiteralArray |
|
440 |
||
441 |
" |
|
442 |
self mcRepositories: #() |
|
443 |
" |
|
444 |
||
445 |
"Created: / 16-09-2010 / 09:47:22 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
446 |
"Modified: / 17-09-2010 / 11:45:01 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
447 |
! ! |
|
448 |
||
429 | 449 |
!UserPreferences methodsFor:'accessing-monticello'! |
395 | 450 |
|
451 |
mcRepositories: aCollection |
|
452 |
||
453 |
| repos | |
|
454 |
repos := aCollection literalArrayEncoding. |
|
455 |
self at: #mcRepositories put:repos. |
|
456 |
MCRepositoryGroup default flushRepositories. |
|
457 |
||
458 |
"Created: / 16-09-2010 / 09:53:33 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
459 |
"Modified: / 16-09-2010 / 13:56:15 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
460 |
! ! |
|
461 |
||
429 | 462 |
!VersionInfo methodsFor:'accessing'! |
395 | 463 |
|
464 |
timeStamp |
|
465 |
||
466 |
^Timestamp |
|
467 |
fromDate: (Date fromString: date) |
|
468 |
andTime: (Time fromString: time) |
|
469 |
||
470 |
"Created: / 09-09-2010 / 15:20:49 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
471 |
! ! |
|
472 |
||
429 | 473 |
!stx_goodies_monticello class methodsFor:'documentation'! |
182 | 474 |
|
475 |
extensionsVersion_CVS |
|
437
f66cbf40d994
Fixes for saving Smalltalk/X packages
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
436
diff
changeset
|
476 |
^ '$Header: /cvs/stx/stx/goodies/monticello/extensions.st,v 1.10 2011-08-23 13:37:10 vrany Exp $' |
429 | 477 |
! ! |