Change.st
author Claus Gittinger <cg@exept.de>
Thu, 05 Mar 2020 11:17:28 +0100
changeset 4561 eace75531554
parent 4472 1c0e0c5b003d
permissions -rw-r--r--
#UI_ENHANCEMENT by cg class: SourceCodeManagerUtilities changed: #compareClassWithRepository:askForRevision: typos: genitive of class is class's - not classes.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4471
b9b61dacab6c #DOCUMENTATION by exept
Claus Gittinger <cg@exept.de>
parents: 4342
diff changeset
     1
"{ Encoding: utf8 }"
b9b61dacab6c #DOCUMENTATION by exept
Claus Gittinger <cg@exept.de>
parents: 4342
diff changeset
     2
3
263f814933d4 *** empty log message ***
claus
parents: 0
diff changeset
     3
"
263f814933d4 *** empty log message ***
claus
parents: 0
diff changeset
     4
 COPYRIGHT (c) 1993 by Claus Gittinger
38
claus
parents: 10
diff changeset
     5
	      All Rights Reserved
3
263f814933d4 *** empty log message ***
claus
parents: 0
diff changeset
     6
263f814933d4 *** empty log message ***
claus
parents: 0
diff changeset
     7
 This software is furnished under a license and may be used
263f814933d4 *** empty log message ***
claus
parents: 0
diff changeset
     8
 only in accordance with the terms of that license and with the
263f814933d4 *** empty log message ***
claus
parents: 0
diff changeset
     9
 inclusion of the above copyright notice.   This software may not
263f814933d4 *** empty log message ***
claus
parents: 0
diff changeset
    10
 be provided or otherwise made available to, or used by, any
263f814933d4 *** empty log message ***
claus
parents: 0
diff changeset
    11
 other person.  No title to or ownership of the software is
263f814933d4 *** empty log message ***
claus
parents: 0
diff changeset
    12
 hereby transferred.
263f814933d4 *** empty log message ***
claus
parents: 0
diff changeset
    13
"
932
8028d375f842 #isClassChange query
Claus Gittinger <cg@exept.de>
parents: 909
diff changeset
    14
"{ Package: 'stx:libbasic3' }"
8028d375f842 #isClassChange query
Claus Gittinger <cg@exept.de>
parents: 909
diff changeset
    15
4015
c5650cda65fb #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3531
diff changeset
    16
"{ NameSpace: Smalltalk }"
c5650cda65fb #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3531
diff changeset
    17
0
470788421600 Initial revision
claus
parents:
diff changeset
    18
Object subclass:#Change
2489
Claus Gittinger <cg@exept.de>
parents: 2471
diff changeset
    19
	instanceVariableNames:'source timeOfChangeIfKnown mcDefinition'
235
3ebfdc6edab9 documentation
Claus Gittinger <cg@exept.de>
parents: 85
diff changeset
    20
	classVariableNames:''
3ebfdc6edab9 documentation
Claus Gittinger <cg@exept.de>
parents: 85
diff changeset
    21
	poolDictionaries:''
3ebfdc6edab9 documentation
Claus Gittinger <cg@exept.de>
parents: 85
diff changeset
    22
	category:'System-Changes'
0
470788421600 Initial revision
claus
parents:
diff changeset
    23
!
470788421600 Initial revision
claus
parents:
diff changeset
    24
633
bfd87dc78c08 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 378
diff changeset
    25
!Change class methodsFor:'documentation'!
9
f5b6ab00bdf6 *** empty log message ***
claus
parents: 3
diff changeset
    26
f5b6ab00bdf6 *** empty log message ***
claus
parents: 3
diff changeset
    27
copyright
f5b6ab00bdf6 *** empty log message ***
claus
parents: 3
diff changeset
    28
"
f5b6ab00bdf6 *** empty log message ***
claus
parents: 3
diff changeset
    29
 COPYRIGHT (c) 1993 by Claus Gittinger
38
claus
parents: 10
diff changeset
    30
	      All Rights Reserved
9
f5b6ab00bdf6 *** empty log message ***
claus
parents: 3
diff changeset
    31
f5b6ab00bdf6 *** empty log message ***
claus
parents: 3
diff changeset
    32
 This software is furnished under a license and may be used
f5b6ab00bdf6 *** empty log message ***
claus
parents: 3
diff changeset
    33
 only in accordance with the terms of that license and with the
f5b6ab00bdf6 *** empty log message ***
claus
parents: 3
diff changeset
    34
 inclusion of the above copyright notice.   This software may not
f5b6ab00bdf6 *** empty log message ***
claus
parents: 3
diff changeset
    35
 be provided or otherwise made available to, or used by, any
f5b6ab00bdf6 *** empty log message ***
claus
parents: 3
diff changeset
    36
 other person.  No title to or ownership of the software is
f5b6ab00bdf6 *** empty log message ***
claus
parents: 3
diff changeset
    37
 hereby transferred.
f5b6ab00bdf6 *** empty log message ***
claus
parents: 3
diff changeset
    38
"
f5b6ab00bdf6 *** empty log message ***
claus
parents: 3
diff changeset
    39
!
f5b6ab00bdf6 *** empty log message ***
claus
parents: 3
diff changeset
    40
f5b6ab00bdf6 *** empty log message ***
claus
parents: 3
diff changeset
    41
documentation
f5b6ab00bdf6 *** empty log message ***
claus
parents: 3
diff changeset
    42
"
f5b6ab00bdf6 *** empty log message ***
claus
parents: 3
diff changeset
    43
    abstract superclass for all kind of changes - managed in changeSets.
235
3ebfdc6edab9 documentation
Claus Gittinger <cg@exept.de>
parents: 85
diff changeset
    44
2513
870cc96b3fbc changed:
Claus Gittinger <cg@exept.de>
parents: 2507
diff changeset
    45
    [instance variables:]
870cc96b3fbc changed:
Claus Gittinger <cg@exept.de>
parents: 2507
diff changeset
    46
        mcDefinition    ....    prep for monticello
870cc96b3fbc changed:
Claus Gittinger <cg@exept.de>
parents: 2507
diff changeset
    47
235
3ebfdc6edab9 documentation
Claus Gittinger <cg@exept.de>
parents: 85
diff changeset
    48
    [author:]
3ebfdc6edab9 documentation
Claus Gittinger <cg@exept.de>
parents: 85
diff changeset
    49
        Claus Gittinger
9
f5b6ab00bdf6 *** empty log message ***
claus
parents: 3
diff changeset
    50
"
f5b6ab00bdf6 *** empty log message ***
claus
parents: 3
diff changeset
    51
! !
f5b6ab00bdf6 *** empty log message ***
claus
parents: 3
diff changeset
    52
4208
1da0d1516cd5 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 4015
diff changeset
    53
!Change class methodsFor:'queries'!
1da0d1516cd5 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 4015
diff changeset
    54
1da0d1516cd5 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 4015
diff changeset
    55
isAbstract
1da0d1516cd5 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 4015
diff changeset
    56
    "Return if this class is an abstract class.
1da0d1516cd5 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 4015
diff changeset
    57
     True is returned here for myself only; false for subclasses.
1da0d1516cd5 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 4015
diff changeset
    58
     Abstract subclasses must redefine this again."
1da0d1516cd5 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 4015
diff changeset
    59
1da0d1516cd5 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 4015
diff changeset
    60
    ^ self == Change.
1da0d1516cd5 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 4015
diff changeset
    61
! !
1da0d1516cd5 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 4015
diff changeset
    62
1510
ce7253f6f687 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1385
diff changeset
    63
!Change class methodsFor:'support'!
ce7253f6f687 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1385
diff changeset
    64
ce7253f6f687 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1385
diff changeset
    65
isSource:source1Arg sameSourceAs:source2Arg
ce7253f6f687 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1385
diff changeset
    66
    "return true, if the given sources are the same, ignoring tabs and whitespace differences."
ce7253f6f687 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1385
diff changeset
    67
