forked from svenvc/ston
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from GsDevKit/gemstone_dev
Issue #6 merge: v0.9.4
- Loading branch information
Showing
260 changed files
with
1,425 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[._]*.s[a-w][a-z] | ||
[._]s[a-w][a-z] | ||
*.un~ | ||
Session.vim | ||
.netrwhist | ||
*~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
"class" : { | ||
}, | ||
"instance" : { | ||
"baseline:" : "dkh 11/21/2014 21:27" } } | ||
"baseline:" : "dkh 06/26/2015 15:33" } } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
...sitory/STON-Core.package/CharacterCollection.extension/instance/stonProcessSubObjects..st
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
repository/STON-Core.package/CharacterCollection.extension/methodProperties.json
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
repository/STON-Core.package/Date.extension/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"class" : { | ||
"fromSton:" : "SvenVanCaekenberghe 2/12/2012 15:17" }, | ||
}, | ||
"instance" : { | ||
"stonContainSubObjects" : "SvenVanCaekenberghe 11/29/2012 16:26", | ||
"stonOn:" : "SvenVanCaekenberghe 2/12/2012 20:03" } } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
repository/STON-Core.package/DoubleByteString.extension/instance/decodeFromUTF8.st
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
repository/STON-Core.package/DoubleByteString.extension/methodProperties.json
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
repository/STON-Core.package/DoubleByteString.extension/properties.json
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
convencience | ||
convenience | ||
fromStream: readStream | ||
^ (self reader on: readStream) next |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
convencience | ||
convenience | ||
fromString: string | ||
^ self fromStream: string readStream | ||
^ self fromStream: string readStream |
2 changes: 1 addition & 1 deletion
2
repository/STON-Core.package/STON.class/class/put.asJsonOnStream..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
convencience | ||
convenience | ||
put: object asJsonOnStream: stream | ||
(self jsonWriter on: stream) nextPut: object |
2 changes: 1 addition & 1 deletion
2
repository/STON-Core.package/STON.class/class/put.asJsonOnStreamPretty..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
convencience | ||
convenience | ||
put: object onStream: stream | ||
(self writer on: stream) nextPut: object |
2 changes: 1 addition & 1 deletion
2
repository/STON-Core.package/STON.class/class/put.onStreamPretty..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
convencience | ||
convenience | ||
put: object onStreamPretty: stream | ||
(self writer on: stream) | ||
prettyPrint: true; | ||
|
5 changes: 2 additions & 3 deletions
5
repository/STON-Core.package/STON.class/class/toJsonString..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
convencience | ||
convenience | ||
toJsonString: object | ||
^ String streamContents: [ :stream | | ||
self put: object asJsonOnStream: stream ] | ||
^ String streamContents: [ :stream | self put: object asJsonOnStream: stream ] |
6 changes: 3 additions & 3 deletions
6
repository/STON-Core.package/STON.class/class/toJsonStringPretty..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
convencience | ||
convenience | ||
toJsonStringPretty: object | ||
^ String streamContents: [ :stream | | ||
self put: object asJsonOnStreamPretty: stream ] | ||
^ String | ||
streamContents: [ :stream | self put: object asJsonOnStreamPretty: stream ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
convencience | ||
convenience | ||
toString: object | ||
^ String streamContents: [ :stream | | ||
self put: object onStream: stream ] | ||
^ String streamContents: [ :stream | self put: object onStream: stream ] |
5 changes: 2 additions & 3 deletions
5
repository/STON-Core.package/STON.class/class/toStringPretty..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
convencience | ||
convenience | ||
toStringPretty: object | ||
^ String streamContents: [ :stream | | ||
self put: object onStreamPretty: stream ] | ||
^ String streamContents: [ :stream | self put: object onStreamPretty: stream ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 18 additions & 18 deletions
36
repository/STON-Core.package/STONReader.class/instance/parseCharacter.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
parsing-internal | ||
parseCharacter | ||
| char | | ||
(char := readStream next) = $\ | ||
ifFalse: [ ^ char ]. | ||
(#( $' $" $/ $\) includes: (char := readStream next)) | ||
ifTrue: [ ^ char ]. | ||
char = $b | ||
ifTrue: [ ^ Character backspace ]. | ||
char = $f | ||
ifTrue: [ ^ Character newPage ]. | ||
char = $n | ||
ifTrue: [ ^ Character lf ]. | ||
char = $r | ||
ifTrue: [ ^ Character cr ]. | ||
char = $t | ||
ifTrue: [ ^ Character tab ]. | ||
char = $u | ||
ifTrue: [ ^ self parseCharacterHex ]. | ||
self error: 'invalid escape character \' , (String with: char) | ||
| char | | ||
(char := readStream next) = $\ | ||
ifFalse: [ ^ char ]. | ||
(#($' $" $/ $\) includes: (char := readStream next)) | ||
ifTrue: [ ^ char ]. | ||
char = $b | ||
ifTrue: [ ^ Character backspace ]. | ||
char = $f | ||
ifTrue: [ ^ Character newPage ]. | ||
char = $n | ||
ifTrue: [ ^ Character lf ]. | ||
char = $r | ||
ifTrue: [ ^ Character cr ]. | ||
char = $t | ||
ifTrue: [ ^ Character tab ]. | ||
char = $u | ||
ifTrue: [ ^ self parseCharacterHex ]. | ||
self error: 'invalid escape character \' , (String with: char) |
9 changes: 4 additions & 5 deletions
9
repository/STON-Core.package/STONReader.class/instance/parseCharacterHex.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
parsing-internal | ||
parseCharacterHex | ||
| value | | ||
value := self parseCharacterHexDigit. | ||
3 timesRepeat: [ | ||
value := (value << 4) + self parseCharacterHexDigit ]. | ||
^ Character codePoint: value | ||
| value | | ||
value := self parseCharacterHexDigit. | ||
3 timesRepeat: [ value := (value << 4) + self parseCharacterHexDigit ]. | ||
^ Character codePoint: value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
repository/STON-Core.package/STONWriter.class/instance/encodeString..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.