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