3136
5521c309e826 class: Change
Claus Gittinger <cg@exept.de>
parents: 2945
diff changeset
    68
    |source1 source2 tSource1 tSource2|
1510
ce7253f6f687 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1385
diff changeset
    69
ce7253f6f687 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1385
diff changeset
    70
    source1 := source1Arg.
ce7253f6f687 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1385
diff changeset
    71
    source2 := source2Arg.
ce7253f6f687 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1385
diff changeset
    72
ce7253f6f687 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1385
diff changeset
    73
    source1 = source2 ifTrue:[^ true].
2507
d657fabea438 changed: #isSource:sameSourceAs:
Claus Gittinger <cg@exept.de>
parents: 2494
diff changeset
    74
    source1 isNil ifTrue:[^ false].
d657fabea438 changed: #isSource:sameSourceAs:
Claus Gittinger <cg@exept.de>
parents: 2494
diff changeset
    75
    source2 isNil ifTrue:[^ false].
1510
ce7253f6f687 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1385
diff changeset
    76
ce7253f6f687 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1385
diff changeset
    77
    source1 := source1 withoutTrailingSeparators asCollectionOfLines.
ce7253f6f687 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1385
diff changeset
    78
    source2 := source2 withoutTrailingSeparators asCollectionOfLines.
3136
5521c309e826 class: Change
Claus Gittinger <cg@exept.de>
parents: 2945
diff changeset
    79
    [source1 last isEmptyOrNil] whileTrue:[ source1 removeLast ].
5521c309e826 class: Change
Claus Gittinger <cg@exept.de>
parents: 2945
diff changeset
    80
    [source2 last isEmptyOrNil] whileTrue:[ source2 removeLast ].
5521c309e826 class: Change
Claus Gittinger <cg@exept.de>
parents: 2945
diff changeset
    81
1510
ce7253f6f687 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1385
diff changeset
    82
    source1 size ~~ source2 size ifTrue:[^ false].
3136
5521c309e826 class: Change
Claus Gittinger <cg@exept.de>
parents: 2945
diff changeset
    83
    source1 = source2 ifTrue:[^ true].
5521c309e826 class: Change
Claus Gittinger <cg@exept.de>
parents: 2945
diff changeset
    84
5521c309e826 class: Change
Claus Gittinger <cg@exept.de>
parents: 2945
diff changeset
    85
    tSource1 := source1 collect:[:line | (line withTabsExpanded:8) withoutTrailingSeparators].
5521c309e826 class: Change
Claus Gittinger <cg@exept.de>
parents: 2945
diff changeset
    86
    tSource2 := source2 collect:[:line | (line withTabsExpanded:8) withoutTrailingSeparators].
5521c309e826 class: Change
Claus Gittinger <cg@exept.de>
parents: 2945
diff changeset
    87
    tSource1 = tSource2 ifTrue:[^ true].
5521c309e826 class: Change
Claus Gittinger <cg@exept.de>
parents: 2945
diff changeset
    88
5521c309e826 class: Change
Claus Gittinger <cg@exept.de>
parents: 2945
diff changeset
    89
"/ how about that one?
5521c309e826 class: Change
Claus Gittinger <cg@exept.de>
parents: 2945
diff changeset
    90
"/    tSource1 := source1 collect:[:line | line withoutLeadingSeparators withoutTrailingSeparators].
5521c309e826 class: Change
Claus Gittinger <cg@exept.de>
parents: 2945
diff changeset
    91
"/    tSource2 := source2 collect:[:line | line withoutLeadingSeparators withoutTrailingSeparators].
5521c309e826 class: Change
Claus Gittinger <cg@exept.de>
parents: 2945
diff changeset
    92
"/    tSource1 = tSource2 ifTrue:[^ true].
5521c309e826 class: Change
Claus Gittinger <cg@exept.de>
parents: 2945
diff changeset
    93
5521c309e826 class: Change
Claus Gittinger <cg@exept.de>
parents: 2945
diff changeset
    94
    ^ false.
1510
ce7253f6f687 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1385
diff changeset
    95
ce7253f6f687 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1385
diff changeset
    96
    "Created: / 25-07-2006 / 11:22:21 / cg"
ce7253f6f687 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1385
diff changeset
    97
! !
ce7253f6f687 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1385
diff changeset
    98
647
abc0329b81a8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 633
diff changeset
    99
!Change methodsFor:'accessing'!
abc0329b81a8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 633
diff changeset
   100
850
5efe4b98c509 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 849
diff changeset
   101
changeClass
5efe4b98c509 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 849
diff changeset
   102
    "the class of the change (nil if not present)"
5efe4b98c509 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 849
diff changeset
   103
5efe4b98c509 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 849
diff changeset
   104
    ^ nil
5efe4b98c509 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 849
diff changeset
   105
5efe4b98c509 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 849
diff changeset
   106
!
5efe4b98c509 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 849
diff changeset
   107
2378
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   108
changeLanguage
2844
e0547aa0ae0b added comments
Claus Gittinger <cg@exept.de>
parents: 2816
diff changeset
   109
    "Answer the programming language of the receiver. 
e0547aa0ae0b added comments
Claus Gittinger <cg@exept.de>
parents: 2816
diff changeset
   110
     Since changesets are currently only supported for Smalltalk, 
e0547aa0ae0b added comments
Claus Gittinger <cg@exept.de>
parents: 2816
diff changeset
   111
     return SmalltalkLanguage unconditionally"
2378
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   112
2844
e0547aa0ae0b added comments
Claus Gittinger <cg@exept.de>
parents: 2816
diff changeset
   113
    ^ SmalltalkLanguage instance
2378
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   114
2844
e0547aa0ae0b added comments
Claus Gittinger <cg@exept.de>
parents: 2816
diff changeset
   115
    "Modified (comment): / 25-07-2012 / 17:40:47 / cg"
2378
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   116
!
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   117
850
5efe4b98c509 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 849
diff changeset
   118
changeSelector
2844
e0547aa0ae0b added comments
Claus Gittinger <cg@exept.de>
parents: 2816
diff changeset
   119
    "the selector, if it is a method change. Nil oherwise"
e0547aa0ae0b added comments
Claus Gittinger <cg@exept.de>
parents: 2816
diff changeset
   120
850
5efe4b98c509 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 849
diff changeset
   121
    ^ nil
5efe4b98c509 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 849
diff changeset
   122
2844
e0547aa0ae0b added comments
Claus Gittinger <cg@exept.de>
parents: 2816
diff changeset
   123
    "Created: / 06-02-1998 / 13:29:35 / cg"
850
5efe4b98c509 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 849
diff changeset
   124
!
5efe4b98c509 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 849
diff changeset
   125
2471
b0dd40fea5d3 Added #changeSource, #imageSource
vrany
parents: 2411
diff changeset
   126
changeSource
2844
e0547aa0ae0b added comments
Claus Gittinger <cg@exept.de>
parents: 2816
diff changeset
   127
    "Return the source of the change"
2471
b0dd40fea5d3 Added #changeSource, #imageSource
vrany
parents: 2411
diff changeset
   128
b0dd40fea5d3 Added #changeSource, #imageSource
vrany
parents: 2411
diff changeset
   129
    ^ self source
b0dd40fea5d3 Added #changeSource, #imageSource
vrany
parents: 2411
diff changeset
   130
b0dd40fea5d3 Added #changeSource, #imageSource
vrany
parents: 2411
diff changeset
   131
    "Created: / 19-07-2011 / 19:03:27 / Jan Vrany <jan.vrany@fit.cvut.cz>"
2844
e0547aa0ae0b added comments
Claus Gittinger <cg@exept.de>
parents: 2816
diff changeset
   132
    "Modified (comment): / 25-07-2012 / 17:39:24 / cg"
2471
b0dd40fea5d3 Added #changeSource, #imageSource
vrany
parents: 2411
diff changeset
   133
!
b0dd40fea5d3 Added #changeSource, #imageSource
vrany
parents: 2411
diff changeset
   134
647
abc0329b81a8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 633
diff changeset
   135
className
abc0329b81a8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 633
diff changeset
   136
    "the className of the change"
