author | Claus Gittinger <cg@exept.de> |
Sat, 30 Mar 2013 15:12:02 +0100 | |
changeset 3165 | 0c3ec8629284 |
parent 3136 | 5521c309e826 |
child 3208 | e8bdf898d7ac |
child 3212 | bfb6d655dd9b |
permissions | -rw-r--r-- |
3 | 1 |
" |
2 |
COPYRIGHT (c) 1993 by Claus Gittinger |
|
38 | 3 |
All Rights Reserved |
3 | 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 |
" |
|
932 | 12 |
"{ Package: 'stx:libbasic3' }" |
13 |
||
0 | 14 |
Object subclass:#Change |
2489 | 15 |
instanceVariableNames:'source timeOfChangeIfKnown mcDefinition' |
235 | 16 |
classVariableNames:'' |
17 |
poolDictionaries:'' |
|
18 |
category:'System-Changes' |
|
0 | 19 |
! |
20 |
||
633 | 21 |
!Change class methodsFor:'documentation'! |
9 | 22 |
|
23 |
copyright |
|
24 |
" |
|
25 |
COPYRIGHT (c) 1993 by Claus Gittinger |
|
38 | 26 |
All Rights Reserved |
9 | 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 |
! |
|
36 |
||
37 |
documentation |
|
38 |
" |
|
39 |
abstract superclass for all kind of changes - managed in changeSets. |
|
235 | 40 |
|
2513 | 41 |
[instance variables:] |
42 |
mcDefinition .... prep for monticello |
|
43 |
||
235 | 44 |
[author:] |
45 |
Claus Gittinger |
|
9 | 46 |
" |
47 |
! ! |
|
48 |
||
2882 | 49 |
!Change class methodsFor:'others'! |
50 |
||
51 |
version_CVS |
|
3165 | 52 |
^ '$Header: /cvs/stx/stx/libbasic3/Change.st,v 1.64 2013-03-30 14:12:02 cg Exp $' |
2882 | 53 |
! ! |
54 |
||
1510 | 55 |
!Change class methodsFor:'support'! |
56 |
||
57 |
isSource:source1Arg sameSourceAs:source2Arg |
|
58 |
"return true, if the given sources are the same, ignoring tabs and whitespace differences." |
|
59 |
||
3136 | 60 |
|source1 source2 tSource1 tSource2| |
1510 | 61 |
|
62 |
source1 := source1Arg. |
|
63 |
source2 := source2Arg. |
|
64 |
||
65 |
source1 = source2 ifTrue:[^ true]. |
|
2507
d657fabea438
changed: #isSource:sameSourceAs:
Claus Gittinger <cg@exept.de>
parents:
2494
diff
changeset
|
66 |
source1 isNil ifTrue:[^ false]. |
d657fabea438
changed: #isSource:sameSourceAs:
Claus Gittinger <cg@exept.de>
parents:
2494
diff
changeset
|
67 |
source2 isNil ifTrue:[^ false]. |
1510 | 68 |
|
69 |
source1 := source1 withoutTrailingSeparators asCollectionOfLines. |
|
70 |
source2 := source2 withoutTrailingSeparators asCollectionOfLines. |
|
3136 | 71 |
[source1 last isEmptyOrNil] whileTrue:[ source1 removeLast ]. |
72 |
[source2 last isEmptyOrNil] whileTrue:[ source2 removeLast ]. |
|
73 |
||
1510 | 74 |
source1 size ~~ source2 size ifTrue:[^ false]. |
3136 | 75 |
source1 = source2 ifTrue:[^ true]. |
76 |
||
77 |
tSource1 := source1 collect:[:line | (line withTabsExpanded:8) withoutTrailingSeparators]. |
|
78 |
tSource2 := source2 collect:[:line | (line withTabsExpanded:8) withoutTrailingSeparators]. |
|
79 |
tSource1 = tSource2 ifTrue:[^ true]. |
|
80 |
||
81 |
"/ how about that one? |
|
82 |
"/ tSource1 := source1 collect:[:line | line withoutLeadingSeparators withoutTrailingSeparators]. |
|
83 |
"/ tSource2 := source2 collect:[:line | line withoutLeadingSeparators withoutTrailingSeparators]. |
|
84 |
"/ tSource1 = tSource2 ifTrue:[^ true]. |
|
85 |
||
86 |
^ false. |
|
1510 | 87 |
|
88 |
"Created: / 25-07-2006 / 11:22:21 / cg" |
|
89 |
! ! |
|
90 |
||
647 | 91 |
!Change methodsFor:'accessing'! |
92 |
||
850 | 93 |
changeClass |
94 |
"the class of the change (nil if not present)" |
|
95 |
||
96 |
^ nil |
|
97 |
||
98 |
! |
|
99 |
||
2378 | 100 |
changeLanguage |
2844 | 101 |
"Answer the programming language of the receiver. |
102 |
Since changesets are currently only supported for Smalltalk, |
|
103 |
return SmalltalkLanguage unconditionally" |
|
2378 | 104 |
|
2844 | 105 |
^ SmalltalkLanguage instance |
2378 | 106 |
|
2844 | 107 |
"Modified (comment): / 25-07-2012 / 17:40:47 / cg" |
2378 | 108 |
! |
109 |
||
850 | 110 |
changeSelector |
2844 | 111 |
"the selector, if it is a method change. Nil oherwise" |
112 |
||
850 | 113 |
^ nil |
114 |
||
2844 | 115 |
"Created: / 06-02-1998 / 13:29:35 / cg" |
850 | 116 |
! |
117 |
||
2471 | 118 |
changeSource |
2844 | 119 |
"Return the source of the change" |
2471 | 120 |
|
121 |
^ self source |
|
122 |
||
123 |
"Created: / 19-07-2011 / 19:03:27 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
2844 | 124 |
"Modified (comment): / 25-07-2012 / 17:39:24 / cg" |
2471 | 125 |
! |
126 |
||
647 | 127 |
className |
128 |
"the className of the change" |
|
129 |
||
130 |
^ nil |
|
131 |
||
132 |
"Modified: / 15.7.1996 / 09:26:34 / cg" |
|
133 |
"Created: / 6.2.1998 / 13:06:56 / cg" |
|
134 |
! |
|
135 |
||
2378 | 136 |
delta |
137 |
"Returns a delta to current state as symbol: |
|
138 |
#+ .....the subject is to be added to the image (new) |
|
139 |
#- .....the subject is to be removed from the image (old) |
|
140 |
#= .....the image is up to date |
|
141 |
#~ .....change version and image version differ |
|
142 |
#? .....delta is unknown or N/A for this kind of change |
|
143 |
" |
|
144 |
||
2494 | 145 |
"/ obsolete: please use deltaDetail |
2378 | 146 |
^#? "We don't know how to compute delta for generic change" |
2494 | 147 |
|
148 |
"Modified (comment): / 31-08-2011 / 10:29:47 / cg" |
|
149 |
! |
|
150 |
||
151 |
deltaDetail |
|
152 |
"Returns a delta to the current state as a ChangeDelta object" |
|
153 |
||
154 |
^ ChangeDeltaInformation unknown "We don't know how to compute delta for generic change" |
|
155 |
||
156 |
"Created: / 31-08-2011 / 09:59:15 / cg" |
|
2378 | 157 |
! |
158 |
||
909 | 159 |
file |
160 |
^ nil "/ to be added as instvar |
|
161 |
! |
|
162 |
||
163 |
file:aFile position:anInteger |
|
164 |
^ self "/ to be added |
|
165 |
! |
|
166 |
||
2471 | 167 |
imageSource |
2844 | 168 |
"Return the source of the in-image version |
169 |
or nil if there is no source for this change" |
|
2471 | 170 |
|
2844 | 171 |
^ nil |
2471 | 172 |
|
173 |
"Created: / 19-07-2011 / 11:58:39 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
2844 | 174 |
"Modified (format): / 25-07-2012 / 17:37:23 / cg" |
2471 | 175 |
! |
176 |
||
3165 | 177 |
mcDefinition |
178 |
^ mcDefinition |
|
179 |
! |
|
180 |
||
181 |
mcDefinition:something |
|
182 |
mcDefinition := something. |
|
183 |
! |
|
184 |
||
2816 | 185 |
nameSpaceOverride:ns |
186 |
||
187 |
"Created: / 20-03-2012 / 17:18:17 / cg" |
|
188 |
! |
|
189 |
||
2411 | 190 |
nonMetaClassName |
191 |
||
192 |
^nil |
|
193 |
||
194 |
"Created: / 26-11-2009 / 16:14:26 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
195 |
! |
|
196 |
||
909 | 197 |
objectType:aSymbol |
198 |
^ self "/ to be added as instvar |
|
199 |
! |
|
200 |
||
2287 | 201 |
package |
202 |
^ nil |
|
203 |
! |
|
204 |
||
1052 | 205 |
prettyPrintedSource |
206 |
"return the prettyPrinted or normal source of the change" |
|
207 |
||
208 |
^ self source |
|
209 |
! |
|
210 |
||
647 | 211 |
selector |
212 |
^ nil |
|
213 |
||
214 |
"Created: / 6.2.1998 / 13:29:35 / cg" |
|
787 | 215 |
! |
216 |
||
217 |
source |
|
218 |
"return the source of the change" |
|
219 |
||
1096 | 220 |
|s| |
221 |
||
222 |
source isNil ifTrue:[ |
|
1385
495fc9f2c9da
replaced '' writeStream by String writeStream
Claus Gittinger <cg@exept.de>
parents:
1290
diff
changeset
|
223 |
s := String writeStream. |
1096 | 224 |
self printOn:s. |
225 |
^ s contents. |
|
226 |
]. |
|
787 | 227 |
^ source |
228 |
||
229 |
"Modified: 15.7.1996 / 09:26:34 / cg" |
|
230 |
! |
|
231 |
||
232 |
source:someString |
|
233 |
"set the source of the change" |
|
234 |
||
1290 | 235 |
"/ debugging only ... |
236 |
someString isString ifFalse:[ |
|
237 |
(someString respondsTo:#string) ifFalse:[ |
|
238 |
self halt:'argument should be string-like' |
|
239 |
] |
|
240 |
]. |
|
787 | 241 |
source := someString |
242 |
||
243 |
"Modified: / 15.7.1996 / 09:26:34 / cg" |
|
244 |
"Created: / 16.2.1998 / 13:05:16 / cg" |
|
1147 | 245 |
! |
246 |
||
247 |
timeOfChangeIfKnown |
|
248 |
^ timeOfChangeIfKnown |
|
249 |
! |
|
250 |
||
251 |
timeStamp:aTimestamp |
|
252 |
timeOfChangeIfKnown := aTimestamp |
|
647 | 253 |
! ! |
254 |
||
849 | 255 |
!Change methodsFor:'applying'! |
256 |
||
257 |
apply |
|
258 |
"apply the change" |
|
259 |
||
260 |
self subclassResponsibility |
|
1873
2cbdfc5da6d7
changes for compare-project functionality
Claus Gittinger <cg@exept.de>
parents:
1868
diff
changeset
|
261 |
|
2cbdfc5da6d7
changes for compare-project functionality
Claus Gittinger <cg@exept.de>
parents:
1868
diff
changeset
|
262 |
"Modified: / 13-10-2006 / 00:41:05 / cg" |
849 | 263 |
! ! |
264 |
||
1234 | 265 |
!Change methodsFor:'change notification'! |
266 |
||
267 |
sendChangeNotificationThroughSmalltalk |
|
268 |
"intentionally left blank" |
|
269 |
! ! |
|
270 |
||
784
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
271 |
!Change methodsFor:'comparing'! |
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
272 |
|
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
273 |
isForSameAs:changeB |
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
274 |
"return true, if the given change represents a change for the same |
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
275 |
thingy as the receiver (i.e. same method, same definition etc.)." |
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
276 |
|
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
277 |
^ false |
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
278 |
|
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
279 |
! |
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
280 |
|
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
281 |
sameAs:changeB |
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
282 |
"return true, if the given change represents the same change as the receiver." |
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
283 |
|
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
284 |
^ false |
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
285 |
|
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
286 |
! |
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
287 |
|
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
288 |
sameSourceAs:changeB |
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
289 |
"return true, if the given change has the same source as the receiver." |
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
290 |
|
1510 | 291 |
^ self class isSource:(self source) sameSourceAs:(changeB source) |
784
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
292 |
|
1510 | 293 |
"Modified: / 25-07-2006 / 11:22:46 / cg" |
784
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
294 |
! ! |
1e50cc7fd07d
added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents:
783
diff
changeset
|
295 |
|
2411 | 296 |
!Change methodsFor:'converting'! |
297 |
||
298 |
asAntiChange |
|
299 |
"Returns my anti-change, i.e. change that do the |
|
300 |
opposite. For class defintion change it returns |
|
301 |
class remove change, for method defintion change |
|
302 |
it returns method remove change. If there is no way |
|
303 |
how to revert the change, an error is trigerred. |
|
304 |
||
305 |
JV: personal note: we should switch to deltastreams |
|
306 |
(http://wiki.squeak.org/squeak/6001) |
|
3136 | 307 |
|
308 |
CG: is the above really true - what about a classDefChange for |
|
309 |
an existing class???? |
|
2411 | 310 |
" |
311 |
||
312 |
"/self error: 'Could not create antichange' |
|
313 |
^self copy |
|
314 |
||
315 |
"Created: / 02-11-2009 / 11:11:03 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
316 |
"Modified: / 26-11-2009 / 16:10:44 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
317 |
! ! |
|
2378 | 318 |
|
319 |
!Change methodsFor:'enumerating'! |
|
320 |
||
321 |
do: aBlock |
|
322 |
||
323 |
^aBlock value: self |
|
324 |
||
325 |
"Created: / 29-10-2010 / 14:02:31 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
326 |
! ! |
|
327 |
||
328 |
!Change methodsFor:'fileout'! |
|
329 |
||
330 |
basicFileOutOn: aStream |
|
331 |
||
332 |
aStream |
|
333 |
cr; |
|
334 |
nextPutAllAsChunk: self source; |
|
335 |
cr; |
|
336 |
nextPutChunkSeparator; cr |
|
337 |
! |
|
338 |
||
339 |
fileOutOn: aStream |
|
340 |
||
341 |
self removed ifFalse:[self basicFileOutOn: aStream] |
|
342 |
! ! |
|
343 |
||
778 | 344 |
!Change methodsFor:'printing & storing'! |
345 |
||
897 | 346 |
printStringWithoutClassName |
778 | 347 |
|s| |
348 |
||
1385
495fc9f2c9da
replaced '' writeStream by String writeStream
Claus Gittinger <cg@exept.de>
parents:
1290
diff
changeset
|
349 |
s := String writeStream. |
897 | 350 |
self printWithoutClassNameOn:s. |
778 | 351 |
^ s contents |
352 |
! |
|
353 |
||
897 | 354 |
printWithoutClassNameOn:aStream |
778 | 355 |
self printOn:aStream |
356 |
||
357 |
||
358 |
! ! |
|
359 |
||
2167 | 360 |
!Change methodsFor:'queries'! |
361 |
||
362 |
isForGeneratedSubject |
|
363 |
" |
|
364 |
Answers true iff subject of this method is somewhat |
|
365 |
auto-generated by some tool - just like version methods |
|
366 |
are. |
|
367 |
" |
|
368 |
||
369 |
^ false |
|
370 |
||
371 |
"Created: / 08-04-2009 / 09:45:26 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
372 |
"Modified: / 17-08-2009 / 18:55:20 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
373 |
! ! |
|
374 |
||
2135 | 375 |
!Change methodsFor:'testing'! |
651 | 376 |
|
1175 | 377 |
isClassCategoryChange |
2135 | 378 |
"return true, if this is a class-category change" |
379 |
||
1175 | 380 |
^ false |
381 |
||
382 |
"Created: / 7.2.1998 / 19:26:50 / cg" |
|
383 |
! |
|
384 |
||
932 | 385 |
isClassChange |
2135 | 386 |
"return true, if this is a class-related change" |
387 |
||
932 | 388 |
^ false |
389 |
||
390 |
"Created: / 7.2.1998 / 19:26:50 / cg" |
|
391 |
! |
|
392 |
||
777 | 393 |
isClassCommentChange |
2135 | 394 |
"return true, if this is a class-comment change" |
395 |
||
777 | 396 |
^ false |
397 |
||
398 |
"Created: / 7.2.1998 / 19:26:50 / cg" |
|
399 |
! |
|
400 |
||
771 | 401 |
isClassDefinitionChange |
2135 | 402 |
"return true, if this is a class-definition change" |
403 |
||
771 | 404 |
^ false |
405 |
||
406 |
"Created: / 7.2.1998 / 19:26:50 / cg" |
|
407 |
! |
|
408 |
||
798 | 409 |
isClassInstVarDefinitionChange |
410 |
^ false |
|
411 |
||
412 |
! |
|
413 |
||
1234 | 414 |
isClassRemoveChange |
415 |
^ false |
|
416 |
||
417 |
"Created: / 7.2.1998 / 19:26:50 / cg" |
|
418 |
! |
|
419 |
||
2411 | 420 |
isClassRemoveChangeOrMethodRemoveChange |
421 |
^self isClassRemoveChange or: [self isMethodRemoveChange] |
|
422 |
||
423 |
"Created: / 25-11-2009 / 08:16:17 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
424 |
! |
|
425 |
||
1234 | 426 |
isClassRenameChange |
427 |
^ false |
|
428 |
||
429 |
"Created: / 7.2.1998 / 19:26:50 / cg" |
|
430 |
! |
|
431 |
||
2378 | 432 |
isCompositeChange |
433 |
^ false |
|
434 |
||
435 |
"Created: / 7.2.1998 / 19:26:50 / cg" |
|
436 |
! |
|
437 |
||
773 | 438 |
isDoIt |
439 |
^ false |
|
440 |
||
441 |
"Created: / 7.2.1998 / 19:26:50 / cg" |
|
442 |
! |
|
443 |
||
964
64282b5e5c48
added #isMEthodCategoryChange
Claus Gittinger <cg@exept.de>
parents:
932
diff
changeset
|
444 |
isMethodCategoryChange |
64282b5e5c48
added #isMEthodCategoryChange
Claus Gittinger <cg@exept.de>
parents:
932
diff
changeset
|
445 |
^ false |
64282b5e5c48
added #isMEthodCategoryChange
Claus Gittinger <cg@exept.de>
parents:
932
diff
changeset
|
446 |
! |
64282b5e5c48
added #isMEthodCategoryChange
Claus Gittinger <cg@exept.de>
parents:
932
diff
changeset
|
447 |
|
1234 | 448 |
isMethodCategoryRenameChange |
449 |
^ false |
|
450 |
||
451 |
"Created: / 7.2.1998 / 19:26:50 / cg" |
|
452 |
! |
|
453 |
||
651 | 454 |
isMethodChange |
2135 | 455 |
"true if this is a method related change" |
456 |
||
457 |
^ false |
|
458 |
||
459 |
"Created: / 7.2.1998 / 19:26:50 / cg" |
|
460 |
! |
|
461 |
||
2945 | 462 |
isMethodChangeForExtensionsVersionMethod |
463 |
"true if this is a change for an extensionsVersion method" |
|
464 |
||
465 |
^ false |
|
466 |
||
467 |
"Created: / 7.2.1998 / 19:26:50 / cg" |
|
468 |
! |
|
469 |
||
2185 | 470 |
isMethodChangeForVersionMethod |
2945 | 471 |
"true if this is a change for a version method" |
2185 | 472 |
|
473 |
^ false |
|
474 |
||
475 |
"Created: / 7.2.1998 / 19:26:50 / cg" |
|
476 |
! |
|
477 |
||
2135 | 478 |
isMethodCodeChange |
479 |
"true if this is a method's code change (not package, category etc.)" |
|
480 |
||
651 | 481 |
^ false |
482 |
||
483 |
"Created: / 7.2.1998 / 19:26:50 / cg" |
|
783 | 484 |
! |
485 |
||
1225 | 486 |
isMethodDefinitionChange |
487 |
^ false |
|
488 |
! |
|
489 |
||
2167 | 490 |
isMethodPackageChange |
491 |
^ false |
|
492 |
||
493 |
"Created: / 08-04-2009 / 09:00:21 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
494 |
! |
|
495 |
||
1163
4886886a78b7
#isMethodRemoveChange query added
Claus Gittinger <cg@exept.de>
parents:
1147
diff
changeset
|
496 |
isMethodRemoveChange |
4886886a78b7
#isMethodRemoveChange query added
Claus Gittinger <cg@exept.de>
parents:
1147
diff
changeset
|
497 |
^ false |
4886886a78b7
#isMethodRemoveChange query added
Claus Gittinger <cg@exept.de>
parents:
1147
diff
changeset
|
498 |
! |
4886886a78b7
#isMethodRemoveChange query added
Claus Gittinger <cg@exept.de>
parents:
1147
diff
changeset
|
499 |
|
2610 | 500 |
isNameSpaceCreationChange |
501 |
^ false |
|
502 |
||
503 |
"Created: / 24-11-2011 / 12:10:06 / cg" |
|
504 |
! |
|
505 |
||
2882 | 506 |
isOtherChange |
507 |
^ false |
|
508 |
! |
|
509 |
||
783 | 510 |
isPrimitiveChange |
511 |
^ false |
|
512 |
||
513 |
! |
|
514 |
||
515 |
isPrimitiveDefinitionsChange |
|
516 |
^ false |
|
517 |
||
518 |
! |
|
519 |
||
520 |
isPrimitiveFunctionsChange |
|
521 |
^ false |
|
522 |
||
523 |
! |
|
524 |
||
525 |
isPrimitiveVariablesChange |
|
526 |
^ false |
|
527 |
||
1868
301a5aeb8176
+isPrivateClassDefinitionChange
Claus Gittinger <cg@exept.de>
parents:
1510
diff
changeset
|
528 |
! |
301a5aeb8176
+isPrivateClassDefinitionChange
Claus Gittinger <cg@exept.de>
parents:
1510
diff
changeset
|
529 |
|
301a5aeb8176
+isPrivateClassDefinitionChange
Claus Gittinger <cg@exept.de>
parents:
1510
diff
changeset
|
530 |
isPrivateClassDefinitionChange |
301a5aeb8176
+isPrivateClassDefinitionChange
Claus Gittinger <cg@exept.de>
parents:
1510
diff
changeset
|
531 |
^ false |
301a5aeb8176
+isPrivateClassDefinitionChange
Claus Gittinger <cg@exept.de>
parents:
1510
diff
changeset
|
532 |
|
301a5aeb8176
+isPrivateClassDefinitionChange
Claus Gittinger <cg@exept.de>
parents:
1510
diff
changeset
|
533 |
"Created: / 12-10-2006 / 22:59:04 / cg" |
651 | 534 |
! ! |
535 |
||
2618
853321d00a7e
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2610
diff
changeset
|
536 |
!Change methodsFor:'visiting'! |
853321d00a7e
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2610
diff
changeset
|
537 |
|
853321d00a7e
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2610
diff
changeset
|
538 |
acceptChangeVisitor:aVisitor |
853321d00a7e
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2610
diff
changeset
|
539 |
^ aVisitor visitChange:self. |
853321d00a7e
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2610
diff
changeset
|
540 |
|
853321d00a7e
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2610
diff
changeset
|
541 |
"Created: / 25-11-2011 / 17:12:05 / cg" |
853321d00a7e
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2610
diff
changeset
|
542 |
! ! |
853321d00a7e
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2610
diff
changeset
|
543 |
|
633 | 544 |
!Change class methodsFor:'documentation'! |
235 | 545 |
|
2490 | 546 |
version |
3165 | 547 |
^ '$Header: /cvs/stx/stx/libbasic3/Change.st,v 1.64 2013-03-30 14:12:02 cg Exp $' |
2185 | 548 |
! |
549 |
||
2378 | 550 |
version_SVN |
2882 | 551 |
^ '§Id: Change.st 1942 2012-07-27 14:53:23Z vranyj1 §' |
235 | 552 |
! ! |
3136 | 553 |