author | Patrik Svestka <patrik.svestka@gmail.com> |
Wed, 17 Feb 2021 15:24:09 +0100 | |
branch | jv |
changeset 4568 | 524471ef6575 |
parent 4384 | e28fcaaf93c7 |
permissions | -rw-r--r-- |
4384
e28fcaaf93c7
Issue #239: Fix all Smalltak/X source files to be in unicode (UTF8 without BOM) and prefixed by "{ Encoding: utf8 }" when any unicode character is present
Patrik Svestka <patrik.svestka@gmail.com>
parents:
3219
diff
changeset
|
1 |
"{ Encoding: utf8 }" |
e28fcaaf93c7
Issue #239: Fix all Smalltak/X source files to be in unicode (UTF8 without BOM) and prefixed by "{ Encoding: utf8 }" when any unicode character is present
Patrik Svestka <patrik.svestka@gmail.com>
parents:
3219
diff
changeset
|
2 |
|
2874 | 3 |
" |
4 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
5 |
All Rights Reserved |
|
6 |
||
7 |
This software is furnished under a license and may be used |
|
8 |
only in accordance with the terms of that license and with the |
|
9 |
inclusion of the above copyright notice. This software may not |
|
10 |
be provided or otherwise made available to, or used by, any |
|
11 |
other person. No title to or ownership of the software is |
|
12 |
hereby transferred. |
|
13 |
" |
|
14 |
"{ Package: 'stx:libbasic3' }" |
|
15 |
||
16 |
OtherChange subclass:#InfoChange |
|
17 |
instanceVariableNames:'data' |
|
18 |
classVariableNames:'' |
|
19 |
poolDictionaries:'' |
|
20 |
category:'System-Changes' |
|
21 |
! |
|
22 |
||
23 |
!InfoChange class methodsFor:'documentation'! |
|
24 |
||
25 |
copyright |
|
26 |
" |
|
27 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
28 |
All Rights Reserved |
|
29 |
||
30 |
This software is furnished under a license and may be used |
|
31 |
only in accordance with the terms of that license and with the |
|
32 |
inclusion of the above copyright notice. This software may not |
|
33 |
be provided or otherwise made available to, or used by, any |
|
34 |
other person. No title to or ownership of the software is |
|
35 |
hereby transferred. |
|
36 |
" |
|
37 |
! |
|
38 |
||
39 |
documentation |
|
40 |
" |
|
41 |
InfoChanges represent individual 'info records' written |
|
42 |
in system changefile, such as 'snapshot was written' |
|
43 |
'class/package was checked in' etc. |
|
44 |
||
45 |
[author:] |
|
46 |
Jan Vrany <jan.vrany@fit.cvut.cz> |
|
47 |
||
48 |
[instance variables:] |
|
49 |
||
50 |
[class variables:] |
|
51 |
||
52 |
[see also:] |
|
53 |
||
54 |
" |
|
55 |
! ! |
|
56 |
||
3158
f8c56a311307
Merged 87750af738dc and 72ca7e81fbbf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
57 |
|
2874 | 58 |
!InfoChange class methodsFor:'instance creation'! |
59 |
||
60 |
type: type data: data timestamp: timestamp |
|
61 |
||
62 |
^self new |
|
63 |
type: type; |
|
64 |
data: data; |
|
65 |
timeStamp: timestamp |
|
66 |
||
67 |
"Created: / 18-05-2012 / 16:59:43 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
68 |
! ! |
|
69 |
||
3158
f8c56a311307
Merged 87750af738dc and 72ca7e81fbbf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
70 |
|
2874 | 71 |
!InfoChange methodsFor:'accessing'! |
72 |
||
73 |
data |
|
74 |
^ data |
|
75 |
! |
|
76 |
||
77 |
data:something |
|
78 |
data := something. |
|
79 |
! ! |
|
80 |
||
3158
f8c56a311307
Merged 87750af738dc and 72ca7e81fbbf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
81 |
|
2874 | 82 |
!InfoChange methodsFor:'applying'! |
83 |
||
84 |
apply |
|
85 |
"Intentionally left blank" |
|
86 |
||
87 |
"Created: / 18-05-2012 / 17:00:39 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
88 |
! ! |
|
89 |
||
3158
f8c56a311307
Merged 87750af738dc and 72ca7e81fbbf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
90 |
|
2874 | 91 |
!InfoChange methodsFor:'printing & storing'! |
92 |
||
93 |
printOn:aStream |
|
94 |
||
3180 | 95 |
type = 'snapshot' ifTrue:[ |
96 |
aStream nextPutAll:'---- snapshot '; space; nextPutAll: data. |
|
97 |
timeOfChangeIfKnown notNil ifTrue:[ timeOfChangeIfKnown printOn: aStream ]. |
|
98 |
aStream nextPutAll:' ---- '. |
|
2874 | 99 |
^self |
100 |
]. |
|
3180 | 101 |
type = 'start' ifTrue:[ |
2874 | 102 |
aStream nextPutAll:'System start'. |
103 |
^self |
|
104 |
]. |
|
3180 | 105 |
type = 'rake' ifTrue:[ |
2874 | 106 |
aStream nextPutAll:'rake'; space; nextPutAll: data. |
107 |
^self |
|
108 |
]. |
|
109 |
||
3180 | 110 |
"/ default |
111 |
aStream nextPutAll:'---- '; nextPutAll:type; space; nextPutAll: data. |
|
112 |
||
2874 | 113 |
"Created: / 18-05-2012 / 17:02:08 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
114 |
! ! |
|
115 |
||
3158
f8c56a311307
Merged 87750af738dc and 72ca7e81fbbf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
116 |
|
2874 | 117 |
!InfoChange class methodsFor:'documentation'! |
118 |
||
3180 | 119 |
version |
120 |
^ '$Header: /cvs/stx/stx/libbasic3/InfoChange.st,v 1.2 2013-04-02 19:20:25 cg Exp $' |
|
121 |
! |
|
122 |
||
123 |
version_CVS |
|
124 |
^ '$Header: /cvs/stx/stx/libbasic3/InfoChange.st,v 1.2 2013-04-02 19:20:25 cg Exp $' |
|
125 |
! |
|
126 |
||
3121
19723298dd2c
Bugfix: reading of Java class extensions methods.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3069
diff
changeset
|
127 |
version_HG |
19723298dd2c
Bugfix: reading of Java class extensions methods.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3069
diff
changeset
|
128 |
|
19723298dd2c
Bugfix: reading of Java class extensions methods.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3069
diff
changeset
|
129 |
^ '$Changeset: <not expanded> $' |
19723298dd2c
Bugfix: reading of Java class extensions methods.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3069
diff
changeset
|
130 |
! |
19723298dd2c
Bugfix: reading of Java class extensions methods.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3069
diff
changeset
|
131 |
|
2874 | 132 |
version_SVN |
4384
e28fcaaf93c7
Issue #239: Fix all Smalltak/X source files to be in unicode (UTF8 without BOM) and prefixed by "{ Encoding: utf8 }" when any unicode character is present
Patrik Svestka <patrik.svestka@gmail.com>
parents:
3219
diff
changeset
|
133 |
^ '§Id:: InfoChange.st 1942 2012-07-27 14:53:23Z vranyj1 §' |
2874 | 134 |
! ! |
3180 | 135 |