abc0329b81a8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 633
diff changeset
   137
abc0329b81a8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 633
diff changeset
   138
    ^ nil
abc0329b81a8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 633
diff changeset
   139
abc0329b81a8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 633
diff changeset
   140
    "Modified: / 15.7.1996 / 09:26:34 / cg"
abc0329b81a8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 633
diff changeset
   141
    "Created: / 6.2.1998 / 13:06:56 / cg"
abc0329b81a8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 633
diff changeset
   142
!
abc0329b81a8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 633
diff changeset
   143
2378
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   144
delta
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   145
    "Returns a delta to current state as symbol:
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   146
        #+ .....the subject is to be added to the image (new)
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   147
        #- .....the subject is to be removed from the image (old)
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   148
        #= .....the image is up to date
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   149
        #~ .....change version and image version differ
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   150
        #? .....delta is unknown or N/A for this kind of change
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   151
    "
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   152
2494
c1488eceb445 added: #deltaDetail
Claus Gittinger <cg@exept.de>
parents: 2490
diff changeset
   153
    "/ obsolete: please use deltaDetail
2378
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   154
    ^#? "We don't know how to compute delta for generic change"
2494
c1488eceb445 added: #deltaDetail
Claus Gittinger <cg@exept.de>
parents: 2490
diff changeset
   155
c1488eceb445 added: #deltaDetail
Claus Gittinger <cg@exept.de>
parents: 2490
diff changeset
   156
    "Modified (comment): / 31-08-2011 / 10:29:47 / cg"
c1488eceb445 added: #deltaDetail
Claus Gittinger <cg@exept.de>
parents: 2490
diff changeset
   157
!
c1488eceb445 added: #deltaDetail
Claus Gittinger <cg@exept.de>
parents: 2490
diff changeset
   158
c1488eceb445 added: #deltaDetail
Claus Gittinger <cg@exept.de>
parents: 2490
diff changeset
   159
deltaDetail
c1488eceb445 added: #deltaDetail
Claus Gittinger <cg@exept.de>
parents: 2490
diff changeset
   160
    "Returns a delta to the current state as a ChangeDelta object"
c1488eceb445 added: #deltaDetail
Claus Gittinger <cg@exept.de>
parents: 2490
diff changeset
   161
    
c1488eceb445 added: #deltaDetail
Claus Gittinger <cg@exept.de>
parents: 2490
diff changeset
   162
    ^ ChangeDeltaInformation unknown   "We don't know how to compute delta for generic change"
c1488eceb445 added: #deltaDetail
Claus Gittinger <cg@exept.de>
parents: 2490
diff changeset
   163
c1488eceb445 added: #deltaDetail
Claus Gittinger <cg@exept.de>
parents: 2490
diff changeset
   164
    "Created: / 31-08-2011 / 09:59:15 / cg"
2378
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   165
!
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   166
909
2af6462c44ff VW5i compatibility
Claus Gittinger <cg@exept.de>
parents: 897
diff changeset
   167
file
2af6462c44ff VW5i compatibility
Claus Gittinger <cg@exept.de>
parents: 897
diff changeset
   168
    ^ nil "/ to be added as instvar
2af6462c44ff VW5i compatibility
Claus Gittinger <cg@exept.de>
parents: 897
diff changeset
   169
!
2af6462c44ff VW5i compatibility
Claus Gittinger <cg@exept.de>
parents: 897
diff changeset
   170
2af6462c44ff VW5i compatibility
Claus Gittinger <cg@exept.de>
parents: 897
diff changeset
   171
file:aFile position:anInteger
2af6462c44ff VW5i compatibility
Claus Gittinger <cg@exept.de>
parents: 897
diff changeset
   172
    ^ self "/ to be added 
2af6462c44ff VW5i compatibility
Claus Gittinger <cg@exept.de>
parents: 897
diff changeset
   173
!
2af6462c44ff VW5i compatibility
Claus Gittinger <cg@exept.de>
parents: 897
diff changeset
   174
4342
2bfded24f90d #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
   175
fullClassName
2bfded24f90d #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
   176
    ^ nil
2bfded24f90d #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
   177
2bfded24f90d #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
   178
    "Created: / 21-07-2018 / 09:45:13 / Claus Gittinger"
2bfded24f90d #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
   179
!
2bfded24f90d #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
   180
2471
b0dd40fea5d3 Added #changeSource, #imageSource
vrany
parents: 2411
diff changeset
   181
imageSource
2844
e0547aa0ae0b added comments
Claus Gittinger <cg@exept.de>
parents: 2816
diff changeset
   182
    "Return the source of the in-image version
e0547aa0ae0b added comments
Claus Gittinger <cg@exept.de>
parents: 2816
diff changeset
   183
     or nil if there is no source for this change"
2471
b0dd40fea5d3 Added #changeSource, #imageSource
vrany
parents: 2411
diff changeset
   184
2844
e0547aa0ae0b added comments
Claus Gittinger <cg@exept.de>
parents: 2816
diff changeset
   185
    ^ nil
2471
b0dd40fea5d3 Added #changeSource, #imageSource
vrany
parents: 2411
diff changeset
   186
b0dd40fea5d3 Added #changeSource, #imageSource
vrany
parents: 2411
diff changeset
   187
    "Created: / 19-07-2011 / 11:58:39 / Jan Vrany <jan.vrany@fit.cvut.cz>"
2844
e0547aa0ae0b added comments
Claus Gittinger <cg@exept.de>
parents: 2816
diff changeset
   188
    "Modified (format): / 25-07-2012 / 17:37:23 / cg"
2471
b0dd40fea5d3 Added #changeSource, #imageSource
vrany
parents: 2411
diff changeset
   189
!
b0dd40fea5d3 Added #changeSource, #imageSource
vrany
parents: 2411
diff changeset
   190
2816
1956dcff8f88 added: #nameSpaceOverride:
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   191
nameSpaceOverride:ns
1956dcff8f88 added: #nameSpaceOverride:
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   192
1956dcff8f88 added: #nameSpaceOverride:
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   193
    "Created: / 20-03-2012 / 17:18:17 / cg"
1956dcff8f88 added: #nameSpaceOverride:
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   194
!
1956dcff8f88 added: #nameSpaceOverride:
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   195
2411
37acd98eb083 Extension methods from libsvn
vrany
parents: 2378
diff changeset
   196
nonMetaClassName
37acd98eb083 Extension methods from libsvn
vrany
parents: 2378
diff changeset
   197
37acd98eb083 Extension methods from libsvn
vrany
parents: 2378
diff changeset
   198
    ^nil
37acd98eb083 Extension methods from libsvn
vrany
parents: 2378
diff changeset
   199
37acd98eb083 Extension methods from libsvn
vrany
parents: 2378
diff changeset
   200
    "Created: / 26-11-2009 / 16:14:26 / Jan Vrany <jan.vrany@fit.cvut.cz>"
37acd98eb083 Extension methods from libsvn
vrany
parents: 2378
diff changeset
   201
!
37acd98eb083 Extension methods from libsvn
vrany
parents: 2378
diff changeset
   202
909
2af6462c44ff VW5i compatibility
Claus Gittinger <cg@exept.de>
parents: 897
diff changeset
   203
objectType:aSymbol
2af6462c44ff VW5i compatibility
Claus Gittinger <cg@exept.de>
parents: 897
diff changeset
   204
    ^ self "/ to be added as instvar
2af6462c44ff VW5i compatibility
Claus Gittinger <cg@exept.de>
parents: 897
diff changeset
   205
!
2af6462c44ff VW5i compatibility
Claus Gittinger <cg@exept.de>
parents: 897
diff changeset
   206
2287
271a86b96fd3 added: #package
Claus Gittinger <cg@exept.de>
parents: 2185
diff changeset
   207
package
271a86b96fd3 added: #package
Claus Gittinger <cg@exept.de>
parents: 2185
diff changeset
   208
    ^ nil
271a86b96fd3 added: #package
Claus Gittinger <cg@exept.de>
parents: 2185
diff changeset
   209
