-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
423 changed files
with
1,447 additions
and
947 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
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
src/FileSystem-Git.package/GitFSCK.class/instance/validateHead.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,7 @@ | ||
public-validating | ||
validateHead | ||
self validateHeadFile. | ||
[ repository unitOfWork head ifNotNilDo: [ :head | self visit: head ] ] | ||
[ repository unitOfWork head ifNotNil: [ :head | self visit: head ] ] | ||
on: GitError | ||
do: [ :error | | ||
self collectError: error for: repository ] |
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
...em-Git.package/GitPackedObjectStore.class/instance/headerOfPackedObjectNamed.ifAbsent..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,5 +1,5 @@ | ||
private | ||
headerOfPackedObjectNamed: aHexHash ifAbsent: aBlock | ||
self packsDo: [ :pack | | ||
(pack headerOfObjectNamed: aHexHash) ifNotNilDo: [:header | ^ header]]. | ||
(pack headerOfObjectNamed: aHexHash) ifNotNil: [:header | ^ header]]. | ||
^ aBlock value |
2 changes: 1 addition & 1 deletion
2
...FileSystem-Git.package/GitPackedObjectStore.class/instance/packedObjectNamed.ifAbsent..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,6 +1,6 @@ | ||
private | ||
packedObjectNamed: aHexHash ifAbsent: aBlock | ||
self packsDo: [ :pack | | ||
(pack objectNamed: aHexHash) ifNotNilDo: | ||
(pack objectNamed: aHexHash) ifNotNil: | ||
[ :object | ^ object object ] ]. | ||
^ aBlock 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
2 changes: 1 addition & 1 deletion
2
src/FileSystem-Git.package/GitUnitOfWork.class/instance/tagNamed.ifAbsent..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,5 +1,5 @@ | ||
branches and tags | ||
tagNamed: aString ifAbsent: aBlock | ||
(self resolveRef: 'refs/tags/', aString) ifNotNilDo: [ :tagRef| | ||
(self resolveRef: 'refs/tags/', aString) ifNotNil: [ :tagRef| | ||
^ self objectNamed: tagRef ifAbsent: aBlock ]. | ||
^ aBlock 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
SquotTrackedObjectMetadata { | ||
#objectClassName : #PackageInfo, | ||
#slotOverrides : { }, | ||
#objectsReplacedByNames : true, | ||
#serializer : #SquotCypressCodeSerializer | ||
} |
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
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,6 +1,6 @@ | ||
SquotTrackedObjectMetadata { | ||
#objectClassName : #PackageInfo, | ||
#slotOverrides : { }, | ||
#objectsReplacedByNames : true, | ||
#slotOverrides : IdentityDictionary { }, | ||
#serializer : #SquotCypressCodeSerializer | ||
} |
3 changes: 3 additions & 0 deletions
3
src/Squot.package/BoxedFloat64.extension/class/squotMirror.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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
*Squot-trackable | ||
squotMirror | ||
^ SquotOpaqueValueMirror new |
5 changes: 5 additions & 0 deletions
5
src/Squot.package/BoxedFloat64.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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"class" : { | ||
"squotMirror" : "jr 7/30/2021 21:17" }, | ||
"instance" : { | ||
} } |
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,2 @@ | ||
{ | ||
"name" : "BoxedFloat64" } |
7 changes: 7 additions & 0 deletions
7
src/Squot.package/BrokenPromise.extension/instance/ifError.ifNotError..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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
*Squot-Tools | ||
ifError: errorBlock ifNotError: rejectedBlock | ||
| reason | | ||
reason := self reason. | ||
^ (reason isKindOf: Error) | ||
ifTrue: [errorBlock cull: reason] | ||
ifFalse: [rejectedBlock cull: reason] |
7 changes: 1 addition & 6 deletions
7
src/Squot.package/BrokenPromise.extension/instance/ifNotError..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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
*Squot-Tools | ||
reason | ||
| nested | | ||
nested := promise. | ||
[(nested isKindOf: Promise) and: [nested isRejected]] whileTrue: [nested := nested error]. | ||
^ nested |
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
src/Squot.package/ClassDescription.extension/instance/captureWithSquot..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,5 +1,5 @@ | ||
*Squot-trackable | ||
captureWithSquot: aCapturer | ||
self flag: #deprecated. "Ask the mirror instead." | ||
self deprecated: 'Ask the mirror instead'. | ||
self isMeta ifTrue: [^ super captureWithSquot: aCapturer]. | ||
^ aCapturer shadowOf: self ifAbsentPut: [self captureWithSquot] |
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: 3 additions & 0 deletions
3
src/Squot.package/GenericDiff.extension/instance/addReferenceDiff..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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
*Squot-diff-comparing | ||
addReferenceDiff: aSquotReferenceDiff | ||
"Ignore since I compute my differences myself." |
3 changes: 3 additions & 0 deletions
3
src/Squot.package/GenericDiff.extension/instance/initializeFrom.to..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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
*Squot-diff-comparing | ||
initializeFrom: aSquotBitsObjectShadow to: aSquotBitsObjectShadow2 | ||
"Already done when constructed." |
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
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
7 changes: 0 additions & 7 deletions
7
src/Squot.package/SquotBitsMirror.class/instance/capture.with..st
This file was deleted.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
src/Squot.package/SquotBitsMirror.class/instance/initializeSnapshot.of.with..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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
capturing | ||
initializeSnapshot: aSquotObjectShadow of: anObject with: aSquotObjectCapturer | ||
aSquotObjectShadow copyBitsFrom: anObject. |
4 changes: 4 additions & 0 deletions
4
src/Squot.package/SquotBitsMirror.class/instance/is.comparableTo..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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
comparing | ||
is: anObject comparableTo: anotherObject | ||
self assert: anObject class isBits. | ||
^ anObject isMemberOf: anotherObject class |
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
src/Squot.package/SquotBitsObjectShadow.class/class/squotMirror.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 @@ | ||
reflecting | ||
squotMirror | ||
^ SquotBitsMirror new | ||
^ SquotBitsShadowMirror new |
5 changes: 5 additions & 0 deletions
5
src/Squot.package/SquotBitsObjectShadow.class/instance/addVariablePartSlot..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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
accessing | ||
addVariablePartSlot: aVariablePartSlot | ||
| primitiveValue | | ||
primitiveValue := aVariablePartSlot value. | ||
value basicAt: aVariablePartSlot index put: primitiveValue value. |
3 changes: 3 additions & 0 deletions
3
src/Squot.package/SquotBitsObjectShadow.class/instance/isComparableTo..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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
comparing | ||
isComparableTo: aBitsObjectShadow | ||
^ aBitsObjectShadow value isMemberOf: value class |
15 changes: 0 additions & 15 deletions
15
src/Squot.package/SquotBitsObjectShadow.class/instance/materializeAs.with..st
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
src/Squot.package/SquotBitsObjectShadow.class/instance/references.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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
reflection | ||
references | ||
^ (1 to: (thisContext objectSize: value)) | ||
collect: [:each | SquotIndexableField index: each] |
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
5 changes: 4 additions & 1 deletion
5
src/Squot.package/SquotBitsObjectShadow.class/instance/squotDiffAgainst..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,6 @@ | ||
Squot-shadow-diffing | ||
squotDiffAgainst: otherShadow | ||
^ (otherShadow ifNil: [value class new: 0]) squotWith: nil diffFromSequence: value | ||
^ GenericDiff squotDiffClass new | ||
file1: value; | ||
file2: (otherShadow value ifNil: [value class new: 0]); | ||
yourself |
10 changes: 5 additions & 5 deletions
10
src/Squot.package/SquotBitsObjectShadow.class/instance/squotDiffAgainst.with..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,7 @@ | ||
Squot-shadow-diffing | ||
squotDiffAgainst: otherShadow with: aDiffBuilder | ||
^ (value species = otherShadow value species) | ||
ifTrue: [aDiffBuilder diffFrom: self to: otherShadow | ||
ifNew: [otherShadow squotWith: aDiffBuilder diffFromSequence: value] | ||
andInitialize: []] | ||
ifFalse: [aDiffBuilder replacing: self with: otherShadow] | ||
self deprecated: 'See SquotBitsShadowMirror newDiffFrom:to:'. | ||
^ aDiffBuilder | ||
diffFrom: self to: otherShadow | ||
ifNew: [otherShadow squotWith: aDiffBuilder diffFromSequence: value] | ||
andInitialize: [] |
1 change: 1 addition & 0 deletions
1
src/Squot.package/SquotBitsObjectShadow.class/instance/squotWith.diffFromSequence..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
3 changes: 3 additions & 0 deletions
3
src/Squot.package/SquotBitsObjectShadow.class/instance/variablePartSlotWithIndex..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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
variablePartSlotWithIndex: anInteger | ||
^ (value basicAt: anInteger) captureWithSquot |
Oops, something went wrong.