!
271a86b96fd3 added: #package
Claus Gittinger <cg@exept.de>
parents: 2185
diff changeset
   210
1052
cc84f5e27bb5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 988
diff changeset
   211
prettyPrintedSource
cc84f5e27bb5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 988
diff changeset
   212
    "return the prettyPrinted or normal source of the change"
cc84f5e27bb5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 988
diff changeset
   213
cc84f5e27bb5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 988
diff changeset
   214
    ^ self source
cc84f5e27bb5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 988
diff changeset
   215
!
cc84f5e27bb5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 988
diff changeset
   216
647
abc0329b81a8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 633
diff changeset
   217
selector
abc0329b81a8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 633
diff changeset
   218
    ^ nil
abc0329b81a8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 633
diff changeset
   219
abc0329b81a8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 633
diff changeset
   220
    "Created: / 6.2.1998 / 13:29:35 / cg"
787
5d49bd054fc2 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 784
diff changeset
   221
!
5d49bd054fc2 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 784
diff changeset
   222
5d49bd054fc2 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 784
diff changeset
   223
source
5d49bd054fc2 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 784
diff changeset
   224
    "return the source of the change"
5d49bd054fc2 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 784
diff changeset
   225
1096
4a949a840bb3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   226
    |s|
4a949a840bb3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   227
4a949a840bb3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   228
    source isNil ifTrue:[
1385
495fc9f2c9da replaced '' writeStream by String writeStream
Claus Gittinger <cg@exept.de>
parents: 1290
diff changeset
   229
        s := String writeStream.
1096
4a949a840bb3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   230
        self printOn:s.
4a949a840bb3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   231
        ^ s contents.
4a949a840bb3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   232
    ].
787
5d49bd054fc2 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 784
diff changeset
   233
    ^ source
5d49bd054fc2 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 784
diff changeset
   234
5d49bd054fc2 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 784
diff changeset
   235
    "Modified: 15.7.1996 / 09:26:34 / cg"
5d49bd054fc2 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 784
diff changeset
   236
!
5d49bd054fc2 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 784
diff changeset
   237
5d49bd054fc2 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 784
diff changeset
   238
source:someString
5d49bd054fc2 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 784
diff changeset
   239
    "set the source of the change"
5d49bd054fc2 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 784
diff changeset
   240
1290
5d97b96b1237 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1288
diff changeset
   241
    "/ debugging only ...
5d97b96b1237 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1288
diff changeset
   242
    someString isString ifFalse:[
5d97b96b1237 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1288
diff changeset
   243
        (someString respondsTo:#string) ifFalse:[
5d97b96b1237 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1288
diff changeset
   244
            self halt:'argument should be string-like'
5d97b96b1237 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1288
diff changeset
   245
        ]
5d97b96b1237 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1288
diff changeset
   246
    ].
787
5d49bd054fc2 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 784
diff changeset
   247
    source := someString
5d49bd054fc2 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 784
diff changeset
   248
5d49bd054fc2 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 784
diff changeset
   249
    "Modified: / 15.7.1996 / 09:26:34 / cg"
5d49bd054fc2 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 784
diff changeset
   250
    "Created: / 16.2.1998 / 13:05:16 / cg"
1147
c1ea2e764760 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1096
diff changeset
   251
!
c1ea2e764760 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1096
diff changeset
   252
c1ea2e764760 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1096
diff changeset
   253
timeOfChangeIfKnown
c1ea2e764760 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1096
diff changeset
   254
    ^ timeOfChangeIfKnown
c1ea2e764760 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1096
diff changeset
   255
!
c1ea2e764760 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1096
diff changeset
   256
c1ea2e764760 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1096
diff changeset
   257
timeStamp:aTimestamp
c1ea2e764760 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1096
diff changeset
   258
    timeOfChangeIfKnown := aTimestamp
647
abc0329b81a8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 633
diff changeset
   259
! !
abc0329b81a8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 633
diff changeset
   260
849
d31825895bb2 preps to allow applying
Claus Gittinger <cg@exept.de>
parents: 798
diff changeset
   261
!Change methodsFor:'applying'!
d31825895bb2 preps to allow applying
Claus Gittinger <cg@exept.de>
parents: 798
diff changeset
   262
d31825895bb2 preps to allow applying
Claus Gittinger <cg@exept.de>
parents: 798
diff changeset
   263
apply
d31825895bb2 preps to allow applying
Claus Gittinger <cg@exept.de>
parents: 798
diff changeset
   264
    "apply the change"
d31825895bb2 preps to allow applying
Claus Gittinger <cg@exept.de>
parents: 798
diff changeset
   265
d31825895bb2 preps to allow applying
Claus Gittinger <cg@exept.de>
parents: 798
diff changeset
   266
    self subclassResponsibility
1873
2cbdfc5da6d7 changes for compare-project functionality
Claus Gittinger <cg@exept.de>
parents: 1868
diff changeset
   267
2cbdfc5da6d7 changes for compare-project functionality
Claus Gittinger <cg@exept.de>
parents: 1868
diff changeset
   268
    "Modified: / 13-10-2006 / 00:41:05 / cg"
3461
1e80c5caaed6 merged in jv's changes
Claus Gittinger <cg@exept.de>
parents: 3212
diff changeset
   269
!
1e80c5caaed6 merged in jv's changes
Claus Gittinger <cg@exept.de>
parents: 3212
diff changeset
   270
1e80c5caaed6 merged in jv's changes
Claus Gittinger <cg@exept.de>
parents: 3212
diff changeset
   271
applyWithNameSpaceOverride: nameSpaceOrNameSpaceName
1e80c5caaed6 merged in jv's changes
Claus Gittinger <cg@exept.de>
parents: 3212
diff changeset
   272
    "Apply the change, overriding a namespace to given one"
1e80c5caaed6 merged in jv's changes
Claus Gittinger <cg@exept.de>
parents: 3212
diff changeset
   273
1e80c5caaed6 merged in jv's changes
Claus Gittinger <cg@exept.de>
parents: 3212
diff changeset
   274
    self apply
1e80c5caaed6 merged in jv's changes
Claus Gittinger <cg@exept.de>
parents: 3212
diff changeset
   275
1e80c5caaed6 merged in jv's changes
Claus Gittinger <cg@exept.de>
parents: 3212
diff changeset
   276
    "Created: / 04-02-2014 / 18:21:33 / Jan Vrany <jan.vrany@fit.cvut.cz>"
849
d31825895bb2 preps to allow applying
Claus Gittinger <cg@exept.de>
parents: 798
diff changeset
   277
! !
d31825895bb2 preps to allow applying
Claus Gittinger <cg@exept.de>
parents: 798
diff changeset
   278
1234
2edbb63a70b7 james' package changes
james
parents: 1225
diff changeset
   279
!Change methodsFor:'change notification'!
2edbb63a70b7 james' package changes
james
parents: 1225
diff changeset
   280
2edbb63a70b7 james' package changes
james
parents: 1225
diff changeset
   281
sendChangeNotificationThroughSmalltalk
2edbb63a70b7 james' package changes
james
parents: 1225
diff changeset
   282
    "intentionally left blank"
2edbb63a70b7 james' package changes
james
parents: 1225
diff changeset
   283
! !
2edbb63a70b7 james' package changes
james
parents: 1225
diff changeset
   284
784
1e50cc7fd07d added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   285
!Change methodsFor:'comparing'!
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
isForSameAs:changeB
1e50cc7fd07d added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   288
    "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
   289
     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
   290
1e50cc7fd07d added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   291
    ^ false
1e50cc7fd07d added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   292
1e50cc7fd07d added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   293
!
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
sameAs:changeB
1e50cc7fd07d added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   296
    "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
   297
1e50cc7fd07d added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   298
    ^ false
1e50cc7fd07d added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   299
1e50cc7fd07d added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   300
!
1e50cc7fd07d added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   301
1e50cc7fd07d added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   302
sameSourceAs:changeB
1e50cc7fd07d added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   303
    "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
   304
1510
ce7253f6f687 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1385
diff changeset
   305
    ^ 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
   306
1510
ce7253f6f687 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1385
diff changeset
   307
    "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
   308
! !
1e50cc7fd07d added compare methods #sameAs: and #isForSameAs:
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   309
2411
37acd98eb083 Extension methods from libsvn
vrany
parents: 2378
diff changeset
   310
!Change methodsFor:'converting'!
37acd98eb083 Extension methods from libsvn
vrany
parents: 2378
diff changeset
   311
37acd98eb083 Extension methods from libsvn
vrany
parents: 2378
diff changeset
   312
asAntiChange
4237
278c21407942 #DOCUMENTATION by mawalch
mawalch
parents: 4208
diff changeset
   313
    "Returns my anti-change, i.e. change that does the
278c21407942 #DOCUMENTATION by mawalch
mawalch
parents: 4208
diff changeset
   314
     opposite. For class definition change it returns
4238
e3824d6ddfb7 #DOCUMENTATION by mawalch
mawalch
parents: 4237
diff changeset
   315
     class remove change, for method definition change
2411
37acd98eb083 Extension methods from libsvn
vrany
parents: 2378
diff changeset
   316
     it returns method remove change. If there is no way
4237
278c21407942 #DOCUMENTATION by mawalch
mawalch
parents: 4208
diff changeset
   317
     how to revert the change, an error is triggered.
2411
37acd98eb083 Extension methods from libsvn
vrany
parents: 2378
diff changeset
   318
37acd98eb083 Extension methods from libsvn
vrany
parents: 2378
diff changeset
   319
     JV: personal note: we should switch to deltastreams
37acd98eb083 Extension methods from libsvn
vrany
parents: 2378
diff changeset
   320
     (http://wiki.squeak.org/squeak/6001)
3136
5521c309e826 class: Change
Claus Gittinger <cg@exept.de>
parents: 2945
diff changeset
   321
5521c309e826 class: Change
Claus Gittinger <cg@exept.de>
parents: 2945
diff changeset
   322
     CG: is the above really true - what about a classDefChange for
5521c309e826 class: Change
Claus Gittinger <cg@exept.de>
parents: 2945
diff changeset
   323
         an existing class????
2411
37acd98eb083 Extension methods from libsvn
vrany
parents: 2378
diff changeset
   324
    "
37acd98eb083 Extension methods from libsvn
vrany
parents: 2378
diff changeset
   325
37acd98eb083 Extension methods from libsvn
vrany
parents: 2378
diff changeset
   326
    "/self error: 'Could not create antichange'
37acd98eb083 Extension methods from libsvn
vrany
parents: 2378
diff changeset
   327
    ^self copy
37acd98eb083 Extension methods from libsvn
vrany
parents: 2378
diff changeset
   328
37acd98eb083 Extension methods from libsvn
vrany
parents: 2378
diff changeset
   329
    "Created: / 02-11-2009 / 11:11:03 / Jan Vrany <jan.vrany@fit.cvut.cz>"
37acd98eb083 Extension methods from libsvn
vrany
parents: 2378
diff changeset
   330
    "Modified: / 26-11-2009 / 16:10:44 / Jan Vrany <jan.vrany@fit.cvut.cz>"
4238
e3824d6ddfb7 #DOCUMENTATION by mawalch
mawalch
parents: 4237
diff changeset
   331
    "Modified (comment): / 17-05-2017 / 12:51:41 / mawalch"
2411
37acd98eb083 Extension methods from libsvn
vrany
parents: 2378
diff changeset
   332
! !
2378
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   333
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   334
!Change methodsFor:'enumerating'!
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   335
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   336
do: aBlock
4471
b9b61dacab6c #DOCUMENTATION by exept
Claus Gittinger <cg@exept.de>
parents: 4342
diff changeset
   337
    "ATTN: returns the value from aBlock!!
4472
1c0e0c5b003d #DOCUMENTATION by exept
Claus Gittinger <cg@exept.de>
parents: 4471
diff changeset
   338
     is this required or just sloppy programming?"
2378
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   339
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   340
    ^aBlock value: self
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   341
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   342
    "Created: / 29-10-2010 / 14:02:31 / Jan Vrany <jan.vrany@fit.cvut.cz>"
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   343
! !
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   344
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   345
!Change methodsFor:'fileout'!
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   346
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   347
basicFileOutOn: aStream
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   348
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   349
    aStream 
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   350
        cr;
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   351
        nextPutAllAsChunk: self source; 
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   352
        cr;
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   353
        nextPutChunkSeparator; cr
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   354
!
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   355
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   356
fileOutOn: aStream
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   357
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   358
    self removed ifFalse:[self basicFileOutOn: aStream]
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   359
! !
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   360
4237
278c21407942 #DOCUMENTATION by mawalch
mawalch
parents: 4208
diff changeset
   361
778
36f27d7e25f4 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 777
diff changeset
   362
!Change methodsFor:'printing & storing'!
36f27d7e25f4 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 777
diff changeset
   363
897
d46a2564eba8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 852
diff changeset
   364
printStringWithoutClassName
778
36f27d7e25f4 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 777
diff changeset
   365
    |s|
36f27d7e25f4 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 777
diff changeset
   366
1385
495fc9f2c9da replaced '' writeStream by String writeStream
Claus Gittinger <cg@exept.de>
parents: 1290
diff changeset
   367
    s := String writeStream.
897
d46a2564eba8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 852
diff changeset
   368
    self printWithoutClassNameOn:s.
778
36f27d7e25f4 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 777
diff changeset
   369
    ^ s contents
36f27d7e25f4 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 777
diff changeset
   370
!
36f27d7e25f4 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 777
diff changeset
   371
897
d46a2564eba8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 852
diff changeset
   372
printWithoutClassNameOn:aStream
778
36f27d7e25f4 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 777
diff changeset
   373
    self printOn:aStream
36f27d7e25f4 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 777
diff changeset
   374
36f27d7e25f4 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 777
diff changeset
   375
36f27d7e25f4 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 777
diff changeset
   376
! !
36f27d7e25f4 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 777
diff changeset
   377
3212
bfb6d655dd9b class: Change
Claus Gittinger <cg@exept.de>
parents: 3165
diff changeset
   378
2167
Claus Gittinger <cg@exept.de>
parents: 2135
diff changeset
   379
!Change methodsFor:'queries'!
Claus Gittinger <cg@exept.de>
parents: 2135
diff changeset
   380
Claus Gittinger <cg@exept.de>
parents: 2135
diff changeset
   381
isForGeneratedSubject
Claus Gittinger <cg@exept.de>
parents: 2135
diff changeset
   382
    "
Claus Gittinger <cg@exept.de>
parents: 2135
diff changeset
   383
    Answers true iff subject of this method is somewhat
Claus Gittinger <cg@exept.de>
parents: 2135
diff changeset
   384
    auto-generated by some tool - just like version methods
Claus Gittinger <cg@exept.de>
parents: 2135
diff changeset
   385
    are.
Claus Gittinger <cg@exept.de>
parents: 2135
diff changeset
   386
    "
Claus Gittinger <cg@exept.de>
parents: 2135
diff changeset
   387
Claus Gittinger <cg@exept.de>
parents: 2135
diff changeset
   388
    ^ false
Claus Gittinger <cg@exept.de>
parents: 2135
diff changeset
   389
Claus Gittinger <cg@exept.de>
parents: 2135
diff changeset
   390
    "Created: / 08-04-2009 / 09:45:26 / Jan Vrany <vranyj1@fel.cvut.cz>"
Claus Gittinger <cg@exept.de>
parents: 2135
diff changeset
   391
    "Modified: / 17-08-2009 / 18:55:20 / Jan Vrany <vranyj1@fel.cvut.cz>"
Claus Gittinger <cg@exept.de>
parents: 2135
diff changeset
   392
! !
Claus Gittinger <cg@exept.de>
parents: 2135
diff changeset
   393
2135
dddad5c46e91 added: #isMethodCodeChange
Claus Gittinger <cg@exept.de>
parents: 1873
diff changeset
   394
!Change methodsFor:'testing'!
651
20f3013cf5c0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 647
diff changeset
   395
1175
d4d0a2cc711a added classCategoryChange
Claus Gittinger <cg@exept.de>
parents: 1163
diff changeset
   396
isClassCategoryChange
2135
dddad5c46e91 added: #isMethodCodeChange
Claus Gittinger <cg@exept.de>
parents: 1873
diff changeset
   397
    "return true, if this is a class-category change"
dddad5c46e91 added: #isMethodCodeChange
Claus Gittinger <cg@exept.de>
parents: 1873
diff changeset
   398
1175
d4d0a2cc711a added classCategoryChange
Claus Gittinger <cg@exept.de>
parents: 1163
diff changeset
   399
    ^ false
d4d0a2cc711a added classCategoryChange
Claus Gittinger <cg@exept.de>
parents: 1163
diff changeset
   400
d4d0a2cc711a added classCategoryChange
Claus Gittinger <cg@exept.de>
parents: 1163
diff changeset
   401
    "Created: / 7.2.1998 / 19:26:50 / cg"
d4d0a2cc711a added classCategoryChange
Claus Gittinger <cg@exept.de>
parents: 1163
diff changeset
   402
!
d4d0a2cc711a added classCategoryChange
Claus Gittinger <cg@exept.de>
parents: 1163
diff changeset
   403
932
8028d375f842 #isClassChange query
Claus Gittinger <cg@exept.de>
parents: 909
diff changeset
   404
isClassChange
2135
dddad5c46e91 added: #isMethodCodeChange
Claus Gittinger <cg@exept.de>
parents: 1873
diff changeset
   405
    "return true, if this is a class-related change"
dddad5c46e91 added: #isMethodCodeChange
Claus Gittinger <cg@exept.de>
parents: 1873
diff changeset
   406
932
8028d375f842 #isClassChange query
Claus Gittinger <cg@exept.de>
parents: 909
diff changeset
   407
    ^ false
8028d375f842 #isClassChange query
Claus Gittinger <cg@exept.de>
parents: 909
diff changeset
   408
8028d375f842 #isClassChange query
Claus Gittinger <cg@exept.de>
parents: 909
diff changeset
   409
    "Created: / 7.2.1998 / 19:26:50 / cg"
8028d375f842 #isClassChange query
Claus Gittinger <cg@exept.de>
parents: 909
diff changeset
   410
!
8028d375f842 #isClassChange query
Claus Gittinger <cg@exept.de>
parents: 909
diff changeset
   411
777
1eb424230652 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 773
diff changeset
   412
isClassCommentChange
2135
dddad5c46e91 added: #isMethodCodeChange
Claus Gittinger <cg@exept.de>
parents: 1873
diff changeset
   413
    "return true, if this is a class-comment change"
dddad5c46e91 added: #isMethodCodeChange
Claus Gittinger <cg@exept.de>
parents: 1873
diff changeset
   414
777
1eb424230652 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 773
diff changeset
   415
    ^ false
1eb424230652 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 773
diff changeset
   416
1eb424230652 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 773
diff changeset
   417
    "Created: / 7.2.1998 / 19:26:50 / cg"
1eb424230652 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 773
diff changeset
   418
!
1eb424230652 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 773
diff changeset
   419
771
0fc9c131d807 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 654
diff changeset
   420
isClassDefinitionChange
2135
dddad5c46e91 added: #isMethodCodeChange
Claus Gittinger <cg@exept.de>
parents: 1873
diff changeset
   421
    "return true, if this is a class-definition change"
dddad5c46e91 added: #isMethodCodeChange
Claus Gittinger <cg@exept.de>
parents: 1873
diff changeset
   422
771
0fc9c131d807 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 654
diff changeset
   423
    ^ false
0fc9c131d807 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 654
diff changeset
   424
0fc9c131d807 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 654
diff changeset
   425
    "Created: / 7.2.1998 / 19:26:50 / cg"
0fc9c131d807 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 654
diff changeset
   426
!
0fc9c131d807 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 654
diff changeset
   427
3531
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3493
diff changeset
   428
isClassInitializeChange
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3493
diff changeset
   429
    ^ false
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3493
diff changeset
   430
!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3493
diff changeset
   431
798
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 787
diff changeset
   432
isClassInstVarDefinitionChange
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 787
diff changeset
   433
    ^ false
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 787
diff changeset
   434
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 787
diff changeset
   435
!
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 787
diff changeset
   436
1234
2edbb63a70b7 james' package changes
james
parents: 1225
diff changeset
   437
isClassRemoveChange
2edbb63a70b7 james' package changes
james
parents: 1225
diff changeset
   438
    ^ false
2edbb63a70b7 james' package changes
james
parents: 1225
diff changeset
   439
2edbb63a70b7 james' package changes
james
parents: 1225
diff changeset
   440
    "Created: / 7.2.1998 / 19:26:50 / cg"
2edbb63a70b7 james' package changes
james
parents: 1225
diff changeset
   441
!
2edbb63a70b7 james' package changes
james
parents: 1225
diff changeset
   442
2411
37acd98eb083 Extension methods from libsvn
vrany
parents: 2378
diff changeset
   443
isClassRemoveChangeOrMethodRemoveChange
37acd98eb083 Extension methods from libsvn
vrany
parents: 2378
diff changeset
   444
    ^self isClassRemoveChange or: [self isMethodRemoveChange]
37acd98eb083 Extension methods from libsvn
vrany
parents: 2378
diff changeset
   445
37acd98eb083 Extension methods from libsvn
vrany
parents: 2378
diff changeset
   446
    "Created: / 25-11-2009 / 08:16:17 / Jan Vrany <jan.vrany@fit.cvut.cz>"
37acd98eb083 Extension methods from libsvn
vrany
parents: 2378
diff changeset
   447
!
37acd98eb083 Extension methods from libsvn
vrany
parents: 2378
diff changeset
   448
1234
2edbb63a70b7 james' package changes
james
parents: 1225
diff changeset
   449
isClassRenameChange
2edbb63a70b7 james' package changes
james
parents: 1225
diff changeset
   450
    ^ false
2edbb63a70b7 james' package changes
james
parents: 1225
diff changeset
   451
2edbb63a70b7 james' package changes
james
parents: 1225
diff changeset
   452
    "Created: / 7.2.1998 / 19:26:50 / cg"
2edbb63a70b7 james' package changes
james
parents: 1225
diff changeset
   453
!
2edbb63a70b7 james' package changes
james
parents: 1225
diff changeset
   454
2378
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   455
isCompositeChange
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   456
    ^ false
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   457
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   458
    "Created: / 7.2.1998 / 19:26:50 / cg"
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   459
!
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   460
3212
bfb6d655dd9b class: Change
Claus Gittinger <cg@exept.de>
parents: 3165
diff changeset
   461
isConflict
bfb6d655dd9b class: Change
Claus Gittinger <cg@exept.de>
parents: 3165
diff changeset
   462
    "true if this change is different than what is already in the image
bfb6d655dd9b class: Change
Claus Gittinger <cg@exept.de>
parents: 3165
diff changeset
   463
     (i.e. it overwrites some existing code)"
bfb6d655dd9b class: Change
Claus Gittinger <cg@exept.de>
parents: 3165
diff changeset
   464
bfb6d655dd9b class: Change
Claus Gittinger <cg@exept.de>
parents: 3165
diff changeset
   465
    ^ true
bfb6d655dd9b class: Change
Claus Gittinger <cg@exept.de>
parents: 3165
diff changeset
   466
!
bfb6d655dd9b class: Change
Claus Gittinger <cg@exept.de>
parents: 3165
diff changeset
   467
773
286439523352 added #isDoIt
Claus Gittinger <cg@exept.de>
parents: 771
diff changeset
   468
isDoIt
286439523352 added #isDoIt
Claus Gittinger <cg@exept.de>
parents: 771
diff changeset
   469
    ^ false
286439523352 added #isDoIt
Claus Gittinger <cg@exept.de>
parents: 771
diff changeset
   470
286439523352 added #isDoIt
Claus Gittinger <cg@exept.de>
parents: 771
diff changeset
   471
    "Created: / 7.2.1998 / 19:26:50 / cg"
286439523352 added #isDoIt
Claus Gittinger <cg@exept.de>
parents: 771
diff changeset
   472
!
286439523352 added #isDoIt
Claus Gittinger <cg@exept.de>
parents: 771
diff changeset
   473
964
64282b5e5c48 added #isMEthodCategoryChange
Claus Gittinger <cg@exept.de>
parents: 932
diff changeset
   474
isMethodCategoryChange
64282b5e5c48 added #isMEthodCategoryChange
Claus Gittinger <cg@exept.de>
parents: 932
diff changeset
   475
    ^ false
64282b5e5c48 added #isMEthodCategoryChange
Claus Gittinger <cg@exept.de>
parents: 932
diff changeset
   476
!
64282b5e5c48 added #isMEthodCategoryChange
Claus Gittinger <cg@exept.de>
parents: 932
diff changeset
   477
1234
2edbb63a70b7 james' package changes
james
parents: 1225
diff changeset
   478
isMethodCategoryRenameChange
2edbb63a70b7 james' package changes
james
parents: 1225
diff changeset
   479
    ^ false
2edbb63a70b7 james' package changes
james
parents: 1225
diff changeset
   480
2edbb63a70b7 james' package changes
james
parents: 1225
diff changeset
   481
    "Created: / 7.2.1998 / 19:26:50 / cg"
2edbb63a70b7 james' package changes
james
parents: 1225
diff changeset
   482
!
2edbb63a70b7 james' package changes
james
parents: 1225
diff changeset
   483
651
20f3013cf5c0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 647
diff changeset
   484
isMethodChange
2135
dddad5c46e91 added: #isMethodCodeChange
Claus Gittinger <cg@exept.de>
parents: 1873
diff changeset
   485
    "true if this is a method related change"
dddad5c46e91 added: #isMethodCodeChange
Claus Gittinger <cg@exept.de>
parents: 1873
diff changeset
   486
dddad5c46e91 added: #isMethodCodeChange
Claus Gittinger <cg@exept.de>
parents: 1873
diff changeset
   487
    ^ false
dddad5c46e91 added: #isMethodCodeChange
Claus Gittinger <cg@exept.de>
parents: 1873
diff changeset
   488
dddad5c46e91 added: #isMethodCodeChange
Claus Gittinger <cg@exept.de>
parents: 1873
diff changeset
   489
    "Created: / 7.2.1998 / 19:26:50 / cg"
dddad5c46e91 added: #isMethodCodeChange
Claus Gittinger <cg@exept.de>
parents: 1873
diff changeset
   490
!
dddad5c46e91 added: #isMethodCodeChange
Claus Gittinger <cg@exept.de>
parents: 1873
diff changeset
   491
3461
1e80c5caaed6 merged in jv's changes
Claus Gittinger <cg@exept.de>
parents: 3212
diff changeset
   492
isMethodChangeForCopyrightMethod
1e80c5caaed6 merged in jv's changes
Claus Gittinger <cg@exept.de>
parents: 3212
diff changeset
   493
    "Return true if this is a change of #copyright method"
1e80c5caaed6 merged in jv's changes
Claus Gittinger <cg@exept.de>
parents: 3212
diff changeset
   494
1e80c5caaed6 merged in jv's changes
Claus Gittinger <cg@exept.de>
parents: 3212
diff changeset
   495
    ^ false
1e80c5caaed6 merged in jv's changes
Claus Gittinger <cg@exept.de>
parents: 3212
diff changeset
   496
1e80c5caaed6 merged in jv's changes
Claus Gittinger <cg@exept.de>
parents: 3212
diff changeset
   497
    "Created: / 01-08-2012 / 16:34:39 / Jan Vrany <jan.vrany@fit.cvut.cz>"
1e80c5caaed6 merged in jv's changes
Claus Gittinger <cg@exept.de>
parents: 3212
diff changeset
   498
!
1e80c5caaed6 merged in jv's changes
Claus Gittinger <cg@exept.de>
parents: 3212
diff changeset
   499
2945
1fd8091099ef queries
Claus Gittinger <cg@exept.de>
parents: 2882
diff changeset
   500
isMethodChangeForExtensionsVersionMethod
1fd8091099ef queries
Claus Gittinger <cg@exept.de>
parents: 2882
diff changeset
   501
    "true if this is a change for an extensionsVersion method"
1fd8091099ef queries
Claus Gittinger <cg@exept.de>
parents: 2882
diff changeset
   502
1fd8091099ef queries
Claus Gittinger <cg@exept.de>
parents: 2882
diff changeset
   503
    ^ false
1fd8091099ef queries
Claus Gittinger <cg@exept.de>
parents: 2882
diff changeset
   504
1fd8091099ef queries
Claus Gittinger <cg@exept.de>
parents: 2882
diff changeset
   505
    "Created: / 7.2.1998 / 19:26:50 / cg"
1fd8091099ef queries
Claus Gittinger <cg@exept.de>
parents: 2882
diff changeset
   506
!
1fd8091099ef queries
Claus Gittinger <cg@exept.de>
parents: 2882
diff changeset
   507
2185
d3a522511a17 added: #isMethodChangeForVersionMethod
fm
parents: 2167
diff changeset
   508
isMethodChangeForVersionMethod
2945
1fd8091099ef queries
Claus Gittinger <cg@exept.de>
parents: 2882
diff changeset
   509
    "true if this is a change for a version method"
2185
d3a522511a17 added: #isMethodChangeForVersionMethod
fm
parents: 2167
diff changeset
   510
d3a522511a17 added: #isMethodChangeForVersionMethod
fm
parents: 2167
diff changeset
   511
    ^ false
d3a522511a17 added: #isMethodChangeForVersionMethod
fm
parents: 2167
diff changeset
   512
d3a522511a17 added: #isMethodChangeForVersionMethod
fm
parents: 2167
diff changeset
   513
    "Created: / 7.2.1998 / 19:26:50 / cg"
d3a522511a17 added: #isMethodChangeForVersionMethod
fm
parents: 2167
diff changeset
   514
!
d3a522511a17 added: #isMethodChangeForVersionMethod
fm
parents: 2167
diff changeset
   515
2135
dddad5c46e91 added: #isMethodCodeChange
Claus Gittinger <cg@exept.de>
parents: 1873
diff changeset
   516
isMethodCodeChange
dddad5c46e91 added: #isMethodCodeChange
Claus Gittinger <cg@exept.de>
parents: 1873
diff changeset
   517
    "true if this is a method's code change (not package, category etc.)"
dddad5c46e91 added: #isMethodCodeChange
Claus Gittinger <cg@exept.de>
parents: 1873
diff changeset
   518
651
20f3013cf5c0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 647
diff changeset
   519
    ^ false
20f3013cf5c0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 647
diff changeset
   520
20f3013cf5c0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 647
diff changeset
   521
    "Created: / 7.2.1998 / 19:26:50 / cg"
783
90ffa6f0a86b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 778
diff changeset
   522
!
90ffa6f0a86b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 778
diff changeset
   523
1225
6e912daf6b1b +isMethodDefinitionChange
Claus Gittinger <cg@exept.de>
parents: 1175
diff changeset
   524
isMethodDefinitionChange
6e912daf6b1b +isMethodDefinitionChange
Claus Gittinger <cg@exept.de>
parents: 1175
diff changeset
   525
    ^ false
6e912daf6b1b +isMethodDefinitionChange
Claus Gittinger <cg@exept.de>
parents: 1175
diff changeset
   526
!
6e912daf6b1b +isMethodDefinitionChange
Claus Gittinger <cg@exept.de>
parents: 1175
diff changeset
   527
2167
Claus Gittinger <cg@exept.de>
parents: 2135
diff changeset
   528
isMethodPackageChange
Claus Gittinger <cg@exept.de>
parents: 2135
diff changeset
   529
    ^ false
Claus Gittinger <cg@exept.de>
parents: 2135
diff changeset
   530
Claus Gittinger <cg@exept.de>
parents: 2135
diff changeset
   531
    "Created: / 08-04-2009 / 09:00:21 / Jan Vrany <vranyj1@fel.cvut.cz>"
Claus Gittinger <cg@exept.de>
parents: 2135
diff changeset
   532
!
Claus Gittinger <cg@exept.de>
parents: 2135
diff changeset
   533
1163
4886886a78b7 #isMethodRemoveChange query added
Claus Gittinger <cg@exept.de>
parents: 1147
diff changeset
   534
isMethodRemoveChange
4886886a78b7 #isMethodRemoveChange query added
Claus Gittinger <cg@exept.de>
parents: 1147
diff changeset
   535
    ^ false
4886886a78b7 #isMethodRemoveChange query added
Claus Gittinger <cg@exept.de>
parents: 1147
diff changeset
   536
!
4886886a78b7 #isMethodRemoveChange query added
Claus Gittinger <cg@exept.de>
parents: 1147
diff changeset
   537
2610
ddcbd51810a9 +isNameSpaceCreationChange
Claus Gittinger <cg@exept.de>
parents: 2513
diff changeset
   538
isNameSpaceCreationChange
ddcbd51810a9 +isNameSpaceCreationChange
Claus Gittinger <cg@exept.de>
parents: 2513
diff changeset
   539
    ^ false
ddcbd51810a9 +isNameSpaceCreationChange
Claus Gittinger <cg@exept.de>
parents: 2513
diff changeset
   540
ddcbd51810a9 +isNameSpaceCreationChange
Claus Gittinger <cg@exept.de>
parents: 2513
diff changeset
   541
    "Created: / 24-11-2011 / 12:10:06 / cg"
ddcbd51810a9 +isNameSpaceCreationChange
Claus Gittinger <cg@exept.de>
parents: 2513
diff changeset
   542
!
ddcbd51810a9 +isNameSpaceCreationChange
Claus Gittinger <cg@exept.de>
parents: 2513
diff changeset
   543
3493
9ee153674732 category change for isXXX testers;
Claus Gittinger <cg@exept.de>
parents: 3461
diff changeset
   544
isOrContainsClassDefinitionChange
9ee153674732 category change for isXXX testers;
Claus Gittinger <cg@exept.de>
parents: 3461
diff changeset
   545
    ^ false
9ee153674732 category change for isXXX testers;
Claus Gittinger <cg@exept.de>
parents: 3461
diff changeset
   546
9ee153674732 category change for isXXX testers;
Claus Gittinger <cg@exept.de>
parents: 3461
diff changeset
   547
    "Created: / 7.2.1998 / 19:26:50 / cg"
9ee153674732 category change for isXXX testers;
Claus Gittinger <cg@exept.de>
parents: 3461
diff changeset
   548
!
9ee153674732 category change for isXXX testers;
Claus Gittinger <cg@exept.de>
parents: 3461
diff changeset
   549
2882
1d741bbd6b1e Merged from SVN
vrany
parents: 2844
diff changeset
   550
isOtherChange
1d741bbd6b1e Merged from SVN
vrany
parents: 2844
diff changeset
   551
    ^ false
1d741bbd6b1e Merged from SVN
vrany
parents: 2844
diff changeset
   552
!
1d741bbd6b1e Merged from SVN
vrany
parents: 2844
diff changeset
   553
783
90ffa6f0a86b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 778
diff changeset
   554
isPrimitiveChange
90ffa6f0a86b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 778
diff changeset
   555
    ^ false
90ffa6f0a86b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 778
diff changeset
   556
90ffa6f0a86b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 778
diff changeset
   557
!
90ffa6f0a86b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 778
diff changeset
   558
90ffa6f0a86b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 778
diff changeset
   559
isPrimitiveDefinitionsChange
90ffa6f0a86b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 778
diff changeset
   560
    ^ false
90ffa6f0a86b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 778
diff changeset
   561
90ffa6f0a86b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 778
diff changeset
   562
!
90ffa6f0a86b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 778
diff changeset
   563
90ffa6f0a86b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 778
diff changeset
   564
isPrimitiveFunctionsChange
90ffa6f0a86b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 778
diff changeset
   565
    ^ false
90ffa6f0a86b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 778
diff changeset
   566
90ffa6f0a86b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 778
diff changeset
   567
!
90ffa6f0a86b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 778
diff changeset
   568
90ffa6f0a86b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 778
diff changeset
   569
isPrimitiveVariablesChange
90ffa6f0a86b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 778
diff changeset
   570
    ^ false
90ffa6f0a86b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 778
diff changeset
   571
1868
301a5aeb8176 +isPrivateClassDefinitionChange
Claus Gittinger <cg@exept.de>
parents: 1510
diff changeset
   572
!
301a5aeb8176 +isPrivateClassDefinitionChange
Claus Gittinger <cg@exept.de>
parents: 1510
diff changeset
   573
301a5aeb8176 +isPrivateClassDefinitionChange
Claus Gittinger <cg@exept.de>
parents: 1510
diff changeset
   574
isPrivateClassDefinitionChange
301a5aeb8176 +isPrivateClassDefinitionChange
Claus Gittinger <cg@exept.de>
parents: 1510
diff changeset
   575
    ^ false
301a5aeb8176 +isPrivateClassDefinitionChange
Claus Gittinger <cg@exept.de>
parents: 1510
diff changeset
   576
301a5aeb8176 +isPrivateClassDefinitionChange
Claus Gittinger <cg@exept.de>
parents: 1510
diff changeset
   577
    "Created: / 12-10-2006 / 22:59:04 / cg"
651
20f3013cf5c0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 647
diff changeset
   578
! !
20f3013cf5c0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 647
diff changeset
   579
2618
853321d00a7e visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents: 2610
diff changeset
   580
!Change methodsFor:'visiting'!
853321d00a7e visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents: 2610
diff changeset
   581
853321d00a7e visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents: 2610
diff changeset
   582
acceptChangeVisitor:aVisitor
853321d00a7e visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents: 2610
diff changeset
   583
    ^ aVisitor visitChange:self.
853321d00a7e visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents: 2610
diff changeset
   584
853321d00a7e visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents: 2610
diff changeset
   585
    "Created: / 25-11-2011 / 17:12:05 / cg"
853321d00a7e visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents: 2610
diff changeset
   586
! !
853321d00a7e visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents: 2610
diff changeset
   587
633
bfd87dc78c08 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 378
diff changeset
   588
!Change class methodsFor:'documentation'!
235
3ebfdc6edab9 documentation
Claus Gittinger <cg@exept.de>
parents: 85
diff changeset
   589
2490
261165158ba9 changed:
Claus Gittinger <cg@exept.de>
parents: 2489
diff changeset
   590
version
4015
c5650cda65fb #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3531
diff changeset
   591
    ^ '$Header$'
c5650cda65fb #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3531
diff changeset
   592
!
c5650cda65fb #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3531
diff changeset
   593
c5650cda65fb #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3531
diff changeset
   594
version_CVS
c5650cda65fb #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3531
diff changeset
   595
    ^ '$Header$'
2185
d3a522511a17 added: #isMethodChangeForVersionMethod
fm
parents: 2167
diff changeset
   596
!
d3a522511a17 added: #isMethodChangeForVersionMethod
fm
parents: 2167
diff changeset
   597
2378
9d8435b2e196 Jan's changes
vrany
parents: 2287
diff changeset
   598
version_SVN
4015
c5650cda65fb #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3531
diff changeset
   599
    ^ '$Id$'
235
3ebfdc6edab9 documentation
Claus Gittinger <cg@exept.de>
parents: 85
diff changeset
   600
! !
3136
5521c309e826 class: Change
Claus Gittinger <cg@exept.de>
parents: 2945
diff changeset
   601