From a467e56c8c3fcfe9e4c1a83542138b7867893931 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 20 Dec 2020 15:50:36 +0000 Subject: [PATCH 001/254] Added GsContext>>namedTempAt: for compatibility; also optimized thisContext implementation --- .../Array.extension/methodProperties.json | 5 ++ .../Behavior.extension/methodProperties.json | 6 ++ .../methodProperties.json | 5 ++ .../ByteArray.extension/methodProperties.json | 5 ++ .../Character.extension/methodProperties.json | 5 ++ .../methodProperties.json | 21 +++++ .../methodProperties.json | 7 ++ .../Date.extension/methodProperties.json | 5 ++ .../methodProperties.json | 5 ++ .../methodProperties.json | 5 ++ .../Duration.extension/methodProperties.json | 6 ++ .../Exception.extension/methodProperties.json | 7 ++ .../methodProperties.json | 8 ++ .../instance/thisContext.st | 2 +- .../methodProperties.json | 49 ++++++++++++ .../methodProperties.json | 11 +++ .../class/codecs.st | 3 + .../methodProperties.json | 13 ++++ .../GRPackage.extension/methodProperties.json | 5 ++ .../methodProperties.json | 14 ++++ .../GRUtf8GemStoneCodec.class/class/codecs.st | 3 + .../methodProperties.json | 14 ++++ .../GsContext.class/instance/namedTempAt..st | 3 + .../GsContext.class/methodProperties.json | 16 ++++ .../Interval.extension/methodProperties.json | 5 ++ .../methodProperties.json | 10 +++ .../Number.extension/methodProperties.json | 5 ++ .../Object.extension/methodProperties.json | 7 ++ .../methodProperties.json | 5 ++ .../methodProperties.json | 5 ++ .../methodProperties.json | 6 ++ .../String.extension/methodProperties.json | 5 ++ .../Symbol.extension/methodProperties.json | 5 ++ .../Symbol.extension/properties.json | 3 +- .../methodProperties.json | 7 ++ .../methodProperties.json | 7 ++ .../methodProperties.json | 7 ++ .../methodProperties.json | 6 ++ .../methodProperties.json | 5 ++ .../methodProperties.json | 6 ++ .../monticello.meta/version | 1 + .../Grease-Tests-Core.package/.filetree | 5 +- .../methodProperties.json | 13 ++++ .../properties.json | 19 ++--- .../methodProperties.json | 17 ++++ .../properties.json | 19 +++-- .../GRArrayTest.class/methodProperties.json | 11 +++ .../GRArrayTest.class/properties.json | 19 +++-- .../GRBagTest.class/methodProperties.json | 8 ++ .../GRBagTest.class/properties.json | 19 +++-- .../GRCodecTest.class/methodProperties.json | 18 +++++ .../GRCodecTest.class/properties.json | 19 +++-- .../methodProperties.json | 24 ++++++ .../GRCollectionTest.class/properties.json | 19 +++-- .../methodProperties.json | 9 +++ .../properties.json | 19 ++--- .../methodProperties.json | 20 +++++ .../GRDelayedSendTest.class/properties.json | 19 +++-- .../methodProperties.json | 7 ++ .../GRDictionaryTest.class/properties.json | 19 +++-- .../methodProperties.json | 13 ++++ .../GRDurationTest.class/properties.json | 19 +++-- .../methodProperties.json | 9 +++ .../properties.json | 19 +++-- .../GRErrorStub.class/methodProperties.json | 6 ++ .../GRErrorStub.class/properties.json | 19 ++--- .../methodProperties.json | 20 +++++ .../GRExceptionTest.class/properties.json | 19 +++-- .../methodProperties.json | 7 ++ .../properties.json | 19 +++-- .../methodProperties.json | 16 ++++ .../GRIntervalTest.class/properties.json | 19 +++-- .../methodProperties.json | 9 +++ .../properties.json | 19 +++-- .../methodProperties.json | 7 ++ .../GRNotificationStub.class/properties.json | 19 ++--- .../methodProperties.json | 15 ++++ .../properties.json | 19 +++-- .../GRNumberTest.class/methodProperties.json | 10 +++ .../GRNumberTest.class/properties.json | 19 +++-- .../GRObjectStub.class/methodProperties.json | 6 ++ .../GRObjectStub.class/properties.json | 19 ++--- .../GRObjectTest.class/methodProperties.json | 7 ++ .../GRObjectTest.class/properties.json | 19 +++-- .../methodProperties.json | 11 +++ .../properties.json | 19 +++-- .../methodProperties.json | 5 ++ .../properties.json | 19 +++-- .../methodProperties.json | 10 +++ .../properties.json | 19 +++-- .../GRPackage.extension/methodProperties.json | 5 ++ .../GRPackage.extension/properties.json | 3 +- .../GRPackageTest.class/methodProperties.json | 12 +++ .../GRPackageTest.class/properties.json | 19 ++--- .../instance/testThisContext.st | 9 --- .../methodProperties.json | 78 +++++++++++++++++++ .../GRPlatformTest.class/properties.json | 19 +++-- .../GRPrinterTest.class/methodProperties.json | 47 +++++++++++ .../GRPrinterTest.class/properties.json | 19 +++-- .../methodProperties.json | 5 ++ .../properties.json | 19 +++-- .../GRSetTest.class/methodProperties.json | 8 ++ .../GRSetTest.class/properties.json | 19 +++-- .../methodProperties.json | 5 ++ .../properties.json | 19 +++-- .../methodProperties.json | 32 ++++++++ .../properties.json | 19 ++--- .../methodProperties.json | 15 ++++ .../properties.json | 19 ++--- .../methodProperties.json | 11 +++ .../properties.json | 19 +++-- .../GRStringTest.class/methodProperties.json | 35 +++++++++ .../GRStringTest.class/properties.json | 19 +++-- .../GRSymbolTest.class/methodProperties.json | 16 ++++ .../GRSymbolTest.class/properties.json | 19 +++-- .../methodProperties.json | 5 ++ .../properties.json | 19 +++-- .../methodProperties.json | 5 ++ .../properties.json | 19 +++-- .../methodProperties.json | 13 ++++ .../GRUtf8CodecTest.class/properties.json | 19 +++-- .../GRVersionTest.class/methodProperties.json | 12 +++ .../GRVersionTest.class/properties.json | 19 +++-- .../monticello.meta/version | 1 + .../Grease-Tests-Core.package/properties.json | 3 +- 125 files changed, 1324 insertions(+), 338 deletions(-) create mode 100644 repository/Grease-GemStone-Core.package/Array.extension/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/Behavior.extension/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/BinaryFloat.extension/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/ByteArray.extension/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/Character.extension/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/CharacterCollection.extension/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/Collection.extension/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/Date.extension/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/Dictionary.extension/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/DoubleByteString.extension/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/Duration.extension/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/Exception.extension/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/GRDynamicVariable.class/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/GRGemStoneRandomProvider.class/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/GRLatin1GemStoneCodec.class/class/codecs.st create mode 100644 repository/Grease-GemStone-Core.package/GRLatin1GemStoneCodec.class/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/GRPackage.extension/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/GRTextOrBinaryCodecStream.class/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/GRUtf8GemStoneCodec.class/class/codecs.st create mode 100644 repository/Grease-GemStone-Core.package/GRUtf8GemStoneCodec.class/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/GsContext.class/instance/namedTempAt..st create mode 100644 repository/Grease-GemStone-Core.package/GsContext.class/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/Interval.extension/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/MessageSend.extension/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/Number.extension/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/Object.extension/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/PackageInfo.extension/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/PositionableStream.extension/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/SequenceableCollection.extension/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/String.extension/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/Symbol.extension/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/SystemAbortTransaction.class/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/SystemBeginTransaction.class/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/SystemCommitTransaction.class/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/SystemTransactionNotification.class/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/UnorderedCollection.extension/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/WriteStream.extension/methodProperties.json create mode 100644 repository/Grease-GemStone-Core.package/monticello.meta/version create mode 100644 repository/Grease-Tests-Core.package/GRAbstractDictionaryTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRAbstractSequenceableCollectionTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRArrayTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRBagTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRCodecTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRCollectionTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRCountingStreamTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRDelayedSendTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRDictionaryTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRDurationTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRDynamicVariableTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRErrorStub.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRExceptionTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRIdentityDictionaryTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRIntervalTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRNotificationBasedDynamicVariableTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRNotificationStub.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRNullCodecStreamTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRNumberTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRObjectStub.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRObjectTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GROrderedCollectionTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GROrderedMultiMap2Test.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GROrderedMultiMapTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRPackage.extension/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRPackageTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testThisContext.st create mode 100644 repository/Grease-Tests-Core.package/GRPlatformTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRPrinterTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRReducedConflictDictionaryTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRSetTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRSmallDictionary2Test.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRSmallDictionaryTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRSmallOrderedSetTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRSortedCollectionTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRStringTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRSymbolTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRTestDynamicVariable.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRTestNotificationBasedDynamicVariable.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRUtf8CodecTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRVersionTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/monticello.meta/version diff --git a/repository/Grease-GemStone-Core.package/Array.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/Array.extension/methodProperties.json new file mode 100644 index 00000000..6142915c --- /dev/null +++ b/repository/Grease-GemStone-Core.package/Array.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "beMutable" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/Behavior.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/Behavior.extension/methodProperties.json new file mode 100644 index 00000000..63647c72 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/Behavior.extension/methodProperties.json @@ -0,0 +1,6 @@ +{ + "class" : { + }, + "instance" : { + "fullName" : " 10/11/2020 07:23:50", + "removeSelectorSilently:" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/BinaryFloat.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/BinaryFloat.extension/methodProperties.json new file mode 100644 index 00000000..e505f664 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/BinaryFloat.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "greaseString" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/ByteArray.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/ByteArray.extension/methodProperties.json new file mode 100644 index 00000000..e505f664 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/ByteArray.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "greaseString" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/Character.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/Character.extension/methodProperties.json new file mode 100644 index 00000000..49bbc162 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/Character.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "greaseInteger" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/CharacterCollection.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/CharacterCollection.extension/methodProperties.json new file mode 100644 index 00000000..f486ec75 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/CharacterCollection.extension/methodProperties.json @@ -0,0 +1,21 @@ +{ + "class" : { + }, + "instance" : { + "excerpt:" : " 10/11/2020 07:23:50", + "excerpt:radius:" : " 10/11/2020 07:23:50", + "excerpt:radius:ellipsis:" : " 10/11/2020 07:23:50", + "greaseInteger" : " 10/11/2020 07:23:50", + "pluralize" : " 10/11/2020 07:23:50", + "print:on:" : " 10/11/2020 07:23:50", + "substrings:" : " 10/11/2020 07:23:50", + "trimBoth" : " 10/11/2020 07:23:50", + "trimBoth:" : " 10/11/2020 07:23:50", + "trimLeft" : " 10/11/2020 07:23:50", + "trimLeft:" : " 10/11/2020 07:23:50", + "trimLeft:right:" : " 10/11/2020 07:23:50", + "trimRight" : " 10/11/2020 07:23:50", + "trimRight:" : " 10/11/2020 07:23:50", + "truncate" : " 10/11/2020 07:23:50", + "truncate:" : " 10/11/2020 07:23:50", + "truncate:ellipsis:" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/Collection.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/Collection.extension/methodProperties.json new file mode 100644 index 00000000..d5d64984 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/Collection.extension/methodProperties.json @@ -0,0 +1,7 @@ +{ + "class" : { + }, + "instance" : { + "any" : " 10/11/2020 07:23:50", + "sorted" : " 10/11/2020 07:23:50", + "sorted:" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/Date.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/Date.extension/methodProperties.json new file mode 100644 index 00000000..51458723 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/Date.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + "daysInMonthNumber:forYear:" : " 10/11/2020 07:23:50" }, + "instance" : { + } } diff --git a/repository/Grease-GemStone-Core.package/Dictionary.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/Dictionary.extension/methodProperties.json new file mode 100644 index 00000000..59c1f401 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/Dictionary.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "copyFrom:" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/DoubleByteString.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/DoubleByteString.extension/methodProperties.json new file mode 100644 index 00000000..e505f664 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/DoubleByteString.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "greaseString" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/Duration.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/Duration.extension/methodProperties.json new file mode 100644 index 00000000..135f996d --- /dev/null +++ b/repository/Grease-GemStone-Core.package/Duration.extension/methodProperties.json @@ -0,0 +1,6 @@ +{ + "class" : { + "milliseconds:" : " 10/11/2020 07:23:50" }, + "instance" : { + "asMilliseconds" : " 10/11/2020 07:23:50", + "milliseconds" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/Exception.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/Exception.extension/methodProperties.json new file mode 100644 index 00000000..0bec5698 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/Exception.extension/methodProperties.json @@ -0,0 +1,7 @@ +{ + "class" : { + "raiseSignal" : " 10/11/2020 07:23:50", + "raiseSignal:" : " 10/11/2020 07:23:50" }, + "instance" : { + "raiseSignal" : " 10/11/2020 07:23:50", + "raiseSignal:" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/GRDynamicVariable.class/methodProperties.json b/repository/Grease-GemStone-Core.package/GRDynamicVariable.class/methodProperties.json new file mode 100644 index 00000000..03da5426 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/GRDynamicVariable.class/methodProperties.json @@ -0,0 +1,8 @@ +{ + "class" : { + "default" : " 10/11/2020 07:23:50", + "defaultValue" : " 10/11/2020 07:23:50", + "use:during:" : " 10/11/2020 07:23:50", + "value" : " 10/11/2020 07:23:50" }, + "instance" : { + } } diff --git a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/thisContext.st b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/thisContext.st index 44dc34ca..50e2a5b0 100644 --- a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/thisContext.st +++ b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/thisContext.st @@ -1,3 +1,3 @@ *grease-gemstone-core thisContext - ^ (GsContext fromLevel: 1) sender sender \ No newline at end of file + ^ GsContext fromLevel: 3 \ No newline at end of file diff --git a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/methodProperties.json b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/methodProperties.json new file mode 100644 index 00000000..b777857a --- /dev/null +++ b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/methodProperties.json @@ -0,0 +1,49 @@ +{ + "class" : { + "initialize" : " 10/11/2020 07:23:50", + "unload" : " 10/11/2020 07:23:50" }, + "instance" : { + "addToShutDownList:" : " 10/11/2020 07:23:50", + "addToStartUpList:" : " 10/11/2020 07:23:50", + "asMethodReturningByteArray:named:" : " 10/11/2020 07:23:50", + "asMethodReturningString:named:" : " 10/11/2020 07:23:50", + "base64Decode:" : " 10/11/2020 07:23:50", + "compile:into:classified:" : " 10/11/2020 07:23:50", + "contentsOfFile:binary:" : " 10/11/2020 07:23:50", + "defaultDispatcherName" : " 10/11/2020 07:23:50", + "deprecationExceptionSet" : " 10/11/2020 07:23:50", + "directoriesIn:" : " 10/11/2020 07:23:50", + "doAbortTransaction" : " 10/11/2020 07:23:50", + "doBeginTransaction" : " 10/11/2020 07:23:50", + "doCommitTransaction" : " 10/11/2020 07:23:50", + "doTransaction:" : " 10/11/2020 07:23:50", + "ensureExistenceOfFolder:" : " 10/11/2020 07:23:50", + "fileExists:" : " 10/11/2020 07:23:50", + "fileStreamOn:do:binary:" : " 10/11/2020 07:23:50", + "filesIn:" : " 10/11/2020 07:23:50", + "isProcessTerminated:" : " 10/11/2020 07:23:50", + "label" : " 10/11/2020 07:23:50", + "localNameOf:" : " 10/11/2020 07:23:50", + "logError:title:" : " 10/11/2020 07:23:50", + "logError:title:shouldCommit:" : " 10/11/2020 07:23:50", + "newRandom" : " 10/11/2020 07:23:50", + "newline" : " 10/11/2020 07:23:50", + "openDebuggerOn:" : " 10/11/2020 07:23:50", + "pathSeparator" : " 10/11/2020 07:23:50", + "readWriteByteStream" : " 10/11/2020 07:23:50", + "readWriteCharacterStream" : " 10/11/2020 07:23:50", + "reducedConflictDictionary" : " 10/11/2020 07:23:50", + "removeFromShutDownList:" : " 10/11/2020 07:23:50", + "removeFromStartUpList:" : " 10/11/2020 07:23:50", + "removeSelector:from:" : " 10/11/2020 07:23:50", + "saveLogEntry:shouldCommit:" : " 10/11/2020 07:23:50", + "secureHashFor:" : " 10/11/2020 07:23:50", + "semaphoreClass" : " 10/11/2020 07:23:50", + "smtpServer" : " 10/11/2020 07:23:50", + "stackDepth" : " 10/11/2020 07:23:50", + "terminateProcess:" : " 10/11/2020 07:23:50", + "thisContext" : "JohanBrichau 12/20/2020 07:48", + "transactionMutex" : " 10/11/2020 07:23:50", + "weakDictionaryOfSize:" : " 10/11/2020 07:23:50", + "write:toFile:inFolder:" : " 10/11/2020 07:23:50", + "writeCharacterStreamOn:" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/GRGemStoneRandomProvider.class/methodProperties.json b/repository/Grease-GemStone-Core.package/GRGemStoneRandomProvider.class/methodProperties.json new file mode 100644 index 00000000..0d1cce31 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/GRGemStoneRandomProvider.class/methodProperties.json @@ -0,0 +1,11 @@ +{ + "class" : { + "generator" : " 10/11/2020 07:23:50", + "initialize" : " 10/11/2020 07:23:50", + "mutex" : " 10/11/2020 07:23:50", + "nextInt:" : " 10/11/2020 07:23:50", + "randomClass" : " 10/11/2020 07:23:50", + "randomFrom:" : " 10/11/2020 07:23:50", + "sessionStart" : " 10/11/2020 07:23:50" }, + "instance" : { + } } diff --git a/repository/Grease-GemStone-Core.package/GRLatin1GemStoneCodec.class/class/codecs.st b/repository/Grease-GemStone-Core.package/GRLatin1GemStoneCodec.class/class/codecs.st new file mode 100644 index 00000000..444b99e4 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/GRLatin1GemStoneCodec.class/class/codecs.st @@ -0,0 +1,3 @@ +accessing +codecs + ^ Array with: self new \ No newline at end of file diff --git a/repository/Grease-GemStone-Core.package/GRLatin1GemStoneCodec.class/methodProperties.json b/repository/Grease-GemStone-Core.package/GRLatin1GemStoneCodec.class/methodProperties.json new file mode 100644 index 00000000..4602091a --- /dev/null +++ b/repository/Grease-GemStone-Core.package/GRLatin1GemStoneCodec.class/methodProperties.json @@ -0,0 +1,13 @@ +{ + "class" : { + "basicForEncoding:" : " 10/11/2020 07:23:50", + "codecs" : "JohanBrichau 11/14/2020 01:32", + "supportsEncoding:" : " 10/11/2020 07:23:50" }, + "instance" : { + "decode:" : " 10/11/2020 07:23:50", + "encode:" : " 10/11/2020 07:23:50", + "encodeUrl:" : " 10/11/2020 07:23:50", + "encoderFor:" : " 10/11/2020 07:23:50", + "name" : " 10/11/2020 07:23:50", + "name:" : " 10/11/2020 07:23:50", + "url" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/GRPackage.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/GRPackage.extension/methodProperties.json new file mode 100644 index 00000000..fa6adaf7 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/GRPackage.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + "greaseGemStoneCore" : " 10/11/2020 07:23:50" }, + "instance" : { + "gemstoneUrl" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/GRTextOrBinaryCodecStream.class/methodProperties.json b/repository/Grease-GemStone-Core.package/GRTextOrBinaryCodecStream.class/methodProperties.json new file mode 100644 index 00000000..1ad664ab --- /dev/null +++ b/repository/Grease-GemStone-Core.package/GRTextOrBinaryCodecStream.class/methodProperties.json @@ -0,0 +1,14 @@ +{ + "class" : { + }, + "instance" : { + "binary" : " 10/11/2020 07:23:50", + "contents" : " 10/11/2020 07:23:50", + "flush" : " 10/11/2020 07:23:50", + "initializeOn:" : " 10/11/2020 07:23:50", + "next" : " 10/11/2020 07:23:50", + "next:" : " 10/11/2020 07:23:50", + "nextPut:" : " 10/11/2020 07:23:50", + "nextPutAll:" : " 10/11/2020 07:23:50", + "size" : " 10/11/2020 07:23:50", + "text" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/GRUtf8GemStoneCodec.class/class/codecs.st b/repository/Grease-GemStone-Core.package/GRUtf8GemStoneCodec.class/class/codecs.st new file mode 100644 index 00000000..444b99e4 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/GRUtf8GemStoneCodec.class/class/codecs.st @@ -0,0 +1,3 @@ +accessing +codecs + ^ Array with: self new \ No newline at end of file diff --git a/repository/Grease-GemStone-Core.package/GRUtf8GemStoneCodec.class/methodProperties.json b/repository/Grease-GemStone-Core.package/GRUtf8GemStoneCodec.class/methodProperties.json new file mode 100644 index 00000000..afa3cceb --- /dev/null +++ b/repository/Grease-GemStone-Core.package/GRUtf8GemStoneCodec.class/methodProperties.json @@ -0,0 +1,14 @@ +{ + "class" : { + "basicForEncoding:" : " 10/11/2020 07:23:50", + "codecs" : "JohanBrichau 11/14/2020 01:33", + "supportsEncoding:" : " 10/11/2020 07:23:50" }, + "instance" : { + "decode:" : " 10/11/2020 07:23:50", + "decoderFor:" : " 10/11/2020 07:23:50", + "encode:" : " 10/11/2020 07:23:50", + "encodeUrl:" : " 10/11/2020 07:23:50", + "encoderFor:" : " 10/11/2020 07:23:50", + "initialize" : " 10/11/2020 07:23:50", + "name" : " 10/11/2020 07:23:50", + "url" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/GsContext.class/instance/namedTempAt..st b/repository/Grease-GemStone-Core.package/GsContext.class/instance/namedTempAt..st new file mode 100644 index 00000000..4ca86721 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/GsContext.class/instance/namedTempAt..st @@ -0,0 +1,3 @@ +accessing +namedTempAt: index + ^ self tempAt: index \ No newline at end of file diff --git a/repository/Grease-GemStone-Core.package/GsContext.class/methodProperties.json b/repository/Grease-GemStone-Core.package/GsContext.class/methodProperties.json new file mode 100644 index 00000000..23ef2865 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/GsContext.class/methodProperties.json @@ -0,0 +1,16 @@ +{ + "class" : { + "fromContinuation:atLevel:" : " 10/11/2020 07:23:50", + "fromLevel:" : " 10/11/2020 07:23:50" }, + "instance" : { + "=" : " 10/11/2020 07:23:50", + "asString" : " 10/11/2020 07:23:50", + "continuation:level:" : " 10/11/2020 07:23:50", + "fullPrintString" : " 10/11/2020 07:23:50", + "greaseString" : " 10/11/2020 07:23:50", + "method" : " 10/11/2020 07:23:50", + "namedTempAt:" : "JohanBrichau 12/20/2020 06:33", + "receiver" : " 10/11/2020 07:23:50", + "sender" : " 10/11/2020 07:23:50", + "tempAt:" : " 10/11/2020 07:23:50", + "tempNames" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/Interval.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/Interval.extension/methodProperties.json new file mode 100644 index 00000000..9febe955 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/Interval.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "any" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/MessageSend.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/MessageSend.extension/methodProperties.json new file mode 100644 index 00000000..3da0ba03 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/MessageSend.extension/methodProperties.json @@ -0,0 +1,10 @@ +{ + "class" : { + }, + "instance" : { + "argumentCount" : " 10/11/2020 07:23:50", + "evaluateWithArguments:" : " 10/11/2020 07:23:50", + "value:" : " 10/11/2020 07:23:50", + "value:value:" : " 10/11/2020 07:23:50", + "valueWithPossibleArgument:" : " 10/11/2020 07:23:50", + "valueWithPossibleArguments:" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/Number.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/Number.extension/methodProperties.json new file mode 100644 index 00000000..782276fc --- /dev/null +++ b/repository/Grease-GemStone-Core.package/Number.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "milliseconds" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/Object.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/Object.extension/methodProperties.json new file mode 100644 index 00000000..448d57b5 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/Object.extension/methodProperties.json @@ -0,0 +1,7 @@ +{ + "class" : { + }, + "instance" : { + "displayString" : " 10/11/2020 07:23:50", + "greaseString" : " 10/11/2020 07:23:50", + "isMessageSend" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/PackageInfo.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/PackageInfo.extension/methodProperties.json new file mode 100644 index 00000000..72079dc1 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/PackageInfo.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "versionString" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/PositionableStream.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/PositionableStream.extension/methodProperties.json new file mode 100644 index 00000000..6cd2688f --- /dev/null +++ b/repository/Grease-GemStone-Core.package/PositionableStream.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "greaseUpToAll:" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/SequenceableCollection.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/SequenceableCollection.extension/methodProperties.json new file mode 100644 index 00000000..2d4f2a67 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/SequenceableCollection.extension/methodProperties.json @@ -0,0 +1,6 @@ +{ + "class" : { + }, + "instance" : { + "beginsWithSubCollection:" : " 10/11/2020 07:23:50", + "endsWithSubCollection:" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/String.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/String.extension/methodProperties.json new file mode 100644 index 00000000..663f83c7 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/String.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + "fromString:" : " 10/11/2020 07:23:50" }, + "instance" : { + } } diff --git a/repository/Grease-GemStone-Core.package/Symbol.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/Symbol.extension/methodProperties.json new file mode 100644 index 00000000..6db43052 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/Symbol.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "greaseAsMutator" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/Symbol.extension/properties.json b/repository/Grease-GemStone-Core.package/Symbol.extension/properties.json index 8c6bce81..565e67b0 100644 --- a/repository/Grease-GemStone-Core.package/Symbol.extension/properties.json +++ b/repository/Grease-GemStone-Core.package/Symbol.extension/properties.json @@ -1,3 +1,2 @@ { - "name" : "Symbol" -} \ No newline at end of file + "name" : "Symbol" } diff --git a/repository/Grease-GemStone-Core.package/SystemAbortTransaction.class/methodProperties.json b/repository/Grease-GemStone-Core.package/SystemAbortTransaction.class/methodProperties.json new file mode 100644 index 00000000..cc8beed9 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/SystemAbortTransaction.class/methodProperties.json @@ -0,0 +1,7 @@ +{ + "class" : { + }, + "instance" : { + "alternatives" : " 10/11/2020 07:23:50", + "defaultAction" : " 10/11/2020 07:23:50", + "transaction" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/SystemBeginTransaction.class/methodProperties.json b/repository/Grease-GemStone-Core.package/SystemBeginTransaction.class/methodProperties.json new file mode 100644 index 00000000..cc8beed9 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/SystemBeginTransaction.class/methodProperties.json @@ -0,0 +1,7 @@ +{ + "class" : { + }, + "instance" : { + "alternatives" : " 10/11/2020 07:23:50", + "defaultAction" : " 10/11/2020 07:23:50", + "transaction" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/SystemCommitTransaction.class/methodProperties.json b/repository/Grease-GemStone-Core.package/SystemCommitTransaction.class/methodProperties.json new file mode 100644 index 00000000..cc8beed9 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/SystemCommitTransaction.class/methodProperties.json @@ -0,0 +1,7 @@ +{ + "class" : { + }, + "instance" : { + "alternatives" : " 10/11/2020 07:23:50", + "defaultAction" : " 10/11/2020 07:23:50", + "transaction" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/SystemTransactionNotification.class/methodProperties.json b/repository/Grease-GemStone-Core.package/SystemTransactionNotification.class/methodProperties.json new file mode 100644 index 00000000..c4e1ea4b --- /dev/null +++ b/repository/Grease-GemStone-Core.package/SystemTransactionNotification.class/methodProperties.json @@ -0,0 +1,6 @@ +{ + "class" : { + }, + "instance" : { + "alternatives" : " 10/11/2020 07:23:50", + "transaction" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/UnorderedCollection.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/UnorderedCollection.extension/methodProperties.json new file mode 100644 index 00000000..59c1f401 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/UnorderedCollection.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "copyFrom:" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/WriteStream.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/WriteStream.extension/methodProperties.json new file mode 100644 index 00000000..46831332 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/WriteStream.extension/methodProperties.json @@ -0,0 +1,6 @@ +{ + "class" : { + }, + "instance" : { + "crlf" : " 10/11/2020 07:23:50", + "greaseNext:putAll:startingAt:" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/monticello.meta/version b/repository/Grease-GemStone-Core.package/monticello.meta/version new file mode 100644 index 00000000..8e3242d4 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/monticello.meta/version @@ -0,0 +1 @@ +(name 'Grease-GemStone-Core-JohanBrichau.3' message 'Added GsContext>>namedTempAt: for compatibility; also optimized thisContext implementation' id '199bb7c8-e012-4136-a341-6031acbacfbf' date '12/20/2020' time '07:50:35' author 'JohanBrichau' ancestors ((name 'Grease-GemStone-Core-JohanBrichau.2' message 'added missing ''codecs'' class methods' id '94ddc763-47ef-46d8-9e1d-6a889151ffc5' date '11/14/2020' time '01:37:12' author 'JohanBrichau' ancestors ((name 'Grease-GemStone-Core-cypress.1' message 'fabricated from a Cypress format repository' id '7542e591-944f-48c5-b722-18562c0f475d' date '10/11/2020' time '23:45:35' author '' ancestors () stepChildren ())) stepChildren ())) stepChildren ()) \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/.filetree b/repository/Grease-Tests-Core.package/.filetree index 57a67973..8998102c 100644 --- a/repository/Grease-Tests-Core.package/.filetree +++ b/repository/Grease-Tests-Core.package/.filetree @@ -1,5 +1,4 @@ { - "separateMethodMetaAndSource" : false, "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file + "separateMethodMetaAndSource" : false, + "useCypressPropertiesFile" : true } diff --git a/repository/Grease-Tests-Core.package/GRAbstractDictionaryTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRAbstractDictionaryTest.class/methodProperties.json new file mode 100644 index 00000000..86751b14 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRAbstractDictionaryTest.class/methodProperties.json @@ -0,0 +1,13 @@ +{ + "class" : { + "isAbstract" : " 10/11/2020 07:46:13" }, + "instance" : { + "allowsDuplicateValues" : " 10/11/2020 07:46:13", + "arbitraryAssociations" : " 10/11/2020 07:46:13", + "arbitraryCollection" : " 10/11/2020 07:46:13", + "createArbitraryAssociations" : " 10/11/2020 07:46:13", + "isExtensible" : " 10/11/2020 07:46:13", + "isInitializable" : " 10/11/2020 07:46:13", + "isKey:equivalentTo:" : " 10/11/2020 07:46:13", + "testAssociationsDo" : " 10/11/2020 07:46:13", + "valuesOf:" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRAbstractDictionaryTest.class/properties.json b/repository/Grease-Tests-Core.package/GRAbstractDictionaryTest.class/properties.json index e4372492..411a97eb 100644 --- a/repository/Grease-Tests-Core.package/GRAbstractDictionaryTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRAbstractDictionaryTest.class/properties.json @@ -1,13 +1,14 @@ { - "commentStamp" : "", - "super" : "GRCollectionTest", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", "instvars" : [ - "associations" - ], + "associations" ], "name" : "GRAbstractDictionaryTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRCollectionTest", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRAbstractSequenceableCollectionTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRAbstractSequenceableCollectionTest.class/methodProperties.json new file mode 100644 index 00000000..2c4ba659 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRAbstractSequenceableCollectionTest.class/methodProperties.json @@ -0,0 +1,17 @@ +{ + "class" : { + "isAbstract" : " 10/11/2020 07:46:13" }, + "instance" : { + "isHomogeneous" : " 10/11/2020 07:46:13", + "isSequenced" : " 10/11/2020 07:46:13", + "isUnique" : " 10/11/2020 07:46:13", + "testAddFirst" : " 10/11/2020 07:46:13", + "testBeginsWithEmptySubCollection" : " 10/11/2020 07:46:13", + "testBeginsWithSubCollection" : " 10/11/2020 07:46:13", + "testCopyAfter" : " 10/11/2020 07:46:13", + "testCopyAfterLast" : " 10/11/2020 07:46:13", + "testCopyUpTo" : " 10/11/2020 07:46:13", + "testCopyUpToLast" : " 10/11/2020 07:46:13", + "testEndsWithEmptySubCollection" : " 10/11/2020 07:46:13", + "testEndsWithSubCollection" : " 10/11/2020 07:46:13", + "testSort" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRAbstractSequenceableCollectionTest.class/properties.json b/repository/Grease-Tests-Core.package/GRAbstractSequenceableCollectionTest.class/properties.json index 9bd277c8..3d82a448 100644 --- a/repository/Grease-Tests-Core.package/GRAbstractSequenceableCollectionTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRAbstractSequenceableCollectionTest.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "GRCollectionTest", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRAbstractSequenceableCollectionTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRCollectionTest", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRArrayTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRArrayTest.class/methodProperties.json new file mode 100644 index 00000000..7e5b19e2 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRArrayTest.class/methodProperties.json @@ -0,0 +1,11 @@ +{ + "class" : { + }, + "instance" : { + "allowsDuplicateValues" : " 10/11/2020 07:46:13", + "collectionClass" : " 10/11/2020 07:46:13", + "isExtensible" : " 10/11/2020 07:46:13", + "isHomogeneous" : " 10/11/2020 07:46:13", + "isInitializable" : " 10/11/2020 07:46:13", + "isSequenced" : " 10/11/2020 07:46:13", + "isUnique" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRArrayTest.class/properties.json b/repository/Grease-Tests-Core.package/GRArrayTest.class/properties.json index 88dc04c7..20a70d30 100644 --- a/repository/Grease-Tests-Core.package/GRArrayTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRArrayTest.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "GRAbstractSequenceableCollectionTest", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRArrayTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRAbstractSequenceableCollectionTest", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRBagTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRBagTest.class/methodProperties.json new file mode 100644 index 00000000..cd7e7c94 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRBagTest.class/methodProperties.json @@ -0,0 +1,8 @@ +{ + "class" : { + }, + "instance" : { + "allowsDuplicateValues" : " 10/11/2020 07:46:13", + "collectionClass" : " 10/11/2020 07:46:13", + "isExtensible" : " 10/11/2020 07:46:13", + "isInitializable" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRBagTest.class/properties.json b/repository/Grease-Tests-Core.package/GRBagTest.class/properties.json index cc4f30e7..613a8d4f 100644 --- a/repository/Grease-Tests-Core.package/GRBagTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRBagTest.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "GRCollectionTest", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRBagTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRCollectionTest", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRCodecTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRCodecTest.class/methodProperties.json new file mode 100644 index 00000000..04c76780 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRCodecTest.class/methodProperties.json @@ -0,0 +1,18 @@ +{ + "class" : { + }, + "instance" : { + "asString:" : " 10/11/2020 07:46:13", + "decodedString" : " 10/11/2020 07:46:13", + "latin1String" : " 10/11/2020 07:46:13", + "macromanString" : " 10/11/2020 07:46:13", + "seasideByteArray" : " 10/11/2020 07:46:13", + "testAllCodecs" : " 10/11/2020 07:46:13", + "testCodecLatin1" : " 10/11/2020 07:46:13", + "testCodecLatin1BorderLineString" : " 10/11/2020 07:46:13", + "testNext" : " 10/11/2020 07:46:13", + "testNullCodec" : " 10/11/2020 07:46:13", + "testReset" : " 10/11/2020 07:46:13", + "utf16beString" : " 10/11/2020 07:46:13", + "utf16leString" : " 10/11/2020 07:46:13", + "utf8String" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRCodecTest.class/properties.json b/repository/Grease-Tests-Core.package/GRCodecTest.class/properties.json index 9d2dd967..2e3c0f41 100644 --- a/repository/Grease-Tests-Core.package/GRCodecTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRCodecTest.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "TestCase", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRCodecTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "TestCase", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRCollectionTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRCollectionTest.class/methodProperties.json new file mode 100644 index 00000000..092fea87 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRCollectionTest.class/methodProperties.json @@ -0,0 +1,24 @@ +{ + "class" : { + "isAbstract" : " 10/11/2020 07:46:13" }, + "instance" : { + "allowsDuplicateValues" : " 10/11/2020 07:46:13", + "arbitraryCollection" : " 10/11/2020 07:46:13", + "assert:sortedWith:" : " 10/11/2020 07:46:13", + "assert:validSequencedNewResponseFrom:" : " 10/11/2020 07:46:13", + "assert:validSequencedResponseFrom:" : " 10/11/2020 07:46:13", + "collectionClass" : " 10/11/2020 07:46:13", + "duplicateElement" : " 10/11/2020 07:46:13", + "emptyCollection" : " 10/11/2020 07:46:13", + "excludedElement" : " 10/11/2020 07:46:13", + "includedElement" : " 10/11/2020 07:46:13", + "isExtensible" : " 10/11/2020 07:46:13", + "isInitializable" : " 10/11/2020 07:46:13", + "isValidNewSequencedResponseClass:" : " 10/11/2020 07:46:13", + "testAny" : " 10/11/2020 07:46:13", + "testEmptyAny" : " 10/11/2020 07:46:13", + "testIsCollection" : " 10/11/2020 07:46:13", + "testNoneSatisfy" : " 10/11/2020 07:46:13", + "testNotEmpty" : " 10/11/2020 07:46:13", + "testSorted" : " 10/11/2020 07:46:13", + "valuesOf:" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRCollectionTest.class/properties.json b/repository/Grease-Tests-Core.package/GRCollectionTest.class/properties.json index fcb96e78..e9ffee07 100644 --- a/repository/Grease-Tests-Core.package/GRCollectionTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRCollectionTest.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "TestCase", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRCollectionTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "TestCase", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRCountingStreamTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRCountingStreamTest.class/methodProperties.json new file mode 100644 index 00000000..83a9828b --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRCountingStreamTest.class/methodProperties.json @@ -0,0 +1,9 @@ +{ + "class" : { + }, + "instance" : { + "setUp" : " 10/11/2020 07:46:13", + "testInitialSize" : " 10/11/2020 07:46:13", + "testNextPut" : " 10/11/2020 07:46:13", + "testNextPutAll" : " 10/11/2020 07:46:13", + "testReset" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRCountingStreamTest.class/properties.json b/repository/Grease-Tests-Core.package/GRCountingStreamTest.class/properties.json index eb816ded..f9424d2a 100644 --- a/repository/Grease-Tests-Core.package/GRCountingStreamTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRCountingStreamTest.class/properties.json @@ -1,13 +1,14 @@ { - "commentStamp" : "", - "super" : "TestCase", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", "instvars" : [ - "countingStream" - ], + "countingStream" ], "name" : "GRCountingStreamTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "TestCase", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRDelayedSendTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRDelayedSendTest.class/methodProperties.json new file mode 100644 index 00000000..64880a87 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRDelayedSendTest.class/methodProperties.json @@ -0,0 +1,20 @@ +{ + "class" : { + }, + "instance" : { + "testArgumentCount" : " 10/11/2020 07:46:13", + "testValueBinary" : " 10/11/2020 07:46:13", + "testValueKeyword" : " 10/11/2020 07:46:13", + "testValueUnary" : " 10/11/2020 07:46:13", + "testValueValueBinary" : " 10/11/2020 07:46:13", + "testValueValueKeyword" : " 10/11/2020 07:46:13", + "testValueValueUnary" : " 10/11/2020 07:46:13", + "testValueWithArgumentBinary" : " 10/11/2020 07:46:13", + "testValueWithArgumentKeyword" : " 10/11/2020 07:46:13", + "testValueWithArgumentUnary" : " 10/11/2020 07:46:13", + "testValueWithArgumentsBinary" : " 10/11/2020 07:46:13", + "testValueWithArgumentsKeyword" : " 10/11/2020 07:46:13", + "testValueWithArgumentsUnary" : " 10/11/2020 07:46:13", + "testValueWithPossibleArgumentsBinary" : " 10/11/2020 07:46:13", + "testValueWithPossibleArgumentsKeyword" : " 10/11/2020 07:46:13", + "testValueWithPossibleArgumentsUnary" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRDelayedSendTest.class/properties.json b/repository/Grease-Tests-Core.package/GRDelayedSendTest.class/properties.json index 79645fd3..7e031b6e 100644 --- a/repository/Grease-Tests-Core.package/GRDelayedSendTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRDelayedSendTest.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "TestCase", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRDelayedSendTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "TestCase", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRDictionaryTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRDictionaryTest.class/methodProperties.json new file mode 100644 index 00000000..da438bd0 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRDictionaryTest.class/methodProperties.json @@ -0,0 +1,7 @@ +{ + "class" : { + }, + "instance" : { + "collectionClass" : " 10/11/2020 07:46:13", + "createArbitraryAssociations" : " 10/11/2020 07:46:13", + "isKey:equivalentTo:" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRDictionaryTest.class/properties.json b/repository/Grease-Tests-Core.package/GRDictionaryTest.class/properties.json index 15006d3a..7eb7cb24 100644 --- a/repository/Grease-Tests-Core.package/GRDictionaryTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRDictionaryTest.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "GRAbstractDictionaryTest", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRDictionaryTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRAbstractDictionaryTest", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRDurationTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRDurationTest.class/methodProperties.json new file mode 100644 index 00000000..b66a2996 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRDurationTest.class/methodProperties.json @@ -0,0 +1,13 @@ +{ + "class" : { + }, + "instance" : { + "testAccessors" : " 10/11/2020 07:46:13", + "testBasicInstanceCreation" : " 10/11/2020 07:46:13", + "testConversions" : " 10/11/2020 07:46:13", + "testIntegerConvenienceMethods" : " 10/11/2020 07:46:13", + "testMixedInstanceCreation" : " 10/11/2020 07:46:13", + "testNegativeInstanceCreation" : " 10/11/2020 07:46:13", + "testPartialSecondsInstanceCreation" : " 10/11/2020 07:46:13", + "testRolloverInstanceCreation" : " 10/11/2020 07:46:13", + "testZero" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRDurationTest.class/properties.json b/repository/Grease-Tests-Core.package/GRDurationTest.class/properties.json index e05909ba..8e026953 100644 --- a/repository/Grease-Tests-Core.package/GRDurationTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRDurationTest.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "TestCase", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRDurationTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "TestCase", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRDynamicVariableTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRDynamicVariableTest.class/methodProperties.json new file mode 100644 index 00000000..4204a28a --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRDynamicVariableTest.class/methodProperties.json @@ -0,0 +1,9 @@ +{ + "class" : { + }, + "instance" : { + "testAnswer" : " 10/11/2020 07:46:13", + "testDefaultValue" : " 10/11/2020 07:46:13", + "testWithNestedValue" : " 10/11/2020 07:46:13", + "testWithValue" : " 10/11/2020 07:46:13", + "testWithoutValue" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRDynamicVariableTest.class/properties.json b/repository/Grease-Tests-Core.package/GRDynamicVariableTest.class/properties.json index 4a7a9ccb..cad5121f 100644 --- a/repository/Grease-Tests-Core.package/GRDynamicVariableTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRDynamicVariableTest.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "TestCase", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRDynamicVariableTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "TestCase", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRErrorStub.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRErrorStub.class/methodProperties.json new file mode 100644 index 00000000..adfab69a --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRErrorStub.class/methodProperties.json @@ -0,0 +1,6 @@ +{ + "class" : { + }, + "instance" : { + "foo" : " 10/11/2020 07:46:13", + "initialize" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRErrorStub.class/properties.json b/repository/Grease-Tests-Core.package/GRErrorStub.class/properties.json index 4790c613..aab6db02 100644 --- a/repository/Grease-Tests-Core.package/GRErrorStub.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRErrorStub.class/properties.json @@ -1,13 +1,14 @@ { - "commentStamp" : "", - "super" : "GRError", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", "instvars" : [ - "foo" - ], + "foo" ], "name" : "GRErrorStub", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRError", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRExceptionTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRExceptionTest.class/methodProperties.json new file mode 100644 index 00000000..d0e9cd66 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRExceptionTest.class/methodProperties.json @@ -0,0 +1,20 @@ +{ + "class" : { + }, + "instance" : { + "onExceptionReturn:" : " 10/11/2020 07:46:13", + "testDefaultActionResume" : " 10/11/2020 07:46:13", + "testDeprecatedApi" : " 10/11/2020 07:46:13", + "testErrorInitialization" : " 10/11/2020 07:46:13", + "testIsResumable" : " 10/11/2020 07:46:13", + "testNotificationInitialization" : " 10/11/2020 07:46:13", + "testOnDoImplicitReturn" : " 10/11/2020 07:46:13", + "testOnDoNonLocalReturn" : " 10/11/2020 07:46:13", + "testSignalError" : " 10/11/2020 07:46:13", + "testSignalErrorClassSide" : " 10/11/2020 07:46:13", + "testSignalNotification" : " 10/11/2020 07:46:13", + "testSignalNotificationClassSide" : " 10/11/2020 07:46:13", + "testSignalWithError" : " 10/11/2020 07:46:13", + "testSignalWithErrorClassSide" : " 10/11/2020 07:46:13", + "testSignalWithNotification" : " 10/11/2020 07:46:13", + "testSignalWithNotificationClassSide" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRExceptionTest.class/properties.json b/repository/Grease-Tests-Core.package/GRExceptionTest.class/properties.json index 953e06ff..b32936db 100644 --- a/repository/Grease-Tests-Core.package/GRExceptionTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRExceptionTest.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "TestCase", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRExceptionTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "TestCase", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRIdentityDictionaryTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRIdentityDictionaryTest.class/methodProperties.json new file mode 100644 index 00000000..da438bd0 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRIdentityDictionaryTest.class/methodProperties.json @@ -0,0 +1,7 @@ +{ + "class" : { + }, + "instance" : { + "collectionClass" : " 10/11/2020 07:46:13", + "createArbitraryAssociations" : " 10/11/2020 07:46:13", + "isKey:equivalentTo:" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRIdentityDictionaryTest.class/properties.json b/repository/Grease-Tests-Core.package/GRIdentityDictionaryTest.class/properties.json index 5dbb5796..56b3b2c2 100644 --- a/repository/Grease-Tests-Core.package/GRIdentityDictionaryTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRIdentityDictionaryTest.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "GRAbstractDictionaryTest", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRIdentityDictionaryTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRAbstractDictionaryTest", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRIntervalTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRIntervalTest.class/methodProperties.json new file mode 100644 index 00000000..5abfccce --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRIntervalTest.class/methodProperties.json @@ -0,0 +1,16 @@ +{ + "class" : { + }, + "instance" : { + "allowsDuplicateValues" : " 10/11/2020 07:46:13", + "arbitraryCollection" : " 10/11/2020 07:46:13", + "collectionClass" : " 10/11/2020 07:46:13", + "emptyCollection" : " 10/11/2020 07:46:13", + "isExtensible" : " 10/11/2020 07:46:13", + "isHomogeneous" : " 10/11/2020 07:46:13", + "isInitializable" : " 10/11/2020 07:46:13", + "isSequenced" : " 10/11/2020 07:46:13", + "isUnique" : " 10/11/2020 07:46:13", + "testBeginsWithSubCollection" : " 10/11/2020 07:46:13", + "testEndsWithSubCollection" : " 10/11/2020 07:46:13", + "testSorted" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRIntervalTest.class/properties.json b/repository/Grease-Tests-Core.package/GRIntervalTest.class/properties.json index 214b0a29..c027d1e8 100644 --- a/repository/Grease-Tests-Core.package/GRIntervalTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRIntervalTest.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "GRAbstractSequenceableCollectionTest", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRIntervalTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRAbstractSequenceableCollectionTest", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRNotificationBasedDynamicVariableTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRNotificationBasedDynamicVariableTest.class/methodProperties.json new file mode 100644 index 00000000..4204a28a --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRNotificationBasedDynamicVariableTest.class/methodProperties.json @@ -0,0 +1,9 @@ +{ + "class" : { + }, + "instance" : { + "testAnswer" : " 10/11/2020 07:46:13", + "testDefaultValue" : " 10/11/2020 07:46:13", + "testWithNestedValue" : " 10/11/2020 07:46:13", + "testWithValue" : " 10/11/2020 07:46:13", + "testWithoutValue" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRNotificationBasedDynamicVariableTest.class/properties.json b/repository/Grease-Tests-Core.package/GRNotificationBasedDynamicVariableTest.class/properties.json index f30d17fb..c4abca74 100644 --- a/repository/Grease-Tests-Core.package/GRNotificationBasedDynamicVariableTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRNotificationBasedDynamicVariableTest.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "TestCase", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRNotificationBasedDynamicVariableTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "TestCase", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRNotificationStub.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRNotificationStub.class/methodProperties.json new file mode 100644 index 00000000..9c966eb3 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRNotificationStub.class/methodProperties.json @@ -0,0 +1,7 @@ +{ + "class" : { + }, + "instance" : { + "defaultAction" : " 10/11/2020 07:46:13", + "foo" : " 10/11/2020 07:46:13", + "initialize" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRNotificationStub.class/properties.json b/repository/Grease-Tests-Core.package/GRNotificationStub.class/properties.json index 1fe21db6..ed1e1b00 100644 --- a/repository/Grease-Tests-Core.package/GRNotificationStub.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRNotificationStub.class/properties.json @@ -1,13 +1,14 @@ { - "commentStamp" : "", - "super" : "GRNotification", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", "instvars" : [ - "foo" - ], + "foo" ], "name" : "GRNotificationStub", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRNotification", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRNullCodecStreamTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRNullCodecStreamTest.class/methodProperties.json new file mode 100644 index 00000000..a2374336 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRNullCodecStreamTest.class/methodProperties.json @@ -0,0 +1,15 @@ +{ + "class" : { + }, + "instance" : { + "codecStreamClass" : " 10/11/2020 07:46:13", + "testCrlf" : " 10/11/2020 07:46:13", + "testFlush" : " 10/11/2020 07:46:13", + "testName" : " 10/11/2020 07:46:13", + "testNext" : " 10/11/2020 07:46:13", + "testPrint" : " 10/11/2020 07:46:13", + "testReadString" : " 10/11/2020 07:46:13", + "testSize" : " 10/11/2020 07:46:13", + "testSpace" : " 10/11/2020 07:46:13", + "testTab" : " 10/11/2020 07:46:13", + "testWriteString" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRNullCodecStreamTest.class/properties.json b/repository/Grease-Tests-Core.package/GRNullCodecStreamTest.class/properties.json index f4b84ea6..2762434b 100644 --- a/repository/Grease-Tests-Core.package/GRNullCodecStreamTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRNullCodecStreamTest.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "TestCase", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRNullCodecStreamTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "TestCase", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRNumberTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRNumberTest.class/methodProperties.json new file mode 100644 index 00000000..7d4cb4a6 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRNumberTest.class/methodProperties.json @@ -0,0 +1,10 @@ +{ + "class" : { + }, + "instance" : { + "testBetweenAnd" : " 10/11/2020 07:46:13", + "testPluralize" : " 10/11/2020 07:46:13", + "testReadFrom" : " 10/11/2020 07:46:13", + "testTo" : " 10/11/2020 07:46:13", + "testToDo" : " 10/11/2020 07:46:13", + "testToDoClosures" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRNumberTest.class/properties.json b/repository/Grease-Tests-Core.package/GRNumberTest.class/properties.json index 8a9155fa..8e127eab 100644 --- a/repository/Grease-Tests-Core.package/GRNumberTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRNumberTest.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "TestCase", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRNumberTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "TestCase", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRObjectStub.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRObjectStub.class/methodProperties.json new file mode 100644 index 00000000..adfab69a --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRObjectStub.class/methodProperties.json @@ -0,0 +1,6 @@ +{ + "class" : { + }, + "instance" : { + "foo" : " 10/11/2020 07:46:13", + "initialize" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRObjectStub.class/properties.json b/repository/Grease-Tests-Core.package/GRObjectStub.class/properties.json index 52a24e1f..0b70f071 100644 --- a/repository/Grease-Tests-Core.package/GRObjectStub.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRObjectStub.class/properties.json @@ -1,13 +1,14 @@ { - "commentStamp" : "", - "super" : "GRObject", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", "instvars" : [ - "foo" - ], + "foo" ], "name" : "GRObjectStub", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRObject", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRObjectTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRObjectTest.class/methodProperties.json new file mode 100644 index 00000000..d7d629bb --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRObjectTest.class/methodProperties.json @@ -0,0 +1,7 @@ +{ + "class" : { + }, + "instance" : { + "testError" : " 10/11/2020 07:46:13", + "testInitialize" : " 10/11/2020 07:46:13", + "testRespondsTo" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRObjectTest.class/properties.json b/repository/Grease-Tests-Core.package/GRObjectTest.class/properties.json index e4a8e84e..8f5fa9d3 100644 --- a/repository/Grease-Tests-Core.package/GRObjectTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRObjectTest.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "TestCase", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRObjectTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "TestCase", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GROrderedCollectionTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GROrderedCollectionTest.class/methodProperties.json new file mode 100644 index 00000000..7e5b19e2 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GROrderedCollectionTest.class/methodProperties.json @@ -0,0 +1,11 @@ +{ + "class" : { + }, + "instance" : { + "allowsDuplicateValues" : " 10/11/2020 07:46:13", + "collectionClass" : " 10/11/2020 07:46:13", + "isExtensible" : " 10/11/2020 07:46:13", + "isHomogeneous" : " 10/11/2020 07:46:13", + "isInitializable" : " 10/11/2020 07:46:13", + "isSequenced" : " 10/11/2020 07:46:13", + "isUnique" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GROrderedCollectionTest.class/properties.json b/repository/Grease-Tests-Core.package/GROrderedCollectionTest.class/properties.json index 483a308b..c7bdaaaf 100644 --- a/repository/Grease-Tests-Core.package/GROrderedCollectionTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GROrderedCollectionTest.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "GRAbstractSequenceableCollectionTest", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GROrderedCollectionTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRAbstractSequenceableCollectionTest", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GROrderedMultiMap2Test.class/methodProperties.json b/repository/Grease-Tests-Core.package/GROrderedMultiMap2Test.class/methodProperties.json new file mode 100644 index 00000000..8efdcdc3 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GROrderedMultiMap2Test.class/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "collectionClass" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GROrderedMultiMap2Test.class/properties.json b/repository/Grease-Tests-Core.package/GROrderedMultiMap2Test.class/properties.json index 860dd197..2444d848 100644 --- a/repository/Grease-Tests-Core.package/GROrderedMultiMap2Test.class/properties.json +++ b/repository/Grease-Tests-Core.package/GROrderedMultiMap2Test.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "GROrderedMultiMapTest", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GROrderedMultiMap2Test", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GROrderedMultiMapTest", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GROrderedMultiMapTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GROrderedMultiMapTest.class/methodProperties.json new file mode 100644 index 00000000..c4581674 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GROrderedMultiMapTest.class/methodProperties.json @@ -0,0 +1,10 @@ +{ + "class" : { + "shouldInheritSelectors" : " 10/11/2020 07:46:13" }, + "instance" : { + "allowsDuplicateKeys" : " 10/11/2020 07:46:13", + "collectionClass" : " 10/11/2020 07:46:13", + "testAllAt" : " 10/11/2020 07:46:13", + "testAllAtIfAbsent" : " 10/11/2020 07:46:13", + "testAtAdd" : " 10/11/2020 07:46:13", + "testKeysAndAllValuesDo" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GROrderedMultiMapTest.class/properties.json b/repository/Grease-Tests-Core.package/GROrderedMultiMapTest.class/properties.json index 4804b955..5e05e514 100644 --- a/repository/Grease-Tests-Core.package/GROrderedMultiMapTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GROrderedMultiMapTest.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "GRSmallDictionaryTest", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GROrderedMultiMapTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRSmallDictionaryTest", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRPackage.extension/methodProperties.json b/repository/Grease-Tests-Core.package/GRPackage.extension/methodProperties.json new file mode 100644 index 00000000..ff02f528 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRPackage.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + "greaseTestsCore" : " 10/11/2020 07:46:13" }, + "instance" : { + } } diff --git a/repository/Grease-Tests-Core.package/GRPackage.extension/properties.json b/repository/Grease-Tests-Core.package/GRPackage.extension/properties.json index ae522a7e..dd2faaf0 100644 --- a/repository/Grease-Tests-Core.package/GRPackage.extension/properties.json +++ b/repository/Grease-Tests-Core.package/GRPackage.extension/properties.json @@ -1,3 +1,2 @@ { - "name" : "GRPackage" -} \ No newline at end of file + "name" : "GRPackage" } diff --git a/repository/Grease-Tests-Core.package/GRPackageTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRPackageTest.class/methodProperties.json new file mode 100644 index 00000000..66e1585c --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRPackageTest.class/methodProperties.json @@ -0,0 +1,12 @@ +{ + "class" : { + }, + "instance" : { + "setUp" : " 10/11/2020 07:46:13", + "testAllDependencies" : " 10/11/2020 07:46:13", + "testDependencies" : " 10/11/2020 07:46:13", + "testDescription" : " 10/11/2020 07:46:13", + "testLicense" : " 10/11/2020 07:46:13", + "testName" : " 10/11/2020 07:46:13", + "testPackages" : " 10/11/2020 07:46:13", + "testUrl" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRPackageTest.class/properties.json b/repository/Grease-Tests-Core.package/GRPackageTest.class/properties.json index ad6dc9c9..21b6bf84 100644 --- a/repository/Grease-Tests-Core.package/GRPackageTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRPackageTest.class/properties.json @@ -1,13 +1,14 @@ { - "commentStamp" : "", - "super" : "TestCase", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", "instvars" : [ - "package" - ], + "package" ], "name" : "GRPackageTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "TestCase", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testThisContext.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testThisContext.st deleted file mode 100644 index 3cd4ceb1..00000000 --- a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testThisContext.st +++ /dev/null @@ -1,9 +0,0 @@ -tests-processes -testThisContext - | methodContext | - methodContext := self platform thisContext. - [ - | blockContext | - blockContext := self platform thisContext. - self assert: blockContext sender = methodContext ] - value \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRPlatformTest.class/methodProperties.json new file mode 100644 index 00000000..f4537f1b --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/methodProperties.json @@ -0,0 +1,78 @@ +{ + "class" : { + }, + "instance" : { + "decodeUtf8Character:" : " 10/11/2020 07:46:13", + "platform" : " 10/11/2020 07:46:13", + "testAsNumber" : " 10/11/2020 07:46:13", + "testBase64Decode" : " 10/11/2020 07:46:13", + "testBindingOf" : " 10/11/2020 07:46:13", + "testBlockContextWithPossibleArguments" : " 10/11/2020 07:46:13", + "testBlockValuableProtocol" : " 10/11/2020 07:46:13", + "testCharacterAsUnicode" : " 10/11/2020 07:46:13", + "testCharacterTo" : " 10/11/2020 07:46:13", + "testConvertToSmalltalkNewlines" : " 10/11/2020 07:46:13", + "testDateArithmetic" : " 10/11/2020 07:46:13", + "testDaysInMonthForYear" : " 10/11/2020 07:46:13", + "testDigitValue" : " 10/11/2020 07:46:13", + "testEmptyOrNil" : " 10/11/2020 07:46:13", + "testGreaseIntegerOnCharacterAscii" : " 10/11/2020 07:46:13", + "testGreaseIntegerOnCharacterBmp" : " 10/11/2020 07:46:13", + "testGreaseIntegerOnCharacterLatin1" : " 10/11/2020 07:46:13", + "testGreaseIntegerOnCharacterSmp" : " 10/11/2020 07:46:13", + "testGreaseIntegerOnNumber" : " 10/11/2020 07:46:13", + "testGreaseIntegerOnString" : " 10/11/2020 07:46:13", + "testGreaseString" : " 10/11/2020 07:46:13", + "testIfNil" : " 10/11/2020 07:46:13", + "testIfTrueIfFalse" : " 10/11/2020 07:46:13", + "testIsCharacter" : " 10/11/2020 07:46:13", + "testIsCollection" : " 10/11/2020 07:46:13", + "testIsKeyword" : " 10/11/2020 07:46:13", + "testIsUnary" : " 10/11/2020 07:46:13", + "testLabel" : " 10/11/2020 07:46:13", + "testNewline" : " 10/11/2020 07:46:13", + "testNumArgs" : " 10/11/2020 07:46:13", + "testPathSeparator" : " 10/11/2020 07:46:13", + "testPrintStringLimitedTo" : " 10/11/2020 07:46:13", + "testRandomGenerator" : " 10/11/2020 07:46:13", + "testReadStreamAtEnd" : " 10/11/2020 07:46:13", + "testReadStreamContents" : " 10/11/2020 07:46:13", + "testReadStreamNegativeSkip" : " 10/11/2020 07:46:13", + "testReadStreamNext" : " 10/11/2020 07:46:13", + "testReadStreamPeek" : " 10/11/2020 07:46:13", + "testReadStreamPosition" : " 10/11/2020 07:46:13", + "testReadStreamReset" : " 10/11/2020 07:46:13", + "testReadStreamSeasideUpToAll" : " 10/11/2020 07:46:13", + "testReadStreamSkip" : " 10/11/2020 07:46:13", + "testReadStreamUpTo" : " 10/11/2020 07:46:13", + "testReadStreamUpToEnd" : " 10/11/2020 07:46:13", + "testReadWriteStreamAtEnd" : " 10/11/2020 07:46:13", + "testReadWriteStreamContents" : " 10/11/2020 07:46:13", + "testReadWriteStreamNegativeSkip" : " 10/11/2020 07:46:13", + "testReadWriteStreamNext" : " 10/11/2020 07:46:13", + "testReadWriteStreamNextPut" : " 10/11/2020 07:46:13", + "testReadWriteStreamNextPutAll" : " 10/11/2020 07:46:13", + "testReadWriteStreamPeek" : " 10/11/2020 07:46:13", + "testReadWriteStreamPosition" : " 10/11/2020 07:46:13", + "testReadWriteStreamReset" : " 10/11/2020 07:46:13", + "testReadWriteStreamSkip" : " 10/11/2020 07:46:13", + "testReadWriteStreamTab" : " 10/11/2020 07:46:13", + "testReadWriteStreamUpTo" : " 10/11/2020 07:46:13", + "testReadWriteStreamUpToEnd" : " 10/11/2020 07:46:13", + "testSeconds" : " 10/11/2020 07:46:13", + "testSecureHashFor" : " 10/11/2020 07:46:13", + "testShutDownList" : " 10/11/2020 07:46:13", + "testStackDepth" : " 10/11/2020 07:46:13", + "testStartUpList" : " 10/11/2020 07:46:13", + "testSymbolAsMutator" : " 10/11/2020 07:46:13", + "testTerminate" : " 10/11/2020 07:46:13", + "testTotalSeconds" : " 10/11/2020 07:46:13", + "testVersion" : " 10/11/2020 07:46:13", + "testWriteStreamContents" : " 10/11/2020 07:46:13", + "testWriteStreamCrLf" : " 10/11/2020 07:46:13", + "testWriteStreamNextPut" : " 10/11/2020 07:46:13", + "testWriteStreamNextPutAll" : " 10/11/2020 07:46:13", + "testWriteStreamPosition" : " 10/11/2020 07:46:13", + "testWriteStreamReset" : " 10/11/2020 07:46:13", + "testWriteStreamSpace" : " 10/11/2020 07:46:13", + "testWriteStreamTab" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/properties.json b/repository/Grease-Tests-Core.package/GRPlatformTest.class/properties.json index 78485803..5d365c8e 100644 --- a/repository/Grease-Tests-Core.package/GRPlatformTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "pmm 8/19/2014 09:53", - "super" : "TestCase", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "pmm 8/19/2014 09:53", + "instvars" : [ + ], "name" : "GRPlatformTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "TestCase", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRPrinterTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRPrinterTest.class/methodProperties.json new file mode 100644 index 00000000..21e2c271 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRPrinterTest.class/methodProperties.json @@ -0,0 +1,47 @@ +{ + "class" : { + "packageNamesUnderTest" : " 10/11/2020 07:46:13" }, + "instance" : { + "separate:left:" : " 10/11/2020 07:46:13", + "testComposedPrinter" : " 10/11/2020 07:46:13", + "testCookieTimestamp" : " 10/11/2020 07:46:13", + "testDigitsOf" : " 10/11/2020 07:46:13", + "testDigitsOfBase" : " 10/11/2020 07:46:13", + "testFileSizePrinterBinary" : " 10/11/2020 07:46:13", + "testFileSizePrinterDecimal" : " 10/11/2020 07:46:13", + "testFloatPrinter" : " 10/11/2020 07:46:13", + "testFloatPrinterInfinity" : " 10/11/2020 07:46:13", + "testFloatPrinterNaN" : " 10/11/2020 07:46:13", + "testFloatPrinterPadding" : " 10/11/2020 07:46:13", + "testFloatPrinterSeparator" : " 10/11/2020 07:46:13", + "testFullMonthName" : " 10/11/2020 07:46:13", + "testFullWeekName" : " 10/11/2020 07:46:13", + "testHttp" : " 10/11/2020 07:46:13", + "testIntegerPrinter" : " 10/11/2020 07:46:13", + "testIsoDate" : " 10/11/2020 07:46:13", + "testIsoTime" : " 10/11/2020 07:46:13", + "testOrdinalizePrinter" : " 10/11/2020 07:46:13", + "testPadCenter" : " 10/11/2020 07:46:13", + "testPadLeft" : " 10/11/2020 07:46:13", + "testPadRight" : " 10/11/2020 07:46:13", + "testPaddedCentury" : " 10/11/2020 07:46:13", + "testPaddedHour12" : " 10/11/2020 07:46:13", + "testRfc822" : " 10/11/2020 07:46:13", + "testRfc822WithTimeZone" : " 10/11/2020 07:46:13", + "testSeparateLeft" : " 10/11/2020 07:46:13", + "testSeparateRight" : " 10/11/2020 07:46:13", + "testSignPrinter" : " 10/11/2020 07:46:13", + "testStringPrinter" : " 10/11/2020 07:46:13", + "testStringPrinterLength" : " 10/11/2020 07:46:13", + "testStringPrinterPad" : " 10/11/2020 07:46:13", + "testStringPrinterTrim" : " 10/11/2020 07:46:13", + "testSwissCurrency" : " 10/11/2020 07:46:13", + "testUnpaddedCentury" : " 10/11/2020 07:46:13", + "testUnpaddedDay" : " 10/11/2020 07:46:13", + "testUnpaddedHour12" : " 10/11/2020 07:46:13", + "testUnpaddedHour24" : " 10/11/2020 07:46:13", + "testUnpaddedMinute" : " 10/11/2020 07:46:13", + "testUnpaddedMonth" : " 10/11/2020 07:46:13", + "testUnpaddedSecond" : " 10/11/2020 07:46:13", + "testUnpaddedYear" : " 10/11/2020 07:46:13", + "testUsCurrency" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRPrinterTest.class/properties.json b/repository/Grease-Tests-Core.package/GRPrinterTest.class/properties.json index 40c211a6..21f8b8d7 100644 --- a/repository/Grease-Tests-Core.package/GRPrinterTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRPrinterTest.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "TestCase", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRPrinterTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "TestCase", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRReducedConflictDictionaryTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRReducedConflictDictionaryTest.class/methodProperties.json new file mode 100644 index 00000000..8efdcdc3 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRReducedConflictDictionaryTest.class/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "collectionClass" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRReducedConflictDictionaryTest.class/properties.json b/repository/Grease-Tests-Core.package/GRReducedConflictDictionaryTest.class/properties.json index 73bd00e9..56e233f6 100644 --- a/repository/Grease-Tests-Core.package/GRReducedConflictDictionaryTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRReducedConflictDictionaryTest.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "GRDictionaryTest", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRReducedConflictDictionaryTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRDictionaryTest", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRSetTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRSetTest.class/methodProperties.json new file mode 100644 index 00000000..cd7e7c94 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRSetTest.class/methodProperties.json @@ -0,0 +1,8 @@ +{ + "class" : { + }, + "instance" : { + "allowsDuplicateValues" : " 10/11/2020 07:46:13", + "collectionClass" : " 10/11/2020 07:46:13", + "isExtensible" : " 10/11/2020 07:46:13", + "isInitializable" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRSetTest.class/properties.json b/repository/Grease-Tests-Core.package/GRSetTest.class/properties.json index ba46ecf8..f111c99d 100644 --- a/repository/Grease-Tests-Core.package/GRSetTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRSetTest.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "GRCollectionTest", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRSetTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRCollectionTest", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRSmallDictionary2Test.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRSmallDictionary2Test.class/methodProperties.json new file mode 100644 index 00000000..8efdcdc3 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRSmallDictionary2Test.class/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "collectionClass" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRSmallDictionary2Test.class/properties.json b/repository/Grease-Tests-Core.package/GRSmallDictionary2Test.class/properties.json index 61da0f57..81c57b1f 100644 --- a/repository/Grease-Tests-Core.package/GRSmallDictionary2Test.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRSmallDictionary2Test.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "GRSmallDictionaryTest", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRSmallDictionary2Test", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRSmallDictionaryTest", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRSmallDictionaryTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRSmallDictionaryTest.class/methodProperties.json new file mode 100644 index 00000000..25ed9180 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRSmallDictionaryTest.class/methodProperties.json @@ -0,0 +1,32 @@ +{ + "class" : { + }, + "instance" : { + "allowsDuplicateKeys" : " 10/11/2020 07:46:13", + "assertAssociations:" : " 10/11/2020 07:46:13", + "collectionClass" : " 10/11/2020 07:46:13", + "createArbitraryAssociations" : " 10/11/2020 07:46:13", + "isKey:equivalentTo:" : " 10/11/2020 07:46:13", + "newCollection" : " 10/11/2020 07:46:13", + "setUp" : " 10/11/2020 07:46:13", + "testAddAll" : " 10/11/2020 07:46:13", + "testAddAndAssociations" : " 10/11/2020 07:46:13", + "testAt" : " 10/11/2020 07:46:13", + "testAtIfAbsent" : " 10/11/2020 07:46:13", + "testAtIfAbsentPut" : " 10/11/2020 07:46:13", + "testAtIfPresent" : " 10/11/2020 07:46:13", + "testAtPut" : " 10/11/2020 07:46:13", + "testCopy" : " 10/11/2020 07:46:13", + "testDo" : " 10/11/2020 07:46:13", + "testGrow" : " 10/11/2020 07:46:13", + "testIncludesKey" : " 10/11/2020 07:46:13", + "testIsEmpty" : " 10/11/2020 07:46:13", + "testKeys" : " 10/11/2020 07:46:13", + "testKeysAndValuesDo" : " 10/11/2020 07:46:13", + "testKeysDo" : " 10/11/2020 07:46:13", + "testRemoveKey" : " 10/11/2020 07:46:13", + "testRemoveKey2" : " 10/11/2020 07:46:13", + "testRemoveKeyIfAbsent" : " 10/11/2020 07:46:13", + "testSize" : " 10/11/2020 07:46:13", + "testValues" : " 10/11/2020 07:46:13", + "testWithAll" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRSmallDictionaryTest.class/properties.json b/repository/Grease-Tests-Core.package/GRSmallDictionaryTest.class/properties.json index 9f7c857b..259a3e40 100644 --- a/repository/Grease-Tests-Core.package/GRSmallDictionaryTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRSmallDictionaryTest.class/properties.json @@ -1,13 +1,14 @@ { - "commentStamp" : "", - "super" : "GRAbstractDictionaryTest", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", "instvars" : [ - "collection" - ], + "collection" ], "name" : "GRSmallDictionaryTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRAbstractDictionaryTest", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRSmallOrderedSetTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRSmallOrderedSetTest.class/methodProperties.json new file mode 100644 index 00000000..3f204460 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRSmallOrderedSetTest.class/methodProperties.json @@ -0,0 +1,15 @@ +{ + "class" : { + }, + "instance" : { + "collectionClass" : " 10/11/2020 07:46:13", + "setUp" : " 10/11/2020 07:46:13", + "testAdd" : " 10/11/2020 07:46:13", + "testAddAll" : " 10/11/2020 07:46:13", + "testCopy" : " 10/11/2020 07:46:13", + "testDo" : " 10/11/2020 07:46:13", + "testIncludes" : " 10/11/2020 07:46:13", + "testIsEmpty" : " 10/11/2020 07:46:13", + "testRemove" : " 10/11/2020 07:46:13", + "testRemoveIfAbsent" : " 10/11/2020 07:46:13", + "testSize" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRSmallOrderedSetTest.class/properties.json b/repository/Grease-Tests-Core.package/GRSmallOrderedSetTest.class/properties.json index 57445798..350ad863 100644 --- a/repository/Grease-Tests-Core.package/GRSmallOrderedSetTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRSmallOrderedSetTest.class/properties.json @@ -1,13 +1,14 @@ { - "commentStamp" : "", - "super" : "GRSetTest", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", "instvars" : [ - "collection" - ], + "collection" ], "name" : "GRSmallOrderedSetTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRSetTest", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRSortedCollectionTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRSortedCollectionTest.class/methodProperties.json new file mode 100644 index 00000000..7e5b19e2 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRSortedCollectionTest.class/methodProperties.json @@ -0,0 +1,11 @@ +{ + "class" : { + }, + "instance" : { + "allowsDuplicateValues" : " 10/11/2020 07:46:13", + "collectionClass" : " 10/11/2020 07:46:13", + "isExtensible" : " 10/11/2020 07:46:13", + "isHomogeneous" : " 10/11/2020 07:46:13", + "isInitializable" : " 10/11/2020 07:46:13", + "isSequenced" : " 10/11/2020 07:46:13", + "isUnique" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRSortedCollectionTest.class/properties.json b/repository/Grease-Tests-Core.package/GRSortedCollectionTest.class/properties.json index 552bf633..d6a4f9b1 100644 --- a/repository/Grease-Tests-Core.package/GRSortedCollectionTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRSortedCollectionTest.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "GRAbstractSequenceableCollectionTest", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRSortedCollectionTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRAbstractSequenceableCollectionTest", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRStringTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRStringTest.class/methodProperties.json new file mode 100644 index 00000000..760f13b1 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRStringTest.class/methodProperties.json @@ -0,0 +1,35 @@ +{ + "class" : { + }, + "instance" : { + "allowsDuplicateValues" : " 10/11/2020 07:46:13", + "arbitraryCollection" : " 10/11/2020 07:46:13", + "collectionClass" : " 10/11/2020 07:46:13", + "duplicateElement" : " 10/11/2020 07:46:13", + "excludedElement" : " 10/11/2020 07:46:13", + "includedElement" : " 10/11/2020 07:46:13", + "isExtensible" : " 10/11/2020 07:46:13", + "isHomogeneous" : " 10/11/2020 07:46:13", + "isInitializable" : " 10/11/2020 07:46:13", + "isSequenced" : " 10/11/2020 07:46:13", + "isUnique" : " 10/11/2020 07:46:13", + "testAsUppercase" : " 10/11/2020 07:46:13", + "testCapitalized" : " 10/11/2020 07:46:13", + "testCapitalizedUmlauts" : " 10/11/2020 07:46:13", + "testExcerpt" : " 10/11/2020 07:46:13", + "testExcerptEmpty" : " 10/11/2020 07:46:13", + "testExcerptLeft" : " 10/11/2020 07:46:13", + "testExcerptRight" : " 10/11/2020 07:46:13", + "testInflectorAssimilated" : " 10/11/2020 07:46:13", + "testInflectorCommonSuffixes" : " 10/11/2020 07:46:13", + "testInflectorFfffSuffixes" : " 10/11/2020 07:46:13", + "testInflectorIrregular" : " 10/11/2020 07:46:13", + "testInflectorNotInflecting" : " 10/11/2020 07:46:13", + "testInflectorTsssSuffixes" : " 10/11/2020 07:46:13", + "testInflectorYyyySuffixes" : " 10/11/2020 07:46:13", + "testSubStrings" : " 10/11/2020 07:46:13", + "testTrimBoth" : " 10/11/2020 07:46:13", + "testTrimLeft" : " 10/11/2020 07:46:13", + "testTrimRight" : " 10/11/2020 07:46:13", + "testTruncate" : " 10/11/2020 07:46:13", + "testTruncateEmpty" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRStringTest.class/properties.json b/repository/Grease-Tests-Core.package/GRStringTest.class/properties.json index 3d55c265..9a1d25ef 100644 --- a/repository/Grease-Tests-Core.package/GRStringTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRStringTest.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "GRAbstractSequenceableCollectionTest", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRStringTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRAbstractSequenceableCollectionTest", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRSymbolTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRSymbolTest.class/methodProperties.json new file mode 100644 index 00000000..8e9cbd5a --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRSymbolTest.class/methodProperties.json @@ -0,0 +1,16 @@ +{ + "class" : { + }, + "instance" : { + "allowsDuplicateValues" : " 10/11/2020 07:46:13", + "arbitraryCollection" : " 10/11/2020 07:46:13", + "collectionClass" : " 10/11/2020 07:46:13", + "duplicateElement" : " 10/11/2020 07:46:13", + "emptyCollection" : " 10/11/2020 07:46:13", + "excludedElement" : " 10/11/2020 07:46:13", + "includedElement" : " 10/11/2020 07:46:13", + "isExtensible" : " 10/11/2020 07:46:13", + "isHomogeneous" : " 10/11/2020 07:46:13", + "isInitializable" : " 10/11/2020 07:46:13", + "isSequenced" : " 10/11/2020 07:46:13", + "isUnique" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRSymbolTest.class/properties.json b/repository/Grease-Tests-Core.package/GRSymbolTest.class/properties.json index 30701521..4a752586 100644 --- a/repository/Grease-Tests-Core.package/GRSymbolTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRSymbolTest.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "GRAbstractSequenceableCollectionTest", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRSymbolTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRAbstractSequenceableCollectionTest", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRTestDynamicVariable.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRTestDynamicVariable.class/methodProperties.json new file mode 100644 index 00000000..229f970e --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRTestDynamicVariable.class/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + "defaultValue" : " 10/11/2020 07:46:13" }, + "instance" : { + } } diff --git a/repository/Grease-Tests-Core.package/GRTestDynamicVariable.class/properties.json b/repository/Grease-Tests-Core.package/GRTestDynamicVariable.class/properties.json index 45a40585..11503d89 100644 --- a/repository/Grease-Tests-Core.package/GRTestDynamicVariable.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRTestDynamicVariable.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "GRDynamicVariable", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRTestDynamicVariable", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRDynamicVariable", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRTestNotificationBasedDynamicVariable.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRTestNotificationBasedDynamicVariable.class/methodProperties.json new file mode 100644 index 00000000..229f970e --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRTestNotificationBasedDynamicVariable.class/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + "defaultValue" : " 10/11/2020 07:46:13" }, + "instance" : { + } } diff --git a/repository/Grease-Tests-Core.package/GRTestNotificationBasedDynamicVariable.class/properties.json b/repository/Grease-Tests-Core.package/GRTestNotificationBasedDynamicVariable.class/properties.json index fd4b4364..1615cf38 100644 --- a/repository/Grease-Tests-Core.package/GRTestNotificationBasedDynamicVariable.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRTestNotificationBasedDynamicVariable.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "GRNotificationBasedDynamicVariable", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRTestNotificationBasedDynamicVariable", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRNotificationBasedDynamicVariable", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRUtf8CodecTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRUtf8CodecTest.class/methodProperties.json new file mode 100644 index 00000000..bb06d4fa --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRUtf8CodecTest.class/methodProperties.json @@ -0,0 +1,13 @@ +{ + "class" : { + }, + "instance" : { + "asString:" : " 10/11/2020 07:46:13", + "decodedString" : " 10/11/2020 07:46:13", + "seasideByteArray" : " 10/11/2020 07:46:13", + "testCodecUtf8" : " 10/11/2020 07:46:13", + "testCodecUtf8Bom" : " 10/11/2020 07:46:13", + "testCodecUtf8BorderLineString" : " 10/11/2020 07:46:13", + "testCodecUtf8ShortestForm" : " 10/11/2020 07:46:13", + "testNext" : " 10/11/2020 07:46:13", + "utf8String" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRUtf8CodecTest.class/properties.json b/repository/Grease-Tests-Core.package/GRUtf8CodecTest.class/properties.json index cd88f848..fcdc58ae 100644 --- a/repository/Grease-Tests-Core.package/GRUtf8CodecTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRUtf8CodecTest.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "TestCase", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRUtf8CodecTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "TestCase", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/GRVersionTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRVersionTest.class/methodProperties.json new file mode 100644 index 00000000..77c3e7c1 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRVersionTest.class/methodProperties.json @@ -0,0 +1,12 @@ +{ + "class" : { + }, + "instance" : { + "assert:equals:" : " 10/11/2020 07:46:13", + "assert:sortsBefore:" : " 10/11/2020 07:46:13", + "buildVersion:" : " 10/11/2020 07:46:13", + "testAccessors" : " 10/11/2020 07:46:13", + "testComparison" : " 10/11/2020 07:46:13", + "testConvenience" : " 10/11/2020 07:46:13", + "testEquality" : " 10/11/2020 07:46:13", + "testStringConversion" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRVersionTest.class/properties.json b/repository/Grease-Tests-Core.package/GRVersionTest.class/properties.json index a9fac191..ada1f7ee 100644 --- a/repository/Grease-Tests-Core.package/GRVersionTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRVersionTest.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "TestCase", "category" : "Grease-Tests-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRVersionTest", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "TestCase", + "type" : "normal" } diff --git a/repository/Grease-Tests-Core.package/monticello.meta/version b/repository/Grease-Tests-Core.package/monticello.meta/version new file mode 100644 index 00000000..a186ec8e --- /dev/null +++ b/repository/Grease-Tests-Core.package/monticello.meta/version @@ -0,0 +1 @@ +(name 'Grease-Tests-Core-JohanBrichau.2' message 'Added GsContext>>namedTempAt: for compatibility; also optimized thisContext implementation' id '79dea5ec-ef75-4860-b8e8-d59a5332a652' date '12/20/2020' time '07:50:35' author 'JohanBrichau' ancestors ((name 'Grease-Tests-Core-cypress.1' message 'fabricated from a Cypress format repository' id '4dccb104-d0ea-4a47-af04-13518fa6e106' date '10/11/2020' time '23:45:35' author '' ancestors () stepChildren ())) stepChildren ()) \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/properties.json b/repository/Grease-Tests-Core.package/properties.json index 6f31cf5a..f037444a 100644 --- a/repository/Grease-Tests-Core.package/properties.json +++ b/repository/Grease-Tests-Core.package/properties.json @@ -1 +1,2 @@ -{ } \ No newline at end of file +{ + } From 3239f6f9a206822c2254b0ac2ae369fda32f31f3 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 20 Dec 2020 17:01:52 +0100 Subject: [PATCH 002/254] Revert "Added GsContext>>namedTempAt: for compatibility; also optimized thisContext implementation" This reverts commit a467e56c8c3fcfe9e4c1a83542138b7867893931. --- .../Array.extension/methodProperties.json | 5 -- .../Behavior.extension/methodProperties.json | 6 -- .../methodProperties.json | 5 -- .../ByteArray.extension/methodProperties.json | 5 -- .../Character.extension/methodProperties.json | 5 -- .../methodProperties.json | 21 ----- .../methodProperties.json | 7 -- .../Date.extension/methodProperties.json | 5 -- .../methodProperties.json | 5 -- .../methodProperties.json | 5 -- .../Duration.extension/methodProperties.json | 6 -- .../Exception.extension/methodProperties.json | 7 -- .../methodProperties.json | 8 -- .../instance/thisContext.st | 2 +- .../methodProperties.json | 49 ------------ .../methodProperties.json | 11 --- .../class/codecs.st | 3 - .../methodProperties.json | 13 ---- .../GRPackage.extension/methodProperties.json | 5 -- .../methodProperties.json | 14 ---- .../GRUtf8GemStoneCodec.class/class/codecs.st | 3 - .../methodProperties.json | 14 ---- .../GsContext.class/instance/namedTempAt..st | 3 - .../GsContext.class/methodProperties.json | 16 ---- .../Interval.extension/methodProperties.json | 5 -- .../methodProperties.json | 10 --- .../Number.extension/methodProperties.json | 5 -- .../Object.extension/methodProperties.json | 7 -- .../methodProperties.json | 5 -- .../methodProperties.json | 5 -- .../methodProperties.json | 6 -- .../String.extension/methodProperties.json | 5 -- .../Symbol.extension/methodProperties.json | 5 -- .../Symbol.extension/properties.json | 3 +- .../methodProperties.json | 7 -- .../methodProperties.json | 7 -- .../methodProperties.json | 7 -- .../methodProperties.json | 6 -- .../methodProperties.json | 5 -- .../methodProperties.json | 6 -- .../monticello.meta/version | 1 - .../Grease-Tests-Core.package/.filetree | 5 +- .../methodProperties.json | 13 ---- .../properties.json | 19 +++-- .../methodProperties.json | 17 ---- .../properties.json | 19 ++--- .../GRArrayTest.class/methodProperties.json | 11 --- .../GRArrayTest.class/properties.json | 19 ++--- .../GRBagTest.class/methodProperties.json | 8 -- .../GRBagTest.class/properties.json | 19 ++--- .../GRCodecTest.class/methodProperties.json | 18 ----- .../GRCodecTest.class/properties.json | 19 ++--- .../methodProperties.json | 24 ------ .../GRCollectionTest.class/properties.json | 19 ++--- .../methodProperties.json | 9 --- .../properties.json | 19 +++-- .../methodProperties.json | 20 ----- .../GRDelayedSendTest.class/properties.json | 19 ++--- .../methodProperties.json | 7 -- .../GRDictionaryTest.class/properties.json | 19 ++--- .../methodProperties.json | 13 ---- .../GRDurationTest.class/properties.json | 19 ++--- .../methodProperties.json | 9 --- .../properties.json | 19 ++--- .../GRErrorStub.class/methodProperties.json | 6 -- .../GRErrorStub.class/properties.json | 19 +++-- .../methodProperties.json | 20 ----- .../GRExceptionTest.class/properties.json | 19 ++--- .../methodProperties.json | 7 -- .../properties.json | 19 ++--- .../methodProperties.json | 16 ---- .../GRIntervalTest.class/properties.json | 19 ++--- .../methodProperties.json | 9 --- .../properties.json | 19 ++--- .../methodProperties.json | 7 -- .../GRNotificationStub.class/properties.json | 19 +++-- .../methodProperties.json | 15 ---- .../properties.json | 19 ++--- .../GRNumberTest.class/methodProperties.json | 10 --- .../GRNumberTest.class/properties.json | 19 ++--- .../GRObjectStub.class/methodProperties.json | 6 -- .../GRObjectStub.class/properties.json | 19 +++-- .../GRObjectTest.class/methodProperties.json | 7 -- .../GRObjectTest.class/properties.json | 19 ++--- .../methodProperties.json | 11 --- .../properties.json | 19 ++--- .../methodProperties.json | 5 -- .../properties.json | 19 ++--- .../methodProperties.json | 10 --- .../properties.json | 19 ++--- .../GRPackage.extension/methodProperties.json | 5 -- .../GRPackage.extension/properties.json | 3 +- .../GRPackageTest.class/methodProperties.json | 12 --- .../GRPackageTest.class/properties.json | 19 +++-- .../instance/testThisContext.st | 9 +++ .../methodProperties.json | 78 ------------------- .../GRPlatformTest.class/properties.json | 19 ++--- .../GRPrinterTest.class/methodProperties.json | 47 ----------- .../GRPrinterTest.class/properties.json | 19 ++--- .../methodProperties.json | 5 -- .../properties.json | 19 ++--- .../GRSetTest.class/methodProperties.json | 8 -- .../GRSetTest.class/properties.json | 19 ++--- .../methodProperties.json | 5 -- .../properties.json | 19 ++--- .../methodProperties.json | 32 -------- .../properties.json | 19 +++-- .../methodProperties.json | 15 ---- .../properties.json | 19 +++-- .../methodProperties.json | 11 --- .../properties.json | 19 ++--- .../GRStringTest.class/methodProperties.json | 35 --------- .../GRStringTest.class/properties.json | 19 ++--- .../GRSymbolTest.class/methodProperties.json | 16 ---- .../GRSymbolTest.class/properties.json | 19 ++--- .../methodProperties.json | 5 -- .../properties.json | 19 ++--- .../methodProperties.json | 5 -- .../properties.json | 19 ++--- .../methodProperties.json | 13 ---- .../GRUtf8CodecTest.class/properties.json | 19 ++--- .../GRVersionTest.class/methodProperties.json | 12 --- .../GRVersionTest.class/properties.json | 19 ++--- .../monticello.meta/version | 1 - .../Grease-Tests-Core.package/properties.json | 3 +- 125 files changed, 338 insertions(+), 1324 deletions(-) delete mode 100644 repository/Grease-GemStone-Core.package/Array.extension/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/Behavior.extension/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/BinaryFloat.extension/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/ByteArray.extension/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/Character.extension/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/CharacterCollection.extension/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/Collection.extension/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/Date.extension/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/Dictionary.extension/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/DoubleByteString.extension/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/Duration.extension/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/Exception.extension/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/GRDynamicVariable.class/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/GRGemStoneRandomProvider.class/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/GRLatin1GemStoneCodec.class/class/codecs.st delete mode 100644 repository/Grease-GemStone-Core.package/GRLatin1GemStoneCodec.class/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/GRPackage.extension/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/GRTextOrBinaryCodecStream.class/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/GRUtf8GemStoneCodec.class/class/codecs.st delete mode 100644 repository/Grease-GemStone-Core.package/GRUtf8GemStoneCodec.class/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/GsContext.class/instance/namedTempAt..st delete mode 100644 repository/Grease-GemStone-Core.package/GsContext.class/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/Interval.extension/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/MessageSend.extension/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/Number.extension/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/Object.extension/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/PackageInfo.extension/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/PositionableStream.extension/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/SequenceableCollection.extension/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/String.extension/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/Symbol.extension/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/SystemAbortTransaction.class/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/SystemBeginTransaction.class/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/SystemCommitTransaction.class/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/SystemTransactionNotification.class/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/UnorderedCollection.extension/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/WriteStream.extension/methodProperties.json delete mode 100644 repository/Grease-GemStone-Core.package/monticello.meta/version delete mode 100644 repository/Grease-Tests-Core.package/GRAbstractDictionaryTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRAbstractSequenceableCollectionTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRArrayTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRBagTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRCodecTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRCollectionTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRCountingStreamTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRDelayedSendTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRDictionaryTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRDurationTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRDynamicVariableTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRErrorStub.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRExceptionTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRIdentityDictionaryTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRIntervalTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRNotificationBasedDynamicVariableTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRNotificationStub.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRNullCodecStreamTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRNumberTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRObjectStub.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRObjectTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GROrderedCollectionTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GROrderedMultiMap2Test.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GROrderedMultiMapTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRPackage.extension/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRPackageTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testThisContext.st delete mode 100644 repository/Grease-Tests-Core.package/GRPlatformTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRPrinterTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRReducedConflictDictionaryTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRSetTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRSmallDictionary2Test.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRSmallDictionaryTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRSmallOrderedSetTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRSortedCollectionTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRStringTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRSymbolTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRTestDynamicVariable.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRTestNotificationBasedDynamicVariable.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRUtf8CodecTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/GRVersionTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Core.package/monticello.meta/version diff --git a/repository/Grease-GemStone-Core.package/Array.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/Array.extension/methodProperties.json deleted file mode 100644 index 6142915c..00000000 --- a/repository/Grease-GemStone-Core.package/Array.extension/methodProperties.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "beMutable" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/Behavior.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/Behavior.extension/methodProperties.json deleted file mode 100644 index 63647c72..00000000 --- a/repository/Grease-GemStone-Core.package/Behavior.extension/methodProperties.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "fullName" : " 10/11/2020 07:23:50", - "removeSelectorSilently:" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/BinaryFloat.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/BinaryFloat.extension/methodProperties.json deleted file mode 100644 index e505f664..00000000 --- a/repository/Grease-GemStone-Core.package/BinaryFloat.extension/methodProperties.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "greaseString" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/ByteArray.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/ByteArray.extension/methodProperties.json deleted file mode 100644 index e505f664..00000000 --- a/repository/Grease-GemStone-Core.package/ByteArray.extension/methodProperties.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "greaseString" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/Character.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/Character.extension/methodProperties.json deleted file mode 100644 index 49bbc162..00000000 --- a/repository/Grease-GemStone-Core.package/Character.extension/methodProperties.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "greaseInteger" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/CharacterCollection.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/CharacterCollection.extension/methodProperties.json deleted file mode 100644 index f486ec75..00000000 --- a/repository/Grease-GemStone-Core.package/CharacterCollection.extension/methodProperties.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "excerpt:" : " 10/11/2020 07:23:50", - "excerpt:radius:" : " 10/11/2020 07:23:50", - "excerpt:radius:ellipsis:" : " 10/11/2020 07:23:50", - "greaseInteger" : " 10/11/2020 07:23:50", - "pluralize" : " 10/11/2020 07:23:50", - "print:on:" : " 10/11/2020 07:23:50", - "substrings:" : " 10/11/2020 07:23:50", - "trimBoth" : " 10/11/2020 07:23:50", - "trimBoth:" : " 10/11/2020 07:23:50", - "trimLeft" : " 10/11/2020 07:23:50", - "trimLeft:" : " 10/11/2020 07:23:50", - "trimLeft:right:" : " 10/11/2020 07:23:50", - "trimRight" : " 10/11/2020 07:23:50", - "trimRight:" : " 10/11/2020 07:23:50", - "truncate" : " 10/11/2020 07:23:50", - "truncate:" : " 10/11/2020 07:23:50", - "truncate:ellipsis:" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/Collection.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/Collection.extension/methodProperties.json deleted file mode 100644 index d5d64984..00000000 --- a/repository/Grease-GemStone-Core.package/Collection.extension/methodProperties.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "any" : " 10/11/2020 07:23:50", - "sorted" : " 10/11/2020 07:23:50", - "sorted:" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/Date.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/Date.extension/methodProperties.json deleted file mode 100644 index 51458723..00000000 --- a/repository/Grease-GemStone-Core.package/Date.extension/methodProperties.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "class" : { - "daysInMonthNumber:forYear:" : " 10/11/2020 07:23:50" }, - "instance" : { - } } diff --git a/repository/Grease-GemStone-Core.package/Dictionary.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/Dictionary.extension/methodProperties.json deleted file mode 100644 index 59c1f401..00000000 --- a/repository/Grease-GemStone-Core.package/Dictionary.extension/methodProperties.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "copyFrom:" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/DoubleByteString.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/DoubleByteString.extension/methodProperties.json deleted file mode 100644 index e505f664..00000000 --- a/repository/Grease-GemStone-Core.package/DoubleByteString.extension/methodProperties.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "greaseString" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/Duration.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/Duration.extension/methodProperties.json deleted file mode 100644 index 135f996d..00000000 --- a/repository/Grease-GemStone-Core.package/Duration.extension/methodProperties.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "class" : { - "milliseconds:" : " 10/11/2020 07:23:50" }, - "instance" : { - "asMilliseconds" : " 10/11/2020 07:23:50", - "milliseconds" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/Exception.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/Exception.extension/methodProperties.json deleted file mode 100644 index 0bec5698..00000000 --- a/repository/Grease-GemStone-Core.package/Exception.extension/methodProperties.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "class" : { - "raiseSignal" : " 10/11/2020 07:23:50", - "raiseSignal:" : " 10/11/2020 07:23:50" }, - "instance" : { - "raiseSignal" : " 10/11/2020 07:23:50", - "raiseSignal:" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/GRDynamicVariable.class/methodProperties.json b/repository/Grease-GemStone-Core.package/GRDynamicVariable.class/methodProperties.json deleted file mode 100644 index 03da5426..00000000 --- a/repository/Grease-GemStone-Core.package/GRDynamicVariable.class/methodProperties.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "class" : { - "default" : " 10/11/2020 07:23:50", - "defaultValue" : " 10/11/2020 07:23:50", - "use:during:" : " 10/11/2020 07:23:50", - "value" : " 10/11/2020 07:23:50" }, - "instance" : { - } } diff --git a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/thisContext.st b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/thisContext.st index 50e2a5b0..44dc34ca 100644 --- a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/thisContext.st +++ b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/thisContext.st @@ -1,3 +1,3 @@ *grease-gemstone-core thisContext - ^ GsContext fromLevel: 3 \ No newline at end of file + ^ (GsContext fromLevel: 1) sender sender \ No newline at end of file diff --git a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/methodProperties.json b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/methodProperties.json deleted file mode 100644 index b777857a..00000000 --- a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/methodProperties.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "class" : { - "initialize" : " 10/11/2020 07:23:50", - "unload" : " 10/11/2020 07:23:50" }, - "instance" : { - "addToShutDownList:" : " 10/11/2020 07:23:50", - "addToStartUpList:" : " 10/11/2020 07:23:50", - "asMethodReturningByteArray:named:" : " 10/11/2020 07:23:50", - "asMethodReturningString:named:" : " 10/11/2020 07:23:50", - "base64Decode:" : " 10/11/2020 07:23:50", - "compile:into:classified:" : " 10/11/2020 07:23:50", - "contentsOfFile:binary:" : " 10/11/2020 07:23:50", - "defaultDispatcherName" : " 10/11/2020 07:23:50", - "deprecationExceptionSet" : " 10/11/2020 07:23:50", - "directoriesIn:" : " 10/11/2020 07:23:50", - "doAbortTransaction" : " 10/11/2020 07:23:50", - "doBeginTransaction" : " 10/11/2020 07:23:50", - "doCommitTransaction" : " 10/11/2020 07:23:50", - "doTransaction:" : " 10/11/2020 07:23:50", - "ensureExistenceOfFolder:" : " 10/11/2020 07:23:50", - "fileExists:" : " 10/11/2020 07:23:50", - "fileStreamOn:do:binary:" : " 10/11/2020 07:23:50", - "filesIn:" : " 10/11/2020 07:23:50", - "isProcessTerminated:" : " 10/11/2020 07:23:50", - "label" : " 10/11/2020 07:23:50", - "localNameOf:" : " 10/11/2020 07:23:50", - "logError:title:" : " 10/11/2020 07:23:50", - "logError:title:shouldCommit:" : " 10/11/2020 07:23:50", - "newRandom" : " 10/11/2020 07:23:50", - "newline" : " 10/11/2020 07:23:50", - "openDebuggerOn:" : " 10/11/2020 07:23:50", - "pathSeparator" : " 10/11/2020 07:23:50", - "readWriteByteStream" : " 10/11/2020 07:23:50", - "readWriteCharacterStream" : " 10/11/2020 07:23:50", - "reducedConflictDictionary" : " 10/11/2020 07:23:50", - "removeFromShutDownList:" : " 10/11/2020 07:23:50", - "removeFromStartUpList:" : " 10/11/2020 07:23:50", - "removeSelector:from:" : " 10/11/2020 07:23:50", - "saveLogEntry:shouldCommit:" : " 10/11/2020 07:23:50", - "secureHashFor:" : " 10/11/2020 07:23:50", - "semaphoreClass" : " 10/11/2020 07:23:50", - "smtpServer" : " 10/11/2020 07:23:50", - "stackDepth" : " 10/11/2020 07:23:50", - "terminateProcess:" : " 10/11/2020 07:23:50", - "thisContext" : "JohanBrichau 12/20/2020 07:48", - "transactionMutex" : " 10/11/2020 07:23:50", - "weakDictionaryOfSize:" : " 10/11/2020 07:23:50", - "write:toFile:inFolder:" : " 10/11/2020 07:23:50", - "writeCharacterStreamOn:" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/GRGemStoneRandomProvider.class/methodProperties.json b/repository/Grease-GemStone-Core.package/GRGemStoneRandomProvider.class/methodProperties.json deleted file mode 100644 index 0d1cce31..00000000 --- a/repository/Grease-GemStone-Core.package/GRGemStoneRandomProvider.class/methodProperties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "class" : { - "generator" : " 10/11/2020 07:23:50", - "initialize" : " 10/11/2020 07:23:50", - "mutex" : " 10/11/2020 07:23:50", - "nextInt:" : " 10/11/2020 07:23:50", - "randomClass" : " 10/11/2020 07:23:50", - "randomFrom:" : " 10/11/2020 07:23:50", - "sessionStart" : " 10/11/2020 07:23:50" }, - "instance" : { - } } diff --git a/repository/Grease-GemStone-Core.package/GRLatin1GemStoneCodec.class/class/codecs.st b/repository/Grease-GemStone-Core.package/GRLatin1GemStoneCodec.class/class/codecs.st deleted file mode 100644 index 444b99e4..00000000 --- a/repository/Grease-GemStone-Core.package/GRLatin1GemStoneCodec.class/class/codecs.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -codecs - ^ Array with: self new \ No newline at end of file diff --git a/repository/Grease-GemStone-Core.package/GRLatin1GemStoneCodec.class/methodProperties.json b/repository/Grease-GemStone-Core.package/GRLatin1GemStoneCodec.class/methodProperties.json deleted file mode 100644 index 4602091a..00000000 --- a/repository/Grease-GemStone-Core.package/GRLatin1GemStoneCodec.class/methodProperties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "class" : { - "basicForEncoding:" : " 10/11/2020 07:23:50", - "codecs" : "JohanBrichau 11/14/2020 01:32", - "supportsEncoding:" : " 10/11/2020 07:23:50" }, - "instance" : { - "decode:" : " 10/11/2020 07:23:50", - "encode:" : " 10/11/2020 07:23:50", - "encodeUrl:" : " 10/11/2020 07:23:50", - "encoderFor:" : " 10/11/2020 07:23:50", - "name" : " 10/11/2020 07:23:50", - "name:" : " 10/11/2020 07:23:50", - "url" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/GRPackage.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/GRPackage.extension/methodProperties.json deleted file mode 100644 index fa6adaf7..00000000 --- a/repository/Grease-GemStone-Core.package/GRPackage.extension/methodProperties.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "class" : { - "greaseGemStoneCore" : " 10/11/2020 07:23:50" }, - "instance" : { - "gemstoneUrl" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/GRTextOrBinaryCodecStream.class/methodProperties.json b/repository/Grease-GemStone-Core.package/GRTextOrBinaryCodecStream.class/methodProperties.json deleted file mode 100644 index 1ad664ab..00000000 --- a/repository/Grease-GemStone-Core.package/GRTextOrBinaryCodecStream.class/methodProperties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "binary" : " 10/11/2020 07:23:50", - "contents" : " 10/11/2020 07:23:50", - "flush" : " 10/11/2020 07:23:50", - "initializeOn:" : " 10/11/2020 07:23:50", - "next" : " 10/11/2020 07:23:50", - "next:" : " 10/11/2020 07:23:50", - "nextPut:" : " 10/11/2020 07:23:50", - "nextPutAll:" : " 10/11/2020 07:23:50", - "size" : " 10/11/2020 07:23:50", - "text" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/GRUtf8GemStoneCodec.class/class/codecs.st b/repository/Grease-GemStone-Core.package/GRUtf8GemStoneCodec.class/class/codecs.st deleted file mode 100644 index 444b99e4..00000000 --- a/repository/Grease-GemStone-Core.package/GRUtf8GemStoneCodec.class/class/codecs.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -codecs - ^ Array with: self new \ No newline at end of file diff --git a/repository/Grease-GemStone-Core.package/GRUtf8GemStoneCodec.class/methodProperties.json b/repository/Grease-GemStone-Core.package/GRUtf8GemStoneCodec.class/methodProperties.json deleted file mode 100644 index afa3cceb..00000000 --- a/repository/Grease-GemStone-Core.package/GRUtf8GemStoneCodec.class/methodProperties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "class" : { - "basicForEncoding:" : " 10/11/2020 07:23:50", - "codecs" : "JohanBrichau 11/14/2020 01:33", - "supportsEncoding:" : " 10/11/2020 07:23:50" }, - "instance" : { - "decode:" : " 10/11/2020 07:23:50", - "decoderFor:" : " 10/11/2020 07:23:50", - "encode:" : " 10/11/2020 07:23:50", - "encodeUrl:" : " 10/11/2020 07:23:50", - "encoderFor:" : " 10/11/2020 07:23:50", - "initialize" : " 10/11/2020 07:23:50", - "name" : " 10/11/2020 07:23:50", - "url" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/GsContext.class/instance/namedTempAt..st b/repository/Grease-GemStone-Core.package/GsContext.class/instance/namedTempAt..st deleted file mode 100644 index 4ca86721..00000000 --- a/repository/Grease-GemStone-Core.package/GsContext.class/instance/namedTempAt..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -namedTempAt: index - ^ self tempAt: index \ No newline at end of file diff --git a/repository/Grease-GemStone-Core.package/GsContext.class/methodProperties.json b/repository/Grease-GemStone-Core.package/GsContext.class/methodProperties.json deleted file mode 100644 index 23ef2865..00000000 --- a/repository/Grease-GemStone-Core.package/GsContext.class/methodProperties.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "class" : { - "fromContinuation:atLevel:" : " 10/11/2020 07:23:50", - "fromLevel:" : " 10/11/2020 07:23:50" }, - "instance" : { - "=" : " 10/11/2020 07:23:50", - "asString" : " 10/11/2020 07:23:50", - "continuation:level:" : " 10/11/2020 07:23:50", - "fullPrintString" : " 10/11/2020 07:23:50", - "greaseString" : " 10/11/2020 07:23:50", - "method" : " 10/11/2020 07:23:50", - "namedTempAt:" : "JohanBrichau 12/20/2020 06:33", - "receiver" : " 10/11/2020 07:23:50", - "sender" : " 10/11/2020 07:23:50", - "tempAt:" : " 10/11/2020 07:23:50", - "tempNames" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/Interval.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/Interval.extension/methodProperties.json deleted file mode 100644 index 9febe955..00000000 --- a/repository/Grease-GemStone-Core.package/Interval.extension/methodProperties.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "any" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/MessageSend.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/MessageSend.extension/methodProperties.json deleted file mode 100644 index 3da0ba03..00000000 --- a/repository/Grease-GemStone-Core.package/MessageSend.extension/methodProperties.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "argumentCount" : " 10/11/2020 07:23:50", - "evaluateWithArguments:" : " 10/11/2020 07:23:50", - "value:" : " 10/11/2020 07:23:50", - "value:value:" : " 10/11/2020 07:23:50", - "valueWithPossibleArgument:" : " 10/11/2020 07:23:50", - "valueWithPossibleArguments:" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/Number.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/Number.extension/methodProperties.json deleted file mode 100644 index 782276fc..00000000 --- a/repository/Grease-GemStone-Core.package/Number.extension/methodProperties.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "milliseconds" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/Object.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/Object.extension/methodProperties.json deleted file mode 100644 index 448d57b5..00000000 --- a/repository/Grease-GemStone-Core.package/Object.extension/methodProperties.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "displayString" : " 10/11/2020 07:23:50", - "greaseString" : " 10/11/2020 07:23:50", - "isMessageSend" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/PackageInfo.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/PackageInfo.extension/methodProperties.json deleted file mode 100644 index 72079dc1..00000000 --- a/repository/Grease-GemStone-Core.package/PackageInfo.extension/methodProperties.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "versionString" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/PositionableStream.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/PositionableStream.extension/methodProperties.json deleted file mode 100644 index 6cd2688f..00000000 --- a/repository/Grease-GemStone-Core.package/PositionableStream.extension/methodProperties.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "greaseUpToAll:" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/SequenceableCollection.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/SequenceableCollection.extension/methodProperties.json deleted file mode 100644 index 2d4f2a67..00000000 --- a/repository/Grease-GemStone-Core.package/SequenceableCollection.extension/methodProperties.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "beginsWithSubCollection:" : " 10/11/2020 07:23:50", - "endsWithSubCollection:" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/String.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/String.extension/methodProperties.json deleted file mode 100644 index 663f83c7..00000000 --- a/repository/Grease-GemStone-Core.package/String.extension/methodProperties.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "class" : { - "fromString:" : " 10/11/2020 07:23:50" }, - "instance" : { - } } diff --git a/repository/Grease-GemStone-Core.package/Symbol.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/Symbol.extension/methodProperties.json deleted file mode 100644 index 6db43052..00000000 --- a/repository/Grease-GemStone-Core.package/Symbol.extension/methodProperties.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "greaseAsMutator" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/Symbol.extension/properties.json b/repository/Grease-GemStone-Core.package/Symbol.extension/properties.json index 565e67b0..8c6bce81 100644 --- a/repository/Grease-GemStone-Core.package/Symbol.extension/properties.json +++ b/repository/Grease-GemStone-Core.package/Symbol.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "Symbol" } + "name" : "Symbol" +} \ No newline at end of file diff --git a/repository/Grease-GemStone-Core.package/SystemAbortTransaction.class/methodProperties.json b/repository/Grease-GemStone-Core.package/SystemAbortTransaction.class/methodProperties.json deleted file mode 100644 index cc8beed9..00000000 --- a/repository/Grease-GemStone-Core.package/SystemAbortTransaction.class/methodProperties.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "alternatives" : " 10/11/2020 07:23:50", - "defaultAction" : " 10/11/2020 07:23:50", - "transaction" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/SystemBeginTransaction.class/methodProperties.json b/repository/Grease-GemStone-Core.package/SystemBeginTransaction.class/methodProperties.json deleted file mode 100644 index cc8beed9..00000000 --- a/repository/Grease-GemStone-Core.package/SystemBeginTransaction.class/methodProperties.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "alternatives" : " 10/11/2020 07:23:50", - "defaultAction" : " 10/11/2020 07:23:50", - "transaction" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/SystemCommitTransaction.class/methodProperties.json b/repository/Grease-GemStone-Core.package/SystemCommitTransaction.class/methodProperties.json deleted file mode 100644 index cc8beed9..00000000 --- a/repository/Grease-GemStone-Core.package/SystemCommitTransaction.class/methodProperties.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "alternatives" : " 10/11/2020 07:23:50", - "defaultAction" : " 10/11/2020 07:23:50", - "transaction" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/SystemTransactionNotification.class/methodProperties.json b/repository/Grease-GemStone-Core.package/SystemTransactionNotification.class/methodProperties.json deleted file mode 100644 index c4e1ea4b..00000000 --- a/repository/Grease-GemStone-Core.package/SystemTransactionNotification.class/methodProperties.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "alternatives" : " 10/11/2020 07:23:50", - "transaction" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/UnorderedCollection.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/UnorderedCollection.extension/methodProperties.json deleted file mode 100644 index 59c1f401..00000000 --- a/repository/Grease-GemStone-Core.package/UnorderedCollection.extension/methodProperties.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "copyFrom:" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/WriteStream.extension/methodProperties.json b/repository/Grease-GemStone-Core.package/WriteStream.extension/methodProperties.json deleted file mode 100644 index 46831332..00000000 --- a/repository/Grease-GemStone-Core.package/WriteStream.extension/methodProperties.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "crlf" : " 10/11/2020 07:23:50", - "greaseNext:putAll:startingAt:" : " 10/11/2020 07:23:50" } } diff --git a/repository/Grease-GemStone-Core.package/monticello.meta/version b/repository/Grease-GemStone-Core.package/monticello.meta/version deleted file mode 100644 index 8e3242d4..00000000 --- a/repository/Grease-GemStone-Core.package/monticello.meta/version +++ /dev/null @@ -1 +0,0 @@ -(name 'Grease-GemStone-Core-JohanBrichau.3' message 'Added GsContext>>namedTempAt: for compatibility; also optimized thisContext implementation' id '199bb7c8-e012-4136-a341-6031acbacfbf' date '12/20/2020' time '07:50:35' author 'JohanBrichau' ancestors ((name 'Grease-GemStone-Core-JohanBrichau.2' message 'added missing ''codecs'' class methods' id '94ddc763-47ef-46d8-9e1d-6a889151ffc5' date '11/14/2020' time '01:37:12' author 'JohanBrichau' ancestors ((name 'Grease-GemStone-Core-cypress.1' message 'fabricated from a Cypress format repository' id '7542e591-944f-48c5-b722-18562c0f475d' date '10/11/2020' time '23:45:35' author '' ancestors () stepChildren ())) stepChildren ())) stepChildren ()) \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/.filetree b/repository/Grease-Tests-Core.package/.filetree index 8998102c..57a67973 100644 --- a/repository/Grease-Tests-Core.package/.filetree +++ b/repository/Grease-Tests-Core.package/.filetree @@ -1,4 +1,5 @@ { - "noMethodMetaData" : true, "separateMethodMetaAndSource" : false, - "useCypressPropertiesFile" : true } + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRAbstractDictionaryTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRAbstractDictionaryTest.class/methodProperties.json deleted file mode 100644 index 86751b14..00000000 --- a/repository/Grease-Tests-Core.package/GRAbstractDictionaryTest.class/methodProperties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "class" : { - "isAbstract" : " 10/11/2020 07:46:13" }, - "instance" : { - "allowsDuplicateValues" : " 10/11/2020 07:46:13", - "arbitraryAssociations" : " 10/11/2020 07:46:13", - "arbitraryCollection" : " 10/11/2020 07:46:13", - "createArbitraryAssociations" : " 10/11/2020 07:46:13", - "isExtensible" : " 10/11/2020 07:46:13", - "isInitializable" : " 10/11/2020 07:46:13", - "isKey:equivalentTo:" : " 10/11/2020 07:46:13", - "testAssociationsDo" : " 10/11/2020 07:46:13", - "valuesOf:" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRAbstractDictionaryTest.class/properties.json b/repository/Grease-Tests-Core.package/GRAbstractDictionaryTest.class/properties.json index 411a97eb..e4372492 100644 --- a/repository/Grease-Tests-Core.package/GRAbstractDictionaryTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRAbstractDictionaryTest.class/properties.json @@ -1,14 +1,13 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", + "super" : "GRCollectionTest", + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], "instvars" : [ - "associations" ], + "associations" + ], "name" : "GRAbstractDictionaryTest", - "pools" : [ - ], - "super" : "GRCollectionTest", - "type" : "normal" } + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRAbstractSequenceableCollectionTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRAbstractSequenceableCollectionTest.class/methodProperties.json deleted file mode 100644 index 2c4ba659..00000000 --- a/repository/Grease-Tests-Core.package/GRAbstractSequenceableCollectionTest.class/methodProperties.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "class" : { - "isAbstract" : " 10/11/2020 07:46:13" }, - "instance" : { - "isHomogeneous" : " 10/11/2020 07:46:13", - "isSequenced" : " 10/11/2020 07:46:13", - "isUnique" : " 10/11/2020 07:46:13", - "testAddFirst" : " 10/11/2020 07:46:13", - "testBeginsWithEmptySubCollection" : " 10/11/2020 07:46:13", - "testBeginsWithSubCollection" : " 10/11/2020 07:46:13", - "testCopyAfter" : " 10/11/2020 07:46:13", - "testCopyAfterLast" : " 10/11/2020 07:46:13", - "testCopyUpTo" : " 10/11/2020 07:46:13", - "testCopyUpToLast" : " 10/11/2020 07:46:13", - "testEndsWithEmptySubCollection" : " 10/11/2020 07:46:13", - "testEndsWithSubCollection" : " 10/11/2020 07:46:13", - "testSort" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRAbstractSequenceableCollectionTest.class/properties.json b/repository/Grease-Tests-Core.package/GRAbstractSequenceableCollectionTest.class/properties.json index 3d82a448..9bd277c8 100644 --- a/repository/Grease-Tests-Core.package/GRAbstractSequenceableCollectionTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRAbstractSequenceableCollectionTest.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRAbstractSequenceableCollectionTest", - "pools" : [ - ], "super" : "GRCollectionTest", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRAbstractSequenceableCollectionTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRArrayTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRArrayTest.class/methodProperties.json deleted file mode 100644 index 7e5b19e2..00000000 --- a/repository/Grease-Tests-Core.package/GRArrayTest.class/methodProperties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "allowsDuplicateValues" : " 10/11/2020 07:46:13", - "collectionClass" : " 10/11/2020 07:46:13", - "isExtensible" : " 10/11/2020 07:46:13", - "isHomogeneous" : " 10/11/2020 07:46:13", - "isInitializable" : " 10/11/2020 07:46:13", - "isSequenced" : " 10/11/2020 07:46:13", - "isUnique" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRArrayTest.class/properties.json b/repository/Grease-Tests-Core.package/GRArrayTest.class/properties.json index 20a70d30..88dc04c7 100644 --- a/repository/Grease-Tests-Core.package/GRArrayTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRArrayTest.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRArrayTest", - "pools" : [ - ], "super" : "GRAbstractSequenceableCollectionTest", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRArrayTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRBagTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRBagTest.class/methodProperties.json deleted file mode 100644 index cd7e7c94..00000000 --- a/repository/Grease-Tests-Core.package/GRBagTest.class/methodProperties.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "allowsDuplicateValues" : " 10/11/2020 07:46:13", - "collectionClass" : " 10/11/2020 07:46:13", - "isExtensible" : " 10/11/2020 07:46:13", - "isInitializable" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRBagTest.class/properties.json b/repository/Grease-Tests-Core.package/GRBagTest.class/properties.json index 613a8d4f..cc4f30e7 100644 --- a/repository/Grease-Tests-Core.package/GRBagTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRBagTest.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRBagTest", - "pools" : [ - ], "super" : "GRCollectionTest", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRBagTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRCodecTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRCodecTest.class/methodProperties.json deleted file mode 100644 index 04c76780..00000000 --- a/repository/Grease-Tests-Core.package/GRCodecTest.class/methodProperties.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "asString:" : " 10/11/2020 07:46:13", - "decodedString" : " 10/11/2020 07:46:13", - "latin1String" : " 10/11/2020 07:46:13", - "macromanString" : " 10/11/2020 07:46:13", - "seasideByteArray" : " 10/11/2020 07:46:13", - "testAllCodecs" : " 10/11/2020 07:46:13", - "testCodecLatin1" : " 10/11/2020 07:46:13", - "testCodecLatin1BorderLineString" : " 10/11/2020 07:46:13", - "testNext" : " 10/11/2020 07:46:13", - "testNullCodec" : " 10/11/2020 07:46:13", - "testReset" : " 10/11/2020 07:46:13", - "utf16beString" : " 10/11/2020 07:46:13", - "utf16leString" : " 10/11/2020 07:46:13", - "utf8String" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRCodecTest.class/properties.json b/repository/Grease-Tests-Core.package/GRCodecTest.class/properties.json index 2e3c0f41..9d2dd967 100644 --- a/repository/Grease-Tests-Core.package/GRCodecTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRCodecTest.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRCodecTest", - "pools" : [ - ], "super" : "TestCase", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRCodecTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRCollectionTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRCollectionTest.class/methodProperties.json deleted file mode 100644 index 092fea87..00000000 --- a/repository/Grease-Tests-Core.package/GRCollectionTest.class/methodProperties.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "class" : { - "isAbstract" : " 10/11/2020 07:46:13" }, - "instance" : { - "allowsDuplicateValues" : " 10/11/2020 07:46:13", - "arbitraryCollection" : " 10/11/2020 07:46:13", - "assert:sortedWith:" : " 10/11/2020 07:46:13", - "assert:validSequencedNewResponseFrom:" : " 10/11/2020 07:46:13", - "assert:validSequencedResponseFrom:" : " 10/11/2020 07:46:13", - "collectionClass" : " 10/11/2020 07:46:13", - "duplicateElement" : " 10/11/2020 07:46:13", - "emptyCollection" : " 10/11/2020 07:46:13", - "excludedElement" : " 10/11/2020 07:46:13", - "includedElement" : " 10/11/2020 07:46:13", - "isExtensible" : " 10/11/2020 07:46:13", - "isInitializable" : " 10/11/2020 07:46:13", - "isValidNewSequencedResponseClass:" : " 10/11/2020 07:46:13", - "testAny" : " 10/11/2020 07:46:13", - "testEmptyAny" : " 10/11/2020 07:46:13", - "testIsCollection" : " 10/11/2020 07:46:13", - "testNoneSatisfy" : " 10/11/2020 07:46:13", - "testNotEmpty" : " 10/11/2020 07:46:13", - "testSorted" : " 10/11/2020 07:46:13", - "valuesOf:" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRCollectionTest.class/properties.json b/repository/Grease-Tests-Core.package/GRCollectionTest.class/properties.json index e9ffee07..fcb96e78 100644 --- a/repository/Grease-Tests-Core.package/GRCollectionTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRCollectionTest.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRCollectionTest", - "pools" : [ - ], "super" : "TestCase", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRCollectionTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRCountingStreamTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRCountingStreamTest.class/methodProperties.json deleted file mode 100644 index 83a9828b..00000000 --- a/repository/Grease-Tests-Core.package/GRCountingStreamTest.class/methodProperties.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "setUp" : " 10/11/2020 07:46:13", - "testInitialSize" : " 10/11/2020 07:46:13", - "testNextPut" : " 10/11/2020 07:46:13", - "testNextPutAll" : " 10/11/2020 07:46:13", - "testReset" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRCountingStreamTest.class/properties.json b/repository/Grease-Tests-Core.package/GRCountingStreamTest.class/properties.json index f9424d2a..eb816ded 100644 --- a/repository/Grease-Tests-Core.package/GRCountingStreamTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRCountingStreamTest.class/properties.json @@ -1,14 +1,13 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", + "super" : "TestCase", + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], "instvars" : [ - "countingStream" ], + "countingStream" + ], "name" : "GRCountingStreamTest", - "pools" : [ - ], - "super" : "TestCase", - "type" : "normal" } + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRDelayedSendTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRDelayedSendTest.class/methodProperties.json deleted file mode 100644 index 64880a87..00000000 --- a/repository/Grease-Tests-Core.package/GRDelayedSendTest.class/methodProperties.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "testArgumentCount" : " 10/11/2020 07:46:13", - "testValueBinary" : " 10/11/2020 07:46:13", - "testValueKeyword" : " 10/11/2020 07:46:13", - "testValueUnary" : " 10/11/2020 07:46:13", - "testValueValueBinary" : " 10/11/2020 07:46:13", - "testValueValueKeyword" : " 10/11/2020 07:46:13", - "testValueValueUnary" : " 10/11/2020 07:46:13", - "testValueWithArgumentBinary" : " 10/11/2020 07:46:13", - "testValueWithArgumentKeyword" : " 10/11/2020 07:46:13", - "testValueWithArgumentUnary" : " 10/11/2020 07:46:13", - "testValueWithArgumentsBinary" : " 10/11/2020 07:46:13", - "testValueWithArgumentsKeyword" : " 10/11/2020 07:46:13", - "testValueWithArgumentsUnary" : " 10/11/2020 07:46:13", - "testValueWithPossibleArgumentsBinary" : " 10/11/2020 07:46:13", - "testValueWithPossibleArgumentsKeyword" : " 10/11/2020 07:46:13", - "testValueWithPossibleArgumentsUnary" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRDelayedSendTest.class/properties.json b/repository/Grease-Tests-Core.package/GRDelayedSendTest.class/properties.json index 7e031b6e..79645fd3 100644 --- a/repository/Grease-Tests-Core.package/GRDelayedSendTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRDelayedSendTest.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRDelayedSendTest", - "pools" : [ - ], "super" : "TestCase", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRDelayedSendTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRDictionaryTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRDictionaryTest.class/methodProperties.json deleted file mode 100644 index da438bd0..00000000 --- a/repository/Grease-Tests-Core.package/GRDictionaryTest.class/methodProperties.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "collectionClass" : " 10/11/2020 07:46:13", - "createArbitraryAssociations" : " 10/11/2020 07:46:13", - "isKey:equivalentTo:" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRDictionaryTest.class/properties.json b/repository/Grease-Tests-Core.package/GRDictionaryTest.class/properties.json index 7eb7cb24..15006d3a 100644 --- a/repository/Grease-Tests-Core.package/GRDictionaryTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRDictionaryTest.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRDictionaryTest", - "pools" : [ - ], "super" : "GRAbstractDictionaryTest", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRDictionaryTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRDurationTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRDurationTest.class/methodProperties.json deleted file mode 100644 index b66a2996..00000000 --- a/repository/Grease-Tests-Core.package/GRDurationTest.class/methodProperties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "testAccessors" : " 10/11/2020 07:46:13", - "testBasicInstanceCreation" : " 10/11/2020 07:46:13", - "testConversions" : " 10/11/2020 07:46:13", - "testIntegerConvenienceMethods" : " 10/11/2020 07:46:13", - "testMixedInstanceCreation" : " 10/11/2020 07:46:13", - "testNegativeInstanceCreation" : " 10/11/2020 07:46:13", - "testPartialSecondsInstanceCreation" : " 10/11/2020 07:46:13", - "testRolloverInstanceCreation" : " 10/11/2020 07:46:13", - "testZero" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRDurationTest.class/properties.json b/repository/Grease-Tests-Core.package/GRDurationTest.class/properties.json index 8e026953..e05909ba 100644 --- a/repository/Grease-Tests-Core.package/GRDurationTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRDurationTest.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRDurationTest", - "pools" : [ - ], "super" : "TestCase", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRDurationTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRDynamicVariableTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRDynamicVariableTest.class/methodProperties.json deleted file mode 100644 index 4204a28a..00000000 --- a/repository/Grease-Tests-Core.package/GRDynamicVariableTest.class/methodProperties.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "testAnswer" : " 10/11/2020 07:46:13", - "testDefaultValue" : " 10/11/2020 07:46:13", - "testWithNestedValue" : " 10/11/2020 07:46:13", - "testWithValue" : " 10/11/2020 07:46:13", - "testWithoutValue" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRDynamicVariableTest.class/properties.json b/repository/Grease-Tests-Core.package/GRDynamicVariableTest.class/properties.json index cad5121f..4a7a9ccb 100644 --- a/repository/Grease-Tests-Core.package/GRDynamicVariableTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRDynamicVariableTest.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRDynamicVariableTest", - "pools" : [ - ], "super" : "TestCase", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRDynamicVariableTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRErrorStub.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRErrorStub.class/methodProperties.json deleted file mode 100644 index adfab69a..00000000 --- a/repository/Grease-Tests-Core.package/GRErrorStub.class/methodProperties.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "foo" : " 10/11/2020 07:46:13", - "initialize" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRErrorStub.class/properties.json b/repository/Grease-Tests-Core.package/GRErrorStub.class/properties.json index aab6db02..4790c613 100644 --- a/repository/Grease-Tests-Core.package/GRErrorStub.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRErrorStub.class/properties.json @@ -1,14 +1,13 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", + "super" : "GRError", + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], "instvars" : [ - "foo" ], + "foo" + ], "name" : "GRErrorStub", - "pools" : [ - ], - "super" : "GRError", - "type" : "normal" } + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRExceptionTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRExceptionTest.class/methodProperties.json deleted file mode 100644 index d0e9cd66..00000000 --- a/repository/Grease-Tests-Core.package/GRExceptionTest.class/methodProperties.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "onExceptionReturn:" : " 10/11/2020 07:46:13", - "testDefaultActionResume" : " 10/11/2020 07:46:13", - "testDeprecatedApi" : " 10/11/2020 07:46:13", - "testErrorInitialization" : " 10/11/2020 07:46:13", - "testIsResumable" : " 10/11/2020 07:46:13", - "testNotificationInitialization" : " 10/11/2020 07:46:13", - "testOnDoImplicitReturn" : " 10/11/2020 07:46:13", - "testOnDoNonLocalReturn" : " 10/11/2020 07:46:13", - "testSignalError" : " 10/11/2020 07:46:13", - "testSignalErrorClassSide" : " 10/11/2020 07:46:13", - "testSignalNotification" : " 10/11/2020 07:46:13", - "testSignalNotificationClassSide" : " 10/11/2020 07:46:13", - "testSignalWithError" : " 10/11/2020 07:46:13", - "testSignalWithErrorClassSide" : " 10/11/2020 07:46:13", - "testSignalWithNotification" : " 10/11/2020 07:46:13", - "testSignalWithNotificationClassSide" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRExceptionTest.class/properties.json b/repository/Grease-Tests-Core.package/GRExceptionTest.class/properties.json index b32936db..953e06ff 100644 --- a/repository/Grease-Tests-Core.package/GRExceptionTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRExceptionTest.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRExceptionTest", - "pools" : [ - ], "super" : "TestCase", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRExceptionTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRIdentityDictionaryTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRIdentityDictionaryTest.class/methodProperties.json deleted file mode 100644 index da438bd0..00000000 --- a/repository/Grease-Tests-Core.package/GRIdentityDictionaryTest.class/methodProperties.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "collectionClass" : " 10/11/2020 07:46:13", - "createArbitraryAssociations" : " 10/11/2020 07:46:13", - "isKey:equivalentTo:" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRIdentityDictionaryTest.class/properties.json b/repository/Grease-Tests-Core.package/GRIdentityDictionaryTest.class/properties.json index 56b3b2c2..5dbb5796 100644 --- a/repository/Grease-Tests-Core.package/GRIdentityDictionaryTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRIdentityDictionaryTest.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRIdentityDictionaryTest", - "pools" : [ - ], "super" : "GRAbstractDictionaryTest", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRIdentityDictionaryTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRIntervalTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRIntervalTest.class/methodProperties.json deleted file mode 100644 index 5abfccce..00000000 --- a/repository/Grease-Tests-Core.package/GRIntervalTest.class/methodProperties.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "allowsDuplicateValues" : " 10/11/2020 07:46:13", - "arbitraryCollection" : " 10/11/2020 07:46:13", - "collectionClass" : " 10/11/2020 07:46:13", - "emptyCollection" : " 10/11/2020 07:46:13", - "isExtensible" : " 10/11/2020 07:46:13", - "isHomogeneous" : " 10/11/2020 07:46:13", - "isInitializable" : " 10/11/2020 07:46:13", - "isSequenced" : " 10/11/2020 07:46:13", - "isUnique" : " 10/11/2020 07:46:13", - "testBeginsWithSubCollection" : " 10/11/2020 07:46:13", - "testEndsWithSubCollection" : " 10/11/2020 07:46:13", - "testSorted" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRIntervalTest.class/properties.json b/repository/Grease-Tests-Core.package/GRIntervalTest.class/properties.json index c027d1e8..214b0a29 100644 --- a/repository/Grease-Tests-Core.package/GRIntervalTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRIntervalTest.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRIntervalTest", - "pools" : [ - ], "super" : "GRAbstractSequenceableCollectionTest", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRIntervalTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRNotificationBasedDynamicVariableTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRNotificationBasedDynamicVariableTest.class/methodProperties.json deleted file mode 100644 index 4204a28a..00000000 --- a/repository/Grease-Tests-Core.package/GRNotificationBasedDynamicVariableTest.class/methodProperties.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "testAnswer" : " 10/11/2020 07:46:13", - "testDefaultValue" : " 10/11/2020 07:46:13", - "testWithNestedValue" : " 10/11/2020 07:46:13", - "testWithValue" : " 10/11/2020 07:46:13", - "testWithoutValue" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRNotificationBasedDynamicVariableTest.class/properties.json b/repository/Grease-Tests-Core.package/GRNotificationBasedDynamicVariableTest.class/properties.json index c4abca74..f30d17fb 100644 --- a/repository/Grease-Tests-Core.package/GRNotificationBasedDynamicVariableTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRNotificationBasedDynamicVariableTest.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRNotificationBasedDynamicVariableTest", - "pools" : [ - ], "super" : "TestCase", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRNotificationBasedDynamicVariableTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRNotificationStub.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRNotificationStub.class/methodProperties.json deleted file mode 100644 index 9c966eb3..00000000 --- a/repository/Grease-Tests-Core.package/GRNotificationStub.class/methodProperties.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "defaultAction" : " 10/11/2020 07:46:13", - "foo" : " 10/11/2020 07:46:13", - "initialize" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRNotificationStub.class/properties.json b/repository/Grease-Tests-Core.package/GRNotificationStub.class/properties.json index ed1e1b00..1fe21db6 100644 --- a/repository/Grease-Tests-Core.package/GRNotificationStub.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRNotificationStub.class/properties.json @@ -1,14 +1,13 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", + "super" : "GRNotification", + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], "instvars" : [ - "foo" ], + "foo" + ], "name" : "GRNotificationStub", - "pools" : [ - ], - "super" : "GRNotification", - "type" : "normal" } + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRNullCodecStreamTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRNullCodecStreamTest.class/methodProperties.json deleted file mode 100644 index a2374336..00000000 --- a/repository/Grease-Tests-Core.package/GRNullCodecStreamTest.class/methodProperties.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "codecStreamClass" : " 10/11/2020 07:46:13", - "testCrlf" : " 10/11/2020 07:46:13", - "testFlush" : " 10/11/2020 07:46:13", - "testName" : " 10/11/2020 07:46:13", - "testNext" : " 10/11/2020 07:46:13", - "testPrint" : " 10/11/2020 07:46:13", - "testReadString" : " 10/11/2020 07:46:13", - "testSize" : " 10/11/2020 07:46:13", - "testSpace" : " 10/11/2020 07:46:13", - "testTab" : " 10/11/2020 07:46:13", - "testWriteString" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRNullCodecStreamTest.class/properties.json b/repository/Grease-Tests-Core.package/GRNullCodecStreamTest.class/properties.json index 2762434b..f4b84ea6 100644 --- a/repository/Grease-Tests-Core.package/GRNullCodecStreamTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRNullCodecStreamTest.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRNullCodecStreamTest", - "pools" : [ - ], "super" : "TestCase", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRNullCodecStreamTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRNumberTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRNumberTest.class/methodProperties.json deleted file mode 100644 index 7d4cb4a6..00000000 --- a/repository/Grease-Tests-Core.package/GRNumberTest.class/methodProperties.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "testBetweenAnd" : " 10/11/2020 07:46:13", - "testPluralize" : " 10/11/2020 07:46:13", - "testReadFrom" : " 10/11/2020 07:46:13", - "testTo" : " 10/11/2020 07:46:13", - "testToDo" : " 10/11/2020 07:46:13", - "testToDoClosures" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRNumberTest.class/properties.json b/repository/Grease-Tests-Core.package/GRNumberTest.class/properties.json index 8e127eab..8a9155fa 100644 --- a/repository/Grease-Tests-Core.package/GRNumberTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRNumberTest.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRNumberTest", - "pools" : [ - ], "super" : "TestCase", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRNumberTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRObjectStub.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRObjectStub.class/methodProperties.json deleted file mode 100644 index adfab69a..00000000 --- a/repository/Grease-Tests-Core.package/GRObjectStub.class/methodProperties.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "foo" : " 10/11/2020 07:46:13", - "initialize" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRObjectStub.class/properties.json b/repository/Grease-Tests-Core.package/GRObjectStub.class/properties.json index 0b70f071..52a24e1f 100644 --- a/repository/Grease-Tests-Core.package/GRObjectStub.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRObjectStub.class/properties.json @@ -1,14 +1,13 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", + "super" : "GRObject", + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], "instvars" : [ - "foo" ], + "foo" + ], "name" : "GRObjectStub", - "pools" : [ - ], - "super" : "GRObject", - "type" : "normal" } + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRObjectTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRObjectTest.class/methodProperties.json deleted file mode 100644 index d7d629bb..00000000 --- a/repository/Grease-Tests-Core.package/GRObjectTest.class/methodProperties.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "testError" : " 10/11/2020 07:46:13", - "testInitialize" : " 10/11/2020 07:46:13", - "testRespondsTo" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRObjectTest.class/properties.json b/repository/Grease-Tests-Core.package/GRObjectTest.class/properties.json index 8f5fa9d3..e4a8e84e 100644 --- a/repository/Grease-Tests-Core.package/GRObjectTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRObjectTest.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRObjectTest", - "pools" : [ - ], "super" : "TestCase", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRObjectTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GROrderedCollectionTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GROrderedCollectionTest.class/methodProperties.json deleted file mode 100644 index 7e5b19e2..00000000 --- a/repository/Grease-Tests-Core.package/GROrderedCollectionTest.class/methodProperties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "allowsDuplicateValues" : " 10/11/2020 07:46:13", - "collectionClass" : " 10/11/2020 07:46:13", - "isExtensible" : " 10/11/2020 07:46:13", - "isHomogeneous" : " 10/11/2020 07:46:13", - "isInitializable" : " 10/11/2020 07:46:13", - "isSequenced" : " 10/11/2020 07:46:13", - "isUnique" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GROrderedCollectionTest.class/properties.json b/repository/Grease-Tests-Core.package/GROrderedCollectionTest.class/properties.json index c7bdaaaf..483a308b 100644 --- a/repository/Grease-Tests-Core.package/GROrderedCollectionTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GROrderedCollectionTest.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GROrderedCollectionTest", - "pools" : [ - ], "super" : "GRAbstractSequenceableCollectionTest", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GROrderedCollectionTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GROrderedMultiMap2Test.class/methodProperties.json b/repository/Grease-Tests-Core.package/GROrderedMultiMap2Test.class/methodProperties.json deleted file mode 100644 index 8efdcdc3..00000000 --- a/repository/Grease-Tests-Core.package/GROrderedMultiMap2Test.class/methodProperties.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "collectionClass" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GROrderedMultiMap2Test.class/properties.json b/repository/Grease-Tests-Core.package/GROrderedMultiMap2Test.class/properties.json index 2444d848..860dd197 100644 --- a/repository/Grease-Tests-Core.package/GROrderedMultiMap2Test.class/properties.json +++ b/repository/Grease-Tests-Core.package/GROrderedMultiMap2Test.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GROrderedMultiMap2Test", - "pools" : [ - ], "super" : "GROrderedMultiMapTest", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GROrderedMultiMap2Test", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GROrderedMultiMapTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GROrderedMultiMapTest.class/methodProperties.json deleted file mode 100644 index c4581674..00000000 --- a/repository/Grease-Tests-Core.package/GROrderedMultiMapTest.class/methodProperties.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "class" : { - "shouldInheritSelectors" : " 10/11/2020 07:46:13" }, - "instance" : { - "allowsDuplicateKeys" : " 10/11/2020 07:46:13", - "collectionClass" : " 10/11/2020 07:46:13", - "testAllAt" : " 10/11/2020 07:46:13", - "testAllAtIfAbsent" : " 10/11/2020 07:46:13", - "testAtAdd" : " 10/11/2020 07:46:13", - "testKeysAndAllValuesDo" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GROrderedMultiMapTest.class/properties.json b/repository/Grease-Tests-Core.package/GROrderedMultiMapTest.class/properties.json index 5e05e514..4804b955 100644 --- a/repository/Grease-Tests-Core.package/GROrderedMultiMapTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GROrderedMultiMapTest.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GROrderedMultiMapTest", - "pools" : [ - ], "super" : "GRSmallDictionaryTest", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GROrderedMultiMapTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRPackage.extension/methodProperties.json b/repository/Grease-Tests-Core.package/GRPackage.extension/methodProperties.json deleted file mode 100644 index ff02f528..00000000 --- a/repository/Grease-Tests-Core.package/GRPackage.extension/methodProperties.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "class" : { - "greaseTestsCore" : " 10/11/2020 07:46:13" }, - "instance" : { - } } diff --git a/repository/Grease-Tests-Core.package/GRPackage.extension/properties.json b/repository/Grease-Tests-Core.package/GRPackage.extension/properties.json index dd2faaf0..ae522a7e 100644 --- a/repository/Grease-Tests-Core.package/GRPackage.extension/properties.json +++ b/repository/Grease-Tests-Core.package/GRPackage.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "GRPackage" } + "name" : "GRPackage" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRPackageTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRPackageTest.class/methodProperties.json deleted file mode 100644 index 66e1585c..00000000 --- a/repository/Grease-Tests-Core.package/GRPackageTest.class/methodProperties.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "setUp" : " 10/11/2020 07:46:13", - "testAllDependencies" : " 10/11/2020 07:46:13", - "testDependencies" : " 10/11/2020 07:46:13", - "testDescription" : " 10/11/2020 07:46:13", - "testLicense" : " 10/11/2020 07:46:13", - "testName" : " 10/11/2020 07:46:13", - "testPackages" : " 10/11/2020 07:46:13", - "testUrl" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRPackageTest.class/properties.json b/repository/Grease-Tests-Core.package/GRPackageTest.class/properties.json index 21b6bf84..ad6dc9c9 100644 --- a/repository/Grease-Tests-Core.package/GRPackageTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRPackageTest.class/properties.json @@ -1,14 +1,13 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", + "super" : "TestCase", + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], "instvars" : [ - "package" ], + "package" + ], "name" : "GRPackageTest", - "pools" : [ - ], - "super" : "TestCase", - "type" : "normal" } + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testThisContext.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testThisContext.st new file mode 100644 index 00000000..3cd4ceb1 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testThisContext.st @@ -0,0 +1,9 @@ +tests-processes +testThisContext + | methodContext | + methodContext := self platform thisContext. + [ + | blockContext | + blockContext := self platform thisContext. + self assert: blockContext sender = methodContext ] + value \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRPlatformTest.class/methodProperties.json deleted file mode 100644 index f4537f1b..00000000 --- a/repository/Grease-Tests-Core.package/GRPlatformTest.class/methodProperties.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "decodeUtf8Character:" : " 10/11/2020 07:46:13", - "platform" : " 10/11/2020 07:46:13", - "testAsNumber" : " 10/11/2020 07:46:13", - "testBase64Decode" : " 10/11/2020 07:46:13", - "testBindingOf" : " 10/11/2020 07:46:13", - "testBlockContextWithPossibleArguments" : " 10/11/2020 07:46:13", - "testBlockValuableProtocol" : " 10/11/2020 07:46:13", - "testCharacterAsUnicode" : " 10/11/2020 07:46:13", - "testCharacterTo" : " 10/11/2020 07:46:13", - "testConvertToSmalltalkNewlines" : " 10/11/2020 07:46:13", - "testDateArithmetic" : " 10/11/2020 07:46:13", - "testDaysInMonthForYear" : " 10/11/2020 07:46:13", - "testDigitValue" : " 10/11/2020 07:46:13", - "testEmptyOrNil" : " 10/11/2020 07:46:13", - "testGreaseIntegerOnCharacterAscii" : " 10/11/2020 07:46:13", - "testGreaseIntegerOnCharacterBmp" : " 10/11/2020 07:46:13", - "testGreaseIntegerOnCharacterLatin1" : " 10/11/2020 07:46:13", - "testGreaseIntegerOnCharacterSmp" : " 10/11/2020 07:46:13", - "testGreaseIntegerOnNumber" : " 10/11/2020 07:46:13", - "testGreaseIntegerOnString" : " 10/11/2020 07:46:13", - "testGreaseString" : " 10/11/2020 07:46:13", - "testIfNil" : " 10/11/2020 07:46:13", - "testIfTrueIfFalse" : " 10/11/2020 07:46:13", - "testIsCharacter" : " 10/11/2020 07:46:13", - "testIsCollection" : " 10/11/2020 07:46:13", - "testIsKeyword" : " 10/11/2020 07:46:13", - "testIsUnary" : " 10/11/2020 07:46:13", - "testLabel" : " 10/11/2020 07:46:13", - "testNewline" : " 10/11/2020 07:46:13", - "testNumArgs" : " 10/11/2020 07:46:13", - "testPathSeparator" : " 10/11/2020 07:46:13", - "testPrintStringLimitedTo" : " 10/11/2020 07:46:13", - "testRandomGenerator" : " 10/11/2020 07:46:13", - "testReadStreamAtEnd" : " 10/11/2020 07:46:13", - "testReadStreamContents" : " 10/11/2020 07:46:13", - "testReadStreamNegativeSkip" : " 10/11/2020 07:46:13", - "testReadStreamNext" : " 10/11/2020 07:46:13", - "testReadStreamPeek" : " 10/11/2020 07:46:13", - "testReadStreamPosition" : " 10/11/2020 07:46:13", - "testReadStreamReset" : " 10/11/2020 07:46:13", - "testReadStreamSeasideUpToAll" : " 10/11/2020 07:46:13", - "testReadStreamSkip" : " 10/11/2020 07:46:13", - "testReadStreamUpTo" : " 10/11/2020 07:46:13", - "testReadStreamUpToEnd" : " 10/11/2020 07:46:13", - "testReadWriteStreamAtEnd" : " 10/11/2020 07:46:13", - "testReadWriteStreamContents" : " 10/11/2020 07:46:13", - "testReadWriteStreamNegativeSkip" : " 10/11/2020 07:46:13", - "testReadWriteStreamNext" : " 10/11/2020 07:46:13", - "testReadWriteStreamNextPut" : " 10/11/2020 07:46:13", - "testReadWriteStreamNextPutAll" : " 10/11/2020 07:46:13", - "testReadWriteStreamPeek" : " 10/11/2020 07:46:13", - "testReadWriteStreamPosition" : " 10/11/2020 07:46:13", - "testReadWriteStreamReset" : " 10/11/2020 07:46:13", - "testReadWriteStreamSkip" : " 10/11/2020 07:46:13", - "testReadWriteStreamTab" : " 10/11/2020 07:46:13", - "testReadWriteStreamUpTo" : " 10/11/2020 07:46:13", - "testReadWriteStreamUpToEnd" : " 10/11/2020 07:46:13", - "testSeconds" : " 10/11/2020 07:46:13", - "testSecureHashFor" : " 10/11/2020 07:46:13", - "testShutDownList" : " 10/11/2020 07:46:13", - "testStackDepth" : " 10/11/2020 07:46:13", - "testStartUpList" : " 10/11/2020 07:46:13", - "testSymbolAsMutator" : " 10/11/2020 07:46:13", - "testTerminate" : " 10/11/2020 07:46:13", - "testTotalSeconds" : " 10/11/2020 07:46:13", - "testVersion" : " 10/11/2020 07:46:13", - "testWriteStreamContents" : " 10/11/2020 07:46:13", - "testWriteStreamCrLf" : " 10/11/2020 07:46:13", - "testWriteStreamNextPut" : " 10/11/2020 07:46:13", - "testWriteStreamNextPutAll" : " 10/11/2020 07:46:13", - "testWriteStreamPosition" : " 10/11/2020 07:46:13", - "testWriteStreamReset" : " 10/11/2020 07:46:13", - "testWriteStreamSpace" : " 10/11/2020 07:46:13", - "testWriteStreamTab" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/properties.json b/repository/Grease-Tests-Core.package/GRPlatformTest.class/properties.json index 5d365c8e..78485803 100644 --- a/repository/Grease-Tests-Core.package/GRPlatformTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "pmm 8/19/2014 09:53", - "instvars" : [ - ], - "name" : "GRPlatformTest", - "pools" : [ - ], "super" : "TestCase", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRPlatformTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRPrinterTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRPrinterTest.class/methodProperties.json deleted file mode 100644 index 21e2c271..00000000 --- a/repository/Grease-Tests-Core.package/GRPrinterTest.class/methodProperties.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "class" : { - "packageNamesUnderTest" : " 10/11/2020 07:46:13" }, - "instance" : { - "separate:left:" : " 10/11/2020 07:46:13", - "testComposedPrinter" : " 10/11/2020 07:46:13", - "testCookieTimestamp" : " 10/11/2020 07:46:13", - "testDigitsOf" : " 10/11/2020 07:46:13", - "testDigitsOfBase" : " 10/11/2020 07:46:13", - "testFileSizePrinterBinary" : " 10/11/2020 07:46:13", - "testFileSizePrinterDecimal" : " 10/11/2020 07:46:13", - "testFloatPrinter" : " 10/11/2020 07:46:13", - "testFloatPrinterInfinity" : " 10/11/2020 07:46:13", - "testFloatPrinterNaN" : " 10/11/2020 07:46:13", - "testFloatPrinterPadding" : " 10/11/2020 07:46:13", - "testFloatPrinterSeparator" : " 10/11/2020 07:46:13", - "testFullMonthName" : " 10/11/2020 07:46:13", - "testFullWeekName" : " 10/11/2020 07:46:13", - "testHttp" : " 10/11/2020 07:46:13", - "testIntegerPrinter" : " 10/11/2020 07:46:13", - "testIsoDate" : " 10/11/2020 07:46:13", - "testIsoTime" : " 10/11/2020 07:46:13", - "testOrdinalizePrinter" : " 10/11/2020 07:46:13", - "testPadCenter" : " 10/11/2020 07:46:13", - "testPadLeft" : " 10/11/2020 07:46:13", - "testPadRight" : " 10/11/2020 07:46:13", - "testPaddedCentury" : " 10/11/2020 07:46:13", - "testPaddedHour12" : " 10/11/2020 07:46:13", - "testRfc822" : " 10/11/2020 07:46:13", - "testRfc822WithTimeZone" : " 10/11/2020 07:46:13", - "testSeparateLeft" : " 10/11/2020 07:46:13", - "testSeparateRight" : " 10/11/2020 07:46:13", - "testSignPrinter" : " 10/11/2020 07:46:13", - "testStringPrinter" : " 10/11/2020 07:46:13", - "testStringPrinterLength" : " 10/11/2020 07:46:13", - "testStringPrinterPad" : " 10/11/2020 07:46:13", - "testStringPrinterTrim" : " 10/11/2020 07:46:13", - "testSwissCurrency" : " 10/11/2020 07:46:13", - "testUnpaddedCentury" : " 10/11/2020 07:46:13", - "testUnpaddedDay" : " 10/11/2020 07:46:13", - "testUnpaddedHour12" : " 10/11/2020 07:46:13", - "testUnpaddedHour24" : " 10/11/2020 07:46:13", - "testUnpaddedMinute" : " 10/11/2020 07:46:13", - "testUnpaddedMonth" : " 10/11/2020 07:46:13", - "testUnpaddedSecond" : " 10/11/2020 07:46:13", - "testUnpaddedYear" : " 10/11/2020 07:46:13", - "testUsCurrency" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRPrinterTest.class/properties.json b/repository/Grease-Tests-Core.package/GRPrinterTest.class/properties.json index 21f8b8d7..40c211a6 100644 --- a/repository/Grease-Tests-Core.package/GRPrinterTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRPrinterTest.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRPrinterTest", - "pools" : [ - ], "super" : "TestCase", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRPrinterTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRReducedConflictDictionaryTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRReducedConflictDictionaryTest.class/methodProperties.json deleted file mode 100644 index 8efdcdc3..00000000 --- a/repository/Grease-Tests-Core.package/GRReducedConflictDictionaryTest.class/methodProperties.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "collectionClass" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRReducedConflictDictionaryTest.class/properties.json b/repository/Grease-Tests-Core.package/GRReducedConflictDictionaryTest.class/properties.json index 56e233f6..73bd00e9 100644 --- a/repository/Grease-Tests-Core.package/GRReducedConflictDictionaryTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRReducedConflictDictionaryTest.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRReducedConflictDictionaryTest", - "pools" : [ - ], "super" : "GRDictionaryTest", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRReducedConflictDictionaryTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRSetTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRSetTest.class/methodProperties.json deleted file mode 100644 index cd7e7c94..00000000 --- a/repository/Grease-Tests-Core.package/GRSetTest.class/methodProperties.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "allowsDuplicateValues" : " 10/11/2020 07:46:13", - "collectionClass" : " 10/11/2020 07:46:13", - "isExtensible" : " 10/11/2020 07:46:13", - "isInitializable" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRSetTest.class/properties.json b/repository/Grease-Tests-Core.package/GRSetTest.class/properties.json index f111c99d..ba46ecf8 100644 --- a/repository/Grease-Tests-Core.package/GRSetTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRSetTest.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRSetTest", - "pools" : [ - ], "super" : "GRCollectionTest", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRSetTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRSmallDictionary2Test.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRSmallDictionary2Test.class/methodProperties.json deleted file mode 100644 index 8efdcdc3..00000000 --- a/repository/Grease-Tests-Core.package/GRSmallDictionary2Test.class/methodProperties.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "collectionClass" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRSmallDictionary2Test.class/properties.json b/repository/Grease-Tests-Core.package/GRSmallDictionary2Test.class/properties.json index 81c57b1f..61da0f57 100644 --- a/repository/Grease-Tests-Core.package/GRSmallDictionary2Test.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRSmallDictionary2Test.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRSmallDictionary2Test", - "pools" : [ - ], "super" : "GRSmallDictionaryTest", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRSmallDictionary2Test", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRSmallDictionaryTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRSmallDictionaryTest.class/methodProperties.json deleted file mode 100644 index 25ed9180..00000000 --- a/repository/Grease-Tests-Core.package/GRSmallDictionaryTest.class/methodProperties.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "allowsDuplicateKeys" : " 10/11/2020 07:46:13", - "assertAssociations:" : " 10/11/2020 07:46:13", - "collectionClass" : " 10/11/2020 07:46:13", - "createArbitraryAssociations" : " 10/11/2020 07:46:13", - "isKey:equivalentTo:" : " 10/11/2020 07:46:13", - "newCollection" : " 10/11/2020 07:46:13", - "setUp" : " 10/11/2020 07:46:13", - "testAddAll" : " 10/11/2020 07:46:13", - "testAddAndAssociations" : " 10/11/2020 07:46:13", - "testAt" : " 10/11/2020 07:46:13", - "testAtIfAbsent" : " 10/11/2020 07:46:13", - "testAtIfAbsentPut" : " 10/11/2020 07:46:13", - "testAtIfPresent" : " 10/11/2020 07:46:13", - "testAtPut" : " 10/11/2020 07:46:13", - "testCopy" : " 10/11/2020 07:46:13", - "testDo" : " 10/11/2020 07:46:13", - "testGrow" : " 10/11/2020 07:46:13", - "testIncludesKey" : " 10/11/2020 07:46:13", - "testIsEmpty" : " 10/11/2020 07:46:13", - "testKeys" : " 10/11/2020 07:46:13", - "testKeysAndValuesDo" : " 10/11/2020 07:46:13", - "testKeysDo" : " 10/11/2020 07:46:13", - "testRemoveKey" : " 10/11/2020 07:46:13", - "testRemoveKey2" : " 10/11/2020 07:46:13", - "testRemoveKeyIfAbsent" : " 10/11/2020 07:46:13", - "testSize" : " 10/11/2020 07:46:13", - "testValues" : " 10/11/2020 07:46:13", - "testWithAll" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRSmallDictionaryTest.class/properties.json b/repository/Grease-Tests-Core.package/GRSmallDictionaryTest.class/properties.json index 259a3e40..9f7c857b 100644 --- a/repository/Grease-Tests-Core.package/GRSmallDictionaryTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRSmallDictionaryTest.class/properties.json @@ -1,14 +1,13 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", + "super" : "GRAbstractDictionaryTest", + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], "instvars" : [ - "collection" ], + "collection" + ], "name" : "GRSmallDictionaryTest", - "pools" : [ - ], - "super" : "GRAbstractDictionaryTest", - "type" : "normal" } + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRSmallOrderedSetTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRSmallOrderedSetTest.class/methodProperties.json deleted file mode 100644 index 3f204460..00000000 --- a/repository/Grease-Tests-Core.package/GRSmallOrderedSetTest.class/methodProperties.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "collectionClass" : " 10/11/2020 07:46:13", - "setUp" : " 10/11/2020 07:46:13", - "testAdd" : " 10/11/2020 07:46:13", - "testAddAll" : " 10/11/2020 07:46:13", - "testCopy" : " 10/11/2020 07:46:13", - "testDo" : " 10/11/2020 07:46:13", - "testIncludes" : " 10/11/2020 07:46:13", - "testIsEmpty" : " 10/11/2020 07:46:13", - "testRemove" : " 10/11/2020 07:46:13", - "testRemoveIfAbsent" : " 10/11/2020 07:46:13", - "testSize" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRSmallOrderedSetTest.class/properties.json b/repository/Grease-Tests-Core.package/GRSmallOrderedSetTest.class/properties.json index 350ad863..57445798 100644 --- a/repository/Grease-Tests-Core.package/GRSmallOrderedSetTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRSmallOrderedSetTest.class/properties.json @@ -1,14 +1,13 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", + "super" : "GRSetTest", + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], "instvars" : [ - "collection" ], + "collection" + ], "name" : "GRSmallOrderedSetTest", - "pools" : [ - ], - "super" : "GRSetTest", - "type" : "normal" } + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRSortedCollectionTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRSortedCollectionTest.class/methodProperties.json deleted file mode 100644 index 7e5b19e2..00000000 --- a/repository/Grease-Tests-Core.package/GRSortedCollectionTest.class/methodProperties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "allowsDuplicateValues" : " 10/11/2020 07:46:13", - "collectionClass" : " 10/11/2020 07:46:13", - "isExtensible" : " 10/11/2020 07:46:13", - "isHomogeneous" : " 10/11/2020 07:46:13", - "isInitializable" : " 10/11/2020 07:46:13", - "isSequenced" : " 10/11/2020 07:46:13", - "isUnique" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRSortedCollectionTest.class/properties.json b/repository/Grease-Tests-Core.package/GRSortedCollectionTest.class/properties.json index d6a4f9b1..552bf633 100644 --- a/repository/Grease-Tests-Core.package/GRSortedCollectionTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRSortedCollectionTest.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRSortedCollectionTest", - "pools" : [ - ], "super" : "GRAbstractSequenceableCollectionTest", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRSortedCollectionTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRStringTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRStringTest.class/methodProperties.json deleted file mode 100644 index 760f13b1..00000000 --- a/repository/Grease-Tests-Core.package/GRStringTest.class/methodProperties.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "allowsDuplicateValues" : " 10/11/2020 07:46:13", - "arbitraryCollection" : " 10/11/2020 07:46:13", - "collectionClass" : " 10/11/2020 07:46:13", - "duplicateElement" : " 10/11/2020 07:46:13", - "excludedElement" : " 10/11/2020 07:46:13", - "includedElement" : " 10/11/2020 07:46:13", - "isExtensible" : " 10/11/2020 07:46:13", - "isHomogeneous" : " 10/11/2020 07:46:13", - "isInitializable" : " 10/11/2020 07:46:13", - "isSequenced" : " 10/11/2020 07:46:13", - "isUnique" : " 10/11/2020 07:46:13", - "testAsUppercase" : " 10/11/2020 07:46:13", - "testCapitalized" : " 10/11/2020 07:46:13", - "testCapitalizedUmlauts" : " 10/11/2020 07:46:13", - "testExcerpt" : " 10/11/2020 07:46:13", - "testExcerptEmpty" : " 10/11/2020 07:46:13", - "testExcerptLeft" : " 10/11/2020 07:46:13", - "testExcerptRight" : " 10/11/2020 07:46:13", - "testInflectorAssimilated" : " 10/11/2020 07:46:13", - "testInflectorCommonSuffixes" : " 10/11/2020 07:46:13", - "testInflectorFfffSuffixes" : " 10/11/2020 07:46:13", - "testInflectorIrregular" : " 10/11/2020 07:46:13", - "testInflectorNotInflecting" : " 10/11/2020 07:46:13", - "testInflectorTsssSuffixes" : " 10/11/2020 07:46:13", - "testInflectorYyyySuffixes" : " 10/11/2020 07:46:13", - "testSubStrings" : " 10/11/2020 07:46:13", - "testTrimBoth" : " 10/11/2020 07:46:13", - "testTrimLeft" : " 10/11/2020 07:46:13", - "testTrimRight" : " 10/11/2020 07:46:13", - "testTruncate" : " 10/11/2020 07:46:13", - "testTruncateEmpty" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRStringTest.class/properties.json b/repository/Grease-Tests-Core.package/GRStringTest.class/properties.json index 9a1d25ef..3d55c265 100644 --- a/repository/Grease-Tests-Core.package/GRStringTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRStringTest.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRStringTest", - "pools" : [ - ], "super" : "GRAbstractSequenceableCollectionTest", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRStringTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRSymbolTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRSymbolTest.class/methodProperties.json deleted file mode 100644 index 8e9cbd5a..00000000 --- a/repository/Grease-Tests-Core.package/GRSymbolTest.class/methodProperties.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "allowsDuplicateValues" : " 10/11/2020 07:46:13", - "arbitraryCollection" : " 10/11/2020 07:46:13", - "collectionClass" : " 10/11/2020 07:46:13", - "duplicateElement" : " 10/11/2020 07:46:13", - "emptyCollection" : " 10/11/2020 07:46:13", - "excludedElement" : " 10/11/2020 07:46:13", - "includedElement" : " 10/11/2020 07:46:13", - "isExtensible" : " 10/11/2020 07:46:13", - "isHomogeneous" : " 10/11/2020 07:46:13", - "isInitializable" : " 10/11/2020 07:46:13", - "isSequenced" : " 10/11/2020 07:46:13", - "isUnique" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRSymbolTest.class/properties.json b/repository/Grease-Tests-Core.package/GRSymbolTest.class/properties.json index 4a752586..30701521 100644 --- a/repository/Grease-Tests-Core.package/GRSymbolTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRSymbolTest.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRSymbolTest", - "pools" : [ - ], "super" : "GRAbstractSequenceableCollectionTest", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRSymbolTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRTestDynamicVariable.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRTestDynamicVariable.class/methodProperties.json deleted file mode 100644 index 229f970e..00000000 --- a/repository/Grease-Tests-Core.package/GRTestDynamicVariable.class/methodProperties.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "class" : { - "defaultValue" : " 10/11/2020 07:46:13" }, - "instance" : { - } } diff --git a/repository/Grease-Tests-Core.package/GRTestDynamicVariable.class/properties.json b/repository/Grease-Tests-Core.package/GRTestDynamicVariable.class/properties.json index 11503d89..45a40585 100644 --- a/repository/Grease-Tests-Core.package/GRTestDynamicVariable.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRTestDynamicVariable.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRTestDynamicVariable", - "pools" : [ - ], "super" : "GRDynamicVariable", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRTestDynamicVariable", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRTestNotificationBasedDynamicVariable.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRTestNotificationBasedDynamicVariable.class/methodProperties.json deleted file mode 100644 index 229f970e..00000000 --- a/repository/Grease-Tests-Core.package/GRTestNotificationBasedDynamicVariable.class/methodProperties.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "class" : { - "defaultValue" : " 10/11/2020 07:46:13" }, - "instance" : { - } } diff --git a/repository/Grease-Tests-Core.package/GRTestNotificationBasedDynamicVariable.class/properties.json b/repository/Grease-Tests-Core.package/GRTestNotificationBasedDynamicVariable.class/properties.json index 1615cf38..fd4b4364 100644 --- a/repository/Grease-Tests-Core.package/GRTestNotificationBasedDynamicVariable.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRTestNotificationBasedDynamicVariable.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRTestNotificationBasedDynamicVariable", - "pools" : [ - ], "super" : "GRNotificationBasedDynamicVariable", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRTestNotificationBasedDynamicVariable", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRUtf8CodecTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRUtf8CodecTest.class/methodProperties.json deleted file mode 100644 index bb06d4fa..00000000 --- a/repository/Grease-Tests-Core.package/GRUtf8CodecTest.class/methodProperties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "asString:" : " 10/11/2020 07:46:13", - "decodedString" : " 10/11/2020 07:46:13", - "seasideByteArray" : " 10/11/2020 07:46:13", - "testCodecUtf8" : " 10/11/2020 07:46:13", - "testCodecUtf8Bom" : " 10/11/2020 07:46:13", - "testCodecUtf8BorderLineString" : " 10/11/2020 07:46:13", - "testCodecUtf8ShortestForm" : " 10/11/2020 07:46:13", - "testNext" : " 10/11/2020 07:46:13", - "utf8String" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRUtf8CodecTest.class/properties.json b/repository/Grease-Tests-Core.package/GRUtf8CodecTest.class/properties.json index fcdc58ae..cd88f848 100644 --- a/repository/Grease-Tests-Core.package/GRUtf8CodecTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRUtf8CodecTest.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRUtf8CodecTest", - "pools" : [ - ], "super" : "TestCase", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRUtf8CodecTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRVersionTest.class/methodProperties.json b/repository/Grease-Tests-Core.package/GRVersionTest.class/methodProperties.json deleted file mode 100644 index 77c3e7c1..00000000 --- a/repository/Grease-Tests-Core.package/GRVersionTest.class/methodProperties.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "assert:equals:" : " 10/11/2020 07:46:13", - "assert:sortsBefore:" : " 10/11/2020 07:46:13", - "buildVersion:" : " 10/11/2020 07:46:13", - "testAccessors" : " 10/11/2020 07:46:13", - "testComparison" : " 10/11/2020 07:46:13", - "testConvenience" : " 10/11/2020 07:46:13", - "testEquality" : " 10/11/2020 07:46:13", - "testStringConversion" : " 10/11/2020 07:46:13" } } diff --git a/repository/Grease-Tests-Core.package/GRVersionTest.class/properties.json b/repository/Grease-Tests-Core.package/GRVersionTest.class/properties.json index ada1f7ee..a9fac191 100644 --- a/repository/Grease-Tests-Core.package/GRVersionTest.class/properties.json +++ b/repository/Grease-Tests-Core.package/GRVersionTest.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Tests-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRVersionTest", - "pools" : [ - ], "super" : "TestCase", - "type" : "normal" } + "category" : "Grease-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRVersionTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/monticello.meta/version b/repository/Grease-Tests-Core.package/monticello.meta/version deleted file mode 100644 index a186ec8e..00000000 --- a/repository/Grease-Tests-Core.package/monticello.meta/version +++ /dev/null @@ -1 +0,0 @@ -(name 'Grease-Tests-Core-JohanBrichau.2' message 'Added GsContext>>namedTempAt: for compatibility; also optimized thisContext implementation' id '79dea5ec-ef75-4860-b8e8-d59a5332a652' date '12/20/2020' time '07:50:35' author 'JohanBrichau' ancestors ((name 'Grease-Tests-Core-cypress.1' message 'fabricated from a Cypress format repository' id '4dccb104-d0ea-4a47-af04-13518fa6e106' date '10/11/2020' time '23:45:35' author '' ancestors () stepChildren ())) stepChildren ()) \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/properties.json b/repository/Grease-Tests-Core.package/properties.json index f037444a..6f31cf5a 100644 --- a/repository/Grease-Tests-Core.package/properties.json +++ b/repository/Grease-Tests-Core.package/properties.json @@ -1,2 +1 @@ -{ - } +{ } \ No newline at end of file From 0ca2766d8707c299206b310c4a11934dcabd9257 Mon Sep 17 00:00:00 2001 From: Dale Henrichs Date: Wed, 13 Jan 2021 12:44:35 -0800 Subject: [PATCH 003/254] GsDevKit/GsdevKit#132: update lineup for 3.5.5,and 3.6.0; add support for 3.7.x, 3,8.x and 3.9.x --- .travis.yml | 6 +- .../instance/baselineGemStone..st | 224 +++++++++--------- 2 files changed, 113 insertions(+), 117 deletions(-) diff --git a/.travis.yml b/.travis.yml index 56dd42f1..00c55829 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,8 +33,10 @@ matrix: env: BUILD_NAME=Squeak-5.2 - smalltalk: Squeak32-5.1 env: BUILD_NAME=Squeak-5.1 - - smalltalk: GemStone-3.5.4 - env: BUILD_NAME=GemStone-3.5.4 + - smalltalk: GemStone-3.6.0 + env: BUILD_NAME=GemStone-3.6.0 + - smalltalk: GemStone-3.5.5 + env: BUILD_NAME=GemStone-3.5.5 - smalltalk: GemStone-3.4.5 env: BUILD_NAME=GemStone-3.4.5 - smalltalk: GemStone-3.3.9 diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineGemStone..st b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineGemStone..st index cecf6cea..ed918c93 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineGemStone..st +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineGemStone..st @@ -1,117 +1,111 @@ baseline baselineGemStone: spec - spec - for: #'gemstone' - do: [ - spec - project: 'GsCore' - with: [ - spec - className: 'ConfigurationOfGsCore'; - versionString: #'stable'; - repository: - 'http://seaside.gemtalksystems.com/ss/MetacelloRepository' ]; - project: 'UTF8' - with: [ - spec - className: 'ConfigurationOfGsMisc'; - versionString: #'stable'; - loads: #('Utf8Encoding'); - repository: - 'http://seaside.gemtalksystems.com/ss/MetacelloRepository' ]; - project: 'System-Digital-Signatures' - copyFrom: 'UTF8' - with: [ spec loads: #('System-Digital-Signatures') ]; - project: 'SMTPMail' - copyFrom: 'UTF8' - with: [ spec loads: #('SMTPMail') ]. - spec - package: 'Grease-Core' - with: [ - spec - requires: #('GsCore'); - includes: #('Grease-GemStone-Core') ]; - package: 'Grease-Tests-Core' - with: [ - spec - requires: #('Grease-GemStone-Core'); - includes: #('Grease-Tests-GemStone-Core') ]; - package: 'Grease-GemStone-Core' - with: [ - spec - requires: - #('Grease-Core' 'GsCore' 'System-Digital-Signatures' 'UTF8' 'SMTPMail') ]; - package: 'Grease-Tests-GemStone-Core' - with: [ spec requires: #('Grease-Tests-Core') ] ]. - spec - for: #'gs2.x' - do: [ - spec - package: 'Grease-GemStone-Core' - with: [ spec includes: #('Grease-GemStone200-Core') ]; - package: 'Grease-GemStone200-Core' - with: [ spec requires: #('Grease-GemStone-Core') ] ]. - spec - for: #'gs2.3.x' - do: [ - spec - package: 'Grease-GemStone-Core' - with: [ spec includes: #('Grease-GemStone230-Core') ]; - package: 'Grease-GemStone230-Core' - with: [ spec requires: #('Grease-GemStone-Core') ] ]. - spec - for: #'gs2.4.x' - do: [ - spec - package: 'Grease-GemStone-Core' - with: [ spec includes: #('Grease-GemStone240-Core') ]; - package: 'Grease-GemStone240-Core' - with: [ spec requires: #('Grease-GemStone-Core') ] ]. - spec - for: #(#'gs3.0.x' #'gs3.1.x' #'gs3.2.x') - do: [ - spec - package: 'Grease-GemStone-Core' - with: [ spec includes: #('Grease-GemStone300-Core') ]; - package: 'Grease-GemStone300-Core' - with: [ - spec - requires: #('Grease-GemStone-Core'); - postLoadDoIt: #'initializeLatin1ToUtf8Encodings' ] ]. - spec - for: #(#'gs3.3.x' #'gs3.4.x' #'gs3.5.x' #'gs3.6.x') - do: [ - spec - package: 'Grease-GemStone-Core' - with: [ spec includes: #('Grease-GemStone330-Core') ]; - package: 'Grease-GemStone330-Core' - with: [ - spec - requires: #('Grease-GemStone-Core'); - postLoadDoIt: #'initializeLatin1ToUtf8Encodings' ] ]. - spec - for: #( #'gs3.5.4.x' #'gs3.5.5.x') - do: [ - spec - package: 'Grease-GemStone-Core' - with: [ spec includes: #('Grease-GemStone-Kernelv354') ]; - package: 'Grease-GemStone-Kernelv354' - with: [ - spec - requires: #('Grease-GemStone-Core') ] ]. - spec - for: #( #'gs3.6.x') - do: [ - spec - package: 'Grease-GemStone-Core' - with: [ spec includes: #('Grease-GemStone-Kernelv360') ]; - package: 'Grease-GemStone-Kernelv360' - with: [ - spec - requires: #('Grease-GemStone-Core') ] ]. - spec - for: #(#'gs3.2.x' #'gs3.3.x' #'gs3.4.x' #'gs3.5.x' #'gs3.6.x') - do: [ - spec - package: 'Grease-Tests-GemStone-Core' - with: [ spec file: 'Grease-Tests-GemStone-Core.v32' ] ] + spec + for: #'gemstone' + do: [ + spec + project: 'GsCore' + with: [ + spec + className: 'ConfigurationOfGsCore'; + versionString: #'stable'; + repository: 'http://seaside.gemtalksystems.com/ss/MetacelloRepository' ]; + project: 'UTF8' + with: [ + spec + className: 'ConfigurationOfGsMisc'; + versionString: #'stable'; + loads: #('Utf8Encoding'); + repository: 'http://seaside.gemtalksystems.com/ss/MetacelloRepository' ]; + project: 'System-Digital-Signatures' + copyFrom: 'UTF8' + with: [ spec loads: #('System-Digital-Signatures') ]; + project: 'SMTPMail' copyFrom: 'UTF8' with: [ spec loads: #('SMTPMail') ]. + spec + package: 'Grease-Core' + with: [ + spec + requires: #('GsCore'); + includes: #('Grease-GemStone-Core') ]; + package: 'Grease-Tests-Core' + with: [ + spec + requires: #('Grease-GemStone-Core'); + includes: #('Grease-Tests-GemStone-Core') ]; + package: 'Grease-GemStone-Core' + with: [ + spec + requires: + #('Grease-Core' 'GsCore' 'System-Digital-Signatures' 'UTF8' 'SMTPMail') ]; + package: 'Grease-Tests-GemStone-Core' + with: [ spec requires: #('Grease-Tests-Core') ] ]. + spec + for: #'gs2.x' + do: [ + spec + package: 'Grease-GemStone-Core' + with: [ spec includes: #('Grease-GemStone200-Core') ]; + package: 'Grease-GemStone200-Core' + with: [ spec requires: #('Grease-GemStone-Core') ] ]. + spec + for: #'gs2.3.x' + do: [ + spec + package: 'Grease-GemStone-Core' + with: [ spec includes: #('Grease-GemStone230-Core') ]; + package: 'Grease-GemStone230-Core' + with: [ spec requires: #('Grease-GemStone-Core') ] ]. + spec + for: #'gs2.4.x' + do: [ + spec + package: 'Grease-GemStone-Core' + with: [ spec includes: #('Grease-GemStone240-Core') ]; + package: 'Grease-GemStone240-Core' + with: [ spec requires: #('Grease-GemStone-Core') ] ]. + spec + for: #(#'gs3.0.x' #'gs3.1.x' #'gs3.2.x') + do: [ + spec + package: 'Grease-GemStone-Core' + with: [ spec includes: #('Grease-GemStone300-Core') ]; + package: 'Grease-GemStone300-Core' + with: [ + spec + requires: #('Grease-GemStone-Core'); + postLoadDoIt: #'initializeLatin1ToUtf8Encodings' ] ]. + spec + for: + #(#'gs3.3.x' #'gs3.4.x' #'gs3.5.x' #'gs3.6.x' #'gs3.7.x' #'gs3.8.x' #'gs3.9.x') + do: [ + spec + package: 'Grease-GemStone-Core' + with: [ spec includes: #('Grease-GemStone330-Core') ]; + package: 'Grease-GemStone330-Core' + with: [ + spec + requires: #('Grease-GemStone-Core'); + postLoadDoIt: #'initializeLatin1ToUtf8Encodings' ] ]. + spec + for: #(#'gs3.5.4.x' #'gs3.5.5.x') + do: [ + spec + package: 'Grease-GemStone-Core' + with: [ spec includes: #('Grease-GemStone-Kernelv354') ]; + package: 'Grease-GemStone-Kernelv354' + with: [ spec requires: #('Grease-GemStone-Core') ] ]. + spec + for: #(#'gs3.6.x' #'gs3.7.x' #'gs3.8.x' #'gs3.9.x') + do: [ + spec + package: 'Grease-GemStone-Core' + with: [ spec includes: #('Grease-GemStone-Kernelv360') ]; + package: 'Grease-GemStone-Kernelv360' + with: [ spec requires: #('Grease-GemStone-Core') ] ]. + spec + for: + #(#'gs3.2.x' #'gs3.3.x' #'gs3.4.x' #'gs3.5.x' #'gs3.6.x' #'gs3.7.x' #'gs3.8.x' #'gs3.9.x') + do: [ + spec + package: 'Grease-Tests-GemStone-Core' + with: [ spec file: 'Grease-Tests-GemStone-Core.v32' ] ] \ No newline at end of file From 85380c9de0d926c7a8e93df45957e5c30a832e14 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sat, 3 Apr 2021 11:00:13 +0200 Subject: [PATCH 004/254] Fix debugger opening on Pharo9 --- .../GRPharoPlatform.class/instance/openDebuggerOn..st | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st index b98446f9..305157e2 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st @@ -11,8 +11,8 @@ openDebuggerOn: anError UnhandledError signalForException: anError ] ifFalse: [ WorldState addDeferredUIMessage: [ - process - debug: anError signalerContext - title: anError description - full: true ]. + UIManager default + requestDebuggerOpeningForProcess: process + named: anError description + inContext: anError signalerContext ]. process suspend ] \ No newline at end of file From 8762b69159d39177215f051c5a2f7483e43d2c6f Mon Sep 17 00:00:00 2001 From: Dale Henrichs Date: Wed, 7 Apr 2021 17:23:06 -0700 Subject: [PATCH 005/254] Issue #316: update baseline for 3.5.6.x --- .../BaselineOfGrease.class/instance/baselineGemStone..st | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineGemStone..st b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineGemStone..st index bb38c5d7..9b441dcd 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineGemStone..st +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineGemStone..st @@ -97,7 +97,7 @@ baselineGemStone: spec with: [ spec includes: 'Grease-Tests-GemStone-Core' ] ]. spec - for: #( #'gs3.5.4.x' #'gs3.5.5.x' ) + for: #( #'gs3.5.4.x' #'gs3.5.5.x' #'gs3.5.6.x' #'gs3.5.7.x' ) do: [ spec package: 'Grease-GemStone-Core' @@ -123,4 +123,4 @@ baselineGemStone: spec package: 'Grease-Tests-GemStone32-Core' with:[ spec requires: 'Grease-Tests-Core' ]; package: 'Grease-Tests-Core' - with: [ spec includes: 'Grease-Tests-GemStone32-Core' ] ] \ No newline at end of file + with: [ spec includes: 'Grease-Tests-GemStone32-Core' ] ] From bd8ebf69651d03c135a37439416da855566f15bd Mon Sep 17 00:00:00 2001 From: Dale Henrichs Date: Thu, 8 Apr 2021 11:09:54 -0700 Subject: [PATCH 006/254] Issue #116: proposed fix from https://github.com/GsDevKit/Grease/commit/8762b69159d39177215f051c5a2f7483e43d2c6f) --- .../BaselineOfGrease.class/instance/baselineGemStone..st | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineGemStone..st b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineGemStone..st index bb38c5d7..74d3de32 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineGemStone..st +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineGemStone..st @@ -97,7 +97,7 @@ baselineGemStone: spec with: [ spec includes: 'Grease-Tests-GemStone-Core' ] ]. spec - for: #( #'gs3.5.4.x' #'gs3.5.5.x' ) + for: #( #'gs3.5.4.x' #'gs3.5.5.x' #'gs3.5.6.x' #'gs3.5.7.x' ) do: [ spec package: 'Grease-GemStone-Core' @@ -123,4 +123,4 @@ baselineGemStone: spec package: 'Grease-Tests-GemStone32-Core' with:[ spec requires: 'Grease-Tests-Core' ]; package: 'Grease-Tests-Core' - with: [ spec includes: 'Grease-Tests-GemStone32-Core' ] ] \ No newline at end of file + with: [ spec includes: 'Grease-Tests-GemStone32-Core' ] ] From 755c6f17a9938d128e9144bb8e2a015c28d26b7f Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Thu, 13 May 2021 11:44:44 +0200 Subject: [PATCH 007/254] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 08b4375e..004f2e69 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ The latest Grease version is supported on the following platforms and versions, | | | [![Build status: Gemstone-3.1.0.6](http://badges.herokuapp.com/travis/SeasideSt/Grease?branch=master&env=BUILD_NAME=GemStone-3.1.0.6&label=3.1.0.6)](http://travis-ci.org/SeasideSt/Grease) | | | | | -Coveralls (experimental): [![Coverage Status](https://coveralls.io/repos/github/SeasideSt/Grease/badge.svg?branch=test-coveralls)](https://coveralls.io/github/SeasideSt/Grease?branch=test-coveralls) +Builds via github actions: [![smalltalkCI](https://github.com/SeasideSt/Grease/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/SeasideSt/Grease/actions/workflows/ci.yml) ## Installation From 7d35c7653f248ad2f4a5e0c521099ba35de9e23b Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Thu, 13 May 2021 11:54:07 +0200 Subject: [PATCH 008/254] update github CI to ubuntu-latest --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d66b669f..dd8f307e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-16.04 + runs-on: ubuntu-latest strategy: fail-fast: false matrix: From 038010e558c637d772687514ee3063b833a454a7 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Thu, 13 May 2021 12:05:15 +0200 Subject: [PATCH 009/254] go for ubuntu-18.04 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd8f307e..a7f87eb0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-18.04 strategy: fail-fast: false matrix: From 6d044627273392d047b474f9cc6ea62ecd1e820f Mon Sep 17 00:00:00 2001 From: Dale Henrichs Date: Sun, 6 Jun 2021 14:27:11 -0700 Subject: [PATCH 010/254] github actions - update lineup; update to 18.04; slack notification --- .github/workflows/ci.yml | 25 +++++++++++++++++++++---- README.md | 2 ++ 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3134c1b3..1b9da3a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,14 +1,18 @@ name: smalltalkCI -on: [push, pull_request] +on: + push: + pull_request: + schedule: + - cron: "15 2 7 * *" #run job on the 7th day of every month on the 15th minute of the 2nd hour jobs: build: - runs-on: ubuntu-16.04 + runs-on: ubuntu-18.04 strategy: fail-fast: false matrix: - smalltalk: [ Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, Pharo-6.1, GemStone64-3.6.0, GemStone64-3.5.5, GemStone64-3.4.5, GemStone64-3.3.9, GemStone64-3.2.17, GemStone64-3.1.0.6, Squeak64-5.3, Squeak64-5.2, Squeak64-5.1 ] + smalltalk: [ Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, Pharo-6.1, GemStone64-3.6.1, GemStone64-3.5.6, GemStone64-3.4.5, GemStone64-3.3.9, GemStone64-3.2.17, GemStone64-3.1.0.6, Squeak64-5.3, Squeak64-5.2, Squeak64-5.1 ] experimental: [ false ] include: - smalltalk: Squeak64-trunk @@ -29,4 +33,17 @@ jobs: - name: Run tests run: smalltalkci -s ${{ matrix.smalltalk }} shell: bash - timeout-minutes: 10 \ No newline at end of file + timeout-minutes: 10 + slack-workflow-status: + if: always() + name: Post Workflow Status To Slack + needs: + - build + runs-on: ubuntu-18.04 + steps: + - name: Slack Workflow Notification + uses: Gamesight/slack-workflow-status@master + with: + repo_token: ${{secrets.GITHUB_TOKEN}} + slack_webhook_url: ${{secrets.SLACK_DALEHENRICH}} + name: 'action run' diff --git a/README.md b/README.md index 08b4375e..96015453 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![Build Status](https://github.com/GsDevKit/Grease/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/GsDevKit/Grease/actions/workflows/ci.yml) + **IMPORTANT**: Since version 1.3.0, this is the main repository of Grease. Versions older than 1.1.9 can only be found in the [Smalltalkhub repository](http://www.smalltalkhub.com/#!/~Seaside/Grease11). Check out the [releases list](https://github.com/SeasideSt/Grease/releases) for all version numbers in this repository. The Grease Portability Library From 0a4024bad4c731e8aa069ff7c3895a85569e2299 Mon Sep 17 00:00:00 2001 From: Dale Henrichs Date: Sun, 6 Jun 2021 14:32:17 -0700 Subject: [PATCH 011/254] stop using deprecated smalltalk-version --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b9da3a9..7b984d7e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v2 - uses: hpi-swa/setup-smalltalkCI@v1 with: - smalltalk-version: ${{ matrix.smalltalk }} + smalltalk-image: ${{ matrix.smalltalk }} - name: Fix missing OS prerequisites for GemStone builds run: | git clone https://github.com/GsDevKit/GsDevKit_home.git From 3466bfa0aaa63760304c21dd535ad904d118bb62 Mon Sep 17 00:00:00 2001 From: Dale Henrichs Date: Sun, 6 Jun 2021 17:01:02 -0700 Subject: [PATCH 012/254] disable travis [ci skip] --- .travis.yml => .travis.yml_unused | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .travis.yml => .travis.yml_unused (100%) diff --git a/.travis.yml b/.travis.yml_unused similarity index 100% rename from .travis.yml rename to .travis.yml_unused From 46935077ab0cfa28ff3d12fa5c4d27849cbe05a2 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 13 Jun 2021 15:48:27 +0200 Subject: [PATCH 013/254] update github CI with run-caching and remove travis-ci --- .github/workflows/ci.yml | 38 +++++++++++++++++++++++++++++--------- .travis.yml | 37 ------------------------------------- 2 files changed, 29 insertions(+), 46 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a7f87eb0..68a1904d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - smalltalk: [ Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, Pharo-6.1, GemStone64-3.6.0, GemStone64-3.5.5, GemStone64-3.4.5, GemStone64-3.3.9, GemStone64-3.2.17, GemStone64-3.1.0.6, Squeak64-5.3, Squeak64-5.2, Squeak64-5.1 ] + smalltalk: [ Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, Pharo-6.1, GemStone64-3.6.1, GemStone64-3.5.5, GemStone64-3.4.5, GemStone64-3.3.9, GemStone64-3.2.17, GemStone64-3.1.0.6, Squeak64-5.3, Squeak64-5.2, Squeak64-5.1 ] experimental: [ false ] include: - smalltalk: Squeak64-trunk @@ -16,17 +16,37 @@ jobs: continue-on-error: ${{ matrix.experimental }} name: ${{ matrix.smalltalk }} steps: + - name: Get current date + id: date + run: echo "::set-output name=date::$(date +'%Y-%m-%dT%H:%M:%S')" + - name: Log date + run: echo "${{ steps.date.outputs.date }}" + - name: Set default run status + run: echo "::set-output name=last_run_status::default" > last_run_status + - name: Restore last run status + id: last_run + uses: actions/cache@v2 + with: + path: | + last_run_status + key: ${{ github.run_id }}-${{ matrix.smalltalk }}-${{ steps.date.outputs.date }} + restore-keys: | + ${{ github.run_id }}-${{ matrix.smalltalk }}- + - name: Set last run status + id: last_run_status + run: cat last_run_status - uses: actions/checkout@v2 + with: + ref: ${{ github.event.workflow_dispatch.ref }} - uses: hpi-swa/setup-smalltalkCI@v1 with: - smalltalk-image: ${{ matrix.smalltalk }} - # - name: Fix missing OS prerequisites for GemStone builds - # run: | - # git clone https://github.com/GsDevKit/GsDevKit_home.git - # ./GsDevKit_home/bin/utils/installOsPrereqs - # continue-on-error: true - # if: startsWith(matrix.smalltalk,'GemStone') + smalltalk-version: ${{ matrix.smalltalk }} - name: Run tests + id: test_run + if: steps.last_run_status.outputs.last_run_status != 'success' run: smalltalkci -s ${{ matrix.smalltalk }} shell: bash - timeout-minutes: 10 \ No newline at end of file + timeout-minutes: 20 + - name: Save run status + if: steps.last_run_status.outputs.last_run_status != 'success' + run: echo "::set-output name=last_run_status::${{ steps.test_run.outcome }}" > last_run_status \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 993b448e..00000000 --- a/.travis.yml +++ /dev/null @@ -1,37 +0,0 @@ -language: smalltalk -sudo: false - -matrix: - allow_failures: - - smalltalk: Squeak32-trunk - include: - - smalltalk: Pharo64-9.0 - env: BUILD_NAME=Pharo64-9.0 - - smalltalk: Pharo64-8.0 - env: BUILD_NAME=Pharo64-8.0 - - smalltalk: Pharo64-7.0 - env: BUILD_NAME=Pharo64-7.0 - - smalltalk: Pharo64-6.1 - env: BUILD_NAME=Pharo64-6.1 - - smalltalk: Pharo-6.1 - env: BUILD_NAME=Pharo-6.1 - - smalltalk: Squeak32-trunk - env: BUILD_NAME=Squeak-trunk - - smalltalk: Squeak32-5.3 - env: BUILD_NAME=Squeak-5.3 - - smalltalk: Squeak32-5.2 - env: BUILD_NAME=Squeak-5.2 - - smalltalk: Squeak32-5.1 - env: BUILD_NAME=Squeak-5.1 - - smalltalk: GemStone-3.6.0 - env: BUILD_NAME=GemStone-3.6.0 - - smalltalk: GemStone-3.5.5 - env: BUILD_NAME=GemStone-3.5.5 - - smalltalk: GemStone-3.4.5 - env: BUILD_NAME=GemStone-3.4.5 - - smalltalk: GemStone-3.3.9 - env: BUILD_NAME=GemStone-3.3.9 - - smalltalk: GemStone-3.2.17 - env: BUILD_NAME=GemStone-3.2.17 - - smalltalk: GemStone-3.1.0.6 - env: BUILD_NAME=GemStone-3.1.0.6 From 435655e3e73328f6247899b8b413a68cc82ff74b Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 13 Jun 2021 15:50:16 +0200 Subject: [PATCH 014/254] update README --- README.md | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/README.md b/README.md index 004f2e69..910df146 100644 --- a/README.md +++ b/README.md @@ -16,19 +16,7 @@ Grease is widely adopted. Implementations exist already for all platforms that s ## Platform compatibility and Travis builds -The latest Grease version is supported on the following platforms and versions, which are tested using [Travis CI builds](https://travis-ci.org/SeasideSt/Grease): - -| Squeak | Pharo | GemStone | -| --------------- | ---------------- | -------------------- | -| [![Build status: Squeak-5.2](http://badges.herokuapp.com/travis/SeasideSt/Grease?branch=master&env=BUILD_NAME=Squeak-trunk&label=5.2)](http://travis-ci.org/SeasideSt/Grease) | [![Build status: Pharo64-9.0](http://badges.herokuapp.com/travis/SeasideSt/Grease?branch=master&env=BUILD_NAME=Pharo64-9.0&label=9.0)](http://travis-ci.org/SeasideSt/Grease) | [![Build status: Gemstone-3.6.0](http://badges.herokuapp.com/travis/SeasideSt/Grease?branch=master&env=BUILD_NAME=GemStone-3.6.0&label=3.6.0)](http://travis-ci.org/SeasideSt/Grease) | -| [![Build status: Squeak-5.1](http://badges.herokuapp.com/travis/SeasideSt/Grease?branch=master&env=BUILD_NAME=Squeak-5.1&label=5.1)](http://travis-ci.org/SeasideSt/Grease) | [![Build status: Pharo64-8.0](http://badges.herokuapp.com/travis/SeasideSt/Grease?branch=master&env=BUILD_NAME=Pharo64-8.0&label=8.0)](http://travis-ci.org/SeasideSt/Grease) | [![Build status: Gemstone-3.5.5](http://badges.herokuapp.com/travis/SeasideSt/Grease?branch=master&env=BUILD_NAME=GemStone-3.5.5&label=3.5.5)](http://travis-ci.org/SeasideSt/Grease) | -| | [![Build status: Pharo64-7.0](http://badges.herokuapp.com/travis/SeasideSt/Grease?branch=master&env=BUILD_NAME=Pharo64-7.0&label=7.0)](http://travis-ci.org/SeasideSt/Grease) | [![Build status: Gemstone-3.4.5](http://badges.herokuapp.com/travis/SeasideSt/Grease?branch=master&env=BUILD_NAME=GemStone-3.4.5&label=3.4.5)](http://travis-ci.org/SeasideSt/Grease) | -| | [![Build status: Pharo-6.1](http://badges.herokuapp.com/travis/SeasideSt/Grease?branch=master&env=BUILD_NAME=Pharo-6.1&label=6.1)](http://travis-ci.org/SeasideSt/Grease) | [![Build status: Gemstone-3.3.9](http://badges.herokuapp.com/travis/SeasideSt/Grease?branch=master&env=BUILD_NAME=GemStone-3.3.9&label=3.3.9)](http://travis-ci.org/SeasideSt/Grease) | -| | | [![Build status: Gemstone-3.2.17](http://badges.herokuapp.com/travis/SeasideSt/Grease?branch=master&env=BUILD_NAME=GemStone-3.2.17&label=3.2.17)](http://travis-ci.org/SeasideSt/Grease) | -| | | [![Build status: Gemstone-3.1.0.6](http://badges.herokuapp.com/travis/SeasideSt/Grease?branch=master&env=BUILD_NAME=GemStone-3.1.0.6&label=3.1.0.6)](http://travis-ci.org/SeasideSt/Grease) | -| | | | - -Builds via github actions: [![smalltalkCI](https://github.com/SeasideSt/Grease/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/SeasideSt/Grease/actions/workflows/ci.yml) +The latest Grease version is supported on the following platforms and versions, which are tested using builds via github actions: [![smalltalkCI](https://github.com/SeasideSt/Grease/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/SeasideSt/Grease/actions/workflows/ci.yml) ## Installation From f0a32e5c200c715a6fff06bc5f7d6ba36e054383 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 13 Jun 2021 15:58:57 +0200 Subject: [PATCH 015/254] update CI spec and README --- .github/workflows/ci.yml | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68a1904d..21b69820 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: ref: ${{ github.event.workflow_dispatch.ref }} - uses: hpi-swa/setup-smalltalkCI@v1 with: - smalltalk-version: ${{ matrix.smalltalk }} + smalltalk-image: ${{ matrix.smalltalk }} - name: Run tests id: test_run if: steps.last_run_status.outputs.last_run_status != 'success' diff --git a/README.md b/README.md index 910df146..bed04f04 100644 --- a/README.md +++ b/README.md @@ -14,9 +14,9 @@ Grease does not try to solve all problems. We are not testing Sockets or HTTP cl Grease is widely adopted. Implementations exist already for all platforms that support Seaside 3.x. As well as Seaside, new versions of Magritte, Pier, and Monticello are already being implemented on top of Grease. -## Platform compatibility and Travis builds +## Platform compatibility -The latest Grease version is supported on the following platforms and versions, which are tested using builds via github actions: [![smalltalkCI](https://github.com/SeasideSt/Grease/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/SeasideSt/Grease/actions/workflows/ci.yml) +The latest Grease version is supported on the Pharo and GemStone/S platforms and versions tested in the SmalltalkCI workflow in Github Actions: [![smalltalkCI](https://github.com/SeasideSt/Grease/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/SeasideSt/Grease/actions/workflows/ci.yml) ## Installation From b233f8d7d44268a5f1244dfedd6de5b2bc9348f3 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Fri, 2 Jul 2021 08:08:27 +0200 Subject: [PATCH 016/254] Move expected failures declaration to Pharo package --- .../GRUtf8CodecTest.extension}/instance/expectedFailures.st | 2 +- .../GRUtf8CodecTest.extension/properties.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) rename repository/{Grease-Tests-Core.package/GRUtf8CodecTest.class => Grease-Tests-Pharo-Core.package/GRUtf8CodecTest.extension}/instance/expectedFailures.st (81%) create mode 100644 repository/Grease-Tests-Pharo-Core.package/GRUtf8CodecTest.extension/properties.json diff --git a/repository/Grease-Tests-Core.package/GRUtf8CodecTest.class/instance/expectedFailures.st b/repository/Grease-Tests-Pharo-Core.package/GRUtf8CodecTest.extension/instance/expectedFailures.st similarity index 81% rename from repository/Grease-Tests-Core.package/GRUtf8CodecTest.class/instance/expectedFailures.st rename to repository/Grease-Tests-Pharo-Core.package/GRUtf8CodecTest.extension/instance/expectedFailures.st index 82510165..15a035a8 100644 --- a/repository/Grease-Tests-Core.package/GRUtf8CodecTest.class/instance/expectedFailures.st +++ b/repository/Grease-Tests-Pharo-Core.package/GRUtf8CodecTest.extension/instance/expectedFailures.st @@ -1,4 +1,4 @@ -testing +*Grease-Tests-Pharo-Core expectedFailures ^ SystemVersion current major < 9 ifTrue: [ #(testCodecUtf8ShortestForm) ] diff --git a/repository/Grease-Tests-Pharo-Core.package/GRUtf8CodecTest.extension/properties.json b/repository/Grease-Tests-Pharo-Core.package/GRUtf8CodecTest.extension/properties.json new file mode 100644 index 00000000..3821af97 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Core.package/GRUtf8CodecTest.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "GRUtf8CodecTest" +} \ No newline at end of file From a84d0dcff6466d9251c3e3ed39aabfa4403719ff Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 2 Aug 2021 10:56:46 +0200 Subject: [PATCH 017/254] Add relevant Pharo9 inspector extension methods for GRSmallDictionary and GROrderedMultiMap --- .../instance/customizeExplorerContents.st | 3 --- .../instance/explorerContents.st | 10 ---------- .../instance/hasContentsInExplorer.st | 3 --- .../instance/inspectionItems..st | 15 +++++++++++++++ .../instance/inspectionItems..st | 15 +++++++++++++++ .../GRSmallDictionary2.extension/properties.json | 3 +++ 6 files changed, 33 insertions(+), 16 deletions(-) delete mode 100644 repository/Grease-Pharo90-Core.package/GRSmallDictionary.extension/instance/customizeExplorerContents.st delete mode 100644 repository/Grease-Pharo90-Core.package/GRSmallDictionary.extension/instance/explorerContents.st delete mode 100644 repository/Grease-Pharo90-Core.package/GRSmallDictionary.extension/instance/hasContentsInExplorer.st create mode 100644 repository/Grease-Pharo90-Core.package/GRSmallDictionary.extension/instance/inspectionItems..st create mode 100644 repository/Grease-Pharo90-Core.package/GRSmallDictionary2.extension/instance/inspectionItems..st create mode 100644 repository/Grease-Pharo90-Core.package/GRSmallDictionary2.extension/properties.json diff --git a/repository/Grease-Pharo90-Core.package/GRSmallDictionary.extension/instance/customizeExplorerContents.st b/repository/Grease-Pharo90-Core.package/GRSmallDictionary.extension/instance/customizeExplorerContents.st deleted file mode 100644 index c92b49af..00000000 --- a/repository/Grease-Pharo90-Core.package/GRSmallDictionary.extension/instance/customizeExplorerContents.st +++ /dev/null @@ -1,3 +0,0 @@ -*Grease-Pharo90-Core -customizeExplorerContents - ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRSmallDictionary.extension/instance/explorerContents.st b/repository/Grease-Pharo90-Core.package/GRSmallDictionary.extension/instance/explorerContents.st deleted file mode 100644 index a7f93368..00000000 --- a/repository/Grease-Pharo90-Core.package/GRSmallDictionary.extension/instance/explorerContents.st +++ /dev/null @@ -1,10 +0,0 @@ -*Grease-Pharo90-Core -explorerContents - | contents | - contents := OrderedCollection new. - self keysAndValuesDo: [ :key :value | - contents add: (ObjectExplorerWrapper - with: value - name: (key printString contractTo: 32) - model: self) ]. - ^ contents \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRSmallDictionary.extension/instance/hasContentsInExplorer.st b/repository/Grease-Pharo90-Core.package/GRSmallDictionary.extension/instance/hasContentsInExplorer.st deleted file mode 100644 index f045a959..00000000 --- a/repository/Grease-Pharo90-Core.package/GRSmallDictionary.extension/instance/hasContentsInExplorer.st +++ /dev/null @@ -1,3 +0,0 @@ -*Grease-Pharo90-Core -hasContentsInExplorer - ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRSmallDictionary.extension/instance/inspectionItems..st b/repository/Grease-Pharo90-Core.package/GRSmallDictionary.extension/instance/inspectionItems..st new file mode 100644 index 00000000..18628d10 --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/GRSmallDictionary.extension/instance/inspectionItems..st @@ -0,0 +1,15 @@ +*Grease-Pharo90-Core +inspectionItems: aBuilder + + + ^ aBuilder newTable + addColumn: (SpStringTableColumn + title: 'Key' + evaluated: [ :each | StObjectPrinter asTruncatedTextFrom: each key ]) + beSortable; + addColumn: (SpStringTableColumn + title: 'Value' + evaluated: [ :each | StObjectPrinter asTruncatedTextFrom: each value ]) + beSortable; + items: self associations; + yourself \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRSmallDictionary2.extension/instance/inspectionItems..st b/repository/Grease-Pharo90-Core.package/GRSmallDictionary2.extension/instance/inspectionItems..st new file mode 100644 index 00000000..18628d10 --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/GRSmallDictionary2.extension/instance/inspectionItems..st @@ -0,0 +1,15 @@ +*Grease-Pharo90-Core +inspectionItems: aBuilder + + + ^ aBuilder newTable + addColumn: (SpStringTableColumn + title: 'Key' + evaluated: [ :each | StObjectPrinter asTruncatedTextFrom: each key ]) + beSortable; + addColumn: (SpStringTableColumn + title: 'Value' + evaluated: [ :each | StObjectPrinter asTruncatedTextFrom: each value ]) + beSortable; + items: self associations; + yourself \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRSmallDictionary2.extension/properties.json b/repository/Grease-Pharo90-Core.package/GRSmallDictionary2.extension/properties.json new file mode 100644 index 00000000..c5c0f1c8 --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/GRSmallDictionary2.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "GRSmallDictionary2" +} \ No newline at end of file From c5af9a7cc00d16eaf9a4df4437c0bb3470be1891 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 2 Aug 2021 13:00:44 +0200 Subject: [PATCH 018/254] gemstone 3.5.5 -> 3.5.6 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 21b69820..5b36f4d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - smalltalk: [ Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, Pharo-6.1, GemStone64-3.6.1, GemStone64-3.5.5, GemStone64-3.4.5, GemStone64-3.3.9, GemStone64-3.2.17, GemStone64-3.1.0.6, Squeak64-5.3, Squeak64-5.2, Squeak64-5.1 ] + smalltalk: [ Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, Pharo-6.1, GemStone64-3.6.1, GemStone64-3.5.6, GemStone64-3.4.5, GemStone64-3.3.9, GemStone64-3.2.17, GemStone64-3.1.0.6, Squeak64-5.3, Squeak64-5.2, Squeak64-5.1 ] experimental: [ false ] include: - smalltalk: Squeak64-trunk From 13977794b6a4b36e3627228ddfdf47d84bf79780 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 15 Aug 2021 11:43:25 +0200 Subject: [PATCH 019/254] Change ascii to utf8 encoding for text files in Pharo 9 --- .../instance/readFileStreamOn.do.binary..st | 2 +- .../instance/writeFileStreamOn.do.binary..st | 2 +- .../instance/testReadWriteToFileInFolderText.st | 11 +++++------ 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/readFileStreamOn.do.binary..st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/readFileStreamOn.do.binary..st index f9dda145..1852f83e 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/readFileStreamOn.do.binary..st +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/readFileStreamOn.do.binary..st @@ -3,4 +3,4 @@ readFileStreamOn: aString do: aBlock binary: aBoolean ^ aBoolean ifTrue: [ aString asFileReference binaryReadStreamDo: aBlock ] - ifFalse: [ aString asFileReference readStreamEncoded: 'ascii' do: aBlock ] \ No newline at end of file + ifFalse: [ aString asFileReference readStreamEncoded: 'utf-8' do: aBlock ] \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/writeFileStreamOn.do.binary..st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/writeFileStreamOn.do.binary..st index c06164c8..0b43135e 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/writeFileStreamOn.do.binary..st +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/writeFileStreamOn.do.binary..st @@ -2,4 +2,4 @@ file library writeFileStreamOn: aString do: aBlock binary: aBoolean ^ aBoolean ifTrue: [ aString asFileReference binaryWriteStreamDo: aBlock ] - ifFalse: [ aString asFileReference writeStreamEncoded: 'ascii' do: [ :str | aBlock value: (ZnNewLineWriterStream on: str) ] ] \ No newline at end of file + ifFalse: [ aString asFileReference writeStreamEncoded: 'utf-8' do: [ :str | aBlock value: (ZnNewLineWriterStream on: str) ] ] \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testReadWriteToFileInFolderText.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testReadWriteToFileInFolderText.st index 2d9fc845..247fc165 100644 --- a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testReadWriteToFileInFolderText.st +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testReadWriteToFileInFolderText.st @@ -1,8 +1,7 @@ tests-filestreams testReadWriteToFileInFolderText - | text | - text := 'Ph''nglui mglw''nafh Cthulhu R''lyeh wgah''nagl fhtagn'. - self - writeToFile: text - withFileNameDo:[ :fileName | - self assert: (text = (GRPlatform current contentsOfFile: fileName binary: false)) ] \ No newline at end of file + #('Ph''nglui mglw''nafh Cthulhu R''lyeh wgah''nagl fhtagn' 'Übèrstrîñgé') do:[ :text | + self + writeToFile: text + withFileNameDo:[ :fileName | + self assert: text equals: (GRPlatform current contentsOfFile: fileName binary: false) ] ]. \ No newline at end of file From 652acb562c2d3f39c2572f38e0a05b7737382dca Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 16 Aug 2021 09:28:29 +0200 Subject: [PATCH 020/254] Change ascii to utf8 encoding for text files in Pharo 7 --- .../instance/readFileStreamOn.do.binary..st | 2 +- .../instance/writeFileStreamOn.do.binary..st | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/readFileStreamOn.do.binary..st b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/readFileStreamOn.do.binary..st index 2b7331ab..22443227 100644 --- a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/readFileStreamOn.do.binary..st +++ b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/readFileStreamOn.do.binary..st @@ -4,4 +4,4 @@ readFileStreamOn: aString do: aBlock binary: aBoolean ^ aBoolean ifTrue: [ aString asFileReference binaryReadStreamDo: aBlock ] - ifFalse: [ aString asFileReference readStreamEncoded: 'ascii' do: aBlock ] \ No newline at end of file + ifFalse: [ aString asFileReference readStreamEncoded: 'utf-8' do: aBlock ] \ No newline at end of file diff --git a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/writeFileStreamOn.do.binary..st b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/writeFileStreamOn.do.binary..st index 762e9cca..22cf6c64 100644 --- a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/writeFileStreamOn.do.binary..st +++ b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/writeFileStreamOn.do.binary..st @@ -2,4 +2,4 @@ file library writeFileStreamOn: aString do: aBlock binary: aBoolean ^ aBoolean ifTrue: [ aString asFileReference binaryWriteStreamDo: aBlock ] - ifFalse: [ aString asFileReference writeStreamEncoded: 'ascii' do: aBlock ] \ No newline at end of file + ifFalse: [ aString asFileReference writeStreamEncoded: 'utf-8' do: aBlock ] \ No newline at end of file From d305fd5012acec83d6d773234c71ff95d594c8ba Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 16 Aug 2021 09:44:20 +0200 Subject: [PATCH 021/254] Move utf8 test file read/write test to Pharo specific test package and mark it as expected failure for Pharo 7 (and earlier) --- .../instance/testReadWriteToFileInFolderText.st | 11 ++++++----- .../instance/expectedFailures.st | 10 ++++++++++ .../instance/testReadWriteToFileInFolderTextUTF8.st | 7 +++++++ 3 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/expectedFailures.st create mode 100644 repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/testReadWriteToFileInFolderTextUTF8.st diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testReadWriteToFileInFolderText.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testReadWriteToFileInFolderText.st index 247fc165..2d9fc845 100644 --- a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testReadWriteToFileInFolderText.st +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testReadWriteToFileInFolderText.st @@ -1,7 +1,8 @@ tests-filestreams testReadWriteToFileInFolderText - #('Ph''nglui mglw''nafh Cthulhu R''lyeh wgah''nagl fhtagn' 'Übèrstrîñgé') do:[ :text | - self - writeToFile: text - withFileNameDo:[ :fileName | - self assert: text equals: (GRPlatform current contentsOfFile: fileName binary: false) ] ]. \ No newline at end of file + | text | + text := 'Ph''nglui mglw''nafh Cthulhu R''lyeh wgah''nagl fhtagn'. + self + writeToFile: text + withFileNameDo:[ :fileName | + self assert: (text = (GRPlatform current contentsOfFile: fileName binary: false)) ] \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/expectedFailures.st b/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/expectedFailures.st new file mode 100644 index 00000000..d0d53741 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/expectedFailures.st @@ -0,0 +1,10 @@ +running +expectedFailures + "UTF8 encoding/decoding for text files only available from Pharo7" + Smalltalk at: #SystemVersion ifPresent: [ :systemVersion | + | versionString | + versionString := systemVersion current version. + (versionString beginsWith: 'Pharo') ifTrue: [ + systemVersion current major <= 7 + ifTrue: [ ^ #(testReadWriteToFileInFolderTextUTF8) ] ] ]. + ^ #() \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/testReadWriteToFileInFolderTextUTF8.st b/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/testReadWriteToFileInFolderTextUTF8.st new file mode 100644 index 00000000..a85ee772 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/testReadWriteToFileInFolderTextUTF8.st @@ -0,0 +1,7 @@ +tests-filestreams +testReadWriteToFileInFolderTextUTF8 + #('Übèrstrîñgé' '£ęλ~') do:[ :text | + self + writeToFile: text + withFileNameDo:[ :fileName | + self assert: text equals: (GRPlatform current contentsOfFile: fileName binary: false) ] ]. \ No newline at end of file From eee09562eff1f6936177a1594f6575e2e16f8c20 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 16 Aug 2021 09:51:18 +0200 Subject: [PATCH 022/254] Fixed wrong version comparison for expected failure in test --- .../GRPharoPlatformTest.class/instance/expectedFailures.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/expectedFailures.st b/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/expectedFailures.st index d0d53741..74b34dcb 100644 --- a/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/expectedFailures.st +++ b/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/expectedFailures.st @@ -5,6 +5,6 @@ expectedFailures | versionString | versionString := systemVersion current version. (versionString beginsWith: 'Pharo') ifTrue: [ - systemVersion current major <= 7 + systemVersion current major < 7 ifTrue: [ ^ #(testReadWriteToFileInFolderTextUTF8) ] ] ]. ^ #() \ No newline at end of file From 4ab1bebeff2b141a6fe0d10a7cf1716602ca5cbf Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 16 Aug 2021 11:21:40 +0200 Subject: [PATCH 023/254] Seems like the MultiByteFileStream did write utf8 already... (so this works in Pharo6 as well) --- .../instance/expectedFailures.st | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/expectedFailures.st diff --git a/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/expectedFailures.st b/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/expectedFailures.st deleted file mode 100644 index 74b34dcb..00000000 --- a/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/expectedFailures.st +++ /dev/null @@ -1,10 +0,0 @@ -running -expectedFailures - "UTF8 encoding/decoding for text files only available from Pharo7" - Smalltalk at: #SystemVersion ifPresent: [ :systemVersion | - | versionString | - versionString := systemVersion current version. - (versionString beginsWith: 'Pharo') ifTrue: [ - systemVersion current major < 7 - ifTrue: [ ^ #(testReadWriteToFileInFolderTextUTF8) ] ] ]. - ^ #() \ No newline at end of file From 99278d4a75dfaf7244f24af1dae8e25da73309df Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 16 Aug 2021 11:56:08 +0200 Subject: [PATCH 024/254] I always keep forgetting the version info... now at 1.7.3 --- .../Grease-Core.package/GRPlatform.class/instance/version.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/version.st b/repository/Grease-Core.package/GRPlatform.class/instance/version.st index 01828a6b..b8628c03 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/version.st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/version.st @@ -2,5 +2,5 @@ version info version "Answer the Grease version" - ^ (GRVersion major: 1 minor: 7 revision: 0) + ^ (GRVersion major: 1 minor: 7 revision: 3) yourself \ No newline at end of file From 55667df2d237ea1dc8bd715b56f4a9785381794b Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Tue, 7 Sep 2021 20:24:19 +0200 Subject: [PATCH 025/254] Fix GRPackage dependency declaration --- .../Grease-Tests-Slime.package/.filetree | 5 +++-- .../class/greaseTestsSlime.st | 2 +- .../GRPackage.extension/properties.json | 3 ++- .../GRSlimeTest.class/properties.json | 19 +++++++++---------- .../properties.json | 3 +-- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/repository/Grease-Tests-Slime.package/.filetree b/repository/Grease-Tests-Slime.package/.filetree index 8998102c..57a67973 100644 --- a/repository/Grease-Tests-Slime.package/.filetree +++ b/repository/Grease-Tests-Slime.package/.filetree @@ -1,4 +1,5 @@ { - "noMethodMetaData" : true, "separateMethodMetaAndSource" : false, - "useCypressPropertiesFile" : true } + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/repository/Grease-Tests-Slime.package/GRPackage.extension/class/greaseTestsSlime.st b/repository/Grease-Tests-Slime.package/GRPackage.extension/class/greaseTestsSlime.st index a6fa00fd..0ef4a959 100644 --- a/repository/Grease-Tests-Slime.package/GRPackage.extension/class/greaseTestsSlime.st +++ b/repository/Grease-Tests-Slime.package/GRPackage.extension/class/greaseTestsSlime.st @@ -3,6 +3,6 @@ greaseTestsSlime ^ self new name: 'Grease-Tests-Slime'; description: 'Unit tests for the package Grease-Slime.'; - addDependency: 'Grease-Slime'; + addDependency: 'Grease-Pharo-Slime'; url: #seasideUrl; yourself \ No newline at end of file diff --git a/repository/Grease-Tests-Slime.package/GRPackage.extension/properties.json b/repository/Grease-Tests-Slime.package/GRPackage.extension/properties.json index dd2faaf0..ae522a7e 100644 --- a/repository/Grease-Tests-Slime.package/GRPackage.extension/properties.json +++ b/repository/Grease-Tests-Slime.package/GRPackage.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "GRPackage" } + "name" : "GRPackage" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/properties.json b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/properties.json index 803da85e..e01b8a06 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/properties.json +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/properties.json @@ -1,15 +1,14 @@ { - "category" : "Grease-Tests-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", + "super" : "TestCase", + "category" : "Grease-Tests-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], "instvars" : [ "model", - "environment" ], + "environment" + ], "name" : "GRSlimeTest", - "pools" : [ - ], - "super" : "TestCase", - "type" : "normal" } + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Slime.package/properties.json b/repository/Grease-Tests-Slime.package/properties.json index f037444a..6f31cf5a 100644 --- a/repository/Grease-Tests-Slime.package/properties.json +++ b/repository/Grease-Tests-Slime.package/properties.json @@ -1,2 +1 @@ -{ - } +{ } \ No newline at end of file From 1c55905463adc188bfc8a82bd8d49d30695aa061 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Tue, 7 Sep 2021 20:26:49 +0200 Subject: [PATCH 026/254] Added a test for broken package dependencies --- .../GRPackageTest.class/instance/testPackages.st | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/repository/Grease-Tests-Core.package/GRPackageTest.class/instance/testPackages.st b/repository/Grease-Tests-Core.package/GRPackageTest.class/instance/testPackages.st index b42d4730..3c074d00 100644 --- a/repository/Grease-Tests-Core.package/GRPackageTest.class/instance/testPackages.st +++ b/repository/Grease-Tests-Core.package/GRPackageTest.class/instance/testPackages.st @@ -6,4 +6,5 @@ testPackages packages do: [ :each | self assert: each name notEmpty. self assert: each license notNil. - self assert: each url notNil ] \ No newline at end of file + self deny: (each dependencies includes: nil). + self assert: each url notNil ]. \ No newline at end of file From 1f93dc510b6d1ddf6e9178e821c3ba80cbc0d2a3 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Tue, 7 Sep 2021 20:38:13 +0200 Subject: [PATCH 027/254] Fix package resolution for Slime exception --- .../GRPackage.class/instance/resolveWith..st | 30 ++++++++----------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/repository/Grease-Core.package/GRPackage.class/instance/resolveWith..st b/repository/Grease-Core.package/GRPackage.class/instance/resolveWith..st index 9152b2e0..7a26cfe3 100644 --- a/repository/Grease-Core.package/GRPackage.class/instance/resolveWith..st +++ b/repository/Grease-Core.package/GRPackage.class/instance/resolveWith..st @@ -5,20 +5,16 @@ resolveWith: aDictionary aDictionary at: each ifAbsent: [ "if Foo-Pharo-Bar fails try Foo-Pharo20-Bar and Foo-Pharo30-Bar" (each indexOfSubCollection: '-Pharo-' startingAt: 1) ~= 0 ifTrue: [ - "try -Pharo40-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo40-') ifAbsent: [ - "try -Pharo50-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo50-') ifAbsent: [ - "try -Pharo60-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo60-') ifAbsent: [ - "try -Pharo70-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo70-') ifAbsent: [ - "try -Pharo90-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo90-') ifAbsent: [ - "try -Squeak-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak-') ifAbsent: [ - "try -Squeak5-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak5-') ifAbsent: [ - "try -Squeak6-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak6-') ifAbsent: [ - self error: self name printString , ' depends on unknown package ' , each printString ] ] ] ] ] ] ] ] ] ] ] \ No newline at end of file + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo60-') ifAbsent: [ + "try -Pharo70-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo70-') ifAbsent: [ + "try -Pharo90-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo90-') ifAbsent: [ + "try -Squeak-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak-') ifAbsent: [ + "try -Squeak5-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak5-') ifAbsent: [ + "try -Squeak6-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak6-') ifAbsent: [ + aDictionary at: (each copyReplaceAll: 'Grease-Pharo-Slime' with: 'Grease-Slime') ifAbsent: [ + self error: self name printString , ' depends on unknown package ' , each printString ] ] ] ] ] ] ] ] ] ] \ No newline at end of file From 026c637e76a834a1251419c6142558bc5ec89fb7 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Tue, 7 Sep 2021 20:43:02 +0200 Subject: [PATCH 028/254] Fix package test --- .../GRPackage.class/instance/resolveWith..st | 32 +++++++++++-------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/repository/Grease-Core.package/GRPackage.class/instance/resolveWith..st b/repository/Grease-Core.package/GRPackage.class/instance/resolveWith..st index 7a26cfe3..d7d8a964 100644 --- a/repository/Grease-Core.package/GRPackage.class/instance/resolveWith..st +++ b/repository/Grease-Core.package/GRPackage.class/instance/resolveWith..st @@ -5,16 +5,22 @@ resolveWith: aDictionary aDictionary at: each ifAbsent: [ "if Foo-Pharo-Bar fails try Foo-Pharo20-Bar and Foo-Pharo30-Bar" (each indexOfSubCollection: '-Pharo-' startingAt: 1) ~= 0 ifTrue: [ - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo60-') ifAbsent: [ - "try -Pharo70-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo70-') ifAbsent: [ - "try -Pharo90-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo90-') ifAbsent: [ - "try -Squeak-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak-') ifAbsent: [ - "try -Squeak5-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak5-') ifAbsent: [ - "try -Squeak6-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak6-') ifAbsent: [ - aDictionary at: (each copyReplaceAll: 'Grease-Pharo-Slime' with: 'Grease-Slime') ifAbsent: [ - self error: self name printString , ' depends on unknown package ' , each printString ] ] ] ] ] ] ] ] ] ] \ No newline at end of file + "try -Pharo40-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo40-') ifAbsent: [ + "try -Pharo50-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo50-') ifAbsent: [ + "try -Pharo60-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo60-') ifAbsent: [ + "try -Pharo70-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo70-') ifAbsent: [ + "try -Pharo90-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo90-') ifAbsent: [ + "try -Squeak-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak-') ifAbsent: [ + "try -Squeak5-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak5-') ifAbsent: [ + "try -Squeak6-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak6-') ifAbsent: [ + "specific for Grease-Slime" + aDictionary at: (each copyReplaceAll: 'Grease-Pharo-Slime' with: 'Grease-Slime') ifAbsent: [ + self error: self name printString , ' depends on unknown package ' , each printString ] ] ] ] ] ] ] ] ] ] ] ] \ No newline at end of file From 1dcdab186cbd4926728683efb91e2e421a09edb2 Mon Sep 17 00:00:00 2001 From: Torsten Bergmann Date: Fri, 17 Sep 2021 23:32:34 +0200 Subject: [PATCH 029/254] SequenceableCollection>>#sorted unnecessary in Grease-Pharo90-Core Fix #125 --- .../SequenceableCollection.extension/instance/sorted.st | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 repository/Grease-Pharo90-Core.package/SequenceableCollection.extension/instance/sorted.st diff --git a/repository/Grease-Pharo90-Core.package/SequenceableCollection.extension/instance/sorted.st b/repository/Grease-Pharo90-Core.package/SequenceableCollection.extension/instance/sorted.st deleted file mode 100644 index 0836e77c..00000000 --- a/repository/Grease-Pharo90-Core.package/SequenceableCollection.extension/instance/sorted.st +++ /dev/null @@ -1,3 +0,0 @@ -*Grease-Pharo90-Core -sorted - ^ self sorted: [ :a :b | a <= b ] \ No newline at end of file From 3ef1970e50b88bc6e794776a7188cd15d7d9a67b Mon Sep 17 00:00:00 2001 From: Dale Henrichs Date: Fri, 17 Sep 2021 17:39:56 -0700 Subject: [PATCH 030/254] update ci.yml [ci skip] ci on PR to master --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86889ae0..77fcb642 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,6 +3,8 @@ name: smalltalkCI on: push: pull_request: + branches: + master schedule: - cron: "15 2 7 * *" #run job on the 7th day of every month on the 15th minute of the 2nd hour From 48f401f4eb5b02591d73947617b3d6aff14e8907 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Thu, 23 Sep 2021 20:30:59 +0200 Subject: [PATCH 031/254] fix issue 127 (fileExists: in GemStone reports on existence of directory, not the file) --- .../GRGemStonePlatform.class/instance/fileExists..st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/fileExists..st b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/fileExists..st index 3ba20dce..f5f8c691 100644 --- a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/fileExists..st +++ b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/fileExists..st @@ -1,3 +1,3 @@ file-library fileExists: aString - ^ (FileDirectory forFileName: aString) exists \ No newline at end of file + ^ GsFile existsOnServer: aString \ No newline at end of file From ba95d23ba127dc8ae52503702003df45c2f5b8c2 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Thu, 23 Sep 2021 20:41:55 +0200 Subject: [PATCH 032/254] Added test for fileExists: --- .../GRPlatformTest.class/instance/testFileExists.st | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testFileExists.st diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testFileExists.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testFileExists.st new file mode 100644 index 00000000..5d7796bc --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testFileExists.st @@ -0,0 +1,9 @@ +tests-filestreams +testFileExists + | theFileName | + self + writeToFile: 'test' + withFileNameDo:[ :fileName | + self assert: (GRPlatform current fileExists: fileName). + theFileName := fileName ]. + self deny: (GRPlatform current fileExists: theFileName) \ No newline at end of file From 99b0213ad62645f4f9d750d5b4e31288368777a0 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Thu, 23 Sep 2021 20:43:17 +0200 Subject: [PATCH 033/254] version 1.7.5 --- .../Grease-Core.package/GRPlatform.class/instance/version.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/version.st b/repository/Grease-Core.package/GRPlatform.class/instance/version.st index b8628c03..c721c9a6 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/version.st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/version.st @@ -2,5 +2,5 @@ version info version "Answer the Grease version" - ^ (GRVersion major: 1 minor: 7 revision: 3) + ^ (GRVersion major: 1 minor: 7 revision: 5) yourself \ No newline at end of file From 7041f740079f586baccad70d5a47d184994d16fa Mon Sep 17 00:00:00 2001 From: Dale Henrichs Date: Fri, 22 Oct 2021 11:00:37 -0700 Subject: [PATCH 034/254] Issue #129: implement ReadByteStream>>greaseUpToAll: for 3.7.0 --- repository/BaselineOfGrease.package/.filetree | 5 ++--- .../instance/baselineGemStone..st | 10 ++++++++++ .../BaselineOfGrease.class/properties.json | 19 +++++++++++-------- .../monticello.meta/categories.st | 2 +- .../BaselineOfGrease.package/properties.json | 3 ++- .../.filetree | 4 ++++ .../instance/greaseUpToAll..st | 6 ++++++ .../properties.json | 2 ++ .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 + .../properties.json | 2 ++ 11 files changed, 41 insertions(+), 13 deletions(-) create mode 100644 repository/Grease-GemStone-Kernelv370.package/.filetree create mode 100644 repository/Grease-GemStone-Kernelv370.package/ReadByteStreamPortable.extension/instance/greaseUpToAll..st create mode 100644 repository/Grease-GemStone-Kernelv370.package/ReadByteStreamPortable.extension/properties.json create mode 100644 repository/Grease-GemStone-Kernelv370.package/monticello.meta/initializers.st create mode 100644 repository/Grease-GemStone-Kernelv370.package/monticello.meta/package create mode 100644 repository/Grease-GemStone-Kernelv370.package/properties.json diff --git a/repository/BaselineOfGrease.package/.filetree b/repository/BaselineOfGrease.package/.filetree index 57a67973..8998102c 100644 --- a/repository/BaselineOfGrease.package/.filetree +++ b/repository/BaselineOfGrease.package/.filetree @@ -1,5 +1,4 @@ { - "separateMethodMetaAndSource" : false, "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file + "separateMethodMetaAndSource" : false, + "useCypressPropertiesFile" : true } diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineGemStone..st b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineGemStone..st index 74d3de32..385a3e54 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineGemStone..st +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineGemStone..st @@ -116,6 +116,16 @@ baselineGemStone: spec with: [ spec requires: #('Grease-GemStone-Core') ] ]. + spec + for: #( #'gs3.7.x' #'gs3.8.x' #'gs3.9.x') + do: [ + spec + package: 'Grease-GemStone-Core' + with: [ spec includes: #('Grease-GemStone-Kernelv370') ]; + package: 'Grease-GemStone-Kernelv370' + with: [ + spec + requires: #('Grease-GemStone-Core') ] ]. spec for: #(#'gs3.2.x' #'gs3.3.x' #'gs3.4.x' #'gs3.5.x' #'gs3.6.x' #'gs3.7.x' #'gs3.8.x' #'gs3.9.x') do: [ diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/properties.json b/repository/BaselineOfGrease.package/BaselineOfGrease.class/properties.json index 0260395f..8a39c621 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/properties.json +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "BaselineOf", "category" : "BaselineOfGrease", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "BaselineOfGrease", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "BaselineOf", + "type" : "normal" } diff --git a/repository/BaselineOfGrease.package/monticello.meta/categories.st b/repository/BaselineOfGrease.package/monticello.meta/categories.st index aad806f8..3687f0b2 100644 --- a/repository/BaselineOfGrease.package/monticello.meta/categories.st +++ b/repository/BaselineOfGrease.package/monticello.meta/categories.st @@ -1 +1 @@ -SystemOrganization addCategory: #BaselineOfGrease! +SystemOrganization addCategory: #'BaselineOfGrease'! diff --git a/repository/BaselineOfGrease.package/properties.json b/repository/BaselineOfGrease.package/properties.json index 6f31cf5a..f037444a 100644 --- a/repository/BaselineOfGrease.package/properties.json +++ b/repository/BaselineOfGrease.package/properties.json @@ -1 +1,2 @@ -{ } \ No newline at end of file +{ + } diff --git a/repository/Grease-GemStone-Kernelv370.package/.filetree b/repository/Grease-GemStone-Kernelv370.package/.filetree new file mode 100644 index 00000000..8998102c --- /dev/null +++ b/repository/Grease-GemStone-Kernelv370.package/.filetree @@ -0,0 +1,4 @@ +{ + "noMethodMetaData" : true, + "separateMethodMetaAndSource" : false, + "useCypressPropertiesFile" : true } diff --git a/repository/Grease-GemStone-Kernelv370.package/ReadByteStreamPortable.extension/instance/greaseUpToAll..st b/repository/Grease-GemStone-Kernelv370.package/ReadByteStreamPortable.extension/instance/greaseUpToAll..st new file mode 100644 index 00000000..4893d0d5 --- /dev/null +++ b/repository/Grease-GemStone-Kernelv370.package/ReadByteStreamPortable.extension/instance/greaseUpToAll..st @@ -0,0 +1,6 @@ +*grease-gemstone-kernelv370 +greaseUpToAll: aCollection + "Needed for Seaside ports to other dialects where #upToAll: may have + different semantics" + + ^self upToAll: aCollection \ No newline at end of file diff --git a/repository/Grease-GemStone-Kernelv370.package/ReadByteStreamPortable.extension/properties.json b/repository/Grease-GemStone-Kernelv370.package/ReadByteStreamPortable.extension/properties.json new file mode 100644 index 00000000..68bad717 --- /dev/null +++ b/repository/Grease-GemStone-Kernelv370.package/ReadByteStreamPortable.extension/properties.json @@ -0,0 +1,2 @@ +{ + "name" : "ReadByteStreamPortable" } diff --git a/repository/Grease-GemStone-Kernelv370.package/monticello.meta/initializers.st b/repository/Grease-GemStone-Kernelv370.package/monticello.meta/initializers.st new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-GemStone-Kernelv370.package/monticello.meta/package b/repository/Grease-GemStone-Kernelv370.package/monticello.meta/package new file mode 100644 index 00000000..ad2a0c29 --- /dev/null +++ b/repository/Grease-GemStone-Kernelv370.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'Grease-GemStone-Kernelv370') \ No newline at end of file diff --git a/repository/Grease-GemStone-Kernelv370.package/properties.json b/repository/Grease-GemStone-Kernelv370.package/properties.json new file mode 100644 index 00000000..f037444a --- /dev/null +++ b/repository/Grease-GemStone-Kernelv370.package/properties.json @@ -0,0 +1,2 @@ +{ + } From d8b8221f14a6beac75550be92a4a382c993eaf0f Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Thu, 11 Nov 2021 13:33:11 +0100 Subject: [PATCH 035/254] Prepare for removal of TextConverter in Pharo: pull out the GRPharoZnUtf8CodecStream from the TextConverter-based code --- .../GRPharoUtf8Codec.class/instance/decode..st | 3 ++- .../GRPharoUtf8Codec.class/instance/decoderFor..st | 5 ++--- .../GRPharoUtf8Codec.class/instance/encoderFor..st | 5 ++--- .../README.md | 0 .../instance/greaseNext.putAll.startingAt..st | 3 +++ .../instance/initializeOn..st | 4 ++++ .../instance/next..st | 8 ++++++++ .../instance/next.st | 7 +++++++ .../instance/nextPut..st | 3 +++ .../instance/nextPutAll..st | 3 +++ .../GRPharoZnUtf8CodecStream.class/properties.json | 13 +++++++++++++ .../instance/nextPutAll..st | 5 ----- .../GRZnUtf8CodecStream.class/properties.json | 14 -------------- 13 files changed, 47 insertions(+), 26 deletions(-) rename repository/Grease-Pharo90-Core.package/{GRZnUtf8CodecStream.class => GRPharoZnUtf8CodecStream.class}/README.md (100%) create mode 100644 repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st create mode 100644 repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/initializeOn..st create mode 100644 repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/next..st create mode 100644 repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/next.st create mode 100644 repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPut..st create mode 100644 repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st create mode 100644 repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/properties.json delete mode 100644 repository/Grease-Pharo90-Core.package/GRZnUtf8CodecStream.class/instance/nextPutAll..st delete mode 100644 repository/Grease-Pharo90-Core.package/GRZnUtf8CodecStream.class/properties.json diff --git a/repository/Grease-Pharo90-Core.package/GRPharoUtf8Codec.class/instance/decode..st b/repository/Grease-Pharo90-Core.package/GRPharoUtf8Codec.class/instance/decode..st index 9d34dca9..50487356 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoUtf8Codec.class/instance/decode..st +++ b/repository/Grease-Pharo90-Core.package/GRPharoUtf8Codec.class/instance/decode..st @@ -1,3 +1,4 @@ convenience decode: aByteArray - ^ aByteArray utf8Decoded \ No newline at end of file + "^ super decode: aByteArray asByteArray" + ^ aByteArray asByteArray utf8Decoded \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st b/repository/Grease-Pharo90-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st index e2ffb007..0c2be49b 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st +++ b/repository/Grease-Pharo90-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st @@ -1,5 +1,4 @@ conversion decoderFor: aStream - ^ GRPharoConverterCodecStream - on: aStream - converter: ZnCharacterEncoder utf8 \ No newline at end of file + ^ GRPharoZnUtf8CodecStream + on: aStream \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st b/repository/Grease-Pharo90-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st index c3e8d325..0e80cdaf 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st +++ b/repository/Grease-Pharo90-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st @@ -1,5 +1,4 @@ conversion encoderFor: aStream - ^ GRPharoConverterCodecStream - on: aStream - converter: ZnCharacterEncoder utf8 \ No newline at end of file + ^ GRPharoZnUtf8CodecStream + on: aStream \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRZnUtf8CodecStream.class/README.md b/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/README.md similarity index 100% rename from repository/Grease-Pharo90-Core.package/GRZnUtf8CodecStream.class/README.md rename to repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/README.md diff --git a/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st new file mode 100644 index 00000000..73411a20 --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st @@ -0,0 +1,3 @@ +accessing +greaseNext: anInteger putAll: aCollection startingAt: startIndex + self nextPutAll: (aCollection copyFrom: startIndex to: startIndex + anInteger - 1) \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/initializeOn..st b/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/initializeOn..st new file mode 100644 index 00000000..ece3cda0 --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/initializeOn..st @@ -0,0 +1,4 @@ +initialization +initializeOn: aStream + super initializeOn: aStream. + encoder := ZnCharacterEncoder utf8 \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/next..st b/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/next..st new file mode 100644 index 00000000..b5f1ff9a --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/next..st @@ -0,0 +1,8 @@ +accessing +next: anInteger + | writeStream | + writeStream := WriteStream on: (String new: anInteger). + anInteger timesRepeat: [ + writeStream nextPut: (self next + ifNil: [ ^ writeStream contents ]) ]. + ^ writeStream contents \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/next.st b/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/next.st new file mode 100644 index 00000000..72be26ab --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/next.st @@ -0,0 +1,7 @@ +accessing +next + | character | + stream atEnd ifTrue: [ ^ nil ]. + character := encoder nextFromStream: stream. + ^ character isNil + ifFalse: [ character asCharacter ] \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPut..st b/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPut..st new file mode 100644 index 00000000..30014e3d --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPut..st @@ -0,0 +1,3 @@ +accessing +nextPut: aCharacter + encoder nextPut: aCharacter asCharacter toStream: stream \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st b/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st new file mode 100644 index 00000000..a30c4507 --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st @@ -0,0 +1,3 @@ +streaming +nextPutAll: aString + aString asString do: [ :each | self nextPut: each ] \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/properties.json b/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/properties.json new file mode 100644 index 00000000..8be438da --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "", + "super" : "GRCodecStream", + "category" : "Grease-Pharo90-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "encoder" + ], + "name" : "GRPharoZnUtf8CodecStream", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRZnUtf8CodecStream.class/instance/nextPutAll..st b/repository/Grease-Pharo90-Core.package/GRZnUtf8CodecStream.class/instance/nextPutAll..st deleted file mode 100644 index 848b6f13..00000000 --- a/repository/Grease-Pharo90-Core.package/GRZnUtf8CodecStream.class/instance/nextPutAll..st +++ /dev/null @@ -1,5 +0,0 @@ -streaming -nextPutAll: aString - "Convert the given string from UTF-8 using the fast path if converting to Latin-1" - 1 to: aString size by: 1 do: [ :index | - converter nextPut: (aString at: index) toStream: stream ] \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRZnUtf8CodecStream.class/properties.json b/repository/Grease-Pharo90-Core.package/GRZnUtf8CodecStream.class/properties.json deleted file mode 100644 index 5dc73ef1..00000000 --- a/repository/Grease-Pharo90-Core.package/GRZnUtf8CodecStream.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRPharoConverterCodecStream", - "category" : "Grease-Pharo90-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ - "Latin1ToUtf8Encodings", - "Latin1ToUtf8Map" - ], - "instvars" : [ ], - "name" : "GRZnUtf8CodecStream", - "type" : "normal" -} \ No newline at end of file From 44bda627b81e811f9e3c9b6d50ecf4909e710db7 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Thu, 11 Nov 2021 14:15:04 +0100 Subject: [PATCH 036/254] include pharo10 --- .../BaselineOfGrease.class/instance/baselinePharo..st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st index 7884ef23..205e9539 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st @@ -45,7 +45,7 @@ baselinePharo: spec group: 'Slime Tests' with: #('Grease-Tests-Slime') ]. spec - for: #'pharo9.x' + for: #(#'pharo9.x' #'pharo10.x') do: [ spec package: 'Grease-Core' with: [ spec includes: #('Grease-Pharo90-Core') ]; From 81d4903e6a45225e97315c94cd629fbee9a49ce0 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Thu, 11 Nov 2021 14:15:37 +0100 Subject: [PATCH 037/254] include Pharo10 in the CI actions --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b36f4d1..0ab4e68f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,11 +8,13 @@ jobs: strategy: fail-fast: false matrix: - smalltalk: [ Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, Pharo-6.1, GemStone64-3.6.1, GemStone64-3.5.6, GemStone64-3.4.5, GemStone64-3.3.9, GemStone64-3.2.17, GemStone64-3.1.0.6, Squeak64-5.3, Squeak64-5.2, Squeak64-5.1 ] + smalltalk: [ Pharo64-10.0, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, Pharo-6.1, GemStone64-3.6.2, GemStone64-3.5.6, GemStone64-3.4.5, GemStone64-3.3.9, GemStone64-3.2.17, GemStone64-3.1.0.6, Squeak64-5.3, Squeak64-5.2, Squeak64-5.1 ] experimental: [ false ] include: - smalltalk: Squeak64-trunk experimental: true + - smalltalk: Pharo64-10 + experimental: true continue-on-error: ${{ matrix.experimental }} name: ${{ matrix.smalltalk }} steps: From 4dbda185a36a26b43b5bb1b1a1605181502002ad Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Thu, 11 Nov 2021 14:20:02 +0100 Subject: [PATCH 038/254] typo... --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ab4e68f..acc4068e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - smalltalk: [ Pharo64-10.0, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, Pharo-6.1, GemStone64-3.6.2, GemStone64-3.5.6, GemStone64-3.4.5, GemStone64-3.3.9, GemStone64-3.2.17, GemStone64-3.1.0.6, Squeak64-5.3, Squeak64-5.2, Squeak64-5.1 ] + smalltalk: [ Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, Pharo-6.1, GemStone64-3.6.2, GemStone64-3.5.6, GemStone64-3.4.5, GemStone64-3.3.9, GemStone64-3.2.17, GemStone64-3.1.0.6, Squeak64-5.3, Squeak64-5.2, Squeak64-5.1 ] experimental: [ false ] include: - smalltalk: Squeak64-trunk From eef515dc6d8fce7b382c22f1da3cadc903ab9259 Mon Sep 17 00:00:00 2001 From: Dale Henrichs Date: Mon, 20 Dec 2021 10:07:49 -0800 Subject: [PATCH 039/254] update BaselineOfGrease for GemStone 3.5.8 --- .../BaselineOfGrease.class/instance/baselineGemStone..st | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineGemStone..st b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineGemStone..st index 385a3e54..fe1b4782 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineGemStone..st +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineGemStone..st @@ -97,7 +97,7 @@ baselineGemStone: spec with: [ spec includes: 'Grease-Tests-GemStone-Core' ] ]. spec - for: #( #'gs3.5.4.x' #'gs3.5.5.x' #'gs3.5.6.x' #'gs3.5.7.x' ) + for: #( #'gs3.5.4.x' #'gs3.5.5.x' #'gs3.5.6.x' #'gs3.5.7.x' #'gs3.5.8.x' #'gs3.5.9.x' ) do: [ spec package: 'Grease-GemStone-Core' @@ -133,4 +133,4 @@ baselineGemStone: spec package: 'Grease-Tests-GemStone32-Core' with:[ spec requires: 'Grease-Tests-Core' ]; package: 'Grease-Tests-Core' - with: [ spec includes: 'Grease-Tests-GemStone32-Core' ] ] + with: [ spec includes: 'Grease-Tests-GemStone32-Core' ] ] \ No newline at end of file From 8f5255d8483bb08408d4f3c84f31fa87309108bd Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 27 Dec 2021 09:40:18 +0100 Subject: [PATCH 040/254] update gemstone version (mostly to trigger build again) --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index acc4068e..bd9cb538 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - smalltalk: [ Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, Pharo-6.1, GemStone64-3.6.2, GemStone64-3.5.6, GemStone64-3.4.5, GemStone64-3.3.9, GemStone64-3.2.17, GemStone64-3.1.0.6, Squeak64-5.3, Squeak64-5.2, Squeak64-5.1 ] + smalltalk: [ Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, Pharo-6.1, GemStone64-3.6.3, GemStone64-3.5.7, GemStone64-3.4.5, GemStone64-3.3.9, GemStone64-3.2.17, GemStone64-3.1.0.6, Squeak64-5.3, Squeak64-5.2, Squeak64-5.1 ] experimental: [ false ] include: - smalltalk: Squeak64-trunk From 2c53cddb2ecca9e6629c7f8df119d912c4c715a6 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 16 Jan 2022 16:02:45 +0100 Subject: [PATCH 041/254] - Rename GRPharoUtf8CodecStream to GRPharoDeprecatedUtf8CodecStream - do not fall back to `utf8Decoded` message in `GRPharoUtf8Codec>>decode:` --- .../GRPharoDeprecatedUtf8Codec.class/instance/decoderFor..st | 2 +- .../GRPharoDeprecatedUtf8Codec.class/instance/encoderFor..st | 2 +- .../README.md | 0 .../class/initialize.st | 0 .../instance/crlf.st | 0 .../instance/encodeDefault..st | 0 .../instance/encodeFast..st | 0 .../instance/greaseNext.putAll.startingAt..st | 0 .../instance/greaseNext.putAllFast.startingAt..st | 0 .../instance/invalidUtf8.st | 0 .../instance/next..st | 0 .../instance/next.st | 0 .../instance/nextPut..st | 0 .../instance/nextPutAll..st | 0 .../properties.json | 2 +- .../GRPharoUtf8Codec.class/instance/decode..st | 5 ++--- .../GRPharoZnUtf8CodecStream.class/instance/next.st | 3 +-- .../GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st | 2 +- 18 files changed, 7 insertions(+), 9 deletions(-) rename repository/Grease-Pharo90-Core.package/{GRPharoUtf8CodecStream.class => GRPharoDeprecatedUtf8CodecStream.class}/README.md (100%) rename repository/Grease-Pharo90-Core.package/{GRPharoUtf8CodecStream.class => GRPharoDeprecatedUtf8CodecStream.class}/class/initialize.st (100%) rename repository/Grease-Pharo90-Core.package/{GRPharoUtf8CodecStream.class => GRPharoDeprecatedUtf8CodecStream.class}/instance/crlf.st (100%) rename repository/Grease-Pharo90-Core.package/{GRPharoUtf8CodecStream.class => GRPharoDeprecatedUtf8CodecStream.class}/instance/encodeDefault..st (100%) rename repository/Grease-Pharo90-Core.package/{GRPharoUtf8CodecStream.class => GRPharoDeprecatedUtf8CodecStream.class}/instance/encodeFast..st (100%) rename repository/Grease-Pharo90-Core.package/{GRPharoUtf8CodecStream.class => GRPharoDeprecatedUtf8CodecStream.class}/instance/greaseNext.putAll.startingAt..st (100%) rename repository/Grease-Pharo90-Core.package/{GRPharoUtf8CodecStream.class => GRPharoDeprecatedUtf8CodecStream.class}/instance/greaseNext.putAllFast.startingAt..st (100%) rename repository/Grease-Pharo90-Core.package/{GRPharoUtf8CodecStream.class => GRPharoDeprecatedUtf8CodecStream.class}/instance/invalidUtf8.st (100%) rename repository/Grease-Pharo90-Core.package/{GRPharoUtf8CodecStream.class => GRPharoDeprecatedUtf8CodecStream.class}/instance/next..st (100%) rename repository/Grease-Pharo90-Core.package/{GRPharoUtf8CodecStream.class => GRPharoDeprecatedUtf8CodecStream.class}/instance/next.st (100%) rename repository/Grease-Pharo90-Core.package/{GRPharoUtf8CodecStream.class => GRPharoDeprecatedUtf8CodecStream.class}/instance/nextPut..st (100%) rename repository/Grease-Pharo90-Core.package/{GRPharoUtf8CodecStream.class => GRPharoDeprecatedUtf8CodecStream.class}/instance/nextPutAll..st (100%) rename repository/Grease-Pharo90-Core.package/{GRPharoUtf8CodecStream.class => GRPharoDeprecatedUtf8CodecStream.class}/properties.json (85%) diff --git a/repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/decoderFor..st b/repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/decoderFor..st index c5b13f52..9a221440 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/decoderFor..st +++ b/repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/decoderFor..st @@ -1,5 +1,5 @@ convenience decoderFor: aStream - ^ GRPharoUtf8CodecStream + ^ GRPharoDeprecatedUtf8CodecStream on: aStream converter: UTF8TextConverter new \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/encoderFor..st b/repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/encoderFor..st index 21975caa..ad1614eb 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/encoderFor..st +++ b/repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/encoderFor..st @@ -1,5 +1,5 @@ convenience encoderFor: aStream - ^ GRPharoUtf8CodecStream + ^ GRPharoDeprecatedUtf8CodecStream on: aStream converter: UTF8TextConverter new \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoUtf8CodecStream.class/README.md b/repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8CodecStream.class/README.md similarity index 100% rename from repository/Grease-Pharo90-Core.package/GRPharoUtf8CodecStream.class/README.md rename to repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8CodecStream.class/README.md diff --git a/repository/Grease-Pharo90-Core.package/GRPharoUtf8CodecStream.class/class/initialize.st b/repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8CodecStream.class/class/initialize.st similarity index 100% rename from repository/Grease-Pharo90-Core.package/GRPharoUtf8CodecStream.class/class/initialize.st rename to repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8CodecStream.class/class/initialize.st diff --git a/repository/Grease-Pharo90-Core.package/GRPharoUtf8CodecStream.class/instance/crlf.st b/repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/crlf.st similarity index 100% rename from repository/Grease-Pharo90-Core.package/GRPharoUtf8CodecStream.class/instance/crlf.st rename to repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/crlf.st diff --git a/repository/Grease-Pharo90-Core.package/GRPharoUtf8CodecStream.class/instance/encodeDefault..st b/repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeDefault..st similarity index 100% rename from repository/Grease-Pharo90-Core.package/GRPharoUtf8CodecStream.class/instance/encodeDefault..st rename to repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeDefault..st diff --git a/repository/Grease-Pharo90-Core.package/GRPharoUtf8CodecStream.class/instance/encodeFast..st b/repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeFast..st similarity index 100% rename from repository/Grease-Pharo90-Core.package/GRPharoUtf8CodecStream.class/instance/encodeFast..st rename to repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeFast..st diff --git a/repository/Grease-Pharo90-Core.package/GRPharoUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st similarity index 100% rename from repository/Grease-Pharo90-Core.package/GRPharoUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st rename to repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st diff --git a/repository/Grease-Pharo90-Core.package/GRPharoUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st b/repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st similarity index 100% rename from repository/Grease-Pharo90-Core.package/GRPharoUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st rename to repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st diff --git a/repository/Grease-Pharo90-Core.package/GRPharoUtf8CodecStream.class/instance/invalidUtf8.st b/repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/invalidUtf8.st similarity index 100% rename from repository/Grease-Pharo90-Core.package/GRPharoUtf8CodecStream.class/instance/invalidUtf8.st rename to repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/invalidUtf8.st diff --git a/repository/Grease-Pharo90-Core.package/GRPharoUtf8CodecStream.class/instance/next..st b/repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next..st similarity index 100% rename from repository/Grease-Pharo90-Core.package/GRPharoUtf8CodecStream.class/instance/next..st rename to repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next..st diff --git a/repository/Grease-Pharo90-Core.package/GRPharoUtf8CodecStream.class/instance/next.st b/repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next.st similarity index 100% rename from repository/Grease-Pharo90-Core.package/GRPharoUtf8CodecStream.class/instance/next.st rename to repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next.st diff --git a/repository/Grease-Pharo90-Core.package/GRPharoUtf8CodecStream.class/instance/nextPut..st b/repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPut..st similarity index 100% rename from repository/Grease-Pharo90-Core.package/GRPharoUtf8CodecStream.class/instance/nextPut..st rename to repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPut..st diff --git a/repository/Grease-Pharo90-Core.package/GRPharoUtf8CodecStream.class/instance/nextPutAll..st b/repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPutAll..st similarity index 100% rename from repository/Grease-Pharo90-Core.package/GRPharoUtf8CodecStream.class/instance/nextPutAll..st rename to repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPutAll..st diff --git a/repository/Grease-Pharo90-Core.package/GRPharoUtf8CodecStream.class/properties.json b/repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8CodecStream.class/properties.json similarity index 85% rename from repository/Grease-Pharo90-Core.package/GRPharoUtf8CodecStream.class/properties.json rename to repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8CodecStream.class/properties.json index 837ace13..789907b9 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoUtf8CodecStream.class/properties.json +++ b/repository/Grease-Pharo90-Core.package/GRPharoDeprecatedUtf8CodecStream.class/properties.json @@ -9,6 +9,6 @@ "Latin1ToUtf8Map" ], "instvars" : [ ], - "name" : "GRPharoUtf8CodecStream", + "name" : "GRPharoDeprecatedUtf8CodecStream", "type" : "normal" } \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoUtf8Codec.class/instance/decode..st b/repository/Grease-Pharo90-Core.package/GRPharoUtf8Codec.class/instance/decode..st index 50487356..e9869000 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoUtf8Codec.class/instance/decode..st +++ b/repository/Grease-Pharo90-Core.package/GRPharoUtf8Codec.class/instance/decode..st @@ -1,4 +1,3 @@ convenience -decode: aByteArray - "^ super decode: aByteArray asByteArray" - ^ aByteArray asByteArray utf8Decoded \ No newline at end of file +decode: aStringOrByteArray + ^ super decode: aStringOrByteArray asByteArray \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/next.st b/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/next.st index 72be26ab..ccde08f3 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/next.st +++ b/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/next.st @@ -3,5 +3,4 @@ next | character | stream atEnd ifTrue: [ ^ nil ]. character := encoder nextFromStream: stream. - ^ character isNil - ifFalse: [ character asCharacter ] \ No newline at end of file + ^ character ifNotNil: [ character asCharacter ] \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st b/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st index a30c4507..f8f3e8e4 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st +++ b/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st @@ -1,3 +1,3 @@ streaming nextPutAll: aString - aString asString do: [ :each | self nextPut: each ] \ No newline at end of file + aString asString do:[ :each | self nextPut: each ] \ No newline at end of file From c75170bc03778cda4c616343fa67fc368e7ca09b Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 16 Jan 2022 16:34:48 +0100 Subject: [PATCH 042/254] Use the Zn-based utf8 codec in Pharo by default --- .../Grease-Core.package/GRPlatform.class/instance/version.st | 2 +- .../GRPharoPlatform.class/instance/utf8CodecClass.st | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/version.st b/repository/Grease-Core.package/GRPlatform.class/instance/version.st index c721c9a6..481d901b 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/version.st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/version.st @@ -2,5 +2,5 @@ version info version "Answer the Grease version" - ^ (GRVersion major: 1 minor: 7 revision: 5) + ^ (GRVersion major: 1 minor: 8 revision: 0) yourself \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/utf8CodecClass.st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/utf8CodecClass.st index 0732dee6..86376f5c 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/utf8CodecClass.st +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/utf8CodecClass.st @@ -2,7 +2,7 @@ utf8 codec utf8CodecClass ^ utf8DeprecatedCodecFlag - ifNil: [ GRPharoDeprecatedUtf8Codec ] + ifNil: [ GRPharoUtf8Codec ] ifNotNil: [ utf8DeprecatedCodecFlag ifTrue:[ GRPharoDeprecatedUtf8Codec ] ifFalse: [ GRPharoUtf8Codec ] ] \ No newline at end of file From 1e872b6d10771afb532954c063394c0ae227b2d4 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 16 Jan 2022 16:50:09 +0100 Subject: [PATCH 043/254] Added Grease-Pharo10-Core as a copy of Grease-Pharo90-Core and removed the GRDeprecatedUtf8CodecStream class>>initialize method that errored during code load due to the TextConverter not working anymore. --- .../instance/baselinePharo..st | 20 +++++++- .../Grease-Pharo10-Core.package/.filetree | 5 ++ .../Behavior.extension/instance/fullName.st | 5 ++ .../Behavior.extension/properties.json | 3 ++ .../instance/valueWithPossibleArguments..st | 11 +++++ .../BlockClosure.extension/properties.json | 3 ++ .../instance/greaseString.st | 4 ++ .../ByteArray.extension/properties.json | 3 ++ .../instance/greaseInteger.st | 4 ++ .../Character.extension/properties.json | 3 ++ .../Collection.extension/instance/any.st | 3 ++ .../Collection.extension/properties.json | 3 ++ .../Color.extension/instance/asHTMLColor.st | 3 ++ .../Color.extension/properties.json | 3 ++ .../Duration.extension/class/milliseconds..st | 3 ++ .../instance/asMilliseconds.st | 3 ++ .../instance/milliseconds.st | 3 ++ .../Duration.extension/properties.json | 3 ++ .../instance/greaseNext.putAll.startingAt..st | 3 ++ .../properties.json | 3 ++ .../GRDynamicVariable.class/README.md | 0 .../class/defaultValue.st | 3 ++ .../class/use.during..st | 5 ++ .../instance/default.st | 3 ++ .../GRDynamicVariable.class/properties.json | 11 +++++ .../class/greasePharo70Core.st | 7 +++ .../GRPackage.extension/properties.json | 3 ++ .../README.md | 7 +++ .../class/on.converter..st | 3 ++ .../instance/greaseNext.putAll.startingAt..st | 3 ++ .../instance/initializeOn.converter..st | 4 ++ .../instance/next..st | 8 ++++ .../instance/next.st | 6 +++ .../instance/nextPut..st | 3 ++ .../instance/nextPutAll..st | 3 ++ .../properties.json | 13 ++++++ .../README.md | 0 .../class/basicForEncoding..st | 3 ++ .../class/codecs.st | 5 ++ .../class/supportsEncoding..st | 3 ++ .../instance/decode..st | 36 +++++++++++++++ .../instance/decoderFor..st | 5 ++ .../instance/encodedStringClass.st | 3 ++ .../instance/encoderFor..st | 5 ++ .../instance/invalidUtf8.st | 3 ++ .../instance/name.st | 3 ++ .../instance/url.st | 3 ++ .../properties.json | 11 +++++ .../README.md | 1 + .../instance/crlf.st | 4 ++ .../instance/encodeDefault..st | 5 ++ .../instance/encodeFast..st | 14 ++++++ .../instance/greaseNext.putAll.startingAt..st | 5 ++ .../greaseNext.putAllFast.startingAt..st | 17 +++++++ .../instance/invalidUtf8.st | 3 ++ .../instance/next..st | 46 +++++++++++++++++++ .../instance/next.st | 3 ++ .../instance/nextPut..st | 11 +++++ .../instance/nextPutAll..st | 5 ++ .../properties.json | 14 ++++++ .../GRPharoGenericCodec.class/README.md | 0 .../class/basicForEncoding..st | 5 ++ .../GRPharoGenericCodec.class/class/codecs.st | 8 ++++ .../class/supportedEncodingNames.st | 8 ++++ .../class/supportsEncoding..st | 4 ++ .../instance/converter.st | 3 ++ .../instance/decoderFor..st | 3 ++ .../instance/encoderFor..st | 5 ++ .../instance/initializeWithName..st | 7 +++ .../instance/name.st | 3 ++ .../GRPharoGenericCodec.class/instance/url.st | 5 ++ .../GRPharoGenericCodec.class/properties.json | 14 ++++++ .../GRPharoLatin1Codec.class/README.md | 1 + .../class/basicForEncoding..st | 5 ++ .../GRPharoLatin1Codec.class/class/codecs.st | 3 ++ .../class/supportedEncodingNames.st | 3 ++ .../class/supportsEncoding..st | 4 ++ .../instance/decode..st | 5 ++ .../instance/decoderFor..st | 4 ++ .../instance/encoderFor..st | 4 ++ .../instance/initializeWithName..st | 4 ++ .../GRPharoLatin1Codec.class/instance/name.st | 3 ++ .../GRPharoLatin1Codec.class/properties.json | 13 ++++++ .../GRPharoLatin1CodecStream.class/README.md | 1 + .../instance/next..st | 3 ++ .../instance/next.st | 3 ++ .../properties.json | 11 +++++ .../GRPharoPlatform.class/README.md | 1 + .../GRPharoPlatform.class/class/initialize.st | 5 ++ .../class/initializeUrlTable.st | 7 +++ .../class/initializeXmlTable.st | 7 +++ .../GRPharoPlatform.class/class/unload.st | 3 ++ .../instance/addToShutDownList..st | 5 ++ .../instance/addToStartUpList..st | 5 ++ .../asMethodReturningByteArray.named..st | 6 +++ ...sMethodReturningByteArrayLiteral.named..st | 10 ++++ ...ethodReturningByteArrayWithCache.named..st | 10 ++++ .../instance/base64Decode..st | 3 ++ .../instance/bindingOf..st | 4 ++ .../instance/compile.into.classified..st | 3 ++ .../instance/contentsOfFile.binary..st | 3 ++ .../instance/directoriesIn..st | 8 ++++ .../instance/doSilently..st | 3 ++ .../instance/ensureExistenceOfFolder..st | 4 ++ .../instance/fileExists..st | 3 ++ .../instance/filesIn..st | 8 ++++ .../instance/isProcessTerminated..st | 4 ++ .../GRPharoPlatform.class/instance/label.st | 3 ++ .../instance/localNameOf..st | 3 ++ .../instance/newRandom.st | 10 ++++ .../GRPharoPlatform.class/instance/newline.st | 3 ++ .../instance/openDebuggerOn..st | 18 ++++++++ .../instance/pathSeparator.st | 3 ++ .../instance/readFileStreamOn.do.binary..st | 6 +++ .../instance/readWriteByteStream.st | 5 ++ .../instance/readWriteCharacterStream.st | 5 ++ .../instance/removeFromShutDownList..st | 5 ++ .../instance/removeFromStartUpList..st | 5 ++ .../instance/removeSelector.from..st | 3 ++ .../instance/secureHashFor..st | 3 ++ .../instance/semaphoreClass.st | 4 ++ .../setutf8CodectoDeprecatedTextConverter.st | 4 ++ .../instance/setutf8CodectoZinc.st | 4 ++ .../instance/stackDepth.st | 10 ++++ .../instance/terminateProcess..st | 4 ++ .../instance/thisContext.st | 4 ++ .../instance/useByteArrayLiterals.st | 4 ++ .../instance/utf8CodecClass.st | 8 ++++ .../instance/weakDictionaryOfSize..st | 3 ++ .../instance/write.toFile.inFolder..st | 7 +++ .../instance/writeFileStreamOn.do.binary..st | 5 ++ .../GRPharoPlatform.class/properties.json | 16 +++++++ .../GRPharoRandomProvider.class/README.md | 0 .../class/initialize.st | 4 ++ .../class/nextInt..st | 6 +++ .../class/randomClass.st | 3 ++ .../class/randomFrom..st | 11 +++++ .../class/startUp.st | 4 ++ .../class/unload.st | 3 ++ .../properties.json | 14 ++++++ .../GRPharoUtf8Codec.class/README.md | 1 + .../class/basicForEncoding..st | 3 ++ .../GRPharoUtf8Codec.class/class/codecs.st | 5 ++ .../class/supportsEncoding..st | 3 ++ .../instance/decode..st | 3 ++ .../instance/decoderFor..st | 4 ++ .../instance/encodedStringClass.st | 3 ++ .../instance/encoderFor..st | 4 ++ .../instance/invalidUtf8.st | 3 ++ .../GRPharoUtf8Codec.class/instance/name.st | 3 ++ .../GRPharoUtf8Codec.class/instance/url.st | 3 ++ .../GRPharoUtf8Codec.class/properties.json | 11 +++++ .../GRPharoZnUtf8CodecStream.class/README.md | 0 .../instance/greaseNext.putAll.startingAt..st | 3 ++ .../instance/initializeOn..st | 4 ++ .../instance/next..st | 8 ++++ .../instance/next.st | 6 +++ .../instance/nextPut..st | 3 ++ .../instance/nextPutAll..st | 3 ++ .../properties.json | 13 ++++++ .../instance/inspectionItems..st | 15 ++++++ .../properties.json | 3 ++ .../instance/inspectionItems..st | 15 ++++++ .../properties.json | 3 ++ .../Interval.extension/instance/any.st | 6 +++ .../Interval.extension/properties.json | 3 ++ .../instance/argumentCount.st | 3 ++ .../instance/valueWithPossibleArguments..st | 7 +++ .../MessageSend.extension/properties.json | 3 ++ .../Number.extension/instance/milliseconds.st | 3 ++ .../Number.extension/properties.json | 3 ++ .../Object.extension/instance/greaseString.st | 3 ++ .../Object.extension/properties.json | 3 ++ .../Point.extension/instance/greaseString.st | 13 ++++++ .../Point.extension/properties.json | 3 ++ .../instance/greaseUpToAll..st | 5 ++ .../properties.json | 3 ++ .../instance/encodeOn..st | 5 ++ .../instance/greaseString.st | 5 ++ .../ScaledDecimal.extension/properties.json | 3 ++ .../instance/beginsWithSubCollection..st | 4 ++ .../instance/endsWithSubCollection..st | 4 ++ .../properties.json | 3 ++ .../instance/greaseNext.putAll.startingAt..st | 13 ++++++ .../SocketStream.extension/properties.json | 3 ++ .../instance/greaseAsMutator.st | 3 ++ .../Symbol.extension/properties.json | 3 ++ .../instance/greaseNext.putAll.startingAt..st | 4 ++ .../WriteStream.extension/properties.json | 3 ++ .../monticello.meta/categories.st | 1 + .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 + .../properties.json | 1 + 193 files changed, 1040 insertions(+), 1 deletion(-) create mode 100644 repository/Grease-Pharo10-Core.package/.filetree create mode 100644 repository/Grease-Pharo10-Core.package/Behavior.extension/instance/fullName.st create mode 100644 repository/Grease-Pharo10-Core.package/Behavior.extension/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/BlockClosure.extension/instance/valueWithPossibleArguments..st create mode 100644 repository/Grease-Pharo10-Core.package/BlockClosure.extension/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/ByteArray.extension/instance/greaseString.st create mode 100644 repository/Grease-Pharo10-Core.package/ByteArray.extension/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/Character.extension/instance/greaseInteger.st create mode 100644 repository/Grease-Pharo10-Core.package/Character.extension/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/Collection.extension/instance/any.st create mode 100644 repository/Grease-Pharo10-Core.package/Collection.extension/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/Color.extension/instance/asHTMLColor.st create mode 100644 repository/Grease-Pharo10-Core.package/Color.extension/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/Duration.extension/class/milliseconds..st create mode 100644 repository/Grease-Pharo10-Core.package/Duration.extension/instance/asMilliseconds.st create mode 100644 repository/Grease-Pharo10-Core.package/Duration.extension/instance/milliseconds.st create mode 100644 repository/Grease-Pharo10-Core.package/Duration.extension/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st create mode 100644 repository/Grease-Pharo10-Core.package/GRDelegatingStream.extension/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/README.md create mode 100644 repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/class/defaultValue.st create mode 100644 repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/class/use.during..st create mode 100644 repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/instance/default.st create mode 100644 repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/GRPackage.extension/class/greasePharo70Core.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPackage.extension/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/README.md create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/class/on.converter..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/greaseNext.putAll.startingAt..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/initializeOn.converter..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/next..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/next.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/nextPut..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/nextPutAll..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/README.md create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/class/basicForEncoding..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/class/codecs.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/class/supportsEncoding..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/decode..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/decoderFor..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/encodedStringClass.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/encoderFor..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/invalidUtf8.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/name.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/url.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/README.md create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/crlf.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeDefault..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeFast..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/invalidUtf8.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPut..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPutAll..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/README.md create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/basicForEncoding..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/codecs.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/supportedEncodingNames.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/supportsEncoding..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/converter.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/decoderFor..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/encoderFor..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/initializeWithName..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/name.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/url.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/README.md create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/basicForEncoding..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/codecs.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/supportedEncodingNames.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/supportsEncoding..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/decode..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/decoderFor..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/encoderFor..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/initializeWithName..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/name.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/README.md create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/instance/next..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/instance/next.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/README.md create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/initialize.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/initializeUrlTable.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/initializeXmlTable.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/unload.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/addToShutDownList..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/addToStartUpList..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArray.named..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayLiteral.named..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayWithCache.named..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/base64Decode..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/bindingOf..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/compile.into.classified..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/directoriesIn..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/doSilently..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/fileExists..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/filesIn..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/isProcessTerminated..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/label.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/localNameOf..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/newRandom.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/newline.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/pathSeparator.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/readFileStreamOn.do.binary..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/readWriteByteStream.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/readWriteCharacterStream.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/removeFromShutDownList..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/removeFromStartUpList..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/removeSelector.from..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/secureHashFor..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/semaphoreClass.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/setutf8CodectoDeprecatedTextConverter.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/setutf8CodectoZinc.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/stackDepth.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/terminateProcess..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/thisContext.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/useByteArrayLiterals.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/utf8CodecClass.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/weakDictionaryOfSize..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/write.toFile.inFolder..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/writeFileStreamOn.do.binary..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/README.md create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/initialize.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/nextInt..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/randomClass.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/randomFrom..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/startUp.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/unload.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/README.md create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/basicForEncoding..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/codecs.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/decode..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/encodedStringClass.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/invalidUtf8.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/name.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/url.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/README.md create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/initializeOn..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/next..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/next.st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPut..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st create mode 100644 repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/GRSmallDictionary.extension/instance/inspectionItems..st create mode 100644 repository/Grease-Pharo10-Core.package/GRSmallDictionary.extension/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/GRSmallDictionary2.extension/instance/inspectionItems..st create mode 100644 repository/Grease-Pharo10-Core.package/GRSmallDictionary2.extension/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/Interval.extension/instance/any.st create mode 100644 repository/Grease-Pharo10-Core.package/Interval.extension/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/MessageSend.extension/instance/argumentCount.st create mode 100644 repository/Grease-Pharo10-Core.package/MessageSend.extension/instance/valueWithPossibleArguments..st create mode 100644 repository/Grease-Pharo10-Core.package/MessageSend.extension/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/Number.extension/instance/milliseconds.st create mode 100644 repository/Grease-Pharo10-Core.package/Number.extension/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/Object.extension/instance/greaseString.st create mode 100644 repository/Grease-Pharo10-Core.package/Object.extension/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/Point.extension/instance/greaseString.st create mode 100644 repository/Grease-Pharo10-Core.package/Point.extension/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/PositionableStream.extension/instance/greaseUpToAll..st create mode 100644 repository/Grease-Pharo10-Core.package/PositionableStream.extension/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/ScaledDecimal.extension/instance/encodeOn..st create mode 100644 repository/Grease-Pharo10-Core.package/ScaledDecimal.extension/instance/greaseString.st create mode 100644 repository/Grease-Pharo10-Core.package/ScaledDecimal.extension/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st create mode 100644 repository/Grease-Pharo10-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st create mode 100644 repository/Grease-Pharo10-Core.package/SequenceableCollection.extension/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/SocketStream.extension/instance/greaseNext.putAll.startingAt..st create mode 100644 repository/Grease-Pharo10-Core.package/SocketStream.extension/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/Symbol.extension/instance/greaseAsMutator.st create mode 100644 repository/Grease-Pharo10-Core.package/Symbol.extension/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/WriteStream.extension/instance/greaseNext.putAll.startingAt..st create mode 100644 repository/Grease-Pharo10-Core.package/WriteStream.extension/properties.json create mode 100644 repository/Grease-Pharo10-Core.package/monticello.meta/categories.st create mode 100644 repository/Grease-Pharo10-Core.package/monticello.meta/initializers.st create mode 100644 repository/Grease-Pharo10-Core.package/monticello.meta/package create mode 100644 repository/Grease-Pharo10-Core.package/properties.json diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st index 205e9539..1961bc59 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st @@ -45,7 +45,7 @@ baselinePharo: spec group: 'Slime Tests' with: #('Grease-Tests-Slime') ]. spec - for: #(#'pharo9.x' #'pharo10.x') + for: #(#'pharo9.x') do: [ spec package: 'Grease-Core' with: [ spec includes: #('Grease-Pharo90-Core') ]; @@ -58,6 +58,24 @@ baselinePharo: spec package: 'Grease-Pharo90-Slime' with: [ spec requires: #('Grease-Core') ]; package: 'Grease-Tests-Slime' with: [ spec requires: #('Grease-Pharo90-Slime') ]. + spec + group: 'Slime' with: #('Grease-Pharo90-Slime'); + group: 'Slime Tests' with: #('Grease-Tests-Slime') ]. + + spec + for: #(#'pharo10.x') + do: [ + spec + package: 'Grease-Core' with: [ spec includes: #('Grease-Pharo10-Core') ]; + package: 'Grease-Tests-Pharo-Core' with: [ spec requires: #('Grease-Tests-Core') ]; + package: 'Grease-Tests-Core' + with: [ spec + requires: #('Grease-Pharo10-Core'); + includes: #('Grease-Tests-Pharo-Core') ]; + package: 'Grease-Pharo10-Core' with: [ spec requires: #('Grease-Core') ]; + package: 'Grease-Pharo90-Slime' with: [ spec requires: #('Grease-Core') ]; + package: 'Grease-Tests-Slime' with: [ spec requires: #('Grease-Pharo90-Slime') ]. + spec group: 'Slime' with: #('Grease-Pharo90-Slime'); group: 'Slime Tests' with: #('Grease-Tests-Slime') ]. \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/.filetree b/repository/Grease-Pharo10-Core.package/.filetree new file mode 100644 index 00000000..57a67973 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/.filetree @@ -0,0 +1,5 @@ +{ + "separateMethodMetaAndSource" : false, + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Behavior.extension/instance/fullName.st b/repository/Grease-Pharo10-Core.package/Behavior.extension/instance/fullName.st new file mode 100644 index 00000000..64736adf --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/Behavior.extension/instance/fullName.st @@ -0,0 +1,5 @@ +*Grease-Pharo10-Core +fullName + "In VW, will include the namespace" + + ^ self name \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Behavior.extension/properties.json b/repository/Grease-Pharo10-Core.package/Behavior.extension/properties.json new file mode 100644 index 00000000..c4116c4c --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/Behavior.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "Behavior" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/BlockClosure.extension/instance/valueWithPossibleArguments..st b/repository/Grease-Pharo10-Core.package/BlockClosure.extension/instance/valueWithPossibleArguments..st new file mode 100644 index 00000000..37299816 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/BlockClosure.extension/instance/valueWithPossibleArguments..st @@ -0,0 +1,11 @@ +*Grease-Pharo10-Core +valueWithPossibleArguments: anArray + | args | + (anArray size == self numArgs) + ifTrue: [ ^ self valueWithArguments: anArray ]. + args := Array new: self numArgs. + args replaceFrom: 1 + to: (anArray size min: args size) + with: anArray + startingAt: 1. + ^ self valueWithArguments: args \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/BlockClosure.extension/properties.json b/repository/Grease-Pharo10-Core.package/BlockClosure.extension/properties.json new file mode 100644 index 00000000..2190e5e2 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/BlockClosure.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "BlockClosure" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/ByteArray.extension/instance/greaseString.st b/repository/Grease-Pharo10-Core.package/ByteArray.extension/instance/greaseString.st new file mode 100644 index 00000000..01618238 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/ByteArray.extension/instance/greaseString.st @@ -0,0 +1,4 @@ +*Grease-Pharo10-Core +greaseString + "ByteArrays should not automatically be converted to Strings. You should use a GRCodec for this." + ^ self printString \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/ByteArray.extension/properties.json b/repository/Grease-Pharo10-Core.package/ByteArray.extension/properties.json new file mode 100644 index 00000000..f81bcb8d --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/ByteArray.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "ByteArray" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Character.extension/instance/greaseInteger.st b/repository/Grease-Pharo10-Core.package/Character.extension/instance/greaseInteger.st new file mode 100644 index 00000000..a177a60b --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/Character.extension/instance/greaseInteger.st @@ -0,0 +1,4 @@ +*Grease-Pharo10-Core +greaseInteger + "Answer an unicode code point of the receiver." + ^ self charCode \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Character.extension/properties.json b/repository/Grease-Pharo10-Core.package/Character.extension/properties.json new file mode 100644 index 00000000..5219281d --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/Character.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "Character" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Collection.extension/instance/any.st b/repository/Grease-Pharo10-Core.package/Collection.extension/instance/any.st new file mode 100644 index 00000000..aa5b9731 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/Collection.extension/instance/any.st @@ -0,0 +1,3 @@ +*Grease-Pharo10-Core +any + ^ self anyOne \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Collection.extension/properties.json b/repository/Grease-Pharo10-Core.package/Collection.extension/properties.json new file mode 100644 index 00000000..48f9f8d9 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/Collection.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "Collection" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Color.extension/instance/asHTMLColor.st b/repository/Grease-Pharo10-Core.package/Color.extension/instance/asHTMLColor.st new file mode 100644 index 00000000..25979e62 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/Color.extension/instance/asHTMLColor.st @@ -0,0 +1,3 @@ +*Grease-Pharo10-Core +asHTMLColor + ^'#', self asHexString \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Color.extension/properties.json b/repository/Grease-Pharo10-Core.package/Color.extension/properties.json new file mode 100644 index 00000000..8b86fc95 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/Color.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "Color" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Duration.extension/class/milliseconds..st b/repository/Grease-Pharo10-Core.package/Duration.extension/class/milliseconds..st new file mode 100644 index 00000000..c3f008b3 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/Duration.extension/class/milliseconds..st @@ -0,0 +1,3 @@ +*Grease-Pharo10-Core +milliseconds: anInteger + ^ self milliSeconds: anInteger \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Duration.extension/instance/asMilliseconds.st b/repository/Grease-Pharo10-Core.package/Duration.extension/instance/asMilliseconds.st new file mode 100644 index 00000000..17d32897 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/Duration.extension/instance/asMilliseconds.st @@ -0,0 +1,3 @@ +*Grease-Pharo10-Core +asMilliseconds + ^ self asMilliSeconds \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Duration.extension/instance/milliseconds.st b/repository/Grease-Pharo10-Core.package/Duration.extension/instance/milliseconds.st new file mode 100644 index 00000000..94198a88 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/Duration.extension/instance/milliseconds.st @@ -0,0 +1,3 @@ +*Grease-Pharo10-Core +milliseconds + ^ nanos quo: NanosInMillisecond \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Duration.extension/properties.json b/repository/Grease-Pharo10-Core.package/Duration.extension/properties.json new file mode 100644 index 00000000..d141a092 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/Duration.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "Duration" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo10-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st new file mode 100644 index 00000000..1b3fcdf7 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st @@ -0,0 +1,3 @@ +*Grease-Pharo10-Core +greaseNext: anInteger putAll: aCollection startingAt: startIndex + stream greaseNext: anInteger putAll: aCollection startingAt: startIndex \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRDelegatingStream.extension/properties.json b/repository/Grease-Pharo10-Core.package/GRDelegatingStream.extension/properties.json new file mode 100644 index 00000000..5ec29ea0 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRDelegatingStream.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "GRDelegatingStream" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/README.md b/repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/class/defaultValue.st b/repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/class/defaultValue.st new file mode 100644 index 00000000..3d7f6377 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/class/defaultValue.st @@ -0,0 +1,3 @@ +defaults +defaultValue + ^ nil \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/class/use.during..st b/repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/class/use.during..st new file mode 100644 index 00000000..1e03f82f --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/class/use.during..st @@ -0,0 +1,5 @@ +accessing +use: anObject during: aBlock + ^ self + value: anObject + during: aBlock \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/instance/default.st b/repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/instance/default.st new file mode 100644 index 00000000..59cb6f1b --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/instance/default.st @@ -0,0 +1,3 @@ +accessing +default + ^ self class defaultValue \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/properties.json b/repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/properties.json new file mode 100644 index 00000000..f4c6b16e --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "DynamicVariable", + "category" : "Grease-Pharo10-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRDynamicVariable", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPackage.extension/class/greasePharo70Core.st b/repository/Grease-Pharo10-Core.package/GRPackage.extension/class/greasePharo70Core.st new file mode 100644 index 00000000..71a7a5c7 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPackage.extension/class/greasePharo70Core.st @@ -0,0 +1,7 @@ +*Grease-Pharo10-Core +greasePharo70Core + ^ self new + name: 'Grease-Pharo90-Core'; + addDependency: 'Grease-Core'; + url: #greaseUrl; + yourself \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPackage.extension/properties.json b/repository/Grease-Pharo10-Core.package/GRPackage.extension/properties.json new file mode 100644 index 00000000..ae522a7e --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPackage.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "GRPackage" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/README.md b/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/README.md new file mode 100644 index 00000000..7620280e --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/README.md @@ -0,0 +1,7 @@ +A WAConverterCodecStream is a WACodec stream around a TextConverter. It is always in text mode. + +Instance Variables + converter: + +converter + - the TextConverter used to do the encoding conversion diff --git a/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/class/on.converter..st b/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/class/on.converter..st new file mode 100644 index 00000000..de8cd791 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/class/on.converter..st @@ -0,0 +1,3 @@ +instance creation +on: aStream converter: aConverter + ^ self basicNew initializeOn: aStream converter: aConverter \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/greaseNext.putAll.startingAt..st new file mode 100644 index 00000000..8321e299 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/greaseNext.putAll.startingAt..st @@ -0,0 +1,3 @@ +streaming +greaseNext: anInteger putAll: aCollection startingAt: startIndex + self nextPutAll: (aCollection copyFrom: startIndex to: startIndex + anInteger - 1) \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/initializeOn.converter..st b/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/initializeOn.converter..st new file mode 100644 index 00000000..c380485d --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/initializeOn.converter..st @@ -0,0 +1,4 @@ +initialization +initializeOn: aStream converter: aConverter + self initializeOn: aStream. + converter := aConverter \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/next..st b/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/next..st new file mode 100644 index 00000000..ef51837b --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/next..st @@ -0,0 +1,8 @@ +streaming +next: anInteger + | writeStream | + writeStream := WriteStream on: (String new: anInteger). + anInteger timesRepeat: [ + writeStream nextPut: (self next + ifNil: [ ^ writeStream contents ]) ]. + ^ writeStream contents \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/next.st b/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/next.st new file mode 100644 index 00000000..eee99a1a --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/next.st @@ -0,0 +1,6 @@ +streaming +next + | character | + character := converter nextFromStream: stream. + ^ character isNil + ifFalse: [ character asCharacter ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/nextPut..st b/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/nextPut..st new file mode 100644 index 00000000..e65f56c4 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/nextPut..st @@ -0,0 +1,3 @@ +streaming +nextPut: aCharacter + converter nextPut: aCharacter asCharacter toStream: stream \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/nextPutAll..st b/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/nextPutAll..st new file mode 100644 index 00000000..a30c4507 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/nextPutAll..st @@ -0,0 +1,3 @@ +streaming +nextPutAll: aString + aString asString do: [ :each | self nextPut: each ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/properties.json b/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/properties.json new file mode 100644 index 00000000..84458196 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "pmm 6/25/2012 20:22", + "super" : "GRCodecStream", + "category" : "Grease-Pharo10-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "converter" + ], + "name" : "GRPharoConverterCodecStream", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/README.md b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/class/basicForEncoding..st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/class/basicForEncoding..st new file mode 100644 index 00000000..d4c4a74b --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/class/basicForEncoding..st @@ -0,0 +1,3 @@ +private +basicForEncoding: aString + ^ self new \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/class/codecs.st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/class/codecs.st new file mode 100644 index 00000000..6e52e620 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/class/codecs.st @@ -0,0 +1,5 @@ +accessing +codecs + ^ GRPlatform current utf8CodecClass == self + ifTrue:[ Array with: self new ] + ifFalse: [ Array new ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/class/supportsEncoding..st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/class/supportsEncoding..st new file mode 100644 index 00000000..cf74d916 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/class/supportsEncoding..st @@ -0,0 +1,3 @@ +testing +supportsEncoding: aString + ^ GRPlatform current utf8CodecClass == self and: [(#('utf-8' 'UTF-8') includes: aString) or: [ UTF8TextConverter encodingNames includes: aString ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/decode..st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/decode..st new file mode 100644 index 00000000..60eea74c --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/decode..st @@ -0,0 +1,36 @@ +convenience +decode: aString + "Convert the given string from UTF-8 using the fast path if converting to Latin-1" + | outStream byte1 byte2 byte3 byte4 unicode stream | + stream := aString readStream. + outStream := WriteStream on: (String new: aString size). + [ stream atEnd not ] whileTrue: [ + byte1 := stream next asInteger. + unicode := byte1. + (byte1 bitAnd: 16rE0) = 192 ifTrue: [ "two bytes" + byte2 := stream next asInteger. + (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. + unicode := ((byte1 bitAnd: 31) bitShift: 6) + (byte2 bitAnd: 63) ]. + (byte1 bitAnd: 16rF0) = 224 ifTrue: [ "three bytes" + byte2 := stream next asInteger. + (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. + byte3 := stream next asInteger. + (byte3 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. + unicode := ((byte1 bitAnd: 15) bitShift: 12) + ((byte2 bitAnd: 63) bitShift: 6) + + (byte3 bitAnd: 63) ]. + (byte1 bitAnd: 16rF8) = 240 ifTrue: [ "four bytes" + byte2 := stream next asInteger. + (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. + byte3 := stream next asInteger. + (byte3 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. + byte4 := stream next asInteger. + (byte4 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. + unicode := ((byte1 bitAnd: 16r7) bitShift: 18) + + ((byte2 bitAnd: 63) bitShift: 12) + + ((byte3 bitAnd: 63) bitShift: 6) + + (byte4 bitAnd: 63) ]. + unicode ifNil: [ self invalidUtf8 ]. + unicode = 16rFEFF "ignore BOM" ifFalse: [ + outStream nextPut: (Character codePoint: unicode) ]. + unicode := nil ]. + ^ outStream contents \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/decoderFor..st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/decoderFor..st new file mode 100644 index 00000000..9a221440 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/decoderFor..st @@ -0,0 +1,5 @@ +convenience +decoderFor: aStream + ^ GRPharoDeprecatedUtf8CodecStream + on: aStream + converter: UTF8TextConverter new \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/encodedStringClass.st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/encodedStringClass.st new file mode 100644 index 00000000..97aca951 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/encodedStringClass.st @@ -0,0 +1,3 @@ +conversion +encodedStringClass + ^ String \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/encoderFor..st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/encoderFor..st new file mode 100644 index 00000000..ad1614eb --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/encoderFor..st @@ -0,0 +1,5 @@ +convenience +encoderFor: aStream + ^ GRPharoDeprecatedUtf8CodecStream + on: aStream + converter: UTF8TextConverter new \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/invalidUtf8.st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/invalidUtf8.st new file mode 100644 index 00000000..bf9b0111 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/invalidUtf8.st @@ -0,0 +1,3 @@ +convenience +invalidUtf8 + ^ GRInvalidUtf8Error signal: 'Invalid UTF-8 input' \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/name.st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/name.st new file mode 100644 index 00000000..7886c830 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'utf-8' \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/url.st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/url.st new file mode 100644 index 00000000..4696d714 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/url.st @@ -0,0 +1,3 @@ +accessing +url + ^ self \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/properties.json b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/properties.json new file mode 100644 index 00000000..7fbb2356 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRCodec", + "category" : "Grease-Pharo10-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRPharoDeprecatedUtf8Codec", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/README.md b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/README.md new file mode 100644 index 00000000..08323f18 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/README.md @@ -0,0 +1 @@ +A WAUtf8CodecStream is a WACodecStream optimized for UTF-8 performance in the case where most of the characters are ASCII. diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/crlf.st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/crlf.st new file mode 100644 index 00000000..ba607092 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/crlf.st @@ -0,0 +1,4 @@ +streaming +crlf + stream nextPut: Character cr. + stream nextPut: Character lf \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeDefault..st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeDefault..st new file mode 100644 index 00000000..cdd58a41 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeDefault..st @@ -0,0 +1,5 @@ +private +encodeDefault: aString + "Convert the given string from UTF-8 using the fast path if converting to Latin-1" + 1 to: aString size by: 1 do: [ :index | + converter nextPut: (aString at: index) toStream: stream ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeFast..st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeFast..st new file mode 100644 index 00000000..9a8a0dc3 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeFast..st @@ -0,0 +1,14 @@ +private +encodeFast: aByteString + "Convert the given string from UTF-8 using the fast path if converting to Latin-1" + | lastIndex nextIndex | + lastIndex := 1. + nextIndex := ByteString findFirstInString: aByteString inSet: Latin1ToUtf8Map startingAt: lastIndex. + nextIndex = 0 ifTrue: [ ^ stream nextPutAll: aByteString ]. + [ nextIndex > lastIndex ifTrue: [ + stream greaseNext: nextIndex - lastIndex putAll: aByteString startingAt: lastIndex ]. + stream nextPutAll: (Latin1ToUtf8Encodings at: (aByteString byteAt: nextIndex) + 1). + lastIndex := nextIndex + 1. + nextIndex := ByteString findFirstInString: aByteString inSet: Latin1ToUtf8Map startingAt: lastIndex. + nextIndex = 0 ] whileFalse. + stream greaseNext: aByteString size - lastIndex + 1 putAll: aByteString startingAt: lastIndex \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st new file mode 100644 index 00000000..cd78fbe0 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st @@ -0,0 +1,5 @@ +streaming +greaseNext: anInteger putAll: aCollection startingAt: startIndex + aCollection isByteString + ifTrue: [ self greaseNext: anInteger putAllFast: aCollection startingAt: startIndex ] + ifFalse: [ super greaseNext: anInteger putAll: aCollection startingAt: startIndex ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st new file mode 100644 index 00000000..a4c114cb --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st @@ -0,0 +1,17 @@ +private +greaseNext: anInteger putAllFast: aByteString startingAt: startIndex + | lastIndex nextIndex | + lastIndex := startIndex. + nextIndex := ByteString findFirstInString: aByteString inSet: Latin1ToUtf8Map startingAt: lastIndex. + nextIndex = 0 ifTrue: [ ^ stream greaseNext: anInteger putAll: aByteString startingAt: startIndex ]. + [ + nextIndex >= (startIndex + anInteger) ifTrue: [ + ^ stream greaseNext: startIndex + anInteger - lastIndex putAll: aByteString startingAt: lastIndex ]. + nextIndex > lastIndex ifTrue: [ + stream greaseNext: nextIndex - lastIndex putAll: aByteString startingAt: lastIndex ]. + stream nextPutAll: (Latin1ToUtf8Encodings at: (aByteString byteAt: nextIndex) + 1). + lastIndex := nextIndex + 1. + nextIndex := ByteString findFirstInString: aByteString inSet: Latin1ToUtf8Map startingAt: lastIndex. + (nextIndex = 0 or: [ nextIndex >= (startIndex + anInteger) ]) ] whileFalse. + lastIndex >= (startIndex + anInteger) ifFalse: [ + stream greaseNext: startIndex + anInteger - lastIndex putAll: aByteString startingAt: lastIndex ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/invalidUtf8.st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/invalidUtf8.st new file mode 100644 index 00000000..e4481c22 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/invalidUtf8.st @@ -0,0 +1,3 @@ +private +invalidUtf8 + ^ GRInvalidUtf8Error signal: 'Invalid UTF-8 input' \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next..st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next..st new file mode 100644 index 00000000..116f524d --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next..st @@ -0,0 +1,46 @@ +streaming +next: anInteger + "Convert the given string from UTF-8 using the fast path if converting to Latin-1" + | output byte1 byte2 byte3 byte4 unicode count alreadyWide | + output := ByteString new: anInteger. + count := 0. + alreadyWide := false. + [ count < anInteger and: [ stream atEnd not ] ] whileTrue: [ + byte1 := stream next. + unicode := byte1. + (byte1 bitAnd: 16rE0) = 192 ifTrue: [ "two bytes" + byte2 := stream next. + (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. + unicode := ((byte1 bitAnd: 31) bitShift: 6) + (byte2 bitAnd: 63) ]. + (byte1 bitAnd: 16rF0) = 224 ifTrue: [ "three bytes" + byte2 := stream next. + (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. + byte3 := stream next. + (byte3 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. + unicode := ((byte1 bitAnd: 15) bitShift: 12) + ((byte2 bitAnd: 63) bitShift: 6) + + (byte3 bitAnd: 63). + alreadyWide ifFalse: [ + output := WideString withAll: output. + alreadyWide := true ] ]. + (byte1 bitAnd: 16rF8) = 240 ifTrue: [ "four bytes" + byte2 := stream next. + (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. + byte3 := stream next. + (byte3 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. + byte4 := stream next. + (byte4 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. + unicode := ((byte1 bitAnd: 16r7) bitShift: 18) + + ((byte2 bitAnd: 63) bitShift: 12) + + ((byte3 bitAnd: 63) bitShift: 6) + + (byte4 bitAnd: 63). + alreadyWide ifFalse: [ + output := WideString withAll: output. + alreadyWide := true ] ]. + unicode ifNil: [ self invalidUtf8 ]. + unicode = 16rFEFF "ignore BOM" ifFalse: [ + count := count + 1. + output at: count put: (Character codePoint: unicode) ]. + unicode := nil ]. + ^ count < anInteger + ifTrue: [ output first: count ] + ifFalse: [ output ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next.st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next.st new file mode 100644 index 00000000..4363f086 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next.st @@ -0,0 +1,3 @@ +streaming +next + ^ (self next: 1) first \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPut..st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPut..st new file mode 100644 index 00000000..ad2d94ab --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPut..st @@ -0,0 +1,11 @@ +streaming +nextPut: aCharacter + | codePoint shouldEncode | + codePoint := aCharacter codePoint. + codePoint > 255 + ifTrue: [ ^ self nextPutAll: (String with: aCharacter) ]. + shouldEncode := Latin1ToUtf8Map at: codePoint + 1. + shouldEncode = 1 + ifTrue: [ stream nextPutAll: (Latin1ToUtf8Encodings at: codePoint + 1) ] + ifFalse: [ stream nextPut: aCharacter ] + \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPutAll..st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPutAll..st new file mode 100644 index 00000000..b9136110 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPutAll..st @@ -0,0 +1,5 @@ +streaming +nextPutAll: aString + aString isByteString + ifTrue: [ self encodeFast: aString ] + ifFalse: [ self encodeDefault: aString ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/properties.json b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/properties.json new file mode 100644 index 00000000..419803be --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/properties.json @@ -0,0 +1,14 @@ +{ + "commentStamp" : "pmm 2/20/2009 12:27", + "super" : "GRPharoConverterCodecStream", + "category" : "Grease-Pharo10-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ + "Latin1ToUtf8Encodings", + "Latin1ToUtf8Map" + ], + "instvars" : [ ], + "name" : "GRPharoDeprecatedUtf8CodecStream", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/README.md b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/basicForEncoding..st b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/basicForEncoding..st new file mode 100644 index 00000000..f6b18bd4 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/basicForEncoding..st @@ -0,0 +1,5 @@ +private +basicForEncoding: aString + (self supportsEncoding: aString) + ifFalse: [ self unsupportedEncoding: aString ]. + ^ self basicNew initializeWithName: aString \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/codecs.st b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/codecs.st new file mode 100644 index 00000000..f1293d05 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/codecs.st @@ -0,0 +1,8 @@ +accessing +codecs + ^ (TextConverter allEncodingNames + select: [ :each | + "exclude UFT-8 which is handeled by WAUtf8Codec" + self supportsEncoding: each ]) + collect: [ :each | + self basicForEncoding: each greaseString ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/supportedEncodingNames.st b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/supportedEncodingNames.st new file mode 100644 index 00000000..d1c6d00b --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/supportedEncodingNames.st @@ -0,0 +1,8 @@ +private +supportedEncodingNames + "answers the names of the encodings supported by this class" + + ^ (TextConverter allSubclasses gather: [ :class | class encodingNames ]) asSet asOrderedCollection + removeAllFoundIn: GRPharoLatin1Codec supportedEncodingNames; + removeAllFoundIn: UTF8TextConverter encodingNames; + yourself \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/supportsEncoding..st b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/supportsEncoding..st new file mode 100644 index 00000000..43a27325 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/supportsEncoding..st @@ -0,0 +1,4 @@ +testing +supportsEncoding: aString + "Answer whether the the given encoding name is supported." + ^ self supportedEncodingNames includes: aString \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/converter.st b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/converter.st new file mode 100644 index 00000000..02b8754b --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/converter.st @@ -0,0 +1,3 @@ +private +converter + ^ TextConverter newForEncoding: self name \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/decoderFor..st b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/decoderFor..st new file mode 100644 index 00000000..be53dfea --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/decoderFor..st @@ -0,0 +1,3 @@ +conversion +decoderFor: aStream + ^ self encoderFor: aStream \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/encoderFor..st b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/encoderFor..st new file mode 100644 index 00000000..94f2fc13 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/encoderFor..st @@ -0,0 +1,5 @@ +conversion +encoderFor: aStream + ^ GRPharoConverterCodecStream + on: aStream + converter: self converter \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/initializeWithName..st b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/initializeWithName..st new file mode 100644 index 00000000..fe95783c --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/initializeWithName..st @@ -0,0 +1,7 @@ +initialization +initializeWithName: aString + self initialize. + name := aString. + urlCodec := (#('iso-8859-15' 'cp-1252') includes: aString) + ifFalse: [ GRCodec forEncoding: 'utf-8' ] + ifTrue: [ self ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/name.st b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/name.st new file mode 100644 index 00000000..22077c20 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ name \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/url.st b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/url.st new file mode 100644 index 00000000..232ad239 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/url.st @@ -0,0 +1,5 @@ +accessing +url + "RFC 3986: When a new URI scheme defines a component that represents textual data consisting of characters from the Universal Character Set [UCS], the data should first be encoded as octets according to the UTF-8 character encoding." + + ^ urlCodec \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/properties.json b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/properties.json new file mode 100644 index 00000000..239a5cd3 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/properties.json @@ -0,0 +1,14 @@ +{ + "commentStamp" : "", + "super" : "GRCodec", + "category" : "Grease-Pharo10-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "name", + "urlCodec" + ], + "name" : "GRPharoGenericCodec", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/README.md b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/README.md new file mode 100644 index 00000000..3f437d62 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/README.md @@ -0,0 +1 @@ +A GRPharoLatin1Codec is a WACodec optimized for ISO-8859-1 (direct byte to character mapping). \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/basicForEncoding..st b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/basicForEncoding..st new file mode 100644 index 00000000..f6b18bd4 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/basicForEncoding..st @@ -0,0 +1,5 @@ +private +basicForEncoding: aString + (self supportsEncoding: aString) + ifFalse: [ self unsupportedEncoding: aString ]. + ^ self basicNew initializeWithName: aString \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/codecs.st b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/codecs.st new file mode 100644 index 00000000..7a96b703 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/codecs.st @@ -0,0 +1,3 @@ +accessing +codecs + ^ Array with: (self basicForEncoding: 'iso-8859-1') \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/supportedEncodingNames.st b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/supportedEncodingNames.st new file mode 100644 index 00000000..e5dca068 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/supportedEncodingNames.st @@ -0,0 +1,3 @@ +private +supportedEncodingNames + ^ #('iso-8859-1' 'ISO-8859-1' 'latin-1' 'latin1') \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/supportsEncoding..st b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/supportsEncoding..st new file mode 100644 index 00000000..bc591573 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/supportsEncoding..st @@ -0,0 +1,4 @@ +private +supportsEncoding: aString + "Answer whether the the given encoding name is supported." + ^ self supportedEncodingNames includes: aString \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/decode..st b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/decode..st new file mode 100644 index 00000000..5f73b526 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/decode..st @@ -0,0 +1,5 @@ +conversion +decode: aStringOrByteArray + "Overridden for efficencey." + + ^ aStringOrByteArray asString \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/decoderFor..st b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/decoderFor..st new file mode 100644 index 00000000..256dbac4 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/decoderFor..st @@ -0,0 +1,4 @@ +conversion +decoderFor: aReadStream + "wrap to avoid String vs ByteArray issues" + ^ GRPharoLatin1CodecStream on: aReadStream \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/encoderFor..st b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/encoderFor..st new file mode 100644 index 00000000..20102849 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/encoderFor..st @@ -0,0 +1,4 @@ +conversion +encoderFor: aWriteStream + "wrap to avoid String vs ByteArray issues" + ^ GRPharoLatin1CodecStream on: aWriteStream \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/initializeWithName..st b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/initializeWithName..st new file mode 100644 index 00000000..b0256973 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/initializeWithName..st @@ -0,0 +1,4 @@ +initialization +initializeWithName: aString + self initialize. + name := aString \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/name.st b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/name.st new file mode 100644 index 00000000..22077c20 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ name \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/properties.json b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/properties.json new file mode 100644 index 00000000..a50980da --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "", + "super" : "GRNullCodec", + "category" : "Grease-Pharo10-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "name" + ], + "name" : "GRPharoLatin1Codec", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/README.md b/repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/README.md new file mode 100644 index 00000000..e1c2471b --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/README.md @@ -0,0 +1 @@ +A GRPharoLatin1CodecStream is a WACodecStream optimized for ISO-8859-1 (direct byte to character mapping). \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/instance/next..st b/repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/instance/next..st new file mode 100644 index 00000000..a734bc76 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/instance/next..st @@ -0,0 +1,3 @@ +streaming +next: anInteger + ^ (stream next: anInteger) asString \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/instance/next.st b/repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/instance/next.st new file mode 100644 index 00000000..bf70df58 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/instance/next.st @@ -0,0 +1,3 @@ +streaming +next + ^ Character value: stream next \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/properties.json b/repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/properties.json new file mode 100644 index 00000000..37d5386d --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRNullCodecStream", + "category" : "Grease-Pharo10-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRPharoLatin1CodecStream", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/README.md b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/README.md new file mode 100644 index 00000000..f0375aac --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/README.md @@ -0,0 +1 @@ +A WASqueakPlatform is the Squeak implementation of SeasidePlatformSupport, the Seaside class that provides functionality that can not be implemented in a platform independent way. diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/initialize.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/initialize.st new file mode 100644 index 00000000..0c86564c --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/initialize.st @@ -0,0 +1,5 @@ +class initialization +initialize + self initializeXmlTable. + self initializeUrlTable. + self select \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/initializeUrlTable.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/initializeUrlTable.st new file mode 100644 index 00000000..9abf56b7 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/initializeUrlTable.st @@ -0,0 +1,7 @@ +class initialization +initializeUrlTable + UrlTable := ByteArray new: 256. + 1 to: 256 do: [ :index | + ('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.~' includes: (Character codePoint: index - 1)) + ifTrue: [ UrlTable at: index put: 0 ] + ifFalse: [ UrlTable at: index put: 1 ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/initializeXmlTable.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/initializeXmlTable.st new file mode 100644 index 00000000..830a5595 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/initializeXmlTable.st @@ -0,0 +1,7 @@ +class initialization +initializeXmlTable + XmlTable := ByteArray new: 256. + 1 to: 256 do: [ :index | + ('"<&>' includes: (Character codePoint: index - 1)) + ifTrue: [ XmlTable at: index put: 1 ] + ifFalse: [ XmlTable at: index put: 0 ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/unload.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/unload.st new file mode 100644 index 00000000..4c8dd650 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/unload.st @@ -0,0 +1,3 @@ +class initialization +unload + self unselect \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/addToShutDownList..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/addToShutDownList..st new file mode 100644 index 00000000..f8d3ad5f --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/addToShutDownList..st @@ -0,0 +1,5 @@ +startup +addToShutDownList: anObject + "Add anObject to the shutdown-list of the system. On shutdown the message #shutDown will be sent to anObject." + + Smalltalk addToShutDownList: anObject \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/addToStartUpList..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/addToStartUpList..st new file mode 100644 index 00000000..c4ab1dea --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/addToStartUpList..st @@ -0,0 +1,5 @@ +startup +addToStartUpList: aClass + "Add anObject to the startup-list of the system. On startup the message #startUp will be sent to anObject." + + SessionManager default registerUserClassNamed: aClass name. \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArray.named..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArray.named..st new file mode 100644 index 00000000..ba4a0727 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArray.named..st @@ -0,0 +1,6 @@ +file library +asMethodReturningByteArray: aByteArrayOrString named: aSymbol + "Generates the source of a method named aSymbol that returns aByteArrayOrString as a ByteArray" + ^ self useByteArrayLiterals + ifTrue: [ self asMethodReturningByteArrayLiteral: aByteArrayOrString named: aSymbol ] + ifFalse: [ self asMethodReturningByteArrayWithCache: aByteArrayOrString named: aSymbol ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayLiteral.named..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayLiteral.named..st new file mode 100644 index 00000000..90bb405c --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayLiteral.named..st @@ -0,0 +1,10 @@ +private-file library +asMethodReturningByteArrayLiteral: aByteArrayOrString named: aSymbol + "Generates the source of a method named aSymbol that returns aByteArrayOrString as a byte array using VW/NewCompiler byte array literal syntax." + ^ String streamContents: [ :stream | + stream nextPutAll: aSymbol; nextPut: Character cr. + stream tab; nextPutAll: '^ #['. + aByteArrayOrString asByteArray + do: [ :each | each printOn: stream ] + separatedBy: [ stream space ]. + stream nextPutAll: ']' ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayWithCache.named..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayWithCache.named..st new file mode 100644 index 00000000..a1f9fe07 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayWithCache.named..st @@ -0,0 +1,10 @@ +private-file library +asMethodReturningByteArrayWithCache: aByteArrayOrString named: aSymbol + "Generates the source of a method named aSymbol that returns aByteArrayOrString as a byte array and caching this array in a literal array of size 1." + ^ String streamContents: [ :stream | + stream nextPutAll: aSymbol; nextPut: Character cr. + stream tab; nextPutAll: '^ #('. + aByteArrayOrString asByteArray + do: [ :each | each printOn: stream ] + separatedBy: [ stream space ]. + stream nextPutAll: ') asByteArray' ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/base64Decode..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/base64Decode..st new file mode 100644 index 00000000..3fb71b1a --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/base64Decode..st @@ -0,0 +1,3 @@ +encoding +base64Decode: aString + ^ aString base64Decoded asString \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/bindingOf..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/bindingOf..st new file mode 100644 index 00000000..e878c01b --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/bindingOf..st @@ -0,0 +1,4 @@ +bindings +bindingOf: aClass + + ^ Smalltalk globals associationAt: aClass name \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/compile.into.classified..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/compile.into.classified..st new file mode 100644 index 00000000..45c37a45 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/compile.into.classified..st @@ -0,0 +1,3 @@ +file library +compile: aString into: aClass classified: aSymbol + aClass compile: aString classified: aSymbol \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st new file mode 100644 index 00000000..ecfdc9d4 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st @@ -0,0 +1,3 @@ +file library +contentsOfFile: aString binary: aBoolean + ^ self readFileStreamOn: aString do: [ :stream | stream contents ] binary: aBoolean \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/directoriesIn..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/directoriesIn..st new file mode 100644 index 00000000..c5beee09 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/directoriesIn..st @@ -0,0 +1,8 @@ +file library +directoriesIn: aPathString + "Answer a collection of absolute paths for all the directories (no files) in the directory given by aPathString + must not include directory names that start with ." + ^ Array streamContents: [ :stream | + FileSystem disk directoriesAt: aPathString do: [ :each | + each basename first = $. ifFalse: [ + stream nextPut: each asFileReference fullName ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/doSilently..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/doSilently..st new file mode 100644 index 00000000..9ea296ff --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/doSilently..st @@ -0,0 +1,3 @@ +private +doSilently: aBlock + ^ SystemAnnouncer uniqueInstance suspendAllWhile: aBlock \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st new file mode 100644 index 00000000..907e0168 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st @@ -0,0 +1,4 @@ +file library +ensureExistenceOfFolder: aString + "creates a folder named aString in the image directory" + FileSystem disk ensureCreateDirectory: aString \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/fileExists..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/fileExists..st new file mode 100644 index 00000000..2a02cc3f --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/fileExists..st @@ -0,0 +1,3 @@ +file library +fileExists: aString + ^ aString asFileReference exists \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/filesIn..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/filesIn..st new file mode 100644 index 00000000..e3b9a6b0 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/filesIn..st @@ -0,0 +1,8 @@ +file library +filesIn: aPathString + "Return a collection of absolute paths for all the files (no directories) in the directory given by aPathString + must not include file names that start with ." + ^ Array streamContents: [ :stream | + FileSystem disk filesAt: aPathString do: [ :each | + each basename first = $. ifFalse: [ + stream nextPut: each asFileReference fullName ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/isProcessTerminated..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/isProcessTerminated..st new file mode 100644 index 00000000..03b50778 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/isProcessTerminated..st @@ -0,0 +1,4 @@ +processes +isProcessTerminated: aProcess + "Return a boolean indicating whether aProcess has been terminated." + ^ aProcess isTerminated \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/label.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/label.st new file mode 100644 index 00000000..f3b036e2 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/label.st @@ -0,0 +1,3 @@ +version info +label + ^ 'Pharo' \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/localNameOf..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/localNameOf..st new file mode 100644 index 00000000..8f4efb85 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/localNameOf..st @@ -0,0 +1,3 @@ +file library +localNameOf: aFilename + ^ (FileSystem disk resolveString: aFilename) basename \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/newRandom.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/newRandom.st new file mode 100644 index 00000000..9d90824d --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/newRandom.st @@ -0,0 +1,10 @@ +factory +newRandom + "Answers the random number generator to be used to create session and continuation keys. Make sure it is seeded. They only methods that will be sent to it are: + #nextInt: - should answer a random integer in the interval [1, anInteger] + #randomFrom: - should answer a random element from the given collection + + Make sure that both methods are safe under heavy concurrent load. + + Used by Gemstone/S traditional Randoms which cannot be persisted.." + ^ GRPharoRandomProvider \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/newline.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/newline.st new file mode 100644 index 00000000..1219045d --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/newline.st @@ -0,0 +1,3 @@ +file library +newline + ^ String cr \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st new file mode 100644 index 00000000..305157e2 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st @@ -0,0 +1,18 @@ +exceptions +openDebuggerOn: anError + | process | + process := Processor activeProcess. + "If we are running in the UI process, we don't want to suspend the active process. The + error was presumably triggered while stepping in the Debugger. If we simply immediately + signal an UnhandledError, the debugger will catch this and display the signaling context. + It isn't perfect or pretty but it works." + (ProcessBrowser isUIProcess: process) + ifTrue: [ + UnhandledError signalForException: anError ] + ifFalse: [ + WorldState addDeferredUIMessage: [ + UIManager default + requestDebuggerOpeningForProcess: process + named: anError description + inContext: anError signalerContext ]. + process suspend ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/pathSeparator.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/pathSeparator.st new file mode 100644 index 00000000..10f88300 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/pathSeparator.st @@ -0,0 +1,3 @@ +file library +pathSeparator + ^ String with: FileSystem disk delimiter \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/readFileStreamOn.do.binary..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/readFileStreamOn.do.binary..st new file mode 100644 index 00000000..1852f83e --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/readFileStreamOn.do.binary..st @@ -0,0 +1,6 @@ +file library +readFileStreamOn: aString do: aBlock binary: aBoolean + + ^ aBoolean + ifTrue: [ aString asFileReference binaryReadStreamDo: aBlock ] + ifFalse: [ aString asFileReference readStreamEncoded: 'utf-8' do: aBlock ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/readWriteByteStream.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/readWriteByteStream.st new file mode 100644 index 00000000..db9518ee --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/readWriteByteStream.st @@ -0,0 +1,5 @@ +factory +readWriteByteStream + "ByteArray based read write stream" + + ^ ReadWriteStream on: (ByteArray new: 4096) \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/readWriteCharacterStream.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/readWriteCharacterStream.st new file mode 100644 index 00000000..3f94c5af --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/readWriteCharacterStream.st @@ -0,0 +1,5 @@ +factory +readWriteCharacterStream + "String based read write stream" + + ^ ReadWriteStream on: (String new: 4096) \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/removeFromShutDownList..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/removeFromShutDownList..st new file mode 100644 index 00000000..58137e33 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/removeFromShutDownList..st @@ -0,0 +1,5 @@ +startup +removeFromShutDownList: aClass + "Remove aClass from the shutdown list in the system." + + SessionManager default unregisterClassNamed: aClass name \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/removeFromStartUpList..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/removeFromStartUpList..st new file mode 100644 index 00000000..76918209 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/removeFromStartUpList..st @@ -0,0 +1,5 @@ +startup +removeFromStartUpList: aClass + "Remove aClass from the startup list in the system." + + SessionManager default unregisterClassNamed: aClass name \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/removeSelector.from..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/removeSelector.from..st new file mode 100644 index 00000000..92cbd7ff --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/removeSelector.from..st @@ -0,0 +1,3 @@ +file library +removeSelector: aSymbol from: aClass + aClass removeSelector: aSymbol \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/secureHashFor..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/secureHashFor..st new file mode 100644 index 00000000..46b9e2d2 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/secureHashFor..st @@ -0,0 +1,3 @@ +cryptography +secureHashFor: aString + ^ SHA1 new hashMessage: aString \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/semaphoreClass.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/semaphoreClass.st new file mode 100644 index 00000000..ceccf9e3 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/semaphoreClass.st @@ -0,0 +1,4 @@ +factory +semaphoreClass + "used by Gemstone/S traditional Semaphores which cannot be persisted" + ^ Semaphore \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/setutf8CodectoDeprecatedTextConverter.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/setutf8CodectoDeprecatedTextConverter.st new file mode 100644 index 00000000..dc394f4f --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/setutf8CodectoDeprecatedTextConverter.st @@ -0,0 +1,4 @@ +utf8 codec +setutf8CodectoDeprecatedTextConverter + "Set to the GRPharoDeprecatedUtf8Codec that uses the deprecated TextConverter for utf8 encoding" + utf8DeprecatedCodecFlag := true \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/setutf8CodectoZinc.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/setutf8CodectoZinc.st new file mode 100644 index 00000000..2f43e9ab --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/setutf8CodectoZinc.st @@ -0,0 +1,4 @@ +utf8 codec +setutf8CodectoZinc + "Set to GRPharoUtf8Codec that uses Zinc for utf8 encoding" + utf8DeprecatedCodecFlag := false \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/stackDepth.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/stackDepth.st new file mode 100644 index 00000000..d7e6feab --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/stackDepth.st @@ -0,0 +1,10 @@ +exceptions +stackDepth + + | depth current | + depth := 0. + current := thisContext. + [ current isNil ] whileFalse: [ + current := current sender. + depth := depth + 1 ]. + ^ depth - 1 \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/terminateProcess..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/terminateProcess..st new file mode 100644 index 00000000..a09b96e1 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/terminateProcess..st @@ -0,0 +1,4 @@ +processes +terminateProcess: aProcess + "Permanently terminate the process, unwinding first to execute #ensure: and #ifCurtailed: blocks." + aProcess terminate \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/thisContext.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/thisContext.st new file mode 100644 index 00000000..c936ecad --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/thisContext.st @@ -0,0 +1,4 @@ +processes +thisContext + + ^ thisContext sender \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/useByteArrayLiterals.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/useByteArrayLiterals.st new file mode 100644 index 00000000..71b0f2cf --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/useByteArrayLiterals.st @@ -0,0 +1,4 @@ +private-file library +useByteArrayLiterals + "whether ByteArray literals can/should be used" + ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/utf8CodecClass.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/utf8CodecClass.st new file mode 100644 index 00000000..86376f5c --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/utf8CodecClass.st @@ -0,0 +1,8 @@ +utf8 codec +utf8CodecClass + + ^ utf8DeprecatedCodecFlag + ifNil: [ GRPharoUtf8Codec ] + ifNotNil: [ utf8DeprecatedCodecFlag + ifTrue:[ GRPharoDeprecatedUtf8Codec ] + ifFalse: [ GRPharoUtf8Codec ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/weakDictionaryOfSize..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/weakDictionaryOfSize..st new file mode 100644 index 00000000..b0ca3d82 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/weakDictionaryOfSize..st @@ -0,0 +1,3 @@ +factory +weakDictionaryOfSize: aNumber + ^ IdentityDictionary new: aNumber \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/write.toFile.inFolder..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/write.toFile.inFolder..st new file mode 100644 index 00000000..bbde965a --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/write.toFile.inFolder..st @@ -0,0 +1,7 @@ +file library +write: aStringOrByteArray toFile: aFileNameString inFolder: aFolderString + "writes aStringOrByteArray to a file named aFilenameString in the folder aFolderString" + ^ self + writeFileStreamOn: (aFolderString asFileReference / aFileNameString) ensureDelete pathString + do: [ :stream | stream nextPutAll: aStringOrByteArray ] + binary: aStringOrByteArray isString not \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/writeFileStreamOn.do.binary..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/writeFileStreamOn.do.binary..st new file mode 100644 index 00000000..0b43135e --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/writeFileStreamOn.do.binary..st @@ -0,0 +1,5 @@ +file library +writeFileStreamOn: aString do: aBlock binary: aBoolean + ^ aBoolean + ifTrue: [ aString asFileReference binaryWriteStreamDo: aBlock ] + ifFalse: [ aString asFileReference writeStreamEncoded: 'utf-8' do: [ :str | aBlock value: (ZnNewLineWriterStream on: str) ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/properties.json b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/properties.json new file mode 100644 index 00000000..c2b116eb --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/properties.json @@ -0,0 +1,16 @@ +{ + "commentStamp" : "pmm 6/1/2008 01:03", + "super" : "GRPlatform", + "category" : "Grease-Pharo10-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ + "UrlTable", + "XmlTable" + ], + "instvars" : [ + "utf8DeprecatedCodecFlag" + ], + "name" : "GRPharoPlatform", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/README.md b/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/initialize.st b/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/initialize.st new file mode 100644 index 00000000..04ca54c3 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/initialize.st @@ -0,0 +1,4 @@ +private +initialize + Smalltalk addToStartUpList: self. + self startUp \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/nextInt..st b/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/nextInt..st new file mode 100644 index 00000000..1036c2f7 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/nextInt..st @@ -0,0 +1,6 @@ +public +nextInt: anInteger + + "Answer a random integer in the interval [1, anInteger]" + + ^ mutex critical: [ generator nextInteger: anInteger ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/randomClass.st b/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/randomClass.st new file mode 100644 index 00000000..85a2db91 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/randomClass.st @@ -0,0 +1,3 @@ +private +randomClass + ^ Random \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/randomFrom..st b/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/randomFrom..st new file mode 100644 index 00000000..a5fe470c --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/randomFrom..st @@ -0,0 +1,11 @@ +public +randomFrom: aCollection + | random count | + random := self nextInt: aCollection size. + ^ aCollection isSequenceable + ifTrue: [ aCollection at: random ] + ifFalse: [ + count := 1. + aCollection do: [ :ea | + count = random ifTrue: [ ^ ea ]. + count := count + 1 ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/startUp.st b/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/startUp.st new file mode 100644 index 00000000..663a5243 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/startUp.st @@ -0,0 +1,4 @@ +class initialization +startUp + generator := self randomClass new. + mutex := Semaphore forMutualExclusion \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/unload.st b/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/unload.st new file mode 100644 index 00000000..fd4cb930 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/unload.st @@ -0,0 +1,3 @@ +private +unload + GRPlatform current removeFromStartUpList: self \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/properties.json b/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/properties.json new file mode 100644 index 00000000..420f8496 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/properties.json @@ -0,0 +1,14 @@ +{ + "commentStamp" : "", + "super" : "GRObject", + "category" : "Grease-Pharo10-Core", + "classinstvars" : [ + "mutex", + "generator" + ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRPharoRandomProvider", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/README.md b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/README.md new file mode 100644 index 00000000..c6047951 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/README.md @@ -0,0 +1 @@ +A WAUtf8Codec is a WACodec optimized for UTF-8. \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/basicForEncoding..st b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/basicForEncoding..st new file mode 100644 index 00000000..d4c4a74b --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/basicForEncoding..st @@ -0,0 +1,3 @@ +private +basicForEncoding: aString + ^ self new \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/codecs.st b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/codecs.st new file mode 100644 index 00000000..6e52e620 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/codecs.st @@ -0,0 +1,5 @@ +accessing +codecs + ^ GRPlatform current utf8CodecClass == self + ifTrue:[ Array with: self new ] + ifFalse: [ Array new ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st new file mode 100644 index 00000000..54e91f2e --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st @@ -0,0 +1,3 @@ +private +supportsEncoding: aString + ^ GRPlatform current utf8CodecClass == self and: [ (#('utf-8' 'UTF-8' 'utf8') includes: aString) ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/decode..st b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/decode..st new file mode 100644 index 00000000..e9869000 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/decode..st @@ -0,0 +1,3 @@ +convenience +decode: aStringOrByteArray + ^ super decode: aStringOrByteArray asByteArray \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st new file mode 100644 index 00000000..0c2be49b --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st @@ -0,0 +1,4 @@ +conversion +decoderFor: aStream + ^ GRPharoZnUtf8CodecStream + on: aStream \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/encodedStringClass.st b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/encodedStringClass.st new file mode 100644 index 00000000..6e5de896 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/encodedStringClass.st @@ -0,0 +1,3 @@ +conversion +encodedStringClass + ^ ByteArray \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st new file mode 100644 index 00000000..0e80cdaf --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st @@ -0,0 +1,4 @@ +conversion +encoderFor: aStream + ^ GRPharoZnUtf8CodecStream + on: aStream \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/invalidUtf8.st b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/invalidUtf8.st new file mode 100644 index 00000000..e4481c22 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/invalidUtf8.st @@ -0,0 +1,3 @@ +private +invalidUtf8 + ^ GRInvalidUtf8Error signal: 'Invalid UTF-8 input' \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/name.st b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/name.st new file mode 100644 index 00000000..7886c830 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'utf-8' \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/url.st b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/url.st new file mode 100644 index 00000000..4696d714 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/url.st @@ -0,0 +1,3 @@ +accessing +url + ^ self \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/properties.json b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/properties.json new file mode 100644 index 00000000..6a2947a4 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "pmm 2/20/2009 12:51", + "super" : "GRCodec", + "category" : "Grease-Pharo10-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRPharoUtf8Codec", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/README.md b/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st new file mode 100644 index 00000000..73411a20 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st @@ -0,0 +1,3 @@ +accessing +greaseNext: anInteger putAll: aCollection startingAt: startIndex + self nextPutAll: (aCollection copyFrom: startIndex to: startIndex + anInteger - 1) \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/initializeOn..st b/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/initializeOn..st new file mode 100644 index 00000000..ece3cda0 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/initializeOn..st @@ -0,0 +1,4 @@ +initialization +initializeOn: aStream + super initializeOn: aStream. + encoder := ZnCharacterEncoder utf8 \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/next..st b/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/next..st new file mode 100644 index 00000000..b5f1ff9a --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/next..st @@ -0,0 +1,8 @@ +accessing +next: anInteger + | writeStream | + writeStream := WriteStream on: (String new: anInteger). + anInteger timesRepeat: [ + writeStream nextPut: (self next + ifNil: [ ^ writeStream contents ]) ]. + ^ writeStream contents \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/next.st b/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/next.st new file mode 100644 index 00000000..ccde08f3 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/next.st @@ -0,0 +1,6 @@ +accessing +next + | character | + stream atEnd ifTrue: [ ^ nil ]. + character := encoder nextFromStream: stream. + ^ character ifNotNil: [ character asCharacter ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPut..st b/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPut..st new file mode 100644 index 00000000..30014e3d --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPut..st @@ -0,0 +1,3 @@ +accessing +nextPut: aCharacter + encoder nextPut: aCharacter asCharacter toStream: stream \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st b/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st new file mode 100644 index 00000000..f8f3e8e4 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st @@ -0,0 +1,3 @@ +streaming +nextPutAll: aString + aString asString do:[ :each | self nextPut: each ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/properties.json b/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/properties.json new file mode 100644 index 00000000..7072b9d4 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "", + "super" : "GRCodecStream", + "category" : "Grease-Pharo10-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "encoder" + ], + "name" : "GRPharoZnUtf8CodecStream", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRSmallDictionary.extension/instance/inspectionItems..st b/repository/Grease-Pharo10-Core.package/GRSmallDictionary.extension/instance/inspectionItems..st new file mode 100644 index 00000000..c29d6add --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRSmallDictionary.extension/instance/inspectionItems..st @@ -0,0 +1,15 @@ +*Grease-Pharo10-Core +inspectionItems: aBuilder + + + ^ aBuilder newTable + addColumn: (SpStringTableColumn + title: 'Key' + evaluated: [ :each | StObjectPrinter asTruncatedTextFrom: each key ]) + beSortable; + addColumn: (SpStringTableColumn + title: 'Value' + evaluated: [ :each | StObjectPrinter asTruncatedTextFrom: each value ]) + beSortable; + items: self associations; + yourself \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRSmallDictionary.extension/properties.json b/repository/Grease-Pharo10-Core.package/GRSmallDictionary.extension/properties.json new file mode 100644 index 00000000..0d78b749 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRSmallDictionary.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "GRSmallDictionary" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRSmallDictionary2.extension/instance/inspectionItems..st b/repository/Grease-Pharo10-Core.package/GRSmallDictionary2.extension/instance/inspectionItems..st new file mode 100644 index 00000000..c29d6add --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRSmallDictionary2.extension/instance/inspectionItems..st @@ -0,0 +1,15 @@ +*Grease-Pharo10-Core +inspectionItems: aBuilder + + + ^ aBuilder newTable + addColumn: (SpStringTableColumn + title: 'Key' + evaluated: [ :each | StObjectPrinter asTruncatedTextFrom: each key ]) + beSortable; + addColumn: (SpStringTableColumn + title: 'Value' + evaluated: [ :each | StObjectPrinter asTruncatedTextFrom: each value ]) + beSortable; + items: self associations; + yourself \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRSmallDictionary2.extension/properties.json b/repository/Grease-Pharo10-Core.package/GRSmallDictionary2.extension/properties.json new file mode 100644 index 00000000..c5c0f1c8 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/GRSmallDictionary2.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "GRSmallDictionary2" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Interval.extension/instance/any.st b/repository/Grease-Pharo10-Core.package/Interval.extension/instance/any.st new file mode 100644 index 00000000..428f5133 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/Interval.extension/instance/any.st @@ -0,0 +1,6 @@ +*Grease-Pharo10-Core +any + "#first (used by SequenceableCollection>>anyOne) is an accessor of + Interval and does not error on an empty Interval." + + ^ self at: 1 \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Interval.extension/properties.json b/repository/Grease-Pharo10-Core.package/Interval.extension/properties.json new file mode 100644 index 00000000..534eb553 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/Interval.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "Interval" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/MessageSend.extension/instance/argumentCount.st b/repository/Grease-Pharo10-Core.package/MessageSend.extension/instance/argumentCount.st new file mode 100644 index 00000000..e749e242 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/MessageSend.extension/instance/argumentCount.st @@ -0,0 +1,3 @@ +*Grease-Pharo10-Core +argumentCount + ^ selector numArgs - self arguments size \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/MessageSend.extension/instance/valueWithPossibleArguments..st b/repository/Grease-Pharo10-Core.package/MessageSend.extension/instance/valueWithPossibleArguments..st new file mode 100644 index 00000000..569d5bc6 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/MessageSend.extension/instance/valueWithPossibleArguments..st @@ -0,0 +1,7 @@ +*Grease-Pharo10-Core +valueWithPossibleArguments: anArray + "Evaluate the block represented by the receiver. + If the block requires one argument, use anArg, if it requires more than one, + fill up the rest with nils." + + ^ self valueWithEnoughArguments: anArray \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/MessageSend.extension/properties.json b/repository/Grease-Pharo10-Core.package/MessageSend.extension/properties.json new file mode 100644 index 00000000..00669b90 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/MessageSend.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "MessageSend" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Number.extension/instance/milliseconds.st b/repository/Grease-Pharo10-Core.package/Number.extension/instance/milliseconds.st new file mode 100644 index 00000000..806c5c4d --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/Number.extension/instance/milliseconds.st @@ -0,0 +1,3 @@ +*Grease-Pharo10-Core +milliseconds + ^ self milliSeconds \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Number.extension/properties.json b/repository/Grease-Pharo10-Core.package/Number.extension/properties.json new file mode 100644 index 00000000..71dace88 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/Number.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "Number" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Object.extension/instance/greaseString.st b/repository/Grease-Pharo10-Core.package/Object.extension/instance/greaseString.st new file mode 100644 index 00000000..0b9be79a --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/Object.extension/instance/greaseString.st @@ -0,0 +1,3 @@ +*Grease-Pharo10-Core +greaseString + ^ self asString \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Object.extension/properties.json b/repository/Grease-Pharo10-Core.package/Object.extension/properties.json new file mode 100644 index 00000000..f30a86e1 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/Object.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "Object" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Point.extension/instance/greaseString.st b/repository/Grease-Pharo10-Core.package/Point.extension/instance/greaseString.st new file mode 100644 index 00000000..06c93324 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/Point.extension/instance/greaseString.st @@ -0,0 +1,13 @@ +*Grease-Pharo10-Core +greaseString + "Reimplemented because in Pharo 1.4 + (4 @ 2) greaseString + ansers '(4@2)'" + ^ String streamContents: [ :stream | + x printOn: stream. + stream nextPut: $@. + (y notNil and: [ y negative ]) + ifTrue: [ + "Avoid ambiguous @- construct" + stream space ]. + y printOn: stream ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Point.extension/properties.json b/repository/Grease-Pharo10-Core.package/Point.extension/properties.json new file mode 100644 index 00000000..c6cf8dd5 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/Point.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "Point" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/PositionableStream.extension/instance/greaseUpToAll..st b/repository/Grease-Pharo10-Core.package/PositionableStream.extension/instance/greaseUpToAll..st new file mode 100644 index 00000000..0ee79bee --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/PositionableStream.extension/instance/greaseUpToAll..st @@ -0,0 +1,5 @@ +*Grease-Pharo10-Core +greaseUpToAll: aCollection + "Needed for Seaside ports to other dialects where #upToAll: may have + different semantics" + ^ self upToAll: aCollection \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/PositionableStream.extension/properties.json b/repository/Grease-Pharo10-Core.package/PositionableStream.extension/properties.json new file mode 100644 index 00000000..8e090ee3 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/PositionableStream.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "PositionableStream" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/ScaledDecimal.extension/instance/encodeOn..st b/repository/Grease-Pharo10-Core.package/ScaledDecimal.extension/instance/encodeOn..st new file mode 100644 index 00000000..530466b4 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/ScaledDecimal.extension/instance/encodeOn..st @@ -0,0 +1,5 @@ +*Grease-Pharo10-Core +encodeOn: aDocument + | converter | + converter := GRSignPrinter new, (GRNumberPrinter new precision: self scale). + converter print: self on: aDocument \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/ScaledDecimal.extension/instance/greaseString.st b/repository/Grease-Pharo10-Core.package/ScaledDecimal.extension/instance/greaseString.st new file mode 100644 index 00000000..cf75a0b0 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/ScaledDecimal.extension/instance/greaseString.st @@ -0,0 +1,5 @@ +*Grease-Pharo10-Core +greaseString + | converter | + converter := GRSignPrinter new, (GRNumberPrinter new precision: self scale). + ^ converter print: self \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/ScaledDecimal.extension/properties.json b/repository/Grease-Pharo10-Core.package/ScaledDecimal.extension/properties.json new file mode 100644 index 00000000..75f85f87 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/ScaledDecimal.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "ScaledDecimal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st b/repository/Grease-Pharo10-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st new file mode 100644 index 00000000..28978138 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st @@ -0,0 +1,4 @@ +*Grease-Pharo10-Core +beginsWithSubCollection: aSequenceableCollection + "Some platforms implement #beginsWith: to answer true for an empty argument." + ^ self beginsWith: aSequenceableCollection \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st b/repository/Grease-Pharo10-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st new file mode 100644 index 00000000..d6e1bad8 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st @@ -0,0 +1,4 @@ +*Grease-Pharo10-Core +endsWithSubCollection: aSequenceableCollection + "Some platforms implement #endsWith: to answer true for an empty argument." + ^ self endsWith: aSequenceableCollection \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/SequenceableCollection.extension/properties.json b/repository/Grease-Pharo10-Core.package/SequenceableCollection.extension/properties.json new file mode 100644 index 00000000..a68b7db6 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/SequenceableCollection.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "SequenceableCollection" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/SocketStream.extension/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo10-Core.package/SocketStream.extension/instance/greaseNext.putAll.startingAt..st new file mode 100644 index 00000000..e164123b --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/SocketStream.extension/instance/greaseNext.putAll.startingAt..st @@ -0,0 +1,13 @@ +*Grease-Pharo10-Core +greaseNext: anInteger putAll: aCollection startingAt: startIndex + "Put a String or a ByteArray onto the stream starting at the given position. + Currently a large collection will allocate a large buffer." + + | toPut | + anInteger = 0 ifTrue: [ + ^ aCollection ]. + toPut := binary ifTrue: [ aCollection asByteArray ] ifFalse: [ aCollection asString ]. + self adjustOutBuffer: anInteger. + outBuffer replaceFrom: outNextToWrite to: outNextToWrite + anInteger - 1 with: toPut startingAt: startIndex. + outNextToWrite := outNextToWrite + anInteger. + self checkFlush \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/SocketStream.extension/properties.json b/repository/Grease-Pharo10-Core.package/SocketStream.extension/properties.json new file mode 100644 index 00000000..797e09e5 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/SocketStream.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "SocketStream" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Symbol.extension/instance/greaseAsMutator.st b/repository/Grease-Pharo10-Core.package/Symbol.extension/instance/greaseAsMutator.st new file mode 100644 index 00000000..8d27a1f9 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/Symbol.extension/instance/greaseAsMutator.st @@ -0,0 +1,3 @@ +*Grease-Pharo10-Core +greaseAsMutator + ^ self asMutator \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Symbol.extension/properties.json b/repository/Grease-Pharo10-Core.package/Symbol.extension/properties.json new file mode 100644 index 00000000..8c6bce81 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/Symbol.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "Symbol" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/WriteStream.extension/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo10-Core.package/WriteStream.extension/instance/greaseNext.putAll.startingAt..st new file mode 100644 index 00000000..9ad05459 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/WriteStream.extension/instance/greaseNext.putAll.startingAt..st @@ -0,0 +1,4 @@ +*Grease-Pharo10-Core +greaseNext: anInteger putAll: aCollection startingAt: startIndex + "Store the next anInteger elements from the given collection." + ^ self next: anInteger putAll: aCollection startingAt: startIndex \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/WriteStream.extension/properties.json b/repository/Grease-Pharo10-Core.package/WriteStream.extension/properties.json new file mode 100644 index 00000000..8688e80d --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/WriteStream.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "WriteStream" +} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/monticello.meta/categories.st b/repository/Grease-Pharo10-Core.package/monticello.meta/categories.st new file mode 100644 index 00000000..127df9b0 --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/monticello.meta/categories.st @@ -0,0 +1 @@ +SystemOrganization addCategory: #'Grease-Pharo10-Core'! diff --git a/repository/Grease-Pharo10-Core.package/monticello.meta/initializers.st b/repository/Grease-Pharo10-Core.package/monticello.meta/initializers.st new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo10-Core.package/monticello.meta/package b/repository/Grease-Pharo10-Core.package/monticello.meta/package new file mode 100644 index 00000000..dad6b8fe --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'Grease-Pharo10-Core') \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/properties.json b/repository/Grease-Pharo10-Core.package/properties.json new file mode 100644 index 00000000..6f31cf5a --- /dev/null +++ b/repository/Grease-Pharo10-Core.package/properties.json @@ -0,0 +1 @@ +{ } \ No newline at end of file From deed35e890227de02503c5a31b539a81f428f5ce Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 16 Jan 2022 17:49:17 +0100 Subject: [PATCH 044/254] remove unused class inst vars on GRGemStoneRandomProvider --- .../GRGemStoneRandomProvider.class/properties.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/repository/Grease-GemStone-Core.package/GRGemStoneRandomProvider.class/properties.json b/repository/Grease-GemStone-Core.package/GRGemStoneRandomProvider.class/properties.json index f9eb4680..7ca29622 100644 --- a/repository/Grease-GemStone-Core.package/GRGemStoneRandomProvider.class/properties.json +++ b/repository/Grease-GemStone-Core.package/GRGemStoneRandomProvider.class/properties.json @@ -1,8 +1,7 @@ { "category" : "Grease-GemStone-Core", "classinstvars" : [ - "mutex", - "generator" ], + ], "classvars" : [ ], "commentStamp" : "", From 2ba142cc1de62cbb2087a80ea60a8f4fe1bcbc17 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 24 Jan 2022 20:41:35 +0100 Subject: [PATCH 045/254] pharo10: - removed codecs and texts based on TextConverter or LanguageEnvironment (deprecated in pharo 9) - changes sends of tempAt: by namedTempAt: --- .../README.md | 0 .../class/basicForEncoding..st | 3 -- .../class/codecs.st | 5 --- .../class/supportsEncoding..st | 3 -- .../instance/decode..st | 36 ------------------- .../instance/decoderFor..st | 5 --- .../instance/encodedStringClass.st | 3 -- .../instance/encoderFor..st | 5 --- .../instance/invalidUtf8.st | 3 -- .../instance/name.st | 3 -- .../instance/url.st | 3 -- .../properties.json | 11 ------ .../GRPharoGenericCodec.class/README.md | 0 .../class/basicForEncoding..st | 5 --- .../GRPharoGenericCodec.class/class/codecs.st | 8 ----- .../class/supportedEncodingNames.st | 8 ----- .../class/supportsEncoding..st | 4 --- .../instance/converter.st | 3 -- .../instance/decoderFor..st | 3 -- .../instance/encoderFor..st | 5 --- .../instance/initializeWithName..st | 7 ---- .../instance/name.st | 3 -- .../GRPharoGenericCodec.class/instance/url.st | 5 --- .../GRPharoGenericCodec.class/properties.json | 14 -------- .../setutf8CodectoDeprecatedTextConverter.st | 4 --- .../instance/setutf8CodectoZinc.st | 4 --- .../instance/utf8CodecClass.st | 8 ----- .../GRPharoPlatform.class/properties.json | 4 +-- .../GRPharoUtf8Codec.class/class/codecs.st | 4 +-- .../class/supportsEncoding..st | 2 +- .../instance/testThisContext.st | 6 ++-- .../instance/testLanguageTag.st | 21 ----------- .../instance/testGreaseIntegerOnCharacter.st | 9 +---- 33 files changed, 7 insertions(+), 200 deletions(-) delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/README.md delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/class/basicForEncoding..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/class/codecs.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/class/supportsEncoding..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/decode..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/decoderFor..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/encodedStringClass.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/encoderFor..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/invalidUtf8.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/name.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/url.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/README.md delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/basicForEncoding..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/codecs.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/supportedEncodingNames.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/supportsEncoding..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/converter.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/decoderFor..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/encoderFor..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/initializeWithName..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/name.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/url.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/setutf8CodectoDeprecatedTextConverter.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/setutf8CodectoZinc.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/utf8CodecClass.st delete mode 100644 repository/Grease-Tests-Pharo-Core.package/GRPharoCodecTest.class/instance/testLanguageTag.st diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/README.md b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/class/basicForEncoding..st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/class/basicForEncoding..st deleted file mode 100644 index d4c4a74b..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/class/basicForEncoding..st +++ /dev/null @@ -1,3 +0,0 @@ -private -basicForEncoding: aString - ^ self new \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/class/codecs.st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/class/codecs.st deleted file mode 100644 index 6e52e620..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/class/codecs.st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -codecs - ^ GRPlatform current utf8CodecClass == self - ifTrue:[ Array with: self new ] - ifFalse: [ Array new ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/class/supportsEncoding..st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/class/supportsEncoding..st deleted file mode 100644 index cf74d916..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/class/supportsEncoding..st +++ /dev/null @@ -1,3 +0,0 @@ -testing -supportsEncoding: aString - ^ GRPlatform current utf8CodecClass == self and: [(#('utf-8' 'UTF-8') includes: aString) or: [ UTF8TextConverter encodingNames includes: aString ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/decode..st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/decode..st deleted file mode 100644 index 60eea74c..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/decode..st +++ /dev/null @@ -1,36 +0,0 @@ -convenience -decode: aString - "Convert the given string from UTF-8 using the fast path if converting to Latin-1" - | outStream byte1 byte2 byte3 byte4 unicode stream | - stream := aString readStream. - outStream := WriteStream on: (String new: aString size). - [ stream atEnd not ] whileTrue: [ - byte1 := stream next asInteger. - unicode := byte1. - (byte1 bitAnd: 16rE0) = 192 ifTrue: [ "two bytes" - byte2 := stream next asInteger. - (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - unicode := ((byte1 bitAnd: 31) bitShift: 6) + (byte2 bitAnd: 63) ]. - (byte1 bitAnd: 16rF0) = 224 ifTrue: [ "three bytes" - byte2 := stream next asInteger. - (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - byte3 := stream next asInteger. - (byte3 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - unicode := ((byte1 bitAnd: 15) bitShift: 12) + ((byte2 bitAnd: 63) bitShift: 6) - + (byte3 bitAnd: 63) ]. - (byte1 bitAnd: 16rF8) = 240 ifTrue: [ "four bytes" - byte2 := stream next asInteger. - (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - byte3 := stream next asInteger. - (byte3 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - byte4 := stream next asInteger. - (byte4 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - unicode := ((byte1 bitAnd: 16r7) bitShift: 18) + - ((byte2 bitAnd: 63) bitShift: 12) + - ((byte3 bitAnd: 63) bitShift: 6) + - (byte4 bitAnd: 63) ]. - unicode ifNil: [ self invalidUtf8 ]. - unicode = 16rFEFF "ignore BOM" ifFalse: [ - outStream nextPut: (Character codePoint: unicode) ]. - unicode := nil ]. - ^ outStream contents \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/decoderFor..st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/decoderFor..st deleted file mode 100644 index 9a221440..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/decoderFor..st +++ /dev/null @@ -1,5 +0,0 @@ -convenience -decoderFor: aStream - ^ GRPharoDeprecatedUtf8CodecStream - on: aStream - converter: UTF8TextConverter new \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/encodedStringClass.st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/encodedStringClass.st deleted file mode 100644 index 97aca951..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/encodedStringClass.st +++ /dev/null @@ -1,3 +0,0 @@ -conversion -encodedStringClass - ^ String \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/encoderFor..st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/encoderFor..st deleted file mode 100644 index ad1614eb..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/encoderFor..st +++ /dev/null @@ -1,5 +0,0 @@ -convenience -encoderFor: aStream - ^ GRPharoDeprecatedUtf8CodecStream - on: aStream - converter: UTF8TextConverter new \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/invalidUtf8.st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/invalidUtf8.st deleted file mode 100644 index bf9b0111..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/invalidUtf8.st +++ /dev/null @@ -1,3 +0,0 @@ -convenience -invalidUtf8 - ^ GRInvalidUtf8Error signal: 'Invalid UTF-8 input' \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/name.st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/name.st deleted file mode 100644 index 7886c830..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'utf-8' \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/url.st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/url.st deleted file mode 100644 index 4696d714..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/instance/url.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -url - ^ self \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/properties.json b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/properties.json deleted file mode 100644 index 7fbb2356..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8Codec.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRCodec", - "category" : "Grease-Pharo10-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRPharoDeprecatedUtf8Codec", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/README.md b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/basicForEncoding..st b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/basicForEncoding..st deleted file mode 100644 index f6b18bd4..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/basicForEncoding..st +++ /dev/null @@ -1,5 +0,0 @@ -private -basicForEncoding: aString - (self supportsEncoding: aString) - ifFalse: [ self unsupportedEncoding: aString ]. - ^ self basicNew initializeWithName: aString \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/codecs.st b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/codecs.st deleted file mode 100644 index f1293d05..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/codecs.st +++ /dev/null @@ -1,8 +0,0 @@ -accessing -codecs - ^ (TextConverter allEncodingNames - select: [ :each | - "exclude UFT-8 which is handeled by WAUtf8Codec" - self supportsEncoding: each ]) - collect: [ :each | - self basicForEncoding: each greaseString ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/supportedEncodingNames.st b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/supportedEncodingNames.st deleted file mode 100644 index d1c6d00b..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/supportedEncodingNames.st +++ /dev/null @@ -1,8 +0,0 @@ -private -supportedEncodingNames - "answers the names of the encodings supported by this class" - - ^ (TextConverter allSubclasses gather: [ :class | class encodingNames ]) asSet asOrderedCollection - removeAllFoundIn: GRPharoLatin1Codec supportedEncodingNames; - removeAllFoundIn: UTF8TextConverter encodingNames; - yourself \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/supportsEncoding..st b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/supportsEncoding..st deleted file mode 100644 index 43a27325..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/class/supportsEncoding..st +++ /dev/null @@ -1,4 +0,0 @@ -testing -supportsEncoding: aString - "Answer whether the the given encoding name is supported." - ^ self supportedEncodingNames includes: aString \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/converter.st b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/converter.st deleted file mode 100644 index 02b8754b..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/converter.st +++ /dev/null @@ -1,3 +0,0 @@ -private -converter - ^ TextConverter newForEncoding: self name \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/decoderFor..st b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/decoderFor..st deleted file mode 100644 index be53dfea..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/decoderFor..st +++ /dev/null @@ -1,3 +0,0 @@ -conversion -decoderFor: aStream - ^ self encoderFor: aStream \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/encoderFor..st b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/encoderFor..st deleted file mode 100644 index 94f2fc13..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/encoderFor..st +++ /dev/null @@ -1,5 +0,0 @@ -conversion -encoderFor: aStream - ^ GRPharoConverterCodecStream - on: aStream - converter: self converter \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/initializeWithName..st b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/initializeWithName..st deleted file mode 100644 index fe95783c..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/initializeWithName..st +++ /dev/null @@ -1,7 +0,0 @@ -initialization -initializeWithName: aString - self initialize. - name := aString. - urlCodec := (#('iso-8859-15' 'cp-1252') includes: aString) - ifFalse: [ GRCodec forEncoding: 'utf-8' ] - ifTrue: [ self ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/name.st b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/name.st deleted file mode 100644 index 22077c20..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ name \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/url.st b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/url.st deleted file mode 100644 index 232ad239..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/instance/url.st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -url - "RFC 3986: When a new URI scheme defines a component that represents textual data consisting of characters from the Universal Character Set [UCS], the data should first be encoded as octets according to the UTF-8 character encoding." - - ^ urlCodec \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/properties.json b/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/properties.json deleted file mode 100644 index 239a5cd3..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoGenericCodec.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRCodec", - "category" : "Grease-Pharo10-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "name", - "urlCodec" - ], - "name" : "GRPharoGenericCodec", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/setutf8CodectoDeprecatedTextConverter.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/setutf8CodectoDeprecatedTextConverter.st deleted file mode 100644 index dc394f4f..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/setutf8CodectoDeprecatedTextConverter.st +++ /dev/null @@ -1,4 +0,0 @@ -utf8 codec -setutf8CodectoDeprecatedTextConverter - "Set to the GRPharoDeprecatedUtf8Codec that uses the deprecated TextConverter for utf8 encoding" - utf8DeprecatedCodecFlag := true \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/setutf8CodectoZinc.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/setutf8CodectoZinc.st deleted file mode 100644 index 2f43e9ab..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/setutf8CodectoZinc.st +++ /dev/null @@ -1,4 +0,0 @@ -utf8 codec -setutf8CodectoZinc - "Set to GRPharoUtf8Codec that uses Zinc for utf8 encoding" - utf8DeprecatedCodecFlag := false \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/utf8CodecClass.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/utf8CodecClass.st deleted file mode 100644 index 86376f5c..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/utf8CodecClass.st +++ /dev/null @@ -1,8 +0,0 @@ -utf8 codec -utf8CodecClass - - ^ utf8DeprecatedCodecFlag - ifNil: [ GRPharoUtf8Codec ] - ifNotNil: [ utf8DeprecatedCodecFlag - ifTrue:[ GRPharoDeprecatedUtf8Codec ] - ifFalse: [ GRPharoUtf8Codec ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/properties.json b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/properties.json index c2b116eb..7a263830 100644 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/properties.json +++ b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/properties.json @@ -8,9 +8,7 @@ "UrlTable", "XmlTable" ], - "instvars" : [ - "utf8DeprecatedCodecFlag" - ], + "instvars" : [ ], "name" : "GRPharoPlatform", "type" : "normal" } \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/codecs.st b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/codecs.st index 6e52e620..632b84fb 100644 --- a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/codecs.st +++ b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/codecs.st @@ -1,5 +1,3 @@ accessing codecs - ^ GRPlatform current utf8CodecClass == self - ifTrue:[ Array with: self new ] - ifFalse: [ Array new ] \ No newline at end of file + ^ Array with: self new \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st index 54e91f2e..f1f07f4a 100644 --- a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st +++ b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st @@ -1,3 +1,3 @@ private supportsEncoding: aString - ^ GRPlatform current utf8CodecClass == self and: [ (#('utf-8' 'UTF-8' 'utf8') includes: aString) ] \ No newline at end of file + ^ (#('utf-8' 'UTF-8' 'utf8') includes: aString) \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testThisContext.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testThisContext.st index fd515dd9..640f1966 100644 --- a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testThisContext.st +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testThisContext.st @@ -10,9 +10,9 @@ testThisContext ifTrue: [ self assert: blockContext receiver = block ] ifFalse: [ self assert: blockContext receiver = self. - self assert: (blockContext namedTempAt: (blockContext tempNames indexOf: #blockContext)) == blockContext ]. - self assert: (blockContext namedTempAt: (blockContext tempNames indexOf: #methodContext)) == methodContext ]. + self assert: (blockContext tempNamed: 'blockContext') == blockContext ]. + self assert: (blockContext tempNamed: 'methodContext') == methodContext ]. block value. self assert: self returnSender = methodContext. self assert: methodContext receiver = self. - self assert: (self platform thisContext namedTempAt: (self platform thisContext tempNames indexOf: #block)) == block \ No newline at end of file + self assert: (self platform thisContext tempNamed: 'block') == block \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Core.package/GRPharoCodecTest.class/instance/testLanguageTag.st b/repository/Grease-Tests-Pharo-Core.package/GRPharoCodecTest.class/instance/testLanguageTag.st deleted file mode 100644 index 1207dc5f..00000000 --- a/repository/Grease-Tests-Pharo-Core.package/GRPharoCodecTest.class/instance/testLanguageTag.st +++ /dev/null @@ -1,21 +0,0 @@ -tests -testLanguageTag - - "this makes sure the encoder doesn't fall on the nose with unicode" - - "Make Japanese String from unicode. see http://www.unicode.org/charts/PDF/U3040.pdf" - - | leading hiraA hiraO hiraAO | - SystemVersion current major >= 9 ifTrue: [ - GRPlatform current setutf8CodectoDeprecatedTextConverter ]. - [ - leading := (Smalltalk classNamed: #JapaneseEnvironment) leadingChar. - hiraA := (Character leadingChar: leading code: 12354) greaseString. "HIRAGANA LETTER A" - hiraO := (Character leadingChar: leading code: 12362) greaseString. "HIRAGANA LETTER O" - hiraAO := hiraA , hiraO. - self assertEncodingIgnoresLanguageTat: hiraA. - self assertEncodingIgnoresLanguageTat: hiraO. - self assertEncodingIgnoresLanguageTat: hiraAO - ] ensure: [ - SystemVersion current major >= 9 ifTrue: [ - GRPlatform current setutf8CodectoZinc ] ] \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/testGreaseIntegerOnCharacter.st b/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/testGreaseIntegerOnCharacter.st index b62275e7..c6c6c2ea 100644 --- a/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/testGreaseIntegerOnCharacter.st +++ b/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/testGreaseIntegerOnCharacter.st @@ -4,11 +4,4 @@ testGreaseIntegerOnCharacter character := Character codePoint: 19982. self assert: character greaseInteger = 19982. character := Unicode value: 19982. - self assert: character greaseInteger = 19982. - LanguageEnvironment allSubclassesDo: [ :each | - (each class selectors includes: #leadingChar) ifTrue: [ - "fuck me gently with a chainsaw" - character := Character - leadingChar: each leadingChar - code: 19982. - self assert: character greaseInteger = 19982 ] ] \ No newline at end of file + self assert: character greaseInteger = 19982 \ No newline at end of file From 7a35c98fe4dc972d75683a78e21aa18cd42a95f7 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sat, 19 Mar 2022 16:03:43 +0100 Subject: [PATCH 046/254] ping the CI for PR#134 --- .../GRPharoZnUtf8CodecStream.class/instance/nextPut..st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPut..st b/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPut..st index 30014e3d..3cad62a0 100644 --- a/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPut..st +++ b/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPut..st @@ -1,3 +1,3 @@ accessing nextPut: aCharacter - encoder nextPut: aCharacter asCharacter toStream: stream \ No newline at end of file + encoder nextPut: aCharacter asCharacter toStream: stream \ No newline at end of file From 4a8e347676845c5ef63fdfeb7c7f1d542193d922 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sat, 19 Mar 2022 16:14:35 +0100 Subject: [PATCH 047/254] Fix test for GRPharoGenericCodec to be skipped in Pharo10 --- .../instance/testNoAmbiguities.st | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/repository/Grease-Tests-Pharo-Core.package/GRPharoGenericCodecTest.class/instance/testNoAmbiguities.st b/repository/Grease-Tests-Pharo-Core.package/GRPharoGenericCodecTest.class/instance/testNoAmbiguities.st index 28ee8c57..341866ff 100644 --- a/repository/Grease-Tests-Pharo-Core.package/GRPharoGenericCodecTest.class/instance/testNoAmbiguities.st +++ b/repository/Grease-Tests-Pharo-Core.package/GRPharoGenericCodecTest.class/instance/testNoAmbiguities.st @@ -1,6 +1,7 @@ tests testNoAmbiguities - #('utf-8' 'UTF-8' 'utf8') do: [ :each | - self deny: (GRPharoGenericCodec supportsEncoding: each) ]. - GRPharoLatin1Codec supportedEncodingNames do: [ :each | - self deny: (GRPharoGenericCodec supportsEncoding: each) ] \ No newline at end of file + (Smalltalk includesKey: #GRPharoGenericCodec) ifTrue:[ + #('utf-8' 'UTF-8' 'utf8') do: [ :each | + self deny: ((Smalltalk at: #GRPharoGenericCodec) supportsEncoding: each) ]. + GRPharoLatin1Codec supportedEncodingNames do: [ :each | + self deny: ((Smalltalk at: #GRPharoGenericCodec) supportsEncoding: each) ] ] \ No newline at end of file From 94f262df33a3e0b133936c24116bbdddbe9f57ce Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sat, 19 Mar 2022 18:48:13 +0100 Subject: [PATCH 048/254] rename package Pharo10 to Pharo100 to avoid confusion with Pharo1 --- .../instance/baselinePharo..st | 6 +-- .../Grease-Pharo100-Core.package/.filetree | 5 ++ .../Behavior.extension/instance/fullName.st | 5 ++ .../Behavior.extension/properties.json | 3 ++ .../instance/valueWithPossibleArguments..st | 11 +++++ .../BlockClosure.extension/properties.json | 3 ++ .../instance/greaseString.st | 4 ++ .../ByteArray.extension/properties.json | 3 ++ .../instance/greaseInteger.st | 4 ++ .../Character.extension/properties.json | 3 ++ .../Collection.extension/instance/any.st | 3 ++ .../Collection.extension/properties.json | 3 ++ .../Color.extension/instance/asHTMLColor.st | 3 ++ .../Color.extension/properties.json | 3 ++ .../Duration.extension/class/milliseconds..st | 3 ++ .../instance/asMilliseconds.st | 3 ++ .../instance/milliseconds.st | 3 ++ .../Duration.extension/properties.json | 3 ++ .../instance/greaseNext.putAll.startingAt..st | 3 ++ .../properties.json | 3 ++ .../GRDynamicVariable.class/README.md | 0 .../class/defaultValue.st | 3 ++ .../class/use.during..st | 5 ++ .../instance/default.st | 3 ++ .../GRDynamicVariable.class/properties.json | 11 +++++ .../class/greasePharo70Core.st | 7 +++ .../GRPackage.extension/properties.json | 3 ++ .../README.md | 7 +++ .../class/on.converter..st | 3 ++ .../instance/greaseNext.putAll.startingAt..st | 3 ++ .../instance/initializeOn.converter..st | 4 ++ .../instance/next..st | 8 ++++ .../instance/next.st | 6 +++ .../instance/nextPut..st | 3 ++ .../instance/nextPutAll..st | 3 ++ .../properties.json | 13 ++++++ .../README.md | 1 + .../instance/crlf.st | 4 ++ .../instance/encodeDefault..st | 5 ++ .../instance/encodeFast..st | 14 ++++++ .../instance/greaseNext.putAll.startingAt..st | 5 ++ .../greaseNext.putAllFast.startingAt..st | 17 +++++++ .../instance/invalidUtf8.st | 3 ++ .../instance/next..st | 46 +++++++++++++++++++ .../instance/next.st | 3 ++ .../instance/nextPut..st | 11 +++++ .../instance/nextPutAll..st | 5 ++ .../properties.json | 14 ++++++ .../GRPharoLatin1Codec.class/README.md | 1 + .../class/basicForEncoding..st | 5 ++ .../GRPharoLatin1Codec.class/class/codecs.st | 3 ++ .../class/supportedEncodingNames.st | 3 ++ .../class/supportsEncoding..st | 4 ++ .../instance/decode..st | 5 ++ .../instance/decoderFor..st | 4 ++ .../instance/encoderFor..st | 4 ++ .../instance/initializeWithName..st | 4 ++ .../GRPharoLatin1Codec.class/instance/name.st | 3 ++ .../GRPharoLatin1Codec.class/properties.json | 13 ++++++ .../GRPharoLatin1CodecStream.class/README.md | 1 + .../instance/next..st | 3 ++ .../instance/next.st | 3 ++ .../properties.json | 11 +++++ .../GRPharoPlatform.class/README.md | 1 + .../GRPharoPlatform.class/class/initialize.st | 5 ++ .../class/initializeUrlTable.st | 7 +++ .../class/initializeXmlTable.st | 7 +++ .../GRPharoPlatform.class/class/unload.st | 3 ++ .../instance/addToShutDownList..st | 5 ++ .../instance/addToStartUpList..st | 5 ++ .../asMethodReturningByteArray.named..st | 6 +++ ...sMethodReturningByteArrayLiteral.named..st | 10 ++++ ...ethodReturningByteArrayWithCache.named..st | 10 ++++ .../instance/base64Decode..st | 3 ++ .../instance/bindingOf..st | 4 ++ .../instance/compile.into.classified..st | 3 ++ .../instance/contentsOfFile.binary..st | 3 ++ .../instance/directoriesIn..st | 8 ++++ .../instance/doSilently..st | 3 ++ .../instance/ensureExistenceOfFolder..st | 4 ++ .../instance/fileExists..st | 3 ++ .../instance/filesIn..st | 8 ++++ .../instance/isProcessTerminated..st | 4 ++ .../GRPharoPlatform.class/instance/label.st | 3 ++ .../instance/localNameOf..st | 3 ++ .../instance/newRandom.st | 10 ++++ .../GRPharoPlatform.class/instance/newline.st | 3 ++ .../instance/openDebuggerOn..st | 18 ++++++++ .../instance/pathSeparator.st | 3 ++ .../instance/readFileStreamOn.do.binary..st | 6 +++ .../instance/readWriteByteStream.st | 5 ++ .../instance/readWriteCharacterStream.st | 5 ++ .../instance/removeFromShutDownList..st | 5 ++ .../instance/removeFromStartUpList..st | 5 ++ .../instance/removeSelector.from..st | 3 ++ .../instance/secureHashFor..st | 3 ++ .../instance/semaphoreClass.st | 4 ++ .../instance/stackDepth.st | 10 ++++ .../instance/terminateProcess..st | 4 ++ .../instance/thisContext.st | 4 ++ .../instance/useByteArrayLiterals.st | 4 ++ .../instance/weakDictionaryOfSize..st | 3 ++ .../instance/write.toFile.inFolder..st | 7 +++ .../instance/writeFileStreamOn.do.binary..st | 5 ++ .../GRPharoPlatform.class/properties.json | 14 ++++++ .../GRPharoRandomProvider.class/README.md | 0 .../class/initialize.st | 4 ++ .../class/nextInt..st | 6 +++ .../class/randomClass.st | 3 ++ .../class/randomFrom..st | 11 +++++ .../class/startUp.st | 4 ++ .../class/unload.st | 3 ++ .../properties.json | 14 ++++++ .../GRPharoUtf16Codec.class/README.md | 0 .../class/basicForEncoding..st | 3 ++ .../GRPharoUtf16Codec.class/class/codecs.st | 3 ++ .../class/supportsEncoding..st | 3 ++ .../instance/encodedStringClass.st | 3 ++ .../GRPharoUtf16Codec.class/instance/name.st | 3 ++ .../GRPharoUtf16Codec.class/properties.json | 11 +++++ .../GRPharoUtf8Codec.class/README.md | 1 + .../class/basicForEncoding..st | 3 ++ .../GRPharoUtf8Codec.class/class/codecs.st | 3 ++ .../class/supportsEncoding..st | 3 ++ .../instance/decode..st | 3 ++ .../instance/decoderFor..st | 4 ++ .../instance/encodedStringClass.st | 3 ++ .../instance/encoderFor..st | 4 ++ .../instance/invalidUtf8.st | 3 ++ .../GRPharoUtf8Codec.class/instance/name.st | 3 ++ .../GRPharoUtf8Codec.class/instance/url.st | 3 ++ .../GRPharoUtf8Codec.class/properties.json | 11 +++++ .../GRPharoZnUtf8CodecStream.class/README.md | 0 .../instance/greaseNext.putAll.startingAt..st | 3 ++ .../instance/initializeOn..st | 4 ++ .../instance/next..st | 8 ++++ .../instance/next.st | 6 +++ .../instance/nextPut..st | 3 ++ .../instance/nextPutAll..st | 3 ++ .../properties.json | 13 ++++++ .../instance/inspectionItems..st | 15 ++++++ .../properties.json | 3 ++ .../instance/inspectionItems..st | 15 ++++++ .../properties.json | 3 ++ .../Interval.extension/instance/any.st | 6 +++ .../Interval.extension/properties.json | 3 ++ .../instance/argumentCount.st | 3 ++ .../instance/valueWithPossibleArguments..st | 7 +++ .../MessageSend.extension/properties.json | 3 ++ .../Number.extension/instance/milliseconds.st | 3 ++ .../Number.extension/properties.json | 3 ++ .../Object.extension/instance/greaseString.st | 3 ++ .../Object.extension/properties.json | 3 ++ .../Point.extension/instance/greaseString.st | 13 ++++++ .../Point.extension/properties.json | 3 ++ .../instance/greaseUpToAll..st | 5 ++ .../properties.json | 3 ++ .../instance/encodeOn..st | 5 ++ .../instance/greaseString.st | 5 ++ .../ScaledDecimal.extension/properties.json | 3 ++ .../instance/beginsWithSubCollection..st | 4 ++ .../instance/endsWithSubCollection..st | 4 ++ .../properties.json | 3 ++ .../instance/greaseNext.putAll.startingAt..st | 13 ++++++ .../SocketStream.extension/properties.json | 3 ++ .../instance/greaseAsMutator.st | 3 ++ .../Symbol.extension/properties.json | 3 ++ .../instance/greaseNext.putAll.startingAt..st | 4 ++ .../WriteStream.extension/properties.json | 3 ++ .../monticello.meta/categories.st | 1 + .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 + .../properties.json | 1 + 173 files changed, 885 insertions(+), 3 deletions(-) create mode 100644 repository/Grease-Pharo100-Core.package/.filetree create mode 100644 repository/Grease-Pharo100-Core.package/Behavior.extension/instance/fullName.st create mode 100644 repository/Grease-Pharo100-Core.package/Behavior.extension/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/BlockClosure.extension/instance/valueWithPossibleArguments..st create mode 100644 repository/Grease-Pharo100-Core.package/BlockClosure.extension/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/ByteArray.extension/instance/greaseString.st create mode 100644 repository/Grease-Pharo100-Core.package/ByteArray.extension/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/Character.extension/instance/greaseInteger.st create mode 100644 repository/Grease-Pharo100-Core.package/Character.extension/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/Collection.extension/instance/any.st create mode 100644 repository/Grease-Pharo100-Core.package/Collection.extension/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/Color.extension/instance/asHTMLColor.st create mode 100644 repository/Grease-Pharo100-Core.package/Color.extension/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/Duration.extension/class/milliseconds..st create mode 100644 repository/Grease-Pharo100-Core.package/Duration.extension/instance/asMilliseconds.st create mode 100644 repository/Grease-Pharo100-Core.package/Duration.extension/instance/milliseconds.st create mode 100644 repository/Grease-Pharo100-Core.package/Duration.extension/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st create mode 100644 repository/Grease-Pharo100-Core.package/GRDelegatingStream.extension/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/GRDynamicVariable.class/README.md create mode 100644 repository/Grease-Pharo100-Core.package/GRDynamicVariable.class/class/defaultValue.st create mode 100644 repository/Grease-Pharo100-Core.package/GRDynamicVariable.class/class/use.during..st create mode 100644 repository/Grease-Pharo100-Core.package/GRDynamicVariable.class/instance/default.st create mode 100644 repository/Grease-Pharo100-Core.package/GRDynamicVariable.class/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/GRPackage.extension/class/greasePharo70Core.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPackage.extension/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/README.md create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/class/on.converter..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/greaseNext.putAll.startingAt..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/initializeOn.converter..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/next..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/next.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/nextPut..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/nextPutAll..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/README.md create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/crlf.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeDefault..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeFast..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/invalidUtf8.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPut..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPutAll..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/README.md create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/class/basicForEncoding..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/class/codecs.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/class/supportedEncodingNames.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/class/supportsEncoding..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/decode..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/decoderFor..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/encoderFor..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/initializeWithName..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/name.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoLatin1CodecStream.class/README.md create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoLatin1CodecStream.class/instance/next..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoLatin1CodecStream.class/instance/next.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoLatin1CodecStream.class/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/README.md create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/class/initialize.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/class/initializeUrlTable.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/class/initializeXmlTable.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/class/unload.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/addToShutDownList..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/addToStartUpList..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArray.named..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayLiteral.named..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayWithCache.named..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/base64Decode..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/bindingOf..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/compile.into.classified..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/directoriesIn..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/doSilently..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/fileExists..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/filesIn..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/isProcessTerminated..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/label.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/localNameOf..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newRandom.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newline.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/pathSeparator.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/readFileStreamOn.do.binary..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/readWriteByteStream.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/readWriteCharacterStream.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/removeFromShutDownList..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/removeFromStartUpList..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/removeSelector.from..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/secureHashFor..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/semaphoreClass.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/stackDepth.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/terminateProcess..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/thisContext.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/useByteArrayLiterals.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/weakDictionaryOfSize..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/write.toFile.inFolder..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/writeFileStreamOn.do.binary..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/README.md create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/class/initialize.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/class/nextInt..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/class/randomClass.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/class/randomFrom..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/class/startUp.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/class/unload.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/README.md create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/class/basicForEncoding..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/class/codecs.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/class/supportsEncoding..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/instance/encodedStringClass.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/instance/name.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/README.md create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/class/basicForEncoding..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/class/codecs.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/decode..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/encodedStringClass.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/invalidUtf8.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/name.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/url.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/README.md create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/initializeOn..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/next..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/next.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPut..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/GRSmallDictionary.extension/instance/inspectionItems..st create mode 100644 repository/Grease-Pharo100-Core.package/GRSmallDictionary.extension/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/GRSmallDictionary2.extension/instance/inspectionItems..st create mode 100644 repository/Grease-Pharo100-Core.package/GRSmallDictionary2.extension/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/Interval.extension/instance/any.st create mode 100644 repository/Grease-Pharo100-Core.package/Interval.extension/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/MessageSend.extension/instance/argumentCount.st create mode 100644 repository/Grease-Pharo100-Core.package/MessageSend.extension/instance/valueWithPossibleArguments..st create mode 100644 repository/Grease-Pharo100-Core.package/MessageSend.extension/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/Number.extension/instance/milliseconds.st create mode 100644 repository/Grease-Pharo100-Core.package/Number.extension/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/Object.extension/instance/greaseString.st create mode 100644 repository/Grease-Pharo100-Core.package/Object.extension/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/Point.extension/instance/greaseString.st create mode 100644 repository/Grease-Pharo100-Core.package/Point.extension/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/PositionableStream.extension/instance/greaseUpToAll..st create mode 100644 repository/Grease-Pharo100-Core.package/PositionableStream.extension/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/ScaledDecimal.extension/instance/encodeOn..st create mode 100644 repository/Grease-Pharo100-Core.package/ScaledDecimal.extension/instance/greaseString.st create mode 100644 repository/Grease-Pharo100-Core.package/ScaledDecimal.extension/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st create mode 100644 repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st create mode 100644 repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/SocketStream.extension/instance/greaseNext.putAll.startingAt..st create mode 100644 repository/Grease-Pharo100-Core.package/SocketStream.extension/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/Symbol.extension/instance/greaseAsMutator.st create mode 100644 repository/Grease-Pharo100-Core.package/Symbol.extension/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/WriteStream.extension/instance/greaseNext.putAll.startingAt..st create mode 100644 repository/Grease-Pharo100-Core.package/WriteStream.extension/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/monticello.meta/categories.st create mode 100644 repository/Grease-Pharo100-Core.package/monticello.meta/initializers.st create mode 100644 repository/Grease-Pharo100-Core.package/monticello.meta/package create mode 100644 repository/Grease-Pharo100-Core.package/properties.json diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st index 1961bc59..69725fe7 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st @@ -66,13 +66,13 @@ baselinePharo: spec for: #(#'pharo10.x') do: [ spec - package: 'Grease-Core' with: [ spec includes: #('Grease-Pharo10-Core') ]; + package: 'Grease-Core' with: [ spec includes: #('Grease-Pharo100-Core') ]; package: 'Grease-Tests-Pharo-Core' with: [ spec requires: #('Grease-Tests-Core') ]; package: 'Grease-Tests-Core' with: [ spec - requires: #('Grease-Pharo10-Core'); + requires: #('Grease-Pharo100-Core'); includes: #('Grease-Tests-Pharo-Core') ]; - package: 'Grease-Pharo10-Core' with: [ spec requires: #('Grease-Core') ]; + package: 'Grease-Pharo100-Core' with: [ spec requires: #('Grease-Core') ]; package: 'Grease-Pharo90-Slime' with: [ spec requires: #('Grease-Core') ]; package: 'Grease-Tests-Slime' with: [ spec requires: #('Grease-Pharo90-Slime') ]. diff --git a/repository/Grease-Pharo100-Core.package/.filetree b/repository/Grease-Pharo100-Core.package/.filetree new file mode 100644 index 00000000..57a67973 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/.filetree @@ -0,0 +1,5 @@ +{ + "separateMethodMetaAndSource" : false, + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/Behavior.extension/instance/fullName.st b/repository/Grease-Pharo100-Core.package/Behavior.extension/instance/fullName.st new file mode 100644 index 00000000..5ccb78b4 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/Behavior.extension/instance/fullName.st @@ -0,0 +1,5 @@ +*Grease-Pharo100-Core +fullName + "In VW, will include the namespace" + + ^ self name \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/Behavior.extension/properties.json b/repository/Grease-Pharo100-Core.package/Behavior.extension/properties.json new file mode 100644 index 00000000..c4116c4c --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/Behavior.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "Behavior" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/BlockClosure.extension/instance/valueWithPossibleArguments..st b/repository/Grease-Pharo100-Core.package/BlockClosure.extension/instance/valueWithPossibleArguments..st new file mode 100644 index 00000000..916023ee --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/BlockClosure.extension/instance/valueWithPossibleArguments..st @@ -0,0 +1,11 @@ +*Grease-Pharo100-Core +valueWithPossibleArguments: anArray + | args | + (anArray size == self numArgs) + ifTrue: [ ^ self valueWithArguments: anArray ]. + args := Array new: self numArgs. + args replaceFrom: 1 + to: (anArray size min: args size) + with: anArray + startingAt: 1. + ^ self valueWithArguments: args \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/BlockClosure.extension/properties.json b/repository/Grease-Pharo100-Core.package/BlockClosure.extension/properties.json new file mode 100644 index 00000000..2190e5e2 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/BlockClosure.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "BlockClosure" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/ByteArray.extension/instance/greaseString.st b/repository/Grease-Pharo100-Core.package/ByteArray.extension/instance/greaseString.st new file mode 100644 index 00000000..cf96e73f --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/ByteArray.extension/instance/greaseString.st @@ -0,0 +1,4 @@ +*Grease-Pharo100-Core +greaseString + "ByteArrays should not automatically be converted to Strings. You should use a GRCodec for this." + ^ self printString \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/ByteArray.extension/properties.json b/repository/Grease-Pharo100-Core.package/ByteArray.extension/properties.json new file mode 100644 index 00000000..f81bcb8d --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/ByteArray.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "ByteArray" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/Character.extension/instance/greaseInteger.st b/repository/Grease-Pharo100-Core.package/Character.extension/instance/greaseInteger.st new file mode 100644 index 00000000..90558d5a --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/Character.extension/instance/greaseInteger.st @@ -0,0 +1,4 @@ +*Grease-Pharo100-Core +greaseInteger + "Answer an unicode code point of the receiver." + ^ self charCode \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/Character.extension/properties.json b/repository/Grease-Pharo100-Core.package/Character.extension/properties.json new file mode 100644 index 00000000..5219281d --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/Character.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "Character" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/Collection.extension/instance/any.st b/repository/Grease-Pharo100-Core.package/Collection.extension/instance/any.st new file mode 100644 index 00000000..544e14eb --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/Collection.extension/instance/any.st @@ -0,0 +1,3 @@ +*Grease-Pharo100-Core +any + ^ self anyOne \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/Collection.extension/properties.json b/repository/Grease-Pharo100-Core.package/Collection.extension/properties.json new file mode 100644 index 00000000..48f9f8d9 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/Collection.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "Collection" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/Color.extension/instance/asHTMLColor.st b/repository/Grease-Pharo100-Core.package/Color.extension/instance/asHTMLColor.st new file mode 100644 index 00000000..34cc7fbd --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/Color.extension/instance/asHTMLColor.st @@ -0,0 +1,3 @@ +*Grease-Pharo100-Core +asHTMLColor + ^'#', self asHexString \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/Color.extension/properties.json b/repository/Grease-Pharo100-Core.package/Color.extension/properties.json new file mode 100644 index 00000000..8b86fc95 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/Color.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "Color" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/Duration.extension/class/milliseconds..st b/repository/Grease-Pharo100-Core.package/Duration.extension/class/milliseconds..st new file mode 100644 index 00000000..f5c51190 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/Duration.extension/class/milliseconds..st @@ -0,0 +1,3 @@ +*Grease-Pharo100-Core +milliseconds: anInteger + ^ self milliSeconds: anInteger \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/Duration.extension/instance/asMilliseconds.st b/repository/Grease-Pharo100-Core.package/Duration.extension/instance/asMilliseconds.st new file mode 100644 index 00000000..043bbad2 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/Duration.extension/instance/asMilliseconds.st @@ -0,0 +1,3 @@ +*Grease-Pharo100-Core +asMilliseconds + ^ self asMilliSeconds \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/Duration.extension/instance/milliseconds.st b/repository/Grease-Pharo100-Core.package/Duration.extension/instance/milliseconds.st new file mode 100644 index 00000000..215916e7 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/Duration.extension/instance/milliseconds.st @@ -0,0 +1,3 @@ +*Grease-Pharo100-Core +milliseconds + ^ nanos quo: NanosInMillisecond \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/Duration.extension/properties.json b/repository/Grease-Pharo100-Core.package/Duration.extension/properties.json new file mode 100644 index 00000000..d141a092 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/Duration.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "Duration" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo100-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st new file mode 100644 index 00000000..c3a17a33 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st @@ -0,0 +1,3 @@ +*Grease-Pharo100-Core +greaseNext: anInteger putAll: aCollection startingAt: startIndex + stream greaseNext: anInteger putAll: aCollection startingAt: startIndex \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRDelegatingStream.extension/properties.json b/repository/Grease-Pharo100-Core.package/GRDelegatingStream.extension/properties.json new file mode 100644 index 00000000..5ec29ea0 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRDelegatingStream.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "GRDelegatingStream" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRDynamicVariable.class/README.md b/repository/Grease-Pharo100-Core.package/GRDynamicVariable.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo100-Core.package/GRDynamicVariable.class/class/defaultValue.st b/repository/Grease-Pharo100-Core.package/GRDynamicVariable.class/class/defaultValue.st new file mode 100644 index 00000000..3d7f6377 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRDynamicVariable.class/class/defaultValue.st @@ -0,0 +1,3 @@ +defaults +defaultValue + ^ nil \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRDynamicVariable.class/class/use.during..st b/repository/Grease-Pharo100-Core.package/GRDynamicVariable.class/class/use.during..st new file mode 100644 index 00000000..1e03f82f --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRDynamicVariable.class/class/use.during..st @@ -0,0 +1,5 @@ +accessing +use: anObject during: aBlock + ^ self + value: anObject + during: aBlock \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRDynamicVariable.class/instance/default.st b/repository/Grease-Pharo100-Core.package/GRDynamicVariable.class/instance/default.st new file mode 100644 index 00000000..59cb6f1b --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRDynamicVariable.class/instance/default.st @@ -0,0 +1,3 @@ +accessing +default + ^ self class defaultValue \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRDynamicVariable.class/properties.json b/repository/Grease-Pharo100-Core.package/GRDynamicVariable.class/properties.json new file mode 100644 index 00000000..2867fd3d --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRDynamicVariable.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "DynamicVariable", + "category" : "Grease-Pharo100-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRDynamicVariable", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPackage.extension/class/greasePharo70Core.st b/repository/Grease-Pharo100-Core.package/GRPackage.extension/class/greasePharo70Core.st new file mode 100644 index 00000000..091ff123 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPackage.extension/class/greasePharo70Core.st @@ -0,0 +1,7 @@ +*Grease-Pharo100-Core +greasePharo70Core + ^ self new + name: 'Grease-Pharo90-Core'; + addDependency: 'Grease-Core'; + url: #greaseUrl; + yourself \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPackage.extension/properties.json b/repository/Grease-Pharo100-Core.package/GRPackage.extension/properties.json new file mode 100644 index 00000000..ae522a7e --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPackage.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "GRPackage" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/README.md b/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/README.md new file mode 100644 index 00000000..7620280e --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/README.md @@ -0,0 +1,7 @@ +A WAConverterCodecStream is a WACodec stream around a TextConverter. It is always in text mode. + +Instance Variables + converter: + +converter + - the TextConverter used to do the encoding conversion diff --git a/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/class/on.converter..st b/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/class/on.converter..st new file mode 100644 index 00000000..de8cd791 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/class/on.converter..st @@ -0,0 +1,3 @@ +instance creation +on: aStream converter: aConverter + ^ self basicNew initializeOn: aStream converter: aConverter \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/greaseNext.putAll.startingAt..st new file mode 100644 index 00000000..8321e299 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/greaseNext.putAll.startingAt..st @@ -0,0 +1,3 @@ +streaming +greaseNext: anInteger putAll: aCollection startingAt: startIndex + self nextPutAll: (aCollection copyFrom: startIndex to: startIndex + anInteger - 1) \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/initializeOn.converter..st b/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/initializeOn.converter..st new file mode 100644 index 00000000..c380485d --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/initializeOn.converter..st @@ -0,0 +1,4 @@ +initialization +initializeOn: aStream converter: aConverter + self initializeOn: aStream. + converter := aConverter \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/next..st b/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/next..st new file mode 100644 index 00000000..ef51837b --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/next..st @@ -0,0 +1,8 @@ +streaming +next: anInteger + | writeStream | + writeStream := WriteStream on: (String new: anInteger). + anInteger timesRepeat: [ + writeStream nextPut: (self next + ifNil: [ ^ writeStream contents ]) ]. + ^ writeStream contents \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/next.st b/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/next.st new file mode 100644 index 00000000..eee99a1a --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/next.st @@ -0,0 +1,6 @@ +streaming +next + | character | + character := converter nextFromStream: stream. + ^ character isNil + ifFalse: [ character asCharacter ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/nextPut..st b/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/nextPut..st new file mode 100644 index 00000000..e65f56c4 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/nextPut..st @@ -0,0 +1,3 @@ +streaming +nextPut: aCharacter + converter nextPut: aCharacter asCharacter toStream: stream \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/nextPutAll..st b/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/nextPutAll..st new file mode 100644 index 00000000..a30c4507 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/nextPutAll..st @@ -0,0 +1,3 @@ +streaming +nextPutAll: aString + aString asString do: [ :each | self nextPut: each ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/properties.json b/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/properties.json new file mode 100644 index 00000000..9b20acd5 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "pmm 6/25/2012 20:22", + "super" : "GRCodecStream", + "category" : "Grease-Pharo100-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "converter" + ], + "name" : "GRPharoConverterCodecStream", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/README.md b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/README.md new file mode 100644 index 00000000..08323f18 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/README.md @@ -0,0 +1 @@ +A WAUtf8CodecStream is a WACodecStream optimized for UTF-8 performance in the case where most of the characters are ASCII. diff --git a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/crlf.st b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/crlf.st new file mode 100644 index 00000000..ba607092 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/crlf.st @@ -0,0 +1,4 @@ +streaming +crlf + stream nextPut: Character cr. + stream nextPut: Character lf \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeDefault..st b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeDefault..st new file mode 100644 index 00000000..cdd58a41 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeDefault..st @@ -0,0 +1,5 @@ +private +encodeDefault: aString + "Convert the given string from UTF-8 using the fast path if converting to Latin-1" + 1 to: aString size by: 1 do: [ :index | + converter nextPut: (aString at: index) toStream: stream ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeFast..st b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeFast..st new file mode 100644 index 00000000..9a8a0dc3 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeFast..st @@ -0,0 +1,14 @@ +private +encodeFast: aByteString + "Convert the given string from UTF-8 using the fast path if converting to Latin-1" + | lastIndex nextIndex | + lastIndex := 1. + nextIndex := ByteString findFirstInString: aByteString inSet: Latin1ToUtf8Map startingAt: lastIndex. + nextIndex = 0 ifTrue: [ ^ stream nextPutAll: aByteString ]. + [ nextIndex > lastIndex ifTrue: [ + stream greaseNext: nextIndex - lastIndex putAll: aByteString startingAt: lastIndex ]. + stream nextPutAll: (Latin1ToUtf8Encodings at: (aByteString byteAt: nextIndex) + 1). + lastIndex := nextIndex + 1. + nextIndex := ByteString findFirstInString: aByteString inSet: Latin1ToUtf8Map startingAt: lastIndex. + nextIndex = 0 ] whileFalse. + stream greaseNext: aByteString size - lastIndex + 1 putAll: aByteString startingAt: lastIndex \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st new file mode 100644 index 00000000..cd78fbe0 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st @@ -0,0 +1,5 @@ +streaming +greaseNext: anInteger putAll: aCollection startingAt: startIndex + aCollection isByteString + ifTrue: [ self greaseNext: anInteger putAllFast: aCollection startingAt: startIndex ] + ifFalse: [ super greaseNext: anInteger putAll: aCollection startingAt: startIndex ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st new file mode 100644 index 00000000..a4c114cb --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st @@ -0,0 +1,17 @@ +private +greaseNext: anInteger putAllFast: aByteString startingAt: startIndex + | lastIndex nextIndex | + lastIndex := startIndex. + nextIndex := ByteString findFirstInString: aByteString inSet: Latin1ToUtf8Map startingAt: lastIndex. + nextIndex = 0 ifTrue: [ ^ stream greaseNext: anInteger putAll: aByteString startingAt: startIndex ]. + [ + nextIndex >= (startIndex + anInteger) ifTrue: [ + ^ stream greaseNext: startIndex + anInteger - lastIndex putAll: aByteString startingAt: lastIndex ]. + nextIndex > lastIndex ifTrue: [ + stream greaseNext: nextIndex - lastIndex putAll: aByteString startingAt: lastIndex ]. + stream nextPutAll: (Latin1ToUtf8Encodings at: (aByteString byteAt: nextIndex) + 1). + lastIndex := nextIndex + 1. + nextIndex := ByteString findFirstInString: aByteString inSet: Latin1ToUtf8Map startingAt: lastIndex. + (nextIndex = 0 or: [ nextIndex >= (startIndex + anInteger) ]) ] whileFalse. + lastIndex >= (startIndex + anInteger) ifFalse: [ + stream greaseNext: startIndex + anInteger - lastIndex putAll: aByteString startingAt: lastIndex ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/invalidUtf8.st b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/invalidUtf8.st new file mode 100644 index 00000000..e4481c22 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/invalidUtf8.st @@ -0,0 +1,3 @@ +private +invalidUtf8 + ^ GRInvalidUtf8Error signal: 'Invalid UTF-8 input' \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next..st b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next..st new file mode 100644 index 00000000..116f524d --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next..st @@ -0,0 +1,46 @@ +streaming +next: anInteger + "Convert the given string from UTF-8 using the fast path if converting to Latin-1" + | output byte1 byte2 byte3 byte4 unicode count alreadyWide | + output := ByteString new: anInteger. + count := 0. + alreadyWide := false. + [ count < anInteger and: [ stream atEnd not ] ] whileTrue: [ + byte1 := stream next. + unicode := byte1. + (byte1 bitAnd: 16rE0) = 192 ifTrue: [ "two bytes" + byte2 := stream next. + (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. + unicode := ((byte1 bitAnd: 31) bitShift: 6) + (byte2 bitAnd: 63) ]. + (byte1 bitAnd: 16rF0) = 224 ifTrue: [ "three bytes" + byte2 := stream next. + (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. + byte3 := stream next. + (byte3 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. + unicode := ((byte1 bitAnd: 15) bitShift: 12) + ((byte2 bitAnd: 63) bitShift: 6) + + (byte3 bitAnd: 63). + alreadyWide ifFalse: [ + output := WideString withAll: output. + alreadyWide := true ] ]. + (byte1 bitAnd: 16rF8) = 240 ifTrue: [ "four bytes" + byte2 := stream next. + (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. + byte3 := stream next. + (byte3 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. + byte4 := stream next. + (byte4 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. + unicode := ((byte1 bitAnd: 16r7) bitShift: 18) + + ((byte2 bitAnd: 63) bitShift: 12) + + ((byte3 bitAnd: 63) bitShift: 6) + + (byte4 bitAnd: 63). + alreadyWide ifFalse: [ + output := WideString withAll: output. + alreadyWide := true ] ]. + unicode ifNil: [ self invalidUtf8 ]. + unicode = 16rFEFF "ignore BOM" ifFalse: [ + count := count + 1. + output at: count put: (Character codePoint: unicode) ]. + unicode := nil ]. + ^ count < anInteger + ifTrue: [ output first: count ] + ifFalse: [ output ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next.st b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next.st new file mode 100644 index 00000000..4363f086 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next.st @@ -0,0 +1,3 @@ +streaming +next + ^ (self next: 1) first \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPut..st b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPut..st new file mode 100644 index 00000000..ad2d94ab --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPut..st @@ -0,0 +1,11 @@ +streaming +nextPut: aCharacter + | codePoint shouldEncode | + codePoint := aCharacter codePoint. + codePoint > 255 + ifTrue: [ ^ self nextPutAll: (String with: aCharacter) ]. + shouldEncode := Latin1ToUtf8Map at: codePoint + 1. + shouldEncode = 1 + ifTrue: [ stream nextPutAll: (Latin1ToUtf8Encodings at: codePoint + 1) ] + ifFalse: [ stream nextPut: aCharacter ] + \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPutAll..st b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPutAll..st new file mode 100644 index 00000000..b9136110 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPutAll..st @@ -0,0 +1,5 @@ +streaming +nextPutAll: aString + aString isByteString + ifTrue: [ self encodeFast: aString ] + ifFalse: [ self encodeDefault: aString ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/properties.json b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/properties.json new file mode 100644 index 00000000..ac542b99 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/properties.json @@ -0,0 +1,14 @@ +{ + "commentStamp" : "pmm 2/20/2009 12:27", + "super" : "GRPharoConverterCodecStream", + "category" : "Grease-Pharo100-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ + "Latin1ToUtf8Encodings", + "Latin1ToUtf8Map" + ], + "instvars" : [ ], + "name" : "GRPharoDeprecatedUtf8CodecStream", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/README.md b/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/README.md new file mode 100644 index 00000000..3f437d62 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/README.md @@ -0,0 +1 @@ +A GRPharoLatin1Codec is a WACodec optimized for ISO-8859-1 (direct byte to character mapping). \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/class/basicForEncoding..st b/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/class/basicForEncoding..st new file mode 100644 index 00000000..f6b18bd4 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/class/basicForEncoding..st @@ -0,0 +1,5 @@ +private +basicForEncoding: aString + (self supportsEncoding: aString) + ifFalse: [ self unsupportedEncoding: aString ]. + ^ self basicNew initializeWithName: aString \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/class/codecs.st b/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/class/codecs.st new file mode 100644 index 00000000..7a96b703 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/class/codecs.st @@ -0,0 +1,3 @@ +accessing +codecs + ^ Array with: (self basicForEncoding: 'iso-8859-1') \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/class/supportedEncodingNames.st b/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/class/supportedEncodingNames.st new file mode 100644 index 00000000..e5dca068 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/class/supportedEncodingNames.st @@ -0,0 +1,3 @@ +private +supportedEncodingNames + ^ #('iso-8859-1' 'ISO-8859-1' 'latin-1' 'latin1') \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/class/supportsEncoding..st b/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/class/supportsEncoding..st new file mode 100644 index 00000000..bc591573 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/class/supportsEncoding..st @@ -0,0 +1,4 @@ +private +supportsEncoding: aString + "Answer whether the the given encoding name is supported." + ^ self supportedEncodingNames includes: aString \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/decode..st b/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/decode..st new file mode 100644 index 00000000..5f73b526 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/decode..st @@ -0,0 +1,5 @@ +conversion +decode: aStringOrByteArray + "Overridden for efficencey." + + ^ aStringOrByteArray asString \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/decoderFor..st b/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/decoderFor..st new file mode 100644 index 00000000..256dbac4 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/decoderFor..st @@ -0,0 +1,4 @@ +conversion +decoderFor: aReadStream + "wrap to avoid String vs ByteArray issues" + ^ GRPharoLatin1CodecStream on: aReadStream \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/encoderFor..st b/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/encoderFor..st new file mode 100644 index 00000000..20102849 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/encoderFor..st @@ -0,0 +1,4 @@ +conversion +encoderFor: aWriteStream + "wrap to avoid String vs ByteArray issues" + ^ GRPharoLatin1CodecStream on: aWriteStream \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/initializeWithName..st b/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/initializeWithName..st new file mode 100644 index 00000000..b0256973 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/initializeWithName..st @@ -0,0 +1,4 @@ +initialization +initializeWithName: aString + self initialize. + name := aString \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/name.st b/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/name.st new file mode 100644 index 00000000..22077c20 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ name \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/properties.json b/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/properties.json new file mode 100644 index 00000000..1ffad917 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "", + "super" : "GRNullCodec", + "category" : "Grease-Pharo100-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "name" + ], + "name" : "GRPharoLatin1Codec", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoLatin1CodecStream.class/README.md b/repository/Grease-Pharo100-Core.package/GRPharoLatin1CodecStream.class/README.md new file mode 100644 index 00000000..e1c2471b --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoLatin1CodecStream.class/README.md @@ -0,0 +1 @@ +A GRPharoLatin1CodecStream is a WACodecStream optimized for ISO-8859-1 (direct byte to character mapping). \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoLatin1CodecStream.class/instance/next..st b/repository/Grease-Pharo100-Core.package/GRPharoLatin1CodecStream.class/instance/next..st new file mode 100644 index 00000000..a734bc76 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoLatin1CodecStream.class/instance/next..st @@ -0,0 +1,3 @@ +streaming +next: anInteger + ^ (stream next: anInteger) asString \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoLatin1CodecStream.class/instance/next.st b/repository/Grease-Pharo100-Core.package/GRPharoLatin1CodecStream.class/instance/next.st new file mode 100644 index 00000000..bf70df58 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoLatin1CodecStream.class/instance/next.st @@ -0,0 +1,3 @@ +streaming +next + ^ Character value: stream next \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoLatin1CodecStream.class/properties.json b/repository/Grease-Pharo100-Core.package/GRPharoLatin1CodecStream.class/properties.json new file mode 100644 index 00000000..5d9ede87 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoLatin1CodecStream.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRNullCodecStream", + "category" : "Grease-Pharo100-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRPharoLatin1CodecStream", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/README.md b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/README.md new file mode 100644 index 00000000..f0375aac --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/README.md @@ -0,0 +1 @@ +A WASqueakPlatform is the Squeak implementation of SeasidePlatformSupport, the Seaside class that provides functionality that can not be implemented in a platform independent way. diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/class/initialize.st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/class/initialize.st new file mode 100644 index 00000000..0c86564c --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/class/initialize.st @@ -0,0 +1,5 @@ +class initialization +initialize + self initializeXmlTable. + self initializeUrlTable. + self select \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/class/initializeUrlTable.st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/class/initializeUrlTable.st new file mode 100644 index 00000000..9abf56b7 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/class/initializeUrlTable.st @@ -0,0 +1,7 @@ +class initialization +initializeUrlTable + UrlTable := ByteArray new: 256. + 1 to: 256 do: [ :index | + ('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.~' includes: (Character codePoint: index - 1)) + ifTrue: [ UrlTable at: index put: 0 ] + ifFalse: [ UrlTable at: index put: 1 ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/class/initializeXmlTable.st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/class/initializeXmlTable.st new file mode 100644 index 00000000..830a5595 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/class/initializeXmlTable.st @@ -0,0 +1,7 @@ +class initialization +initializeXmlTable + XmlTable := ByteArray new: 256. + 1 to: 256 do: [ :index | + ('"<&>' includes: (Character codePoint: index - 1)) + ifTrue: [ XmlTable at: index put: 1 ] + ifFalse: [ XmlTable at: index put: 0 ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/class/unload.st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/class/unload.st new file mode 100644 index 00000000..4c8dd650 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/class/unload.st @@ -0,0 +1,3 @@ +class initialization +unload + self unselect \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/addToShutDownList..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/addToShutDownList..st new file mode 100644 index 00000000..f8d3ad5f --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/addToShutDownList..st @@ -0,0 +1,5 @@ +startup +addToShutDownList: anObject + "Add anObject to the shutdown-list of the system. On shutdown the message #shutDown will be sent to anObject." + + Smalltalk addToShutDownList: anObject \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/addToStartUpList..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/addToStartUpList..st new file mode 100644 index 00000000..c4ab1dea --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/addToStartUpList..st @@ -0,0 +1,5 @@ +startup +addToStartUpList: aClass + "Add anObject to the startup-list of the system. On startup the message #startUp will be sent to anObject." + + SessionManager default registerUserClassNamed: aClass name. \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArray.named..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArray.named..st new file mode 100644 index 00000000..ba4a0727 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArray.named..st @@ -0,0 +1,6 @@ +file library +asMethodReturningByteArray: aByteArrayOrString named: aSymbol + "Generates the source of a method named aSymbol that returns aByteArrayOrString as a ByteArray" + ^ self useByteArrayLiterals + ifTrue: [ self asMethodReturningByteArrayLiteral: aByteArrayOrString named: aSymbol ] + ifFalse: [ self asMethodReturningByteArrayWithCache: aByteArrayOrString named: aSymbol ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayLiteral.named..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayLiteral.named..st new file mode 100644 index 00000000..90bb405c --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayLiteral.named..st @@ -0,0 +1,10 @@ +private-file library +asMethodReturningByteArrayLiteral: aByteArrayOrString named: aSymbol + "Generates the source of a method named aSymbol that returns aByteArrayOrString as a byte array using VW/NewCompiler byte array literal syntax." + ^ String streamContents: [ :stream | + stream nextPutAll: aSymbol; nextPut: Character cr. + stream tab; nextPutAll: '^ #['. + aByteArrayOrString asByteArray + do: [ :each | each printOn: stream ] + separatedBy: [ stream space ]. + stream nextPutAll: ']' ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayWithCache.named..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayWithCache.named..st new file mode 100644 index 00000000..a1f9fe07 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayWithCache.named..st @@ -0,0 +1,10 @@ +private-file library +asMethodReturningByteArrayWithCache: aByteArrayOrString named: aSymbol + "Generates the source of a method named aSymbol that returns aByteArrayOrString as a byte array and caching this array in a literal array of size 1." + ^ String streamContents: [ :stream | + stream nextPutAll: aSymbol; nextPut: Character cr. + stream tab; nextPutAll: '^ #('. + aByteArrayOrString asByteArray + do: [ :each | each printOn: stream ] + separatedBy: [ stream space ]. + stream nextPutAll: ') asByteArray' ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/base64Decode..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/base64Decode..st new file mode 100644 index 00000000..3fb71b1a --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/base64Decode..st @@ -0,0 +1,3 @@ +encoding +base64Decode: aString + ^ aString base64Decoded asString \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/bindingOf..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/bindingOf..st new file mode 100644 index 00000000..e878c01b --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/bindingOf..st @@ -0,0 +1,4 @@ +bindings +bindingOf: aClass + + ^ Smalltalk globals associationAt: aClass name \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/compile.into.classified..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/compile.into.classified..st new file mode 100644 index 00000000..45c37a45 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/compile.into.classified..st @@ -0,0 +1,3 @@ +file library +compile: aString into: aClass classified: aSymbol + aClass compile: aString classified: aSymbol \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st new file mode 100644 index 00000000..ecfdc9d4 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st @@ -0,0 +1,3 @@ +file library +contentsOfFile: aString binary: aBoolean + ^ self readFileStreamOn: aString do: [ :stream | stream contents ] binary: aBoolean \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/directoriesIn..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/directoriesIn..st new file mode 100644 index 00000000..c5beee09 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/directoriesIn..st @@ -0,0 +1,8 @@ +file library +directoriesIn: aPathString + "Answer a collection of absolute paths for all the directories (no files) in the directory given by aPathString + must not include directory names that start with ." + ^ Array streamContents: [ :stream | + FileSystem disk directoriesAt: aPathString do: [ :each | + each basename first = $. ifFalse: [ + stream nextPut: each asFileReference fullName ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/doSilently..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/doSilently..st new file mode 100644 index 00000000..9ea296ff --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/doSilently..st @@ -0,0 +1,3 @@ +private +doSilently: aBlock + ^ SystemAnnouncer uniqueInstance suspendAllWhile: aBlock \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st new file mode 100644 index 00000000..907e0168 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st @@ -0,0 +1,4 @@ +file library +ensureExistenceOfFolder: aString + "creates a folder named aString in the image directory" + FileSystem disk ensureCreateDirectory: aString \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/fileExists..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/fileExists..st new file mode 100644 index 00000000..2a02cc3f --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/fileExists..st @@ -0,0 +1,3 @@ +file library +fileExists: aString + ^ aString asFileReference exists \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/filesIn..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/filesIn..st new file mode 100644 index 00000000..e3b9a6b0 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/filesIn..st @@ -0,0 +1,8 @@ +file library +filesIn: aPathString + "Return a collection of absolute paths for all the files (no directories) in the directory given by aPathString + must not include file names that start with ." + ^ Array streamContents: [ :stream | + FileSystem disk filesAt: aPathString do: [ :each | + each basename first = $. ifFalse: [ + stream nextPut: each asFileReference fullName ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/isProcessTerminated..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/isProcessTerminated..st new file mode 100644 index 00000000..03b50778 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/isProcessTerminated..st @@ -0,0 +1,4 @@ +processes +isProcessTerminated: aProcess + "Return a boolean indicating whether aProcess has been terminated." + ^ aProcess isTerminated \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/label.st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/label.st new file mode 100644 index 00000000..f3b036e2 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/label.st @@ -0,0 +1,3 @@ +version info +label + ^ 'Pharo' \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/localNameOf..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/localNameOf..st new file mode 100644 index 00000000..8f4efb85 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/localNameOf..st @@ -0,0 +1,3 @@ +file library +localNameOf: aFilename + ^ (FileSystem disk resolveString: aFilename) basename \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newRandom.st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newRandom.st new file mode 100644 index 00000000..9d90824d --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newRandom.st @@ -0,0 +1,10 @@ +factory +newRandom + "Answers the random number generator to be used to create session and continuation keys. Make sure it is seeded. They only methods that will be sent to it are: + #nextInt: - should answer a random integer in the interval [1, anInteger] + #randomFrom: - should answer a random element from the given collection + + Make sure that both methods are safe under heavy concurrent load. + + Used by Gemstone/S traditional Randoms which cannot be persisted.." + ^ GRPharoRandomProvider \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newline.st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newline.st new file mode 100644 index 00000000..1219045d --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newline.st @@ -0,0 +1,3 @@ +file library +newline + ^ String cr \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st new file mode 100644 index 00000000..305157e2 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st @@ -0,0 +1,18 @@ +exceptions +openDebuggerOn: anError + | process | + process := Processor activeProcess. + "If we are running in the UI process, we don't want to suspend the active process. The + error was presumably triggered while stepping in the Debugger. If we simply immediately + signal an UnhandledError, the debugger will catch this and display the signaling context. + It isn't perfect or pretty but it works." + (ProcessBrowser isUIProcess: process) + ifTrue: [ + UnhandledError signalForException: anError ] + ifFalse: [ + WorldState addDeferredUIMessage: [ + UIManager default + requestDebuggerOpeningForProcess: process + named: anError description + inContext: anError signalerContext ]. + process suspend ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/pathSeparator.st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/pathSeparator.st new file mode 100644 index 00000000..10f88300 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/pathSeparator.st @@ -0,0 +1,3 @@ +file library +pathSeparator + ^ String with: FileSystem disk delimiter \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/readFileStreamOn.do.binary..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/readFileStreamOn.do.binary..st new file mode 100644 index 00000000..1852f83e --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/readFileStreamOn.do.binary..st @@ -0,0 +1,6 @@ +file library +readFileStreamOn: aString do: aBlock binary: aBoolean + + ^ aBoolean + ifTrue: [ aString asFileReference binaryReadStreamDo: aBlock ] + ifFalse: [ aString asFileReference readStreamEncoded: 'utf-8' do: aBlock ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/readWriteByteStream.st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/readWriteByteStream.st new file mode 100644 index 00000000..db9518ee --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/readWriteByteStream.st @@ -0,0 +1,5 @@ +factory +readWriteByteStream + "ByteArray based read write stream" + + ^ ReadWriteStream on: (ByteArray new: 4096) \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/readWriteCharacterStream.st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/readWriteCharacterStream.st new file mode 100644 index 00000000..3f94c5af --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/readWriteCharacterStream.st @@ -0,0 +1,5 @@ +factory +readWriteCharacterStream + "String based read write stream" + + ^ ReadWriteStream on: (String new: 4096) \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/removeFromShutDownList..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/removeFromShutDownList..st new file mode 100644 index 00000000..58137e33 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/removeFromShutDownList..st @@ -0,0 +1,5 @@ +startup +removeFromShutDownList: aClass + "Remove aClass from the shutdown list in the system." + + SessionManager default unregisterClassNamed: aClass name \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/removeFromStartUpList..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/removeFromStartUpList..st new file mode 100644 index 00000000..76918209 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/removeFromStartUpList..st @@ -0,0 +1,5 @@ +startup +removeFromStartUpList: aClass + "Remove aClass from the startup list in the system." + + SessionManager default unregisterClassNamed: aClass name \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/removeSelector.from..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/removeSelector.from..st new file mode 100644 index 00000000..92cbd7ff --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/removeSelector.from..st @@ -0,0 +1,3 @@ +file library +removeSelector: aSymbol from: aClass + aClass removeSelector: aSymbol \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/secureHashFor..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/secureHashFor..st new file mode 100644 index 00000000..46b9e2d2 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/secureHashFor..st @@ -0,0 +1,3 @@ +cryptography +secureHashFor: aString + ^ SHA1 new hashMessage: aString \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/semaphoreClass.st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/semaphoreClass.st new file mode 100644 index 00000000..ceccf9e3 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/semaphoreClass.st @@ -0,0 +1,4 @@ +factory +semaphoreClass + "used by Gemstone/S traditional Semaphores which cannot be persisted" + ^ Semaphore \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/stackDepth.st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/stackDepth.st new file mode 100644 index 00000000..d7e6feab --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/stackDepth.st @@ -0,0 +1,10 @@ +exceptions +stackDepth + + | depth current | + depth := 0. + current := thisContext. + [ current isNil ] whileFalse: [ + current := current sender. + depth := depth + 1 ]. + ^ depth - 1 \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/terminateProcess..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/terminateProcess..st new file mode 100644 index 00000000..a09b96e1 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/terminateProcess..st @@ -0,0 +1,4 @@ +processes +terminateProcess: aProcess + "Permanently terminate the process, unwinding first to execute #ensure: and #ifCurtailed: blocks." + aProcess terminate \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/thisContext.st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/thisContext.st new file mode 100644 index 00000000..c936ecad --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/thisContext.st @@ -0,0 +1,4 @@ +processes +thisContext + + ^ thisContext sender \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/useByteArrayLiterals.st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/useByteArrayLiterals.st new file mode 100644 index 00000000..71b0f2cf --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/useByteArrayLiterals.st @@ -0,0 +1,4 @@ +private-file library +useByteArrayLiterals + "whether ByteArray literals can/should be used" + ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/weakDictionaryOfSize..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/weakDictionaryOfSize..st new file mode 100644 index 00000000..b0ca3d82 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/weakDictionaryOfSize..st @@ -0,0 +1,3 @@ +factory +weakDictionaryOfSize: aNumber + ^ IdentityDictionary new: aNumber \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/write.toFile.inFolder..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/write.toFile.inFolder..st new file mode 100644 index 00000000..bbde965a --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/write.toFile.inFolder..st @@ -0,0 +1,7 @@ +file library +write: aStringOrByteArray toFile: aFileNameString inFolder: aFolderString + "writes aStringOrByteArray to a file named aFilenameString in the folder aFolderString" + ^ self + writeFileStreamOn: (aFolderString asFileReference / aFileNameString) ensureDelete pathString + do: [ :stream | stream nextPutAll: aStringOrByteArray ] + binary: aStringOrByteArray isString not \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/writeFileStreamOn.do.binary..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/writeFileStreamOn.do.binary..st new file mode 100644 index 00000000..0b43135e --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/writeFileStreamOn.do.binary..st @@ -0,0 +1,5 @@ +file library +writeFileStreamOn: aString do: aBlock binary: aBoolean + ^ aBoolean + ifTrue: [ aString asFileReference binaryWriteStreamDo: aBlock ] + ifFalse: [ aString asFileReference writeStreamEncoded: 'utf-8' do: [ :str | aBlock value: (ZnNewLineWriterStream on: str) ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/properties.json b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/properties.json new file mode 100644 index 00000000..740444f6 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/properties.json @@ -0,0 +1,14 @@ +{ + "commentStamp" : "pmm 6/1/2008 01:03", + "super" : "GRPlatform", + "category" : "Grease-Pharo100-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ + "UrlTable", + "XmlTable" + ], + "instvars" : [ ], + "name" : "GRPharoPlatform", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/README.md b/repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/class/initialize.st b/repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/class/initialize.st new file mode 100644 index 00000000..04ca54c3 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/class/initialize.st @@ -0,0 +1,4 @@ +private +initialize + Smalltalk addToStartUpList: self. + self startUp \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/class/nextInt..st b/repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/class/nextInt..st new file mode 100644 index 00000000..1036c2f7 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/class/nextInt..st @@ -0,0 +1,6 @@ +public +nextInt: anInteger + + "Answer a random integer in the interval [1, anInteger]" + + ^ mutex critical: [ generator nextInteger: anInteger ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/class/randomClass.st b/repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/class/randomClass.st new file mode 100644 index 00000000..85a2db91 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/class/randomClass.st @@ -0,0 +1,3 @@ +private +randomClass + ^ Random \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/class/randomFrom..st b/repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/class/randomFrom..st new file mode 100644 index 00000000..a5fe470c --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/class/randomFrom..st @@ -0,0 +1,11 @@ +public +randomFrom: aCollection + | random count | + random := self nextInt: aCollection size. + ^ aCollection isSequenceable + ifTrue: [ aCollection at: random ] + ifFalse: [ + count := 1. + aCollection do: [ :ea | + count = random ifTrue: [ ^ ea ]. + count := count + 1 ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/class/startUp.st b/repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/class/startUp.st new file mode 100644 index 00000000..663a5243 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/class/startUp.st @@ -0,0 +1,4 @@ +class initialization +startUp + generator := self randomClass new. + mutex := Semaphore forMutualExclusion \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/class/unload.st b/repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/class/unload.st new file mode 100644 index 00000000..fd4cb930 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/class/unload.st @@ -0,0 +1,3 @@ +private +unload + GRPlatform current removeFromStartUpList: self \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/properties.json b/repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/properties.json new file mode 100644 index 00000000..05172896 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoRandomProvider.class/properties.json @@ -0,0 +1,14 @@ +{ + "commentStamp" : "", + "super" : "GRObject", + "category" : "Grease-Pharo100-Core", + "classinstvars" : [ + "mutex", + "generator" + ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRPharoRandomProvider", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/README.md b/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/class/basicForEncoding..st b/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/class/basicForEncoding..st new file mode 100644 index 00000000..d4c4a74b --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/class/basicForEncoding..st @@ -0,0 +1,3 @@ +private +basicForEncoding: aString + ^ self new \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/class/codecs.st b/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/class/codecs.st new file mode 100644 index 00000000..632b84fb --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/class/codecs.st @@ -0,0 +1,3 @@ +accessing +codecs + ^ Array with: self new \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/class/supportsEncoding..st b/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/class/supportsEncoding..st new file mode 100644 index 00000000..f0c130cf --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/class/supportsEncoding..st @@ -0,0 +1,3 @@ +private +supportsEncoding: aString + ^ (#('utf-16' 'UTF-16' 'utf16') includes: aString) \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/instance/encodedStringClass.st b/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/instance/encodedStringClass.st new file mode 100644 index 00000000..6e5de896 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/instance/encodedStringClass.st @@ -0,0 +1,3 @@ +conversion +encodedStringClass + ^ ByteArray \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/instance/name.st b/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/instance/name.st new file mode 100644 index 00000000..0dbca09f --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'utf-16' \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/properties.json b/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/properties.json new file mode 100644 index 00000000..56886198 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRCodec", + "category" : "Grease-Pharo100-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRPharoUtf16Codec", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/README.md b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/README.md new file mode 100644 index 00000000..c6047951 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/README.md @@ -0,0 +1 @@ +A WAUtf8Codec is a WACodec optimized for UTF-8. \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/class/basicForEncoding..st b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/class/basicForEncoding..st new file mode 100644 index 00000000..d4c4a74b --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/class/basicForEncoding..st @@ -0,0 +1,3 @@ +private +basicForEncoding: aString + ^ self new \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/class/codecs.st b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/class/codecs.st new file mode 100644 index 00000000..632b84fb --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/class/codecs.st @@ -0,0 +1,3 @@ +accessing +codecs + ^ Array with: self new \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st new file mode 100644 index 00000000..f1f07f4a --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st @@ -0,0 +1,3 @@ +private +supportsEncoding: aString + ^ (#('utf-8' 'UTF-8' 'utf8') includes: aString) \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/decode..st b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/decode..st new file mode 100644 index 00000000..e9869000 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/decode..st @@ -0,0 +1,3 @@ +convenience +decode: aStringOrByteArray + ^ super decode: aStringOrByteArray asByteArray \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st new file mode 100644 index 00000000..0c2be49b --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st @@ -0,0 +1,4 @@ +conversion +decoderFor: aStream + ^ GRPharoZnUtf8CodecStream + on: aStream \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/encodedStringClass.st b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/encodedStringClass.st new file mode 100644 index 00000000..6e5de896 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/encodedStringClass.st @@ -0,0 +1,3 @@ +conversion +encodedStringClass + ^ ByteArray \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st new file mode 100644 index 00000000..0e80cdaf --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st @@ -0,0 +1,4 @@ +conversion +encoderFor: aStream + ^ GRPharoZnUtf8CodecStream + on: aStream \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/invalidUtf8.st b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/invalidUtf8.st new file mode 100644 index 00000000..e4481c22 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/invalidUtf8.st @@ -0,0 +1,3 @@ +private +invalidUtf8 + ^ GRInvalidUtf8Error signal: 'Invalid UTF-8 input' \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/name.st b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/name.st new file mode 100644 index 00000000..7886c830 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'utf-8' \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/url.st b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/url.st new file mode 100644 index 00000000..4696d714 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/url.st @@ -0,0 +1,3 @@ +accessing +url + ^ self \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/properties.json b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/properties.json new file mode 100644 index 00000000..fac6cdfc --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "pmm 2/20/2009 12:51", + "super" : "GRCodec", + "category" : "Grease-Pharo100-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRPharoUtf8Codec", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/README.md b/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st new file mode 100644 index 00000000..73411a20 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st @@ -0,0 +1,3 @@ +accessing +greaseNext: anInteger putAll: aCollection startingAt: startIndex + self nextPutAll: (aCollection copyFrom: startIndex to: startIndex + anInteger - 1) \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/initializeOn..st b/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/initializeOn..st new file mode 100644 index 00000000..ece3cda0 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/initializeOn..st @@ -0,0 +1,4 @@ +initialization +initializeOn: aStream + super initializeOn: aStream. + encoder := ZnCharacterEncoder utf8 \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/next..st b/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/next..st new file mode 100644 index 00000000..b5f1ff9a --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/next..st @@ -0,0 +1,8 @@ +accessing +next: anInteger + | writeStream | + writeStream := WriteStream on: (String new: anInteger). + anInteger timesRepeat: [ + writeStream nextPut: (self next + ifNil: [ ^ writeStream contents ]) ]. + ^ writeStream contents \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/next.st b/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/next.st new file mode 100644 index 00000000..ccde08f3 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/next.st @@ -0,0 +1,6 @@ +accessing +next + | character | + stream atEnd ifTrue: [ ^ nil ]. + character := encoder nextFromStream: stream. + ^ character ifNotNil: [ character asCharacter ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPut..st b/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPut..st new file mode 100644 index 00000000..3cad62a0 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPut..st @@ -0,0 +1,3 @@ +accessing +nextPut: aCharacter + encoder nextPut: aCharacter asCharacter toStream: stream \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st b/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st new file mode 100644 index 00000000..f8f3e8e4 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st @@ -0,0 +1,3 @@ +streaming +nextPutAll: aString + aString asString do:[ :each | self nextPut: each ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/properties.json b/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/properties.json new file mode 100644 index 00000000..93eab264 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "", + "super" : "GRCodecStream", + "category" : "Grease-Pharo100-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "encoder" + ], + "name" : "GRPharoZnUtf8CodecStream", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRSmallDictionary.extension/instance/inspectionItems..st b/repository/Grease-Pharo100-Core.package/GRSmallDictionary.extension/instance/inspectionItems..st new file mode 100644 index 00000000..0f446672 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRSmallDictionary.extension/instance/inspectionItems..st @@ -0,0 +1,15 @@ +*Grease-Pharo100-Core +inspectionItems: aBuilder + + + ^ aBuilder newTable + addColumn: (SpStringTableColumn + title: 'Key' + evaluated: [ :each | StObjectPrinter asTruncatedTextFrom: each key ]) + beSortable; + addColumn: (SpStringTableColumn + title: 'Value' + evaluated: [ :each | StObjectPrinter asTruncatedTextFrom: each value ]) + beSortable; + items: self associations; + yourself \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRSmallDictionary.extension/properties.json b/repository/Grease-Pharo100-Core.package/GRSmallDictionary.extension/properties.json new file mode 100644 index 00000000..0d78b749 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRSmallDictionary.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "GRSmallDictionary" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRSmallDictionary2.extension/instance/inspectionItems..st b/repository/Grease-Pharo100-Core.package/GRSmallDictionary2.extension/instance/inspectionItems..st new file mode 100644 index 00000000..0f446672 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRSmallDictionary2.extension/instance/inspectionItems..st @@ -0,0 +1,15 @@ +*Grease-Pharo100-Core +inspectionItems: aBuilder + + + ^ aBuilder newTable + addColumn: (SpStringTableColumn + title: 'Key' + evaluated: [ :each | StObjectPrinter asTruncatedTextFrom: each key ]) + beSortable; + addColumn: (SpStringTableColumn + title: 'Value' + evaluated: [ :each | StObjectPrinter asTruncatedTextFrom: each value ]) + beSortable; + items: self associations; + yourself \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRSmallDictionary2.extension/properties.json b/repository/Grease-Pharo100-Core.package/GRSmallDictionary2.extension/properties.json new file mode 100644 index 00000000..c5c0f1c8 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRSmallDictionary2.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "GRSmallDictionary2" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/Interval.extension/instance/any.st b/repository/Grease-Pharo100-Core.package/Interval.extension/instance/any.st new file mode 100644 index 00000000..5568eb95 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/Interval.extension/instance/any.st @@ -0,0 +1,6 @@ +*Grease-Pharo100-Core +any + "#first (used by SequenceableCollection>>anyOne) is an accessor of + Interval and does not error on an empty Interval." + + ^ self at: 1 \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/Interval.extension/properties.json b/repository/Grease-Pharo100-Core.package/Interval.extension/properties.json new file mode 100644 index 00000000..534eb553 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/Interval.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "Interval" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/MessageSend.extension/instance/argumentCount.st b/repository/Grease-Pharo100-Core.package/MessageSend.extension/instance/argumentCount.st new file mode 100644 index 00000000..df74aff3 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/MessageSend.extension/instance/argumentCount.st @@ -0,0 +1,3 @@ +*Grease-Pharo100-Core +argumentCount + ^ selector numArgs - self arguments size \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/MessageSend.extension/instance/valueWithPossibleArguments..st b/repository/Grease-Pharo100-Core.package/MessageSend.extension/instance/valueWithPossibleArguments..st new file mode 100644 index 00000000..0a56ac34 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/MessageSend.extension/instance/valueWithPossibleArguments..st @@ -0,0 +1,7 @@ +*Grease-Pharo100-Core +valueWithPossibleArguments: anArray + "Evaluate the block represented by the receiver. + If the block requires one argument, use anArg, if it requires more than one, + fill up the rest with nils." + + ^ self valueWithEnoughArguments: anArray \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/MessageSend.extension/properties.json b/repository/Grease-Pharo100-Core.package/MessageSend.extension/properties.json new file mode 100644 index 00000000..00669b90 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/MessageSend.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "MessageSend" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/Number.extension/instance/milliseconds.st b/repository/Grease-Pharo100-Core.package/Number.extension/instance/milliseconds.st new file mode 100644 index 00000000..fb4e6ce5 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/Number.extension/instance/milliseconds.st @@ -0,0 +1,3 @@ +*Grease-Pharo100-Core +milliseconds + ^ self milliSeconds \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/Number.extension/properties.json b/repository/Grease-Pharo100-Core.package/Number.extension/properties.json new file mode 100644 index 00000000..71dace88 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/Number.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "Number" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/Object.extension/instance/greaseString.st b/repository/Grease-Pharo100-Core.package/Object.extension/instance/greaseString.st new file mode 100644 index 00000000..f23889b4 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/Object.extension/instance/greaseString.st @@ -0,0 +1,3 @@ +*Grease-Pharo100-Core +greaseString + ^ self asString \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/Object.extension/properties.json b/repository/Grease-Pharo100-Core.package/Object.extension/properties.json new file mode 100644 index 00000000..f30a86e1 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/Object.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "Object" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/Point.extension/instance/greaseString.st b/repository/Grease-Pharo100-Core.package/Point.extension/instance/greaseString.st new file mode 100644 index 00000000..1cded0cc --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/Point.extension/instance/greaseString.st @@ -0,0 +1,13 @@ +*Grease-Pharo100-Core +greaseString + "Reimplemented because in Pharo 1.4 + (4 @ 2) greaseString + ansers '(4@2)'" + ^ String streamContents: [ :stream | + x printOn: stream. + stream nextPut: $@. + (y notNil and: [ y negative ]) + ifTrue: [ + "Avoid ambiguous @- construct" + stream space ]. + y printOn: stream ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/Point.extension/properties.json b/repository/Grease-Pharo100-Core.package/Point.extension/properties.json new file mode 100644 index 00000000..c6cf8dd5 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/Point.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "Point" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/PositionableStream.extension/instance/greaseUpToAll..st b/repository/Grease-Pharo100-Core.package/PositionableStream.extension/instance/greaseUpToAll..st new file mode 100644 index 00000000..348d9987 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/PositionableStream.extension/instance/greaseUpToAll..st @@ -0,0 +1,5 @@ +*Grease-Pharo100-Core +greaseUpToAll: aCollection + "Needed for Seaside ports to other dialects where #upToAll: may have + different semantics" + ^ self upToAll: aCollection \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/PositionableStream.extension/properties.json b/repository/Grease-Pharo100-Core.package/PositionableStream.extension/properties.json new file mode 100644 index 00000000..8e090ee3 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/PositionableStream.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "PositionableStream" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/ScaledDecimal.extension/instance/encodeOn..st b/repository/Grease-Pharo100-Core.package/ScaledDecimal.extension/instance/encodeOn..st new file mode 100644 index 00000000..90680805 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/ScaledDecimal.extension/instance/encodeOn..st @@ -0,0 +1,5 @@ +*Grease-Pharo100-Core +encodeOn: aDocument + | converter | + converter := GRSignPrinter new, (GRNumberPrinter new precision: self scale). + converter print: self on: aDocument \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/ScaledDecimal.extension/instance/greaseString.st b/repository/Grease-Pharo100-Core.package/ScaledDecimal.extension/instance/greaseString.st new file mode 100644 index 00000000..10a8dc02 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/ScaledDecimal.extension/instance/greaseString.st @@ -0,0 +1,5 @@ +*Grease-Pharo100-Core +greaseString + | converter | + converter := GRSignPrinter new, (GRNumberPrinter new precision: self scale). + ^ converter print: self \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/ScaledDecimal.extension/properties.json b/repository/Grease-Pharo100-Core.package/ScaledDecimal.extension/properties.json new file mode 100644 index 00000000..75f85f87 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/ScaledDecimal.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "ScaledDecimal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st b/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st new file mode 100644 index 00000000..2cd270c8 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st @@ -0,0 +1,4 @@ +*Grease-Pharo100-Core +beginsWithSubCollection: aSequenceableCollection + "Some platforms implement #beginsWith: to answer true for an empty argument." + ^ self beginsWith: aSequenceableCollection \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st b/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st new file mode 100644 index 00000000..d3b8f6eb --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st @@ -0,0 +1,4 @@ +*Grease-Pharo100-Core +endsWithSubCollection: aSequenceableCollection + "Some platforms implement #endsWith: to answer true for an empty argument." + ^ self endsWith: aSequenceableCollection \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/properties.json b/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/properties.json new file mode 100644 index 00000000..a68b7db6 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "SequenceableCollection" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/SocketStream.extension/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo100-Core.package/SocketStream.extension/instance/greaseNext.putAll.startingAt..st new file mode 100644 index 00000000..5e08d17f --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/SocketStream.extension/instance/greaseNext.putAll.startingAt..st @@ -0,0 +1,13 @@ +*Grease-Pharo100-Core +greaseNext: anInteger putAll: aCollection startingAt: startIndex + "Put a String or a ByteArray onto the stream starting at the given position. + Currently a large collection will allocate a large buffer." + + | toPut | + anInteger = 0 ifTrue: [ + ^ aCollection ]. + toPut := binary ifTrue: [ aCollection asByteArray ] ifFalse: [ aCollection asString ]. + self adjustOutBuffer: anInteger. + outBuffer replaceFrom: outNextToWrite to: outNextToWrite + anInteger - 1 with: toPut startingAt: startIndex. + outNextToWrite := outNextToWrite + anInteger. + self checkFlush \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/SocketStream.extension/properties.json b/repository/Grease-Pharo100-Core.package/SocketStream.extension/properties.json new file mode 100644 index 00000000..797e09e5 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/SocketStream.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "SocketStream" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/Symbol.extension/instance/greaseAsMutator.st b/repository/Grease-Pharo100-Core.package/Symbol.extension/instance/greaseAsMutator.st new file mode 100644 index 00000000..365aad78 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/Symbol.extension/instance/greaseAsMutator.st @@ -0,0 +1,3 @@ +*Grease-Pharo100-Core +greaseAsMutator + ^ self asMutator \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/Symbol.extension/properties.json b/repository/Grease-Pharo100-Core.package/Symbol.extension/properties.json new file mode 100644 index 00000000..8c6bce81 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/Symbol.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "Symbol" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/WriteStream.extension/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo100-Core.package/WriteStream.extension/instance/greaseNext.putAll.startingAt..st new file mode 100644 index 00000000..4059a121 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/WriteStream.extension/instance/greaseNext.putAll.startingAt..st @@ -0,0 +1,4 @@ +*Grease-Pharo100-Core +greaseNext: anInteger putAll: aCollection startingAt: startIndex + "Store the next anInteger elements from the given collection." + ^ self next: anInteger putAll: aCollection startingAt: startIndex \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/WriteStream.extension/properties.json b/repository/Grease-Pharo100-Core.package/WriteStream.extension/properties.json new file mode 100644 index 00000000..8688e80d --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/WriteStream.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "WriteStream" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/monticello.meta/categories.st b/repository/Grease-Pharo100-Core.package/monticello.meta/categories.st new file mode 100644 index 00000000..ecc9aa78 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/monticello.meta/categories.st @@ -0,0 +1 @@ +SystemOrganization addCategory: #'Grease-Pharo100-Core'! diff --git a/repository/Grease-Pharo100-Core.package/monticello.meta/initializers.st b/repository/Grease-Pharo100-Core.package/monticello.meta/initializers.st new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo100-Core.package/monticello.meta/package b/repository/Grease-Pharo100-Core.package/monticello.meta/package new file mode 100644 index 00000000..7239cac4 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'Grease-Pharo100-Core') \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/properties.json b/repository/Grease-Pharo100-Core.package/properties.json new file mode 100644 index 00000000..6f31cf5a --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/properties.json @@ -0,0 +1 @@ +{ } \ No newline at end of file From 9c769b624fa6c44cfc4e4e33ef109f278f52bace Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 20 Mar 2022 10:47:44 +0100 Subject: [PATCH 049/254] Seems like the package named Pharo10 was not removed previously... iceberg glitch? From 9cfcb6ad3aa707eb48eb155ce5aa9d6da0862675 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 20 Mar 2022 10:50:29 +0100 Subject: [PATCH 050/254] remove package Pharo10 still did not work? From 91677828019604cbd1eb6edfa342353c72357b30 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 20 Mar 2022 10:52:49 +0100 Subject: [PATCH 051/254] remove obsolete Pharo packages --- .../Grease-Pharo10-Core.package/.filetree | 5 -- .../Behavior.extension/instance/fullName.st | 5 -- .../Behavior.extension/properties.json | 3 -- .../instance/valueWithPossibleArguments..st | 11 ----- .../BlockClosure.extension/properties.json | 3 -- .../instance/greaseString.st | 4 -- .../ByteArray.extension/properties.json | 3 -- .../instance/greaseInteger.st | 4 -- .../Character.extension/properties.json | 3 -- .../Collection.extension/instance/any.st | 3 -- .../Collection.extension/properties.json | 3 -- .../Color.extension/instance/asHTMLColor.st | 3 -- .../Color.extension/properties.json | 3 -- .../Duration.extension/class/milliseconds..st | 3 -- .../instance/asMilliseconds.st | 3 -- .../instance/milliseconds.st | 3 -- .../Duration.extension/properties.json | 3 -- .../instance/greaseNext.putAll.startingAt..st | 3 -- .../properties.json | 3 -- .../GRDynamicVariable.class/README.md | 0 .../class/defaultValue.st | 3 -- .../class/use.during..st | 5 -- .../instance/default.st | 3 -- .../GRDynamicVariable.class/properties.json | 11 ----- .../class/greasePharo70Core.st | 7 --- .../GRPackage.extension/properties.json | 3 -- .../README.md | 7 --- .../class/on.converter..st | 3 -- .../instance/greaseNext.putAll.startingAt..st | 3 -- .../instance/initializeOn.converter..st | 4 -- .../instance/next..st | 8 ---- .../instance/next.st | 6 --- .../instance/nextPut..st | 3 -- .../instance/nextPutAll..st | 3 -- .../properties.json | 13 ------ .../README.md | 1 - .../instance/crlf.st | 4 -- .../instance/encodeDefault..st | 5 -- .../instance/encodeFast..st | 14 ------ .../instance/greaseNext.putAll.startingAt..st | 5 -- .../greaseNext.putAllFast.startingAt..st | 17 ------- .../instance/invalidUtf8.st | 3 -- .../instance/next..st | 46 ------------------- .../instance/next.st | 3 -- .../instance/nextPut..st | 11 ----- .../instance/nextPutAll..st | 5 -- .../properties.json | 14 ------ .../GRPharoLatin1Codec.class/README.md | 1 - .../class/basicForEncoding..st | 5 -- .../GRPharoLatin1Codec.class/class/codecs.st | 3 -- .../class/supportedEncodingNames.st | 3 -- .../class/supportsEncoding..st | 4 -- .../instance/decode..st | 5 -- .../instance/decoderFor..st | 4 -- .../instance/encoderFor..st | 4 -- .../instance/initializeWithName..st | 4 -- .../GRPharoLatin1Codec.class/instance/name.st | 3 -- .../GRPharoLatin1Codec.class/properties.json | 13 ------ .../GRPharoLatin1CodecStream.class/README.md | 1 - .../instance/next..st | 3 -- .../instance/next.st | 3 -- .../properties.json | 11 ----- .../GRPharoPlatform.class/README.md | 1 - .../GRPharoPlatform.class/class/initialize.st | 5 -- .../class/initializeUrlTable.st | 7 --- .../class/initializeXmlTable.st | 7 --- .../GRPharoPlatform.class/class/unload.st | 3 -- .../instance/addToShutDownList..st | 5 -- .../instance/addToStartUpList..st | 5 -- .../asMethodReturningByteArray.named..st | 6 --- ...sMethodReturningByteArrayLiteral.named..st | 10 ---- ...ethodReturningByteArrayWithCache.named..st | 10 ---- .../instance/base64Decode..st | 3 -- .../instance/bindingOf..st | 4 -- .../instance/compile.into.classified..st | 3 -- .../instance/contentsOfFile.binary..st | 3 -- .../instance/directoriesIn..st | 8 ---- .../instance/doSilently..st | 3 -- .../instance/ensureExistenceOfFolder..st | 4 -- .../instance/fileExists..st | 3 -- .../instance/filesIn..st | 8 ---- .../instance/isProcessTerminated..st | 4 -- .../GRPharoPlatform.class/instance/label.st | 3 -- .../instance/localNameOf..st | 3 -- .../instance/newRandom.st | 10 ---- .../GRPharoPlatform.class/instance/newline.st | 3 -- .../instance/openDebuggerOn..st | 18 -------- .../instance/pathSeparator.st | 3 -- .../instance/readFileStreamOn.do.binary..st | 6 --- .../instance/readWriteByteStream.st | 5 -- .../instance/readWriteCharacterStream.st | 5 -- .../instance/removeFromShutDownList..st | 5 -- .../instance/removeFromStartUpList..st | 5 -- .../instance/removeSelector.from..st | 3 -- .../instance/secureHashFor..st | 3 -- .../instance/semaphoreClass.st | 4 -- .../instance/stackDepth.st | 10 ---- .../instance/terminateProcess..st | 4 -- .../instance/thisContext.st | 4 -- .../instance/useByteArrayLiterals.st | 4 -- .../instance/weakDictionaryOfSize..st | 3 -- .../instance/write.toFile.inFolder..st | 7 --- .../instance/writeFileStreamOn.do.binary..st | 5 -- .../GRPharoPlatform.class/properties.json | 14 ------ .../GRPharoRandomProvider.class/README.md | 0 .../class/initialize.st | 4 -- .../class/nextInt..st | 6 --- .../class/randomClass.st | 3 -- .../class/randomFrom..st | 11 ----- .../class/startUp.st | 4 -- .../class/unload.st | 3 -- .../properties.json | 14 ------ .../GRPharoUtf8Codec.class/README.md | 1 - .../class/basicForEncoding..st | 3 -- .../GRPharoUtf8Codec.class/class/codecs.st | 3 -- .../class/supportsEncoding..st | 3 -- .../instance/decode..st | 3 -- .../instance/decoderFor..st | 4 -- .../instance/encodedStringClass.st | 3 -- .../instance/encoderFor..st | 4 -- .../instance/invalidUtf8.st | 3 -- .../GRPharoUtf8Codec.class/instance/name.st | 3 -- .../GRPharoUtf8Codec.class/instance/url.st | 3 -- .../GRPharoUtf8Codec.class/properties.json | 11 ----- .../GRPharoZnUtf8CodecStream.class/README.md | 0 .../instance/greaseNext.putAll.startingAt..st | 3 -- .../instance/initializeOn..st | 4 -- .../instance/next..st | 8 ---- .../instance/next.st | 6 --- .../instance/nextPut..st | 3 -- .../instance/nextPutAll..st | 3 -- .../properties.json | 13 ------ .../instance/inspectionItems..st | 15 ------ .../properties.json | 3 -- .../instance/inspectionItems..st | 15 ------ .../properties.json | 3 -- .../Interval.extension/instance/any.st | 6 --- .../Interval.extension/properties.json | 3 -- .../instance/argumentCount.st | 3 -- .../instance/valueWithPossibleArguments..st | 7 --- .../MessageSend.extension/properties.json | 3 -- .../Number.extension/instance/milliseconds.st | 3 -- .../Number.extension/properties.json | 3 -- .../Object.extension/instance/greaseString.st | 3 -- .../Object.extension/properties.json | 3 -- .../Point.extension/instance/greaseString.st | 13 ------ .../Point.extension/properties.json | 3 -- .../instance/greaseUpToAll..st | 5 -- .../properties.json | 3 -- .../instance/encodeOn..st | 5 -- .../instance/greaseString.st | 5 -- .../ScaledDecimal.extension/properties.json | 3 -- .../instance/beginsWithSubCollection..st | 4 -- .../instance/endsWithSubCollection..st | 4 -- .../properties.json | 3 -- .../instance/greaseNext.putAll.startingAt..st | 13 ------ .../SocketStream.extension/properties.json | 3 -- .../instance/greaseAsMutator.st | 3 -- .../Symbol.extension/properties.json | 3 -- .../instance/greaseNext.putAll.startingAt..st | 4 -- .../WriteStream.extension/properties.json | 3 -- .../monticello.meta/categories.st | 1 - .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 - .../properties.json | 1 - .../Grease-Pharo30-Core.package/.filetree | 5 -- .../instance/valueWithPossibleArguments..st | 11 ----- .../BlockClosure.extension/properties.json | 3 -- .../instance/greaseString.st | 4 -- .../ByteArray.extension/properties.json | 3 -- .../instance/greaseInteger.st | 4 -- .../Character.extension/properties.json | 3 -- .../Collection.extension/instance/any.st | 3 -- .../Collection.extension/properties.json | 3 -- .../Duration.extension/class/milliseconds..st | 3 -- .../instance/asMilliseconds.st | 3 -- .../instance/milliseconds.st | 3 -- .../Duration.extension/properties.json | 3 -- .../instance/greaseNext.putAll.startingAt..st | 3 -- .../properties.json | 3 -- .../GRDynamicVariable.class/README.md | 15 ------ .../class/defaultValue.st | 3 -- .../class/use.during..st | 5 -- .../instance/default.st | 3 -- .../instance/value.during..st | 8 ---- .../GRDynamicVariable.class/properties.json | 11 ----- .../class/greasePharo30Core.st | 7 --- .../GRPackage.extension/properties.json | 3 -- .../README.md | 7 --- .../class/on.converter..st | 3 -- .../instance/greaseNext.putAll.startingAt..st | 3 -- .../instance/initializeOn.converter..st | 4 -- .../instance/next..st | 8 ---- .../instance/next.st | 6 --- .../instance/nextPut..st | 3 -- .../instance/nextPutAll..st | 3 -- .../properties.json | 13 ------ .../GRPharoGenericCodec.class/README.md | 0 .../class/basicForEncoding..st | 5 -- .../GRPharoGenericCodec.class/class/codecs.st | 8 ---- .../class/supportedEncodingNames.st | 8 ---- .../class/supportsEncoding..st | 4 -- .../instance/converter.st | 3 -- .../instance/decoderFor..st | 3 -- .../instance/encoderFor..st | 5 -- .../instance/initializeWithName..st | 7 --- .../instance/name.st | 3 -- .../GRPharoGenericCodec.class/instance/url.st | 5 -- .../GRPharoGenericCodec.class/properties.json | 14 ------ .../GRPharoLatin1Codec.class/README.md | 1 - .../class/basicForEncoding..st | 5 -- .../GRPharoLatin1Codec.class/class/codecs.st | 3 -- .../class/supportedEncodingNames.st | 3 -- .../class/supportsEncoding..st | 4 -- .../instance/decode..st | 5 -- .../instance/decoderFor..st | 4 -- .../instance/encoderFor..st | 4 -- .../instance/initializeWithName..st | 4 -- .../GRPharoLatin1Codec.class/instance/name.st | 3 -- .../GRPharoLatin1Codec.class/properties.json | 13 ------ .../GRPharoLatin1CodecStream.class/README.md | 1 - .../instance/next..st | 3 -- .../instance/next.st | 3 -- .../properties.json | 11 ----- .../GRPharoPlatform.class/README.md | 1 - .../GRPharoPlatform.class/class/initialize.st | 5 -- .../class/initializeUrlTable.st | 7 --- .../class/initializeXmlTable.st | 7 --- .../GRPharoPlatform.class/class/unload.st | 3 -- .../instance/addToShutDownList..st | 5 -- .../instance/addToStartUpList..st | 5 -- .../asMethodReturningByteArray.named..st | 6 --- ...sMethodReturningByteArrayLiteral.named..st | 10 ---- ...ethodReturningByteArrayWithCache.named..st | 10 ---- .../instance/base64Decode..st | 3 -- .../instance/bindingOf..st | 4 -- .../instance/compile.into.classified..st | 3 -- .../instance/contentsOfFile.binary..st | 3 -- .../instance/directoriesIn..st | 8 ---- .../instance/doSilently..st | 3 -- .../instance/ensureExistenceOfFolder..st | 4 -- .../instance/fileExists..st | 3 -- .../instance/fileStreamOn.do.binary..st | 13 ------ .../instance/filesIn..st | 8 ---- .../instance/isProcessTerminated..st | 4 -- .../GRPharoPlatform.class/instance/label.st | 3 -- .../instance/localNameOf..st | 3 -- .../instance/newRandom.st | 10 ---- .../GRPharoPlatform.class/instance/newline.st | 3 -- .../instance/openDebuggerOn..st | 18 -------- .../instance/pathSeparator.st | 3 -- .../instance/readWriteByteStream.st | 5 -- .../instance/readWriteCharacterStream.st | 5 -- .../instance/removeFromShutDownList..st | 5 -- .../instance/removeFromStartUpList..st | 5 -- .../instance/removeSelector.from..st | 3 -- .../instance/secureHashFor..st | 3 -- .../instance/semaphoreClass.st | 4 -- .../instance/stackDepth.st | 10 ---- .../instance/terminateProcess..st | 4 -- .../instance/thisContext.st | 4 -- .../instance/useByteArrayLiterals.st | 4 -- .../instance/weakDictionaryOfSize..st | 3 -- .../instance/write.toFile.inFolder..st | 15 ------ .../instance/writeCharacterStreamOn..st | 4 -- .../GRPharoPlatform.class/properties.json | 14 ------ .../GRPharoRandomProvider.class/README.md | 0 .../class/initialize.st | 4 -- .../class/nextInt..st | 5 -- .../class/randomClass.st | 3 -- .../class/randomFrom..st | 11 ----- .../class/startUp.st | 4 -- .../class/unload.st | 3 -- .../properties.json | 14 ------ .../GRPharoUtf8Codec.class/README.md | 1 - .../class/basicForEncoding..st | 3 -- .../GRPharoUtf8Codec.class/class/codecs.st | 3 -- .../class/supportsEncoding..st | 3 -- .../instance/decode..st | 36 --------------- .../instance/decoderFor..st | 5 -- .../instance/encoderFor..st | 5 -- .../instance/invalidUtf8.st | 3 -- .../GRPharoUtf8Codec.class/instance/name.st | 3 -- .../GRPharoUtf8Codec.class/instance/url.st | 3 -- .../GRPharoUtf8Codec.class/properties.json | 11 ----- .../GRPharoUtf8CodecStream.class/README.md | 1 - .../class/initialize.st | 17 ------- .../instance/crlf.st | 4 -- .../instance/encodeDefault..st | 5 -- .../instance/encodeFast..st | 14 ------ .../instance/greaseNext.putAll.startingAt..st | 5 -- .../greaseNext.putAllFast.startingAt..st | 17 ------- .../instance/invalidUtf8.st | 3 -- .../instance/next..st | 46 ------------------- .../instance/next.st | 3 -- .../instance/nextPut..st | 11 ----- .../instance/nextPutAll..st | 5 -- .../properties.json | 14 ------ .../instance/customizeExplorerContents.st | 3 -- .../instance/explorerContents.st | 10 ---- .../instance/hasContentsInExplorer.st | 3 -- .../properties.json | 3 -- .../GRWorkingWriteStream.class/README.md | 1 - .../instance/reset.st | 3 -- .../properties.json | 11 ----- .../Interval.extension/instance/any.st | 6 --- .../Interval.extension/properties.json | 3 -- .../instance/argumentCount.st | 3 -- .../instance/valueWithPossibleArguments..st | 7 --- .../MessageSend.extension/properties.json | 3 -- .../Number.extension/instance/milliseconds.st | 3 -- .../Number.extension/properties.json | 3 -- .../Object.extension/instance/greaseString.st | 3 -- .../Object.extension/properties.json | 3 -- .../Point.extension/instance/greaseString.st | 13 ------ .../Point.extension/properties.json | 3 -- .../instance/greaseUpToAll..st | 5 -- .../properties.json | 3 -- .../instance/encodeOn..st | 5 -- .../instance/greaseString.st | 5 -- .../ScaledDecimal.extension/properties.json | 3 -- .../instance/beginsWithSubCollection..st | 4 -- .../instance/endsWithSubCollection..st | 4 -- .../instance/sorted.st | 3 -- .../properties.json | 3 -- .../instance/greaseNext.putAll.startingAt..st | 13 ------ .../SocketStream.extension/properties.json | 3 -- .../instance/greaseAsMutator.st | 3 -- .../Symbol.extension/properties.json | 3 -- .../TBehavior.extension/instance/fullName.st | 5 -- .../TBehavior.extension/properties.json | 3 -- .../instance/greaseNext.putAll.startingAt..st | 4 -- .../WriteStream.extension/properties.json | 3 -- .../monticello.meta/categories.st | 1 - .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 - .../properties.json | 1 - 337 files changed, 1817 deletions(-) delete mode 100644 repository/Grease-Pharo10-Core.package/.filetree delete mode 100644 repository/Grease-Pharo10-Core.package/Behavior.extension/instance/fullName.st delete mode 100644 repository/Grease-Pharo10-Core.package/Behavior.extension/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/BlockClosure.extension/instance/valueWithPossibleArguments..st delete mode 100644 repository/Grease-Pharo10-Core.package/BlockClosure.extension/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/ByteArray.extension/instance/greaseString.st delete mode 100644 repository/Grease-Pharo10-Core.package/ByteArray.extension/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/Character.extension/instance/greaseInteger.st delete mode 100644 repository/Grease-Pharo10-Core.package/Character.extension/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/Collection.extension/instance/any.st delete mode 100644 repository/Grease-Pharo10-Core.package/Collection.extension/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/Color.extension/instance/asHTMLColor.st delete mode 100644 repository/Grease-Pharo10-Core.package/Color.extension/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/Duration.extension/class/milliseconds..st delete mode 100644 repository/Grease-Pharo10-Core.package/Duration.extension/instance/asMilliseconds.st delete mode 100644 repository/Grease-Pharo10-Core.package/Duration.extension/instance/milliseconds.st delete mode 100644 repository/Grease-Pharo10-Core.package/Duration.extension/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRDelegatingStream.extension/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/README.md delete mode 100644 repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/class/defaultValue.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/class/use.during..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/instance/default.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/GRPackage.extension/class/greasePharo70Core.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPackage.extension/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/README.md delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/class/on.converter..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/greaseNext.putAll.startingAt..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/initializeOn.converter..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/next..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/next.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/nextPut..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/nextPutAll..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/README.md delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/crlf.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeDefault..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeFast..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/invalidUtf8.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPut..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPutAll..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/README.md delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/basicForEncoding..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/codecs.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/supportedEncodingNames.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/supportsEncoding..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/decode..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/decoderFor..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/encoderFor..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/initializeWithName..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/name.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/README.md delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/instance/next..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/instance/next.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/README.md delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/initialize.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/initializeUrlTable.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/initializeXmlTable.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/unload.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/addToShutDownList..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/addToStartUpList..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArray.named..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayLiteral.named..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayWithCache.named..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/base64Decode..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/bindingOf..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/compile.into.classified..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/directoriesIn..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/doSilently..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/fileExists..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/filesIn..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/isProcessTerminated..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/label.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/localNameOf..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/newRandom.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/newline.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/pathSeparator.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/readFileStreamOn.do.binary..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/readWriteByteStream.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/readWriteCharacterStream.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/removeFromShutDownList..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/removeFromStartUpList..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/removeSelector.from..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/secureHashFor..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/semaphoreClass.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/stackDepth.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/terminateProcess..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/thisContext.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/useByteArrayLiterals.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/weakDictionaryOfSize..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/write.toFile.inFolder..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/writeFileStreamOn.do.binary..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/README.md delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/initialize.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/nextInt..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/randomClass.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/randomFrom..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/startUp.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/unload.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/README.md delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/basicForEncoding..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/codecs.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/decode..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/encodedStringClass.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/invalidUtf8.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/name.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/url.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/README.md delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/initializeOn..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/next..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/next.st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPut..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/GRSmallDictionary.extension/instance/inspectionItems..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRSmallDictionary.extension/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/GRSmallDictionary2.extension/instance/inspectionItems..st delete mode 100644 repository/Grease-Pharo10-Core.package/GRSmallDictionary2.extension/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/Interval.extension/instance/any.st delete mode 100644 repository/Grease-Pharo10-Core.package/Interval.extension/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/MessageSend.extension/instance/argumentCount.st delete mode 100644 repository/Grease-Pharo10-Core.package/MessageSend.extension/instance/valueWithPossibleArguments..st delete mode 100644 repository/Grease-Pharo10-Core.package/MessageSend.extension/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/Number.extension/instance/milliseconds.st delete mode 100644 repository/Grease-Pharo10-Core.package/Number.extension/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/Object.extension/instance/greaseString.st delete mode 100644 repository/Grease-Pharo10-Core.package/Object.extension/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/Point.extension/instance/greaseString.st delete mode 100644 repository/Grease-Pharo10-Core.package/Point.extension/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/PositionableStream.extension/instance/greaseUpToAll..st delete mode 100644 repository/Grease-Pharo10-Core.package/PositionableStream.extension/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/ScaledDecimal.extension/instance/encodeOn..st delete mode 100644 repository/Grease-Pharo10-Core.package/ScaledDecimal.extension/instance/greaseString.st delete mode 100644 repository/Grease-Pharo10-Core.package/ScaledDecimal.extension/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st delete mode 100644 repository/Grease-Pharo10-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st delete mode 100644 repository/Grease-Pharo10-Core.package/SequenceableCollection.extension/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/SocketStream.extension/instance/greaseNext.putAll.startingAt..st delete mode 100644 repository/Grease-Pharo10-Core.package/SocketStream.extension/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/Symbol.extension/instance/greaseAsMutator.st delete mode 100644 repository/Grease-Pharo10-Core.package/Symbol.extension/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/WriteStream.extension/instance/greaseNext.putAll.startingAt..st delete mode 100644 repository/Grease-Pharo10-Core.package/WriteStream.extension/properties.json delete mode 100644 repository/Grease-Pharo10-Core.package/monticello.meta/categories.st delete mode 100644 repository/Grease-Pharo10-Core.package/monticello.meta/initializers.st delete mode 100644 repository/Grease-Pharo10-Core.package/monticello.meta/package delete mode 100644 repository/Grease-Pharo10-Core.package/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/.filetree delete mode 100644 repository/Grease-Pharo30-Core.package/BlockClosure.extension/instance/valueWithPossibleArguments..st delete mode 100644 repository/Grease-Pharo30-Core.package/BlockClosure.extension/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/ByteArray.extension/instance/greaseString.st delete mode 100644 repository/Grease-Pharo30-Core.package/ByteArray.extension/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/Character.extension/instance/greaseInteger.st delete mode 100644 repository/Grease-Pharo30-Core.package/Character.extension/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/Collection.extension/instance/any.st delete mode 100644 repository/Grease-Pharo30-Core.package/Collection.extension/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/Duration.extension/class/milliseconds..st delete mode 100644 repository/Grease-Pharo30-Core.package/Duration.extension/instance/asMilliseconds.st delete mode 100644 repository/Grease-Pharo30-Core.package/Duration.extension/instance/milliseconds.st delete mode 100644 repository/Grease-Pharo30-Core.package/Duration.extension/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRDelegatingStream.extension/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/GRDynamicVariable.class/README.md delete mode 100644 repository/Grease-Pharo30-Core.package/GRDynamicVariable.class/class/defaultValue.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRDynamicVariable.class/class/use.during..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRDynamicVariable.class/instance/default.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRDynamicVariable.class/instance/value.during..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRDynamicVariable.class/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/GRPackage.extension/class/greasePharo30Core.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPackage.extension/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/README.md delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/class/on.converter..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/instance/greaseNext.putAll.startingAt..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/instance/initializeOn.converter..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/instance/next..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/instance/next.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/instance/nextPut..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/instance/nextPutAll..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/README.md delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/class/basicForEncoding..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/class/codecs.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/class/supportedEncodingNames.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/class/supportsEncoding..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/instance/converter.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/instance/decoderFor..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/instance/encoderFor..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/instance/initializeWithName..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/instance/name.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/instance/url.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/README.md delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/class/basicForEncoding..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/class/codecs.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/class/supportedEncodingNames.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/class/supportsEncoding..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/instance/decode..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/instance/decoderFor..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/instance/encoderFor..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/instance/initializeWithName..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/instance/name.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoLatin1CodecStream.class/README.md delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoLatin1CodecStream.class/instance/next..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoLatin1CodecStream.class/instance/next.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoLatin1CodecStream.class/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/README.md delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/class/initialize.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/class/initializeUrlTable.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/class/initializeXmlTable.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/class/unload.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/addToShutDownList..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/addToStartUpList..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArray.named..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayLiteral.named..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayWithCache.named..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/base64Decode..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/bindingOf..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/compile.into.classified..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/directoriesIn..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/doSilently..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/fileExists..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/fileStreamOn.do.binary..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/filesIn..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/isProcessTerminated..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/label.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/localNameOf..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/newRandom.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/newline.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/pathSeparator.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/readWriteByteStream.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/readWriteCharacterStream.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/removeFromShutDownList..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/removeFromStartUpList..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/removeSelector.from..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/secureHashFor..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/semaphoreClass.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/stackDepth.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/terminateProcess..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/thisContext.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/useByteArrayLiterals.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/weakDictionaryOfSize..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/write.toFile.inFolder..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/writeCharacterStreamOn..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/README.md delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/class/initialize.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/class/nextInt..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/class/randomClass.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/class/randomFrom..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/class/startUp.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/class/unload.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/README.md delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/class/basicForEncoding..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/class/codecs.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/instance/decode..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/instance/invalidUtf8.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/instance/name.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/instance/url.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/README.md delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/class/initialize.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/crlf.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/encodeDefault..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/encodeFast..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/invalidUtf8.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/next..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/next.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/nextPut..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/nextPutAll..st delete mode 100644 repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/GRSmallDictionary.extension/instance/customizeExplorerContents.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRSmallDictionary.extension/instance/explorerContents.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRSmallDictionary.extension/instance/hasContentsInExplorer.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRSmallDictionary.extension/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/GRWorkingWriteStream.class/README.md delete mode 100644 repository/Grease-Pharo30-Core.package/GRWorkingWriteStream.class/instance/reset.st delete mode 100644 repository/Grease-Pharo30-Core.package/GRWorkingWriteStream.class/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/Interval.extension/instance/any.st delete mode 100644 repository/Grease-Pharo30-Core.package/Interval.extension/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/MessageSend.extension/instance/argumentCount.st delete mode 100644 repository/Grease-Pharo30-Core.package/MessageSend.extension/instance/valueWithPossibleArguments..st delete mode 100644 repository/Grease-Pharo30-Core.package/MessageSend.extension/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/Number.extension/instance/milliseconds.st delete mode 100644 repository/Grease-Pharo30-Core.package/Number.extension/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/Object.extension/instance/greaseString.st delete mode 100644 repository/Grease-Pharo30-Core.package/Object.extension/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/Point.extension/instance/greaseString.st delete mode 100644 repository/Grease-Pharo30-Core.package/Point.extension/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/PositionableStream.extension/instance/greaseUpToAll..st delete mode 100644 repository/Grease-Pharo30-Core.package/PositionableStream.extension/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/ScaledDecimal.extension/instance/encodeOn..st delete mode 100644 repository/Grease-Pharo30-Core.package/ScaledDecimal.extension/instance/greaseString.st delete mode 100644 repository/Grease-Pharo30-Core.package/ScaledDecimal.extension/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st delete mode 100644 repository/Grease-Pharo30-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st delete mode 100644 repository/Grease-Pharo30-Core.package/SequenceableCollection.extension/instance/sorted.st delete mode 100644 repository/Grease-Pharo30-Core.package/SequenceableCollection.extension/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/SocketStream.extension/instance/greaseNext.putAll.startingAt..st delete mode 100644 repository/Grease-Pharo30-Core.package/SocketStream.extension/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/Symbol.extension/instance/greaseAsMutator.st delete mode 100644 repository/Grease-Pharo30-Core.package/Symbol.extension/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/TBehavior.extension/instance/fullName.st delete mode 100644 repository/Grease-Pharo30-Core.package/TBehavior.extension/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/WriteStream.extension/instance/greaseNext.putAll.startingAt..st delete mode 100644 repository/Grease-Pharo30-Core.package/WriteStream.extension/properties.json delete mode 100644 repository/Grease-Pharo30-Core.package/monticello.meta/categories.st delete mode 100644 repository/Grease-Pharo30-Core.package/monticello.meta/initializers.st delete mode 100644 repository/Grease-Pharo30-Core.package/monticello.meta/package delete mode 100644 repository/Grease-Pharo30-Core.package/properties.json diff --git a/repository/Grease-Pharo10-Core.package/.filetree b/repository/Grease-Pharo10-Core.package/.filetree deleted file mode 100644 index 57a67973..00000000 --- a/repository/Grease-Pharo10-Core.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Behavior.extension/instance/fullName.st b/repository/Grease-Pharo10-Core.package/Behavior.extension/instance/fullName.st deleted file mode 100644 index 64736adf..00000000 --- a/repository/Grease-Pharo10-Core.package/Behavior.extension/instance/fullName.st +++ /dev/null @@ -1,5 +0,0 @@ -*Grease-Pharo10-Core -fullName - "In VW, will include the namespace" - - ^ self name \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Behavior.extension/properties.json b/repository/Grease-Pharo10-Core.package/Behavior.extension/properties.json deleted file mode 100644 index c4116c4c..00000000 --- a/repository/Grease-Pharo10-Core.package/Behavior.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "Behavior" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/BlockClosure.extension/instance/valueWithPossibleArguments..st b/repository/Grease-Pharo10-Core.package/BlockClosure.extension/instance/valueWithPossibleArguments..st deleted file mode 100644 index 37299816..00000000 --- a/repository/Grease-Pharo10-Core.package/BlockClosure.extension/instance/valueWithPossibleArguments..st +++ /dev/null @@ -1,11 +0,0 @@ -*Grease-Pharo10-Core -valueWithPossibleArguments: anArray - | args | - (anArray size == self numArgs) - ifTrue: [ ^ self valueWithArguments: anArray ]. - args := Array new: self numArgs. - args replaceFrom: 1 - to: (anArray size min: args size) - with: anArray - startingAt: 1. - ^ self valueWithArguments: args \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/BlockClosure.extension/properties.json b/repository/Grease-Pharo10-Core.package/BlockClosure.extension/properties.json deleted file mode 100644 index 2190e5e2..00000000 --- a/repository/Grease-Pharo10-Core.package/BlockClosure.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "BlockClosure" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/ByteArray.extension/instance/greaseString.st b/repository/Grease-Pharo10-Core.package/ByteArray.extension/instance/greaseString.st deleted file mode 100644 index 01618238..00000000 --- a/repository/Grease-Pharo10-Core.package/ByteArray.extension/instance/greaseString.st +++ /dev/null @@ -1,4 +0,0 @@ -*Grease-Pharo10-Core -greaseString - "ByteArrays should not automatically be converted to Strings. You should use a GRCodec for this." - ^ self printString \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/ByteArray.extension/properties.json b/repository/Grease-Pharo10-Core.package/ByteArray.extension/properties.json deleted file mode 100644 index f81bcb8d..00000000 --- a/repository/Grease-Pharo10-Core.package/ByteArray.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "ByteArray" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Character.extension/instance/greaseInteger.st b/repository/Grease-Pharo10-Core.package/Character.extension/instance/greaseInteger.st deleted file mode 100644 index a177a60b..00000000 --- a/repository/Grease-Pharo10-Core.package/Character.extension/instance/greaseInteger.st +++ /dev/null @@ -1,4 +0,0 @@ -*Grease-Pharo10-Core -greaseInteger - "Answer an unicode code point of the receiver." - ^ self charCode \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Character.extension/properties.json b/repository/Grease-Pharo10-Core.package/Character.extension/properties.json deleted file mode 100644 index 5219281d..00000000 --- a/repository/Grease-Pharo10-Core.package/Character.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "Character" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Collection.extension/instance/any.st b/repository/Grease-Pharo10-Core.package/Collection.extension/instance/any.st deleted file mode 100644 index aa5b9731..00000000 --- a/repository/Grease-Pharo10-Core.package/Collection.extension/instance/any.st +++ /dev/null @@ -1,3 +0,0 @@ -*Grease-Pharo10-Core -any - ^ self anyOne \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Collection.extension/properties.json b/repository/Grease-Pharo10-Core.package/Collection.extension/properties.json deleted file mode 100644 index 48f9f8d9..00000000 --- a/repository/Grease-Pharo10-Core.package/Collection.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "Collection" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Color.extension/instance/asHTMLColor.st b/repository/Grease-Pharo10-Core.package/Color.extension/instance/asHTMLColor.st deleted file mode 100644 index 25979e62..00000000 --- a/repository/Grease-Pharo10-Core.package/Color.extension/instance/asHTMLColor.st +++ /dev/null @@ -1,3 +0,0 @@ -*Grease-Pharo10-Core -asHTMLColor - ^'#', self asHexString \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Color.extension/properties.json b/repository/Grease-Pharo10-Core.package/Color.extension/properties.json deleted file mode 100644 index 8b86fc95..00000000 --- a/repository/Grease-Pharo10-Core.package/Color.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "Color" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Duration.extension/class/milliseconds..st b/repository/Grease-Pharo10-Core.package/Duration.extension/class/milliseconds..st deleted file mode 100644 index c3f008b3..00000000 --- a/repository/Grease-Pharo10-Core.package/Duration.extension/class/milliseconds..st +++ /dev/null @@ -1,3 +0,0 @@ -*Grease-Pharo10-Core -milliseconds: anInteger - ^ self milliSeconds: anInteger \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Duration.extension/instance/asMilliseconds.st b/repository/Grease-Pharo10-Core.package/Duration.extension/instance/asMilliseconds.st deleted file mode 100644 index 17d32897..00000000 --- a/repository/Grease-Pharo10-Core.package/Duration.extension/instance/asMilliseconds.st +++ /dev/null @@ -1,3 +0,0 @@ -*Grease-Pharo10-Core -asMilliseconds - ^ self asMilliSeconds \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Duration.extension/instance/milliseconds.st b/repository/Grease-Pharo10-Core.package/Duration.extension/instance/milliseconds.st deleted file mode 100644 index 94198a88..00000000 --- a/repository/Grease-Pharo10-Core.package/Duration.extension/instance/milliseconds.st +++ /dev/null @@ -1,3 +0,0 @@ -*Grease-Pharo10-Core -milliseconds - ^ nanos quo: NanosInMillisecond \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Duration.extension/properties.json b/repository/Grease-Pharo10-Core.package/Duration.extension/properties.json deleted file mode 100644 index d141a092..00000000 --- a/repository/Grease-Pharo10-Core.package/Duration.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "Duration" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo10-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st deleted file mode 100644 index 1b3fcdf7..00000000 --- a/repository/Grease-Pharo10-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st +++ /dev/null @@ -1,3 +0,0 @@ -*Grease-Pharo10-Core -greaseNext: anInteger putAll: aCollection startingAt: startIndex - stream greaseNext: anInteger putAll: aCollection startingAt: startIndex \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRDelegatingStream.extension/properties.json b/repository/Grease-Pharo10-Core.package/GRDelegatingStream.extension/properties.json deleted file mode 100644 index 5ec29ea0..00000000 --- a/repository/Grease-Pharo10-Core.package/GRDelegatingStream.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "GRDelegatingStream" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/README.md b/repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/class/defaultValue.st b/repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/class/defaultValue.st deleted file mode 100644 index 3d7f6377..00000000 --- a/repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/class/defaultValue.st +++ /dev/null @@ -1,3 +0,0 @@ -defaults -defaultValue - ^ nil \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/class/use.during..st b/repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/class/use.during..st deleted file mode 100644 index 1e03f82f..00000000 --- a/repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/class/use.during..st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -use: anObject during: aBlock - ^ self - value: anObject - during: aBlock \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/instance/default.st b/repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/instance/default.st deleted file mode 100644 index 59cb6f1b..00000000 --- a/repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/instance/default.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -default - ^ self class defaultValue \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/properties.json b/repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/properties.json deleted file mode 100644 index f4c6b16e..00000000 --- a/repository/Grease-Pharo10-Core.package/GRDynamicVariable.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "DynamicVariable", - "category" : "Grease-Pharo10-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRDynamicVariable", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPackage.extension/class/greasePharo70Core.st b/repository/Grease-Pharo10-Core.package/GRPackage.extension/class/greasePharo70Core.st deleted file mode 100644 index 71a7a5c7..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPackage.extension/class/greasePharo70Core.st +++ /dev/null @@ -1,7 +0,0 @@ -*Grease-Pharo10-Core -greasePharo70Core - ^ self new - name: 'Grease-Pharo90-Core'; - addDependency: 'Grease-Core'; - url: #greaseUrl; - yourself \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPackage.extension/properties.json b/repository/Grease-Pharo10-Core.package/GRPackage.extension/properties.json deleted file mode 100644 index ae522a7e..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPackage.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "GRPackage" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/README.md b/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/README.md deleted file mode 100644 index 7620280e..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/README.md +++ /dev/null @@ -1,7 +0,0 @@ -A WAConverterCodecStream is a WACodec stream around a TextConverter. It is always in text mode. - -Instance Variables - converter: - -converter - - the TextConverter used to do the encoding conversion diff --git a/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/class/on.converter..st b/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/class/on.converter..st deleted file mode 100644 index de8cd791..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/class/on.converter..st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -on: aStream converter: aConverter - ^ self basicNew initializeOn: aStream converter: aConverter \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/greaseNext.putAll.startingAt..st deleted file mode 100644 index 8321e299..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/greaseNext.putAll.startingAt..st +++ /dev/null @@ -1,3 +0,0 @@ -streaming -greaseNext: anInteger putAll: aCollection startingAt: startIndex - self nextPutAll: (aCollection copyFrom: startIndex to: startIndex + anInteger - 1) \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/initializeOn.converter..st b/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/initializeOn.converter..st deleted file mode 100644 index c380485d..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/initializeOn.converter..st +++ /dev/null @@ -1,4 +0,0 @@ -initialization -initializeOn: aStream converter: aConverter - self initializeOn: aStream. - converter := aConverter \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/next..st b/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/next..st deleted file mode 100644 index ef51837b..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/next..st +++ /dev/null @@ -1,8 +0,0 @@ -streaming -next: anInteger - | writeStream | - writeStream := WriteStream on: (String new: anInteger). - anInteger timesRepeat: [ - writeStream nextPut: (self next - ifNil: [ ^ writeStream contents ]) ]. - ^ writeStream contents \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/next.st b/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/next.st deleted file mode 100644 index eee99a1a..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/next.st +++ /dev/null @@ -1,6 +0,0 @@ -streaming -next - | character | - character := converter nextFromStream: stream. - ^ character isNil - ifFalse: [ character asCharacter ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/nextPut..st b/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/nextPut..st deleted file mode 100644 index e65f56c4..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/nextPut..st +++ /dev/null @@ -1,3 +0,0 @@ -streaming -nextPut: aCharacter - converter nextPut: aCharacter asCharacter toStream: stream \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/nextPutAll..st b/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/nextPutAll..st deleted file mode 100644 index a30c4507..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/instance/nextPutAll..st +++ /dev/null @@ -1,3 +0,0 @@ -streaming -nextPutAll: aString - aString asString do: [ :each | self nextPut: each ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/properties.json b/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/properties.json deleted file mode 100644 index 84458196..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoConverterCodecStream.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "pmm 6/25/2012 20:22", - "super" : "GRCodecStream", - "category" : "Grease-Pharo10-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "converter" - ], - "name" : "GRPharoConverterCodecStream", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/README.md b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/README.md deleted file mode 100644 index 08323f18..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/README.md +++ /dev/null @@ -1 +0,0 @@ -A WAUtf8CodecStream is a WACodecStream optimized for UTF-8 performance in the case where most of the characters are ASCII. diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/crlf.st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/crlf.st deleted file mode 100644 index ba607092..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/crlf.st +++ /dev/null @@ -1,4 +0,0 @@ -streaming -crlf - stream nextPut: Character cr. - stream nextPut: Character lf \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeDefault..st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeDefault..st deleted file mode 100644 index cdd58a41..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeDefault..st +++ /dev/null @@ -1,5 +0,0 @@ -private -encodeDefault: aString - "Convert the given string from UTF-8 using the fast path if converting to Latin-1" - 1 to: aString size by: 1 do: [ :index | - converter nextPut: (aString at: index) toStream: stream ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeFast..st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeFast..st deleted file mode 100644 index 9a8a0dc3..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeFast..st +++ /dev/null @@ -1,14 +0,0 @@ -private -encodeFast: aByteString - "Convert the given string from UTF-8 using the fast path if converting to Latin-1" - | lastIndex nextIndex | - lastIndex := 1. - nextIndex := ByteString findFirstInString: aByteString inSet: Latin1ToUtf8Map startingAt: lastIndex. - nextIndex = 0 ifTrue: [ ^ stream nextPutAll: aByteString ]. - [ nextIndex > lastIndex ifTrue: [ - stream greaseNext: nextIndex - lastIndex putAll: aByteString startingAt: lastIndex ]. - stream nextPutAll: (Latin1ToUtf8Encodings at: (aByteString byteAt: nextIndex) + 1). - lastIndex := nextIndex + 1. - nextIndex := ByteString findFirstInString: aByteString inSet: Latin1ToUtf8Map startingAt: lastIndex. - nextIndex = 0 ] whileFalse. - stream greaseNext: aByteString size - lastIndex + 1 putAll: aByteString startingAt: lastIndex \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st deleted file mode 100644 index cd78fbe0..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st +++ /dev/null @@ -1,5 +0,0 @@ -streaming -greaseNext: anInteger putAll: aCollection startingAt: startIndex - aCollection isByteString - ifTrue: [ self greaseNext: anInteger putAllFast: aCollection startingAt: startIndex ] - ifFalse: [ super greaseNext: anInteger putAll: aCollection startingAt: startIndex ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st deleted file mode 100644 index a4c114cb..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st +++ /dev/null @@ -1,17 +0,0 @@ -private -greaseNext: anInteger putAllFast: aByteString startingAt: startIndex - | lastIndex nextIndex | - lastIndex := startIndex. - nextIndex := ByteString findFirstInString: aByteString inSet: Latin1ToUtf8Map startingAt: lastIndex. - nextIndex = 0 ifTrue: [ ^ stream greaseNext: anInteger putAll: aByteString startingAt: startIndex ]. - [ - nextIndex >= (startIndex + anInteger) ifTrue: [ - ^ stream greaseNext: startIndex + anInteger - lastIndex putAll: aByteString startingAt: lastIndex ]. - nextIndex > lastIndex ifTrue: [ - stream greaseNext: nextIndex - lastIndex putAll: aByteString startingAt: lastIndex ]. - stream nextPutAll: (Latin1ToUtf8Encodings at: (aByteString byteAt: nextIndex) + 1). - lastIndex := nextIndex + 1. - nextIndex := ByteString findFirstInString: aByteString inSet: Latin1ToUtf8Map startingAt: lastIndex. - (nextIndex = 0 or: [ nextIndex >= (startIndex + anInteger) ]) ] whileFalse. - lastIndex >= (startIndex + anInteger) ifFalse: [ - stream greaseNext: startIndex + anInteger - lastIndex putAll: aByteString startingAt: lastIndex ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/invalidUtf8.st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/invalidUtf8.st deleted file mode 100644 index e4481c22..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/invalidUtf8.st +++ /dev/null @@ -1,3 +0,0 @@ -private -invalidUtf8 - ^ GRInvalidUtf8Error signal: 'Invalid UTF-8 input' \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next..st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next..st deleted file mode 100644 index 116f524d..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next..st +++ /dev/null @@ -1,46 +0,0 @@ -streaming -next: anInteger - "Convert the given string from UTF-8 using the fast path if converting to Latin-1" - | output byte1 byte2 byte3 byte4 unicode count alreadyWide | - output := ByteString new: anInteger. - count := 0. - alreadyWide := false. - [ count < anInteger and: [ stream atEnd not ] ] whileTrue: [ - byte1 := stream next. - unicode := byte1. - (byte1 bitAnd: 16rE0) = 192 ifTrue: [ "two bytes" - byte2 := stream next. - (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - unicode := ((byte1 bitAnd: 31) bitShift: 6) + (byte2 bitAnd: 63) ]. - (byte1 bitAnd: 16rF0) = 224 ifTrue: [ "three bytes" - byte2 := stream next. - (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - byte3 := stream next. - (byte3 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - unicode := ((byte1 bitAnd: 15) bitShift: 12) + ((byte2 bitAnd: 63) bitShift: 6) - + (byte3 bitAnd: 63). - alreadyWide ifFalse: [ - output := WideString withAll: output. - alreadyWide := true ] ]. - (byte1 bitAnd: 16rF8) = 240 ifTrue: [ "four bytes" - byte2 := stream next. - (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - byte3 := stream next. - (byte3 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - byte4 := stream next. - (byte4 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - unicode := ((byte1 bitAnd: 16r7) bitShift: 18) + - ((byte2 bitAnd: 63) bitShift: 12) + - ((byte3 bitAnd: 63) bitShift: 6) + - (byte4 bitAnd: 63). - alreadyWide ifFalse: [ - output := WideString withAll: output. - alreadyWide := true ] ]. - unicode ifNil: [ self invalidUtf8 ]. - unicode = 16rFEFF "ignore BOM" ifFalse: [ - count := count + 1. - output at: count put: (Character codePoint: unicode) ]. - unicode := nil ]. - ^ count < anInteger - ifTrue: [ output first: count ] - ifFalse: [ output ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next.st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next.st deleted file mode 100644 index 4363f086..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next.st +++ /dev/null @@ -1,3 +0,0 @@ -streaming -next - ^ (self next: 1) first \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPut..st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPut..st deleted file mode 100644 index ad2d94ab..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPut..st +++ /dev/null @@ -1,11 +0,0 @@ -streaming -nextPut: aCharacter - | codePoint shouldEncode | - codePoint := aCharacter codePoint. - codePoint > 255 - ifTrue: [ ^ self nextPutAll: (String with: aCharacter) ]. - shouldEncode := Latin1ToUtf8Map at: codePoint + 1. - shouldEncode = 1 - ifTrue: [ stream nextPutAll: (Latin1ToUtf8Encodings at: codePoint + 1) ] - ifFalse: [ stream nextPut: aCharacter ] - \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPutAll..st b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPutAll..st deleted file mode 100644 index b9136110..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPutAll..st +++ /dev/null @@ -1,5 +0,0 @@ -streaming -nextPutAll: aString - aString isByteString - ifTrue: [ self encodeFast: aString ] - ifFalse: [ self encodeDefault: aString ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/properties.json b/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/properties.json deleted file mode 100644 index 419803be..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoDeprecatedUtf8CodecStream.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "pmm 2/20/2009 12:27", - "super" : "GRPharoConverterCodecStream", - "category" : "Grease-Pharo10-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ - "Latin1ToUtf8Encodings", - "Latin1ToUtf8Map" - ], - "instvars" : [ ], - "name" : "GRPharoDeprecatedUtf8CodecStream", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/README.md b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/README.md deleted file mode 100644 index 3f437d62..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/README.md +++ /dev/null @@ -1 +0,0 @@ -A GRPharoLatin1Codec is a WACodec optimized for ISO-8859-1 (direct byte to character mapping). \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/basicForEncoding..st b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/basicForEncoding..st deleted file mode 100644 index f6b18bd4..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/basicForEncoding..st +++ /dev/null @@ -1,5 +0,0 @@ -private -basicForEncoding: aString - (self supportsEncoding: aString) - ifFalse: [ self unsupportedEncoding: aString ]. - ^ self basicNew initializeWithName: aString \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/codecs.st b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/codecs.st deleted file mode 100644 index 7a96b703..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/codecs.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -codecs - ^ Array with: (self basicForEncoding: 'iso-8859-1') \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/supportedEncodingNames.st b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/supportedEncodingNames.st deleted file mode 100644 index e5dca068..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/supportedEncodingNames.st +++ /dev/null @@ -1,3 +0,0 @@ -private -supportedEncodingNames - ^ #('iso-8859-1' 'ISO-8859-1' 'latin-1' 'latin1') \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/supportsEncoding..st b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/supportsEncoding..st deleted file mode 100644 index bc591573..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/class/supportsEncoding..st +++ /dev/null @@ -1,4 +0,0 @@ -private -supportsEncoding: aString - "Answer whether the the given encoding name is supported." - ^ self supportedEncodingNames includes: aString \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/decode..st b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/decode..st deleted file mode 100644 index 5f73b526..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/decode..st +++ /dev/null @@ -1,5 +0,0 @@ -conversion -decode: aStringOrByteArray - "Overridden for efficencey." - - ^ aStringOrByteArray asString \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/decoderFor..st b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/decoderFor..st deleted file mode 100644 index 256dbac4..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/decoderFor..st +++ /dev/null @@ -1,4 +0,0 @@ -conversion -decoderFor: aReadStream - "wrap to avoid String vs ByteArray issues" - ^ GRPharoLatin1CodecStream on: aReadStream \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/encoderFor..st b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/encoderFor..st deleted file mode 100644 index 20102849..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/encoderFor..st +++ /dev/null @@ -1,4 +0,0 @@ -conversion -encoderFor: aWriteStream - "wrap to avoid String vs ByteArray issues" - ^ GRPharoLatin1CodecStream on: aWriteStream \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/initializeWithName..st b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/initializeWithName..st deleted file mode 100644 index b0256973..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/initializeWithName..st +++ /dev/null @@ -1,4 +0,0 @@ -initialization -initializeWithName: aString - self initialize. - name := aString \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/name.st b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/name.st deleted file mode 100644 index 22077c20..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ name \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/properties.json b/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/properties.json deleted file mode 100644 index a50980da..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoLatin1Codec.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRNullCodec", - "category" : "Grease-Pharo10-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "name" - ], - "name" : "GRPharoLatin1Codec", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/README.md b/repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/README.md deleted file mode 100644 index e1c2471b..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/README.md +++ /dev/null @@ -1 +0,0 @@ -A GRPharoLatin1CodecStream is a WACodecStream optimized for ISO-8859-1 (direct byte to character mapping). \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/instance/next..st b/repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/instance/next..st deleted file mode 100644 index a734bc76..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/instance/next..st +++ /dev/null @@ -1,3 +0,0 @@ -streaming -next: anInteger - ^ (stream next: anInteger) asString \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/instance/next.st b/repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/instance/next.st deleted file mode 100644 index bf70df58..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/instance/next.st +++ /dev/null @@ -1,3 +0,0 @@ -streaming -next - ^ Character value: stream next \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/properties.json b/repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/properties.json deleted file mode 100644 index 37d5386d..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoLatin1CodecStream.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRNullCodecStream", - "category" : "Grease-Pharo10-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRPharoLatin1CodecStream", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/README.md b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/README.md deleted file mode 100644 index f0375aac..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/README.md +++ /dev/null @@ -1 +0,0 @@ -A WASqueakPlatform is the Squeak implementation of SeasidePlatformSupport, the Seaside class that provides functionality that can not be implemented in a platform independent way. diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/initialize.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/initialize.st deleted file mode 100644 index 0c86564c..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/initialize.st +++ /dev/null @@ -1,5 +0,0 @@ -class initialization -initialize - self initializeXmlTable. - self initializeUrlTable. - self select \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/initializeUrlTable.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/initializeUrlTable.st deleted file mode 100644 index 9abf56b7..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/initializeUrlTable.st +++ /dev/null @@ -1,7 +0,0 @@ -class initialization -initializeUrlTable - UrlTable := ByteArray new: 256. - 1 to: 256 do: [ :index | - ('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.~' includes: (Character codePoint: index - 1)) - ifTrue: [ UrlTable at: index put: 0 ] - ifFalse: [ UrlTable at: index put: 1 ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/initializeXmlTable.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/initializeXmlTable.st deleted file mode 100644 index 830a5595..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/initializeXmlTable.st +++ /dev/null @@ -1,7 +0,0 @@ -class initialization -initializeXmlTable - XmlTable := ByteArray new: 256. - 1 to: 256 do: [ :index | - ('"<&>' includes: (Character codePoint: index - 1)) - ifTrue: [ XmlTable at: index put: 1 ] - ifFalse: [ XmlTable at: index put: 0 ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/unload.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/unload.st deleted file mode 100644 index 4c8dd650..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/class/unload.st +++ /dev/null @@ -1,3 +0,0 @@ -class initialization -unload - self unselect \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/addToShutDownList..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/addToShutDownList..st deleted file mode 100644 index f8d3ad5f..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/addToShutDownList..st +++ /dev/null @@ -1,5 +0,0 @@ -startup -addToShutDownList: anObject - "Add anObject to the shutdown-list of the system. On shutdown the message #shutDown will be sent to anObject." - - Smalltalk addToShutDownList: anObject \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/addToStartUpList..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/addToStartUpList..st deleted file mode 100644 index c4ab1dea..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/addToStartUpList..st +++ /dev/null @@ -1,5 +0,0 @@ -startup -addToStartUpList: aClass - "Add anObject to the startup-list of the system. On startup the message #startUp will be sent to anObject." - - SessionManager default registerUserClassNamed: aClass name. \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArray.named..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArray.named..st deleted file mode 100644 index ba4a0727..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArray.named..st +++ /dev/null @@ -1,6 +0,0 @@ -file library -asMethodReturningByteArray: aByteArrayOrString named: aSymbol - "Generates the source of a method named aSymbol that returns aByteArrayOrString as a ByteArray" - ^ self useByteArrayLiterals - ifTrue: [ self asMethodReturningByteArrayLiteral: aByteArrayOrString named: aSymbol ] - ifFalse: [ self asMethodReturningByteArrayWithCache: aByteArrayOrString named: aSymbol ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayLiteral.named..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayLiteral.named..st deleted file mode 100644 index 90bb405c..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayLiteral.named..st +++ /dev/null @@ -1,10 +0,0 @@ -private-file library -asMethodReturningByteArrayLiteral: aByteArrayOrString named: aSymbol - "Generates the source of a method named aSymbol that returns aByteArrayOrString as a byte array using VW/NewCompiler byte array literal syntax." - ^ String streamContents: [ :stream | - stream nextPutAll: aSymbol; nextPut: Character cr. - stream tab; nextPutAll: '^ #['. - aByteArrayOrString asByteArray - do: [ :each | each printOn: stream ] - separatedBy: [ stream space ]. - stream nextPutAll: ']' ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayWithCache.named..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayWithCache.named..st deleted file mode 100644 index a1f9fe07..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayWithCache.named..st +++ /dev/null @@ -1,10 +0,0 @@ -private-file library -asMethodReturningByteArrayWithCache: aByteArrayOrString named: aSymbol - "Generates the source of a method named aSymbol that returns aByteArrayOrString as a byte array and caching this array in a literal array of size 1." - ^ String streamContents: [ :stream | - stream nextPutAll: aSymbol; nextPut: Character cr. - stream tab; nextPutAll: '^ #('. - aByteArrayOrString asByteArray - do: [ :each | each printOn: stream ] - separatedBy: [ stream space ]. - stream nextPutAll: ') asByteArray' ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/base64Decode..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/base64Decode..st deleted file mode 100644 index 3fb71b1a..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/base64Decode..st +++ /dev/null @@ -1,3 +0,0 @@ -encoding -base64Decode: aString - ^ aString base64Decoded asString \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/bindingOf..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/bindingOf..st deleted file mode 100644 index e878c01b..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/bindingOf..st +++ /dev/null @@ -1,4 +0,0 @@ -bindings -bindingOf: aClass - - ^ Smalltalk globals associationAt: aClass name \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/compile.into.classified..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/compile.into.classified..st deleted file mode 100644 index 45c37a45..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/compile.into.classified..st +++ /dev/null @@ -1,3 +0,0 @@ -file library -compile: aString into: aClass classified: aSymbol - aClass compile: aString classified: aSymbol \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st deleted file mode 100644 index ecfdc9d4..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st +++ /dev/null @@ -1,3 +0,0 @@ -file library -contentsOfFile: aString binary: aBoolean - ^ self readFileStreamOn: aString do: [ :stream | stream contents ] binary: aBoolean \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/directoriesIn..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/directoriesIn..st deleted file mode 100644 index c5beee09..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/directoriesIn..st +++ /dev/null @@ -1,8 +0,0 @@ -file library -directoriesIn: aPathString - "Answer a collection of absolute paths for all the directories (no files) in the directory given by aPathString - must not include directory names that start with ." - ^ Array streamContents: [ :stream | - FileSystem disk directoriesAt: aPathString do: [ :each | - each basename first = $. ifFalse: [ - stream nextPut: each asFileReference fullName ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/doSilently..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/doSilently..st deleted file mode 100644 index 9ea296ff..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/doSilently..st +++ /dev/null @@ -1,3 +0,0 @@ -private -doSilently: aBlock - ^ SystemAnnouncer uniqueInstance suspendAllWhile: aBlock \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st deleted file mode 100644 index 907e0168..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st +++ /dev/null @@ -1,4 +0,0 @@ -file library -ensureExistenceOfFolder: aString - "creates a folder named aString in the image directory" - FileSystem disk ensureCreateDirectory: aString \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/fileExists..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/fileExists..st deleted file mode 100644 index 2a02cc3f..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/fileExists..st +++ /dev/null @@ -1,3 +0,0 @@ -file library -fileExists: aString - ^ aString asFileReference exists \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/filesIn..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/filesIn..st deleted file mode 100644 index e3b9a6b0..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/filesIn..st +++ /dev/null @@ -1,8 +0,0 @@ -file library -filesIn: aPathString - "Return a collection of absolute paths for all the files (no directories) in the directory given by aPathString - must not include file names that start with ." - ^ Array streamContents: [ :stream | - FileSystem disk filesAt: aPathString do: [ :each | - each basename first = $. ifFalse: [ - stream nextPut: each asFileReference fullName ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/isProcessTerminated..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/isProcessTerminated..st deleted file mode 100644 index 03b50778..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/isProcessTerminated..st +++ /dev/null @@ -1,4 +0,0 @@ -processes -isProcessTerminated: aProcess - "Return a boolean indicating whether aProcess has been terminated." - ^ aProcess isTerminated \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/label.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/label.st deleted file mode 100644 index f3b036e2..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/label.st +++ /dev/null @@ -1,3 +0,0 @@ -version info -label - ^ 'Pharo' \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/localNameOf..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/localNameOf..st deleted file mode 100644 index 8f4efb85..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/localNameOf..st +++ /dev/null @@ -1,3 +0,0 @@ -file library -localNameOf: aFilename - ^ (FileSystem disk resolveString: aFilename) basename \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/newRandom.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/newRandom.st deleted file mode 100644 index 9d90824d..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/newRandom.st +++ /dev/null @@ -1,10 +0,0 @@ -factory -newRandom - "Answers the random number generator to be used to create session and continuation keys. Make sure it is seeded. They only methods that will be sent to it are: - #nextInt: - should answer a random integer in the interval [1, anInteger] - #randomFrom: - should answer a random element from the given collection - - Make sure that both methods are safe under heavy concurrent load. - - Used by Gemstone/S traditional Randoms which cannot be persisted.." - ^ GRPharoRandomProvider \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/newline.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/newline.st deleted file mode 100644 index 1219045d..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/newline.st +++ /dev/null @@ -1,3 +0,0 @@ -file library -newline - ^ String cr \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st deleted file mode 100644 index 305157e2..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st +++ /dev/null @@ -1,18 +0,0 @@ -exceptions -openDebuggerOn: anError - | process | - process := Processor activeProcess. - "If we are running in the UI process, we don't want to suspend the active process. The - error was presumably triggered while stepping in the Debugger. If we simply immediately - signal an UnhandledError, the debugger will catch this and display the signaling context. - It isn't perfect or pretty but it works." - (ProcessBrowser isUIProcess: process) - ifTrue: [ - UnhandledError signalForException: anError ] - ifFalse: [ - WorldState addDeferredUIMessage: [ - UIManager default - requestDebuggerOpeningForProcess: process - named: anError description - inContext: anError signalerContext ]. - process suspend ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/pathSeparator.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/pathSeparator.st deleted file mode 100644 index 10f88300..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/pathSeparator.st +++ /dev/null @@ -1,3 +0,0 @@ -file library -pathSeparator - ^ String with: FileSystem disk delimiter \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/readFileStreamOn.do.binary..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/readFileStreamOn.do.binary..st deleted file mode 100644 index 1852f83e..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/readFileStreamOn.do.binary..st +++ /dev/null @@ -1,6 +0,0 @@ -file library -readFileStreamOn: aString do: aBlock binary: aBoolean - - ^ aBoolean - ifTrue: [ aString asFileReference binaryReadStreamDo: aBlock ] - ifFalse: [ aString asFileReference readStreamEncoded: 'utf-8' do: aBlock ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/readWriteByteStream.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/readWriteByteStream.st deleted file mode 100644 index db9518ee..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/readWriteByteStream.st +++ /dev/null @@ -1,5 +0,0 @@ -factory -readWriteByteStream - "ByteArray based read write stream" - - ^ ReadWriteStream on: (ByteArray new: 4096) \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/readWriteCharacterStream.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/readWriteCharacterStream.st deleted file mode 100644 index 3f94c5af..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/readWriteCharacterStream.st +++ /dev/null @@ -1,5 +0,0 @@ -factory -readWriteCharacterStream - "String based read write stream" - - ^ ReadWriteStream on: (String new: 4096) \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/removeFromShutDownList..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/removeFromShutDownList..st deleted file mode 100644 index 58137e33..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/removeFromShutDownList..st +++ /dev/null @@ -1,5 +0,0 @@ -startup -removeFromShutDownList: aClass - "Remove aClass from the shutdown list in the system." - - SessionManager default unregisterClassNamed: aClass name \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/removeFromStartUpList..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/removeFromStartUpList..st deleted file mode 100644 index 76918209..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/removeFromStartUpList..st +++ /dev/null @@ -1,5 +0,0 @@ -startup -removeFromStartUpList: aClass - "Remove aClass from the startup list in the system." - - SessionManager default unregisterClassNamed: aClass name \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/removeSelector.from..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/removeSelector.from..st deleted file mode 100644 index 92cbd7ff..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/removeSelector.from..st +++ /dev/null @@ -1,3 +0,0 @@ -file library -removeSelector: aSymbol from: aClass - aClass removeSelector: aSymbol \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/secureHashFor..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/secureHashFor..st deleted file mode 100644 index 46b9e2d2..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/secureHashFor..st +++ /dev/null @@ -1,3 +0,0 @@ -cryptography -secureHashFor: aString - ^ SHA1 new hashMessage: aString \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/semaphoreClass.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/semaphoreClass.st deleted file mode 100644 index ceccf9e3..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/semaphoreClass.st +++ /dev/null @@ -1,4 +0,0 @@ -factory -semaphoreClass - "used by Gemstone/S traditional Semaphores which cannot be persisted" - ^ Semaphore \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/stackDepth.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/stackDepth.st deleted file mode 100644 index d7e6feab..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/stackDepth.st +++ /dev/null @@ -1,10 +0,0 @@ -exceptions -stackDepth - - | depth current | - depth := 0. - current := thisContext. - [ current isNil ] whileFalse: [ - current := current sender. - depth := depth + 1 ]. - ^ depth - 1 \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/terminateProcess..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/terminateProcess..st deleted file mode 100644 index a09b96e1..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/terminateProcess..st +++ /dev/null @@ -1,4 +0,0 @@ -processes -terminateProcess: aProcess - "Permanently terminate the process, unwinding first to execute #ensure: and #ifCurtailed: blocks." - aProcess terminate \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/thisContext.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/thisContext.st deleted file mode 100644 index c936ecad..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/thisContext.st +++ /dev/null @@ -1,4 +0,0 @@ -processes -thisContext - - ^ thisContext sender \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/useByteArrayLiterals.st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/useByteArrayLiterals.st deleted file mode 100644 index 71b0f2cf..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/useByteArrayLiterals.st +++ /dev/null @@ -1,4 +0,0 @@ -private-file library -useByteArrayLiterals - "whether ByteArray literals can/should be used" - ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/weakDictionaryOfSize..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/weakDictionaryOfSize..st deleted file mode 100644 index b0ca3d82..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/weakDictionaryOfSize..st +++ /dev/null @@ -1,3 +0,0 @@ -factory -weakDictionaryOfSize: aNumber - ^ IdentityDictionary new: aNumber \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/write.toFile.inFolder..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/write.toFile.inFolder..st deleted file mode 100644 index bbde965a..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/write.toFile.inFolder..st +++ /dev/null @@ -1,7 +0,0 @@ -file library -write: aStringOrByteArray toFile: aFileNameString inFolder: aFolderString - "writes aStringOrByteArray to a file named aFilenameString in the folder aFolderString" - ^ self - writeFileStreamOn: (aFolderString asFileReference / aFileNameString) ensureDelete pathString - do: [ :stream | stream nextPutAll: aStringOrByteArray ] - binary: aStringOrByteArray isString not \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/writeFileStreamOn.do.binary..st b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/writeFileStreamOn.do.binary..st deleted file mode 100644 index 0b43135e..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/instance/writeFileStreamOn.do.binary..st +++ /dev/null @@ -1,5 +0,0 @@ -file library -writeFileStreamOn: aString do: aBlock binary: aBoolean - ^ aBoolean - ifTrue: [ aString asFileReference binaryWriteStreamDo: aBlock ] - ifFalse: [ aString asFileReference writeStreamEncoded: 'utf-8' do: [ :str | aBlock value: (ZnNewLineWriterStream on: str) ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/properties.json b/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/properties.json deleted file mode 100644 index 7a263830..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoPlatform.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "pmm 6/1/2008 01:03", - "super" : "GRPlatform", - "category" : "Grease-Pharo10-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ - "UrlTable", - "XmlTable" - ], - "instvars" : [ ], - "name" : "GRPharoPlatform", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/README.md b/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/initialize.st b/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/initialize.st deleted file mode 100644 index 04ca54c3..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/initialize.st +++ /dev/null @@ -1,4 +0,0 @@ -private -initialize - Smalltalk addToStartUpList: self. - self startUp \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/nextInt..st b/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/nextInt..st deleted file mode 100644 index 1036c2f7..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/nextInt..st +++ /dev/null @@ -1,6 +0,0 @@ -public -nextInt: anInteger - - "Answer a random integer in the interval [1, anInteger]" - - ^ mutex critical: [ generator nextInteger: anInteger ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/randomClass.st b/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/randomClass.st deleted file mode 100644 index 85a2db91..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/randomClass.st +++ /dev/null @@ -1,3 +0,0 @@ -private -randomClass - ^ Random \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/randomFrom..st b/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/randomFrom..st deleted file mode 100644 index a5fe470c..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/randomFrom..st +++ /dev/null @@ -1,11 +0,0 @@ -public -randomFrom: aCollection - | random count | - random := self nextInt: aCollection size. - ^ aCollection isSequenceable - ifTrue: [ aCollection at: random ] - ifFalse: [ - count := 1. - aCollection do: [ :ea | - count = random ifTrue: [ ^ ea ]. - count := count + 1 ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/startUp.st b/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/startUp.st deleted file mode 100644 index 663a5243..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/startUp.st +++ /dev/null @@ -1,4 +0,0 @@ -class initialization -startUp - generator := self randomClass new. - mutex := Semaphore forMutualExclusion \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/unload.st b/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/unload.st deleted file mode 100644 index fd4cb930..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/class/unload.st +++ /dev/null @@ -1,3 +0,0 @@ -private -unload - GRPlatform current removeFromStartUpList: self \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/properties.json b/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/properties.json deleted file mode 100644 index 420f8496..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoRandomProvider.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRObject", - "category" : "Grease-Pharo10-Core", - "classinstvars" : [ - "mutex", - "generator" - ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRPharoRandomProvider", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/README.md b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/README.md deleted file mode 100644 index c6047951..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/README.md +++ /dev/null @@ -1 +0,0 @@ -A WAUtf8Codec is a WACodec optimized for UTF-8. \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/basicForEncoding..st b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/basicForEncoding..st deleted file mode 100644 index d4c4a74b..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/basicForEncoding..st +++ /dev/null @@ -1,3 +0,0 @@ -private -basicForEncoding: aString - ^ self new \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/codecs.st b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/codecs.st deleted file mode 100644 index 632b84fb..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/codecs.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -codecs - ^ Array with: self new \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st deleted file mode 100644 index f1f07f4a..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st +++ /dev/null @@ -1,3 +0,0 @@ -private -supportsEncoding: aString - ^ (#('utf-8' 'UTF-8' 'utf8') includes: aString) \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/decode..st b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/decode..st deleted file mode 100644 index e9869000..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/decode..st +++ /dev/null @@ -1,3 +0,0 @@ -convenience -decode: aStringOrByteArray - ^ super decode: aStringOrByteArray asByteArray \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st deleted file mode 100644 index 0c2be49b..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st +++ /dev/null @@ -1,4 +0,0 @@ -conversion -decoderFor: aStream - ^ GRPharoZnUtf8CodecStream - on: aStream \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/encodedStringClass.st b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/encodedStringClass.st deleted file mode 100644 index 6e5de896..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/encodedStringClass.st +++ /dev/null @@ -1,3 +0,0 @@ -conversion -encodedStringClass - ^ ByteArray \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st deleted file mode 100644 index 0e80cdaf..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st +++ /dev/null @@ -1,4 +0,0 @@ -conversion -encoderFor: aStream - ^ GRPharoZnUtf8CodecStream - on: aStream \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/invalidUtf8.st b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/invalidUtf8.st deleted file mode 100644 index e4481c22..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/invalidUtf8.st +++ /dev/null @@ -1,3 +0,0 @@ -private -invalidUtf8 - ^ GRInvalidUtf8Error signal: 'Invalid UTF-8 input' \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/name.st b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/name.st deleted file mode 100644 index 7886c830..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'utf-8' \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/url.st b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/url.st deleted file mode 100644 index 4696d714..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/instance/url.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -url - ^ self \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/properties.json b/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/properties.json deleted file mode 100644 index 6a2947a4..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoUtf8Codec.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "pmm 2/20/2009 12:51", - "super" : "GRCodec", - "category" : "Grease-Pharo10-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRPharoUtf8Codec", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/README.md b/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st deleted file mode 100644 index 73411a20..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -greaseNext: anInteger putAll: aCollection startingAt: startIndex - self nextPutAll: (aCollection copyFrom: startIndex to: startIndex + anInteger - 1) \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/initializeOn..st b/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/initializeOn..st deleted file mode 100644 index ece3cda0..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/initializeOn..st +++ /dev/null @@ -1,4 +0,0 @@ -initialization -initializeOn: aStream - super initializeOn: aStream. - encoder := ZnCharacterEncoder utf8 \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/next..st b/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/next..st deleted file mode 100644 index b5f1ff9a..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/next..st +++ /dev/null @@ -1,8 +0,0 @@ -accessing -next: anInteger - | writeStream | - writeStream := WriteStream on: (String new: anInteger). - anInteger timesRepeat: [ - writeStream nextPut: (self next - ifNil: [ ^ writeStream contents ]) ]. - ^ writeStream contents \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/next.st b/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/next.st deleted file mode 100644 index ccde08f3..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/next.st +++ /dev/null @@ -1,6 +0,0 @@ -accessing -next - | character | - stream atEnd ifTrue: [ ^ nil ]. - character := encoder nextFromStream: stream. - ^ character ifNotNil: [ character asCharacter ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPut..st b/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPut..st deleted file mode 100644 index 3cad62a0..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPut..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -nextPut: aCharacter - encoder nextPut: aCharacter asCharacter toStream: stream \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st b/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st deleted file mode 100644 index f8f3e8e4..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st +++ /dev/null @@ -1,3 +0,0 @@ -streaming -nextPutAll: aString - aString asString do:[ :each | self nextPut: each ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/properties.json b/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/properties.json deleted file mode 100644 index 7072b9d4..00000000 --- a/repository/Grease-Pharo10-Core.package/GRPharoZnUtf8CodecStream.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRCodecStream", - "category" : "Grease-Pharo10-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "encoder" - ], - "name" : "GRPharoZnUtf8CodecStream", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRSmallDictionary.extension/instance/inspectionItems..st b/repository/Grease-Pharo10-Core.package/GRSmallDictionary.extension/instance/inspectionItems..st deleted file mode 100644 index c29d6add..00000000 --- a/repository/Grease-Pharo10-Core.package/GRSmallDictionary.extension/instance/inspectionItems..st +++ /dev/null @@ -1,15 +0,0 @@ -*Grease-Pharo10-Core -inspectionItems: aBuilder - - - ^ aBuilder newTable - addColumn: (SpStringTableColumn - title: 'Key' - evaluated: [ :each | StObjectPrinter asTruncatedTextFrom: each key ]) - beSortable; - addColumn: (SpStringTableColumn - title: 'Value' - evaluated: [ :each | StObjectPrinter asTruncatedTextFrom: each value ]) - beSortable; - items: self associations; - yourself \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRSmallDictionary.extension/properties.json b/repository/Grease-Pharo10-Core.package/GRSmallDictionary.extension/properties.json deleted file mode 100644 index 0d78b749..00000000 --- a/repository/Grease-Pharo10-Core.package/GRSmallDictionary.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "GRSmallDictionary" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRSmallDictionary2.extension/instance/inspectionItems..st b/repository/Grease-Pharo10-Core.package/GRSmallDictionary2.extension/instance/inspectionItems..st deleted file mode 100644 index c29d6add..00000000 --- a/repository/Grease-Pharo10-Core.package/GRSmallDictionary2.extension/instance/inspectionItems..st +++ /dev/null @@ -1,15 +0,0 @@ -*Grease-Pharo10-Core -inspectionItems: aBuilder - - - ^ aBuilder newTable - addColumn: (SpStringTableColumn - title: 'Key' - evaluated: [ :each | StObjectPrinter asTruncatedTextFrom: each key ]) - beSortable; - addColumn: (SpStringTableColumn - title: 'Value' - evaluated: [ :each | StObjectPrinter asTruncatedTextFrom: each value ]) - beSortable; - items: self associations; - yourself \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/GRSmallDictionary2.extension/properties.json b/repository/Grease-Pharo10-Core.package/GRSmallDictionary2.extension/properties.json deleted file mode 100644 index c5c0f1c8..00000000 --- a/repository/Grease-Pharo10-Core.package/GRSmallDictionary2.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "GRSmallDictionary2" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Interval.extension/instance/any.st b/repository/Grease-Pharo10-Core.package/Interval.extension/instance/any.st deleted file mode 100644 index 428f5133..00000000 --- a/repository/Grease-Pharo10-Core.package/Interval.extension/instance/any.st +++ /dev/null @@ -1,6 +0,0 @@ -*Grease-Pharo10-Core -any - "#first (used by SequenceableCollection>>anyOne) is an accessor of - Interval and does not error on an empty Interval." - - ^ self at: 1 \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Interval.extension/properties.json b/repository/Grease-Pharo10-Core.package/Interval.extension/properties.json deleted file mode 100644 index 534eb553..00000000 --- a/repository/Grease-Pharo10-Core.package/Interval.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "Interval" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/MessageSend.extension/instance/argumentCount.st b/repository/Grease-Pharo10-Core.package/MessageSend.extension/instance/argumentCount.st deleted file mode 100644 index e749e242..00000000 --- a/repository/Grease-Pharo10-Core.package/MessageSend.extension/instance/argumentCount.st +++ /dev/null @@ -1,3 +0,0 @@ -*Grease-Pharo10-Core -argumentCount - ^ selector numArgs - self arguments size \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/MessageSend.extension/instance/valueWithPossibleArguments..st b/repository/Grease-Pharo10-Core.package/MessageSend.extension/instance/valueWithPossibleArguments..st deleted file mode 100644 index 569d5bc6..00000000 --- a/repository/Grease-Pharo10-Core.package/MessageSend.extension/instance/valueWithPossibleArguments..st +++ /dev/null @@ -1,7 +0,0 @@ -*Grease-Pharo10-Core -valueWithPossibleArguments: anArray - "Evaluate the block represented by the receiver. - If the block requires one argument, use anArg, if it requires more than one, - fill up the rest with nils." - - ^ self valueWithEnoughArguments: anArray \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/MessageSend.extension/properties.json b/repository/Grease-Pharo10-Core.package/MessageSend.extension/properties.json deleted file mode 100644 index 00669b90..00000000 --- a/repository/Grease-Pharo10-Core.package/MessageSend.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "MessageSend" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Number.extension/instance/milliseconds.st b/repository/Grease-Pharo10-Core.package/Number.extension/instance/milliseconds.st deleted file mode 100644 index 806c5c4d..00000000 --- a/repository/Grease-Pharo10-Core.package/Number.extension/instance/milliseconds.st +++ /dev/null @@ -1,3 +0,0 @@ -*Grease-Pharo10-Core -milliseconds - ^ self milliSeconds \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Number.extension/properties.json b/repository/Grease-Pharo10-Core.package/Number.extension/properties.json deleted file mode 100644 index 71dace88..00000000 --- a/repository/Grease-Pharo10-Core.package/Number.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "Number" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Object.extension/instance/greaseString.st b/repository/Grease-Pharo10-Core.package/Object.extension/instance/greaseString.st deleted file mode 100644 index 0b9be79a..00000000 --- a/repository/Grease-Pharo10-Core.package/Object.extension/instance/greaseString.st +++ /dev/null @@ -1,3 +0,0 @@ -*Grease-Pharo10-Core -greaseString - ^ self asString \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Object.extension/properties.json b/repository/Grease-Pharo10-Core.package/Object.extension/properties.json deleted file mode 100644 index f30a86e1..00000000 --- a/repository/Grease-Pharo10-Core.package/Object.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "Object" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Point.extension/instance/greaseString.st b/repository/Grease-Pharo10-Core.package/Point.extension/instance/greaseString.st deleted file mode 100644 index 06c93324..00000000 --- a/repository/Grease-Pharo10-Core.package/Point.extension/instance/greaseString.st +++ /dev/null @@ -1,13 +0,0 @@ -*Grease-Pharo10-Core -greaseString - "Reimplemented because in Pharo 1.4 - (4 @ 2) greaseString - ansers '(4@2)'" - ^ String streamContents: [ :stream | - x printOn: stream. - stream nextPut: $@. - (y notNil and: [ y negative ]) - ifTrue: [ - "Avoid ambiguous @- construct" - stream space ]. - y printOn: stream ] \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Point.extension/properties.json b/repository/Grease-Pharo10-Core.package/Point.extension/properties.json deleted file mode 100644 index c6cf8dd5..00000000 --- a/repository/Grease-Pharo10-Core.package/Point.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "Point" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/PositionableStream.extension/instance/greaseUpToAll..st b/repository/Grease-Pharo10-Core.package/PositionableStream.extension/instance/greaseUpToAll..st deleted file mode 100644 index 0ee79bee..00000000 --- a/repository/Grease-Pharo10-Core.package/PositionableStream.extension/instance/greaseUpToAll..st +++ /dev/null @@ -1,5 +0,0 @@ -*Grease-Pharo10-Core -greaseUpToAll: aCollection - "Needed for Seaside ports to other dialects where #upToAll: may have - different semantics" - ^ self upToAll: aCollection \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/PositionableStream.extension/properties.json b/repository/Grease-Pharo10-Core.package/PositionableStream.extension/properties.json deleted file mode 100644 index 8e090ee3..00000000 --- a/repository/Grease-Pharo10-Core.package/PositionableStream.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "PositionableStream" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/ScaledDecimal.extension/instance/encodeOn..st b/repository/Grease-Pharo10-Core.package/ScaledDecimal.extension/instance/encodeOn..st deleted file mode 100644 index 530466b4..00000000 --- a/repository/Grease-Pharo10-Core.package/ScaledDecimal.extension/instance/encodeOn..st +++ /dev/null @@ -1,5 +0,0 @@ -*Grease-Pharo10-Core -encodeOn: aDocument - | converter | - converter := GRSignPrinter new, (GRNumberPrinter new precision: self scale). - converter print: self on: aDocument \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/ScaledDecimal.extension/instance/greaseString.st b/repository/Grease-Pharo10-Core.package/ScaledDecimal.extension/instance/greaseString.st deleted file mode 100644 index cf75a0b0..00000000 --- a/repository/Grease-Pharo10-Core.package/ScaledDecimal.extension/instance/greaseString.st +++ /dev/null @@ -1,5 +0,0 @@ -*Grease-Pharo10-Core -greaseString - | converter | - converter := GRSignPrinter new, (GRNumberPrinter new precision: self scale). - ^ converter print: self \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/ScaledDecimal.extension/properties.json b/repository/Grease-Pharo10-Core.package/ScaledDecimal.extension/properties.json deleted file mode 100644 index 75f85f87..00000000 --- a/repository/Grease-Pharo10-Core.package/ScaledDecimal.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "ScaledDecimal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st b/repository/Grease-Pharo10-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st deleted file mode 100644 index 28978138..00000000 --- a/repository/Grease-Pharo10-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st +++ /dev/null @@ -1,4 +0,0 @@ -*Grease-Pharo10-Core -beginsWithSubCollection: aSequenceableCollection - "Some platforms implement #beginsWith: to answer true for an empty argument." - ^ self beginsWith: aSequenceableCollection \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st b/repository/Grease-Pharo10-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st deleted file mode 100644 index d6e1bad8..00000000 --- a/repository/Grease-Pharo10-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st +++ /dev/null @@ -1,4 +0,0 @@ -*Grease-Pharo10-Core -endsWithSubCollection: aSequenceableCollection - "Some platforms implement #endsWith: to answer true for an empty argument." - ^ self endsWith: aSequenceableCollection \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/SequenceableCollection.extension/properties.json b/repository/Grease-Pharo10-Core.package/SequenceableCollection.extension/properties.json deleted file mode 100644 index a68b7db6..00000000 --- a/repository/Grease-Pharo10-Core.package/SequenceableCollection.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "SequenceableCollection" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/SocketStream.extension/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo10-Core.package/SocketStream.extension/instance/greaseNext.putAll.startingAt..st deleted file mode 100644 index e164123b..00000000 --- a/repository/Grease-Pharo10-Core.package/SocketStream.extension/instance/greaseNext.putAll.startingAt..st +++ /dev/null @@ -1,13 +0,0 @@ -*Grease-Pharo10-Core -greaseNext: anInteger putAll: aCollection startingAt: startIndex - "Put a String or a ByteArray onto the stream starting at the given position. - Currently a large collection will allocate a large buffer." - - | toPut | - anInteger = 0 ifTrue: [ - ^ aCollection ]. - toPut := binary ifTrue: [ aCollection asByteArray ] ifFalse: [ aCollection asString ]. - self adjustOutBuffer: anInteger. - outBuffer replaceFrom: outNextToWrite to: outNextToWrite + anInteger - 1 with: toPut startingAt: startIndex. - outNextToWrite := outNextToWrite + anInteger. - self checkFlush \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/SocketStream.extension/properties.json b/repository/Grease-Pharo10-Core.package/SocketStream.extension/properties.json deleted file mode 100644 index 797e09e5..00000000 --- a/repository/Grease-Pharo10-Core.package/SocketStream.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "SocketStream" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Symbol.extension/instance/greaseAsMutator.st b/repository/Grease-Pharo10-Core.package/Symbol.extension/instance/greaseAsMutator.st deleted file mode 100644 index 8d27a1f9..00000000 --- a/repository/Grease-Pharo10-Core.package/Symbol.extension/instance/greaseAsMutator.st +++ /dev/null @@ -1,3 +0,0 @@ -*Grease-Pharo10-Core -greaseAsMutator - ^ self asMutator \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/Symbol.extension/properties.json b/repository/Grease-Pharo10-Core.package/Symbol.extension/properties.json deleted file mode 100644 index 8c6bce81..00000000 --- a/repository/Grease-Pharo10-Core.package/Symbol.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "Symbol" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/WriteStream.extension/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo10-Core.package/WriteStream.extension/instance/greaseNext.putAll.startingAt..st deleted file mode 100644 index 9ad05459..00000000 --- a/repository/Grease-Pharo10-Core.package/WriteStream.extension/instance/greaseNext.putAll.startingAt..st +++ /dev/null @@ -1,4 +0,0 @@ -*Grease-Pharo10-Core -greaseNext: anInteger putAll: aCollection startingAt: startIndex - "Store the next anInteger elements from the given collection." - ^ self next: anInteger putAll: aCollection startingAt: startIndex \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/WriteStream.extension/properties.json b/repository/Grease-Pharo10-Core.package/WriteStream.extension/properties.json deleted file mode 100644 index 8688e80d..00000000 --- a/repository/Grease-Pharo10-Core.package/WriteStream.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "WriteStream" -} \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/monticello.meta/categories.st b/repository/Grease-Pharo10-Core.package/monticello.meta/categories.st deleted file mode 100644 index 127df9b0..00000000 --- a/repository/Grease-Pharo10-Core.package/monticello.meta/categories.st +++ /dev/null @@ -1 +0,0 @@ -SystemOrganization addCategory: #'Grease-Pharo10-Core'! diff --git a/repository/Grease-Pharo10-Core.package/monticello.meta/initializers.st b/repository/Grease-Pharo10-Core.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo10-Core.package/monticello.meta/package b/repository/Grease-Pharo10-Core.package/monticello.meta/package deleted file mode 100644 index dad6b8fe..00000000 --- a/repository/Grease-Pharo10-Core.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'Grease-Pharo10-Core') \ No newline at end of file diff --git a/repository/Grease-Pharo10-Core.package/properties.json b/repository/Grease-Pharo10-Core.package/properties.json deleted file mode 100644 index 6f31cf5a..00000000 --- a/repository/Grease-Pharo10-Core.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/.filetree b/repository/Grease-Pharo30-Core.package/.filetree deleted file mode 100644 index 57a67973..00000000 --- a/repository/Grease-Pharo30-Core.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/BlockClosure.extension/instance/valueWithPossibleArguments..st b/repository/Grease-Pharo30-Core.package/BlockClosure.extension/instance/valueWithPossibleArguments..st deleted file mode 100644 index 4518c27b..00000000 --- a/repository/Grease-Pharo30-Core.package/BlockClosure.extension/instance/valueWithPossibleArguments..st +++ /dev/null @@ -1,11 +0,0 @@ -*Grease-Pharo30-Core -valueWithPossibleArguments: anArray - | args | - (anArray size == self numArgs) - ifTrue: [ ^ self valueWithArguments: anArray ]. - args := Array new: self numArgs. - args replaceFrom: 1 - to: (anArray size min: args size) - with: anArray - startingAt: 1. - ^ self valueWithArguments: args \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/BlockClosure.extension/properties.json b/repository/Grease-Pharo30-Core.package/BlockClosure.extension/properties.json deleted file mode 100644 index 2190e5e2..00000000 --- a/repository/Grease-Pharo30-Core.package/BlockClosure.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "BlockClosure" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/ByteArray.extension/instance/greaseString.st b/repository/Grease-Pharo30-Core.package/ByteArray.extension/instance/greaseString.st deleted file mode 100644 index 9a0e01d6..00000000 --- a/repository/Grease-Pharo30-Core.package/ByteArray.extension/instance/greaseString.st +++ /dev/null @@ -1,4 +0,0 @@ -*Grease-Pharo30-Core -greaseString - "ByteArrays should not automatically be converted to Strings. You should use a GRCodec for this." - ^ self printString \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/ByteArray.extension/properties.json b/repository/Grease-Pharo30-Core.package/ByteArray.extension/properties.json deleted file mode 100644 index f81bcb8d..00000000 --- a/repository/Grease-Pharo30-Core.package/ByteArray.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "ByteArray" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/Character.extension/instance/greaseInteger.st b/repository/Grease-Pharo30-Core.package/Character.extension/instance/greaseInteger.st deleted file mode 100644 index 12ba7efd..00000000 --- a/repository/Grease-Pharo30-Core.package/Character.extension/instance/greaseInteger.st +++ /dev/null @@ -1,4 +0,0 @@ -*Grease-Pharo30-Core -greaseInteger - "Answer an unicode code point of the receiver." - ^ self charCode \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/Character.extension/properties.json b/repository/Grease-Pharo30-Core.package/Character.extension/properties.json deleted file mode 100644 index 5219281d..00000000 --- a/repository/Grease-Pharo30-Core.package/Character.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "Character" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/Collection.extension/instance/any.st b/repository/Grease-Pharo30-Core.package/Collection.extension/instance/any.st deleted file mode 100644 index 26137218..00000000 --- a/repository/Grease-Pharo30-Core.package/Collection.extension/instance/any.st +++ /dev/null @@ -1,3 +0,0 @@ -*Grease-Pharo30-Core -any - ^ self anyOne \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/Collection.extension/properties.json b/repository/Grease-Pharo30-Core.package/Collection.extension/properties.json deleted file mode 100644 index 48f9f8d9..00000000 --- a/repository/Grease-Pharo30-Core.package/Collection.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "Collection" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/Duration.extension/class/milliseconds..st b/repository/Grease-Pharo30-Core.package/Duration.extension/class/milliseconds..st deleted file mode 100644 index a758d02a..00000000 --- a/repository/Grease-Pharo30-Core.package/Duration.extension/class/milliseconds..st +++ /dev/null @@ -1,3 +0,0 @@ -*Grease-Pharo30-Core -milliseconds: anInteger - ^ self milliSeconds: anInteger \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/Duration.extension/instance/asMilliseconds.st b/repository/Grease-Pharo30-Core.package/Duration.extension/instance/asMilliseconds.st deleted file mode 100644 index 285ff98d..00000000 --- a/repository/Grease-Pharo30-Core.package/Duration.extension/instance/asMilliseconds.st +++ /dev/null @@ -1,3 +0,0 @@ -*Grease-Pharo30-Core -asMilliseconds - ^ self asMilliSeconds \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/Duration.extension/instance/milliseconds.st b/repository/Grease-Pharo30-Core.package/Duration.extension/instance/milliseconds.st deleted file mode 100644 index 1e639bfd..00000000 --- a/repository/Grease-Pharo30-Core.package/Duration.extension/instance/milliseconds.st +++ /dev/null @@ -1,3 +0,0 @@ -*Grease-Pharo30-Core -milliseconds - ^ nanos quo: NanosInMillisecond \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/Duration.extension/properties.json b/repository/Grease-Pharo30-Core.package/Duration.extension/properties.json deleted file mode 100644 index d141a092..00000000 --- a/repository/Grease-Pharo30-Core.package/Duration.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "Duration" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo30-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st deleted file mode 100644 index 5a9acb64..00000000 --- a/repository/Grease-Pharo30-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st +++ /dev/null @@ -1,3 +0,0 @@ -*Grease-Pharo30-Core -greaseNext: anInteger putAll: aCollection startingAt: startIndex - stream greaseNext: anInteger putAll: aCollection startingAt: startIndex \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRDelegatingStream.extension/properties.json b/repository/Grease-Pharo30-Core.package/GRDelegatingStream.extension/properties.json deleted file mode 100644 index 5ec29ea0..00000000 --- a/repository/Grease-Pharo30-Core.package/GRDelegatingStream.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "GRDelegatingStream" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRDynamicVariable.class/README.md b/repository/Grease-Pharo30-Core.package/GRDynamicVariable.class/README.md deleted file mode 100644 index 8083d8aa..00000000 --- a/repository/Grease-Pharo30-Core.package/GRDynamicVariable.class/README.md +++ /dev/null @@ -1,15 +0,0 @@ -I represent a dynamic variable i.e., a variable that is -1. process local, that -2. is defined for a given block and that -3. can be nested. - -For example: - -GRDynamicVariable - use: 1 - during: [ - self assert: GRDynamicVariable value = 1. - GRDynamicVariable - use: 2 - during: [ self assert: GRDynamicVariable value = 2 ]. - self assert: GRDynamicVariable value = 1 ]. \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRDynamicVariable.class/class/defaultValue.st b/repository/Grease-Pharo30-Core.package/GRDynamicVariable.class/class/defaultValue.st deleted file mode 100644 index b0275614..00000000 --- a/repository/Grease-Pharo30-Core.package/GRDynamicVariable.class/class/defaultValue.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -defaultValue - ^ nil \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRDynamicVariable.class/class/use.during..st b/repository/Grease-Pharo30-Core.package/GRDynamicVariable.class/class/use.during..st deleted file mode 100644 index 1e03f82f..00000000 --- a/repository/Grease-Pharo30-Core.package/GRDynamicVariable.class/class/use.during..st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -use: anObject during: aBlock - ^ self - value: anObject - during: aBlock \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRDynamicVariable.class/instance/default.st b/repository/Grease-Pharo30-Core.package/GRDynamicVariable.class/instance/default.st deleted file mode 100644 index 59cb6f1b..00000000 --- a/repository/Grease-Pharo30-Core.package/GRDynamicVariable.class/instance/default.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -default - ^ self class defaultValue \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRDynamicVariable.class/instance/value.during..st b/repository/Grease-Pharo30-Core.package/GRDynamicVariable.class/instance/value.during..st deleted file mode 100644 index ef0ce8bd..00000000 --- a/repository/Grease-Pharo30-Core.package/GRDynamicVariable.class/instance/value.during..st +++ /dev/null @@ -1,8 +0,0 @@ -accessing -value: anObject during: aBlock - | p oldValue | - p := Processor activeProcess. - oldValue := p psValueAt: index. - ^ [ - p psValueAt: index put: anObject. - aBlock value ] ensure: [ p psValueAt: index put: oldValue ] \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRDynamicVariable.class/properties.json b/repository/Grease-Pharo30-Core.package/GRDynamicVariable.class/properties.json deleted file mode 100644 index 7c37da28..00000000 --- a/repository/Grease-Pharo30-Core.package/GRDynamicVariable.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "MaxLeske 5/16/2017 22:05", - "super" : "DynamicVariable", - "category" : "Grease-Pharo30-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRDynamicVariable", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPackage.extension/class/greasePharo30Core.st b/repository/Grease-Pharo30-Core.package/GRPackage.extension/class/greasePharo30Core.st deleted file mode 100644 index a88ea6ba..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPackage.extension/class/greasePharo30Core.st +++ /dev/null @@ -1,7 +0,0 @@ -*Grease-Pharo30-Core -greasePharo30Core - ^ self new - name: 'Grease-Pharo30-Core'; - addDependency: 'Grease-Core'; - url: #greaseUrl; - yourself \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPackage.extension/properties.json b/repository/Grease-Pharo30-Core.package/GRPackage.extension/properties.json deleted file mode 100644 index ae522a7e..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPackage.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "GRPackage" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/README.md b/repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/README.md deleted file mode 100644 index 7620280e..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/README.md +++ /dev/null @@ -1,7 +0,0 @@ -A WAConverterCodecStream is a WACodec stream around a TextConverter. It is always in text mode. - -Instance Variables - converter: - -converter - - the TextConverter used to do the encoding conversion diff --git a/repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/class/on.converter..st b/repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/class/on.converter..st deleted file mode 100644 index de8cd791..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/class/on.converter..st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -on: aStream converter: aConverter - ^ self basicNew initializeOn: aStream converter: aConverter \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/instance/greaseNext.putAll.startingAt..st deleted file mode 100644 index 8321e299..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/instance/greaseNext.putAll.startingAt..st +++ /dev/null @@ -1,3 +0,0 @@ -streaming -greaseNext: anInteger putAll: aCollection startingAt: startIndex - self nextPutAll: (aCollection copyFrom: startIndex to: startIndex + anInteger - 1) \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/instance/initializeOn.converter..st b/repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/instance/initializeOn.converter..st deleted file mode 100644 index c380485d..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/instance/initializeOn.converter..st +++ /dev/null @@ -1,4 +0,0 @@ -initialization -initializeOn: aStream converter: aConverter - self initializeOn: aStream. - converter := aConverter \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/instance/next..st b/repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/instance/next..st deleted file mode 100644 index ef51837b..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/instance/next..st +++ /dev/null @@ -1,8 +0,0 @@ -streaming -next: anInteger - | writeStream | - writeStream := WriteStream on: (String new: anInteger). - anInteger timesRepeat: [ - writeStream nextPut: (self next - ifNil: [ ^ writeStream contents ]) ]. - ^ writeStream contents \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/instance/next.st b/repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/instance/next.st deleted file mode 100644 index eee99a1a..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/instance/next.st +++ /dev/null @@ -1,6 +0,0 @@ -streaming -next - | character | - character := converter nextFromStream: stream. - ^ character isNil - ifFalse: [ character asCharacter ] \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/instance/nextPut..st b/repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/instance/nextPut..st deleted file mode 100644 index e65f56c4..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/instance/nextPut..st +++ /dev/null @@ -1,3 +0,0 @@ -streaming -nextPut: aCharacter - converter nextPut: aCharacter asCharacter toStream: stream \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/instance/nextPutAll..st b/repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/instance/nextPutAll..st deleted file mode 100644 index a30c4507..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/instance/nextPutAll..st +++ /dev/null @@ -1,3 +0,0 @@ -streaming -nextPutAll: aString - aString asString do: [ :each | self nextPut: each ] \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/properties.json b/repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/properties.json deleted file mode 100644 index 78d23224..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoConverterCodecStream.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "pmm 6/25/2012 20:22", - "super" : "GRCodecStream", - "category" : "Grease-Pharo30-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "converter" - ], - "name" : "GRPharoConverterCodecStream", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/README.md b/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/class/basicForEncoding..st b/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/class/basicForEncoding..st deleted file mode 100644 index f6b18bd4..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/class/basicForEncoding..st +++ /dev/null @@ -1,5 +0,0 @@ -private -basicForEncoding: aString - (self supportsEncoding: aString) - ifFalse: [ self unsupportedEncoding: aString ]. - ^ self basicNew initializeWithName: aString \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/class/codecs.st b/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/class/codecs.st deleted file mode 100644 index f1293d05..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/class/codecs.st +++ /dev/null @@ -1,8 +0,0 @@ -accessing -codecs - ^ (TextConverter allEncodingNames - select: [ :each | - "exclude UFT-8 which is handeled by WAUtf8Codec" - self supportsEncoding: each ]) - collect: [ :each | - self basicForEncoding: each greaseString ] \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/class/supportedEncodingNames.st b/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/class/supportedEncodingNames.st deleted file mode 100644 index e6a8ceb0..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/class/supportedEncodingNames.st +++ /dev/null @@ -1,8 +0,0 @@ -private -supportedEncodingNames - "answers the names of the encodings supported by this class" - - ^ TextConverter allEncodingNames - removeAllFoundIn: GRPharoLatin1Codec supportedEncodingNames; - removeAllFoundIn: UTF8TextConverter encodingNames; - yourself \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/class/supportsEncoding..st b/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/class/supportsEncoding..st deleted file mode 100644 index 43a27325..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/class/supportsEncoding..st +++ /dev/null @@ -1,4 +0,0 @@ -testing -supportsEncoding: aString - "Answer whether the the given encoding name is supported." - ^ self supportedEncodingNames includes: aString \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/instance/converter.st b/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/instance/converter.st deleted file mode 100644 index 02b8754b..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/instance/converter.st +++ /dev/null @@ -1,3 +0,0 @@ -private -converter - ^ TextConverter newForEncoding: self name \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/instance/decoderFor..st b/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/instance/decoderFor..st deleted file mode 100644 index be53dfea..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/instance/decoderFor..st +++ /dev/null @@ -1,3 +0,0 @@ -conversion -decoderFor: aStream - ^ self encoderFor: aStream \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/instance/encoderFor..st b/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/instance/encoderFor..st deleted file mode 100644 index 94f2fc13..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/instance/encoderFor..st +++ /dev/null @@ -1,5 +0,0 @@ -conversion -encoderFor: aStream - ^ GRPharoConverterCodecStream - on: aStream - converter: self converter \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/instance/initializeWithName..st b/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/instance/initializeWithName..st deleted file mode 100644 index fe95783c..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/instance/initializeWithName..st +++ /dev/null @@ -1,7 +0,0 @@ -initialization -initializeWithName: aString - self initialize. - name := aString. - urlCodec := (#('iso-8859-15' 'cp-1252') includes: aString) - ifFalse: [ GRCodec forEncoding: 'utf-8' ] - ifTrue: [ self ] \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/instance/name.st b/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/instance/name.st deleted file mode 100644 index 22077c20..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ name \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/instance/url.st b/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/instance/url.st deleted file mode 100644 index 232ad239..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/instance/url.st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -url - "RFC 3986: When a new URI scheme defines a component that represents textual data consisting of characters from the Universal Character Set [UCS], the data should first be encoded as octets according to the UTF-8 character encoding." - - ^ urlCodec \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/properties.json b/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/properties.json deleted file mode 100644 index 3fd04eb8..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoGenericCodec.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRCodec", - "category" : "Grease-Pharo30-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "name", - "urlCodec" - ], - "name" : "GRPharoGenericCodec", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/README.md b/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/README.md deleted file mode 100644 index 3f437d62..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/README.md +++ /dev/null @@ -1 +0,0 @@ -A GRPharoLatin1Codec is a WACodec optimized for ISO-8859-1 (direct byte to character mapping). \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/class/basicForEncoding..st b/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/class/basicForEncoding..st deleted file mode 100644 index f6b18bd4..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/class/basicForEncoding..st +++ /dev/null @@ -1,5 +0,0 @@ -private -basicForEncoding: aString - (self supportsEncoding: aString) - ifFalse: [ self unsupportedEncoding: aString ]. - ^ self basicNew initializeWithName: aString \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/class/codecs.st b/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/class/codecs.st deleted file mode 100644 index 7a96b703..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/class/codecs.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -codecs - ^ Array with: (self basicForEncoding: 'iso-8859-1') \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/class/supportedEncodingNames.st b/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/class/supportedEncodingNames.st deleted file mode 100644 index e5dca068..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/class/supportedEncodingNames.st +++ /dev/null @@ -1,3 +0,0 @@ -private -supportedEncodingNames - ^ #('iso-8859-1' 'ISO-8859-1' 'latin-1' 'latin1') \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/class/supportsEncoding..st b/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/class/supportsEncoding..st deleted file mode 100644 index bc591573..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/class/supportsEncoding..st +++ /dev/null @@ -1,4 +0,0 @@ -private -supportsEncoding: aString - "Answer whether the the given encoding name is supported." - ^ self supportedEncodingNames includes: aString \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/instance/decode..st b/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/instance/decode..st deleted file mode 100644 index 5f73b526..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/instance/decode..st +++ /dev/null @@ -1,5 +0,0 @@ -conversion -decode: aStringOrByteArray - "Overridden for efficencey." - - ^ aStringOrByteArray asString \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/instance/decoderFor..st b/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/instance/decoderFor..st deleted file mode 100644 index 256dbac4..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/instance/decoderFor..st +++ /dev/null @@ -1,4 +0,0 @@ -conversion -decoderFor: aReadStream - "wrap to avoid String vs ByteArray issues" - ^ GRPharoLatin1CodecStream on: aReadStream \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/instance/encoderFor..st b/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/instance/encoderFor..st deleted file mode 100644 index 20102849..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/instance/encoderFor..st +++ /dev/null @@ -1,4 +0,0 @@ -conversion -encoderFor: aWriteStream - "wrap to avoid String vs ByteArray issues" - ^ GRPharoLatin1CodecStream on: aWriteStream \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/instance/initializeWithName..st b/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/instance/initializeWithName..st deleted file mode 100644 index b0256973..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/instance/initializeWithName..st +++ /dev/null @@ -1,4 +0,0 @@ -initialization -initializeWithName: aString - self initialize. - name := aString \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/instance/name.st b/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/instance/name.st deleted file mode 100644 index 22077c20..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ name \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/properties.json b/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/properties.json deleted file mode 100644 index 9c4baf85..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoLatin1Codec.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRNullCodec", - "category" : "Grease-Pharo30-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "name" - ], - "name" : "GRPharoLatin1Codec", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoLatin1CodecStream.class/README.md b/repository/Grease-Pharo30-Core.package/GRPharoLatin1CodecStream.class/README.md deleted file mode 100644 index e1c2471b..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoLatin1CodecStream.class/README.md +++ /dev/null @@ -1 +0,0 @@ -A GRPharoLatin1CodecStream is a WACodecStream optimized for ISO-8859-1 (direct byte to character mapping). \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoLatin1CodecStream.class/instance/next..st b/repository/Grease-Pharo30-Core.package/GRPharoLatin1CodecStream.class/instance/next..st deleted file mode 100644 index a734bc76..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoLatin1CodecStream.class/instance/next..st +++ /dev/null @@ -1,3 +0,0 @@ -streaming -next: anInteger - ^ (stream next: anInteger) asString \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoLatin1CodecStream.class/instance/next.st b/repository/Grease-Pharo30-Core.package/GRPharoLatin1CodecStream.class/instance/next.st deleted file mode 100644 index bf70df58..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoLatin1CodecStream.class/instance/next.st +++ /dev/null @@ -1,3 +0,0 @@ -streaming -next - ^ Character value: stream next \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoLatin1CodecStream.class/properties.json b/repository/Grease-Pharo30-Core.package/GRPharoLatin1CodecStream.class/properties.json deleted file mode 100644 index f842b80b..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoLatin1CodecStream.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRNullCodecStream", - "category" : "Grease-Pharo30-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRPharoLatin1CodecStream", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/README.md b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/README.md deleted file mode 100644 index f0375aac..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/README.md +++ /dev/null @@ -1 +0,0 @@ -A WASqueakPlatform is the Squeak implementation of SeasidePlatformSupport, the Seaside class that provides functionality that can not be implemented in a platform independent way. diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/class/initialize.st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/class/initialize.st deleted file mode 100644 index 0c86564c..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/class/initialize.st +++ /dev/null @@ -1,5 +0,0 @@ -class initialization -initialize - self initializeXmlTable. - self initializeUrlTable. - self select \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/class/initializeUrlTable.st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/class/initializeUrlTable.st deleted file mode 100644 index 9abf56b7..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/class/initializeUrlTable.st +++ /dev/null @@ -1,7 +0,0 @@ -class initialization -initializeUrlTable - UrlTable := ByteArray new: 256. - 1 to: 256 do: [ :index | - ('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.~' includes: (Character codePoint: index - 1)) - ifTrue: [ UrlTable at: index put: 0 ] - ifFalse: [ UrlTable at: index put: 1 ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/class/initializeXmlTable.st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/class/initializeXmlTable.st deleted file mode 100644 index 830a5595..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/class/initializeXmlTable.st +++ /dev/null @@ -1,7 +0,0 @@ -class initialization -initializeXmlTable - XmlTable := ByteArray new: 256. - 1 to: 256 do: [ :index | - ('"<&>' includes: (Character codePoint: index - 1)) - ifTrue: [ XmlTable at: index put: 1 ] - ifFalse: [ XmlTable at: index put: 0 ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/class/unload.st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/class/unload.st deleted file mode 100644 index 4c8dd650..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/class/unload.st +++ /dev/null @@ -1,3 +0,0 @@ -class initialization -unload - self unselect \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/addToShutDownList..st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/addToShutDownList..st deleted file mode 100644 index f8d3ad5f..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/addToShutDownList..st +++ /dev/null @@ -1,5 +0,0 @@ -startup -addToShutDownList: anObject - "Add anObject to the shutdown-list of the system. On shutdown the message #shutDown will be sent to anObject." - - Smalltalk addToShutDownList: anObject \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/addToStartUpList..st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/addToStartUpList..st deleted file mode 100644 index ecbbe65e..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/addToStartUpList..st +++ /dev/null @@ -1,5 +0,0 @@ -startup -addToStartUpList: anObject - "Add anObject to the startup-list of the system. On startup the message #startUp will be sent to anObject." - - Smalltalk addToStartUpList: anObject \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArray.named..st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArray.named..st deleted file mode 100644 index ba4a0727..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArray.named..st +++ /dev/null @@ -1,6 +0,0 @@ -file library -asMethodReturningByteArray: aByteArrayOrString named: aSymbol - "Generates the source of a method named aSymbol that returns aByteArrayOrString as a ByteArray" - ^ self useByteArrayLiterals - ifTrue: [ self asMethodReturningByteArrayLiteral: aByteArrayOrString named: aSymbol ] - ifFalse: [ self asMethodReturningByteArrayWithCache: aByteArrayOrString named: aSymbol ] \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayLiteral.named..st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayLiteral.named..st deleted file mode 100644 index 90bb405c..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayLiteral.named..st +++ /dev/null @@ -1,10 +0,0 @@ -private-file library -asMethodReturningByteArrayLiteral: aByteArrayOrString named: aSymbol - "Generates the source of a method named aSymbol that returns aByteArrayOrString as a byte array using VW/NewCompiler byte array literal syntax." - ^ String streamContents: [ :stream | - stream nextPutAll: aSymbol; nextPut: Character cr. - stream tab; nextPutAll: '^ #['. - aByteArrayOrString asByteArray - do: [ :each | each printOn: stream ] - separatedBy: [ stream space ]. - stream nextPutAll: ']' ] \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayWithCache.named..st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayWithCache.named..st deleted file mode 100644 index a1f9fe07..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayWithCache.named..st +++ /dev/null @@ -1,10 +0,0 @@ -private-file library -asMethodReturningByteArrayWithCache: aByteArrayOrString named: aSymbol - "Generates the source of a method named aSymbol that returns aByteArrayOrString as a byte array and caching this array in a literal array of size 1." - ^ String streamContents: [ :stream | - stream nextPutAll: aSymbol; nextPut: Character cr. - stream tab; nextPutAll: '^ #('. - aByteArrayOrString asByteArray - do: [ :each | each printOn: stream ] - separatedBy: [ stream space ]. - stream nextPutAll: ') asByteArray' ] \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/base64Decode..st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/base64Decode..st deleted file mode 100644 index 382a7f83..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/base64Decode..st +++ /dev/null @@ -1,3 +0,0 @@ -encoding -base64Decode: aString - ^ (Base64MimeConverter mimeDecodeToChars: aString readStream) contents \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/bindingOf..st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/bindingOf..st deleted file mode 100644 index e878c01b..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/bindingOf..st +++ /dev/null @@ -1,4 +0,0 @@ -bindings -bindingOf: aClass - - ^ Smalltalk globals associationAt: aClass name \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/compile.into.classified..st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/compile.into.classified..st deleted file mode 100644 index 45c37a45..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/compile.into.classified..st +++ /dev/null @@ -1,3 +0,0 @@ -file library -compile: aString into: aClass classified: aSymbol - aClass compile: aString classified: aSymbol \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st deleted file mode 100644 index 119ba39b..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st +++ /dev/null @@ -1,3 +0,0 @@ -file library -contentsOfFile: aString binary: aBoolean - ^ self fileStreamOn: aString do: [ :stream | stream contents ] binary: aBoolean \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/directoriesIn..st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/directoriesIn..st deleted file mode 100644 index c5beee09..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/directoriesIn..st +++ /dev/null @@ -1,8 +0,0 @@ -file library -directoriesIn: aPathString - "Answer a collection of absolute paths for all the directories (no files) in the directory given by aPathString - must not include directory names that start with ." - ^ Array streamContents: [ :stream | - FileSystem disk directoriesAt: aPathString do: [ :each | - each basename first = $. ifFalse: [ - stream nextPut: each asFileReference fullName ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/doSilently..st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/doSilently..st deleted file mode 100644 index 9ea296ff..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/doSilently..st +++ /dev/null @@ -1,3 +0,0 @@ -private -doSilently: aBlock - ^ SystemAnnouncer uniqueInstance suspendAllWhile: aBlock \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st deleted file mode 100644 index 907e0168..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st +++ /dev/null @@ -1,4 +0,0 @@ -file library -ensureExistenceOfFolder: aString - "creates a folder named aString in the image directory" - FileSystem disk ensureCreateDirectory: aString \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/fileExists..st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/fileExists..st deleted file mode 100644 index 2a02cc3f..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/fileExists..st +++ /dev/null @@ -1,3 +0,0 @@ -file library -fileExists: aString - ^ aString asFileReference exists \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/fileStreamOn.do.binary..st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/fileStreamOn.do.binary..st deleted file mode 100644 index 2fd81137..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/fileStreamOn.do.binary..st +++ /dev/null @@ -1,13 +0,0 @@ -file library -fileStreamOn: aString do: aBlock binary: aBoolean - ^ aBoolean - ifTrue: [ - FileStream fileNamed: aString do: [ :stream | - stream binary. - aBlock value: stream ] ] - ifFalse: [ - MultiByteFileStream fileNamed: aString do: [ :stream | - stream - ascii; - wantsLineEndConversion: true. - aBlock value: stream ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/filesIn..st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/filesIn..st deleted file mode 100644 index e3b9a6b0..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/filesIn..st +++ /dev/null @@ -1,8 +0,0 @@ -file library -filesIn: aPathString - "Return a collection of absolute paths for all the files (no directories) in the directory given by aPathString - must not include file names that start with ." - ^ Array streamContents: [ :stream | - FileSystem disk filesAt: aPathString do: [ :each | - each basename first = $. ifFalse: [ - stream nextPut: each asFileReference fullName ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/isProcessTerminated..st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/isProcessTerminated..st deleted file mode 100644 index 03b50778..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/isProcessTerminated..st +++ /dev/null @@ -1,4 +0,0 @@ -processes -isProcessTerminated: aProcess - "Return a boolean indicating whether aProcess has been terminated." - ^ aProcess isTerminated \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/label.st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/label.st deleted file mode 100644 index f3b036e2..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/label.st +++ /dev/null @@ -1,3 +0,0 @@ -version info -label - ^ 'Pharo' \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/localNameOf..st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/localNameOf..st deleted file mode 100644 index 8f4efb85..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/localNameOf..st +++ /dev/null @@ -1,3 +0,0 @@ -file library -localNameOf: aFilename - ^ (FileSystem disk resolveString: aFilename) basename \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/newRandom.st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/newRandom.st deleted file mode 100644 index 9d90824d..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/newRandom.st +++ /dev/null @@ -1,10 +0,0 @@ -factory -newRandom - "Answers the random number generator to be used to create session and continuation keys. Make sure it is seeded. They only methods that will be sent to it are: - #nextInt: - should answer a random integer in the interval [1, anInteger] - #randomFrom: - should answer a random element from the given collection - - Make sure that both methods are safe under heavy concurrent load. - - Used by Gemstone/S traditional Randoms which cannot be persisted.." - ^ GRPharoRandomProvider \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/newline.st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/newline.st deleted file mode 100644 index 1219045d..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/newline.st +++ /dev/null @@ -1,3 +0,0 @@ -file library -newline - ^ String cr \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st deleted file mode 100644 index b98446f9..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st +++ /dev/null @@ -1,18 +0,0 @@ -exceptions -openDebuggerOn: anError - | process | - process := Processor activeProcess. - "If we are running in the UI process, we don't want to suspend the active process. The - error was presumably triggered while stepping in the Debugger. If we simply immediately - signal an UnhandledError, the debugger will catch this and display the signaling context. - It isn't perfect or pretty but it works." - (ProcessBrowser isUIProcess: process) - ifTrue: [ - UnhandledError signalForException: anError ] - ifFalse: [ - WorldState addDeferredUIMessage: [ - process - debug: anError signalerContext - title: anError description - full: true ]. - process suspend ] \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/pathSeparator.st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/pathSeparator.st deleted file mode 100644 index 10f88300..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/pathSeparator.st +++ /dev/null @@ -1,3 +0,0 @@ -file library -pathSeparator - ^ String with: FileSystem disk delimiter \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/readWriteByteStream.st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/readWriteByteStream.st deleted file mode 100644 index 35251d7b..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/readWriteByteStream.st +++ /dev/null @@ -1,5 +0,0 @@ -factory -readWriteByteStream - "ByteArray based read write stream" - - ^ RWBinaryOrTextStream on: (ByteArray new: 4096) \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/readWriteCharacterStream.st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/readWriteCharacterStream.st deleted file mode 100644 index 3f94c5af..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/readWriteCharacterStream.st +++ /dev/null @@ -1,5 +0,0 @@ -factory -readWriteCharacterStream - "String based read write stream" - - ^ ReadWriteStream on: (String new: 4096) \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/removeFromShutDownList..st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/removeFromShutDownList..st deleted file mode 100644 index 09cc5c70..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/removeFromShutDownList..st +++ /dev/null @@ -1,5 +0,0 @@ -startup -removeFromShutDownList: anObject - "Remove anObject from the shutdown list in the system." - - Smalltalk removeFromShutDownList: anObject \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/removeFromStartUpList..st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/removeFromStartUpList..st deleted file mode 100644 index ecd7d527..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/removeFromStartUpList..st +++ /dev/null @@ -1,5 +0,0 @@ -startup -removeFromStartUpList: anObject - "Remove anObject from the startup list in the system." - - Smalltalk removeFromStartUpList: anObject \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/removeSelector.from..st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/removeSelector.from..st deleted file mode 100644 index 92cbd7ff..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/removeSelector.from..st +++ /dev/null @@ -1,3 +0,0 @@ -file library -removeSelector: aSymbol from: aClass - aClass removeSelector: aSymbol \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/secureHashFor..st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/secureHashFor..st deleted file mode 100644 index 46b9e2d2..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/secureHashFor..st +++ /dev/null @@ -1,3 +0,0 @@ -cryptography -secureHashFor: aString - ^ SHA1 new hashMessage: aString \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/semaphoreClass.st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/semaphoreClass.st deleted file mode 100644 index ceccf9e3..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/semaphoreClass.st +++ /dev/null @@ -1,4 +0,0 @@ -factory -semaphoreClass - "used by Gemstone/S traditional Semaphores which cannot be persisted" - ^ Semaphore \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/stackDepth.st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/stackDepth.st deleted file mode 100644 index d7e6feab..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/stackDepth.st +++ /dev/null @@ -1,10 +0,0 @@ -exceptions -stackDepth - - | depth current | - depth := 0. - current := thisContext. - [ current isNil ] whileFalse: [ - current := current sender. - depth := depth + 1 ]. - ^ depth - 1 \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/terminateProcess..st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/terminateProcess..st deleted file mode 100644 index a09b96e1..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/terminateProcess..st +++ /dev/null @@ -1,4 +0,0 @@ -processes -terminateProcess: aProcess - "Permanently terminate the process, unwinding first to execute #ensure: and #ifCurtailed: blocks." - aProcess terminate \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/thisContext.st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/thisContext.st deleted file mode 100644 index c936ecad..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/thisContext.st +++ /dev/null @@ -1,4 +0,0 @@ -processes -thisContext - - ^ thisContext sender \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/useByteArrayLiterals.st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/useByteArrayLiterals.st deleted file mode 100644 index 71b0f2cf..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/useByteArrayLiterals.st +++ /dev/null @@ -1,4 +0,0 @@ -private-file library -useByteArrayLiterals - "whether ByteArray literals can/should be used" - ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/weakDictionaryOfSize..st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/weakDictionaryOfSize..st deleted file mode 100644 index b0ca3d82..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/weakDictionaryOfSize..st +++ /dev/null @@ -1,3 +0,0 @@ -factory -weakDictionaryOfSize: aNumber - ^ IdentityDictionary new: aNumber \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/write.toFile.inFolder..st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/write.toFile.inFolder..st deleted file mode 100644 index e77ae8c1..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/write.toFile.inFolder..st +++ /dev/null @@ -1,15 +0,0 @@ -file library -write: aStringOrByteArray toFile: aFileNameString inFolder: aFolderString - "writes aStringOrByteArray to a file named aFilenameString in the folder aFolderString" - | folder stream fullFilePath | - folder := FileSystem disk resolveString: aFolderString. - fullFilePath := (folder / aFileNameString) asFileReference. - stream := aStringOrByteArray isString - ifTrue: [ - (MultiByteFileStream forceNewFileNamed: fullFilePath fullName) - ascii; - wantsLineEndConversion: true; - yourself ] - ifFalse: [ (FileStream forceNewFileNamed: fullFilePath fullName) binary ]. - [ stream nextPutAll: aStringOrByteArray ] - ensure: [ stream close ] \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/writeCharacterStreamOn..st b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/writeCharacterStreamOn..st deleted file mode 100644 index d69ff426..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/instance/writeCharacterStreamOn..st +++ /dev/null @@ -1,4 +0,0 @@ -factory -writeCharacterStreamOn: aString - - ^ GRWorkingWriteStream on: aString \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/properties.json b/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/properties.json deleted file mode 100644 index fd949a23..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoPlatform.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "pmm 6/1/2008 01:03", - "super" : "GRPlatform", - "category" : "Grease-Pharo30-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ - "UrlTable", - "XmlTable" - ], - "instvars" : [ ], - "name" : "GRPharoPlatform", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/README.md b/repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/class/initialize.st b/repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/class/initialize.st deleted file mode 100644 index 04ca54c3..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/class/initialize.st +++ /dev/null @@ -1,4 +0,0 @@ -private -initialize - Smalltalk addToStartUpList: self. - self startUp \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/class/nextInt..st b/repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/class/nextInt..st deleted file mode 100644 index 593aee36..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/class/nextInt..st +++ /dev/null @@ -1,5 +0,0 @@ -public -nextInt: anInteger - "Answer a random integer in the interval [1, anInteger]" - - ^ mutex critical: [ generator nextInt: anInteger ] \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/class/randomClass.st b/repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/class/randomClass.st deleted file mode 100644 index 85a2db91..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/class/randomClass.st +++ /dev/null @@ -1,3 +0,0 @@ -private -randomClass - ^ Random \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/class/randomFrom..st b/repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/class/randomFrom..st deleted file mode 100644 index a5fe470c..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/class/randomFrom..st +++ /dev/null @@ -1,11 +0,0 @@ -public -randomFrom: aCollection - | random count | - random := self nextInt: aCollection size. - ^ aCollection isSequenceable - ifTrue: [ aCollection at: random ] - ifFalse: [ - count := 1. - aCollection do: [ :ea | - count = random ifTrue: [ ^ ea ]. - count := count + 1 ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/class/startUp.st b/repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/class/startUp.st deleted file mode 100644 index 663a5243..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/class/startUp.st +++ /dev/null @@ -1,4 +0,0 @@ -class initialization -startUp - generator := self randomClass new. - mutex := Semaphore forMutualExclusion \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/class/unload.st b/repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/class/unload.st deleted file mode 100644 index fd4cb930..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/class/unload.st +++ /dev/null @@ -1,3 +0,0 @@ -private -unload - GRPlatform current removeFromStartUpList: self \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/properties.json b/repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/properties.json deleted file mode 100644 index 5c8d294a..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoRandomProvider.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRObject", - "category" : "Grease-Pharo30-Core", - "classinstvars" : [ - "mutex", - "generator" - ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRPharoRandomProvider", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/README.md b/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/README.md deleted file mode 100644 index c6047951..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/README.md +++ /dev/null @@ -1 +0,0 @@ -A WAUtf8Codec is a WACodec optimized for UTF-8. \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/class/basicForEncoding..st b/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/class/basicForEncoding..st deleted file mode 100644 index d4c4a74b..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/class/basicForEncoding..st +++ /dev/null @@ -1,3 +0,0 @@ -private -basicForEncoding: aString - ^ self new \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/class/codecs.st b/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/class/codecs.st deleted file mode 100644 index 632b84fb..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/class/codecs.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -codecs - ^ Array with: self new \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st b/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st deleted file mode 100644 index dc3a8ade..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st +++ /dev/null @@ -1,3 +0,0 @@ -testing -supportsEncoding: aString - ^ (#('utf-8' 'UTF-8') includes: aString) or: [ UTF8TextConverter encodingNames includes: aString ] \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/instance/decode..st b/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/instance/decode..st deleted file mode 100644 index b625727d..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/instance/decode..st +++ /dev/null @@ -1,36 +0,0 @@ -decoding -decode: aString - "Convert the given string from UTF-8 using the fast path if converting to Latin-1" - | outStream byte1 byte2 byte3 byte4 unicode stream | - stream := aString readStream. - outStream := WriteStream on: (String new: aString size). - [ stream atEnd not ] whileTrue: [ - byte1 := stream next asInteger. - unicode := byte1. - (byte1 bitAnd: 16rE0) = 192 ifTrue: [ "two bytes" - byte2 := stream next asInteger. - (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - unicode := ((byte1 bitAnd: 31) bitShift: 6) + (byte2 bitAnd: 63) ]. - (byte1 bitAnd: 16rF0) = 224 ifTrue: [ "three bytes" - byte2 := stream next asInteger. - (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - byte3 := stream next asInteger. - (byte3 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - unicode := ((byte1 bitAnd: 15) bitShift: 12) + ((byte2 bitAnd: 63) bitShift: 6) - + (byte3 bitAnd: 63) ]. - (byte1 bitAnd: 16rF8) = 240 ifTrue: [ "four bytes" - byte2 := stream next asInteger. - (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - byte3 := stream next asInteger. - (byte3 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - byte4 := stream next asInteger. - (byte4 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - unicode := ((byte1 bitAnd: 16r7) bitShift: 18) + - ((byte2 bitAnd: 63) bitShift: 12) + - ((byte3 bitAnd: 63) bitShift: 6) + - (byte4 bitAnd: 63) ]. - unicode ifNil: [ self invalidUtf8 ]. - unicode = 16rFEFF "ignore BOM" ifFalse: [ - outStream nextPut: (Character codePoint: unicode) ]. - unicode := nil ]. - ^ outStream contents \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st b/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st deleted file mode 100644 index 203b901f..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st +++ /dev/null @@ -1,5 +0,0 @@ -conversion -decoderFor: aStream - ^ GRPharoUtf8CodecStream - on: aStream - converter: UTF8TextConverter new \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st b/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st deleted file mode 100644 index d77ab435..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st +++ /dev/null @@ -1,5 +0,0 @@ -conversion -encoderFor: aStream - ^ GRPharoUtf8CodecStream - on: aStream - converter: UTF8TextConverter new \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/instance/invalidUtf8.st b/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/instance/invalidUtf8.st deleted file mode 100644 index e4481c22..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/instance/invalidUtf8.st +++ /dev/null @@ -1,3 +0,0 @@ -private -invalidUtf8 - ^ GRInvalidUtf8Error signal: 'Invalid UTF-8 input' \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/instance/name.st b/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/instance/name.st deleted file mode 100644 index 7886c830..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'utf-8' \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/instance/url.st b/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/instance/url.st deleted file mode 100644 index 4696d714..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/instance/url.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -url - ^ self \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/properties.json b/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/properties.json deleted file mode 100644 index 14e538f0..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoUtf8Codec.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "pmm 2/20/2009 12:51", - "super" : "GRCodec", - "category" : "Grease-Pharo30-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRPharoUtf8Codec", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/README.md b/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/README.md deleted file mode 100644 index 08323f18..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/README.md +++ /dev/null @@ -1 +0,0 @@ -A WAUtf8CodecStream is a WACodecStream optimized for UTF-8 performance in the case where most of the characters are ASCII. diff --git a/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/class/initialize.st b/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/class/initialize.st deleted file mode 100644 index b8d03990..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/class/initialize.st +++ /dev/null @@ -1,17 +0,0 @@ -class initialization -initialize - (Smalltalk hasClassNamed: #UTF8TextConverter) "guard for Squeak 37" - ifFalse: [ ^ self ]. - - Latin1ToUtf8Map := ByteArray new: 256. - Latin1ToUtf8Encodings := Array new: 256. - 0 to: 255 do:[ :index | - | latin1 utf8 | - latin1 := String with: (Character codePoint: index). - utf8 := latin1 convertToWithConverter: UTF8TextConverter new. - latin1 = utf8 - ifTrue:[ - Latin1ToUtf8Map at: index + 1 put: 0 ] "no translation needed" - ifFalse:[ - Latin1ToUtf8Map at: index + 1 put: 1. "no translation needed" - Latin1ToUtf8Encodings at: index + 1 put: utf8 ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/crlf.st b/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/crlf.st deleted file mode 100644 index ba607092..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/crlf.st +++ /dev/null @@ -1,4 +0,0 @@ -streaming -crlf - stream nextPut: Character cr. - stream nextPut: Character lf \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/encodeDefault..st b/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/encodeDefault..st deleted file mode 100644 index cdd58a41..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/encodeDefault..st +++ /dev/null @@ -1,5 +0,0 @@ -private -encodeDefault: aString - "Convert the given string from UTF-8 using the fast path if converting to Latin-1" - 1 to: aString size by: 1 do: [ :index | - converter nextPut: (aString at: index) toStream: stream ] \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/encodeFast..st b/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/encodeFast..st deleted file mode 100644 index 9a8a0dc3..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/encodeFast..st +++ /dev/null @@ -1,14 +0,0 @@ -private -encodeFast: aByteString - "Convert the given string from UTF-8 using the fast path if converting to Latin-1" - | lastIndex nextIndex | - lastIndex := 1. - nextIndex := ByteString findFirstInString: aByteString inSet: Latin1ToUtf8Map startingAt: lastIndex. - nextIndex = 0 ifTrue: [ ^ stream nextPutAll: aByteString ]. - [ nextIndex > lastIndex ifTrue: [ - stream greaseNext: nextIndex - lastIndex putAll: aByteString startingAt: lastIndex ]. - stream nextPutAll: (Latin1ToUtf8Encodings at: (aByteString byteAt: nextIndex) + 1). - lastIndex := nextIndex + 1. - nextIndex := ByteString findFirstInString: aByteString inSet: Latin1ToUtf8Map startingAt: lastIndex. - nextIndex = 0 ] whileFalse. - stream greaseNext: aByteString size - lastIndex + 1 putAll: aByteString startingAt: lastIndex \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st deleted file mode 100644 index cd78fbe0..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st +++ /dev/null @@ -1,5 +0,0 @@ -streaming -greaseNext: anInteger putAll: aCollection startingAt: startIndex - aCollection isByteString - ifTrue: [ self greaseNext: anInteger putAllFast: aCollection startingAt: startIndex ] - ifFalse: [ super greaseNext: anInteger putAll: aCollection startingAt: startIndex ] \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st b/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st deleted file mode 100644 index a4c114cb..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st +++ /dev/null @@ -1,17 +0,0 @@ -private -greaseNext: anInteger putAllFast: aByteString startingAt: startIndex - | lastIndex nextIndex | - lastIndex := startIndex. - nextIndex := ByteString findFirstInString: aByteString inSet: Latin1ToUtf8Map startingAt: lastIndex. - nextIndex = 0 ifTrue: [ ^ stream greaseNext: anInteger putAll: aByteString startingAt: startIndex ]. - [ - nextIndex >= (startIndex + anInteger) ifTrue: [ - ^ stream greaseNext: startIndex + anInteger - lastIndex putAll: aByteString startingAt: lastIndex ]. - nextIndex > lastIndex ifTrue: [ - stream greaseNext: nextIndex - lastIndex putAll: aByteString startingAt: lastIndex ]. - stream nextPutAll: (Latin1ToUtf8Encodings at: (aByteString byteAt: nextIndex) + 1). - lastIndex := nextIndex + 1. - nextIndex := ByteString findFirstInString: aByteString inSet: Latin1ToUtf8Map startingAt: lastIndex. - (nextIndex = 0 or: [ nextIndex >= (startIndex + anInteger) ]) ] whileFalse. - lastIndex >= (startIndex + anInteger) ifFalse: [ - stream greaseNext: startIndex + anInteger - lastIndex putAll: aByteString startingAt: lastIndex ] \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/invalidUtf8.st b/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/invalidUtf8.st deleted file mode 100644 index e4481c22..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/invalidUtf8.st +++ /dev/null @@ -1,3 +0,0 @@ -private -invalidUtf8 - ^ GRInvalidUtf8Error signal: 'Invalid UTF-8 input' \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/next..st b/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/next..st deleted file mode 100644 index 116f524d..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/next..st +++ /dev/null @@ -1,46 +0,0 @@ -streaming -next: anInteger - "Convert the given string from UTF-8 using the fast path if converting to Latin-1" - | output byte1 byte2 byte3 byte4 unicode count alreadyWide | - output := ByteString new: anInteger. - count := 0. - alreadyWide := false. - [ count < anInteger and: [ stream atEnd not ] ] whileTrue: [ - byte1 := stream next. - unicode := byte1. - (byte1 bitAnd: 16rE0) = 192 ifTrue: [ "two bytes" - byte2 := stream next. - (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - unicode := ((byte1 bitAnd: 31) bitShift: 6) + (byte2 bitAnd: 63) ]. - (byte1 bitAnd: 16rF0) = 224 ifTrue: [ "three bytes" - byte2 := stream next. - (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - byte3 := stream next. - (byte3 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - unicode := ((byte1 bitAnd: 15) bitShift: 12) + ((byte2 bitAnd: 63) bitShift: 6) - + (byte3 bitAnd: 63). - alreadyWide ifFalse: [ - output := WideString withAll: output. - alreadyWide := true ] ]. - (byte1 bitAnd: 16rF8) = 240 ifTrue: [ "four bytes" - byte2 := stream next. - (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - byte3 := stream next. - (byte3 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - byte4 := stream next. - (byte4 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - unicode := ((byte1 bitAnd: 16r7) bitShift: 18) + - ((byte2 bitAnd: 63) bitShift: 12) + - ((byte3 bitAnd: 63) bitShift: 6) + - (byte4 bitAnd: 63). - alreadyWide ifFalse: [ - output := WideString withAll: output. - alreadyWide := true ] ]. - unicode ifNil: [ self invalidUtf8 ]. - unicode = 16rFEFF "ignore BOM" ifFalse: [ - count := count + 1. - output at: count put: (Character codePoint: unicode) ]. - unicode := nil ]. - ^ count < anInteger - ifTrue: [ output first: count ] - ifFalse: [ output ] \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/next.st b/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/next.st deleted file mode 100644 index 4363f086..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/next.st +++ /dev/null @@ -1,3 +0,0 @@ -streaming -next - ^ (self next: 1) first \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/nextPut..st b/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/nextPut..st deleted file mode 100644 index ad2d94ab..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/nextPut..st +++ /dev/null @@ -1,11 +0,0 @@ -streaming -nextPut: aCharacter - | codePoint shouldEncode | - codePoint := aCharacter codePoint. - codePoint > 255 - ifTrue: [ ^ self nextPutAll: (String with: aCharacter) ]. - shouldEncode := Latin1ToUtf8Map at: codePoint + 1. - shouldEncode = 1 - ifTrue: [ stream nextPutAll: (Latin1ToUtf8Encodings at: codePoint + 1) ] - ifFalse: [ stream nextPut: aCharacter ] - \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/nextPutAll..st b/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/nextPutAll..st deleted file mode 100644 index b9136110..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/instance/nextPutAll..st +++ /dev/null @@ -1,5 +0,0 @@ -streaming -nextPutAll: aString - aString isByteString - ifTrue: [ self encodeFast: aString ] - ifFalse: [ self encodeDefault: aString ] \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/properties.json b/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/properties.json deleted file mode 100644 index c71cb642..00000000 --- a/repository/Grease-Pharo30-Core.package/GRPharoUtf8CodecStream.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "pmm 2/20/2009 12:27", - "super" : "GRPharoConverterCodecStream", - "category" : "Grease-Pharo30-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ - "Latin1ToUtf8Encodings", - "Latin1ToUtf8Map" - ], - "instvars" : [ ], - "name" : "GRPharoUtf8CodecStream", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRSmallDictionary.extension/instance/customizeExplorerContents.st b/repository/Grease-Pharo30-Core.package/GRSmallDictionary.extension/instance/customizeExplorerContents.st deleted file mode 100644 index f7176f32..00000000 --- a/repository/Grease-Pharo30-Core.package/GRSmallDictionary.extension/instance/customizeExplorerContents.st +++ /dev/null @@ -1,3 +0,0 @@ -*Grease-Pharo30-Core -customizeExplorerContents - ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRSmallDictionary.extension/instance/explorerContents.st b/repository/Grease-Pharo30-Core.package/GRSmallDictionary.extension/instance/explorerContents.st deleted file mode 100644 index cbadc3b5..00000000 --- a/repository/Grease-Pharo30-Core.package/GRSmallDictionary.extension/instance/explorerContents.st +++ /dev/null @@ -1,10 +0,0 @@ -*Grease-Pharo30-Core -explorerContents - | contents | - contents := OrderedCollection new. - self keysAndValuesDo: [ :key :value | - contents add: (ObjectExplorerWrapper - with: value - name: (key printString contractTo: 32) - model: self) ]. - ^ contents \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRSmallDictionary.extension/instance/hasContentsInExplorer.st b/repository/Grease-Pharo30-Core.package/GRSmallDictionary.extension/instance/hasContentsInExplorer.st deleted file mode 100644 index e413f59a..00000000 --- a/repository/Grease-Pharo30-Core.package/GRSmallDictionary.extension/instance/hasContentsInExplorer.st +++ /dev/null @@ -1,3 +0,0 @@ -*Grease-Pharo30-Core -hasContentsInExplorer - ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRSmallDictionary.extension/properties.json b/repository/Grease-Pharo30-Core.package/GRSmallDictionary.extension/properties.json deleted file mode 100644 index 0d78b749..00000000 --- a/repository/Grease-Pharo30-Core.package/GRSmallDictionary.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "GRSmallDictionary" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRWorkingWriteStream.class/README.md b/repository/Grease-Pharo30-Core.package/GRWorkingWriteStream.class/README.md deleted file mode 100644 index 3f2ed8e8..00000000 --- a/repository/Grease-Pharo30-Core.package/GRWorkingWriteStream.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I'm a work around for bugs in the Pharo stream classes. \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRWorkingWriteStream.class/instance/reset.st b/repository/Grease-Pharo30-Core.package/GRWorkingWriteStream.class/instance/reset.st deleted file mode 100644 index 8232867f..00000000 --- a/repository/Grease-Pharo30-Core.package/GRWorkingWriteStream.class/instance/reset.st +++ /dev/null @@ -1,3 +0,0 @@ -positioning -reset - self resetToStart \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/GRWorkingWriteStream.class/properties.json b/repository/Grease-Pharo30-Core.package/GRWorkingWriteStream.class/properties.json deleted file mode 100644 index df3388a3..00000000 --- a/repository/Grease-Pharo30-Core.package/GRWorkingWriteStream.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "pmm 8/25/2011 18:30", - "super" : "WriteStream", - "category" : "Grease-Pharo30-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRWorkingWriteStream", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/Interval.extension/instance/any.st b/repository/Grease-Pharo30-Core.package/Interval.extension/instance/any.st deleted file mode 100644 index 6c9daea2..00000000 --- a/repository/Grease-Pharo30-Core.package/Interval.extension/instance/any.st +++ /dev/null @@ -1,6 +0,0 @@ -*Grease-Pharo30-Core -any - "#first (used by SequenceableCollection>>anyOne) is an accessor of - Interval and does not error on an empty Interval." - - ^ self at: 1 \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/Interval.extension/properties.json b/repository/Grease-Pharo30-Core.package/Interval.extension/properties.json deleted file mode 100644 index 534eb553..00000000 --- a/repository/Grease-Pharo30-Core.package/Interval.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "Interval" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/MessageSend.extension/instance/argumentCount.st b/repository/Grease-Pharo30-Core.package/MessageSend.extension/instance/argumentCount.st deleted file mode 100644 index 1c64d870..00000000 --- a/repository/Grease-Pharo30-Core.package/MessageSend.extension/instance/argumentCount.st +++ /dev/null @@ -1,3 +0,0 @@ -*Grease-Pharo30-Core -argumentCount - ^ selector numArgs - self arguments size \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/MessageSend.extension/instance/valueWithPossibleArguments..st b/repository/Grease-Pharo30-Core.package/MessageSend.extension/instance/valueWithPossibleArguments..st deleted file mode 100644 index 2838be96..00000000 --- a/repository/Grease-Pharo30-Core.package/MessageSend.extension/instance/valueWithPossibleArguments..st +++ /dev/null @@ -1,7 +0,0 @@ -*Grease-Pharo30-Core -valueWithPossibleArguments: anArray - "Evaluate the block represented by the receiver. - If the block requires one argument, use anArg, if it requires more than one, - fill up the rest with nils." - - ^ self valueWithEnoughArguments: anArray \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/MessageSend.extension/properties.json b/repository/Grease-Pharo30-Core.package/MessageSend.extension/properties.json deleted file mode 100644 index 00669b90..00000000 --- a/repository/Grease-Pharo30-Core.package/MessageSend.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "MessageSend" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/Number.extension/instance/milliseconds.st b/repository/Grease-Pharo30-Core.package/Number.extension/instance/milliseconds.st deleted file mode 100644 index 0efe7b61..00000000 --- a/repository/Grease-Pharo30-Core.package/Number.extension/instance/milliseconds.st +++ /dev/null @@ -1,3 +0,0 @@ -*Grease-Pharo30-Core -milliseconds - ^ self milliSeconds \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/Number.extension/properties.json b/repository/Grease-Pharo30-Core.package/Number.extension/properties.json deleted file mode 100644 index 71dace88..00000000 --- a/repository/Grease-Pharo30-Core.package/Number.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "Number" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/Object.extension/instance/greaseString.st b/repository/Grease-Pharo30-Core.package/Object.extension/instance/greaseString.st deleted file mode 100644 index e2b437b6..00000000 --- a/repository/Grease-Pharo30-Core.package/Object.extension/instance/greaseString.st +++ /dev/null @@ -1,3 +0,0 @@ -*Grease-Pharo30-Core -greaseString - ^ self asString \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/Object.extension/properties.json b/repository/Grease-Pharo30-Core.package/Object.extension/properties.json deleted file mode 100644 index f30a86e1..00000000 --- a/repository/Grease-Pharo30-Core.package/Object.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "Object" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/Point.extension/instance/greaseString.st b/repository/Grease-Pharo30-Core.package/Point.extension/instance/greaseString.st deleted file mode 100644 index ecde7ba6..00000000 --- a/repository/Grease-Pharo30-Core.package/Point.extension/instance/greaseString.st +++ /dev/null @@ -1,13 +0,0 @@ -*Grease-Pharo30-Core -greaseString - "Reimplemented because in Pharo 1.4 - (4 @ 2) greaseString - ansers '(4@2)'" - ^ String streamContents: [ :stream | - x printOn: stream. - stream nextPut: $@. - (y notNil and: [ y negative ]) - ifTrue: [ - "Avoid ambiguous @- construct" - stream space ]. - y printOn: stream ] \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/Point.extension/properties.json b/repository/Grease-Pharo30-Core.package/Point.extension/properties.json deleted file mode 100644 index c6cf8dd5..00000000 --- a/repository/Grease-Pharo30-Core.package/Point.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "Point" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/PositionableStream.extension/instance/greaseUpToAll..st b/repository/Grease-Pharo30-Core.package/PositionableStream.extension/instance/greaseUpToAll..st deleted file mode 100644 index 483cb725..00000000 --- a/repository/Grease-Pharo30-Core.package/PositionableStream.extension/instance/greaseUpToAll..st +++ /dev/null @@ -1,5 +0,0 @@ -*Grease-Pharo30-Core -greaseUpToAll: aCollection - "Needed for Seaside ports to other dialects where #upToAll: may have - different semantics" - ^ self upToAll: aCollection \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/PositionableStream.extension/properties.json b/repository/Grease-Pharo30-Core.package/PositionableStream.extension/properties.json deleted file mode 100644 index 8e090ee3..00000000 --- a/repository/Grease-Pharo30-Core.package/PositionableStream.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "PositionableStream" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/ScaledDecimal.extension/instance/encodeOn..st b/repository/Grease-Pharo30-Core.package/ScaledDecimal.extension/instance/encodeOn..st deleted file mode 100644 index 5d361f76..00000000 --- a/repository/Grease-Pharo30-Core.package/ScaledDecimal.extension/instance/encodeOn..st +++ /dev/null @@ -1,5 +0,0 @@ -*Grease-Pharo30-Core -encodeOn: aDocument - | converter | - converter := GRSignPrinter new, (GRNumberPrinter new precision: self scale). - converter print: self on: aDocument \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/ScaledDecimal.extension/instance/greaseString.st b/repository/Grease-Pharo30-Core.package/ScaledDecimal.extension/instance/greaseString.st deleted file mode 100644 index 7fea0e16..00000000 --- a/repository/Grease-Pharo30-Core.package/ScaledDecimal.extension/instance/greaseString.st +++ /dev/null @@ -1,5 +0,0 @@ -*Grease-Pharo30-Core -greaseString - | converter | - converter := GRSignPrinter new, (GRNumberPrinter new precision: self scale). - ^ converter print: self \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/ScaledDecimal.extension/properties.json b/repository/Grease-Pharo30-Core.package/ScaledDecimal.extension/properties.json deleted file mode 100644 index 75f85f87..00000000 --- a/repository/Grease-Pharo30-Core.package/ScaledDecimal.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "ScaledDecimal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st b/repository/Grease-Pharo30-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st deleted file mode 100644 index 3acb2e9e..00000000 --- a/repository/Grease-Pharo30-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st +++ /dev/null @@ -1,4 +0,0 @@ -*Grease-Pharo30-Core -beginsWithSubCollection: aSequenceableCollection - "Some platforms implement #beginsWith: to answer true for an empty argument." - ^ self beginsWith: aSequenceableCollection \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st b/repository/Grease-Pharo30-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st deleted file mode 100644 index 371cdf37..00000000 --- a/repository/Grease-Pharo30-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st +++ /dev/null @@ -1,4 +0,0 @@ -*Grease-Pharo30-Core -endsWithSubCollection: aSequenceableCollection - "Some platforms implement #endsWith: to answer true for an empty argument." - ^ self endsWith: aSequenceableCollection \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/SequenceableCollection.extension/instance/sorted.st b/repository/Grease-Pharo30-Core.package/SequenceableCollection.extension/instance/sorted.st deleted file mode 100644 index 4341e0e2..00000000 --- a/repository/Grease-Pharo30-Core.package/SequenceableCollection.extension/instance/sorted.st +++ /dev/null @@ -1,3 +0,0 @@ -*Grease-Pharo30-Core -sorted - ^ self sorted: [ :a :b | a <= b ] \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/SequenceableCollection.extension/properties.json b/repository/Grease-Pharo30-Core.package/SequenceableCollection.extension/properties.json deleted file mode 100644 index a68b7db6..00000000 --- a/repository/Grease-Pharo30-Core.package/SequenceableCollection.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "SequenceableCollection" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/SocketStream.extension/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo30-Core.package/SocketStream.extension/instance/greaseNext.putAll.startingAt..st deleted file mode 100644 index c384e1eb..00000000 --- a/repository/Grease-Pharo30-Core.package/SocketStream.extension/instance/greaseNext.putAll.startingAt..st +++ /dev/null @@ -1,13 +0,0 @@ -*Grease-Pharo30-Core -greaseNext: anInteger putAll: aCollection startingAt: startIndex - "Put a String or a ByteArray onto the stream starting at the given position. - Currently a large collection will allocate a large buffer." - - | toPut | - anInteger = 0 ifTrue: [ - ^ aCollection ]. - toPut := binary ifTrue: [ aCollection asByteArray ] ifFalse: [ aCollection asString ]. - self adjustOutBuffer: anInteger. - outBuffer replaceFrom: outNextToWrite to: outNextToWrite + anInteger - 1 with: toPut startingAt: startIndex. - outNextToWrite := outNextToWrite + anInteger. - self checkFlush \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/SocketStream.extension/properties.json b/repository/Grease-Pharo30-Core.package/SocketStream.extension/properties.json deleted file mode 100644 index 797e09e5..00000000 --- a/repository/Grease-Pharo30-Core.package/SocketStream.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "SocketStream" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/Symbol.extension/instance/greaseAsMutator.st b/repository/Grease-Pharo30-Core.package/Symbol.extension/instance/greaseAsMutator.st deleted file mode 100644 index 03f13f59..00000000 --- a/repository/Grease-Pharo30-Core.package/Symbol.extension/instance/greaseAsMutator.st +++ /dev/null @@ -1,3 +0,0 @@ -*grease-pharo30-core -greaseAsMutator - ^ self asMutator \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/Symbol.extension/properties.json b/repository/Grease-Pharo30-Core.package/Symbol.extension/properties.json deleted file mode 100644 index 8c6bce81..00000000 --- a/repository/Grease-Pharo30-Core.package/Symbol.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "Symbol" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/TBehavior.extension/instance/fullName.st b/repository/Grease-Pharo30-Core.package/TBehavior.extension/instance/fullName.st deleted file mode 100644 index f3df9e7a..00000000 --- a/repository/Grease-Pharo30-Core.package/TBehavior.extension/instance/fullName.st +++ /dev/null @@ -1,5 +0,0 @@ -*Grease-Pharo30-Core -fullName - "In VW, will include the namespace" - - ^ self name \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/TBehavior.extension/properties.json b/repository/Grease-Pharo30-Core.package/TBehavior.extension/properties.json deleted file mode 100644 index f94cdffb..00000000 --- a/repository/Grease-Pharo30-Core.package/TBehavior.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "TBehavior" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/WriteStream.extension/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo30-Core.package/WriteStream.extension/instance/greaseNext.putAll.startingAt..st deleted file mode 100644 index a99cb85a..00000000 --- a/repository/Grease-Pharo30-Core.package/WriteStream.extension/instance/greaseNext.putAll.startingAt..st +++ /dev/null @@ -1,4 +0,0 @@ -*Grease-Pharo30-Core -greaseNext: anInteger putAll: aCollection startingAt: startIndex - "Store the next anInteger elements from the given collection." - ^ self next: anInteger putAll: aCollection startingAt: startIndex \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/WriteStream.extension/properties.json b/repository/Grease-Pharo30-Core.package/WriteStream.extension/properties.json deleted file mode 100644 index 8688e80d..00000000 --- a/repository/Grease-Pharo30-Core.package/WriteStream.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "WriteStream" -} \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/monticello.meta/categories.st b/repository/Grease-Pharo30-Core.package/monticello.meta/categories.st deleted file mode 100644 index 71924e52..00000000 --- a/repository/Grease-Pharo30-Core.package/monticello.meta/categories.st +++ /dev/null @@ -1 +0,0 @@ -SystemOrganization addCategory: #'Grease-Pharo30-Core'! diff --git a/repository/Grease-Pharo30-Core.package/monticello.meta/initializers.st b/repository/Grease-Pharo30-Core.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo30-Core.package/monticello.meta/package b/repository/Grease-Pharo30-Core.package/monticello.meta/package deleted file mode 100644 index bd865be3..00000000 --- a/repository/Grease-Pharo30-Core.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'Grease-Pharo30-Core') \ No newline at end of file diff --git a/repository/Grease-Pharo30-Core.package/properties.json b/repository/Grease-Pharo30-Core.package/properties.json deleted file mode 100644 index 6f31cf5a..00000000 --- a/repository/Grease-Pharo30-Core.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file From 160450635db527204ccc989cb161e9569d712a9c Mon Sep 17 00:00:00 2001 From: vagrant Date: Sun, 20 Mar 2022 11:38:11 +0100 Subject: [PATCH 052/254] Added GsContext>>tempNamed: (for compatibility with the test in Pharo 10) --- .../GsContext.class/instance/tempNamed..st | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 repository/Grease-GemStone-Core.package/GsContext.class/instance/tempNamed..st diff --git a/repository/Grease-GemStone-Core.package/GsContext.class/instance/tempNamed..st b/repository/Grease-GemStone-Core.package/GsContext.class/instance/tempNamed..st new file mode 100644 index 00000000..18d3673a --- /dev/null +++ b/repository/Grease-GemStone-Core.package/GsContext.class/instance/tempNamed..st @@ -0,0 +1,7 @@ +accessing +tempNamed: aString + | index | + index := self tempNames indexOf: aString asSymbol. + index = 0 + ifTrue: [ Error raiseSignal: 'No such temp: ' , aString ]. + ^ self tempAt: index \ No newline at end of file From 3fc042786acfdf234a5451b98b38942b007f2aa2 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 20 Mar 2022 11:53:36 +0100 Subject: [PATCH 053/254] version 1.8.1 --- .../Grease-Core.package/GRPlatform.class/instance/version.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/version.st b/repository/Grease-Core.package/GRPlatform.class/instance/version.st index 481d901b..da6fcec1 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/version.st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/version.st @@ -2,5 +2,5 @@ version info version "Answer the Grease version" - ^ (GRVersion major: 1 minor: 8 revision: 0) + ^ (GRVersion major: 1 minor: 8 revision: 1) yourself \ No newline at end of file From 3898940d06f0b4929de08b2126c832b8f05174f1 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sat, 26 Mar 2022 17:49:50 +0100 Subject: [PATCH 054/254] fix grpackage methods for pharo100 (useless?) --- .../GRPackage.class/instance/resolveWith..st | 22 ++++++++++--------- ...sePharo70Core.st => greasePharo100Core.st} | 4 ++-- 2 files changed, 14 insertions(+), 12 deletions(-) rename repository/Grease-Pharo100-Core.package/GRPackage.extension/class/{greasePharo70Core.st => greasePharo100Core.st} (65%) diff --git a/repository/Grease-Core.package/GRPackage.class/instance/resolveWith..st b/repository/Grease-Core.package/GRPackage.class/instance/resolveWith..st index d7d8a964..2707d7f0 100644 --- a/repository/Grease-Core.package/GRPackage.class/instance/resolveWith..st +++ b/repository/Grease-Core.package/GRPackage.class/instance/resolveWith..st @@ -14,13 +14,15 @@ resolveWith: aDictionary "try -Pharo70-" aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo70-') ifAbsent: [ "try -Pharo90-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo90-') ifAbsent: [ - "try -Squeak-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak-') ifAbsent: [ - "try -Squeak5-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak5-') ifAbsent: [ - "try -Squeak6-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak6-') ifAbsent: [ - "specific for Grease-Slime" - aDictionary at: (each copyReplaceAll: 'Grease-Pharo-Slime' with: 'Grease-Slime') ifAbsent: [ - self error: self name printString , ' depends on unknown package ' , each printString ] ] ] ] ] ] ] ] ] ] ] ] \ No newline at end of file + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo90-') ifAbsent: [ + "try -Pharo100-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo100-') ifAbsent: [ + "try -Squeak-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak-') ifAbsent: [ + "try -Squeak5-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak5-') ifAbsent: [ + "try -Squeak6-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak6-') ifAbsent: [ + "specific for Grease-Slime" + aDictionary at: (each copyReplaceAll: 'Grease-Pharo-Slime' with: 'Grease-Slime') ifAbsent: [ + self error: self name printString , ' depends on unknown package ' , each printString ] ] ] ] ] ] ] ] ] ] ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPackage.extension/class/greasePharo70Core.st b/repository/Grease-Pharo100-Core.package/GRPackage.extension/class/greasePharo100Core.st similarity index 65% rename from repository/Grease-Pharo100-Core.package/GRPackage.extension/class/greasePharo70Core.st rename to repository/Grease-Pharo100-Core.package/GRPackage.extension/class/greasePharo100Core.st index 091ff123..241c674a 100644 --- a/repository/Grease-Pharo100-Core.package/GRPackage.extension/class/greasePharo70Core.st +++ b/repository/Grease-Pharo100-Core.package/GRPackage.extension/class/greasePharo100Core.st @@ -1,7 +1,7 @@ *Grease-Pharo100-Core -greasePharo70Core +greasePharo100Core ^ self new - name: 'Grease-Pharo90-Core'; + name: 'Grease-Pharo100-Core'; addDependency: 'Grease-Core'; url: #greaseUrl; yourself \ No newline at end of file From 27f68526dd3855edcca876de7d8db491cf565601 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 3 Apr 2022 10:21:26 +0200 Subject: [PATCH 055/254] Set an expected failure for testReadWriteEmptyFileInFolderBinary until fix https://github.com/svenvc/zinc/issues/86 is part of the released version --- .../GRPlatformTest.extension/instance/expectedFailures.st | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 repository/Grease-Tests-Pharo-Core.package/GRPlatformTest.extension/instance/expectedFailures.st diff --git a/repository/Grease-Tests-Pharo-Core.package/GRPlatformTest.extension/instance/expectedFailures.st b/repository/Grease-Tests-Pharo-Core.package/GRPlatformTest.extension/instance/expectedFailures.st new file mode 100644 index 00000000..d84912eb --- /dev/null +++ b/repository/Grease-Tests-Pharo-Core.package/GRPlatformTest.extension/instance/expectedFailures.st @@ -0,0 +1,6 @@ +*Grease-Tests-Pharo-Core +expectedFailures + "Fails in Pharo 10 until https://github.com/svenvc/zinc/issues/86 is part of Pharo 10" + ^ SystemVersion current major = 10 + ifTrue:[ (#testReadWriteEmptyFileInFolderBinary) ] + ifFalse: [ #() ] \ No newline at end of file From b2fcc5237d65461e21451a9586486f853d00d0e0 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 3 Apr 2022 10:24:49 +0200 Subject: [PATCH 056/254] fix expectedFailures... --- .../GRPlatformTest.extension/instance/expectedFailures.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/Grease-Tests-Pharo-Core.package/GRPlatformTest.extension/instance/expectedFailures.st b/repository/Grease-Tests-Pharo-Core.package/GRPlatformTest.extension/instance/expectedFailures.st index d84912eb..88b657ec 100644 --- a/repository/Grease-Tests-Pharo-Core.package/GRPlatformTest.extension/instance/expectedFailures.st +++ b/repository/Grease-Tests-Pharo-Core.package/GRPlatformTest.extension/instance/expectedFailures.st @@ -2,5 +2,5 @@ expectedFailures "Fails in Pharo 10 until https://github.com/svenvc/zinc/issues/86 is part of Pharo 10" ^ SystemVersion current major = 10 - ifTrue:[ (#testReadWriteEmptyFileInFolderBinary) ] + ifTrue:[ #(#testReadWriteEmptyFileInFolderBinary) ] ifFalse: [ #() ] \ No newline at end of file From 9c3b895089aae82f2e0d3d82020764ce12b2c054 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 3 Apr 2022 10:28:30 +0200 Subject: [PATCH 057/254] increase version number to v1.8.2 --- .../Grease-Core.package/GRPlatform.class/instance/version.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/version.st b/repository/Grease-Core.package/GRPlatform.class/instance/version.st index da6fcec1..571698e7 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/version.st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/version.st @@ -2,5 +2,5 @@ version info version "Answer the Grease version" - ^ (GRVersion major: 1 minor: 8 revision: 1) + ^ (GRVersion major: 1 minor: 8 revision: 2) yourself \ No newline at end of file From 74f54ab863f9b1100bf5ae6337f8e43cc7a4ab14 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 3 Apr 2022 10:42:07 +0200 Subject: [PATCH 058/254] move pharo 10 out of the 'experimental' list for the CI build, move all Squeak builds to the experimental part (help wanted maintaining Squeak!) --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bd9cb538..76e334eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,12 +8,16 @@ jobs: strategy: fail-fast: false matrix: - smalltalk: [ Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, Pharo-6.1, GemStone64-3.6.3, GemStone64-3.5.7, GemStone64-3.4.5, GemStone64-3.3.9, GemStone64-3.2.17, GemStone64-3.1.0.6, Squeak64-5.3, Squeak64-5.2, Squeak64-5.1 ] + smalltalk: [ Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, Pharo-6.1, GemStone64-3.6.3, GemStone64-3.5.7, GemStone64-3.4.5, GemStone64-3.3.9, GemStone64-3.2.17, GemStone64-3.1.0.6 ] experimental: [ false ] include: - smalltalk: Squeak64-trunk experimental: true - - smalltalk: Pharo64-10 + - smalltalk: Squeak64-5.3 + experimental: true + - smalltalk: Squeak64-5.2 + experimental: true + - smalltalk: Squeak64-5.1 experimental: true continue-on-error: ${{ matrix.experimental }} name: ${{ matrix.smalltalk }} From 3c4fa03cbdeab25d3d8aed1387d41aead2710eb4 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sat, 9 Apr 2022 15:04:11 +0200 Subject: [PATCH 059/254] Move all codecs in Pharo10 to use Zinc --- .../README.md | 7 --- .../class/on.converter..st | 3 -- .../instance/greaseNext.putAll.startingAt..st | 3 -- .../instance/initializeOn.converter..st | 4 -- .../instance/next..st | 8 ---- .../instance/next.st | 6 --- .../instance/nextPut..st | 3 -- .../instance/nextPutAll..st | 3 -- .../properties.json | 13 ------ .../README.md | 1 - .../instance/crlf.st | 4 -- .../instance/encodeDefault..st | 5 -- .../instance/encodeFast..st | 14 ------ .../instance/greaseNext.putAll.startingAt..st | 5 -- .../greaseNext.putAllFast.startingAt..st | 17 ------- .../instance/invalidUtf8.st | 3 -- .../instance/next..st | 46 ------------------- .../instance/next.st | 3 -- .../instance/nextPut..st | 11 ----- .../instance/nextPutAll..st | 5 -- .../properties.json | 14 ------ .../class/basicForEncoding..st | 3 -- .../GRPharoUtf16Codec.class/class/codecs.st | 3 -- .../class/supportsEncoding..st | 3 -- .../GRPharoUtf16Codec.class/instance/name.st | 3 -- .../GRPharoUtf8Codec.class/README.md | 1 - .../class/basicForEncoding..st | 3 -- .../GRPharoUtf8Codec.class/class/codecs.st | 3 -- .../class/supportsEncoding..st | 3 -- .../instance/decoderFor..st | 4 -- .../instance/encodedStringClass.st | 3 -- .../instance/encoderFor..st | 4 -- .../instance/invalidUtf8.st | 3 -- .../GRPharoUtf8Codec.class/instance/url.st | 3 -- .../GRPharoUtf8Codec.class/properties.json | 11 ----- .../README.md | 0 .../class/basicForEncoding..st | 5 ++ .../GRPharoZnCodec.class/class/codecs.st | 4 ++ .../class/supportedEncodingNames.st | 13 ++++++ .../class/supportsEncoding..st | 3 ++ .../instance/decode..st | 0 .../instance/decoderFor..st | 3 ++ .../instance/encodedStringClass.st | 0 .../instance/encoderFor..st | 5 ++ .../instance/initializeWithName..st | 7 +++ .../instance/name.st | 2 +- .../GRPharoZnCodec.class/instance/url.st | 5 ++ .../properties.json | 7 ++- .../README.md | 0 .../class/on.withEncoder..st | 3 ++ .../instance/greaseNext.putAll.startingAt..st | 0 .../instance/initializeOn.withEncoder..st | 5 ++ .../instance/next..st | 0 .../instance/next.st | 0 .../instance/nextPut..st | 0 .../instance/nextPutAll..st | 0 .../properties.json | 2 +- .../instance/initializeOn..st | 4 -- 58 files changed, 60 insertions(+), 236 deletions(-) delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/README.md delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/class/on.converter..st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/greaseNext.putAll.startingAt..st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/initializeOn.converter..st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/next..st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/next.st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/nextPut..st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/nextPutAll..st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/properties.json delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/README.md delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/crlf.st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeDefault..st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeFast..st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/invalidUtf8.st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next..st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next.st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPut..st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPutAll..st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/properties.json delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/class/basicForEncoding..st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/class/codecs.st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/class/supportsEncoding..st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/instance/name.st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/README.md delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/class/basicForEncoding..st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/class/codecs.st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/encodedStringClass.st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/invalidUtf8.st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/url.st delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/properties.json rename repository/Grease-Pharo100-Core.package/{GRPharoUtf16Codec.class => GRPharoZnCodec.class}/README.md (100%) create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/class/basicForEncoding..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/class/codecs.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/class/supportedEncodingNames.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/class/supportsEncoding..st rename repository/Grease-Pharo100-Core.package/{GRPharoUtf8Codec.class => GRPharoZnCodec.class}/instance/decode..st (100%) create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/decoderFor..st rename repository/Grease-Pharo100-Core.package/{GRPharoUtf16Codec.class => GRPharoZnCodec.class}/instance/encodedStringClass.st (100%) create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/encoderFor..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/initializeWithName..st rename repository/Grease-Pharo100-Core.package/{GRPharoUtf8Codec.class => GRPharoZnCodec.class}/instance/name.st (60%) create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/url.st rename repository/Grease-Pharo100-Core.package/{GRPharoUtf16Codec.class => GRPharoZnCodec.class}/properties.json (69%) rename repository/Grease-Pharo100-Core.package/{GRPharoZnUtf8CodecStream.class => GRPharoZnCodecStream.class}/README.md (100%) create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/class/on.withEncoder..st rename repository/Grease-Pharo100-Core.package/{GRPharoZnUtf8CodecStream.class => GRPharoZnCodecStream.class}/instance/greaseNext.putAll.startingAt..st (100%) create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/initializeOn.withEncoder..st rename repository/Grease-Pharo100-Core.package/{GRPharoZnUtf8CodecStream.class => GRPharoZnCodecStream.class}/instance/next..st (100%) rename repository/Grease-Pharo100-Core.package/{GRPharoZnUtf8CodecStream.class => GRPharoZnCodecStream.class}/instance/next.st (100%) rename repository/Grease-Pharo100-Core.package/{GRPharoZnUtf8CodecStream.class => GRPharoZnCodecStream.class}/instance/nextPut..st (100%) rename repository/Grease-Pharo100-Core.package/{GRPharoZnUtf8CodecStream.class => GRPharoZnCodecStream.class}/instance/nextPutAll..st (100%) rename repository/Grease-Pharo100-Core.package/{GRPharoZnUtf8CodecStream.class => GRPharoZnCodecStream.class}/properties.json (84%) delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/initializeOn..st diff --git a/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/README.md b/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/README.md deleted file mode 100644 index 7620280e..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/README.md +++ /dev/null @@ -1,7 +0,0 @@ -A WAConverterCodecStream is a WACodec stream around a TextConverter. It is always in text mode. - -Instance Variables - converter: - -converter - - the TextConverter used to do the encoding conversion diff --git a/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/class/on.converter..st b/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/class/on.converter..st deleted file mode 100644 index de8cd791..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/class/on.converter..st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -on: aStream converter: aConverter - ^ self basicNew initializeOn: aStream converter: aConverter \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/greaseNext.putAll.startingAt..st deleted file mode 100644 index 8321e299..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/greaseNext.putAll.startingAt..st +++ /dev/null @@ -1,3 +0,0 @@ -streaming -greaseNext: anInteger putAll: aCollection startingAt: startIndex - self nextPutAll: (aCollection copyFrom: startIndex to: startIndex + anInteger - 1) \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/initializeOn.converter..st b/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/initializeOn.converter..st deleted file mode 100644 index c380485d..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/initializeOn.converter..st +++ /dev/null @@ -1,4 +0,0 @@ -initialization -initializeOn: aStream converter: aConverter - self initializeOn: aStream. - converter := aConverter \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/next..st b/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/next..st deleted file mode 100644 index ef51837b..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/next..st +++ /dev/null @@ -1,8 +0,0 @@ -streaming -next: anInteger - | writeStream | - writeStream := WriteStream on: (String new: anInteger). - anInteger timesRepeat: [ - writeStream nextPut: (self next - ifNil: [ ^ writeStream contents ]) ]. - ^ writeStream contents \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/next.st b/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/next.st deleted file mode 100644 index eee99a1a..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/next.st +++ /dev/null @@ -1,6 +0,0 @@ -streaming -next - | character | - character := converter nextFromStream: stream. - ^ character isNil - ifFalse: [ character asCharacter ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/nextPut..st b/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/nextPut..st deleted file mode 100644 index e65f56c4..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/nextPut..st +++ /dev/null @@ -1,3 +0,0 @@ -streaming -nextPut: aCharacter - converter nextPut: aCharacter asCharacter toStream: stream \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/nextPutAll..st b/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/nextPutAll..st deleted file mode 100644 index a30c4507..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/instance/nextPutAll..st +++ /dev/null @@ -1,3 +0,0 @@ -streaming -nextPutAll: aString - aString asString do: [ :each | self nextPut: each ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/properties.json b/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/properties.json deleted file mode 100644 index 9b20acd5..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoConverterCodecStream.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "pmm 6/25/2012 20:22", - "super" : "GRCodecStream", - "category" : "Grease-Pharo100-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "converter" - ], - "name" : "GRPharoConverterCodecStream", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/README.md b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/README.md deleted file mode 100644 index 08323f18..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/README.md +++ /dev/null @@ -1 +0,0 @@ -A WAUtf8CodecStream is a WACodecStream optimized for UTF-8 performance in the case where most of the characters are ASCII. diff --git a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/crlf.st b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/crlf.st deleted file mode 100644 index ba607092..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/crlf.st +++ /dev/null @@ -1,4 +0,0 @@ -streaming -crlf - stream nextPut: Character cr. - stream nextPut: Character lf \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeDefault..st b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeDefault..st deleted file mode 100644 index cdd58a41..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeDefault..st +++ /dev/null @@ -1,5 +0,0 @@ -private -encodeDefault: aString - "Convert the given string from UTF-8 using the fast path if converting to Latin-1" - 1 to: aString size by: 1 do: [ :index | - converter nextPut: (aString at: index) toStream: stream ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeFast..st b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeFast..st deleted file mode 100644 index 9a8a0dc3..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/encodeFast..st +++ /dev/null @@ -1,14 +0,0 @@ -private -encodeFast: aByteString - "Convert the given string from UTF-8 using the fast path if converting to Latin-1" - | lastIndex nextIndex | - lastIndex := 1. - nextIndex := ByteString findFirstInString: aByteString inSet: Latin1ToUtf8Map startingAt: lastIndex. - nextIndex = 0 ifTrue: [ ^ stream nextPutAll: aByteString ]. - [ nextIndex > lastIndex ifTrue: [ - stream greaseNext: nextIndex - lastIndex putAll: aByteString startingAt: lastIndex ]. - stream nextPutAll: (Latin1ToUtf8Encodings at: (aByteString byteAt: nextIndex) + 1). - lastIndex := nextIndex + 1. - nextIndex := ByteString findFirstInString: aByteString inSet: Latin1ToUtf8Map startingAt: lastIndex. - nextIndex = 0 ] whileFalse. - stream greaseNext: aByteString size - lastIndex + 1 putAll: aByteString startingAt: lastIndex \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st deleted file mode 100644 index cd78fbe0..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st +++ /dev/null @@ -1,5 +0,0 @@ -streaming -greaseNext: anInteger putAll: aCollection startingAt: startIndex - aCollection isByteString - ifTrue: [ self greaseNext: anInteger putAllFast: aCollection startingAt: startIndex ] - ifFalse: [ super greaseNext: anInteger putAll: aCollection startingAt: startIndex ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st deleted file mode 100644 index a4c114cb..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st +++ /dev/null @@ -1,17 +0,0 @@ -private -greaseNext: anInteger putAllFast: aByteString startingAt: startIndex - | lastIndex nextIndex | - lastIndex := startIndex. - nextIndex := ByteString findFirstInString: aByteString inSet: Latin1ToUtf8Map startingAt: lastIndex. - nextIndex = 0 ifTrue: [ ^ stream greaseNext: anInteger putAll: aByteString startingAt: startIndex ]. - [ - nextIndex >= (startIndex + anInteger) ifTrue: [ - ^ stream greaseNext: startIndex + anInteger - lastIndex putAll: aByteString startingAt: lastIndex ]. - nextIndex > lastIndex ifTrue: [ - stream greaseNext: nextIndex - lastIndex putAll: aByteString startingAt: lastIndex ]. - stream nextPutAll: (Latin1ToUtf8Encodings at: (aByteString byteAt: nextIndex) + 1). - lastIndex := nextIndex + 1. - nextIndex := ByteString findFirstInString: aByteString inSet: Latin1ToUtf8Map startingAt: lastIndex. - (nextIndex = 0 or: [ nextIndex >= (startIndex + anInteger) ]) ] whileFalse. - lastIndex >= (startIndex + anInteger) ifFalse: [ - stream greaseNext: startIndex + anInteger - lastIndex putAll: aByteString startingAt: lastIndex ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/invalidUtf8.st b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/invalidUtf8.st deleted file mode 100644 index e4481c22..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/invalidUtf8.st +++ /dev/null @@ -1,3 +0,0 @@ -private -invalidUtf8 - ^ GRInvalidUtf8Error signal: 'Invalid UTF-8 input' \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next..st b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next..st deleted file mode 100644 index 116f524d..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next..st +++ /dev/null @@ -1,46 +0,0 @@ -streaming -next: anInteger - "Convert the given string from UTF-8 using the fast path if converting to Latin-1" - | output byte1 byte2 byte3 byte4 unicode count alreadyWide | - output := ByteString new: anInteger. - count := 0. - alreadyWide := false. - [ count < anInteger and: [ stream atEnd not ] ] whileTrue: [ - byte1 := stream next. - unicode := byte1. - (byte1 bitAnd: 16rE0) = 192 ifTrue: [ "two bytes" - byte2 := stream next. - (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - unicode := ((byte1 bitAnd: 31) bitShift: 6) + (byte2 bitAnd: 63) ]. - (byte1 bitAnd: 16rF0) = 224 ifTrue: [ "three bytes" - byte2 := stream next. - (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - byte3 := stream next. - (byte3 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - unicode := ((byte1 bitAnd: 15) bitShift: 12) + ((byte2 bitAnd: 63) bitShift: 6) - + (byte3 bitAnd: 63). - alreadyWide ifFalse: [ - output := WideString withAll: output. - alreadyWide := true ] ]. - (byte1 bitAnd: 16rF8) = 240 ifTrue: [ "four bytes" - byte2 := stream next. - (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - byte3 := stream next. - (byte3 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - byte4 := stream next. - (byte4 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - unicode := ((byte1 bitAnd: 16r7) bitShift: 18) + - ((byte2 bitAnd: 63) bitShift: 12) + - ((byte3 bitAnd: 63) bitShift: 6) + - (byte4 bitAnd: 63). - alreadyWide ifFalse: [ - output := WideString withAll: output. - alreadyWide := true ] ]. - unicode ifNil: [ self invalidUtf8 ]. - unicode = 16rFEFF "ignore BOM" ifFalse: [ - count := count + 1. - output at: count put: (Character codePoint: unicode) ]. - unicode := nil ]. - ^ count < anInteger - ifTrue: [ output first: count ] - ifFalse: [ output ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next.st b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next.st deleted file mode 100644 index 4363f086..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/next.st +++ /dev/null @@ -1,3 +0,0 @@ -streaming -next - ^ (self next: 1) first \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPut..st b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPut..st deleted file mode 100644 index ad2d94ab..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPut..st +++ /dev/null @@ -1,11 +0,0 @@ -streaming -nextPut: aCharacter - | codePoint shouldEncode | - codePoint := aCharacter codePoint. - codePoint > 255 - ifTrue: [ ^ self nextPutAll: (String with: aCharacter) ]. - shouldEncode := Latin1ToUtf8Map at: codePoint + 1. - shouldEncode = 1 - ifTrue: [ stream nextPutAll: (Latin1ToUtf8Encodings at: codePoint + 1) ] - ifFalse: [ stream nextPut: aCharacter ] - \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPutAll..st b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPutAll..st deleted file mode 100644 index b9136110..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/instance/nextPutAll..st +++ /dev/null @@ -1,5 +0,0 @@ -streaming -nextPutAll: aString - aString isByteString - ifTrue: [ self encodeFast: aString ] - ifFalse: [ self encodeDefault: aString ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/properties.json b/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/properties.json deleted file mode 100644 index ac542b99..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoDeprecatedUtf8CodecStream.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "pmm 2/20/2009 12:27", - "super" : "GRPharoConverterCodecStream", - "category" : "Grease-Pharo100-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ - "Latin1ToUtf8Encodings", - "Latin1ToUtf8Map" - ], - "instvars" : [ ], - "name" : "GRPharoDeprecatedUtf8CodecStream", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/class/basicForEncoding..st b/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/class/basicForEncoding..st deleted file mode 100644 index d4c4a74b..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/class/basicForEncoding..st +++ /dev/null @@ -1,3 +0,0 @@ -private -basicForEncoding: aString - ^ self new \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/class/codecs.st b/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/class/codecs.st deleted file mode 100644 index 632b84fb..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/class/codecs.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -codecs - ^ Array with: self new \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/class/supportsEncoding..st b/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/class/supportsEncoding..st deleted file mode 100644 index f0c130cf..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/class/supportsEncoding..st +++ /dev/null @@ -1,3 +0,0 @@ -private -supportsEncoding: aString - ^ (#('utf-16' 'UTF-16' 'utf16') includes: aString) \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/instance/name.st b/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/instance/name.st deleted file mode 100644 index 0dbca09f..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'utf-16' \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/README.md b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/README.md deleted file mode 100644 index c6047951..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/README.md +++ /dev/null @@ -1 +0,0 @@ -A WAUtf8Codec is a WACodec optimized for UTF-8. \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/class/basicForEncoding..st b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/class/basicForEncoding..st deleted file mode 100644 index d4c4a74b..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/class/basicForEncoding..st +++ /dev/null @@ -1,3 +0,0 @@ -private -basicForEncoding: aString - ^ self new \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/class/codecs.st b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/class/codecs.st deleted file mode 100644 index 632b84fb..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/class/codecs.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -codecs - ^ Array with: self new \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st deleted file mode 100644 index f1f07f4a..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st +++ /dev/null @@ -1,3 +0,0 @@ -private -supportsEncoding: aString - ^ (#('utf-8' 'UTF-8' 'utf8') includes: aString) \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st deleted file mode 100644 index 0c2be49b..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st +++ /dev/null @@ -1,4 +0,0 @@ -conversion -decoderFor: aStream - ^ GRPharoZnUtf8CodecStream - on: aStream \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/encodedStringClass.st b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/encodedStringClass.st deleted file mode 100644 index 6e5de896..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/encodedStringClass.st +++ /dev/null @@ -1,3 +0,0 @@ -conversion -encodedStringClass - ^ ByteArray \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st deleted file mode 100644 index 0e80cdaf..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st +++ /dev/null @@ -1,4 +0,0 @@ -conversion -encoderFor: aStream - ^ GRPharoZnUtf8CodecStream - on: aStream \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/invalidUtf8.st b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/invalidUtf8.st deleted file mode 100644 index e4481c22..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/invalidUtf8.st +++ /dev/null @@ -1,3 +0,0 @@ -private -invalidUtf8 - ^ GRInvalidUtf8Error signal: 'Invalid UTF-8 input' \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/url.st b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/url.st deleted file mode 100644 index 4696d714..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/url.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -url - ^ self \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/properties.json b/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/properties.json deleted file mode 100644 index fac6cdfc..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "pmm 2/20/2009 12:51", - "super" : "GRCodec", - "category" : "Grease-Pharo100-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRPharoUtf8Codec", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/README.md b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/README.md similarity index 100% rename from repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/README.md rename to repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/README.md diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/class/basicForEncoding..st b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/class/basicForEncoding..st new file mode 100644 index 00000000..f6b18bd4 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/class/basicForEncoding..st @@ -0,0 +1,5 @@ +private +basicForEncoding: aString + (self supportsEncoding: aString) + ifFalse: [ self unsupportedEncoding: aString ]. + ^ self basicNew initializeWithName: aString \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/class/codecs.st b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/class/codecs.st new file mode 100644 index 00000000..068914b5 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/class/codecs.st @@ -0,0 +1,4 @@ +accessing +codecs + ^ self supportedEncodingNames + collect: [ :each | self basicForEncoding: each greaseString ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/class/supportedEncodingNames.st b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/class/supportedEncodingNames.st new file mode 100644 index 00000000..b424dff3 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/class/supportedEncodingNames.st @@ -0,0 +1,13 @@ +accessing +supportedEncodingNames + "answers the names of the encodings supported by this class" + + | all | + all := ZnCharacterEncoder knownEncodingIdentifiers asOrderedCollection. + (all includes: 'utf8') + ifTrue:[ all addAll: #('utf-8' 'UTF-8') ]. + (all includes: 'utf16') + ifTrue:[ all addAll: #('utf-16' 'UTF-16') ]. + (all includes: 'macroman') + ifTrue:[ all add: 'mac-roman' ]. + ^ all \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/class/supportsEncoding..st b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/class/supportsEncoding..st new file mode 100644 index 00000000..d50a4862 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/class/supportsEncoding..st @@ -0,0 +1,3 @@ +accessing +supportsEncoding: aName + ^ self supportedEncodingNames includes: aName \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/decode..st b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/decode..st similarity index 100% rename from repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/decode..st rename to repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/decode..st diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/decoderFor..st b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/decoderFor..st new file mode 100644 index 00000000..0e839208 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/decoderFor..st @@ -0,0 +1,3 @@ +conversion +decoderFor: aStream + ^ self encoderFor: aStream \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/instance/encodedStringClass.st b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/encodedStringClass.st similarity index 100% rename from repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/instance/encodedStringClass.st rename to repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/encodedStringClass.st diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/encoderFor..st b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/encoderFor..st new file mode 100644 index 00000000..e64e8135 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/encoderFor..st @@ -0,0 +1,5 @@ +conversion +encoderFor: aStream + ^ GRPharoZnCodecStream + on: aStream + withEncoder: (ZnCharacterEncoder newForEncoding: self name) \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/initializeWithName..st b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/initializeWithName..st new file mode 100644 index 00000000..57f52136 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/initializeWithName..st @@ -0,0 +1,7 @@ +initialization +initializeWithName: aString + self initialize. + name := aString. + urlCodec := (#('iso-8859-15' 'cp-1252' 'utf8' 'utf-8' 'UTF-8') includes: aString) + ifFalse: [ GRCodec forEncoding: 'utf8' ] + ifTrue: [ self ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/name.st b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/name.st similarity index 60% rename from repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/name.st rename to repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/name.st index 7886c830..22077c20 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoUtf8Codec.class/instance/name.st +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/name.st @@ -1,3 +1,3 @@ accessing name - ^ 'utf-8' \ No newline at end of file + ^ name \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/url.st b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/url.st new file mode 100644 index 00000000..232ad239 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/url.st @@ -0,0 +1,5 @@ +accessing +url + "RFC 3986: When a new URI scheme defines a component that represents textual data consisting of characters from the Universal Character Set [UCS], the data should first be encoded as octets according to the UTF-8 character encoding." + + ^ urlCodec \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/properties.json b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/properties.json similarity index 69% rename from repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/properties.json rename to repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/properties.json index 56886198..f45c54aa 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoUtf16Codec.class/properties.json +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/properties.json @@ -5,7 +5,10 @@ "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], - "instvars" : [ ], - "name" : "GRPharoUtf16Codec", + "instvars" : [ + "name", + "urlCodec" + ], + "name" : "GRPharoZnCodec", "type" : "normal" } \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/README.md b/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/README.md similarity index 100% rename from repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/README.md rename to repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/README.md diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/class/on.withEncoder..st b/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/class/on.withEncoder..st new file mode 100644 index 00000000..a91977ca --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/class/on.withEncoder..st @@ -0,0 +1,3 @@ +instance creation +on: aStream withEncoder: aZnEncoder + ^ self basicNew initializeOn: aStream withEncoder: aZnEncoder \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/greaseNext.putAll.startingAt..st similarity index 100% rename from repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st rename to repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/greaseNext.putAll.startingAt..st diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/initializeOn.withEncoder..st b/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/initializeOn.withEncoder..st new file mode 100644 index 00000000..8fc52caa --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/initializeOn.withEncoder..st @@ -0,0 +1,5 @@ +initialization +initializeOn: aStream withEncoder: aZnEncoder + self initialize. + stream := aStream. + encoder := aZnEncoder \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/next..st b/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/next..st similarity index 100% rename from repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/next..st rename to repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/next..st diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/next.st b/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/next.st similarity index 100% rename from repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/next.st rename to repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/next.st diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPut..st b/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/nextPut..st similarity index 100% rename from repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPut..st rename to repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/nextPut..st diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st b/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/nextPutAll..st similarity index 100% rename from repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st rename to repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/nextPutAll..st diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/properties.json b/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/properties.json similarity index 84% rename from repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/properties.json rename to repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/properties.json index 93eab264..44040131 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/properties.json +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/properties.json @@ -8,6 +8,6 @@ "instvars" : [ "encoder" ], - "name" : "GRPharoZnUtf8CodecStream", + "name" : "GRPharoZnCodecStream", "type" : "normal" } \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/initializeOn..st b/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/initializeOn..st deleted file mode 100644 index ece3cda0..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoZnUtf8CodecStream.class/instance/initializeOn..st +++ /dev/null @@ -1,4 +0,0 @@ -initialization -initializeOn: aStream - super initializeOn: aStream. - encoder := ZnCharacterEncoder utf8 \ No newline at end of file From 1d8daee7641b5e860eb8abd3c72652b37da6b546 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sat, 9 Apr 2022 15:24:54 +0200 Subject: [PATCH 060/254] make thisContext test work for Squeak --- .../GRPlatform.class/instance/version.st | 2 +- .../instance/testThisContext.st | 31 ++++++++++++------- 2 files changed, 21 insertions(+), 12 deletions(-) diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/version.st b/repository/Grease-Core.package/GRPlatform.class/instance/version.st index 571698e7..1649dccd 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/version.st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/version.st @@ -2,5 +2,5 @@ version info version "Answer the Grease version" - ^ (GRVersion major: 1 minor: 8 revision: 2) + ^ (GRVersion major: 1 minor: 9 revision: 0) yourself \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testThisContext.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testThisContext.st index 640f1966..d8fecfc7 100644 --- a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testThisContext.st +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testThisContext.st @@ -1,18 +1,27 @@ tests testThisContext - | methodContext block | + | methodContext block ctx | + "This is just a basic test to see if thisContext works" methodContext := self platform thisContext. block := [ | blockContext | - blockContext := self platform thisContext. - self assert: blockContext sender = methodContext. - "The following is a difference between Gemstone and Pharo... " - (Smalltalk includesKey: #GRGemStonePlatform) - ifTrue: [ self assert: blockContext receiver = block ] - ifFalse: [ - self assert: blockContext receiver = self. - self assert: (blockContext tempNamed: 'blockContext') == blockContext ]. - self assert: (blockContext tempNamed: 'methodContext') == methodContext ]. + blockContext := self platform thisContext. + self assert: blockContext sender = methodContext. + "The following is a difference between Gemstone and Pharo... " + (Smalltalk includesKey: #GRGemStonePlatform) + ifTrue: [ self assert: blockContext receiver = block ] + ifFalse: [ + self assert: blockContext receiver = self. + (blockContext respondsTo: #tempNamed:) + ifTrue:[ self assert: (blockContext tempNamed: 'blockContext') == blockContext ] + ifFalse:[ self assert: (blockContext namedTempAt: (blockContext tempNames indexOf: #blockContext)) == blockContext ] ]. + (blockContext respondsTo: #tempNamed:) + ifTrue:[ self assert: (blockContext tempNamed: 'methodContext') == methodContext ] + ifFalse: [ self assert: (blockContext namedTempAt: (blockContext tempNames indexOf: #methodContext)) == methodContext ] ]. + block value. self assert: self returnSender = methodContext. self assert: methodContext receiver = self. - self assert: (self platform thisContext tempNamed: 'block') == block \ No newline at end of file + ctx := self platform thisContext. + (ctx respondsTo: #tempNamed:) + ifTrue:[ self assert: (ctx tempNamed: 'block') == block ] + ifFalse: [ self assert: (ctx namedTempAt: (ctx tempNames indexOf: #block)) == block ] \ No newline at end of file From 269986e66d292816c34f82e5e7b9851716b00df9 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sat, 9 Apr 2022 16:53:41 +0200 Subject: [PATCH 061/254] CI updates: move Squeak back --- .github/workflows/ci.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 76e334eb..67d01c8c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,17 +8,11 @@ jobs: strategy: fail-fast: false matrix: - smalltalk: [ Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, Pharo-6.1, GemStone64-3.6.3, GemStone64-3.5.7, GemStone64-3.4.5, GemStone64-3.3.9, GemStone64-3.2.17, GemStone64-3.1.0.6 ] + smalltalk: [ Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, Pharo-6.1, GemStone64-3.6.3, GemStone64-3.5.7, GemStone64-3.4.5, GemStone64-3.3.9, GemStone64-3.2.17, GemStone64-3.1.0.6, Squeak64-5.3, Squeak64-5.2, Squeak64-5.1 ] experimental: [ false ] include: - smalltalk: Squeak64-trunk experimental: true - - smalltalk: Squeak64-5.3 - experimental: true - - smalltalk: Squeak64-5.2 - experimental: true - - smalltalk: Squeak64-5.1 - experimental: true continue-on-error: ${{ matrix.experimental }} name: ${{ matrix.smalltalk }} steps: From fd607d1dba672b03e75763eaf22eee2cb0db84e3 Mon Sep 17 00:00:00 2001 From: Max Leske Date: Wed, 20 May 2020 10:26:42 +0200 Subject: [PATCH 062/254] Added #binaryWriteStreamFor:do: and #newTemporaryFileReference to GRPlatform and concrete implementations to GRPharoPlatform and GRSqueakPlatform --- .../instance/binaryWriteStreamFor.do..st | 6 ++++++ .../instance/newTemporaryFileReference.st | 8 ++++++++ .../GRPharoPlatform.class/README.md | 2 +- .../instance/binaryWriteStreamFor.do..st | 6 ++++++ .../instance/newTemporaryFileReference.st | 8 ++++++++ .../GRPharoPlatform.class/properties.json | 2 +- .../Grease-Squeak-Core.package/.filetree | 5 +++-- .../instance/binaryWriteStreamFor.do..st | 8 ++++++++ .../instance/newTemporaryFileReference.st | 8 ++++++++ .../GRSqueakPlatform.class/properties.json | 19 ++++++++----------- .../Object.extension/properties.json | 3 ++- .../SmallInteger.extension/properties.json | 3 ++- .../properties.json | 3 +-- 13 files changed, 62 insertions(+), 19 deletions(-) create mode 100644 repository/Grease-Core.package/GRPlatform.class/instance/binaryWriteStreamFor.do..st create mode 100644 repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileReference.st create mode 100644 repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/binaryWriteStreamFor.do..st create mode 100644 repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st create mode 100644 repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/binaryWriteStreamFor.do..st create mode 100644 repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileReference.st diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/binaryWriteStreamFor.do..st b/repository/Grease-Core.package/GRPlatform.class/instance/binaryWriteStreamFor.do..st new file mode 100644 index 00000000..08e52e93 --- /dev/null +++ b/repository/Grease-Core.package/GRPlatform.class/instance/binaryWriteStreamFor.do..st @@ -0,0 +1,6 @@ +file library +binaryWriteStreamFor: aFileReference do: aBlock + "Open a binary writeStream for aFileReference and evaluate aBlock + with the stream as argument. + The stream will be closed after the block has completed." + self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileReference.st b/repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileReference.st new file mode 100644 index 00000000..7b885531 --- /dev/null +++ b/repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileReference.st @@ -0,0 +1,8 @@ +file library +newTemporaryFileReference + "Create a new temporary file in the systems temp directory + and answer a reference to it. + It is the users responsibility to delete or move the file, + it will not be cleaned up automatically (unless the host system + has a policy for it)." + ^ self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/README.md b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/README.md index f0375aac..e71bb46d 100644 --- a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/README.md +++ b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/README.md @@ -1 +1 @@ -A WASqueakPlatform is the Squeak implementation of SeasidePlatformSupport, the Seaside class that provides functionality that can not be implemented in a platform independent way. +A GRPharoPlatform is the Pharo implementation of GRPlatform, the Grease class that provides functionality that can not be implemented in a platform independent way. diff --git a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/binaryWriteStreamFor.do..st b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/binaryWriteStreamFor.do..st new file mode 100644 index 00000000..6c8a0772 --- /dev/null +++ b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/binaryWriteStreamFor.do..st @@ -0,0 +1,6 @@ +file library +binaryWriteStreamFor: aFileReference do: aBlock + "Open a binary writeStream for aFileReference and evaluate aBlock + with the stream as argument. + The stream will be closed after the block has completed." + aFileReference binaryWriteStreamDo: aBlock \ No newline at end of file diff --git a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st new file mode 100644 index 00000000..272bb249 --- /dev/null +++ b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st @@ -0,0 +1,8 @@ +file library +newTemporaryFileReference + "Create a new temporary file in the systems temp directory + and answer a reference to it. + It is the users responsibility to delete or move the file, + it will not be cleaned up automatically (unless the host system + has a policy for it)." + ^ FileLocator temp / UUID new asString \ No newline at end of file diff --git a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/properties.json b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/properties.json index 6c67d70a..ab8c26b8 100644 --- a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/properties.json +++ b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "pmm 6/1/2008 01:03", + "commentStamp" : "pmm 2/1/2014 13:28", "super" : "GRPlatform", "category" : "Grease-Pharo70-Core", "classinstvars" : [ ], diff --git a/repository/Grease-Squeak-Core.package/.filetree b/repository/Grease-Squeak-Core.package/.filetree index 8998102c..57a67973 100644 --- a/repository/Grease-Squeak-Core.package/.filetree +++ b/repository/Grease-Squeak-Core.package/.filetree @@ -1,4 +1,5 @@ { - "noMethodMetaData" : true, "separateMethodMetaAndSource" : false, - "useCypressPropertiesFile" : true } + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/binaryWriteStreamFor.do..st b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/binaryWriteStreamFor.do..st new file mode 100644 index 00000000..dbf0bbef --- /dev/null +++ b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/binaryWriteStreamFor.do..st @@ -0,0 +1,8 @@ +file library +binaryWriteStreamFor: aFileReference do: aBlock + "Open a binary writeStream for aFileReference and evaluate aBlock + with the stream as argument. + The stream will be closed after the block has completed." + FileDirectory default + fileNamed: aFileReference fullName + do: aBlock \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileReference.st b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileReference.st new file mode 100644 index 00000000..ec935dad --- /dev/null +++ b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileReference.st @@ -0,0 +1,8 @@ +file library +newTemporaryFileReference + "Create a new temporary file in the systems temp directory + and answer a reference to it. + It is the users responsibility to delete or move the file, + it will not be cleaned up automatically (unless the host system + has a policy for it)." + ^ FileDirectory default / UUID new asString \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/properties.json b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/properties.json index b07c70d3..5f39af5c 100644 --- a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/properties.json +++ b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Squeak-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRSqueakPlatform", - "pools" : [ - ], "super" : "GRPharoPlatform", - "type" : "normal" } + "category" : "Grease-Squeak-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRSqueakPlatform", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/Object.extension/properties.json b/repository/Grease-Squeak-Core.package/Object.extension/properties.json index 3d3b9ec4..f30a86e1 100644 --- a/repository/Grease-Squeak-Core.package/Object.extension/properties.json +++ b/repository/Grease-Squeak-Core.package/Object.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "Object" } + "name" : "Object" +} \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/SmallInteger.extension/properties.json b/repository/Grease-Squeak-Core.package/SmallInteger.extension/properties.json index d2d9ab4a..ca9cd21f 100644 --- a/repository/Grease-Squeak-Core.package/SmallInteger.extension/properties.json +++ b/repository/Grease-Squeak-Core.package/SmallInteger.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "SmallInteger" } + "name" : "SmallInteger" +} \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/properties.json b/repository/Grease-Squeak-Core.package/properties.json index f037444a..6f31cf5a 100644 --- a/repository/Grease-Squeak-Core.package/properties.json +++ b/repository/Grease-Squeak-Core.package/properties.json @@ -1,2 +1 @@ -{ - } +{ } \ No newline at end of file From 4a739737f884e793446af766b88cebb7a051aa38 Mon Sep 17 00:00:00 2001 From: Max Leske Date: Sat, 4 Jun 2022 15:10:31 +0200 Subject: [PATCH 063/254] Add methods used for streaming to Pharo 100 platform --- .../instance/binaryWriteStreamFor.do..st | 6 ++++++ .../instance/newTemporaryFileReference.st | 8 ++++++++ 2 files changed, 14 insertions(+) create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/binaryWriteStreamFor.do..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/binaryWriteStreamFor.do..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/binaryWriteStreamFor.do..st new file mode 100644 index 00000000..6c8a0772 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/binaryWriteStreamFor.do..st @@ -0,0 +1,6 @@ +file library +binaryWriteStreamFor: aFileReference do: aBlock + "Open a binary writeStream for aFileReference and evaluate aBlock + with the stream as argument. + The stream will be closed after the block has completed." + aFileReference binaryWriteStreamDo: aBlock \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st new file mode 100644 index 00000000..272bb249 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st @@ -0,0 +1,8 @@ +file library +newTemporaryFileReference + "Create a new temporary file in the systems temp directory + and answer a reference to it. + It is the users responsibility to delete or move the file, + it will not be cleaned up automatically (unless the host system + has a policy for it)." + ^ FileLocator temp / UUID new asString \ No newline at end of file From 8b34088fc592d7506c4d83c2d77318d4cd1a937f Mon Sep 17 00:00:00 2001 From: Max Leske Date: Sat, 4 Jun 2022 15:11:52 +0200 Subject: [PATCH 064/254] Add methods for streaming to Pharo 9 platform --- .../instance/binaryWriteStreamFor.do..st | 6 ++++++ .../instance/newTemporaryFileReference.st | 8 ++++++++ 2 files changed, 14 insertions(+) create mode 100644 repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/binaryWriteStreamFor.do..st create mode 100644 repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/binaryWriteStreamFor.do..st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/binaryWriteStreamFor.do..st new file mode 100644 index 00000000..6c8a0772 --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/binaryWriteStreamFor.do..st @@ -0,0 +1,6 @@ +file library +binaryWriteStreamFor: aFileReference do: aBlock + "Open a binary writeStream for aFileReference and evaluate aBlock + with the stream as argument. + The stream will be closed after the block has completed." + aFileReference binaryWriteStreamDo: aBlock \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st new file mode 100644 index 00000000..272bb249 --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st @@ -0,0 +1,8 @@ +file library +newTemporaryFileReference + "Create a new temporary file in the systems temp directory + and answer a reference to it. + It is the users responsibility to delete or move the file, + it will not be cleaned up automatically (unless the host system + has a policy for it)." + ^ FileLocator temp / UUID new asString \ No newline at end of file From 47808cbd36ca1a6181cec0c1ad4be64fedfd9f6a Mon Sep 17 00:00:00 2001 From: Max Leske Date: Sun, 5 Jun 2022 15:56:03 +0200 Subject: [PATCH 065/254] Remove #binaryWriteStreamFor:do: #writeFileStreamOn:do:binary: already provides this functionality --- .../GRPlatform.class/instance/binaryWriteStreamFor.do..st | 6 ------ .../instance/binaryWriteStreamFor.do..st | 6 ------ 2 files changed, 12 deletions(-) delete mode 100644 repository/Grease-Core.package/GRPlatform.class/instance/binaryWriteStreamFor.do..st delete mode 100644 repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/binaryWriteStreamFor.do..st diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/binaryWriteStreamFor.do..st b/repository/Grease-Core.package/GRPlatform.class/instance/binaryWriteStreamFor.do..st deleted file mode 100644 index 08e52e93..00000000 --- a/repository/Grease-Core.package/GRPlatform.class/instance/binaryWriteStreamFor.do..st +++ /dev/null @@ -1,6 +0,0 @@ -file library -binaryWriteStreamFor: aFileReference do: aBlock - "Open a binary writeStream for aFileReference and evaluate aBlock - with the stream as argument. - The stream will be closed after the block has completed." - self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/binaryWriteStreamFor.do..st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/binaryWriteStreamFor.do..st deleted file mode 100644 index 6c8a0772..00000000 --- a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/binaryWriteStreamFor.do..st +++ /dev/null @@ -1,6 +0,0 @@ -file library -binaryWriteStreamFor: aFileReference do: aBlock - "Open a binary writeStream for aFileReference and evaluate aBlock - with the stream as argument. - The stream will be closed after the block has completed." - aFileReference binaryWriteStreamDo: aBlock \ No newline at end of file From c5c716756e7263fbb85c026fe77bd4be0a6c5a48 Mon Sep 17 00:00:00 2001 From: Max Leske Date: Sun, 5 Jun 2022 15:58:35 +0200 Subject: [PATCH 066/254] Removed #binaryWriteStreamFor:do: from Pharo 10 #writeFileStreamOn:do:binary: already provides this functionality --- .../instance/binaryWriteStreamFor.do..st | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/binaryWriteStreamFor.do..st diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/binaryWriteStreamFor.do..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/binaryWriteStreamFor.do..st deleted file mode 100644 index 6c8a0772..00000000 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/binaryWriteStreamFor.do..st +++ /dev/null @@ -1,6 +0,0 @@ -file library -binaryWriteStreamFor: aFileReference do: aBlock - "Open a binary writeStream for aFileReference and evaluate aBlock - with the stream as argument. - The stream will be closed after the block has completed." - aFileReference binaryWriteStreamDo: aBlock \ No newline at end of file From 3899a411625b7a5aba1d2bc7ab80c79364f3336b Mon Sep 17 00:00:00 2001 From: Max Leske Date: Sun, 5 Jun 2022 15:59:25 +0200 Subject: [PATCH 067/254] Removed #binaryWriteStreamFor:do: from Pharo 7 #writeFileStreamOn:do:binary: already provides this functionality --- .../instance/binaryWriteStreamFor.do..st | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/binaryWriteStreamFor.do..st diff --git a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/binaryWriteStreamFor.do..st b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/binaryWriteStreamFor.do..st deleted file mode 100644 index 6c8a0772..00000000 --- a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/binaryWriteStreamFor.do..st +++ /dev/null @@ -1,6 +0,0 @@ -file library -binaryWriteStreamFor: aFileReference do: aBlock - "Open a binary writeStream for aFileReference and evaluate aBlock - with the stream as argument. - The stream will be closed after the block has completed." - aFileReference binaryWriteStreamDo: aBlock \ No newline at end of file From a248d0807a1552daacadab408e521c5dcc03776c Mon Sep 17 00:00:00 2001 From: Max Leske Date: Sun, 5 Jun 2022 16:00:39 +0200 Subject: [PATCH 068/254] Removed #binaryWriteStreamFor:do: from Squeak #writeFileStreamOn:do:binary: already provides this functionality --- .../instance/binaryWriteStreamFor.do..st | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/binaryWriteStreamFor.do..st diff --git a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/binaryWriteStreamFor.do..st b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/binaryWriteStreamFor.do..st deleted file mode 100644 index dbf0bbef..00000000 --- a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/binaryWriteStreamFor.do..st +++ /dev/null @@ -1,8 +0,0 @@ -file library -binaryWriteStreamFor: aFileReference do: aBlock - "Open a binary writeStream for aFileReference and evaluate aBlock - with the stream as argument. - The stream will be closed after the block has completed." - FileDirectory default - fileNamed: aFileReference fullName - do: aBlock \ No newline at end of file From ce61d53225c603881c857766e6c5c29c0fc4b7f5 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 6 Jun 2022 10:30:27 +0200 Subject: [PATCH 069/254] Removing expected failure since https://github.com/svenvc/zinc/issues/86 has been integrated into pharo 10 --- .../GRPlatformTest.extension/instance/expectedFailures.st | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 repository/Grease-Tests-Pharo-Core.package/GRPlatformTest.extension/instance/expectedFailures.st diff --git a/repository/Grease-Tests-Pharo-Core.package/GRPlatformTest.extension/instance/expectedFailures.st b/repository/Grease-Tests-Pharo-Core.package/GRPlatformTest.extension/instance/expectedFailures.st deleted file mode 100644 index 88b657ec..00000000 --- a/repository/Grease-Tests-Pharo-Core.package/GRPlatformTest.extension/instance/expectedFailures.st +++ /dev/null @@ -1,6 +0,0 @@ -*Grease-Tests-Pharo-Core -expectedFailures - "Fails in Pharo 10 until https://github.com/svenvc/zinc/issues/86 is part of Pharo 10" - ^ SystemVersion current major = 10 - ifTrue:[ #(#testReadWriteEmptyFileInFolderBinary) ] - ifFalse: [ #() ] \ No newline at end of file From 514c8cd26ac195a672e12b534fc7c5877501580c Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sat, 23 Jul 2022 21:05:50 +0200 Subject: [PATCH 070/254] More file ops (#139) * moved the methods dealing with files into their own protocol (they were in the 'file library' protocol which is specific support for Seaside file libraries) * added GRPlatforn>>deleteFile:, GRDelegatingStream>>position:, GRPlatform>>newTemporaryFileReferenceNamed: --- .../GRDelegatingStream.class/instance/position..st | 3 +++ .../GRPlatform.class/instance/contentsOfFile.binary..st | 2 +- .../GRPlatform.class/instance/deleteFile..st | 3 +++ .../GRPlatform.class/instance/directoriesIn..st | 2 +- .../GRPlatform.class/instance/ensureExistenceOfFolder..st | 2 +- .../GRPlatform.class/instance/fileExists..st | 2 +- .../GRPlatform.class/instance/fileStreamOn.do.binary..st | 2 +- .../GRPlatform.class/instance/filesIn..st | 2 +- .../GRPlatform.class/instance/localNameOf..st | 2 +- .../instance/newTemporaryFileReference.st | 2 +- .../instance/newTemporaryFileReferenceNamed..st | 3 +++ .../GRPlatform.class/instance/pathSeparator.st | 2 +- .../instance/readFileStreamOn.do.binary..st | 2 +- .../GRPlatform.class/instance/write.toFile.inFolder..st | 2 +- .../instance/writeFileStreamOn.do.binary..st | 2 +- .../instance/contentsOfFile.binary..st | 2 +- .../GRPharoPlatform.class/instance/deleteFile..st | 3 +++ .../GRPharoPlatform.class/instance/directoriesIn..st | 2 +- .../instance/ensureExistenceOfFolder..st | 2 +- .../GRPharoPlatform.class/instance/fileExists..st | 2 +- .../GRPharoPlatform.class/instance/filesIn..st | 2 +- .../GRPharoPlatform.class/instance/localNameOf..st | 2 +- .../instance/newTemporaryFileReference.st | 4 ++-- .../instance/newTemporaryFileReferenceNamed..st | 8 ++++++++ .../GRPharoPlatform.class/instance/pathSeparator.st | 2 +- .../instance/readFileStreamOn.do.binary..st | 2 +- .../instance/write.toFile.inFolder..st | 2 +- .../instance/writeFileStreamOn.do.binary..st | 2 +- .../GRPharoPlatform.class/instance/deleteFile..st | 3 +++ .../instance/newTemporaryFileReference.st | 2 +- .../instance/newTemporaryFileReferenceNamed..st | 8 ++++++++ .../instance/contentsOfFile.binary..st | 2 +- .../GRPharoPlatform.class/instance/deleteFile..st | 3 +++ .../GRPharoPlatform.class/instance/directoriesIn..st | 2 +- .../instance/ensureExistenceOfFolder..st | 2 +- .../GRPharoPlatform.class/instance/fileExists..st | 2 +- .../GRPharoPlatform.class/instance/filesIn..st | 2 +- .../GRPharoPlatform.class/instance/localNameOf..st | 2 +- .../instance/newTemporaryFileReference.st | 4 ++-- .../instance/newTemporaryFileReferenceNamed..st | 8 ++++++++ .../GRPharoPlatform.class/instance/pathSeparator.st | 2 +- .../instance/readFileStreamOn.do.binary..st | 2 +- .../instance/write.toFile.inFolder..st | 2 +- .../instance/writeFileStreamOn.do.binary..st | 2 +- .../GRPlatformTest.class/instance/testFileExists.st | 2 +- 45 files changed, 80 insertions(+), 38 deletions(-) create mode 100644 repository/Grease-Core.package/GRDelegatingStream.class/instance/position..st create mode 100644 repository/Grease-Core.package/GRPlatform.class/instance/deleteFile..st create mode 100644 repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileReferenceNamed..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/deleteFile..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReferenceNamed..st create mode 100644 repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/deleteFile..st create mode 100644 repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReferenceNamed..st create mode 100644 repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/deleteFile..st create mode 100644 repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReferenceNamed..st diff --git a/repository/Grease-Core.package/GRDelegatingStream.class/instance/position..st b/repository/Grease-Core.package/GRDelegatingStream.class/instance/position..st new file mode 100644 index 00000000..a20d8783 --- /dev/null +++ b/repository/Grease-Core.package/GRDelegatingStream.class/instance/position..st @@ -0,0 +1,3 @@ +accessing +position: anInteger + ^ stream position: anInteger \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/contentsOfFile.binary..st b/repository/Grease-Core.package/GRPlatform.class/instance/contentsOfFile.binary..st index 291cfff6..515d6552 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/contentsOfFile.binary..st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/contentsOfFile.binary..st @@ -1,3 +1,3 @@ -file library +files contentsOfFile: aString binary: aBoolean self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/deleteFile..st b/repository/Grease-Core.package/GRPlatform.class/instance/deleteFile..st new file mode 100644 index 00000000..9819eed2 --- /dev/null +++ b/repository/Grease-Core.package/GRPlatform.class/instance/deleteFile..st @@ -0,0 +1,3 @@ +files +deleteFile: aPathString + self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/directoriesIn..st b/repository/Grease-Core.package/GRPlatform.class/instance/directoriesIn..st index c7077286..14b5f839 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/directoriesIn..st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/directoriesIn..st @@ -1,4 +1,4 @@ -file library +files directoriesIn: aPathString "Answer a collection of absolute paths for all the directories (no files) in the directory given by aPathString must not include directory names that start with ." diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/ensureExistenceOfFolder..st b/repository/Grease-Core.package/GRPlatform.class/instance/ensureExistenceOfFolder..st index c86a0539..a4b8da7c 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/ensureExistenceOfFolder..st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/ensureExistenceOfFolder..st @@ -1,4 +1,4 @@ -file library +files ensureExistenceOfFolder: aString "Create a folder named aString in the image directory." self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/fileExists..st b/repository/Grease-Core.package/GRPlatform.class/instance/fileExists..st index fe0b42f0..208d4d40 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/fileExists..st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/fileExists..st @@ -1,3 +1,3 @@ -file library +files fileExists: aString self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/fileStreamOn.do.binary..st b/repository/Grease-Core.package/GRPlatform.class/instance/fileStreamOn.do.binary..st index f0155c88..df95afbb 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/fileStreamOn.do.binary..st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/fileStreamOn.do.binary..st @@ -1,4 +1,4 @@ -file library +files fileStreamOn: aString do: aBlock binary: aBoolean self greaseDeprecatedApi: 'GRPlatform>>#fileStreamOn:do:binary:' diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/filesIn..st b/repository/Grease-Core.package/GRPlatform.class/instance/filesIn..st index 1edd1fc6..eacae2b3 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/filesIn..st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/filesIn..st @@ -1,4 +1,4 @@ -file library +files filesIn: aPathString "Answer a collection of absolute paths for all the files (no directories) in the directory given by aPathString must not include file names that start with ." diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/localNameOf..st b/repository/Grease-Core.package/GRPlatform.class/instance/localNameOf..st index 36c6934d..11fdda4b 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/localNameOf..st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/localNameOf..st @@ -1,4 +1,4 @@ -file library +files localNameOf: aFilename "Answer the local name of a file identified by an absolute file path. diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileReference.st b/repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileReference.st index 7b885531..91961b92 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileReference.st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileReference.st @@ -1,4 +1,4 @@ -file library +files newTemporaryFileReference "Create a new temporary file in the systems temp directory and answer a reference to it. diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileReferenceNamed..st b/repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileReferenceNamed..st new file mode 100644 index 00000000..93059d5f --- /dev/null +++ b/repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileReferenceNamed..st @@ -0,0 +1,3 @@ +files +newTemporaryFileReferenceNamed: aName + self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/pathSeparator.st b/repository/Grease-Core.package/GRPlatform.class/instance/pathSeparator.st index 430f97c3..a4c10b7f 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/pathSeparator.st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/pathSeparator.st @@ -1,4 +1,4 @@ -file library +files pathSeparator "Answer the path separator as a String, eg. '/' on Unix and '\' on Windows." self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/readFileStreamOn.do.binary..st b/repository/Grease-Core.package/GRPlatform.class/instance/readFileStreamOn.do.binary..st index 3ffa885a..31dd9427 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/readFileStreamOn.do.binary..st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/readFileStreamOn.do.binary..st @@ -1,3 +1,3 @@ -file library +files readFileStreamOn: aString do: aBlock binary: aBoolean self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/write.toFile.inFolder..st b/repository/Grease-Core.package/GRPlatform.class/instance/write.toFile.inFolder..st index a855cb60..5d974bc9 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/write.toFile.inFolder..st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/write.toFile.inFolder..st @@ -1,4 +1,4 @@ -file library +files write: aStringOrByteArray toFile: aFileNameString inFolder: aFolderString "Write aStringOrByteArray to a file named aFileNameString in the folder aFolderString." self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/writeFileStreamOn.do.binary..st b/repository/Grease-Core.package/GRPlatform.class/instance/writeFileStreamOn.do.binary..st index 3d67b1a2..6fdd00d2 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/writeFileStreamOn.do.binary..st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/writeFileStreamOn.do.binary..st @@ -1,3 +1,3 @@ -file library +files writeFileStreamOn: aString do: aBlock binary: aBoolean self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st index ecfdc9d4..01aff905 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st @@ -1,3 +1,3 @@ -file library +files contentsOfFile: aString binary: aBoolean ^ self readFileStreamOn: aString do: [ :stream | stream contents ] binary: aBoolean \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/deleteFile..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/deleteFile..st new file mode 100644 index 00000000..d3c82d99 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/deleteFile..st @@ -0,0 +1,3 @@ +files +deleteFile: aPathString + aPathString asFileReference delete \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/directoriesIn..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/directoriesIn..st index c5beee09..a6e6c3d1 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/directoriesIn..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/directoriesIn..st @@ -1,4 +1,4 @@ -file library +files directoriesIn: aPathString "Answer a collection of absolute paths for all the directories (no files) in the directory given by aPathString must not include directory names that start with ." diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st index 907e0168..ef505d70 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st @@ -1,4 +1,4 @@ -file library +files ensureExistenceOfFolder: aString "creates a folder named aString in the image directory" FileSystem disk ensureCreateDirectory: aString \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/fileExists..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/fileExists..st index 2a02cc3f..e12b7927 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/fileExists..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/fileExists..st @@ -1,3 +1,3 @@ -file library +files fileExists: aString ^ aString asFileReference exists \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/filesIn..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/filesIn..st index e3b9a6b0..230ea184 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/filesIn..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/filesIn..st @@ -1,4 +1,4 @@ -file library +files filesIn: aPathString "Return a collection of absolute paths for all the files (no directories) in the directory given by aPathString must not include file names that start with ." diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/localNameOf..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/localNameOf..st index 8f4efb85..64db9825 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/localNameOf..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/localNameOf..st @@ -1,3 +1,3 @@ -file library +files localNameOf: aFilename ^ (FileSystem disk resolveString: aFilename) basename \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st index 272bb249..cd503715 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st @@ -1,8 +1,8 @@ -file library +files newTemporaryFileReference "Create a new temporary file in the systems temp directory and answer a reference to it. It is the users responsibility to delete or move the file, it will not be cleaned up automatically (unless the host system has a policy for it)." - ^ FileLocator temp / UUID new asString \ No newline at end of file + ^ self newTemporaryFileReferenceNamed: UUID new asString \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReferenceNamed..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReferenceNamed..st new file mode 100644 index 00000000..5f4d0602 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReferenceNamed..st @@ -0,0 +1,8 @@ +files +newTemporaryFileReferenceNamed: aName + "Create a new temporary file in the systems temp directory + and answer a reference to it. + It is the users responsibility to delete or move the file, + it will not be cleaned up automatically (unless the host system + has a policy for it)." + ^ FileLocator temp / aName \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/pathSeparator.st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/pathSeparator.st index 10f88300..2da9f364 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/pathSeparator.st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/pathSeparator.st @@ -1,3 +1,3 @@ -file library +files pathSeparator ^ String with: FileSystem disk delimiter \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/readFileStreamOn.do.binary..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/readFileStreamOn.do.binary..st index 1852f83e..6324baf5 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/readFileStreamOn.do.binary..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/readFileStreamOn.do.binary..st @@ -1,4 +1,4 @@ -file library +files readFileStreamOn: aString do: aBlock binary: aBoolean ^ aBoolean diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/write.toFile.inFolder..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/write.toFile.inFolder..st index bbde965a..6a1bd7a0 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/write.toFile.inFolder..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/write.toFile.inFolder..st @@ -1,4 +1,4 @@ -file library +files write: aStringOrByteArray toFile: aFileNameString inFolder: aFolderString "writes aStringOrByteArray to a file named aFilenameString in the folder aFolderString" ^ self diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/writeFileStreamOn.do.binary..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/writeFileStreamOn.do.binary..st index 0b43135e..43d33949 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/writeFileStreamOn.do.binary..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/writeFileStreamOn.do.binary..st @@ -1,4 +1,4 @@ -file library +files writeFileStreamOn: aString do: aBlock binary: aBoolean ^ aBoolean ifTrue: [ aString asFileReference binaryWriteStreamDo: aBlock ] diff --git a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/deleteFile..st b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/deleteFile..st new file mode 100644 index 00000000..7aa3b432 --- /dev/null +++ b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/deleteFile..st @@ -0,0 +1,3 @@ +file library +deleteFile: aPathString + aPathString asFileReference delete \ No newline at end of file diff --git a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st index 272bb249..ce7f6f18 100644 --- a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st +++ b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st @@ -5,4 +5,4 @@ newTemporaryFileReference It is the users responsibility to delete or move the file, it will not be cleaned up automatically (unless the host system has a policy for it)." - ^ FileLocator temp / UUID new asString \ No newline at end of file + ^ self newTemporaryFileReferenceNamed: UUID new asString \ No newline at end of file diff --git a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReferenceNamed..st b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReferenceNamed..st new file mode 100644 index 00000000..f0fdf80f --- /dev/null +++ b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReferenceNamed..st @@ -0,0 +1,8 @@ +file library +newTemporaryFileReferenceNamed: aName + "Create a new temporary file in the systems temp directory + and answer a reference to it. + It is the users responsibility to delete or move the file, + it will not be cleaned up automatically (unless the host system + has a policy for it)." + ^ FileLocator temp / aName \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st index ecfdc9d4..01aff905 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st @@ -1,3 +1,3 @@ -file library +files contentsOfFile: aString binary: aBoolean ^ self readFileStreamOn: aString do: [ :stream | stream contents ] binary: aBoolean \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/deleteFile..st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/deleteFile..st new file mode 100644 index 00000000..d3c82d99 --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/deleteFile..st @@ -0,0 +1,3 @@ +files +deleteFile: aPathString + aPathString asFileReference delete \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/directoriesIn..st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/directoriesIn..st index c5beee09..a6e6c3d1 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/directoriesIn..st +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/directoriesIn..st @@ -1,4 +1,4 @@ -file library +files directoriesIn: aPathString "Answer a collection of absolute paths for all the directories (no files) in the directory given by aPathString must not include directory names that start with ." diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st index 907e0168..ef505d70 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st @@ -1,4 +1,4 @@ -file library +files ensureExistenceOfFolder: aString "creates a folder named aString in the image directory" FileSystem disk ensureCreateDirectory: aString \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/fileExists..st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/fileExists..st index 2a02cc3f..e12b7927 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/fileExists..st +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/fileExists..st @@ -1,3 +1,3 @@ -file library +files fileExists: aString ^ aString asFileReference exists \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/filesIn..st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/filesIn..st index e3b9a6b0..230ea184 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/filesIn..st +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/filesIn..st @@ -1,4 +1,4 @@ -file library +files filesIn: aPathString "Return a collection of absolute paths for all the files (no directories) in the directory given by aPathString must not include file names that start with ." diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/localNameOf..st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/localNameOf..st index 8f4efb85..64db9825 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/localNameOf..st +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/localNameOf..st @@ -1,3 +1,3 @@ -file library +files localNameOf: aFilename ^ (FileSystem disk resolveString: aFilename) basename \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st index 272bb249..cd503715 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st @@ -1,8 +1,8 @@ -file library +files newTemporaryFileReference "Create a new temporary file in the systems temp directory and answer a reference to it. It is the users responsibility to delete or move the file, it will not be cleaned up automatically (unless the host system has a policy for it)." - ^ FileLocator temp / UUID new asString \ No newline at end of file + ^ self newTemporaryFileReferenceNamed: UUID new asString \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReferenceNamed..st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReferenceNamed..st new file mode 100644 index 00000000..5f4d0602 --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReferenceNamed..st @@ -0,0 +1,8 @@ +files +newTemporaryFileReferenceNamed: aName + "Create a new temporary file in the systems temp directory + and answer a reference to it. + It is the users responsibility to delete or move the file, + it will not be cleaned up automatically (unless the host system + has a policy for it)." + ^ FileLocator temp / aName \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/pathSeparator.st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/pathSeparator.st index 10f88300..2da9f364 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/pathSeparator.st +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/pathSeparator.st @@ -1,3 +1,3 @@ -file library +files pathSeparator ^ String with: FileSystem disk delimiter \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/readFileStreamOn.do.binary..st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/readFileStreamOn.do.binary..st index 1852f83e..6324baf5 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/readFileStreamOn.do.binary..st +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/readFileStreamOn.do.binary..st @@ -1,4 +1,4 @@ -file library +files readFileStreamOn: aString do: aBlock binary: aBoolean ^ aBoolean diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/write.toFile.inFolder..st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/write.toFile.inFolder..st index bbde965a..6a1bd7a0 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/write.toFile.inFolder..st +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/write.toFile.inFolder..st @@ -1,4 +1,4 @@ -file library +files write: aStringOrByteArray toFile: aFileNameString inFolder: aFolderString "writes aStringOrByteArray to a file named aFilenameString in the folder aFolderString" ^ self diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/writeFileStreamOn.do.binary..st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/writeFileStreamOn.do.binary..st index 0b43135e..43d33949 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/writeFileStreamOn.do.binary..st +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/writeFileStreamOn.do.binary..st @@ -1,4 +1,4 @@ -file library +files writeFileStreamOn: aString do: aBlock binary: aBoolean ^ aBoolean ifTrue: [ aString asFileReference binaryWriteStreamDo: aBlock ] diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testFileExists.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testFileExists.st index 5d7796bc..2e7a73fa 100644 --- a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testFileExists.st +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testFileExists.st @@ -1,4 +1,4 @@ -tests-filestreams +tests-files testFileExists | theFileName | self From bef0ac1d35ea0107c20165efc1529e9894bc55af Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sat, 23 Jul 2022 21:08:41 +0200 Subject: [PATCH 071/254] added Pharo11 as experimental to CI builds, dropping tests and support for Pharo 6.1 --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 67d01c8c..eabab463 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,9 +8,11 @@ jobs: strategy: fail-fast: false matrix: - smalltalk: [ Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, Pharo-6.1, GemStone64-3.6.3, GemStone64-3.5.7, GemStone64-3.4.5, GemStone64-3.3.9, GemStone64-3.2.17, GemStone64-3.1.0.6, Squeak64-5.3, Squeak64-5.2, Squeak64-5.1 ] + smalltalk: [ Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.6.3, GemStone64-3.5.7, GemStone64-3.4.5, GemStone64-3.3.9, GemStone64-3.2.17, GemStone64-3.1.0.6, Squeak64-5.3, Squeak64-5.2, Squeak64-5.1 ] experimental: [ false ] include: + - smalltalk: Pharo64-11 + experimental: true - smalltalk: Squeak64-trunk experimental: true continue-on-error: ${{ matrix.experimental }} From 52103f6549731b8c74870ce915041a7b097e20de Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sat, 23 Jul 2022 21:13:54 +0200 Subject: [PATCH 072/254] Remove pharo5.x from BaselineOfGrease --- .../BaselineOfGrease.class/instance/baselinePharo..st | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st index 69725fe7..25181a0b 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st @@ -1,16 +1,5 @@ baselines baselinePharo: spec - - spec - for: #(#'pharo5.x') - do: [ spec - package: 'Grease-Core' with: [ spec includes: #('Grease-Pharo30-Core') ]; - package: 'Grease-Tests-Pharo-Core' with: [ spec requires: #('Grease-Tests-Core') ]; - package: 'Grease-Tests-Core' - with: [ spec - requires: #('Grease-Pharo30-Core'); - includes: #('Grease-Tests-Pharo-Core') ]; - package: 'Grease-Pharo30-Core' with: [ spec requires: #('Grease-Core') ] ]. spec for: #'pharo6.x' From 2a4832c1146386fa18f10c3e0bf4376e6c79218e Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sat, 23 Jul 2022 21:15:23 +0200 Subject: [PATCH 073/254] declare Grease version 1.10 --- .../Grease-Core.package/GRPlatform.class/instance/version.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/version.st b/repository/Grease-Core.package/GRPlatform.class/instance/version.st index 1649dccd..2bf3551f 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/version.st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/version.st @@ -2,5 +2,5 @@ version info version "Answer the Grease version" - ^ (GRVersion major: 1 minor: 9 revision: 0) + ^ (GRVersion major: 1 minor: 10 revision: 0) yourself \ No newline at end of file From b00facf24af9faa06f1504b87c6e8917b9442bd4 Mon Sep 17 00:00:00 2001 From: Philippe Marschall Date: Sat, 20 Aug 2022 18:56:37 +0200 Subject: [PATCH 074/254] Add base 64 encoding support --- .../GRPlatform.class/instance/base64Encode..st | 4 ++++ .../instance/base64Encode..st | 3 +++ .../instance/testBase64Encode.st | 14 ++++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 repository/Grease-Core.package/GRPlatform.class/instance/base64Encode..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/base64Encode..st create mode 100644 repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testBase64Encode.st diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/base64Encode..st b/repository/Grease-Core.package/GRPlatform.class/instance/base64Encode..st new file mode 100644 index 00000000..1e94d60c --- /dev/null +++ b/repository/Grease-Core.package/GRPlatform.class/instance/base64Encode..st @@ -0,0 +1,4 @@ +encoding +base64Encode: aByteArray + "Base64 encode the given byte array and answer the result as a String." + self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/base64Encode..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/base64Encode..st new file mode 100644 index 00000000..4cb93d20 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/base64Encode..st @@ -0,0 +1,3 @@ +encoding +base64Encode: aByteArray + ^ aByteArray base64Encoded \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testBase64Encode.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testBase64Encode.st new file mode 100644 index 00000000..d1a2b4be --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testBase64Encode.st @@ -0,0 +1,14 @@ +tests +testBase64Encode + | input | + input := #( + (97 110 121 32 99 97 114 110 97 108 32 112 108 101 97 115 117 114 101 46) 'YW55IGNhcm5hbCBwbGVhc3VyZS4=' + (97 110 121 32 99 97 114 110 97 108 32 112 108 101 97 115 117 114 101) 'YW55IGNhcm5hbCBwbGVhc3VyZQ==' + (97 110 121 32 99 97 114 110 97 108 32 112 108 101 97 115 117 114) 'YW55IGNhcm5hbCBwbGVhc3Vy' + (97 110 121 32 99 97 114 110 97 108 32 112 108 101 97 115 117) 'YW55IGNhcm5hbCBwbGVhc3U=' + (97 110 121 32 99 97 114 110 97 108 32 112 108 101 97 115) 'YW55IGNhcm5hbCBwbGVhcw=='). + 1 to: input size by: 2 do: [ :index | + | decoded expected | + decoded := GRPlatform current base64Encode: (input at: index) asByteArray. + expected := input at: index + 1. + self assert: decoded = expected ] \ No newline at end of file From 61c4c8db4ccc5d1da24948d709b0438a9d68abe0 Mon Sep 17 00:00:00 2001 From: Philippe Marschall Date: Thu, 25 Aug 2022 10:31:40 +0200 Subject: [PATCH 075/254] Add more Pharo and Squeak implementations --- .../GRPharoPlatform.class/instance/base64Encode..st | 3 +++ .../GRPharoPlatform.class/instance/base64Encode..st | 3 +++ .../GRPharoPlatform.class/instance/base64Encode..st | 3 +++ .../GRPharoPlatform.class/instance/base64Encode..st | 3 +++ .../GRPharoPlatform.class/instance/base64Encode..st | 3 +++ 5 files changed, 15 insertions(+) create mode 100644 repository/Grease-Pharo60-Core.package/GRPharoPlatform.class/instance/base64Encode..st create mode 100644 repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/base64Encode..st create mode 100644 repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/base64Encode..st create mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/base64Encode..st create mode 100644 repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/base64Encode..st diff --git a/repository/Grease-Pharo60-Core.package/GRPharoPlatform.class/instance/base64Encode..st b/repository/Grease-Pharo60-Core.package/GRPharoPlatform.class/instance/base64Encode..st new file mode 100644 index 00000000..f5e24f05 --- /dev/null +++ b/repository/Grease-Pharo60-Core.package/GRPharoPlatform.class/instance/base64Encode..st @@ -0,0 +1,3 @@ +encoding +base64Encode: aByteArray + ^ (Base64MimeConverter base64Encode: aByteArray readStream) contents diff --git a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/base64Encode..st b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/base64Encode..st new file mode 100644 index 00000000..4cb93d20 --- /dev/null +++ b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/base64Encode..st @@ -0,0 +1,3 @@ +encoding +base64Encode: aByteArray + ^ aByteArray base64Encoded \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/base64Encode..st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/base64Encode..st new file mode 100644 index 00000000..4cb93d20 --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/base64Encode..st @@ -0,0 +1,3 @@ +encoding +base64Encode: aByteArray + ^ aByteArray base64Encoded \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/base64Encode..st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/base64Encode..st new file mode 100644 index 00000000..4cb93d20 --- /dev/null +++ b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/base64Encode..st @@ -0,0 +1,3 @@ +encoding +base64Encode: aByteArray + ^ aByteArray base64Encoded \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/base64Encode..st b/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/base64Encode..st new file mode 100644 index 00000000..4cb93d20 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/base64Encode..st @@ -0,0 +1,3 @@ +encoding +base64Encode: aByteArray + ^ aByteArray base64Encoded \ No newline at end of file From a0cbf948e9d38983c7e8d86ec77b8d1103eeebbe Mon Sep 17 00:00:00 2001 From: Philippe Marschall Date: Sun, 21 Aug 2022 11:50:42 +0200 Subject: [PATCH 076/254] Add #asMethodReturningString:named: Fixes #141 --- .../asMethodReturningString.named..st | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 repository/Grease-Core.package/GRPlatform.class/instance/asMethodReturningString.named..st diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/asMethodReturningString.named..st b/repository/Grease-Core.package/GRPlatform.class/instance/asMethodReturningString.named..st new file mode 100644 index 00000000..364e0bf1 --- /dev/null +++ b/repository/Grease-Core.package/GRPlatform.class/instance/asMethodReturningString.named..st @@ -0,0 +1,21 @@ +file library +asMethodReturningString: aByteArrayOrString named: aSymbol + "Generates the source of a method named aSymbol that returns aByteArrayOrString as a String. + + This implementation answers a String formatted like so + + aSymbol + ^ aByteArrayOrString + + Subclasses need to override this method if the dialect needs changes to support Unicode string literals" + ^ String streamContents: [ :stream | + stream + nextPutAll: aSymbol; + nextPut: Character cr. + stream + tab; + nextPutAll: '^ '''. + aByteArrayOrString greaseString do: [ :each | + each = $' ifTrue: [ stream nextPut: $' ]. + stream nextPut: each ]. + stream nextPut: $' ] \ No newline at end of file From d05db984fe498e717e987a12a15db7b4e1f5de0e Mon Sep 17 00:00:00 2001 From: Philippe Marschall Date: Tue, 23 Aug 2022 11:07:56 +0200 Subject: [PATCH 077/254] Add unit tests for string methods --- .../GRPlatform.class/instance/doSilently..st | 4 ++++ .../GRPlatformTest.class/instance/runCase.st | 3 +++ .../instance/supportsUnicode.st | 10 ++++++++++ .../instance/testCompileAsciiString.st | 17 +++++++++++++++++ .../instance/testCompileUnicodeString.st | 15 +++++++++++++++ 5 files changed, 49 insertions(+) create mode 100644 repository/Grease-Core.package/GRPlatform.class/instance/doSilently..st create mode 100644 repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/runCase.st create mode 100644 repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/supportsUnicode.st create mode 100644 repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testCompileAsciiString.st create mode 100644 repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testCompileUnicodeString.st diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/doSilently..st b/repository/Grease-Core.package/GRPlatform.class/instance/doSilently..st new file mode 100644 index 00000000..89a96f47 --- /dev/null +++ b/repository/Grease-Core.package/GRPlatform.class/instance/doSilently..st @@ -0,0 +1,4 @@ +file library +doSilently: aBlock + "Suspend all notifications value evaluating the given block." + ^ aBlock value \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/runCase.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/runCase.st new file mode 100644 index 00000000..9465625f --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/runCase.st @@ -0,0 +1,3 @@ +running +runCase + GRPlatform current doSilently: [ super runCase ] \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/supportsUnicode.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/supportsUnicode.st new file mode 100644 index 00000000..a22719d9 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/supportsUnicode.st @@ -0,0 +1,10 @@ +private +supportsUnicode + "dynamically try to figure out whether the current dialect supports Unicode" + ^ [ + String + with: (Character value: 16r1F1F3) + with: (Character value: 16r1F1F1). + true + ] on: Error + do: [ :error | false ] \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testCompileAsciiString.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testCompileAsciiString.st new file mode 100644 index 00000000..cfe0c3ff --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testCompileAsciiString.st @@ -0,0 +1,17 @@ +tests-file library +testCompileAsciiString + | selector expected source | + + self supportsUnicode ifFalse: [ + ^ self ]. + + selector := #stringMethod. + expected := 'test ok'. + source := GRPlatform current asMethodReturningString: expected named: selector. + [ + | actual | + GRPlatform current compile: source into: self class classified: 'private'. + actual := self perform: selector. + self assert: expected = actual + ] ensure: [ + GRPlatform current removeSelector: #stringMethod from: self class ] \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testCompileUnicodeString.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testCompileUnicodeString.st new file mode 100644 index 00000000..a02b1ac5 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testCompileUnicodeString.st @@ -0,0 +1,15 @@ +tests-file library +testCompileUnicodeString + | selector expected source | + selector := #stringMethod. + expected := String + with: (Character value: 16r1F1F3) + with: (Character value: 16r1F1F1). + source := GRPlatform current asMethodReturningString: expected named: selector. + [ + | actual | + GRPlatform current compile: source into: self class classified: 'private'. + actual := self perform: selector. + self assert: expected = actual + ] ensure: [ + GRPlatform current removeSelector: #stringMethod from: self class ] \ No newline at end of file From 6c7f37d9e6909fde572d03ac63db0f19c8334bb5 Mon Sep 17 00:00:00 2001 From: Philippe Marschall Date: Fri, 26 Aug 2022 11:31:41 +0200 Subject: [PATCH 078/254] Add GemStone implementation --- .../GRGemStonePlatform.class/instance/base64Encode..st | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/base64Encode..st diff --git a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/base64Encode..st b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/base64Encode..st new file mode 100644 index 00000000..f5e24f05 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/base64Encode..st @@ -0,0 +1,3 @@ +encoding +base64Encode: aByteArray + ^ (Base64MimeConverter base64Encode: aByteArray readStream) contents From 6106bc7bef7e34e0b6d62acaab7c833434a6068b Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Fri, 26 Aug 2022 13:40:08 +0200 Subject: [PATCH 079/254] correct gemstone implementation of base64Encode --- .../GRGemStonePlatform.class/instance/base64Encode..st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/base64Encode..st b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/base64Encode..st index f5e24f05..4a3631f8 100644 --- a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/base64Encode..st +++ b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/base64Encode..st @@ -1,3 +1,3 @@ encoding base64Encode: aByteArray - ^ (Base64MimeConverter base64Encode: aByteArray readStream) contents + ^ (Base64MimeConverter mimeEncode: aByteArray readStream) contents From ae6a114965bfd20038ae3c1242130511d8774385 Mon Sep 17 00:00:00 2001 From: Philippe Marschall Date: Sun, 21 Aug 2022 12:30:24 +0200 Subject: [PATCH 080/254] Avoid copies in GRPharoZnCodecStream Fixes #143 --- .../instance/greaseNext.putAll.startingAt..st | 2 +- .../GRPharoZnCodecStream.class/instance/nextPutAll..st | 2 +- .../instance/greaseNext.putAll.startingAt..st | 2 +- .../GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/greaseNext.putAll.startingAt..st index 73411a20..eed7aded 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/greaseNext.putAll.startingAt..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/greaseNext.putAll.startingAt..st @@ -1,3 +1,3 @@ accessing greaseNext: anInteger putAll: aCollection startingAt: startIndex - self nextPutAll: (aCollection copyFrom: startIndex to: startIndex + anInteger - 1) \ No newline at end of file + encoder next: anInteger putAll: aCollection startingAt: startIndex toStream: stream \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/nextPutAll..st b/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/nextPutAll..st index f8f3e8e4..f108177b 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/nextPutAll..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/nextPutAll..st @@ -1,3 +1,3 @@ streaming nextPutAll: aString - aString asString do:[ :each | self nextPut: each ] \ No newline at end of file + encoder next: aString size putAll: aString startingAt: 1 toStream: stream \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st index 73411a20..eed7aded 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st +++ b/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st @@ -1,3 +1,3 @@ accessing greaseNext: anInteger putAll: aCollection startingAt: startIndex - self nextPutAll: (aCollection copyFrom: startIndex to: startIndex + anInteger - 1) \ No newline at end of file + encoder next: anInteger putAll: aCollection startingAt: startIndex toStream: stream \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st b/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st index f8f3e8e4..f108177b 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st +++ b/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st @@ -1,3 +1,3 @@ streaming nextPutAll: aString - aString asString do:[ :each | self nextPut: each ] \ No newline at end of file + encoder next: aString size putAll: aString startingAt: 1 toStream: stream \ No newline at end of file From c75b7d41eb20d964bcf26e91468ab8bde4eee4f6 Mon Sep 17 00:00:00 2001 From: Philippe Marschall Date: Mon, 29 Aug 2022 12:17:28 +0200 Subject: [PATCH 081/254] Add lost #asString --- .../GRPharoZnCodecStream.class/instance/nextPutAll..st | 4 +++- .../GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/nextPutAll..st b/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/nextPutAll..st index f108177b..f7494a83 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/nextPutAll..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/nextPutAll..st @@ -1,3 +1,5 @@ streaming nextPutAll: aString - encoder next: aString size putAll: aString startingAt: 1 toStream: stream \ No newline at end of file + | string | + string := aString asString. + encoder next: string size putAll: string startingAt: 1 toStream: stream \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st b/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st index f108177b..f7494a83 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st +++ b/repository/Grease-Pharo90-Core.package/GRPharoZnUtf8CodecStream.class/instance/nextPutAll..st @@ -1,3 +1,5 @@ streaming nextPutAll: aString - encoder next: aString size putAll: aString startingAt: 1 toStream: stream \ No newline at end of file + | string | + string := aString asString. + encoder next: string size putAll: string startingAt: 1 toStream: stream \ No newline at end of file From 97f4638b4728cd80ec3696a397c4ec62e3de638d Mon Sep 17 00:00:00 2001 From: Philippe Marschall Date: Wed, 31 Aug 2022 22:25:16 +0200 Subject: [PATCH 082/254] Fixes for Squeak 6 --- .../GRSqueakPlatform.class/instance/thisContext.st | 4 ++++ .../String.extension/instance/substrings..st | 5 +++++ .../Symbol.extension/instance/greaseAsMutator.st | 4 ++++ .../Symbol.extension/properties.json | 2 ++ .../instance/writeToFile.withFileNameDo..st | 12 ++++++++++++ 5 files changed, 27 insertions(+) create mode 100644 repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/thisContext.st create mode 100644 repository/Grease-Squeak6-Core.package/String.extension/instance/substrings..st create mode 100644 repository/Grease-Squeak6-Core.package/Symbol.extension/instance/greaseAsMutator.st create mode 100644 repository/Grease-Squeak6-Core.package/Symbol.extension/properties.json create mode 100644 repository/Grease-Tests-Squeak6-Core.package/GRPlatformTest.extension/instance/writeToFile.withFileNameDo..st diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/thisContext.st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/thisContext.st new file mode 100644 index 00000000..ed9ce368 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/thisContext.st @@ -0,0 +1,4 @@ +processes +thisContext + + ^ thisContext sender diff --git a/repository/Grease-Squeak6-Core.package/String.extension/instance/substrings..st b/repository/Grease-Squeak6-Core.package/String.extension/instance/substrings..st new file mode 100644 index 00000000..90bc60ae --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/String.extension/instance/substrings..st @@ -0,0 +1,5 @@ +*grease-squeak6-core +substrings: aString + + ^ self subStrings: aString + diff --git a/repository/Grease-Squeak6-Core.package/Symbol.extension/instance/greaseAsMutator.st b/repository/Grease-Squeak6-Core.package/Symbol.extension/instance/greaseAsMutator.st new file mode 100644 index 00000000..075a4ccf --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/Symbol.extension/instance/greaseAsMutator.st @@ -0,0 +1,4 @@ +*grease-squeak6-core +greaseAsMutator + + ^ self asSimpleSetter diff --git a/repository/Grease-Squeak6-Core.package/Symbol.extension/properties.json b/repository/Grease-Squeak6-Core.package/Symbol.extension/properties.json new file mode 100644 index 00000000..565e67b0 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/Symbol.extension/properties.json @@ -0,0 +1,2 @@ +{ + "name" : "Symbol" } diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPlatformTest.extension/instance/writeToFile.withFileNameDo..st b/repository/Grease-Tests-Squeak6-Core.package/GRPlatformTest.extension/instance/writeToFile.withFileNameDo..st new file mode 100644 index 00000000..ec976216 --- /dev/null +++ b/repository/Grease-Tests-Squeak6-Core.package/GRPlatformTest.extension/instance/writeToFile.withFileNameDo..st @@ -0,0 +1,12 @@ +*grease-tests-squeak6-core +writeToFile: aStringOrByteArray withFileNameDo: aBlock + | fileName directory | + fileName := 'GRPharoPlatformTest'. + directory := FileSystem disk workingDirectory. + [ GRPlatform current + write: aStringOrByteArray + toFile: fileName + inFolder: directory fullName. + aBlock value: directory fullName, GRPlatform current pathSeparator, fileName + ] ensure: [ + (directory / fileName) delete ] From 63c9f37fe96161ae63f5f3a722942df3a109346b Mon Sep 17 00:00:00 2001 From: Philippe Marschall Date: Wed, 19 Oct 2022 14:07:53 -0700 Subject: [PATCH 083/254] Copy license file from Seaside repository Fixes #150 --- LICENSE.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 LICENSE.md diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 00000000..1277759a --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,24 @@ +# MIT License + +Copyright © 2001 –- 2009 Avi Bryant, Julian Fitzell +Copyright © 2007 –- 2009 Lukas Renggli, Michel Bany, Philippe Marschall +Copyright © Seaside Contributors https://github.com/SeasideSt/Seaside/wiki/Contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + From 8d93bfab590116bfae6dd397a63e84fed7131280 Mon Sep 17 00:00:00 2001 From: Torsten Bergmann Date: Fri, 6 Jan 2023 12:25:31 +0100 Subject: [PATCH 084/254] Code cleanup: no unnecessary tabs, space and final dots Fix #152 --- .../GRCodec.class/class/forEncoding..st | 2 +- .../GRCodec.class/instance/decoderFor..st | 4 ++-- .../GRCodec.class/instance/encoderFor..st | 2 +- .../GRDelayedSend.class/class/receiver.selector..st | 4 ++-- .../class/receiver.selector.arguments..st | 4 ++-- .../GRDelayedSend.class/instance/argumentCount.st | 2 +- .../instance/argumentCount.st | 2 +- .../instance/valueFor.withArguments..st | 2 +- .../instance/valueFor.withPossibleArguments..st | 2 +- .../GRMappedPrinter.class/class/block.next..st | 2 +- .../class/use.during..st | 2 +- .../class/value.st | 2 +- .../GRNullCodec.class/instance/decoderFor..st | 2 +- .../GRNullCodec.class/instance/encoderFor..st | 2 +- .../GRNullCodec.class/instance/url.st | 2 +- .../GRNumberPrinter.class/instance/accuracy..st | 2 +- .../GRNumberPrinter.class/instance/digitsOf.base..st | 2 +- .../GRNumberPrinter.class/instance/infinite..st | 2 +- .../GRNumberPrinter.class/instance/lengthOf.base..st | 2 +- .../GRNumberPrinter.class/instance/nan..st | 2 +- .../GRNumberPrinter.class/instance/precision..st | 2 +- .../GRNumberPrinter.class/instance/print.on..st | 2 +- .../instance/printDigitsOf.withLength.on..st | 2 +- .../instance/printInteger.on..st | 4 ++-- .../instance/separate.left.on..st | 2 +- .../instance/separate.right..st | 2 +- .../GRNumberPrinter.class/instance/uppercase.st | 2 +- .../GROrderedMultiMap.class/instance/at.add..st | 2 +- .../GROrderedMultiMap2.class/instance/at.add..st | 2 +- .../instance/ordinalize..st | 4 ++-- .../GRPackage.class/class/grPackages.st | 2 +- .../GRPackage.class/instance/resolveWith..st | 6 +++--- .../instance/asMethodReturningString.named..st | 10 +++++----- .../GRPlatform.class/instance/bindingOf..st | 6 +++--- .../instance/convertToSmalltalkNewlines..st | 4 ++-- .../instance/fileStreamOn.do.binary..st | 2 +- .../instance/isProcessTerminated..st | 2 +- .../GRPlatform.class/instance/label.st | 2 +- .../GRPlatform.class/instance/localNameOf..st | 2 +- .../GRPlatform.class/instance/newRandom.st | 4 ++-- .../GRPlatform.class/instance/newline.st | 2 +- .../instance/readFileStreamOn.do.binary..st | 2 +- .../GRPlatform.class/instance/terminateProcess..st | 2 +- .../GRPlatform.class/instance/thisContext.st | 4 ++-- .../instance/writeFileStreamOn.do.binary..st | 2 +- .../GRPrinter.class/class/absOffsetHoursPadded.st | 2 +- .../GRPrinter.class/class/absOffsetMinutesPadded.st | 2 +- .../GRPrinter.class/class/isoTime.st | 2 +- .../GRPrinter.class/class/monthName..st | 2 +- .../GRPrinter.class/class/offsetSign.st | 2 +- .../GRPrinter.class/class/paddedCentury.st | 2 +- .../GRPrinter.class/class/paddedDay.st | 2 +- .../GRPrinter.class/class/paddedHour12.st | 2 +- .../GRPrinter.class/class/paddedHour24.st | 2 +- .../GRPrinter.class/class/paddedMinute.st | 2 +- .../GRPrinter.class/class/paddedMonth.st | 2 +- .../GRPrinter.class/class/paddedSecond.st | 2 +- .../GRPrinter.class/class/paddedYear.st | 2 +- .../GRPrinter.class/class/rfc1123.st | 6 +++--- .../GRPrinter.class/class/unpaddedCentury.st | 2 +- .../GRPrinter.class/class/unpaddedDay.st | 2 +- .../GRPrinter.class/class/unpaddedHour12.st | 2 +- .../GRPrinter.class/class/unpaddedHour24.st | 2 +- .../GRPrinter.class/class/unpaddedMinute.st | 2 +- .../GRPrinter.class/class/unpaddedMonth.st | 2 +- .../GRPrinter.class/class/unpaddedSecond.st | 2 +- .../GRPrinter.class/class/unpaddedYear.st | 2 +- .../GRPrinter.class/class/weekName..st | 2 +- .../GRPrinter.class/instance/^comma.st | 2 +- .../GRSequentialPrinter.class/instance/print.on..st | 2 +- .../GRSignPrinter.class/instance/negativePrinter..st | 2 +- .../GRSignPrinter.class/instance/positivePrinter..st | 2 +- .../GRSignPrinter.class/instance/print.on..st | 2 +- .../GRSmallDictionary.class/instance/printOn..st | 4 ++-- .../GRSmallDictionary.class/instance/removeIndex..st | 2 +- .../GRSmallDictionary2.class/instance/printOn..st | 4 ++-- .../instance/removeIndex..st | 2 +- .../GRSmallOrderedSet.class/instance/privateAdd..st | 2 +- .../GRStringPrinter.class/instance/character..st | 2 +- .../GRStringPrinter.class/instance/padCenter.st | 2 +- .../GRStringPrinter.class/instance/padLeft.st | 2 +- .../GRStringPrinter.class/instance/padNone.st | 2 +- .../GRStringPrinter.class/instance/padRight.st | 2 +- .../GRStringPrinter.class/instance/print.on..st | 4 ++-- .../GRUnitPrinter.class/class/base.units..st | 2 +- .../Integer.extension/instance/pluralize..st | 4 ++-- .../instance/greaseDeprecatedApi.details..st | 2 +- .../String.extension/instance/excerpt..st | 2 +- .../String.extension/instance/excerpt.radius..st | 2 +- .../String.extension/instance/greaseInteger.st | 2 +- .../String.extension/instance/truncate..st | 2 +- .../String.extension/instance/truncate.st | 2 +- .../GRPharoLatin1Codec.class/instance/decoderFor..st | 2 +- .../GRPharoLatin1Codec.class/instance/encoderFor..st | 2 +- .../instance/initializeWithName..st | 2 +- .../instance/addToStartUpList..st | 2 +- .../GRPharoPlatform.class/instance/bindingOf..st | 2 +- .../instance/compile.into.classified..st | 2 +- .../GRPharoPlatform.class/instance/deleteFile..st | 2 +- .../GRPharoPlatform.class/instance/directoriesIn..st | 2 +- .../GRPharoPlatform.class/instance/fileExists..st | 2 +- .../GRPharoPlatform.class/instance/filesIn..st | 2 +- .../GRPharoPlatform.class/instance/newRandom.st | 4 ++-- .../instance/readWriteByteStream.st | 2 +- .../GRPharoZnCodec.class/instance/decoderFor..st | 2 +- .../GRPharoZnCodec.class/instance/encoderFor..st | 4 ++-- .../instance/initializeWithName..st | 2 +- .../instance/greaseNext.putAll.startingAt..st | 2 +- .../GRPharoZnCodecStream.class/instance/nextPut..st | 2 +- .../instance/nextPutAll..st | 2 +- .../instance/inspectionItems..st | 12 ++++++------ .../instance/inspectionItems..st | 12 ++++++------ .../Interval.extension/instance/any.st | 2 +- .../instance/greaseUpToAll..st | 2 +- .../instance/initialize.st | 6 +++--- .../instance/initialize.st | 2 +- .../GRAnsiStringsRule.class/instance/initialize.st | 2 +- .../instance/checkClass..st | 8 ++++---- .../instance/initialize.st | 2 +- .../instance/initialize.st | 4 ++-- .../instance/initialize.st | 2 +- .../instance/checkMethod..st | 2 +- .../instance/checkMethod..st | 10 +++++----- .../instance/checkClass..st | 2 +- .../instance/checkClass..st | 4 ++-- .../instance/checkMethod..st | 6 +++--- .../instance/initialize.st | 2 +- .../instance/initialize.st | 4 ++-- .../instance/initialize.st | 6 +++--- .../instance/checkMethod..st | 4 ++-- .../instance/checkMethod..st | 2 +- .../instance/checkMethod..st | 2 +- .../instance/checkClass..st | 2 +- .../instance/checkMethod..st | 2 +- 134 files changed, 185 insertions(+), 185 deletions(-) diff --git a/repository/Grease-Core.package/GRCodec.class/class/forEncoding..st b/repository/Grease-Core.package/GRCodec.class/class/forEncoding..st index 1ba7afb0..64699961 100644 --- a/repository/Grease-Core.package/GRCodec.class/class/forEncoding..st +++ b/repository/Grease-Core.package/GRCodec.class/class/forEncoding..st @@ -2,7 +2,7 @@ instance creation forEncoding: aString "Answer a new codec instance for the given encoding name. Raise an WAUnsupportedEncodingError if the encoding name is not supported by this image." - self allSubclassesDo: [ :each | + self allSubclassesDo: [ :each | (each supportsEncoding: aString) ifTrue: [ ^ each basicForEncoding: aString ] ]. ^ self unsupportedEncoding: aString \ No newline at end of file diff --git a/repository/Grease-Core.package/GRCodec.class/instance/decoderFor..st b/repository/Grease-Core.package/GRCodec.class/instance/decoderFor..st index 40ab1f1f..4ba317d5 100644 --- a/repository/Grease-Core.package/GRCodec.class/instance/decoderFor..st +++ b/repository/Grease-Core.package/GRCodec.class/instance/decoderFor..st @@ -1,5 +1,5 @@ conversion decoderFor: aReadStream - "Wrap aReadStream with an decoder for the codec of the receiver. Answer a read stream that delegates to and shares the state of aReadStream." - + "Wrap aReadStream with an decoder for the codec of the receiver. Answer a read stream that delegates to and shares the state of aReadStream." + self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Core.package/GRCodec.class/instance/encoderFor..st b/repository/Grease-Core.package/GRCodec.class/instance/encoderFor..st index b19ecb3d..b691c1ef 100644 --- a/repository/Grease-Core.package/GRCodec.class/instance/encoderFor..st +++ b/repository/Grease-Core.package/GRCodec.class/instance/encoderFor..st @@ -1,5 +1,5 @@ conversion encoderFor: aWriteStream "Wrap aWriteStream with an encoder for the codec of the receiver. Answer a write stream that delegates to and shares the state of aWriteStream." - + self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Core.package/GRDelayedSend.class/class/receiver.selector..st b/repository/Grease-Core.package/GRDelayedSend.class/class/receiver.selector..st index a1ee82f0..0322111e 100644 --- a/repository/Grease-Core.package/GRDelayedSend.class/class/receiver.selector..st +++ b/repository/Grease-Core.package/GRDelayedSend.class/class/receiver.selector..st @@ -1,6 +1,6 @@ instance creation -receiver: anObject selector: aSymbol - ^ self basicNew +receiver: anObject selector: aSymbol + ^ self basicNew initializeWithReceiver: anObject message: (GRUnboundMessage selector: aSymbol); yourself \ No newline at end of file diff --git a/repository/Grease-Core.package/GRDelayedSend.class/class/receiver.selector.arguments..st b/repository/Grease-Core.package/GRDelayedSend.class/class/receiver.selector.arguments..st index a7cd1ee2..310042bf 100644 --- a/repository/Grease-Core.package/GRDelayedSend.class/class/receiver.selector.arguments..st +++ b/repository/Grease-Core.package/GRDelayedSend.class/class/receiver.selector.arguments..st @@ -1,6 +1,6 @@ instance creation -receiver: anObject selector: aSymbol arguments: anArray - ^ self basicNew +receiver: anObject selector: aSymbol arguments: anArray + ^ self basicNew initializeWithReceiver: anObject message: (GRBoundMessage selector: aSymbol arguments: anArray); yourself \ No newline at end of file diff --git a/repository/Grease-Core.package/GRDelayedSend.class/instance/argumentCount.st b/repository/Grease-Core.package/GRDelayedSend.class/instance/argumentCount.st index cafc361e..5e6683e1 100644 --- a/repository/Grease-Core.package/GRDelayedSend.class/instance/argumentCount.st +++ b/repository/Grease-Core.package/GRDelayedSend.class/instance/argumentCount.st @@ -1,5 +1,5 @@ accessing argumentCount "Answer the number of arguments that must be provided to the receiver when sending it." - + ^ message argumentCount \ No newline at end of file diff --git a/repository/Grease-Core.package/GRDelayedSendMessage.class/instance/argumentCount.st b/repository/Grease-Core.package/GRDelayedSendMessage.class/instance/argumentCount.st index 00146dd7..1ac3d919 100644 --- a/repository/Grease-Core.package/GRDelayedSendMessage.class/instance/argumentCount.st +++ b/repository/Grease-Core.package/GRDelayedSendMessage.class/instance/argumentCount.st @@ -1,5 +1,5 @@ delegation argumentCount "Answer the number of arguments that must be provided when sending this message." - + self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Core.package/GRDelayedSendMessage.class/instance/valueFor.withArguments..st b/repository/Grease-Core.package/GRDelayedSendMessage.class/instance/valueFor.withArguments..st index 9efaca14..e97189fe 100644 --- a/repository/Grease-Core.package/GRDelayedSendMessage.class/instance/valueFor.withArguments..st +++ b/repository/Grease-Core.package/GRDelayedSendMessage.class/instance/valueFor.withArguments..st @@ -2,5 +2,5 @@ delegation valueFor: receiver withArguments: anArray "Send the message to receiver with the arguments in anArray. Answer the result. Signal an error if the number of arguments does not match the selector." - + ^ self basicPerformFor: receiver withArguments: (self mergeArguments: anArray) \ No newline at end of file diff --git a/repository/Grease-Core.package/GRDelayedSendMessage.class/instance/valueFor.withPossibleArguments..st b/repository/Grease-Core.package/GRDelayedSendMessage.class/instance/valueFor.withPossibleArguments..st index e0708319..5cd1f582 100644 --- a/repository/Grease-Core.package/GRDelayedSendMessage.class/instance/valueFor.withPossibleArguments..st +++ b/repository/Grease-Core.package/GRDelayedSendMessage.class/instance/valueFor.withPossibleArguments..st @@ -5,7 +5,7 @@ valueFor: receiver withPossibleArguments: anArray | allArguments | allArguments := self mergeArguments: anArray. - + ^ allArguments size < selector numArgs ifTrue: [ self invalidArgumentCount ] ifFalse: [ self basicPerformFor: receiver withArguments: (allArguments first: selector numArgs) ] \ No newline at end of file diff --git a/repository/Grease-Core.package/GRMappedPrinter.class/class/block.next..st b/repository/Grease-Core.package/GRMappedPrinter.class/class/block.next..st index 17a32993..0e7ba6d2 100644 --- a/repository/Grease-Core.package/GRMappedPrinter.class/class/block.next..st +++ b/repository/Grease-Core.package/GRMappedPrinter.class/class/block.next..st @@ -1,6 +1,6 @@ instance creation block: aBlock next: aPrinter - ^ self new + ^ self new block: aBlock; next: aPrinter; yourself \ No newline at end of file diff --git a/repository/Grease-Core.package/GRNotificationBasedDynamicVariable.class/class/use.during..st b/repository/Grease-Core.package/GRNotificationBasedDynamicVariable.class/class/use.during..st index 33ae4c99..ba04b46e 100644 --- a/repository/Grease-Core.package/GRNotificationBasedDynamicVariable.class/class/use.during..st +++ b/repository/Grease-Core.package/GRNotificationBasedDynamicVariable.class/class/use.during..st @@ -1,5 +1,5 @@ evaluating use: anObject during: aBlock "Set the dynamic value of the receiver to anObject during the evaluation of aBlock." - + ^ aBlock on: self do: [ :notification | notification resume: anObject ] \ No newline at end of file diff --git a/repository/Grease-Core.package/GRNotificationBasedDynamicVariable.class/class/value.st b/repository/Grease-Core.package/GRNotificationBasedDynamicVariable.class/class/value.st index 9416cedb..bedb8f2b 100644 --- a/repository/Grease-Core.package/GRNotificationBasedDynamicVariable.class/class/value.st +++ b/repository/Grease-Core.package/GRNotificationBasedDynamicVariable.class/class/value.st @@ -1,5 +1,5 @@ evaluating value "Answer the dynamic value of the receiver." - + ^ self signal \ No newline at end of file diff --git a/repository/Grease-Core.package/GRNullCodec.class/instance/decoderFor..st b/repository/Grease-Core.package/GRNullCodec.class/instance/decoderFor..st index 7c198828..d855375c 100644 --- a/repository/Grease-Core.package/GRNullCodec.class/instance/decoderFor..st +++ b/repository/Grease-Core.package/GRNullCodec.class/instance/decoderFor..st @@ -1,4 +1,4 @@ conversion -decoderFor: aReadStream +decoderFor: aReadStream "wrap to avoid String vs ByteArray issues" ^ GRNullCodecStream on: aReadStream \ No newline at end of file diff --git a/repository/Grease-Core.package/GRNullCodec.class/instance/encoderFor..st b/repository/Grease-Core.package/GRNullCodec.class/instance/encoderFor..st index c4c0196f..fcab009a 100644 --- a/repository/Grease-Core.package/GRNullCodec.class/instance/encoderFor..st +++ b/repository/Grease-Core.package/GRNullCodec.class/instance/encoderFor..st @@ -1,4 +1,4 @@ conversion -encoderFor: aWriteStream +encoderFor: aWriteStream "wrap to avoid String vs ByteArray issues" ^ GRNullCodecStream on: aWriteStream \ No newline at end of file diff --git a/repository/Grease-Core.package/GRNullCodec.class/instance/url.st b/repository/Grease-Core.package/GRNullCodec.class/instance/url.st index f1a3ffe3..f26d9994 100644 --- a/repository/Grease-Core.package/GRNullCodec.class/instance/url.st +++ b/repository/Grease-Core.package/GRNullCodec.class/instance/url.st @@ -1,5 +1,5 @@ accessing url "The selfish method. Let's do it with ourselves." - + ^ self \ No newline at end of file diff --git a/repository/Grease-Core.package/GRNumberPrinter.class/instance/accuracy..st b/repository/Grease-Core.package/GRNumberPrinter.class/instance/accuracy..st index fa3867ed..6e122a37 100644 --- a/repository/Grease-Core.package/GRNumberPrinter.class/instance/accuracy..st +++ b/repository/Grease-Core.package/GRNumberPrinter.class/instance/accuracy..st @@ -1,5 +1,5 @@ accessing accuracy: aFloat "Round towards the nearest number that is a multiple of aFloat." - + accuracy := aFloat \ No newline at end of file diff --git a/repository/Grease-Core.package/GRNumberPrinter.class/instance/digitsOf.base..st b/repository/Grease-Core.package/GRNumberPrinter.class/instance/digitsOf.base..st index 0469766d..47e728a3 100644 --- a/repository/Grease-Core.package/GRNumberPrinter.class/instance/digitsOf.base..st +++ b/repository/Grease-Core.package/GRNumberPrinter.class/instance/digitsOf.base..st @@ -8,7 +8,7 @@ digitsOf: aNumber base: aBaseInteger stream := WriteStream on: (String new: 10). [ integer > 0 ] whileTrue: [ next := integer quo: aBaseInteger. - stream nextPut: (characters + stream nextPut: (characters at: 1 + integer - (next * aBaseInteger)). integer := next ]. ^ stream contents reverse \ No newline at end of file diff --git a/repository/Grease-Core.package/GRNumberPrinter.class/instance/infinite..st b/repository/Grease-Core.package/GRNumberPrinter.class/instance/infinite..st index a34708fd..ed18785f 100644 --- a/repository/Grease-Core.package/GRNumberPrinter.class/instance/infinite..st +++ b/repository/Grease-Core.package/GRNumberPrinter.class/instance/infinite..st @@ -1,5 +1,5 @@ accessing infinite: aString "The string that should be displayed if the number is positive or negative infinity." - + infinite := aString \ No newline at end of file diff --git a/repository/Grease-Core.package/GRNumberPrinter.class/instance/lengthOf.base..st b/repository/Grease-Core.package/GRNumberPrinter.class/instance/lengthOf.base..st index 028a3bc2..62f6b34d 100644 --- a/repository/Grease-Core.package/GRNumberPrinter.class/instance/lengthOf.base..st +++ b/repository/Grease-Core.package/GRNumberPrinter.class/instance/lengthOf.base..st @@ -7,7 +7,7 @@ lengthOf: aNumber base: aBaseInteger integer := aNumber truncated abs. length := 1. current := aBaseInteger. - [ current <= integer ] whileTrue: [ + [ current <= integer ] whileTrue: [ length := length + 1. current := current * aBaseInteger ]. ^ length \ No newline at end of file diff --git a/repository/Grease-Core.package/GRNumberPrinter.class/instance/nan..st b/repository/Grease-Core.package/GRNumberPrinter.class/instance/nan..st index 22c5de66..8451e143 100644 --- a/repository/Grease-Core.package/GRNumberPrinter.class/instance/nan..st +++ b/repository/Grease-Core.package/GRNumberPrinter.class/instance/nan..st @@ -1,5 +1,5 @@ accessing nan: aString "The string that should be displayed if the number is not a number." - + nan := aString \ No newline at end of file diff --git a/repository/Grease-Core.package/GRNumberPrinter.class/instance/precision..st b/repository/Grease-Core.package/GRNumberPrinter.class/instance/precision..st index 03f0b9b7..6db5d820 100644 --- a/repository/Grease-Core.package/GRNumberPrinter.class/instance/precision..st +++ b/repository/Grease-Core.package/GRNumberPrinter.class/instance/precision..st @@ -1,5 +1,5 @@ accessing precision: anInteger "The number of digits to be printed in the fraction part." - + precision := anInteger \ No newline at end of file diff --git a/repository/Grease-Core.package/GRNumberPrinter.class/instance/print.on..st b/repository/Grease-Core.package/GRNumberPrinter.class/instance/print.on..st index 9ad6fbb5..67dd487b 100644 --- a/repository/Grease-Core.package/GRNumberPrinter.class/instance/print.on..st +++ b/repository/Grease-Core.package/GRNumberPrinter.class/instance/print.on..st @@ -2,7 +2,7 @@ printing print: aNumber on: aStream aNumber isNaN ifTrue: [ ^ self printNaN: aNumber on: aStream ]. - aNumber isInfinite + aNumber isInfinite ifTrue: [ ^ self printInfinite: aNumber on: aStream ]. precision = 0 ifTrue: [ self printInteger: aNumber on: aStream ] diff --git a/repository/Grease-Core.package/GRNumberPrinter.class/instance/printDigitsOf.withLength.on..st b/repository/Grease-Core.package/GRNumberPrinter.class/instance/printDigitsOf.withLength.on..st index 59cfde82..7b24a6aa 100644 --- a/repository/Grease-Core.package/GRNumberPrinter.class/instance/printDigitsOf.withLength.on..st +++ b/repository/Grease-Core.package/GRNumberPrinter.class/instance/printDigitsOf.withLength.on..st @@ -9,7 +9,7 @@ printDigitsOf: aNumber withLength: aLengthInteger on: aStream | divisor current | divisor := base raisedTo: aLengthInteger - index. current := rest // divisor. - separator isNil ifFalse: [ + separator isNil ifFalse: [ (index ~= 1 and: [ (aLengthInteger - index) \\ 3 = 2 ]) ifTrue: [ aStream nextPut: separator ] ]. aStream nextPut: (characters at: current + 1). diff --git a/repository/Grease-Core.package/GRNumberPrinter.class/instance/printInteger.on..st b/repository/Grease-Core.package/GRNumberPrinter.class/instance/printInteger.on..st index 39c33dbb..0442220e 100644 --- a/repository/Grease-Core.package/GRNumberPrinter.class/instance/printInteger.on..st +++ b/repository/Grease-Core.package/GRNumberPrinter.class/instance/printInteger.on..st @@ -2,8 +2,8 @@ printing printInteger: aNumber on: aStream | length | length := self lengthOf: aNumber base: base. - + (digits notNil and: [ padding notNil ]) ifTrue: [ self padLeft: padding to: (digits - length) on: aStream ]. - + self printDigitsOf: aNumber withLength: length on: aStream \ No newline at end of file diff --git a/repository/Grease-Core.package/GRNumberPrinter.class/instance/separate.left.on..st b/repository/Grease-Core.package/GRNumberPrinter.class/instance/separate.left.on..st index f2f090bd..574c0646 100644 --- a/repository/Grease-Core.package/GRNumberPrinter.class/instance/separate.left.on..st +++ b/repository/Grease-Core.package/GRNumberPrinter.class/instance/separate.left.on..st @@ -1,7 +1,7 @@ utilities separate: aString left: aCharacter on: aStream "Separate from the left side every 3 characters with aCharacter." - + | size | size := aString size. 1 to: size do: [ :index | diff --git a/repository/Grease-Core.package/GRNumberPrinter.class/instance/separate.right..st b/repository/Grease-Core.package/GRNumberPrinter.class/instance/separate.right..st index 26923f9a..e0daa4b1 100644 --- a/repository/Grease-Core.package/GRNumberPrinter.class/instance/separate.right..st +++ b/repository/Grease-Core.package/GRNumberPrinter.class/instance/separate.right..st @@ -1,7 +1,7 @@ utilities separate: aString right: aCharacter "Separate from the right side every 3 characters with aCharacter." - + | size stream | size := aString size. stream := WriteStream on: (String new: 2 * size). diff --git a/repository/Grease-Core.package/GRNumberPrinter.class/instance/uppercase.st b/repository/Grease-Core.package/GRNumberPrinter.class/instance/uppercase.st index dcf77ba5..1ba88490 100644 --- a/repository/Grease-Core.package/GRNumberPrinter.class/instance/uppercase.st +++ b/repository/Grease-Core.package/GRNumberPrinter.class/instance/uppercase.st @@ -1,5 +1,5 @@ actions uppercase "Use uppercase characters for numbers of base 10 and higher." - + self characters: NumbersToCharactersUppercase \ No newline at end of file diff --git a/repository/Grease-Core.package/GROrderedMultiMap.class/instance/at.add..st b/repository/Grease-Core.package/GROrderedMultiMap.class/instance/at.add..st index 38f1ff12..02112e49 100644 --- a/repository/Grease-Core.package/GROrderedMultiMap.class/instance/at.add..st +++ b/repository/Grease-Core.package/GROrderedMultiMap.class/instance/at.add..st @@ -2,5 +2,5 @@ accessing at: aKey add: aValue "Add an association between aKey and aValue. Do not replace existing values with the same key." - + ^ self privateAt: aKey put: aValue \ No newline at end of file diff --git a/repository/Grease-Core.package/GROrderedMultiMap2.class/instance/at.add..st b/repository/Grease-Core.package/GROrderedMultiMap2.class/instance/at.add..st index 2e6255d6..a8f957ab 100644 --- a/repository/Grease-Core.package/GROrderedMultiMap2.class/instance/at.add..st +++ b/repository/Grease-Core.package/GROrderedMultiMap2.class/instance/at.add..st @@ -2,5 +2,5 @@ adding at: aKey add: aValue "Add an association between aKey and aValue. Do not replace existing values with the same key." - + ^ self privateAt: aKey put: aValue \ No newline at end of file diff --git a/repository/Grease-Core.package/GROrdinalizePrinter.class/instance/ordinalize..st b/repository/Grease-Core.package/GROrdinalizePrinter.class/instance/ordinalize..st index a43d828d..b54bad3d 100644 --- a/repository/Grease-Core.package/GROrdinalizePrinter.class/instance/ordinalize..st +++ b/repository/Grease-Core.package/GROrdinalizePrinter.class/instance/ordinalize..st @@ -2,7 +2,7 @@ private ordinalize: anInteger ^ (anInteger \\ 100 between: 11 and: 13) ifTrue: [ 'th' ] - ifFalse: [ + ifFalse: [ #('st' 'nd' 'rd') - at: anInteger \\ 10 + at: anInteger \\ 10 ifAbsent: [ 'th' ] ] \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPackage.class/class/grPackages.st b/repository/Grease-Core.package/GRPackage.class/class/grPackages.st index 6b9143cb..b225b989 100644 --- a/repository/Grease-Core.package/GRPackage.class/class/grPackages.st +++ b/repository/Grease-Core.package/GRPackage.class/class/grPackages.st @@ -5,7 +5,7 @@ grPackages | packages package | packages := Dictionary new. self class selectors do: [ :each | - (each numArgs = 0 and: [ each ~= #grPackages ]) ifTrue: [ + (each numArgs = 0 and: [ each ~= #grPackages ]) ifTrue: [ package := self perform: each. packages at: package name put: package ] ]. packages do: [ :each | each resolveWith: packages ]. diff --git a/repository/Grease-Core.package/GRPackage.class/instance/resolveWith..st b/repository/Grease-Core.package/GRPackage.class/instance/resolveWith..st index 2707d7f0..210c7f65 100644 --- a/repository/Grease-Core.package/GRPackage.class/instance/resolveWith..st +++ b/repository/Grease-Core.package/GRPackage.class/instance/resolveWith..st @@ -1,10 +1,10 @@ dependencies resolveWith: aDictionary - dependencies := dependencies + dependencies := dependencies collect: [ :each | aDictionary at: each ifAbsent: [ "if Foo-Pharo-Bar fails try Foo-Pharo20-Bar and Foo-Pharo30-Bar" - (each indexOfSubCollection: '-Pharo-' startingAt: 1) ~= 0 ifTrue: [ + (each indexOfSubCollection: '-Pharo-' startingAt: 1) ~= 0 ifTrue: [ "try -Pharo40-" aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo40-') ifAbsent: [ "try -Pharo50-" @@ -16,7 +16,7 @@ resolveWith: aDictionary "try -Pharo90-" aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo90-') ifAbsent: [ "try -Pharo100-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo100-') ifAbsent: [ + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo100-') ifAbsent: [ "try -Squeak-" aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak-') ifAbsent: [ "try -Squeak5-" diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/asMethodReturningString.named..st b/repository/Grease-Core.package/GRPlatform.class/instance/asMethodReturningString.named..st index 364e0bf1..1edbb346 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/asMethodReturningString.named..st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/asMethodReturningString.named..st @@ -1,21 +1,21 @@ file library asMethodReturningString: aByteArrayOrString named: aSymbol "Generates the source of a method named aSymbol that returns aByteArrayOrString as a String. - + This implementation answers a String formatted like so - + aSymbol ^ aByteArrayOrString - + Subclasses need to override this method if the dialect needs changes to support Unicode string literals" - ^ String streamContents: [ :stream | + ^ String streamContents: [ :stream | stream nextPutAll: aSymbol; nextPut: Character cr. stream tab; nextPutAll: '^ '''. - aByteArrayOrString greaseString do: [ :each | + aByteArrayOrString greaseString do: [ :each | each = $' ifTrue: [ stream nextPut: $' ]. stream nextPut: each ]. stream nextPut: $' ] \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/bindingOf..st b/repository/Grease-Core.package/GRPlatform.class/instance/bindingOf..st index 8b9e9f23..f3a7c268 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/bindingOf..st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/bindingOf..st @@ -4,12 +4,12 @@ bindingOf: aClass The binding is the literal that get compiled into the method. We need the binding to be updated when the class is changed. The binding has to respond to #value. - + This is mostly an issue on GemStone/S because when we hold on to a class directly we will end up holding on to an old class version. - + Dialects with namespaces will need to override this. - + On VisualWorks this should like this ^ aClass fullyQualifiedReference" ^ Smalltalk associationAt: aClass name \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/convertToSmalltalkNewlines..st b/repository/Grease-Core.package/GRPlatform.class/instance/convertToSmalltalkNewlines..st index 0415a873..fd2fdde6 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/convertToSmalltalkNewlines..st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/convertToSmalltalkNewlines..st @@ -1,8 +1,8 @@ file library convertToSmalltalkNewlines: aString "Convert any line endings (CR, CRLF, LF) to the default platform newline." - - aString isNil + + aString isNil ifTrue: [ ^ nil ]. ^ String streamContents: [ :writeStream | | readStream | diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/fileStreamOn.do.binary..st b/repository/Grease-Core.package/GRPlatform.class/instance/fileStreamOn.do.binary..st index df95afbb..3d9e825a 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/fileStreamOn.do.binary..st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/fileStreamOn.do.binary..st @@ -1,6 +1,6 @@ files fileStreamOn: aString do: aBlock binary: aBoolean - self + self greaseDeprecatedApi: 'GRPlatform>>#fileStreamOn:do:binary:' details: 'Use readFileStreamOn:do:binary:'. ^ self readFileStreamOn: aString do: aBlock binary: aBoolean \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/isProcessTerminated..st b/repository/Grease-Core.package/GRPlatform.class/instance/isProcessTerminated..st index afa154f2..94e6e96b 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/isProcessTerminated..st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/isProcessTerminated..st @@ -1,5 +1,5 @@ processes isProcessTerminated: aProcess "Return a boolean indicating whether aProcess has been terminated." - + self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/label.st b/repository/Grease-Core.package/GRPlatform.class/instance/label.st index cc4c5a5b..44330a02 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/label.st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/label.st @@ -1,5 +1,5 @@ version info label "Answer a descriptive label string for the platform implementation" - + self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/localNameOf..st b/repository/Grease-Core.package/GRPlatform.class/instance/localNameOf..st index 11fdda4b..3e0a423f 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/localNameOf..st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/localNameOf..st @@ -1,7 +1,7 @@ files localNameOf: aFilename "Answer the local name of a file identified by an absolute file path. - + Eg. If the platform is Windwos and aFilename is 'C:\Windows\win32.dll' then it would answer 'win32.dll'. If the platform is Unix and aFilename is '/usr/bin/vim' then it would answer 'vim'." diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/newRandom.st b/repository/Grease-Core.package/GRPlatform.class/instance/newRandom.st index e50a9858..5f6271cc 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/newRandom.st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/newRandom.st @@ -3,9 +3,9 @@ newRandom "Answers the random number generator to be used to create session and continuation keys. Make sure it is seeded. They only methods that will be sent to it are: #nextInt: - should answer a random integer in the interval [1, anInteger] #randomFrom: - should answer a random element from the given collection - + Make sure that both methods are safe under heavy concurrent load. - + Used by Gemstone/S traditional Randoms which cannot be persisted. Used by Squeak to use a secure random when avaiable." self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/newline.st b/repository/Grease-Core.package/GRPlatform.class/instance/newline.st index 9c8062eb..3834fe40 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/newline.st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/newline.st @@ -1,5 +1,5 @@ file library newline "Answer a String with the default newline character of this platform." - + self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/readFileStreamOn.do.binary..st b/repository/Grease-Core.package/GRPlatform.class/instance/readFileStreamOn.do.binary..st index 31dd9427..b43b743e 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/readFileStreamOn.do.binary..st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/readFileStreamOn.do.binary..st @@ -1,3 +1,3 @@ files readFileStreamOn: aString do: aBlock binary: aBoolean - self subclassResponsibility \ No newline at end of file + self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/terminateProcess..st b/repository/Grease-Core.package/GRPlatform.class/instance/terminateProcess..st index a7d9537b..36cf5cbc 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/terminateProcess..st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/terminateProcess..st @@ -1,5 +1,5 @@ processes terminateProcess: aProcess "Permanently terminate the process, unwinding first to execute #ensure: and #ifCurtailed: blocks." - + self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/thisContext.st b/repository/Grease-Core.package/GRPlatform.class/instance/thisContext.st index 22b5c4dd..5f6f20ee 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/thisContext.st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/thisContext.st @@ -1,8 +1,8 @@ processes thisContext "Answer the current activation of a method execution or block activation. - + For dialects with a thisContext variable and implementation can look like this. - + ^ thisContext sender" self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/writeFileStreamOn.do.binary..st b/repository/Grease-Core.package/GRPlatform.class/instance/writeFileStreamOn.do.binary..st index 6fdd00d2..8bf94c9f 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/writeFileStreamOn.do.binary..st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/writeFileStreamOn.do.binary..st @@ -1,3 +1,3 @@ files writeFileStreamOn: aString do: aBlock binary: aBoolean - self subclassResponsibility \ No newline at end of file + self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPrinter.class/class/absOffsetHoursPadded.st b/repository/Grease-Core.package/GRPrinter.class/class/absOffsetHoursPadded.st index 21f6d41e..c8fc6478 100644 --- a/repository/Grease-Core.package/GRPrinter.class/class/absOffsetHoursPadded.st +++ b/repository/Grease-Core.package/GRPrinter.class/class/absOffsetHoursPadded.st @@ -1,5 +1,5 @@ parts-date absOffsetHoursPadded - ^ GRMappedPrinter + ^ GRMappedPrinter block: [ :date | date offset hours abs ] next: (self numberWithAtLeastDigits: 2) \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPrinter.class/class/absOffsetMinutesPadded.st b/repository/Grease-Core.package/GRPrinter.class/class/absOffsetMinutesPadded.st index 3ee546ea..ceede65a 100644 --- a/repository/Grease-Core.package/GRPrinter.class/class/absOffsetMinutesPadded.st +++ b/repository/Grease-Core.package/GRPrinter.class/class/absOffsetMinutesPadded.st @@ -1,5 +1,5 @@ parts-date absOffsetMinutesPadded - ^ GRMappedPrinter + ^ GRMappedPrinter block: [ :date | date offset minutes abs ] next: (self numberWithAtLeastDigits: 2) \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPrinter.class/class/isoTime.st b/repository/Grease-Core.package/GRPrinter.class/class/isoTime.st index b9fa9797..ec25236d 100644 --- a/repository/Grease-Core.package/GRPrinter.class/class/isoTime.st +++ b/repository/Grease-Core.package/GRPrinter.class/class/isoTime.st @@ -1,5 +1,5 @@ factory-http isoTime "Ansers a printer that formats time according to ISO(HH:MM:SS) E.g. 12:23:34" - + ^ self paddedHour24 , $: , self paddedMinute , $: , self paddedSecond \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPrinter.class/class/monthName..st b/repository/Grease-Core.package/GRPrinter.class/class/monthName..st index 3acf62f9..0eaa7afb 100644 --- a/repository/Grease-Core.package/GRPrinter.class/class/monthName..st +++ b/repository/Grease-Core.package/GRPrinter.class/class/monthName..st @@ -1,3 +1,3 @@ parts-date -monthName: anArray +monthName: anArray ^ GRPluggablePrinter on: [ :date | anArray at: date monthIndex ] \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPrinter.class/class/offsetSign.st b/repository/Grease-Core.package/GRPrinter.class/class/offsetSign.st index de1b6882..583c0f1d 100644 --- a/repository/Grease-Core.package/GRPrinter.class/class/offsetSign.st +++ b/repository/Grease-Core.package/GRPrinter.class/class/offsetSign.st @@ -1,6 +1,6 @@ parts-date offsetSign - ^ GRMappedPrinter + ^ GRMappedPrinter block: [ :date | date offset ] next: (GRSignPrinter new positivePrinter: $+; diff --git a/repository/Grease-Core.package/GRPrinter.class/class/paddedCentury.st b/repository/Grease-Core.package/GRPrinter.class/class/paddedCentury.st index 72ffd192..f1367586 100644 --- a/repository/Grease-Core.package/GRPrinter.class/class/paddedCentury.st +++ b/repository/Grease-Core.package/GRPrinter.class/class/paddedCentury.st @@ -1,5 +1,5 @@ parts-date paddedCentury - ^ GRMappedPrinter + ^ GRMappedPrinter block: [ :date | date year \\ 100 ] next: (self numberWithAtLeastDigits: 2) \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPrinter.class/class/paddedDay.st b/repository/Grease-Core.package/GRPrinter.class/class/paddedDay.st index b9eed5c6..35a1123b 100644 --- a/repository/Grease-Core.package/GRPrinter.class/class/paddedDay.st +++ b/repository/Grease-Core.package/GRPrinter.class/class/paddedDay.st @@ -1,5 +1,5 @@ parts-date paddedDay - ^ GRMappedPrinter + ^ GRMappedPrinter block: [ :date | date dayOfMonth ] next: (self numberWithAtLeastDigits: 2) \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPrinter.class/class/paddedHour12.st b/repository/Grease-Core.package/GRPrinter.class/class/paddedHour12.st index d2ddb673..c3f66f9d 100644 --- a/repository/Grease-Core.package/GRPrinter.class/class/paddedHour12.st +++ b/repository/Grease-Core.package/GRPrinter.class/class/paddedHour12.st @@ -1,5 +1,5 @@ parts-time paddedHour12 - ^ GRMappedPrinter + ^ GRMappedPrinter block: [ :time | (time hour - 1) \\ 12 + 1 ] next: (self numberWithAtLeastDigits: 2) \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPrinter.class/class/paddedHour24.st b/repository/Grease-Core.package/GRPrinter.class/class/paddedHour24.st index 85834571..d7480d63 100644 --- a/repository/Grease-Core.package/GRPrinter.class/class/paddedHour24.st +++ b/repository/Grease-Core.package/GRPrinter.class/class/paddedHour24.st @@ -1,5 +1,5 @@ parts-time paddedHour24 - ^ GRMappedPrinter + ^ GRMappedPrinter block: [ :time | time hour ] next: (self numberWithAtLeastDigits: 2) \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPrinter.class/class/paddedMinute.st b/repository/Grease-Core.package/GRPrinter.class/class/paddedMinute.st index ded20981..a8a57c0c 100644 --- a/repository/Grease-Core.package/GRPrinter.class/class/paddedMinute.st +++ b/repository/Grease-Core.package/GRPrinter.class/class/paddedMinute.st @@ -1,5 +1,5 @@ parts-time paddedMinute - ^ GRMappedPrinter + ^ GRMappedPrinter block: [ :time | time minute ] next: (self numberWithAtLeastDigits: 2) \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPrinter.class/class/paddedMonth.st b/repository/Grease-Core.package/GRPrinter.class/class/paddedMonth.st index 99bf9d4b..4a655a3f 100644 --- a/repository/Grease-Core.package/GRPrinter.class/class/paddedMonth.st +++ b/repository/Grease-Core.package/GRPrinter.class/class/paddedMonth.st @@ -1,5 +1,5 @@ parts-date paddedMonth - ^ GRMappedPrinter + ^ GRMappedPrinter block: [ :date | date monthIndex ] next: (self numberWithAtLeastDigits: 2) \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPrinter.class/class/paddedSecond.st b/repository/Grease-Core.package/GRPrinter.class/class/paddedSecond.st index 0d542442..6283fa62 100644 --- a/repository/Grease-Core.package/GRPrinter.class/class/paddedSecond.st +++ b/repository/Grease-Core.package/GRPrinter.class/class/paddedSecond.st @@ -1,6 +1,6 @@ parts-time paddedSecond - ^ GRMappedPrinter + ^ GRMappedPrinter block: [ :time | time second ] next: (GRNumberPrinter new padding: $0; diff --git a/repository/Grease-Core.package/GRPrinter.class/class/paddedYear.st b/repository/Grease-Core.package/GRPrinter.class/class/paddedYear.st index 8b8c7830..2734e145 100644 --- a/repository/Grease-Core.package/GRPrinter.class/class/paddedYear.st +++ b/repository/Grease-Core.package/GRPrinter.class/class/paddedYear.st @@ -1,5 +1,5 @@ parts-date paddedYear - ^ GRMappedPrinter + ^ GRMappedPrinter block: [ :date | date year ] next: (self numberWithAtLeastDigits: 4) \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPrinter.class/class/rfc1123.st b/repository/Grease-Core.package/GRPrinter.class/class/rfc1123.st index dfda6425..3ecf821a 100644 --- a/repository/Grease-Core.package/GRPrinter.class/class/rfc1123.st +++ b/repository/Grease-Core.package/GRPrinter.class/class/rfc1123.st @@ -2,9 +2,9 @@ factory-http rfc1123 "Answers a printer that formats dates for HTTP1.1 (RFC 1123). Eg. Sun, 06 Nov 1994 08:49:37 GMT " - - ^ GRMappedPrinter - block: [ :date | + + ^ GRMappedPrinter + block: [ :date | "For the purposes of HTTP, GMT is exactly equal to UTC (Coordinated Universal Time)" date asUTC ] next: GRSequentialPrinter new , self abbreviatedWeekName , ', ' , self paddedDay , Character space , self abbreviatedMonthName , Character space , self paddedYear , Character space , self isoTime , ' GMT' \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPrinter.class/class/unpaddedCentury.st b/repository/Grease-Core.package/GRPrinter.class/class/unpaddedCentury.st index 4380f77e..bc7ac349 100644 --- a/repository/Grease-Core.package/GRPrinter.class/class/unpaddedCentury.st +++ b/repository/Grease-Core.package/GRPrinter.class/class/unpaddedCentury.st @@ -1,5 +1,5 @@ parts-date unpaddedCentury - ^ GRMappedPrinter + ^ GRMappedPrinter block: [ :date | date year \\ 100 ] next: GRNumberPrinter new \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPrinter.class/class/unpaddedDay.st b/repository/Grease-Core.package/GRPrinter.class/class/unpaddedDay.st index a9e973f3..1c0ae5f5 100644 --- a/repository/Grease-Core.package/GRPrinter.class/class/unpaddedDay.st +++ b/repository/Grease-Core.package/GRPrinter.class/class/unpaddedDay.st @@ -1,5 +1,5 @@ parts-date unpaddedDay - ^ GRMappedPrinter + ^ GRMappedPrinter block: [ :date | date dayOfMonth ] next: GRNumberPrinter new \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPrinter.class/class/unpaddedHour12.st b/repository/Grease-Core.package/GRPrinter.class/class/unpaddedHour12.st index 60942672..2c146675 100644 --- a/repository/Grease-Core.package/GRPrinter.class/class/unpaddedHour12.st +++ b/repository/Grease-Core.package/GRPrinter.class/class/unpaddedHour12.st @@ -1,5 +1,5 @@ parts-time unpaddedHour12 - ^ GRMappedPrinter + ^ GRMappedPrinter block: [ :time | (time hour - 1) \\ 12 + 1 ] next: GRNumberPrinter new \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPrinter.class/class/unpaddedHour24.st b/repository/Grease-Core.package/GRPrinter.class/class/unpaddedHour24.st index b850356d..e84fe99c 100644 --- a/repository/Grease-Core.package/GRPrinter.class/class/unpaddedHour24.st +++ b/repository/Grease-Core.package/GRPrinter.class/class/unpaddedHour24.st @@ -1,5 +1,5 @@ parts-time unpaddedHour24 - ^ GRMappedPrinter + ^ GRMappedPrinter block: [ :time | time hour ] next: GRNumberPrinter new \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPrinter.class/class/unpaddedMinute.st b/repository/Grease-Core.package/GRPrinter.class/class/unpaddedMinute.st index 4215c0ab..53cdf04c 100644 --- a/repository/Grease-Core.package/GRPrinter.class/class/unpaddedMinute.st +++ b/repository/Grease-Core.package/GRPrinter.class/class/unpaddedMinute.st @@ -1,5 +1,5 @@ parts-time unpaddedMinute - ^ GRMappedPrinter + ^ GRMappedPrinter block: [ :time | time minute ] next: GRNumberPrinter new \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPrinter.class/class/unpaddedMonth.st b/repository/Grease-Core.package/GRPrinter.class/class/unpaddedMonth.st index ed4bf5a2..38090256 100644 --- a/repository/Grease-Core.package/GRPrinter.class/class/unpaddedMonth.st +++ b/repository/Grease-Core.package/GRPrinter.class/class/unpaddedMonth.st @@ -1,5 +1,5 @@ parts-date unpaddedMonth - ^ GRMappedPrinter + ^ GRMappedPrinter block: [ :date | date monthIndex ] next: GRNumberPrinter new \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPrinter.class/class/unpaddedSecond.st b/repository/Grease-Core.package/GRPrinter.class/class/unpaddedSecond.st index 177d6e77..368fe3d8 100644 --- a/repository/Grease-Core.package/GRPrinter.class/class/unpaddedSecond.st +++ b/repository/Grease-Core.package/GRPrinter.class/class/unpaddedSecond.st @@ -1,5 +1,5 @@ parts-time unpaddedSecond - ^ GRMappedPrinter + ^ GRMappedPrinter block: [ :time | time second ] next: GRNumberPrinter new \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPrinter.class/class/unpaddedYear.st b/repository/Grease-Core.package/GRPrinter.class/class/unpaddedYear.st index 3a74d2ad..8959df3f 100644 --- a/repository/Grease-Core.package/GRPrinter.class/class/unpaddedYear.st +++ b/repository/Grease-Core.package/GRPrinter.class/class/unpaddedYear.st @@ -1,5 +1,5 @@ parts-date unpaddedYear - ^ GRMappedPrinter + ^ GRMappedPrinter block: [ :date | date year ] next: GRNumberPrinter new \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPrinter.class/class/weekName..st b/repository/Grease-Core.package/GRPrinter.class/class/weekName..st index c49b2f90..ca348c35 100644 --- a/repository/Grease-Core.package/GRPrinter.class/class/weekName..st +++ b/repository/Grease-Core.package/GRPrinter.class/class/weekName..st @@ -1,3 +1,3 @@ parts-date -weekName: anArray +weekName: anArray ^ GRPluggablePrinter on: [ :date | anArray at: date dayOfWeek ] \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPrinter.class/instance/^comma.st b/repository/Grease-Core.package/GRPrinter.class/instance/^comma.st index 533a11bd..a5ed96c8 100644 --- a/repository/Grease-Core.package/GRPrinter.class/instance/^comma.st +++ b/repository/Grease-Core.package/GRPrinter.class/instance/^comma.st @@ -1,3 +1,3 @@ operators -, aPrinter +, aPrinter ^ GRSequentialPrinter new , self , aPrinter \ No newline at end of file diff --git a/repository/Grease-Core.package/GRSequentialPrinter.class/instance/print.on..st b/repository/Grease-Core.package/GRSequentialPrinter.class/instance/print.on..st index b8a6a1a7..b4c06885 100644 --- a/repository/Grease-Core.package/GRSequentialPrinter.class/instance/print.on..st +++ b/repository/Grease-Core.package/GRSequentialPrinter.class/instance/print.on..st @@ -1,3 +1,3 @@ printing -print: anObject on: aStream +print: anObject on: aStream parts do: [ :each | each print: anObject on: aStream ] \ No newline at end of file diff --git a/repository/Grease-Core.package/GRSignPrinter.class/instance/negativePrinter..st b/repository/Grease-Core.package/GRSignPrinter.class/instance/negativePrinter..st index 87b49fb0..910228c3 100644 --- a/repository/Grease-Core.package/GRSignPrinter.class/instance/negativePrinter..st +++ b/repository/Grease-Core.package/GRSignPrinter.class/instance/negativePrinter..st @@ -1,5 +1,5 @@ accessing negativePrinter: aPrinter "The printer to be used when the number is negative." - + negativePrinter := aPrinter \ No newline at end of file diff --git a/repository/Grease-Core.package/GRSignPrinter.class/instance/positivePrinter..st b/repository/Grease-Core.package/GRSignPrinter.class/instance/positivePrinter..st index e62ba1e8..f4c64563 100644 --- a/repository/Grease-Core.package/GRSignPrinter.class/instance/positivePrinter..st +++ b/repository/Grease-Core.package/GRSignPrinter.class/instance/positivePrinter..st @@ -1,5 +1,5 @@ accessing positivePrinter: aPrinter "The printer to be used when the number is zero or positive." - + positivePrinter := aPrinter \ No newline at end of file diff --git a/repository/Grease-Core.package/GRSignPrinter.class/instance/print.on..st b/repository/Grease-Core.package/GRSignPrinter.class/instance/print.on..st index a7046136..acf1c72d 100644 --- a/repository/Grease-Core.package/GRSignPrinter.class/instance/print.on..st +++ b/repository/Grease-Core.package/GRSignPrinter.class/instance/print.on..st @@ -1,5 +1,5 @@ printing -print: anObject on: aStream +print: anObject on: aStream anObject negative ifTrue: [ negativePrinter print: anObject on: aStream ] ifFalse: [ positivePrinter print: anObject on: aStream ] \ No newline at end of file diff --git a/repository/Grease-Core.package/GRSmallDictionary.class/instance/printOn..st b/repository/Grease-Core.package/GRSmallDictionary.class/instance/printOn..st index 9138b7f5..1dc1be7b 100644 --- a/repository/Grease-Core.package/GRSmallDictionary.class/instance/printOn..st +++ b/repository/Grease-Core.package/GRSmallDictionary.class/instance/printOn..st @@ -1,7 +1,7 @@ printing printOn: aStream super printOn: aStream. - + aStream nextPut: $(. self size <= 100 ifTrue: [ @@ -14,7 +14,7 @@ printOn: aStream ifFalse: [ aStream space ]. aStream print: key; - nextPutAll: '->'; + nextPutAll: '->'; print: value ] ] ifFalse: [ aStream diff --git a/repository/Grease-Core.package/GRSmallDictionary.class/instance/removeIndex..st b/repository/Grease-Core.package/GRSmallDictionary.class/instance/removeIndex..st index 872fceb8..d936d69f 100644 --- a/repository/Grease-Core.package/GRSmallDictionary.class/instance/removeIndex..st +++ b/repository/Grease-Core.package/GRSmallDictionary.class/instance/removeIndex..st @@ -3,7 +3,7 @@ removeIndex: index | value | value := values at: index. index to: size - 1 do: - [ :i | + [ :i | keys at: i put: (keys at: i + 1). values at: i put: (values at: i + 1) ]. keys at: size put: nil. diff --git a/repository/Grease-Core.package/GRSmallDictionary2.class/instance/printOn..st b/repository/Grease-Core.package/GRSmallDictionary2.class/instance/printOn..st index 9138b7f5..1dc1be7b 100644 --- a/repository/Grease-Core.package/GRSmallDictionary2.class/instance/printOn..st +++ b/repository/Grease-Core.package/GRSmallDictionary2.class/instance/printOn..st @@ -1,7 +1,7 @@ printing printOn: aStream super printOn: aStream. - + aStream nextPut: $(. self size <= 100 ifTrue: [ @@ -14,7 +14,7 @@ printOn: aStream ifFalse: [ aStream space ]. aStream print: key; - nextPutAll: '->'; + nextPutAll: '->'; print: value ] ] ifFalse: [ aStream diff --git a/repository/Grease-Core.package/GRSmallDictionary2.class/instance/removeIndex..st b/repository/Grease-Core.package/GRSmallDictionary2.class/instance/removeIndex..st index 10b8c291..79822d57 100644 --- a/repository/Grease-Core.package/GRSmallDictionary2.class/instance/removeIndex..st +++ b/repository/Grease-Core.package/GRSmallDictionary2.class/instance/removeIndex..st @@ -2,7 +2,7 @@ private removeIndex: index | value | value := table at: index + 1. - index to: size * 2 - 2 do: [ :i | + index to: size * 2 - 2 do: [ :i | table at: i put: (table at: i + 2) ]. table at: size * 2 - 1 put: nil. table at: size * 2 put: nil. diff --git a/repository/Grease-Core.package/GRSmallOrderedSet.class/instance/privateAdd..st b/repository/Grease-Core.package/GRSmallOrderedSet.class/instance/privateAdd..st index 52130cfb..a66f316b 100644 --- a/repository/Grease-Core.package/GRSmallOrderedSet.class/instance/privateAdd..st +++ b/repository/Grease-Core.package/GRSmallOrderedSet.class/instance/privateAdd..st @@ -1,4 +1,4 @@ private privateAdd: newObject size = table size ifTrue: [ self grow ]. - table at: (size := size + 1) put: newObject. \ No newline at end of file + table at: (size := size + 1) put: newObject \ No newline at end of file diff --git a/repository/Grease-Core.package/GRStringPrinter.class/instance/character..st b/repository/Grease-Core.package/GRStringPrinter.class/instance/character..st index 5f92375b..fd789e7b 100644 --- a/repository/Grease-Core.package/GRStringPrinter.class/instance/character..st +++ b/repository/Grease-Core.package/GRStringPrinter.class/instance/character..st @@ -1,5 +1,5 @@ accessing character: aCharacter "The character to pad the string with." - + character := aCharacter \ No newline at end of file diff --git a/repository/Grease-Core.package/GRStringPrinter.class/instance/padCenter.st b/repository/Grease-Core.package/GRStringPrinter.class/instance/padCenter.st index c4090a8c..d67d56a5 100644 --- a/repository/Grease-Core.package/GRStringPrinter.class/instance/padCenter.st +++ b/repository/Grease-Core.package/GRStringPrinter.class/instance/padCenter.st @@ -1,5 +1,5 @@ padding padCenter "Pad to the center." - + pad := #pad:center:to: \ No newline at end of file diff --git a/repository/Grease-Core.package/GRStringPrinter.class/instance/padLeft.st b/repository/Grease-Core.package/GRStringPrinter.class/instance/padLeft.st index 607d8b5f..e12c2152 100644 --- a/repository/Grease-Core.package/GRStringPrinter.class/instance/padLeft.st +++ b/repository/Grease-Core.package/GRStringPrinter.class/instance/padLeft.st @@ -1,5 +1,5 @@ padding padLeft "Pad to the left." - + pad := #pad:left:to: \ No newline at end of file diff --git a/repository/Grease-Core.package/GRStringPrinter.class/instance/padNone.st b/repository/Grease-Core.package/GRStringPrinter.class/instance/padNone.st index 549c1100..8ef5e9f2 100644 --- a/repository/Grease-Core.package/GRStringPrinter.class/instance/padNone.st +++ b/repository/Grease-Core.package/GRStringPrinter.class/instance/padNone.st @@ -1,5 +1,5 @@ padding padNone "Do not pad the input." - + pad := nil \ No newline at end of file diff --git a/repository/Grease-Core.package/GRStringPrinter.class/instance/padRight.st b/repository/Grease-Core.package/GRStringPrinter.class/instance/padRight.st index 81897648..57cb176b 100644 --- a/repository/Grease-Core.package/GRStringPrinter.class/instance/padRight.st +++ b/repository/Grease-Core.package/GRStringPrinter.class/instance/padRight.st @@ -1,5 +1,5 @@ padding padRight "Pad to the right." - + pad := #pad:right:to: \ No newline at end of file diff --git a/repository/Grease-Core.package/GRStringPrinter.class/instance/print.on..st b/repository/Grease-Core.package/GRStringPrinter.class/instance/print.on..st index 77cb55a3..7646fdad 100644 --- a/repository/Grease-Core.package/GRStringPrinter.class/instance/print.on..st +++ b/repository/Grease-Core.package/GRStringPrinter.class/instance/print.on..st @@ -1,11 +1,11 @@ printing -print: anObject on: aStream +print: anObject on: aStream | string | string := anObject greaseString. trim isNil ifFalse: [ string := string perform: trim ]. length isNil ifFalse: [ - length < string size + length < string size ifTrue: [ string := string copyFrom: 1 to: length ]. (pad isNil or: [ character isNil ]) ifFalse: [ string := self perform: pad with: string with: character with: length ] ]. diff --git a/repository/Grease-Core.package/GRUnitPrinter.class/class/base.units..st b/repository/Grease-Core.package/GRUnitPrinter.class/class/base.units..st index b547b8ef..a824c272 100644 --- a/repository/Grease-Core.package/GRUnitPrinter.class/class/base.units..st +++ b/repository/Grease-Core.package/GRUnitPrinter.class/class/base.units..st @@ -1,6 +1,6 @@ instance creation base: anInteger units: anArray - ^ self new + ^ self new base: anInteger; units: anArray; yourself \ No newline at end of file diff --git a/repository/Grease-Core.package/Integer.extension/instance/pluralize..st b/repository/Grease-Core.package/Integer.extension/instance/pluralize..st index 35ed7d73..449e521b 100644 --- a/repository/Grease-Core.package/Integer.extension/instance/pluralize..st +++ b/repository/Grease-Core.package/Integer.extension/instance/pluralize..st @@ -1,5 +1,5 @@ *grease-core -pluralize: aSingularString - ^ self +pluralize: aSingularString + ^ self pluralize: aSingularString with: (GRInflector pluralize: aSingularString) \ No newline at end of file diff --git a/repository/Grease-Core.package/Object.extension/instance/greaseDeprecatedApi.details..st b/repository/Grease-Core.package/Object.extension/instance/greaseDeprecatedApi.details..st index e35298ad..475f1bb6 100644 --- a/repository/Grease-Core.package/Object.extension/instance/greaseDeprecatedApi.details..st +++ b/repository/Grease-Core.package/Object.extension/instance/greaseDeprecatedApi.details..st @@ -1,5 +1,5 @@ *grease-core -greaseDeprecatedApi: apiString details: detailsString +greaseDeprecatedApi: apiString details: detailsString GRDeprecatedApiNotification new details: detailsString; signal: apiString \ No newline at end of file diff --git a/repository/Grease-Core.package/String.extension/instance/excerpt..st b/repository/Grease-Core.package/String.extension/instance/excerpt..st index 21b44226..c6843001 100644 --- a/repository/Grease-Core.package/String.extension/instance/excerpt..st +++ b/repository/Grease-Core.package/String.extension/instance/excerpt..st @@ -1,5 +1,5 @@ *grease-core excerpt: aString "Answer an excerpt of the receiver that matches the first occurence of aString. If aString isn't found, nil is answered." - + ^ self excerpt: aString radius: 100 \ No newline at end of file diff --git a/repository/Grease-Core.package/String.extension/instance/excerpt.radius..st b/repository/Grease-Core.package/String.extension/instance/excerpt.radius..st index 57c3607f..98a14aa7 100644 --- a/repository/Grease-Core.package/String.extension/instance/excerpt.radius..st +++ b/repository/Grease-Core.package/String.extension/instance/excerpt.radius..st @@ -1,5 +1,5 @@ *grease-core excerpt: aString radius: anInteger "Answer an excerpt of the receiver that matches the first occurence of aString. The radius anInteger expands the excerpt on each side of the first occurrence by the number of characters defined in radius. If aString isn't found, nil is answered." - + ^ self excerpt: aString radius: anInteger ellipsis: '...' \ No newline at end of file diff --git a/repository/Grease-Core.package/String.extension/instance/greaseInteger.st b/repository/Grease-Core.package/String.extension/instance/greaseInteger.st index ad2d0b4d..ddc5b29d 100644 --- a/repository/Grease-Core.package/String.extension/instance/greaseInteger.st +++ b/repository/Grease-Core.package/String.extension/instance/greaseInteger.st @@ -16,7 +16,7 @@ greaseInteger ifTrue: [ 0 ] ifFalse: [ 10 * number ]) + (char greaseInteger - $0 greaseInteger) ] ifFalse: [ - ^ number isNil ifFalse: [ + ^ number isNil ifFalse: [ negated not ifFalse: [ number negated ] ifTrue: [ number ] ] ] ] ]. diff --git a/repository/Grease-Core.package/String.extension/instance/truncate..st b/repository/Grease-Core.package/String.extension/instance/truncate..st index 8e624b44..7bda5b57 100644 --- a/repository/Grease-Core.package/String.extension/instance/truncate..st +++ b/repository/Grease-Core.package/String.extension/instance/truncate..st @@ -1,5 +1,5 @@ *grease-core truncate: anInteger "Truncate the receiver to anInteger characters." - + ^ self truncate: anInteger ellipsis: '...' \ No newline at end of file diff --git a/repository/Grease-Core.package/String.extension/instance/truncate.st b/repository/Grease-Core.package/String.extension/instance/truncate.st index 1c855a76..6217e9c2 100644 --- a/repository/Grease-Core.package/String.extension/instance/truncate.st +++ b/repository/Grease-Core.package/String.extension/instance/truncate.st @@ -1,5 +1,5 @@ *grease-core truncate "Truncate the receiver to 30 characters." - + ^ self truncate: 30 \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/decoderFor..st b/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/decoderFor..st index 256dbac4..5bce5556 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/decoderFor..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/decoderFor..st @@ -1,4 +1,4 @@ conversion -decoderFor: aReadStream +decoderFor: aReadStream "wrap to avoid String vs ByteArray issues" ^ GRPharoLatin1CodecStream on: aReadStream \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/encoderFor..st b/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/encoderFor..st index 20102849..1f770ac9 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/encoderFor..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/encoderFor..st @@ -1,4 +1,4 @@ conversion -encoderFor: aWriteStream +encoderFor: aWriteStream "wrap to avoid String vs ByteArray issues" ^ GRPharoLatin1CodecStream on: aWriteStream \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/initializeWithName..st b/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/initializeWithName..st index b0256973..03133d93 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/initializeWithName..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoLatin1Codec.class/instance/initializeWithName..st @@ -1,4 +1,4 @@ initialization -initializeWithName: aString +initializeWithName: aString self initialize. name := aString \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/addToStartUpList..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/addToStartUpList..st index c4ab1dea..8721690e 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/addToStartUpList..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/addToStartUpList..st @@ -2,4 +2,4 @@ startup addToStartUpList: aClass "Add anObject to the startup-list of the system. On startup the message #startUp will be sent to anObject." - SessionManager default registerUserClassNamed: aClass name. \ No newline at end of file + SessionManager default registerUserClassNamed: aClass name \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/bindingOf..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/bindingOf..st index e878c01b..f121b44b 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/bindingOf..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/bindingOf..st @@ -1,4 +1,4 @@ bindings bindingOf: aClass - + ^ Smalltalk globals associationAt: aClass name \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/compile.into.classified..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/compile.into.classified..st index 45c37a45..c64d0bc2 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/compile.into.classified..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/compile.into.classified..st @@ -1,3 +1,3 @@ file library -compile: aString into: aClass classified: aSymbol +compile: aString into: aClass classified: aSymbol aClass compile: aString classified: aSymbol \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/deleteFile..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/deleteFile..st index d3c82d99..69d63003 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/deleteFile..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/deleteFile..st @@ -1,3 +1,3 @@ files deleteFile: aPathString - aPathString asFileReference delete \ No newline at end of file + aPathString asFileReference delete \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/directoriesIn..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/directoriesIn..st index a6e6c3d1..81b4dce9 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/directoriesIn..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/directoriesIn..st @@ -2,7 +2,7 @@ files directoriesIn: aPathString "Answer a collection of absolute paths for all the directories (no files) in the directory given by aPathString must not include directory names that start with ." - ^ Array streamContents: [ :stream | + ^ Array streamContents: [ :stream | FileSystem disk directoriesAt: aPathString do: [ :each | each basename first = $. ifFalse: [ stream nextPut: each asFileReference fullName ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/fileExists..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/fileExists..st index e12b7927..1fc0dddf 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/fileExists..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/fileExists..st @@ -1,3 +1,3 @@ files fileExists: aString - ^ aString asFileReference exists \ No newline at end of file + ^ aString asFileReference exists \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/filesIn..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/filesIn..st index 230ea184..4b9fcd27 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/filesIn..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/filesIn..st @@ -2,7 +2,7 @@ files filesIn: aPathString "Return a collection of absolute paths for all the files (no directories) in the directory given by aPathString must not include file names that start with ." - ^ Array streamContents: [ :stream | + ^ Array streamContents: [ :stream | FileSystem disk filesAt: aPathString do: [ :each | each basename first = $. ifFalse: [ stream nextPut: each asFileReference fullName ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newRandom.st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newRandom.st index 9d90824d..eb03a167 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newRandom.st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newRandom.st @@ -3,8 +3,8 @@ newRandom "Answers the random number generator to be used to create session and continuation keys. Make sure it is seeded. They only methods that will be sent to it are: #nextInt: - should answer a random integer in the interval [1, anInteger] #randomFrom: - should answer a random element from the given collection - + Make sure that both methods are safe under heavy concurrent load. - + Used by Gemstone/S traditional Randoms which cannot be persisted.." ^ GRPharoRandomProvider \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/readWriteByteStream.st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/readWriteByteStream.st index db9518ee..142efa0f 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/readWriteByteStream.st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/readWriteByteStream.st @@ -1,5 +1,5 @@ factory readWriteByteStream "ByteArray based read write stream" - + ^ ReadWriteStream on: (ByteArray new: 4096) \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/decoderFor..st b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/decoderFor..st index 0e839208..be53dfea 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/decoderFor..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/decoderFor..st @@ -1,3 +1,3 @@ conversion -decoderFor: aStream +decoderFor: aStream ^ self encoderFor: aStream \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/encoderFor..st b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/encoderFor..st index e64e8135..83482e43 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/encoderFor..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/encoderFor..st @@ -1,5 +1,5 @@ conversion -encoderFor: aStream - ^ GRPharoZnCodecStream +encoderFor: aStream + ^ GRPharoZnCodecStream on: aStream withEncoder: (ZnCharacterEncoder newForEncoding: self name) \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/initializeWithName..st b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/initializeWithName..st index 57f52136..e7c86042 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/initializeWithName..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/instance/initializeWithName..st @@ -2,6 +2,6 @@ initialization initializeWithName: aString self initialize. name := aString. - urlCodec := (#('iso-8859-15' 'cp-1252' 'utf8' 'utf-8' 'UTF-8') includes: aString) + urlCodec := (#('iso-8859-15' 'cp-1252' 'utf8' 'utf-8' 'UTF-8') includes: aString) ifFalse: [ GRCodec forEncoding: 'utf8' ] ifTrue: [ self ] \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/greaseNext.putAll.startingAt..st index eed7aded..365093e2 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/greaseNext.putAll.startingAt..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/greaseNext.putAll.startingAt..st @@ -1,3 +1,3 @@ accessing greaseNext: anInteger putAll: aCollection startingAt: startIndex - encoder next: anInteger putAll: aCollection startingAt: startIndex toStream: stream \ No newline at end of file + encoder next: anInteger putAll: aCollection startingAt: startIndex toStream: stream \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/nextPut..st b/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/nextPut..st index 3cad62a0..30014e3d 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/nextPut..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/nextPut..st @@ -1,3 +1,3 @@ accessing nextPut: aCharacter - encoder nextPut: aCharacter asCharacter toStream: stream \ No newline at end of file + encoder nextPut: aCharacter asCharacter toStream: stream \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/nextPutAll..st b/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/nextPutAll..st index f7494a83..bd42bba5 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/nextPutAll..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnCodecStream.class/instance/nextPutAll..st @@ -2,4 +2,4 @@ streaming nextPutAll: aString | string | string := aString asString. - encoder next: string size putAll: string startingAt: 1 toStream: stream \ No newline at end of file + encoder next: string size putAll: string startingAt: 1 toStream: stream \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRSmallDictionary.extension/instance/inspectionItems..st b/repository/Grease-Pharo100-Core.package/GRSmallDictionary.extension/instance/inspectionItems..st index 0f446672..cb666a56 100644 --- a/repository/Grease-Pharo100-Core.package/GRSmallDictionary.extension/instance/inspectionItems..st +++ b/repository/Grease-Pharo100-Core.package/GRSmallDictionary.extension/instance/inspectionItems..st @@ -1,14 +1,14 @@ *Grease-Pharo100-Core inspectionItems: aBuilder - - - ^ aBuilder newTable - addColumn: (SpStringTableColumn + + + ^ aBuilder newTable + addColumn: (SpStringTableColumn title: 'Key' evaluated: [ :each | StObjectPrinter asTruncatedTextFrom: each key ]) beSortable; - addColumn: (SpStringTableColumn - title: 'Value' + addColumn: (SpStringTableColumn + title: 'Value' evaluated: [ :each | StObjectPrinter asTruncatedTextFrom: each value ]) beSortable; items: self associations; diff --git a/repository/Grease-Pharo100-Core.package/GRSmallDictionary2.extension/instance/inspectionItems..st b/repository/Grease-Pharo100-Core.package/GRSmallDictionary2.extension/instance/inspectionItems..st index 0f446672..cb666a56 100644 --- a/repository/Grease-Pharo100-Core.package/GRSmallDictionary2.extension/instance/inspectionItems..st +++ b/repository/Grease-Pharo100-Core.package/GRSmallDictionary2.extension/instance/inspectionItems..st @@ -1,14 +1,14 @@ *Grease-Pharo100-Core inspectionItems: aBuilder - - - ^ aBuilder newTable - addColumn: (SpStringTableColumn + + + ^ aBuilder newTable + addColumn: (SpStringTableColumn title: 'Key' evaluated: [ :each | StObjectPrinter asTruncatedTextFrom: each key ]) beSortable; - addColumn: (SpStringTableColumn - title: 'Value' + addColumn: (SpStringTableColumn + title: 'Value' evaluated: [ :each | StObjectPrinter asTruncatedTextFrom: each value ]) beSortable; items: self associations; diff --git a/repository/Grease-Pharo100-Core.package/Interval.extension/instance/any.st b/repository/Grease-Pharo100-Core.package/Interval.extension/instance/any.st index 5568eb95..45ebf480 100644 --- a/repository/Grease-Pharo100-Core.package/Interval.extension/instance/any.st +++ b/repository/Grease-Pharo100-Core.package/Interval.extension/instance/any.st @@ -2,5 +2,5 @@ any "#first (used by SequenceableCollection>>anyOne) is an accessor of Interval and does not error on an empty Interval." - + ^ self at: 1 \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/PositionableStream.extension/instance/greaseUpToAll..st b/repository/Grease-Pharo100-Core.package/PositionableStream.extension/instance/greaseUpToAll..st index 348d9987..b3fd7893 100644 --- a/repository/Grease-Pharo100-Core.package/PositionableStream.extension/instance/greaseUpToAll..st +++ b/repository/Grease-Pharo100-Core.package/PositionableStream.extension/instance/greaseUpToAll..st @@ -1,5 +1,5 @@ *Grease-Pharo100-Core -greaseUpToAll: aCollection +greaseUpToAll: aCollection "Needed for Seaside ports to other dialects where #upToAll: may have different semantics" ^ self upToAll: aCollection \ No newline at end of file diff --git a/repository/Grease-Pharo90-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st b/repository/Grease-Pharo90-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st index 2742a93f..ce50f833 100644 --- a/repository/Grease-Pharo90-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st +++ b/repository/Grease-Pharo90-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st @@ -3,11 +3,11 @@ initialize super initialize. self rewriteRule replace: 'Character value: ``@expr' with: 'Character codePoint: ``@expr'; - replace: '`#source to: `#target' + replace: '`#source to: `#target' withValueFrom: [ :node | RBLiteralNode value: (String streamContents: [ :stream | node receiver value codePoint to: node arguments first value codePoint do: [ :code | stream nextPut: (Character codePoint: code) ] ]) ] - when: [ :node | + when: [ :node | node receiver value isCharacter - and: [ node arguments first value isCharacter ] ] \ No newline at end of file + and: [ node arguments first value isCharacter ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo90-Slime.package/GRAnsiCollectionsRule.class/instance/initialize.st b/repository/Grease-Pharo90-Slime.package/GRAnsiCollectionsRule.class/instance/initialize.st index 1e93cbc8..00acba63 100644 --- a/repository/Grease-Pharo90-Slime.package/GRAnsiCollectionsRule.class/instance/initialize.st +++ b/repository/Grease-Pharo90-Slime.package/GRAnsiCollectionsRule.class/instance/initialize.st @@ -23,7 +23,7 @@ initialize replace: '``@collection valuesDo: ``@block' with: '``@collection do: ``@block'; replace: '``@collection reversed' - with: '``@collection reverse'; + with: '``@collection reverse'; replace: '``@dictionary keysSortedSafely' with: '``@dictionary keys asSortedCollection'; replace: '``@collectionClass new: ``@size withAll: ``@character' diff --git a/repository/Grease-Pharo90-Slime.package/GRAnsiStringsRule.class/instance/initialize.st b/repository/Grease-Pharo90-Slime.package/GRAnsiStringsRule.class/instance/initialize.st index af1892f0..1256fabc 100644 --- a/repository/Grease-Pharo90-Slime.package/GRAnsiStringsRule.class/instance/initialize.st +++ b/repository/Grease-Pharo90-Slime.package/GRAnsiStringsRule.class/instance/initialize.st @@ -14,7 +14,7 @@ initialize replace: '``@string findTokens: ``@arg' withValueFrom: [ :node | | argument | argument := node arguments first. - argument isLiteralNode ifTrue: [ + argument isLiteralNode ifTrue: [ argument value isArray ifTrue: [ argument replaceWith: (RBLiteralNode value: (String withAll: argument value)) ]. argument value isCharacter diff --git a/repository/Grease-Pharo90-Slime.package/GRBasicNewInitializeMissingRule.class/instance/checkClass..st b/repository/Grease-Pharo90-Slime.package/GRBasicNewInitializeMissingRule.class/instance/checkClass..st index b5489e28..1b916f3c 100644 --- a/repository/Grease-Pharo90-Slime.package/GRBasicNewInitializeMissingRule.class/instance/checkClass..st +++ b/repository/Grease-Pharo90-Slime.package/GRBasicNewInitializeMissingRule.class/instance/checkClass..st @@ -1,13 +1,13 @@ running -checkClass: aContext +checkClass: aContext (aContext isMeta not and: [ (aContext includesSelector: #initialize) and: [ (#(GRObject GRNotification GRNotification GRError RBLintRule RBTransformationRule) noneSatisfy: [ :each | aContext includesBehavior: (Smalltalk globals at: each) ]) - and: [ aContext class methodDictionary noneSatisfy: [ :each | - matcher + and: [ aContext class methodDictionary noneSatisfy: [ :each | + matcher executeTree: each parseTree initialAnswer: false ] ] ] ]) ifTrue: [ - result + result addClass: aContext selector: #initialize ] \ No newline at end of file diff --git a/repository/Grease-Pharo90-Slime.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st b/repository/Grease-Pharo90-Slime.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st index 10faf254..40611cde 100644 --- a/repository/Grease-Pharo90-Slime.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st +++ b/repository/Grease-Pharo90-Slime.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st @@ -2,6 +2,6 @@ initialization initialize super initialize. matcher := RBParseTreeSearcher new. - matcher + matcher matches: 'self basicNew initialize' do: [ :node :answer | true ] \ No newline at end of file diff --git a/repository/Grease-Pharo90-Slime.package/GRBlockFormattingRule.class/instance/initialize.st b/repository/Grease-Pharo90-Slime.package/GRBlockFormattingRule.class/instance/initialize.st index c9bda0fc..857cfe81 100644 --- a/repository/Grease-Pharo90-Slime.package/GRBlockFormattingRule.class/instance/initialize.st +++ b/repository/Grease-Pharo90-Slime.package/GRBlockFormattingRule.class/instance/initialize.st @@ -4,7 +4,7 @@ initialize self matcher matches: '[ :`@args | | `@temps | ``@.stmts ]' do: [ :node :answer | - answer isNil + answer isNil ifFalse: [ answer ] ifTrue: [ | source | @@ -16,7 +16,7 @@ initialize (before isSeparator and: [ after isSeparator ]) ifFalse: [ node ] ifTrue: [ - node bar notNil ifTrue: [ + node bar notNil ifTrue: [ before := source at: node bar - 1 ifAbsent: [ $ ]. after := source at: node bar + 1 ifAbsent: [ $ ]. (before isSeparator and: [ after isSeparator ]) diff --git a/repository/Grease-Pharo90-Slime.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st b/repository/Grease-Pharo90-Slime.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st index 64cfada8..9fb5c9de 100644 --- a/repository/Grease-Pharo90-Slime.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st +++ b/repository/Grease-Pharo90-Slime.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st @@ -2,7 +2,7 @@ initialization initialize super initialize. matcher := RBParseTreeSearcher new. - matcher + matcher matchesAnyOf: #( '``@receiver greaseDeprecatedApi: ``@arg1' '``@receiver greaseDeprecatedApi: ``@arg1 details: ``@arg2' ) diff --git a/repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/instance/checkMethod..st b/repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/instance/checkMethod..st index 0bc1862a..a2a96832 100644 --- a/repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/instance/checkMethod..st +++ b/repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/instance/checkMethod..st @@ -1,5 +1,5 @@ running -checkMethod: aContext +checkMethod: aContext | periods position | aContext parseTree nodesDo: [ :node | (node isSequence and: [ node periods notEmpty ]) ifTrue: [ diff --git a/repository/Grease-Pharo90-Slime.package/GRInvalidObjectInitializationRule.class/instance/checkMethod..st b/repository/Grease-Pharo90-Slime.package/GRInvalidObjectInitializationRule.class/instance/checkMethod..st index 63c04fdc..30369982 100644 --- a/repository/Grease-Pharo90-Slime.package/GRInvalidObjectInitializationRule.class/instance/checkMethod..st +++ b/repository/Grease-Pharo90-Slime.package/GRInvalidObjectInitializationRule.class/instance/checkMethod..st @@ -1,10 +1,10 @@ running -checkMethod: aContext - (aContext methodClass isMeta not - and: [ (aContext selector beginsWithSubCollection: #initialize) +checkMethod: aContext + (aContext methodClass isMeta not + and: [ (aContext selector beginsWithSubCollection: #initialize) and: [ aContext selector numArgs > 0 and: [ aContext methodClass ~= GRObject and: [ (aContext methodClass includesBehavior: GRObject) - and: [ (aContext superMessages includes: aContext selector) not - and: [ aContext selfMessages noneSatisfy: [ :each | each beginsWithSubCollection: #initialize ] ] ] ] ] ] ]) + and: [ (aContext superMessages includes: aContext selector) not + and: [ aContext selfMessages noneSatisfy: [ :each | each beginsWithSubCollection: #initialize ] ] ] ] ] ] ]) ifTrue: [ result addClass: aContext methodClass selector: aContext selector ] \ No newline at end of file diff --git a/repository/Grease-Pharo90-Slime.package/GRNonPortableMessageRule.class/instance/checkClass..st b/repository/Grease-Pharo90-Slime.package/GRNonPortableMessageRule.class/instance/checkClass..st index 4c871460..6d276d6c 100644 --- a/repository/Grease-Pharo90-Slime.package/GRNonPortableMessageRule.class/instance/checkClass..st +++ b/repository/Grease-Pharo90-Slime.package/GRNonPortableMessageRule.class/instance/checkClass..st @@ -3,7 +3,7 @@ checkClass: aContext | selectors | selectors := self methodNames inject: Set new - into: [ :set :each | + into: [ :set :each | set addAll: (aContext whichSelectorsReferTo: each); yourself ]. diff --git a/repository/Grease-Pharo90-Slime.package/GRNonPortableSourceFormatRule.class/instance/checkClass..st b/repository/Grease-Pharo90-Slime.package/GRNonPortableSourceFormatRule.class/instance/checkClass..st index dc83677f..95b1d5c1 100644 --- a/repository/Grease-Pharo90-Slime.package/GRNonPortableSourceFormatRule.class/instance/checkClass..st +++ b/repository/Grease-Pharo90-Slime.package/GRNonPortableSourceFormatRule.class/instance/checkClass..st @@ -1,7 +1,7 @@ running -checkClass: aContext +checkClass: aContext | comment | - aContext isMeta + aContext isMeta ifTrue: [ ^ self ]. comment := aContext organization classComment asString. comment isWideString ifTrue: [ diff --git a/repository/Grease-Pharo90-Slime.package/GRNonPortableSourceFormatRule.class/instance/checkMethod..st b/repository/Grease-Pharo90-Slime.package/GRNonPortableSourceFormatRule.class/instance/checkMethod..st index 8d1ad057..ae19cb73 100644 --- a/repository/Grease-Pharo90-Slime.package/GRNonPortableSourceFormatRule.class/instance/checkMethod..st +++ b/repository/Grease-Pharo90-Slime.package/GRNonPortableSourceFormatRule.class/instance/checkMethod..st @@ -3,14 +3,14 @@ checkMethod: aContext | foundLiteral | foundLiteral := false. "check individual literals first" - aContext literals do: [ :each | + aContext literals do: [ :each | (each isString and: [ each isWideString ]) ifTrue: [ - result + result addClass: aContext methodClass selector: aContext selector. result addSearchString: each. foundLiteral := true ] ]. - + "now check the whole method, could be in comments" foundLiteral ifFalse: [ aContext sourceCode asString isWideString ifTrue: [ diff --git a/repository/Grease-Pharo90-Slime.package/GRParensFormattingRule.class/instance/initialize.st b/repository/Grease-Pharo90-Slime.package/GRParensFormattingRule.class/instance/initialize.st index a9bf5bdb..c8c72c58 100644 --- a/repository/Grease-Pharo90-Slime.package/GRParensFormattingRule.class/instance/initialize.st +++ b/repository/Grease-Pharo90-Slime.package/GRParensFormattingRule.class/instance/initialize.st @@ -4,7 +4,7 @@ initialize self matcher matches: '`{ :node | node isValue and: [ node hasParentheses ] }' do: [ :node :answer | - answer isNil + answer isNil ifFalse: [ answer ] ifTrue: [ | found start stop | diff --git a/repository/Grease-Pharo90-Slime.package/GRReturnFormattingRule.class/instance/initialize.st b/repository/Grease-Pharo90-Slime.package/GRReturnFormattingRule.class/instance/initialize.st index a488a67f..500df13d 100644 --- a/repository/Grease-Pharo90-Slime.package/GRReturnFormattingRule.class/instance/initialize.st +++ b/repository/Grease-Pharo90-Slime.package/GRReturnFormattingRule.class/instance/initialize.st @@ -4,8 +4,8 @@ initialize self matcher matches: '^ ``@expr' do: [ :node :answer | - answer isNil + answer isNil ifFalse: [ answer ] - ifTrue: [ + ifTrue: [ node start + 2 ~= node value start ifTrue: [ node ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo90-Slime.package/GRTempsFormattingRule.class/instance/initialize.st b/repository/Grease-Pharo90-Slime.package/GRTempsFormattingRule.class/instance/initialize.st index 447c54de..a0f0b5a3 100644 --- a/repository/Grease-Pharo90-Slime.package/GRTempsFormattingRule.class/instance/initialize.st +++ b/repository/Grease-Pharo90-Slime.package/GRTempsFormattingRule.class/instance/initialize.st @@ -4,14 +4,14 @@ initialize self matcher matches: '| `temp `@temps | ``@.stmts' do: [ :node :answer | - answer isNil + answer isNil ifFalse: [ answer ] - ifTrue: [ + ifTrue: [ (node leftBar notNil and: [ node rightBar notNil ]) ifTrue: [ | found position | found := false. position := node leftBar. - node temporaries do: [ :each | + node temporaries do: [ :each | found := found or: [ position + 2 ~= each start ]. position := each stop ]. found := found or: [ position + 2 ~= node rightBar ]. diff --git a/repository/Grease-Pharo90-Slime.package/GRTestAssertionsRule.class/instance/checkMethod..st b/repository/Grease-Pharo90-Slime.package/GRTestAssertionsRule.class/instance/checkMethod..st index cd33b84b..bab892c3 100644 --- a/repository/Grease-Pharo90-Slime.package/GRTestAssertionsRule.class/instance/checkMethod..st +++ b/repository/Grease-Pharo90-Slime.package/GRTestAssertionsRule.class/instance/checkMethod..st @@ -1,7 +1,7 @@ running -checkMethod: aContext +checkMethod: aContext aContext methodClass isMeta ifTrue: [ ^ self ]. (aContext methodClass allSuperclasses includes:(Smalltalk at: #TestCase)) ifFalse: [ ^ self ]. - ^ super checkMethod: aContext \ No newline at end of file + ^ super checkMethod: aContext \ No newline at end of file diff --git a/repository/Grease-Pharo90-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/checkMethod..st b/repository/Grease-Pharo90-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/checkMethod..st index 5fc9a25b..954a79b9 100644 --- a/repository/Grease-Pharo90-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/checkMethod..st +++ b/repository/Grease-Pharo90-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/checkMethod..st @@ -1,5 +1,5 @@ running -checkMethod: aContext +checkMethod: aContext aContext parseTree nodesDo: [ :node | node isSequence ifTrue: [ (node statements notEmpty and: [ node periods notEmpty ]) ifTrue: [ diff --git a/repository/Grease-Pharo90-Slime.package/GRUsesMethodAnnotationsRule.class/instance/checkMethod..st b/repository/Grease-Pharo90-Slime.package/GRUsesMethodAnnotationsRule.class/instance/checkMethod..st index 0821ec7a..c48f9bf5 100644 --- a/repository/Grease-Pharo90-Slime.package/GRUsesMethodAnnotationsRule.class/instance/checkMethod..st +++ b/repository/Grease-Pharo90-Slime.package/GRUsesMethodAnnotationsRule.class/instance/checkMethod..st @@ -2,7 +2,7 @@ running checkMethod: aContext (self shouldExclude: aContext) ifFalse: [ aContext pragmas do: [ :each | - result + result addClass: aContext methodClass selector: aContext selector. result addSearchString: each selector ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo90-Slime.package/GRUsesNotPortableClassRule.class/instance/checkClass..st b/repository/Grease-Pharo90-Slime.package/GRUsesNotPortableClassRule.class/instance/checkClass..st index c90a5576..674dcf52 100644 --- a/repository/Grease-Pharo90-Slime.package/GRUsesNotPortableClassRule.class/instance/checkClass..st +++ b/repository/Grease-Pharo90-Slime.package/GRUsesNotPortableClassRule.class/instance/checkClass..st @@ -1,5 +1,5 @@ running -checkClass: aContext +checkClass: aContext aContext allSuperclassesDo: [ :each | (self classNames includes: each name) ifTrue: [ result addClass: aContext. diff --git a/repository/Grease-Pharo90-Slime.package/GRUsesNotPortableClassRule.class/instance/checkMethod..st b/repository/Grease-Pharo90-Slime.package/GRUsesNotPortableClassRule.class/instance/checkMethod..st index a40fba21..18cb585b 100644 --- a/repository/Grease-Pharo90-Slime.package/GRUsesNotPortableClassRule.class/instance/checkMethod..st +++ b/repository/Grease-Pharo90-Slime.package/GRUsesNotPortableClassRule.class/instance/checkMethod..st @@ -6,7 +6,7 @@ checkMethod: aContext ifTrue: [ "classes in a -Pharo- package are per definition not portable and therefore allowed to use non-portable classes" ^ self ]. aContext literals - do: [ :each | + do: [ :each | (each isVariableBinding and: [ self classNames includes: each key ]) ifTrue: [ result addClass: aContext methodClass selector: aContext selector. result addSearchString: each key ] ] \ No newline at end of file From bd1f46baf4d70537bc90beebc6090f389a30b1d5 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sat, 21 Jan 2023 15:33:20 +0100 Subject: [PATCH 085/254] Add pharo 11 to baseline (also cleanup code critics on baseline) --- .../instance/baselinePharo..st | 14 +++++++------- .../ManifestBaselineOfGrease.class/README.md | 1 + .../class/ruleLongMethodsRuleV1FalsePositive.st | 3 +++ .../ManifestBaselineOfGrease.class/properties.json | 11 +++++++++++ .../monticello.meta/categories.st | 1 + 5 files changed, 23 insertions(+), 7 deletions(-) create mode 100644 repository/BaselineOfGrease.package/ManifestBaselineOfGrease.class/README.md create mode 100644 repository/BaselineOfGrease.package/ManifestBaselineOfGrease.class/class/ruleLongMethodsRuleV1FalsePositive.st create mode 100644 repository/BaselineOfGrease.package/ManifestBaselineOfGrease.class/properties.json diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st index 25181a0b..1b210730 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st @@ -1,6 +1,6 @@ baselines baselinePharo: spec - + spec for: #'pharo6.x' do: [ spec @@ -25,7 +25,7 @@ baselinePharo: spec spec for: #(#'pharo6.x' #'pharo7.x' #'pharo8.x') - do: [ + do: [ spec package: 'Grease-Pharo40-Slime' with: [ spec requires: #('Grease-Core') ]; package: 'Grease-Tests-Slime' with: [ spec requires: #('Grease-Pharo40-Slime') ]. @@ -35,7 +35,7 @@ baselinePharo: spec spec for: #(#'pharo9.x') - do: [ + do: [ spec package: 'Grease-Core' with: [ spec includes: #('Grease-Pharo90-Core') ]; package: 'Grease-Tests-Pharo-Core' with: [ spec requires: #('Grease-Tests-Core') ]; @@ -50,10 +50,10 @@ baselinePharo: spec spec group: 'Slime' with: #('Grease-Pharo90-Slime'); group: 'Slime Tests' with: #('Grease-Tests-Slime') ]. - + spec - for: #(#'pharo10.x') - do: [ + for: #(#'pharo10.x' #'pharo11.x') + do: [ spec package: 'Grease-Core' with: [ spec includes: #('Grease-Pharo100-Core') ]; package: 'Grease-Tests-Pharo-Core' with: [ spec requires: #('Grease-Tests-Core') ]; @@ -67,4 +67,4 @@ baselinePharo: spec spec group: 'Slime' with: #('Grease-Pharo90-Slime'); - group: 'Slime Tests' with: #('Grease-Tests-Slime') ]. \ No newline at end of file + group: 'Slime Tests' with: #('Grease-Tests-Slime') ] \ No newline at end of file diff --git a/repository/BaselineOfGrease.package/ManifestBaselineOfGrease.class/README.md b/repository/BaselineOfGrease.package/ManifestBaselineOfGrease.class/README.md new file mode 100644 index 00000000..69df3dee --- /dev/null +++ b/repository/BaselineOfGrease.package/ManifestBaselineOfGrease.class/README.md @@ -0,0 +1 @@ +Please describe the package using the class comment of the included manifest class. The manifest class also includes other additional metadata for the package. These meta data are used by other tools such as the SmalllintManifestChecker and the critics Browser \ No newline at end of file diff --git a/repository/BaselineOfGrease.package/ManifestBaselineOfGrease.class/class/ruleLongMethodsRuleV1FalsePositive.st b/repository/BaselineOfGrease.package/ManifestBaselineOfGrease.class/class/ruleLongMethodsRuleV1FalsePositive.st new file mode 100644 index 00000000..42577e0f --- /dev/null +++ b/repository/BaselineOfGrease.package/ManifestBaselineOfGrease.class/class/ruleLongMethodsRuleV1FalsePositive.st @@ -0,0 +1,3 @@ +code-critics +ruleLongMethodsRuleV1FalsePositive + ^ #(#(#(#RGPackageDefinition #(#BaselineOfGrease)) #'2023-01-21T15:31:09.186258+01:00') ) \ No newline at end of file diff --git a/repository/BaselineOfGrease.package/ManifestBaselineOfGrease.class/properties.json b/repository/BaselineOfGrease.package/ManifestBaselineOfGrease.class/properties.json new file mode 100644 index 00000000..dbeb27b2 --- /dev/null +++ b/repository/BaselineOfGrease.package/ManifestBaselineOfGrease.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "PackageManifest", + "category" : "BaselineOfGrease-Manifest", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "ManifestBaselineOfGrease", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/BaselineOfGrease.package/monticello.meta/categories.st b/repository/BaselineOfGrease.package/monticello.meta/categories.st index aad806f8..4a7c5b2b 100644 --- a/repository/BaselineOfGrease.package/monticello.meta/categories.st +++ b/repository/BaselineOfGrease.package/monticello.meta/categories.st @@ -1 +1,2 @@ SystemOrganization addCategory: #BaselineOfGrease! +SystemOrganization addCategory: #'BaselineOfGrease-Manifest'! From 3e2101200cd766d90d33047dc271e83090d94fc5 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sat, 21 Jan 2023 15:58:20 +0100 Subject: [PATCH 086/254] update github action CI spec --- .github/workflows/ci.yml | 29 ++--------------------------- 1 file changed, 2 insertions(+), 27 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eabab463..e5d861b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,37 +18,12 @@ jobs: continue-on-error: ${{ matrix.experimental }} name: ${{ matrix.smalltalk }} steps: - - name: Get current date - id: date - run: echo "::set-output name=date::$(date +'%Y-%m-%dT%H:%M:%S')" - - name: Log date - run: echo "${{ steps.date.outputs.date }}" - - name: Set default run status - run: echo "::set-output name=last_run_status::default" > last_run_status - - name: Restore last run status - id: last_run - uses: actions/cache@v2 - with: - path: | - last_run_status - key: ${{ github.run_id }}-${{ matrix.smalltalk }}-${{ steps.date.outputs.date }} - restore-keys: | - ${{ github.run_id }}-${{ matrix.smalltalk }}- - - name: Set last run status - id: last_run_status - run: cat last_run_status - - uses: actions/checkout@v2 - with: - ref: ${{ github.event.workflow_dispatch.ref }} + - uses: actions/checkout@v3 - uses: hpi-swa/setup-smalltalkCI@v1 with: smalltalk-image: ${{ matrix.smalltalk }} - name: Run tests id: test_run - if: steps.last_run_status.outputs.last_run_status != 'success' run: smalltalkci -s ${{ matrix.smalltalk }} shell: bash - timeout-minutes: 20 - - name: Save run status - if: steps.last_run_status.outputs.last_run_status != 'success' - run: echo "::set-output name=last_run_status::${{ steps.test_run.outcome }}" > last_run_status \ No newline at end of file + timeout-minutes: 20 \ No newline at end of file From 20fa768bd8e2b0de2bba888da1cc16b4dc01f256 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sat, 21 Jan 2023 16:05:47 +0100 Subject: [PATCH 087/254] Remove Manifest file again. Causes load issue on Squeak? --- .../ManifestBaselineOfGrease.class/README.md | 1 - .../class/ruleLongMethodsRuleV1FalsePositive.st | 3 --- .../ManifestBaselineOfGrease.class/properties.json | 11 ----------- 3 files changed, 15 deletions(-) delete mode 100644 repository/BaselineOfGrease.package/ManifestBaselineOfGrease.class/README.md delete mode 100644 repository/BaselineOfGrease.package/ManifestBaselineOfGrease.class/class/ruleLongMethodsRuleV1FalsePositive.st delete mode 100644 repository/BaselineOfGrease.package/ManifestBaselineOfGrease.class/properties.json diff --git a/repository/BaselineOfGrease.package/ManifestBaselineOfGrease.class/README.md b/repository/BaselineOfGrease.package/ManifestBaselineOfGrease.class/README.md deleted file mode 100644 index 69df3dee..00000000 --- a/repository/BaselineOfGrease.package/ManifestBaselineOfGrease.class/README.md +++ /dev/null @@ -1 +0,0 @@ -Please describe the package using the class comment of the included manifest class. The manifest class also includes other additional metadata for the package. These meta data are used by other tools such as the SmalllintManifestChecker and the critics Browser \ No newline at end of file diff --git a/repository/BaselineOfGrease.package/ManifestBaselineOfGrease.class/class/ruleLongMethodsRuleV1FalsePositive.st b/repository/BaselineOfGrease.package/ManifestBaselineOfGrease.class/class/ruleLongMethodsRuleV1FalsePositive.st deleted file mode 100644 index 42577e0f..00000000 --- a/repository/BaselineOfGrease.package/ManifestBaselineOfGrease.class/class/ruleLongMethodsRuleV1FalsePositive.st +++ /dev/null @@ -1,3 +0,0 @@ -code-critics -ruleLongMethodsRuleV1FalsePositive - ^ #(#(#(#RGPackageDefinition #(#BaselineOfGrease)) #'2023-01-21T15:31:09.186258+01:00') ) \ No newline at end of file diff --git a/repository/BaselineOfGrease.package/ManifestBaselineOfGrease.class/properties.json b/repository/BaselineOfGrease.package/ManifestBaselineOfGrease.class/properties.json deleted file mode 100644 index dbeb27b2..00000000 --- a/repository/BaselineOfGrease.package/ManifestBaselineOfGrease.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "PackageManifest", - "category" : "BaselineOfGrease-Manifest", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "ManifestBaselineOfGrease", - "type" : "normal" -} \ No newline at end of file From 40af9b6b3013b8e67f651715df94ebfb5847a491 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 22 Jan 2023 17:53:41 +0100 Subject: [PATCH 088/254] added coveralls --- .github/workflows/ci.yml | 19 +++++++++++++++++-- .smalltalk.ston | 12 +++++++++++- 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e5d861b8..0be3cfec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ name: smalltalkCI on: [push, pull_request] jobs: - build: + test: runs-on: ubuntu-18.04 strategy: fail-fast: false @@ -26,4 +26,19 @@ jobs: id: test_run run: smalltalkci -s ${{ matrix.smalltalk }} shell: bash - timeout-minutes: 20 \ No newline at end of file + timeout-minutes: 20 + - name: Coveralls GitHub Action + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + flag-name: ${{matrix.smalltalk}} + parallel: true + finish: + needs: test + runs-on: ubuntu-latest + steps: + - name: Coveralls Finished + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.github_token }} + parallel-finished: true \ No newline at end of file diff --git a/.smalltalk.ston b/.smalltalk.ston index 9edb3f39..8b58de00 100644 --- a/.smalltalk.ston +++ b/.smalltalk.ston @@ -20,5 +20,15 @@ SmalltalkCISpec { #load : [ 'Tests' ], #platforms : [ #gemstone ] } - ] + ], + #testing : { + #defaultTimeout : 30, + #include : { + #classes : [ #SentButNotImplementedTest , #UndefinedSymbolsTest ] + }, + #coverage : { + #packages : [ 'Grease*' ], + #format: #coveralls + } + } } From 20488d28b7b6767aa0f663761dbdb8ee5be24e6d Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 22 Jan 2023 17:56:28 +0100 Subject: [PATCH 089/254] add GITHUB-TOKEN for smalltalkCI --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0be3cfec..0838c59d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,8 +23,9 @@ jobs: with: smalltalk-image: ${{ matrix.smalltalk }} - name: Run tests - id: test_run run: smalltalkci -s ${{ matrix.smalltalk }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} shell: bash timeout-minutes: 20 - name: Coveralls GitHub Action From 5d8ca6362f1ceb7ae01044d960107678436cfa34 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 22 Jan 2023 20:32:53 +0100 Subject: [PATCH 090/254] remove GRPrinter>>packageNamesUnderTest --- .../GRPrinterTest.class/class/packageNamesUnderTest.st | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 repository/Grease-Tests-Core.package/GRPrinterTest.class/class/packageNamesUnderTest.st diff --git a/repository/Grease-Tests-Core.package/GRPrinterTest.class/class/packageNamesUnderTest.st b/repository/Grease-Tests-Core.package/GRPrinterTest.class/class/packageNamesUnderTest.st deleted file mode 100644 index ffc11f34..00000000 --- a/repository/Grease-Tests-Core.package/GRPrinterTest.class/class/packageNamesUnderTest.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -packageNamesUnderTest - ^ #('Grease-Core') \ No newline at end of file From 147ff34bdce4d8e4c3c8158fcae6f739d31970d7 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 22 Jan 2023 20:41:18 +0100 Subject: [PATCH 091/254] only test categories --- .smalltalk.ston | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.smalltalk.ston b/.smalltalk.ston index 8b58de00..5b38147e 100644 --- a/.smalltalk.ston +++ b/.smalltalk.ston @@ -27,7 +27,7 @@ SmalltalkCISpec { #classes : [ #SentButNotImplementedTest , #UndefinedSymbolsTest ] }, #coverage : { - #packages : [ 'Grease*' ], + #categories: [ 'Grease*' ], #format: #coveralls } } From 1615f97c11731d2ac1ce59e00540727c274c5dfe Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 22 Jan 2023 21:35:39 +0100 Subject: [PATCH 092/254] use smalltalkCI branch with patch --- .github/workflows/ci.yml | 2 ++ .smalltalk.ston | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0838c59d..2866d737 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,6 +24,8 @@ jobs: smalltalk-image: ${{ matrix.smalltalk }} - name: Run tests run: smalltalkci -s ${{ matrix.smalltalk }} + with: + smalltalkCI-source: 'jbrichau/smalltalkCI' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} shell: bash diff --git a/.smalltalk.ston b/.smalltalk.ston index 5b38147e..2a5f20ac 100644 --- a/.smalltalk.ston +++ b/.smalltalk.ston @@ -27,7 +27,7 @@ SmalltalkCISpec { #classes : [ #SentButNotImplementedTest , #UndefinedSymbolsTest ] }, #coverage : { - #categories: [ 'Grease*' ], + #packages: [ 'Grease*' ], #format: #coveralls } } From ade5ebce2accd5e54cc7e30f9a9a794f987f87d0 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 22 Jan 2023 21:36:49 +0100 Subject: [PATCH 093/254] correct yml --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2866d737..90fd2097 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,10 +22,9 @@ jobs: - uses: hpi-swa/setup-smalltalkCI@v1 with: smalltalk-image: ${{ matrix.smalltalk }} + smalltalkCI-source: 'jbrichau/smalltalkCI' - name: Run tests run: smalltalkci -s ${{ matrix.smalltalk }} - with: - smalltalkCI-source: 'jbrichau/smalltalkCI' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} shell: bash From 86bdda4bc95838134b90716c3d2bf317fb549df8 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 22 Jan 2023 22:09:24 +0100 Subject: [PATCH 094/254] Prevent installing code coverage wrappers where this breaks the tests --- .../GRPharoPlatform.class/instance/stackDepth.st | 2 +- .../GRPharoPlatform.class/instance/thisContext.st | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/stackDepth.st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/stackDepth.st index d7e6feab..7b994393 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/stackDepth.st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/stackDepth.st @@ -1,6 +1,6 @@ exceptions stackDepth - + | depth current | depth := 0. current := thisContext. diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/thisContext.st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/thisContext.st index c936ecad..97018fc5 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/thisContext.st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/thisContext.st @@ -1,4 +1,4 @@ processes thisContext - + ^ thisContext sender \ No newline at end of file From 7e1b559e636f505e438797caafe8c33e7ef83c5a Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 22 Jan 2023 22:15:15 +0100 Subject: [PATCH 095/254] platform method is used in tests where wrapping for code coverage tracing breaks the test --- .../GRPlatformTest.class/instance/platform.st | 1 + 1 file changed, 1 insertion(+) diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/platform.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/platform.st index fcdd4be5..63cfbfa2 100644 --- a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/platform.st +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/platform.st @@ -1,3 +1,4 @@ accessing platform + ^ GRPlatform current \ No newline at end of file From 0fea05195cac7a5bd1f14ff3483f0a47838e0c29 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 22 Jan 2023 22:36:52 +0100 Subject: [PATCH 096/254] Fix wrappers --- .../GRPharoPlatform.class/instance/stackDepth.st | 1 - .../GRPlatformTest.class/instance/returnSender.st | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/stackDepth.st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/stackDepth.st index 7b994393..4a631d17 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/stackDepth.st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/stackDepth.st @@ -1,6 +1,5 @@ exceptions stackDepth - | depth current | depth := 0. current := thisContext. diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/returnSender.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/returnSender.st index 1b25f567..97bd2a26 100644 --- a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/returnSender.st +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/returnSender.st @@ -1,3 +1,4 @@ private returnSender + ^ GRPlatform current thisContext sender \ No newline at end of file From 9511f4a0e730a9a71a9e6235f2cc1ee3f3b8510d Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 22 Jan 2023 22:38:33 +0100 Subject: [PATCH 097/254] fix wrappers --- .../GRPharoPlatform.class/instance/stackDepth.st | 1 + 1 file changed, 1 insertion(+) diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/stackDepth.st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/stackDepth.st index 4a631d17..7b994393 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/stackDepth.st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/stackDepth.st @@ -1,5 +1,6 @@ exceptions stackDepth + | depth current | depth := 0. current := thisContext. From 3561050ed893fb21477d57e240cf1b2d88fe3b4b Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 22 Jan 2023 23:05:12 +0100 Subject: [PATCH 098/254] try... --- .smalltalk.ston | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.smalltalk.ston b/.smalltalk.ston index 2a5f20ac..e62640ac 100644 --- a/.smalltalk.ston +++ b/.smalltalk.ston @@ -28,7 +28,7 @@ SmalltalkCISpec { }, #coverage : { #packages: [ 'Grease*' ], - #format: #coveralls + #format: #lcov } } } From 6f40abee138560d789d110065764f75a5ea5c49c Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 23 Jan 2023 21:53:06 +0100 Subject: [PATCH 099/254] switch to codecov --- .github/workflows/ci.yml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 90fd2097..681fb9ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,18 +29,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} shell: bash timeout-minutes: 20 - - name: Coveralls GitHub Action - uses: coverallsapp/github-action@master + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v3 with: - github-token: ${{ secrets.GITHUB_TOKEN }} - flag-name: ${{matrix.smalltalk}} - parallel: true - finish: - needs: test - runs-on: ubuntu-latest - steps: - - name: Coveralls Finished - uses: coverallsapp/github-action@master - with: - github-token: ${{ secrets.github_token }} - parallel-finished: true \ No newline at end of file + name: ${{ matrix.smalltalk }} From f20aec611f0c5eb63632940fc5d87b6848e0cb96 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 23 Jan 2023 22:03:29 +0100 Subject: [PATCH 100/254] add codecov badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bed04f04..c4fa80b6 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Grease is widely adopted. Implementations exist already for all platforms that s ## Platform compatibility -The latest Grease version is supported on the Pharo and GemStone/S platforms and versions tested in the SmalltalkCI workflow in Github Actions: [![smalltalkCI](https://github.com/SeasideSt/Grease/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/SeasideSt/Grease/actions/workflows/ci.yml) +The latest Grease version is supported on the Pharo and GemStone/S platforms and versions tested in the SmalltalkCI workflow in Github Actions: [![smalltalkCI](https://github.com/SeasideSt/Grease/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/SeasideSt/Grease/actions/workflows/ci.yml) [![codecov](https://codecov.io/gh/SeasideSt/Grease/branch/master/graph/badge.svg?token=75NIYAHAGI)](https://codecov.io/gh/SeasideSt/Grease) ## Installation From 270f670542c130b301cca34dd277d708c63a61b2 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 23 Jan 2023 22:13:37 +0100 Subject: [PATCH 101/254] add ignore coverage to other packages as well --- .../GRPharoPlatform.class/instance/stackDepth.st | 2 +- .../GRPharoPlatform.class/instance/thisContext.st | 2 +- .../GRPharoPlatform.class/instance/stackDepth.st | 2 +- .../GRPharoPlatform.class/instance/thisContext.st | 2 +- .../GRPharoPlatform.class/instance/stackDepth.st | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/repository/Grease-Pharo60-Core.package/GRPharoPlatform.class/instance/stackDepth.st b/repository/Grease-Pharo60-Core.package/GRPharoPlatform.class/instance/stackDepth.st index d7e6feab..7b994393 100644 --- a/repository/Grease-Pharo60-Core.package/GRPharoPlatform.class/instance/stackDepth.st +++ b/repository/Grease-Pharo60-Core.package/GRPharoPlatform.class/instance/stackDepth.st @@ -1,6 +1,6 @@ exceptions stackDepth - + | depth current | depth := 0. current := thisContext. diff --git a/repository/Grease-Pharo60-Core.package/GRPharoPlatform.class/instance/thisContext.st b/repository/Grease-Pharo60-Core.package/GRPharoPlatform.class/instance/thisContext.st index c936ecad..97018fc5 100644 --- a/repository/Grease-Pharo60-Core.package/GRPharoPlatform.class/instance/thisContext.st +++ b/repository/Grease-Pharo60-Core.package/GRPharoPlatform.class/instance/thisContext.st @@ -1,4 +1,4 @@ processes thisContext - + ^ thisContext sender \ No newline at end of file diff --git a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/stackDepth.st b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/stackDepth.st index d7e6feab..7b994393 100644 --- a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/stackDepth.st +++ b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/stackDepth.st @@ -1,6 +1,6 @@ exceptions stackDepth - + | depth current | depth := 0. current := thisContext. diff --git a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/thisContext.st b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/thisContext.st index c936ecad..97018fc5 100644 --- a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/thisContext.st +++ b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/thisContext.st @@ -1,4 +1,4 @@ processes thisContext - + ^ thisContext sender \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/stackDepth.st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/stackDepth.st index d7e6feab..7b994393 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/stackDepth.st +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/stackDepth.st @@ -1,6 +1,6 @@ exceptions stackDepth - + | depth current | depth := 0. current := thisContext. From f28482f6562e78f73eb22c31bd6418e759e34d99 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 23 Jan 2023 22:15:14 +0100 Subject: [PATCH 102/254] also Squeak --- .../GRPharoPlatform.class/instance/stackDepth.st | 2 +- .../GRPharoPlatform.class/instance/thisContext.st | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/stackDepth.st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/stackDepth.st index d7e6feab..7b994393 100644 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/stackDepth.st +++ b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/stackDepth.st @@ -1,6 +1,6 @@ exceptions stackDepth - + | depth current | depth := 0. current := thisContext. diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/thisContext.st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/thisContext.st index c936ecad..97018fc5 100644 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/thisContext.st +++ b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/thisContext.st @@ -1,4 +1,4 @@ processes thisContext - + ^ thisContext sender \ No newline at end of file From 191126a2bc34a6f406a5952d97d8b1ebb209e9df Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 23 Jan 2023 22:28:26 +0100 Subject: [PATCH 103/254] more missing --- .../GRPharoPlatform.class/instance/thisContext.st | 2 +- .../GRPharoPlatform.class/instance/stackDepth.st | 2 +- .../GRSqueakPlatform.class/instance/thisContext.st | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/thisContext.st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/thisContext.st index c936ecad..97018fc5 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/thisContext.st +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/thisContext.st @@ -1,4 +1,4 @@ processes thisContext - + ^ thisContext sender \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/stackDepth.st b/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/stackDepth.st index d7e6feab..7b994393 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/stackDepth.st +++ b/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/stackDepth.st @@ -1,6 +1,6 @@ exceptions stackDepth - + | depth current | depth := 0. current := thisContext. diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/thisContext.st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/thisContext.st index ed9ce368..360fed0c 100644 --- a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/thisContext.st +++ b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/thisContext.st @@ -1,4 +1,4 @@ processes thisContext - + ^ thisContext sender From 45332f2e94068e0ac8108ea52f514ace1584b609 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 5 Feb 2023 09:21:00 +0100 Subject: [PATCH 104/254] add Squeak 6 to build (experimental) --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 681fb9ec..808235af 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: include: - smalltalk: Pharo64-11 experimental: true - - smalltalk: Squeak64-trunk + - smalltalk: Squeak64-6.0 experimental: true continue-on-error: ${{ matrix.experimental }} name: ${{ matrix.smalltalk }} From b9295e5e9117666a4beae68d4db80fcaf145141f Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 5 Feb 2023 09:48:32 +0100 Subject: [PATCH 105/254] drop Squeak 5.2 and Squeak 5.1 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 808235af..b7d05589 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - smalltalk: [ Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.6.3, GemStone64-3.5.7, GemStone64-3.4.5, GemStone64-3.3.9, GemStone64-3.2.17, GemStone64-3.1.0.6, Squeak64-5.3, Squeak64-5.2, Squeak64-5.1 ] + smalltalk: [ Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.6.3, GemStone64-3.5.7, GemStone64-3.4.5, GemStone64-3.3.9, GemStone64-3.2.17, GemStone64-3.1.0.6, Squeak64-5.3 ] experimental: [ false ] include: - smalltalk: Pharo64-11 From 09c5d67d5cff0085915dc305e43e1e72a16ee18c Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 5 Feb 2023 12:01:18 +0100 Subject: [PATCH 106/254] deprecate `beginsWithSubCollection:` and `endsWithSubCollection:` in favor of the new `greaseBeginsWith:` and `greaseEndsWith:` --- .../instance/beginsWithSubCollection..st | 4 ++++ .../instance/endsWithSubCollection..st | 4 ++++ .../instance/greaseBeginsWith..st | 4 ++++ .../instance/greaseEndsWith..st | 4 ++++ .../instance/initialize.st | 4 ++-- .../instance/testGreaseBeginsWith.st | 9 +++++++++ .../instance/testGreaseEndsWith.st | 9 +++++++++ 7 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st create mode 100644 repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st create mode 100644 repository/Grease-Tests-Core.package/GRAbstractSequenceableCollectionTest.class/instance/testGreaseBeginsWith.st create mode 100644 repository/Grease-Tests-Core.package/GRAbstractSequenceableCollectionTest.class/instance/testGreaseEndsWith.st diff --git a/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st b/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st index 2cd270c8..738a82b7 100644 --- a/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st +++ b/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st @@ -1,4 +1,8 @@ *Grease-Pharo100-Core beginsWithSubCollection: aSequenceableCollection "Some platforms implement #beginsWith: to answer true for an empty argument." + self + greaseDeprecatedApi: 'SequenceableCollection>>#beginsWithSubCollection:' + details: 'Use SequenceableCollection>>#greaseBegins:'. + aSequenceableCollection isEmpty ifTrue: [ ^ false ]. ^ self beginsWith: aSequenceableCollection \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st b/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st index d3b8f6eb..43af03a2 100644 --- a/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st +++ b/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st @@ -1,4 +1,8 @@ *Grease-Pharo100-Core endsWithSubCollection: aSequenceableCollection "Some platforms implement #endsWith: to answer true for an empty argument." + self + greaseDeprecatedApi: 'SequenceableCollection>>#endsWithSubCollection:' + details: 'Use SequenceableCollection>>#greaseEndsWith:'. + aSequenceableCollection isEmpty ifTrue: [ ^ false ]. ^ self endsWith: aSequenceableCollection \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st b/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st new file mode 100644 index 00000000..b2bfda6b --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st @@ -0,0 +1,4 @@ +*Grease-Pharo100-Core +greaseBeginsWith: aSequenceableCollection + aSequenceableCollection isEmpty ifTrue: [ ^ true ]. + ^ self beginsWith: aSequenceableCollection \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st b/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st new file mode 100644 index 00000000..9778ba5f --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st @@ -0,0 +1,4 @@ +*Grease-Pharo100-Core +greaseEndsWith: aSequenceableCollection + aSequenceableCollection isEmpty ifTrue: [ ^ true ]. + ^ self endsWith: aSequenceableCollection \ No newline at end of file diff --git a/repository/Grease-Pharo90-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st b/repository/Grease-Pharo90-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st index 643668f1..776d58af 100644 --- a/repository/Grease-Pharo90-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st +++ b/repository/Grease-Pharo90-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st @@ -3,6 +3,6 @@ initialize super initialize. self rewriteRule replace: '`@collection beginsWith: `@subCollection' - with: '`@collection beginsWithSubCollection: `@subCollection'; + with: '`@collection greaseBeginsWith: `@subCollection'; replace: '`@collection endsWith: `@subCollection' - with: '`@collection endsWithSubCollection: `@subCollection' \ No newline at end of file + with: '`@collection greaseEndsWith: `@subCollection' \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRAbstractSequenceableCollectionTest.class/instance/testGreaseBeginsWith.st b/repository/Grease-Tests-Core.package/GRAbstractSequenceableCollectionTest.class/instance/testGreaseBeginsWith.st new file mode 100644 index 00000000..69cd8b12 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRAbstractSequenceableCollectionTest.class/instance/testGreaseBeginsWith.st @@ -0,0 +1,9 @@ +tests +testGreaseBeginsWith + | collection | + collection := self arbitraryCollection. + self assert: (collection greaseBeginsWith: (collection copyWithout: collection last)). + self assert: (collection greaseBeginsWith: collection). + self deny: (collection greaseBeginsWith: (collection copyWith: collection first)). + self assert: (collection greaseBeginsWith: self emptyCollection). + self deny: (self emptyCollection greaseBeginsWith: collection) \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRAbstractSequenceableCollectionTest.class/instance/testGreaseEndsWith.st b/repository/Grease-Tests-Core.package/GRAbstractSequenceableCollectionTest.class/instance/testGreaseEndsWith.st new file mode 100644 index 00000000..5bf33d8b --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRAbstractSequenceableCollectionTest.class/instance/testGreaseEndsWith.st @@ -0,0 +1,9 @@ +tests +testGreaseEndsWith + | collection | + collection := self arbitraryCollection. + self assert: (collection greaseEndsWith: (collection copyWithout: collection first)). + self assert: (collection greaseEndsWith: collection). + self deny: (collection greaseEndsWith: (collection copyWith: collection first)). + self assert: (collection greaseEndsWith: self emptyCollection). + self deny: (self emptyCollection greaseEndsWith: collection) \ No newline at end of file From 5a570b874d0dfcb334cfe4cc8792ec1c39236df4 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 5 Feb 2023 12:09:49 +0100 Subject: [PATCH 107/254] Fix testNotPortableCollectionsRule --- .../instance/testNotPortableCollectionsRule.st | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testNotPortableCollectionsRule.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testNotPortableCollectionsRule.st index 473591ef..a0977f60 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testNotPortableCollectionsRule.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testNotPortableCollectionsRule.st @@ -9,5 +9,5 @@ testNotPortableCollectionsRule self runTransformation: GRNotPortableCollectionsRule changes: #( - 'beginsWith1 ''abc'' beginsWithSubCollection: ''a''' - 'endsWith1 ''abc'' endsWithSubCollection: ''a''') \ No newline at end of file + 'beginsWith1 ''abc'' greaseBeginsWith: ''a''' + 'endsWith1 ''abc'' greaseEndsWith: ''a''') \ No newline at end of file From 8ff1ded6989166bf260bb72fe9b0cd5c9e7b5d00 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 5 Feb 2023 12:27:24 +0100 Subject: [PATCH 108/254] add greaseBeginsWith: and greaseEndsWith: to Pharo 7 and 9 as well --- .../instance/greaseBeginsWith..st | 5 +++++ .../instance/greaseEndsWith..st | 5 +++++ .../instance/greaseBeginsWith..st | 5 +++++ .../instance/greaseEndsWith..st | 5 +++++ .../instance/greaseBeginsWith..st | 5 +++++ .../instance/greaseEndsWith..st | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 repository/Grease-GemStone-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st create mode 100644 repository/Grease-GemStone-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st create mode 100644 repository/Grease-Pharo70-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st create mode 100644 repository/Grease-Pharo70-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st create mode 100644 repository/Grease-Pharo90-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st create mode 100644 repository/Grease-Pharo90-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st diff --git a/repository/Grease-GemStone-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st b/repository/Grease-GemStone-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st new file mode 100644 index 00000000..d9528b3d --- /dev/null +++ b/repository/Grease-GemStone-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st @@ -0,0 +1,5 @@ +*grease-gemstone-core +greaseBeginsWith: aSequenceableCollection + + aSequenceableCollection isEmpty ifTrue: [ ^ true ]. + ^ self beginsWith: aSequenceableCollection \ No newline at end of file diff --git a/repository/Grease-GemStone-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st b/repository/Grease-GemStone-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st new file mode 100644 index 00000000..242c2dd4 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st @@ -0,0 +1,5 @@ +*grease-gemstone-core +greaseEndsWith: aSequenceableCollection + + aSequenceableCollection isEmpty ifTrue: [ ^ true ]. + ^ self endsWith: aSequenceableCollection \ No newline at end of file diff --git a/repository/Grease-Pharo70-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st b/repository/Grease-Pharo70-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st new file mode 100644 index 00000000..01880fd1 --- /dev/null +++ b/repository/Grease-Pharo70-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st @@ -0,0 +1,5 @@ +*Grease-Pharo70-Core +greaseBeginsWith: aSequenceableCollection + + aSequenceableCollection isEmpty ifTrue: [ ^ true ]. + ^ self beginsWith: aSequenceableCollection \ No newline at end of file diff --git a/repository/Grease-Pharo70-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st b/repository/Grease-Pharo70-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st new file mode 100644 index 00000000..a2483ea4 --- /dev/null +++ b/repository/Grease-Pharo70-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st @@ -0,0 +1,5 @@ +*Grease-Pharo70-Core +greaseEndsWith: aSequenceableCollection + + aSequenceableCollection isEmpty ifTrue: [ ^ true ]. + ^ self endsWith: aSequenceableCollection \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st b/repository/Grease-Pharo90-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st new file mode 100644 index 00000000..ccc6dad0 --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st @@ -0,0 +1,5 @@ +*Grease-Pharo90-Core +greaseBeginsWith: aSequenceableCollection + + aSequenceableCollection isEmpty ifTrue: [ ^ true ]. + ^ self beginsWith: aSequenceableCollection \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st b/repository/Grease-Pharo90-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st new file mode 100644 index 00000000..49a39d31 --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st @@ -0,0 +1,5 @@ +*Grease-Pharo90-Core +greaseEndsWith: aSequenceableCollection + + aSequenceableCollection isEmpty ifTrue: [ ^ true ]. + ^ self endsWith: aSequenceableCollection \ No newline at end of file From 7584246d620adaf54121b4ac108917951e1396fd Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 5 Feb 2023 12:36:43 +0100 Subject: [PATCH 109/254] add greaseBeginsWith: and greaseEndsWith: to Squeak --- .../instance/greaseBeginsWith..st | 5 +++++ .../instance/greaseEndsWith..st | 5 +++++ .../instance/greaseBeginsWith..st | 5 +++++ .../instance/greaseEndsWith..st | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st create mode 100644 repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st create mode 100644 repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st create mode 100644 repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st diff --git a/repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st b/repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st new file mode 100644 index 00000000..f23ab6a2 --- /dev/null +++ b/repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st @@ -0,0 +1,5 @@ +*grease-squeak5-core +greaseBeginsWith: aSequenceableCollection + + aSequenceableCollection isEmpty ifTrue: [ ^ true ]. + ^ self beginsWith: aSequenceableCollection \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st b/repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st new file mode 100644 index 00000000..a66b574e --- /dev/null +++ b/repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st @@ -0,0 +1,5 @@ +*grease-squeak5-core +greaseEndsWith: aSequenceableCollection + + aSequenceableCollection isEmpty ifTrue: [ ^ true ]. + ^ self endsWith: aSequenceableCollection \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st b/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st new file mode 100644 index 00000000..428ad0ae --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st @@ -0,0 +1,5 @@ +*grease-squeak6-core +greaseBeginsWith: aSequenceableCollection + + aSequenceableCollection isEmpty ifTrue: [ ^ true ]. + ^ self beginsWith: aSequenceableCollection \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st b/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st new file mode 100644 index 00000000..f1b16048 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st @@ -0,0 +1,5 @@ +*grease-squeak6-core +greaseEndsWith: aSequenceableCollection + + aSequenceableCollection isEmpty ifTrue: [ ^ true ]. + ^ self endsWith: aSequenceableCollection \ No newline at end of file From a17f25082abe761ec3e74900fd909bcb3acf426a Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 5 Feb 2023 12:39:41 +0100 Subject: [PATCH 110/254] code style --- .../instance/greaseBeginsWith..st | 1 + .../SequenceableCollection.extension/instance/greaseEndsWith..st | 1 + 2 files changed, 2 insertions(+) diff --git a/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st b/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st index b2bfda6b..572bc2ce 100644 --- a/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st +++ b/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st @@ -1,4 +1,5 @@ *Grease-Pharo100-Core greaseBeginsWith: aSequenceableCollection + aSequenceableCollection isEmpty ifTrue: [ ^ true ]. ^ self beginsWith: aSequenceableCollection \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st b/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st index 9778ba5f..efbbc0d0 100644 --- a/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st +++ b/repository/Grease-Pharo100-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st @@ -1,4 +1,5 @@ *Grease-Pharo100-Core greaseEndsWith: aSequenceableCollection + aSequenceableCollection isEmpty ifTrue: [ ^ true ]. ^ self endsWith: aSequenceableCollection \ No newline at end of file From 3688183c5d3325ffd9b58072f930fb171dd03f90 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 5 Feb 2023 13:06:19 +0100 Subject: [PATCH 111/254] Fix slime rule in Pharo 7 and 9 --- .../GRNotPortableCollectionsRule.class/instance/initialize.st | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st index 643668f1..776d58af 100644 --- a/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st +++ b/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st @@ -3,6 +3,6 @@ initialize super initialize. self rewriteRule replace: '`@collection beginsWith: `@subCollection' - with: '`@collection beginsWithSubCollection: `@subCollection'; + with: '`@collection greaseBeginsWith: `@subCollection'; replace: '`@collection endsWith: `@subCollection' - with: '`@collection endsWithSubCollection: `@subCollection' \ No newline at end of file + with: '`@collection greaseEndsWith: `@subCollection' \ No newline at end of file From e6ba7bd409d8d0040e90e433fde73deae8cc6e88 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 5 Feb 2023 13:10:40 +0100 Subject: [PATCH 112/254] adapt slime rule in Squeak as well --- .../GRNotPortableCollectionsRule.class/instance/initialize.st | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repository/Grease-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st b/repository/Grease-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st index 643668f1..776d58af 100644 --- a/repository/Grease-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st +++ b/repository/Grease-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st @@ -3,6 +3,6 @@ initialize super initialize. self rewriteRule replace: '`@collection beginsWith: `@subCollection' - with: '`@collection beginsWithSubCollection: `@subCollection'; + with: '`@collection greaseBeginsWith: `@subCollection'; replace: '`@collection endsWith: `@subCollection' - with: '`@collection endsWithSubCollection: `@subCollection' \ No newline at end of file + with: '`@collection greaseEndsWith: `@subCollection' \ No newline at end of file From 955fa54f95a08f610645a5911837f2dac42ea5ea Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 5 Feb 2023 13:28:13 +0100 Subject: [PATCH 113/254] added deprecation message in Pharo 9 and Squeak 6 --- .../instance/beginsWithSubCollection..st | 4 ++++ .../instance/endsWithSubCollection..st | 4 ++++ .../instance/beginsWithSubCollection..st | 4 ++++ .../instance/endsWithSubCollection..st | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/repository/Grease-Pharo90-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st b/repository/Grease-Pharo90-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st index 7d00507d..290ebb62 100644 --- a/repository/Grease-Pharo90-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st +++ b/repository/Grease-Pharo90-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st @@ -1,4 +1,8 @@ *Grease-Pharo90-Core beginsWithSubCollection: aSequenceableCollection + + self + greaseDeprecatedApi: 'SequenceableCollection>>#beginsWithSubCollection:' + details: 'Use SequenceableCollection>>#greaseBeginsWith:'. "Some platforms implement #beginsWith: to answer true for an empty argument." ^ self beginsWith: aSequenceableCollection \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st b/repository/Grease-Pharo90-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st index 1fe4f069..72070fe2 100644 --- a/repository/Grease-Pharo90-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st +++ b/repository/Grease-Pharo90-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st @@ -1,4 +1,8 @@ *Grease-Pharo90-Core endsWithSubCollection: aSequenceableCollection + + self + greaseDeprecatedApi: 'SequenceableCollection>>#endsWithSubCollection:' + details: 'Use SequenceableCollection>>#greaseEndsWith:'. "Some platforms implement #endsWith: to answer true for an empty argument." ^ self endsWith: aSequenceableCollection \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st b/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st index 372efe84..be930027 100644 --- a/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st +++ b/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st @@ -1,4 +1,8 @@ *grease-squeak6-core beginsWithSubCollection: aSequenceableCollection + self + greaseDeprecatedApi: 'SequenceableCollection>>#beginsWithSubCollection:' + details: 'Use SequenceableCollection>>#greaseBeginsWith:'. "Some platforms implement #beginsWith: to answer true for an empty argument." + aSequenceableCollection isEmpty ifTrue: [ ^ false ]. ^ self beginsWith: aSequenceableCollection \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st b/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st index efd43298..7eb90e86 100644 --- a/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st +++ b/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st @@ -1,4 +1,8 @@ *grease-squeak6-core endsWithSubCollection: aSequenceableCollection + self + greaseDeprecatedApi: 'SequenceableCollection>>#endsWithSubCollection:' + details: 'Use SequenceableCollection>>#greaseEndsWith:'. "Some platforms implement #endsWith: to answer true for an empty argument." + aSequenceableCollection isEmpty ifTrue: [ ^ false ]. ^ self endsWith: aSequenceableCollection \ No newline at end of file From 7d0ca70fd09795158a8b268208f2a4dde5d8f5ed Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 26 Mar 2023 13:06:56 +0200 Subject: [PATCH 114/254] switch to gsdevkit_stones SmalltalkCI --- .github/workflows/ci.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b7d05589..d085d1a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,22 +4,20 @@ on: [push, pull_request] jobs: test: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 strategy: fail-fast: false matrix: - smalltalk: [ Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.6.3, GemStone64-3.5.7, GemStone64-3.4.5, GemStone64-3.3.9, GemStone64-3.2.17, GemStone64-3.1.0.6, Squeak64-5.3 ] + smalltalk: [ Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.6.5, GemStone64-3.5.7, Squeak64-5.3 ] experimental: [ false ] include: - - smalltalk: Pharo64-11 - experimental: true - smalltalk: Squeak64-6.0 experimental: true continue-on-error: ${{ matrix.experimental }} name: ${{ matrix.smalltalk }} steps: - uses: actions/checkout@v3 - - uses: hpi-swa/setup-smalltalkCI@v1 + - uses: dalehenrich/setup-smalltalkCI@solo with: smalltalk-image: ${{ matrix.smalltalk }} smalltalkCI-source: 'jbrichau/smalltalkCI' From 659948dfd905a82c38ba9b6065357930262093a9 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 26 Mar 2023 13:19:50 +0200 Subject: [PATCH 115/254] remove use of own fork of smalltalkCI --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d085d1a3..3250ee60 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,6 @@ jobs: - uses: dalehenrich/setup-smalltalkCI@solo with: smalltalk-image: ${{ matrix.smalltalk }} - smalltalkCI-source: 'jbrichau/smalltalkCI' - name: Run tests run: smalltalkci -s ${{ matrix.smalltalk }} env: From 512aaeb4a0e881f78239d921905591b2e2a438de Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 26 Mar 2023 16:27:10 +0200 Subject: [PATCH 116/254] Debugger opening in Pharo: fix for use in Pharo 11 and remove old code that is probably not relevant anymore --- .../instance/openDebuggerOn..st | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st index 305157e2..d417abb1 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st @@ -1,18 +1,3 @@ exceptions openDebuggerOn: anError - | process | - process := Processor activeProcess. - "If we are running in the UI process, we don't want to suspend the active process. The - error was presumably triggered while stepping in the Debugger. If we simply immediately - signal an UnhandledError, the debugger will catch this and display the signaling context. - It isn't perfect or pretty but it works." - (ProcessBrowser isUIProcess: process) - ifTrue: [ - UnhandledError signalForException: anError ] - ifFalse: [ - WorldState addDeferredUIMessage: [ - UIManager default - requestDebuggerOpeningForProcess: process - named: anError description - inContext: anError signalerContext ]. - process suspend ] \ No newline at end of file + (OupsDebugRequest newForException: anError) submit \ No newline at end of file From 33702ab64f94853b6651ce32c35a8db300ebad70 Mon Sep 17 00:00:00 2001 From: Dale Henrichs Date: Fri, 14 Apr 2023 08:26:20 -0700 Subject: [PATCH 117/254] Update ci.yml --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ca73dff..bbcc3d87 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,11 +10,10 @@ on: jobs: build: - runs-on: ubuntu-18.04 strategy: - fail-fast: false matrix: - smalltalk: [ Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.6.3, GemStone64-3.5.7, GemStone64-3.4.5, GemStone64-3.3.9, GemStone64-3.2.17, GemStone64-3.1.0.6, Squeak64-5.3, Squeak64-5.2, Squeak64-5.1 ] + os: [ ubuntu-20.04, macos-latest ] + smalltalk: [ Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.6.5, GemStone64-3.5.8, Squeak64-5.3, Squeak64-5.2, Squeak64-5.1 ] experimental: [ false ] include: - smalltalk: Pharo64-11 @@ -22,6 +21,7 @@ jobs: - smalltalk: Squeak64-trunk experimental: true continue-on-error: ${{ matrix.experimental }} + runs-on: ${{ matrix.smalltalk }} name: ${{ matrix.smalltalk }} steps: - name: Get current date @@ -63,7 +63,7 @@ jobs: name: Post Workflow Status To Slack needs: - build - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - name: Slack Workflow Notification uses: Gamesight/slack-workflow-status@master From 807d57a75cc11e6a65ef79137b18db3aff71d0bd Mon Sep 17 00:00:00 2001 From: Dale Henrichs Date: Mon, 17 Apr 2023 09:10:25 -0700 Subject: [PATCH 118/254] yaml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bbcc3d87..206a41e4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: - smalltalk: Squeak64-trunk experimental: true continue-on-error: ${{ matrix.experimental }} - runs-on: ${{ matrix.smalltalk }} + runs-on: ${{ matrix.os }} name: ${{ matrix.smalltalk }} steps: - name: Get current date From b1ca3ecd9b6e88a4afceb0d3b24fb74448ac0906 Mon Sep 17 00:00:00 2001 From: Dale Henrichs Date: Mon, 17 Apr 2023 09:19:48 -0700 Subject: [PATCH 119/254] yaml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 206a41e4..eb4bad85 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,8 +20,8 @@ jobs: experimental: true - smalltalk: Squeak64-trunk experimental: true - continue-on-error: ${{ matrix.experimental }} runs-on: ${{ matrix.os }} + continue-on-error: ${{ matrix.experimental }} name: ${{ matrix.smalltalk }} steps: - name: Get current date From fbb749ff89a70674812dbf1612c09050e65bbe25 Mon Sep 17 00:00:00 2001 From: Dale Henrichs Date: Mon, 17 Apr 2023 09:21:24 -0700 Subject: [PATCH 120/254] yaml --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eb4bad85..ab6af9d7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,9 +10,9 @@ on: jobs: build: + runs-on: ubuntu-20.04 strategy: matrix: - os: [ ubuntu-20.04, macos-latest ] smalltalk: [ Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.6.5, GemStone64-3.5.8, Squeak64-5.3, Squeak64-5.2, Squeak64-5.1 ] experimental: [ false ] include: @@ -20,7 +20,6 @@ jobs: experimental: true - smalltalk: Squeak64-trunk experimental: true - runs-on: ${{ matrix.os }} continue-on-error: ${{ matrix.experimental }} name: ${{ matrix.smalltalk }} steps: From 156ae9905b391511d6159498db445fb6b88e3e49 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 23 Apr 2023 13:19:36 +0200 Subject: [PATCH 121/254] use smalltalkCI master --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3250ee60..61d9e32d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: name: ${{ matrix.smalltalk }} steps: - uses: actions/checkout@v3 - - uses: dalehenrich/setup-smalltalkCI@solo + - uses: hpi-swa/setup-smalltalkCI@v1 with: smalltalk-image: ${{ matrix.smalltalk }} - name: Run tests From 4a0eb52683b35f0708fd5dde9cbaf2f39e689af1 Mon Sep 17 00:00:00 2001 From: Astares Date: Fri, 26 May 2023 13:03:47 +0200 Subject: [PATCH 122/254] Update baselinePharo.st with Pharo 12 --- .../BaselineOfGrease.class/instance/baselinePharo..st | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st index 1b210730..3b845c9a 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st @@ -52,7 +52,7 @@ baselinePharo: spec group: 'Slime Tests' with: #('Grease-Tests-Slime') ]. spec - for: #(#'pharo10.x' #'pharo11.x') + for: #(#'pharo10.x' #'pharo11.x' #'pharo12.x') do: [ spec package: 'Grease-Core' with: [ spec includes: #('Grease-Pharo100-Core') ]; @@ -67,4 +67,4 @@ baselinePharo: spec spec group: 'Slime' with: #('Grease-Pharo90-Slime'); - group: 'Slime Tests' with: #('Grease-Tests-Slime') ] \ No newline at end of file + group: 'Slime Tests' with: #('Grease-Tests-Slime') ] From 7f4cd15f065bee155251e0f1bc60d7223426016f Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 25 Jun 2023 14:17:34 +0200 Subject: [PATCH 123/254] correct Grease version in GRPlatform --- .../Grease-Core.package/GRPlatform.class/instance/version.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/version.st b/repository/Grease-Core.package/GRPlatform.class/instance/version.st index 2bf3551f..e0da513c 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/version.st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/version.st @@ -2,5 +2,5 @@ version info version "Answer the Grease version" - ^ (GRVersion major: 1 minor: 10 revision: 0) + ^ (GRVersion major: 1 minor: 12 revision: 0) yourself \ No newline at end of file From fa86fe662c8ca5a59ea427f51ec9a2c276ecd5b0 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Thu, 29 Jun 2023 10:20:09 +0200 Subject: [PATCH 124/254] version 1.12.1 --- .../Grease-Core.package/GRPlatform.class/instance/version.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/version.st b/repository/Grease-Core.package/GRPlatform.class/instance/version.st index e0da513c..6690ac78 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/version.st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/version.st @@ -2,5 +2,5 @@ version info version "Answer the Grease version" - ^ (GRVersion major: 1 minor: 12 revision: 0) + ^ (GRVersion major: 1 minor: 12 revision: 1) yourself \ No newline at end of file From f90f7f9dba0e160c2caa0430635711f78838e48a Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Thu, 29 Jun 2023 12:01:11 +0200 Subject: [PATCH 125/254] Added cp-1252 encoding name on GRPharoZnCodec for backwards compatibility --- .../GRPharoZnCodec.class/class/supportedEncodingNames.st | 3 +++ 1 file changed, 3 insertions(+) diff --git a/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/class/supportedEncodingNames.st b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/class/supportedEncodingNames.st index b424dff3..706f7f53 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/class/supportedEncodingNames.st +++ b/repository/Grease-Pharo100-Core.package/GRPharoZnCodec.class/class/supportedEncodingNames.st @@ -4,10 +4,13 @@ supportedEncodingNames | all | all := ZnCharacterEncoder knownEncodingIdentifiers asOrderedCollection. + "We include some (but not all) alternative names for encodings, providing some backwards compatibility with TextConverter encoding names. Make a PR if you need more." (all includes: 'utf8') ifTrue:[ all addAll: #('utf-8' 'UTF-8') ]. (all includes: 'utf16') ifTrue:[ all addAll: #('utf-16' 'UTF-16') ]. (all includes: 'macroman') ifTrue:[ all add: 'mac-roman' ]. + (all includes: 'cp1252') + ifTrue:[ all add: 'cp-1252' ]. ^ all \ No newline at end of file From 86079dfabed793e3dd5f70c01e58a1972ec52e3a Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Thu, 29 Jun 2023 12:01:44 +0200 Subject: [PATCH 126/254] version 1.12.2 --- .../Grease-Core.package/GRPlatform.class/instance/version.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/version.st b/repository/Grease-Core.package/GRPlatform.class/instance/version.st index 6690ac78..5b503f93 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/version.st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/version.st @@ -2,5 +2,5 @@ version info version "Answer the Grease version" - ^ (GRVersion major: 1 minor: 12 revision: 1) + ^ (GRVersion major: 1 minor: 12 revision: 2) yourself \ No newline at end of file From a28969f0e20a9d747c1976372f29ccbcc92c7385 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Tue, 18 Jul 2023 12:47:43 +0200 Subject: [PATCH 127/254] add Pharo 12 to the CI build --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 61d9e32d..f049fb8f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,8 @@ jobs: smalltalk: [ Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.6.5, GemStone64-3.5.7, Squeak64-5.3 ] experimental: [ false ] include: + - smalltalk: Pharo64-12 + experimental: true - smalltalk: Squeak64-6.0 experimental: true continue-on-error: ${{ matrix.experimental }} From eef74789f6487c90fe0f97cd9d8791e5c6e2791c Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 11 Sep 2023 18:59:24 +0200 Subject: [PATCH 128/254] GREmptyStatementRule is superseded in Pharo by ReMultiplePeriodsTerminatingStatementRule --- .../GREmptyStatementsRule.class/README.md | 0 .../instance/checkMethod..st | 12 ------------ .../GREmptyStatementsRule.class/instance/group.st | 3 --- .../GREmptyStatementsRule.class/instance/name.st | 3 --- .../instance/rationale.st | 3 --- .../instance/resetResult.st | 4 ---- .../GREmptyStatementsRule.class/properties.json | 11 ----------- 7 files changed, 36 deletions(-) delete mode 100644 repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/README.md delete mode 100644 repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/instance/checkMethod..st delete mode 100644 repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/instance/resetResult.st delete mode 100644 repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/properties.json diff --git a/repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/README.md b/repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/instance/checkMethod..st b/repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/instance/checkMethod..st deleted file mode 100644 index a2a96832..00000000 --- a/repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/instance/checkMethod..st +++ /dev/null @@ -1,12 +0,0 @@ -running -checkMethod: aContext - | periods position | - aContext parseTree nodesDo: [ :node | - (node isSequence and: [ node periods notEmpty ]) ifTrue: [ - periods := OrderedCollection withAll: node periods. - 1 to: node statements size - 1 do: [ :index | - position := periods removeFirst. - ((node statements at: index) stop < position and: [ position < (node statements at: index + 1) start ]) - ifFalse: [ ^ result addClass: aContext methodClass selector: aContext selector ] ]. - (periods isEmpty or: [ periods size = 1 and: [ node statements notEmpty and: [ node statements last stop < periods first ] ] ]) - ifFalse: [ ^ result addClass: aContext methodClass selector: aContext selector ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/instance/group.st b/repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/instance/group.st deleted file mode 100644 index 7e52dd3b..00000000 --- a/repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/instance/name.st b/repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/instance/name.st deleted file mode 100644 index 3f4db678..00000000 --- a/repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'Empty Statements' \ No newline at end of file diff --git a/repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/instance/rationale.st b/repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/instance/rationale.st deleted file mode 100644 index 252dd280..00000000 --- a/repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ 'Empty statements are not supported by most Smalltalk implementations.' \ No newline at end of file diff --git a/repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/instance/resetResult.st b/repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/instance/resetResult.st deleted file mode 100644 index 5b87472b..00000000 --- a/repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/instance/resetResult.st +++ /dev/null @@ -1,4 +0,0 @@ -running -resetResult - super resetResult. - result addSearchString: '..'; addSearchString: '.' \ No newline at end of file diff --git a/repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/properties.json b/repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/properties.json deleted file mode 100644 index c03ba912..00000000 --- a/repository/Grease-Pharo90-Slime.package/GREmptyStatementsRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRSlimeBlockLintRule", - "category" : "Grease-Pharo90-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GREmptyStatementsRule", - "type" : "normal" -} \ No newline at end of file From 8bd356e50b3da69b5ca3ccec796fbc576ba72631 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 11 Sep 2023 19:07:12 +0200 Subject: [PATCH 129/254] Literal byte arrays are accepted in Pharo, GemStone and VAST --- .../GRUsesLiteralByteArraysRule.class/README.md | 0 .../instance/group.st | 3 --- .../instance/initialize.st | 6 ------ .../instance/name.st | 3 --- .../instance/rationale.st | 3 --- .../GRUsesLiteralByteArraysRule.class/properties.json | 11 ----------- 6 files changed, 26 deletions(-) delete mode 100644 repository/Grease-Pharo90-Slime.package/GRUsesLiteralByteArraysRule.class/README.md delete mode 100644 repository/Grease-Pharo90-Slime.package/GRUsesLiteralByteArraysRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo90-Slime.package/GRUsesLiteralByteArraysRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo90-Slime.package/GRUsesLiteralByteArraysRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo90-Slime.package/GRUsesLiteralByteArraysRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo90-Slime.package/GRUsesLiteralByteArraysRule.class/properties.json diff --git a/repository/Grease-Pharo90-Slime.package/GRUsesLiteralByteArraysRule.class/README.md b/repository/Grease-Pharo90-Slime.package/GRUsesLiteralByteArraysRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo90-Slime.package/GRUsesLiteralByteArraysRule.class/instance/group.st b/repository/Grease-Pharo90-Slime.package/GRUsesLiteralByteArraysRule.class/instance/group.st deleted file mode 100644 index 7e52dd3b..00000000 --- a/repository/Grease-Pharo90-Slime.package/GRUsesLiteralByteArraysRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo90-Slime.package/GRUsesLiteralByteArraysRule.class/instance/initialize.st b/repository/Grease-Pharo90-Slime.package/GRUsesLiteralByteArraysRule.class/instance/initialize.st deleted file mode 100644 index c7605206..00000000 --- a/repository/Grease-Pharo90-Slime.package/GRUsesLiteralByteArraysRule.class/instance/initialize.st +++ /dev/null @@ -1,6 +0,0 @@ -initialization -initialize - super initialize. - self matcher - matches: '`#literal `{ :node | node isLiteralArray and: [ node isForByteArray ] }' - do: [ :node :answer | answer isNil ifTrue: [ node ] ifFalse: [ answer ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo90-Slime.package/GRUsesLiteralByteArraysRule.class/instance/name.st b/repository/Grease-Pharo90-Slime.package/GRUsesLiteralByteArraysRule.class/instance/name.st deleted file mode 100644 index fbcd5729..00000000 --- a/repository/Grease-Pharo90-Slime.package/GRUsesLiteralByteArraysRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'Uses literal byte arrays' \ No newline at end of file diff --git a/repository/Grease-Pharo90-Slime.package/GRUsesLiteralByteArraysRule.class/instance/rationale.st b/repository/Grease-Pharo90-Slime.package/GRUsesLiteralByteArraysRule.class/instance/rationale.st deleted file mode 100644 index 269ea76d..00000000 --- a/repository/Grease-Pharo90-Slime.package/GRUsesLiteralByteArraysRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ 'Literal byte arrays are not portable accross different Smalltalk dialects.' \ No newline at end of file diff --git a/repository/Grease-Pharo90-Slime.package/GRUsesLiteralByteArraysRule.class/properties.json b/repository/Grease-Pharo90-Slime.package/GRUsesLiteralByteArraysRule.class/properties.json deleted file mode 100644 index 8c5b7a18..00000000 --- a/repository/Grease-Pharo90-Slime.package/GRUsesLiteralByteArraysRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRSlimeParseTreeLintRule", - "category" : "Grease-Pharo90-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRUsesLiteralByteArraysRule", - "type" : "normal" -} \ No newline at end of file From 0c8215ebfc21b0b5c2c25632cf514ea4a01e529a Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Tue, 12 Sep 2023 10:37:56 +0200 Subject: [PATCH 130/254] add gemstone 3.7.0 to the line-up --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f049fb8f..77a2aed7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - smalltalk: [ Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.6.5, GemStone64-3.5.7, Squeak64-5.3 ] + smalltalk: [ Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.7.0, GemStone64-3.6.5, GemStone64-3.5.7, Squeak64-5.3 ] experimental: [ false ] include: - smalltalk: Pharo64-12 From 88459fabb0f0c1a8307d8cfa657e92708e5cbfff Mon Sep 17 00:00:00 2001 From: Max Leske Date: Sun, 29 Oct 2023 14:22:44 +0100 Subject: [PATCH 131/254] Add #greaseAsByteArray and implementation for Squeak --- .../instance/greaseAsByteArray.st | 3 +++ .../Collection.extension/properties.json | 3 +++ .../instance/integerAsByteArray..st | 3 +++ .../instance/greaseAsByteArray.st | 3 +++ .../instance/greaseByteAt..st | 3 +++ .../instance/greaseBytesCount.st | 3 +++ .../instance/integerAsByteArray..st | 7 ++++++ .../instance/greaseByteAt..st | 8 ++++++ .../instance/greaseBytesCount.st | 8 ++++++ .../LargeInteger.extension/properties.json | 3 +++ .../ManifestGreaseSqueakCore.class/README.md | 1 + ...iciousTrueFalseOrNilRuleV1FalsePositive.st | 3 +++ ...eSendsDifferentSuperRuleV1FalsePositive.st | 3 +++ .../ruleSuperSendsRuleV1FalsePositive.st | 3 +++ .../properties.json | 11 ++++++++ .../instance/greaseByteAt..st | 14 +++++++++++ .../instance/greaseBytesCount.st | 25 +++++++++++++++++++ .../monticello.meta/categories.st | 1 + .../instance/testBase64Decode.st | 2 +- .../instance/testBase64Encode.st | 2 +- .../instance/testGreaseAsByteArray.st | 5 ++++ .../instance/testGreaseByteAt.st | 4 +++ .../instance/testGreaseBytesCount.st | 3 +++ 23 files changed, 119 insertions(+), 2 deletions(-) create mode 100644 repository/Grease-Core.package/Collection.extension/instance/greaseAsByteArray.st create mode 100644 repository/Grease-Core.package/Collection.extension/properties.json create mode 100644 repository/Grease-Core.package/GRPlatform.class/instance/integerAsByteArray..st create mode 100644 repository/Grease-Core.package/Integer.extension/instance/greaseAsByteArray.st create mode 100644 repository/Grease-Core.package/Integer.extension/instance/greaseByteAt..st create mode 100644 repository/Grease-Core.package/Integer.extension/instance/greaseBytesCount.st create mode 100644 repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/integerAsByteArray..st create mode 100644 repository/Grease-Squeak-Core.package/LargeInteger.extension/instance/greaseByteAt..st create mode 100644 repository/Grease-Squeak-Core.package/LargeInteger.extension/instance/greaseBytesCount.st create mode 100644 repository/Grease-Squeak-Core.package/LargeInteger.extension/properties.json create mode 100644 repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/README.md create mode 100644 repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/class/ruleLiteralArrayContainsSuspiciousTrueFalseOrNilRuleV1FalsePositive.st create mode 100644 repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/class/ruleSendsDifferentSuperRuleV1FalsePositive.st create mode 100644 repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/class/ruleSuperSendsRuleV1FalsePositive.st create mode 100644 repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/properties.json create mode 100644 repository/Grease-Squeak-Core.package/SmallInteger.extension/instance/greaseByteAt..st create mode 100644 repository/Grease-Squeak-Core.package/SmallInteger.extension/instance/greaseBytesCount.st create mode 100644 repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testGreaseAsByteArray.st create mode 100644 repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testGreaseByteAt.st create mode 100644 repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testGreaseBytesCount.st diff --git a/repository/Grease-Core.package/Collection.extension/instance/greaseAsByteArray.st b/repository/Grease-Core.package/Collection.extension/instance/greaseAsByteArray.st new file mode 100644 index 00000000..dacf78b3 --- /dev/null +++ b/repository/Grease-Core.package/Collection.extension/instance/greaseAsByteArray.st @@ -0,0 +1,3 @@ +*Grease-Core +greaseAsByteArray + ^ self asByteArray \ No newline at end of file diff --git a/repository/Grease-Core.package/Collection.extension/properties.json b/repository/Grease-Core.package/Collection.extension/properties.json new file mode 100644 index 00000000..48f9f8d9 --- /dev/null +++ b/repository/Grease-Core.package/Collection.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "Collection" +} \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/integerAsByteArray..st b/repository/Grease-Core.package/GRPlatform.class/instance/integerAsByteArray..st new file mode 100644 index 00000000..6d847f6d --- /dev/null +++ b/repository/Grease-Core.package/GRPlatform.class/instance/integerAsByteArray..st @@ -0,0 +1,3 @@ +encoding +integerAsByteArray: anInteger + ^ anInteger asByteArray \ No newline at end of file diff --git a/repository/Grease-Core.package/Integer.extension/instance/greaseAsByteArray.st b/repository/Grease-Core.package/Integer.extension/instance/greaseAsByteArray.st new file mode 100644 index 00000000..844c7d1f --- /dev/null +++ b/repository/Grease-Core.package/Integer.extension/instance/greaseAsByteArray.st @@ -0,0 +1,3 @@ +*Grease-Core +greaseAsByteArray + ^ GRPlatform current integerAsByteArray: self \ No newline at end of file diff --git a/repository/Grease-Core.package/Integer.extension/instance/greaseByteAt..st b/repository/Grease-Core.package/Integer.extension/instance/greaseByteAt..st new file mode 100644 index 00000000..b3317119 --- /dev/null +++ b/repository/Grease-Core.package/Integer.extension/instance/greaseByteAt..st @@ -0,0 +1,3 @@ +*Grease-Core +greaseByteAt: index + ^ self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Core.package/Integer.extension/instance/greaseBytesCount.st b/repository/Grease-Core.package/Integer.extension/instance/greaseBytesCount.st new file mode 100644 index 00000000..92dda9bd --- /dev/null +++ b/repository/Grease-Core.package/Integer.extension/instance/greaseBytesCount.st @@ -0,0 +1,3 @@ +*Grease-Core +greaseBytesCount + ^ self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/integerAsByteArray..st b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/integerAsByteArray..st new file mode 100644 index 00000000..124003a4 --- /dev/null +++ b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/integerAsByteArray..st @@ -0,0 +1,7 @@ +encoding +integerAsByteArray: anInteger + | stream | + stream := ByteArray new writeStream. + anInteger greaseBytesCount to: 1 by: -1 do: [:digitIndex | + stream nextPut: (anInteger greaseByteAt: digitIndex)]. + ^ stream contents \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/LargeInteger.extension/instance/greaseByteAt..st b/repository/Grease-Squeak-Core.package/LargeInteger.extension/instance/greaseByteAt..st new file mode 100644 index 00000000..cb42ba36 --- /dev/null +++ b/repository/Grease-Squeak-Core.package/LargeInteger.extension/instance/greaseByteAt..st @@ -0,0 +1,8 @@ +*Grease-Squeak-Core +greaseByteAt: index + "Primitive. Answer the value of an indexable field in the receiver. LargePositiveInteger uses bytes of base two number, and each is a 'digit' base 256. Fail if the argument (the index) is not an Integer or is out of bounds. Essential. See Object documentation whatIsAPrimitive." + + + self bytesCount < index + ifTrue: [^0] + ifFalse: [^super at: index] \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/LargeInteger.extension/instance/greaseBytesCount.st b/repository/Grease-Squeak-Core.package/LargeInteger.extension/instance/greaseBytesCount.st new file mode 100644 index 00000000..fef20052 --- /dev/null +++ b/repository/Grease-Squeak-Core.package/LargeInteger.extension/instance/greaseBytesCount.st @@ -0,0 +1,8 @@ +*Grease-Squeak-Core +greaseBytesCount + "Primitive. Answer the number of indexable fields in the receiver. This + value is the same as the largest legal subscript. Essential. See Object + documentation whatIsAPrimitive." + + + self primitiveFailed \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/LargeInteger.extension/properties.json b/repository/Grease-Squeak-Core.package/LargeInteger.extension/properties.json new file mode 100644 index 00000000..029bc676 --- /dev/null +++ b/repository/Grease-Squeak-Core.package/LargeInteger.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "LargeInteger" +} \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/README.md b/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/README.md new file mode 100644 index 00000000..69df3dee --- /dev/null +++ b/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/README.md @@ -0,0 +1 @@ +Please describe the package using the class comment of the included manifest class. The manifest class also includes other additional metadata for the package. These meta data are used by other tools such as the SmalllintManifestChecker and the critics Browser \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/class/ruleLiteralArrayContainsSuspiciousTrueFalseOrNilRuleV1FalsePositive.st b/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/class/ruleLiteralArrayContainsSuspiciousTrueFalseOrNilRuleV1FalsePositive.st new file mode 100644 index 00000000..30d0c795 --- /dev/null +++ b/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/class/ruleLiteralArrayContainsSuspiciousTrueFalseOrNilRuleV1FalsePositive.st @@ -0,0 +1,3 @@ +code-critics +ruleLiteralArrayContainsSuspiciousTrueFalseOrNilRuleV1FalsePositive + ^ #(#(#(#RGMetaclassDefinition #(#'ManifestGreaseSqueakCore class' #ManifestGreaseSqueakCore)) #'2023-10-29T14:22:04.342701+01:00') ) \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/class/ruleSendsDifferentSuperRuleV1FalsePositive.st b/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/class/ruleSendsDifferentSuperRuleV1FalsePositive.st new file mode 100644 index 00000000..590a0f54 --- /dev/null +++ b/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/class/ruleSendsDifferentSuperRuleV1FalsePositive.st @@ -0,0 +1,3 @@ +code-critics +ruleSendsDifferentSuperRuleV1FalsePositive + ^ #(#(#(#RGMethodDefinition #(#LargeInteger #greaseByteAt: #false)) #'2023-10-29T14:21:20.47823+01:00') ) \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/class/ruleSuperSendsRuleV1FalsePositive.st b/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/class/ruleSuperSendsRuleV1FalsePositive.st new file mode 100644 index 00000000..fc987551 --- /dev/null +++ b/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/class/ruleSuperSendsRuleV1FalsePositive.st @@ -0,0 +1,3 @@ +code-critics +ruleSuperSendsRuleV1FalsePositive + ^ #(#(#(#RGMethodDefinition #(#LargeInteger #greaseByteAt: #false)) #'2023-10-29T14:20:58.840268+01:00') ) \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/properties.json b/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/properties.json new file mode 100644 index 00000000..4ca4e732 --- /dev/null +++ b/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "PackageManifest", + "category" : "Grease-Squeak-Core-Manifest", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "ManifestGreaseSqueakCore", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/SmallInteger.extension/instance/greaseByteAt..st b/repository/Grease-Squeak-Core.package/SmallInteger.extension/instance/greaseByteAt..st new file mode 100644 index 00000000..6052de43 --- /dev/null +++ b/repository/Grease-Squeak-Core.package/SmallInteger.extension/instance/greaseByteAt..st @@ -0,0 +1,14 @@ +*Grease-Squeak-Core +greaseByteAt: n + "Answer the value of an apparent byte-indexable field in the receiver, + analogous to the large integers, which are organized as bytes." + + n = 1 + ifTrue: [ + "Negate carefully in case the receiver is SmallInteger minVal" + ^ self < 0 + ifTrue: [ -256 - self bitAnd: 255 ] + ifFalse: [ self bitAnd: 255 ] ]. + ^ self < 0 + ifTrue: [ (-256 - self bitShift: -8) + 1 byteAt: n - 1 ] + ifFalse: [ (self bitShift: 8 - (n bitShift: 3)) bitAnd: 255 ] \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/SmallInteger.extension/instance/greaseBytesCount.st b/repository/Grease-Squeak-Core.package/SmallInteger.extension/instance/greaseBytesCount.st new file mode 100644 index 00000000..4f61b909 --- /dev/null +++ b/repository/Grease-Squeak-Core.package/SmallInteger.extension/instance/greaseBytesCount.st @@ -0,0 +1,25 @@ +*Grease-Squeak-Core +greaseBytesCount + "Answer the number of indexable fields in the receiver. This value is the + same as the largest legal subscript. Included so that a SmallInteger can + behave like a LargePositiveInteger or LargeNegativeInteger." + + "32768 == (1 bitShift: 15)" + "32768 bytesCount >>> 2" + + "65536 == (1 bitShift: 16)" + "65536 bytesCount >>> 3" + + | value length | + length := 1. + value := self. + value >= 0 + ifTrue: + [[value > 255] whileTrue: + [value := value bitShift: -8. + length := length + 1]] + ifFalse: + [[value < -255] whileTrue: + [value := value bitShift: -8. + length := length + 1]]. + ^length \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/monticello.meta/categories.st b/repository/Grease-Squeak-Core.package/monticello.meta/categories.st index f0465eda..bc6c762f 100644 --- a/repository/Grease-Squeak-Core.package/monticello.meta/categories.st +++ b/repository/Grease-Squeak-Core.package/monticello.meta/categories.st @@ -1 +1,2 @@ SystemOrganization addCategory: #'Grease-Squeak-Core'! +SystemOrganization addCategory: #'Grease-Squeak-Core-Manifest'! diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testBase64Decode.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testBase64Decode.st index 0a42403f..92cf811a 100644 --- a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testBase64Decode.st +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testBase64Decode.st @@ -1,4 +1,4 @@ -tests +tests-encoding testBase64Decode | input | input := #( diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testBase64Encode.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testBase64Encode.st index d1a2b4be..5bf20858 100644 --- a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testBase64Encode.st +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testBase64Encode.st @@ -1,4 +1,4 @@ -tests +tests-encoding testBase64Encode | input | input := #( diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testGreaseAsByteArray.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testGreaseAsByteArray.st new file mode 100644 index 00000000..e9265615 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testGreaseAsByteArray.st @@ -0,0 +1,5 @@ +tests-encoding +testGreaseAsByteArray + self assert: 1024 greaseAsByteArray equals: #[4 0]. + self assert: #[1 2 3] greaseAsByteArray equals: #[1 2 3]. + self assert: '123' greaseAsByteArray equals: #[49 50 51] \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testGreaseByteAt.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testGreaseByteAt.st new file mode 100644 index 00000000..46197041 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testGreaseByteAt.st @@ -0,0 +1,4 @@ +tests-encoding +testGreaseByteAt + self assert: (1024 greaseByteAt: 1) equals: 0. + self assert: (1024 greaseByteAt: 2) equals: 4 \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testGreaseBytesCount.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testGreaseBytesCount.st new file mode 100644 index 00000000..75949207 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testGreaseBytesCount.st @@ -0,0 +1,3 @@ +tests-encoding +testGreaseBytesCount + self assert: 1024 greaseBytesCount equals: 2 \ No newline at end of file From f2de9930cea8b378467978a8ae9f8dfa1af751e8 Mon Sep 17 00:00:00 2001 From: Max Leske Date: Sun, 29 Oct 2023 14:26:02 +0100 Subject: [PATCH 132/254] Add #greaseAsByteArray implementation for Pharo --- .../LargeInteger.extension/instance/greaseByteAt..st | 3 +++ .../LargeInteger.extension/instance/greaseBytesCount.st | 3 +++ .../LargeInteger.extension/properties.json | 3 +++ .../SmallInteger.extension/instance/greaseByteAt..st | 3 +++ .../SmallInteger.extension/instance/greaseBytesCount.st | 3 +++ .../SmallInteger.extension/properties.json | 3 +++ 6 files changed, 18 insertions(+) create mode 100644 repository/Grease-Pharo100-Core.package/LargeInteger.extension/instance/greaseByteAt..st create mode 100644 repository/Grease-Pharo100-Core.package/LargeInteger.extension/instance/greaseBytesCount.st create mode 100644 repository/Grease-Pharo100-Core.package/LargeInteger.extension/properties.json create mode 100644 repository/Grease-Pharo100-Core.package/SmallInteger.extension/instance/greaseByteAt..st create mode 100644 repository/Grease-Pharo100-Core.package/SmallInteger.extension/instance/greaseBytesCount.st create mode 100644 repository/Grease-Pharo100-Core.package/SmallInteger.extension/properties.json diff --git a/repository/Grease-Pharo100-Core.package/LargeInteger.extension/instance/greaseByteAt..st b/repository/Grease-Pharo100-Core.package/LargeInteger.extension/instance/greaseByteAt..st new file mode 100644 index 00000000..6b1d45ee --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/LargeInteger.extension/instance/greaseByteAt..st @@ -0,0 +1,3 @@ +*Grease-Pharo100-Core +greaseByteAt: index + ^ self byteAt: index \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/LargeInteger.extension/instance/greaseBytesCount.st b/repository/Grease-Pharo100-Core.package/LargeInteger.extension/instance/greaseBytesCount.st new file mode 100644 index 00000000..ef791cd5 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/LargeInteger.extension/instance/greaseBytesCount.st @@ -0,0 +1,3 @@ +*Grease-Pharo100-Core +greaseBytesCount + ^ self bytesCount \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/LargeInteger.extension/properties.json b/repository/Grease-Pharo100-Core.package/LargeInteger.extension/properties.json new file mode 100644 index 00000000..029bc676 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/LargeInteger.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "LargeInteger" +} \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/SmallInteger.extension/instance/greaseByteAt..st b/repository/Grease-Pharo100-Core.package/SmallInteger.extension/instance/greaseByteAt..st new file mode 100644 index 00000000..6b1d45ee --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/SmallInteger.extension/instance/greaseByteAt..st @@ -0,0 +1,3 @@ +*Grease-Pharo100-Core +greaseByteAt: index + ^ self byteAt: index \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/SmallInteger.extension/instance/greaseBytesCount.st b/repository/Grease-Pharo100-Core.package/SmallInteger.extension/instance/greaseBytesCount.st new file mode 100644 index 00000000..ef791cd5 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/SmallInteger.extension/instance/greaseBytesCount.st @@ -0,0 +1,3 @@ +*Grease-Pharo100-Core +greaseBytesCount + ^ self bytesCount \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/SmallInteger.extension/properties.json b/repository/Grease-Pharo100-Core.package/SmallInteger.extension/properties.json new file mode 100644 index 00000000..ca9cd21f --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/SmallInteger.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "SmallInteger" +} \ No newline at end of file From eac187b90f83bd8002c06ae318602f250283413f Mon Sep 17 00:00:00 2001 From: Max Leske Date: Sun, 29 Oct 2023 14:37:04 +0100 Subject: [PATCH 133/254] Add #greaseByteAt: and #greaseBytesCound implementations for Pharo --- .../LargeInteger.extension/instance/greaseByteAt..st | 3 +++ .../LargeInteger.extension/instance/greaseBytesCount.st | 3 +++ .../LargeInteger.extension/properties.json | 3 +++ .../SmallInteger.extension/instance/greaseByteAt..st | 3 +++ .../SmallInteger.extension/instance/greaseBytesCount.st | 3 +++ .../SmallInteger.extension/properties.json | 3 +++ 6 files changed, 18 insertions(+) create mode 100644 repository/Grease-Pharo90-Core.package/LargeInteger.extension/instance/greaseByteAt..st create mode 100644 repository/Grease-Pharo90-Core.package/LargeInteger.extension/instance/greaseBytesCount.st create mode 100644 repository/Grease-Pharo90-Core.package/LargeInteger.extension/properties.json create mode 100644 repository/Grease-Pharo90-Core.package/SmallInteger.extension/instance/greaseByteAt..st create mode 100644 repository/Grease-Pharo90-Core.package/SmallInteger.extension/instance/greaseBytesCount.st create mode 100644 repository/Grease-Pharo90-Core.package/SmallInteger.extension/properties.json diff --git a/repository/Grease-Pharo90-Core.package/LargeInteger.extension/instance/greaseByteAt..st b/repository/Grease-Pharo90-Core.package/LargeInteger.extension/instance/greaseByteAt..st new file mode 100644 index 00000000..6472e03c --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/LargeInteger.extension/instance/greaseByteAt..st @@ -0,0 +1,3 @@ +*Grease-Pharo90-Core +greaseByteAt: index + ^ self byteAt: index \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/LargeInteger.extension/instance/greaseBytesCount.st b/repository/Grease-Pharo90-Core.package/LargeInteger.extension/instance/greaseBytesCount.st new file mode 100644 index 00000000..9d7d8a82 --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/LargeInteger.extension/instance/greaseBytesCount.st @@ -0,0 +1,3 @@ +*Grease-Pharo90-Core +greaseBytesCount + ^ self bytesCount \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/LargeInteger.extension/properties.json b/repository/Grease-Pharo90-Core.package/LargeInteger.extension/properties.json new file mode 100644 index 00000000..029bc676 --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/LargeInteger.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "LargeInteger" +} \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/SmallInteger.extension/instance/greaseByteAt..st b/repository/Grease-Pharo90-Core.package/SmallInteger.extension/instance/greaseByteAt..st new file mode 100644 index 00000000..6472e03c --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/SmallInteger.extension/instance/greaseByteAt..st @@ -0,0 +1,3 @@ +*Grease-Pharo90-Core +greaseByteAt: index + ^ self byteAt: index \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/SmallInteger.extension/instance/greaseBytesCount.st b/repository/Grease-Pharo90-Core.package/SmallInteger.extension/instance/greaseBytesCount.st new file mode 100644 index 00000000..9d7d8a82 --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/SmallInteger.extension/instance/greaseBytesCount.st @@ -0,0 +1,3 @@ +*Grease-Pharo90-Core +greaseBytesCount + ^ self bytesCount \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/SmallInteger.extension/properties.json b/repository/Grease-Pharo90-Core.package/SmallInteger.extension/properties.json new file mode 100644 index 00000000..ca9cd21f --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/SmallInteger.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "SmallInteger" +} \ No newline at end of file From 1e6b6532e3cf191fb85fb5a2cace46815c6ef8a9 Mon Sep 17 00:00:00 2001 From: Max Leske Date: Sun, 29 Oct 2023 14:39:08 +0100 Subject: [PATCH 134/254] Add #greaseByteAt: and #greaseBytesCound implementations for Pharo 7 --- .../LargeInteger.extension/instance/greaseByteAt..st | 3 +++ .../LargeInteger.extension/instance/greaseBytesCount.st | 3 +++ .../LargeInteger.extension/properties.json | 3 +++ .../SmallInteger.extension/instance/greaseByteAt..st | 3 +++ .../SmallInteger.extension/instance/greaseBytesCount.st | 3 +++ .../SmallInteger.extension/properties.json | 3 +++ 6 files changed, 18 insertions(+) create mode 100644 repository/Grease-Pharo70-Core.package/LargeInteger.extension/instance/greaseByteAt..st create mode 100644 repository/Grease-Pharo70-Core.package/LargeInteger.extension/instance/greaseBytesCount.st create mode 100644 repository/Grease-Pharo70-Core.package/LargeInteger.extension/properties.json create mode 100644 repository/Grease-Pharo70-Core.package/SmallInteger.extension/instance/greaseByteAt..st create mode 100644 repository/Grease-Pharo70-Core.package/SmallInteger.extension/instance/greaseBytesCount.st create mode 100644 repository/Grease-Pharo70-Core.package/SmallInteger.extension/properties.json diff --git a/repository/Grease-Pharo70-Core.package/LargeInteger.extension/instance/greaseByteAt..st b/repository/Grease-Pharo70-Core.package/LargeInteger.extension/instance/greaseByteAt..st new file mode 100644 index 00000000..038f115b --- /dev/null +++ b/repository/Grease-Pharo70-Core.package/LargeInteger.extension/instance/greaseByteAt..st @@ -0,0 +1,3 @@ +*Grease-Pharo70-Core +greaseByteAt: index + ^ self byteAt: index \ No newline at end of file diff --git a/repository/Grease-Pharo70-Core.package/LargeInteger.extension/instance/greaseBytesCount.st b/repository/Grease-Pharo70-Core.package/LargeInteger.extension/instance/greaseBytesCount.st new file mode 100644 index 00000000..e9fca83e --- /dev/null +++ b/repository/Grease-Pharo70-Core.package/LargeInteger.extension/instance/greaseBytesCount.st @@ -0,0 +1,3 @@ +*Grease-Pharo70-Core +greaseBytesCount + ^ self bytesCount \ No newline at end of file diff --git a/repository/Grease-Pharo70-Core.package/LargeInteger.extension/properties.json b/repository/Grease-Pharo70-Core.package/LargeInteger.extension/properties.json new file mode 100644 index 00000000..029bc676 --- /dev/null +++ b/repository/Grease-Pharo70-Core.package/LargeInteger.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "LargeInteger" +} \ No newline at end of file diff --git a/repository/Grease-Pharo70-Core.package/SmallInteger.extension/instance/greaseByteAt..st b/repository/Grease-Pharo70-Core.package/SmallInteger.extension/instance/greaseByteAt..st new file mode 100644 index 00000000..038f115b --- /dev/null +++ b/repository/Grease-Pharo70-Core.package/SmallInteger.extension/instance/greaseByteAt..st @@ -0,0 +1,3 @@ +*Grease-Pharo70-Core +greaseByteAt: index + ^ self byteAt: index \ No newline at end of file diff --git a/repository/Grease-Pharo70-Core.package/SmallInteger.extension/instance/greaseBytesCount.st b/repository/Grease-Pharo70-Core.package/SmallInteger.extension/instance/greaseBytesCount.st new file mode 100644 index 00000000..e9fca83e --- /dev/null +++ b/repository/Grease-Pharo70-Core.package/SmallInteger.extension/instance/greaseBytesCount.st @@ -0,0 +1,3 @@ +*Grease-Pharo70-Core +greaseBytesCount + ^ self bytesCount \ No newline at end of file diff --git a/repository/Grease-Pharo70-Core.package/SmallInteger.extension/properties.json b/repository/Grease-Pharo70-Core.package/SmallInteger.extension/properties.json new file mode 100644 index 00000000..ca9cd21f --- /dev/null +++ b/repository/Grease-Pharo70-Core.package/SmallInteger.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "SmallInteger" +} \ No newline at end of file From 65bc55e2ff5db4d2bfe9fd56fe6912cb39cf4596 Mon Sep 17 00:00:00 2001 From: Max Leske Date: Sun, 29 Oct 2023 14:40:46 +0100 Subject: [PATCH 135/254] Add #greaseByteAt: and #greaseBytesCound implementations for Pharo 6 --- .../LargeInteger.extension/instance/greaseByteAt..st | 3 +++ .../LargeInteger.extension/instance/greaseBytesCount.st | 3 +++ .../LargeInteger.extension/properties.json | 3 +++ .../SmallInteger.extension/instance/greaseByteAt..st | 3 +++ .../SmallInteger.extension/instance/greaseBytesCount.st | 3 +++ .../SmallInteger.extension/properties.json | 3 +++ 6 files changed, 18 insertions(+) create mode 100644 repository/Grease-Pharo60-Core.package/LargeInteger.extension/instance/greaseByteAt..st create mode 100644 repository/Grease-Pharo60-Core.package/LargeInteger.extension/instance/greaseBytesCount.st create mode 100644 repository/Grease-Pharo60-Core.package/LargeInteger.extension/properties.json create mode 100644 repository/Grease-Pharo60-Core.package/SmallInteger.extension/instance/greaseByteAt..st create mode 100644 repository/Grease-Pharo60-Core.package/SmallInteger.extension/instance/greaseBytesCount.st create mode 100644 repository/Grease-Pharo60-Core.package/SmallInteger.extension/properties.json diff --git a/repository/Grease-Pharo60-Core.package/LargeInteger.extension/instance/greaseByteAt..st b/repository/Grease-Pharo60-Core.package/LargeInteger.extension/instance/greaseByteAt..st new file mode 100644 index 00000000..d6f41d3c --- /dev/null +++ b/repository/Grease-Pharo60-Core.package/LargeInteger.extension/instance/greaseByteAt..st @@ -0,0 +1,3 @@ +*Grease-Pharo60-Core +greaseByteAt: index + ^ self byteAt: index \ No newline at end of file diff --git a/repository/Grease-Pharo60-Core.package/LargeInteger.extension/instance/greaseBytesCount.st b/repository/Grease-Pharo60-Core.package/LargeInteger.extension/instance/greaseBytesCount.st new file mode 100644 index 00000000..a389d89c --- /dev/null +++ b/repository/Grease-Pharo60-Core.package/LargeInteger.extension/instance/greaseBytesCount.st @@ -0,0 +1,3 @@ +*Grease-Pharo60-Core +greaseBytesCount + ^ self bytesCount \ No newline at end of file diff --git a/repository/Grease-Pharo60-Core.package/LargeInteger.extension/properties.json b/repository/Grease-Pharo60-Core.package/LargeInteger.extension/properties.json new file mode 100644 index 00000000..029bc676 --- /dev/null +++ b/repository/Grease-Pharo60-Core.package/LargeInteger.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "LargeInteger" +} \ No newline at end of file diff --git a/repository/Grease-Pharo60-Core.package/SmallInteger.extension/instance/greaseByteAt..st b/repository/Grease-Pharo60-Core.package/SmallInteger.extension/instance/greaseByteAt..st new file mode 100644 index 00000000..d6f41d3c --- /dev/null +++ b/repository/Grease-Pharo60-Core.package/SmallInteger.extension/instance/greaseByteAt..st @@ -0,0 +1,3 @@ +*Grease-Pharo60-Core +greaseByteAt: index + ^ self byteAt: index \ No newline at end of file diff --git a/repository/Grease-Pharo60-Core.package/SmallInteger.extension/instance/greaseBytesCount.st b/repository/Grease-Pharo60-Core.package/SmallInteger.extension/instance/greaseBytesCount.st new file mode 100644 index 00000000..a389d89c --- /dev/null +++ b/repository/Grease-Pharo60-Core.package/SmallInteger.extension/instance/greaseBytesCount.st @@ -0,0 +1,3 @@ +*Grease-Pharo60-Core +greaseBytesCount + ^ self bytesCount \ No newline at end of file diff --git a/repository/Grease-Pharo60-Core.package/SmallInteger.extension/properties.json b/repository/Grease-Pharo60-Core.package/SmallInteger.extension/properties.json new file mode 100644 index 00000000..ca9cd21f --- /dev/null +++ b/repository/Grease-Pharo60-Core.package/SmallInteger.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "SmallInteger" +} \ No newline at end of file From f67408f88e8dad371101148ded8680837e0d6797 Mon Sep 17 00:00:00 2001 From: Max Leske Date: Sun, 29 Oct 2023 15:01:55 +0100 Subject: [PATCH 136/254] Improve tests for #greaseAsByteArray, #greaseByteAt:, #greaseByteCounts --- .../GRPlatformTest.class/instance/testGreaseAsByteArray.st | 2 ++ .../GRPlatformTest.class/instance/testGreaseByteAt.st | 6 +++++- .../GRPlatformTest.class/instance/testGreaseBytesCount.st | 4 +++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testGreaseAsByteArray.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testGreaseAsByteArray.st index e9265615..545b3c5b 100644 --- a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testGreaseAsByteArray.st +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testGreaseAsByteArray.st @@ -1,5 +1,7 @@ tests-encoding testGreaseAsByteArray self assert: 1024 greaseAsByteArray equals: #[4 0]. + self assert: (SmallInteger maxVal + 10) greaseAsByteArray equals: #[16 0 0 0 0 0 0 9]. + self assert: (SmallInteger minVal - 10) greaseAsByteArray equals: #[16 0 0 0 0 0 0 10]. self assert: #[1 2 3] greaseAsByteArray equals: #[1 2 3]. self assert: '123' greaseAsByteArray equals: #[49 50 51] \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testGreaseByteAt.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testGreaseByteAt.st index 46197041..3d2b1b9c 100644 --- a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testGreaseByteAt.st +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testGreaseByteAt.st @@ -1,4 +1,8 @@ tests-encoding testGreaseByteAt self assert: (1024 greaseByteAt: 1) equals: 0. - self assert: (1024 greaseByteAt: 2) equals: 4 \ No newline at end of file + self assert: (1024 greaseByteAt: 2) equals: 4. + self assert: ((SmallInteger maxVal + 10) greaseByteAt: 1) equals: 9. + self assert: ((SmallInteger maxVal + 10) greaseByteAt: 8) equals: 16. + self assert: ((SmallInteger minVal - 10) greaseByteAt: 1) equals: 10. + self assert: ((SmallInteger minVal - 10) greaseByteAt: 8) equals: 16 \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testGreaseBytesCount.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testGreaseBytesCount.st index 75949207..d69bbf63 100644 --- a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testGreaseBytesCount.st +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testGreaseBytesCount.st @@ -1,3 +1,5 @@ tests-encoding testGreaseBytesCount - self assert: 1024 greaseBytesCount equals: 2 \ No newline at end of file + self assert: 1024 greaseBytesCount equals: 2. + self assert: (SmallInteger maxVal + 10) greaseBytesCount equals: 8. + self assert: (SmallInteger minVal + 10) greaseBytesCount equals: 8 \ No newline at end of file From 845a2c13d8bcbcb30ff87fcb42195db29d8d7544 Mon Sep 17 00:00:00 2001 From: Max Leske Date: Sun, 29 Oct 2023 15:02:36 +0100 Subject: [PATCH 137/254] Fix implementation of #greaseByteAt:, #greaseBytesCount in Pharo 7 --- .../instance/greaseByteAt..st | 7 +++++- .../instance/greaseBytesCount.st | 7 +++++- .../instance/greaseByteAt..st | 15 ++++++++++-- .../instance/greaseBytesCount.st | 24 ++++++++++++++++++- 4 files changed, 48 insertions(+), 5 deletions(-) diff --git a/repository/Grease-Pharo70-Core.package/LargeInteger.extension/instance/greaseByteAt..st b/repository/Grease-Pharo70-Core.package/LargeInteger.extension/instance/greaseByteAt..st index 038f115b..234e429d 100644 --- a/repository/Grease-Pharo70-Core.package/LargeInteger.extension/instance/greaseByteAt..st +++ b/repository/Grease-Pharo70-Core.package/LargeInteger.extension/instance/greaseByteAt..st @@ -1,3 +1,8 @@ *Grease-Pharo70-Core greaseByteAt: index - ^ self byteAt: index \ No newline at end of file + "Primitive. Answer the value of an indexable field in the receiver. LargePositiveInteger uses bytes of base two number, and each is a 'digit' base 256. Fail if the argument (the index) is not an Integer or is out of bounds. Essential. See Object documentation whatIsAPrimitive." + + + self greaseBytesCount < index + ifTrue: [^0] + ifFalse: [^super at: index] \ No newline at end of file diff --git a/repository/Grease-Pharo70-Core.package/LargeInteger.extension/instance/greaseBytesCount.st b/repository/Grease-Pharo70-Core.package/LargeInteger.extension/instance/greaseBytesCount.st index e9fca83e..adb5d76c 100644 --- a/repository/Grease-Pharo70-Core.package/LargeInteger.extension/instance/greaseBytesCount.st +++ b/repository/Grease-Pharo70-Core.package/LargeInteger.extension/instance/greaseBytesCount.st @@ -1,3 +1,8 @@ *Grease-Pharo70-Core greaseBytesCount - ^ self bytesCount \ No newline at end of file + "Primitive. Answer the number of indexable fields in the receiver. This + value is the same as the largest legal subscript. Essential. See Object + documentation whatIsAPrimitive." + + + self primitiveFailed \ No newline at end of file diff --git a/repository/Grease-Pharo70-Core.package/SmallInteger.extension/instance/greaseByteAt..st b/repository/Grease-Pharo70-Core.package/SmallInteger.extension/instance/greaseByteAt..st index 038f115b..f47ffe65 100644 --- a/repository/Grease-Pharo70-Core.package/SmallInteger.extension/instance/greaseByteAt..st +++ b/repository/Grease-Pharo70-Core.package/SmallInteger.extension/instance/greaseByteAt..st @@ -1,3 +1,14 @@ *Grease-Pharo70-Core -greaseByteAt: index - ^ self byteAt: index \ No newline at end of file +greaseByteAt: n + "Answer the value of an apparent byte-indexable field in the receiver, + analogous to the large integers, which are organized as bytes." + + n = 1 + ifTrue: [ + "Negate carefully in case the receiver is SmallInteger minVal" + ^ self < 0 + ifTrue: [ -256 - self bitAnd: 255 ] + ifFalse: [ self bitAnd: 255 ] ]. + ^ self < 0 + ifTrue: [ (-256 - self bitShift: -8) + 1 byteAt: n - 1 ] + ifFalse: [ (self bitShift: 8 - (n bitShift: 3)) bitAnd: 255 ] \ No newline at end of file diff --git a/repository/Grease-Pharo70-Core.package/SmallInteger.extension/instance/greaseBytesCount.st b/repository/Grease-Pharo70-Core.package/SmallInteger.extension/instance/greaseBytesCount.st index e9fca83e..3acd5b44 100644 --- a/repository/Grease-Pharo70-Core.package/SmallInteger.extension/instance/greaseBytesCount.st +++ b/repository/Grease-Pharo70-Core.package/SmallInteger.extension/instance/greaseBytesCount.st @@ -1,3 +1,25 @@ *Grease-Pharo70-Core greaseBytesCount - ^ self bytesCount \ No newline at end of file + "Answer the number of indexable fields in the receiver. This value is the + same as the largest legal subscript. Included so that a SmallInteger can + behave like a LargePositiveInteger or LargeNegativeInteger." + + "32768 == (1 bitShift: 15)" + "32768 bytesCount >>> 2" + + "65536 == (1 bitShift: 16)" + "65536 bytesCount >>> 3" + + | value length | + length := 1. + value := self. + value >= 0 + ifTrue: + [[value > 255] whileTrue: + [value := value bitShift: -8. + length := length + 1]] + ifFalse: + [[value < -255] whileTrue: + [value := value bitShift: -8. + length := length + 1]]. + ^length \ No newline at end of file From 7049682665c167c87c2f37fac4e3d09892eb2716 Mon Sep 17 00:00:00 2001 From: Max Leske Date: Sun, 29 Oct 2023 15:05:15 +0100 Subject: [PATCH 138/254] Fix implementation of #greaseByteAt:, #greaseBytesCount in Pharo 6 --- .../GRPharoPlatform.class/README.md | 2 +- .../instance/integerAsByteArray..st | 7 ++++++ .../GRPharoPlatform.class/properties.json | 2 +- .../instance/greaseByteAt..st | 7 +++++- .../instance/greaseBytesCount.st | 7 +++++- .../instance/greaseByteAt..st | 15 ++++++++++-- .../instance/greaseBytesCount.st | 24 ++++++++++++++++++- 7 files changed, 57 insertions(+), 7 deletions(-) create mode 100644 repository/Grease-Pharo60-Core.package/GRPharoPlatform.class/instance/integerAsByteArray..st diff --git a/repository/Grease-Pharo60-Core.package/GRPharoPlatform.class/README.md b/repository/Grease-Pharo60-Core.package/GRPharoPlatform.class/README.md index f0375aac..e71bb46d 100644 --- a/repository/Grease-Pharo60-Core.package/GRPharoPlatform.class/README.md +++ b/repository/Grease-Pharo60-Core.package/GRPharoPlatform.class/README.md @@ -1 +1 @@ -A WASqueakPlatform is the Squeak implementation of SeasidePlatformSupport, the Seaside class that provides functionality that can not be implemented in a platform independent way. +A GRPharoPlatform is the Pharo implementation of GRPlatform, the Grease class that provides functionality that can not be implemented in a platform independent way. diff --git a/repository/Grease-Pharo60-Core.package/GRPharoPlatform.class/instance/integerAsByteArray..st b/repository/Grease-Pharo60-Core.package/GRPharoPlatform.class/instance/integerAsByteArray..st new file mode 100644 index 00000000..124003a4 --- /dev/null +++ b/repository/Grease-Pharo60-Core.package/GRPharoPlatform.class/instance/integerAsByteArray..st @@ -0,0 +1,7 @@ +encoding +integerAsByteArray: anInteger + | stream | + stream := ByteArray new writeStream. + anInteger greaseBytesCount to: 1 by: -1 do: [:digitIndex | + stream nextPut: (anInteger greaseByteAt: digitIndex)]. + ^ stream contents \ No newline at end of file diff --git a/repository/Grease-Pharo60-Core.package/GRPharoPlatform.class/properties.json b/repository/Grease-Pharo60-Core.package/GRPharoPlatform.class/properties.json index 8ccc85e2..fc75f419 100644 --- a/repository/Grease-Pharo60-Core.package/GRPharoPlatform.class/properties.json +++ b/repository/Grease-Pharo60-Core.package/GRPharoPlatform.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "pmm 6/1/2008 01:03", + "commentStamp" : "pmm 2/1/2014 13:28", "super" : "GRPlatform", "category" : "Grease-Pharo60-Core", "classinstvars" : [ ], diff --git a/repository/Grease-Pharo60-Core.package/LargeInteger.extension/instance/greaseByteAt..st b/repository/Grease-Pharo60-Core.package/LargeInteger.extension/instance/greaseByteAt..st index d6f41d3c..61ee208c 100644 --- a/repository/Grease-Pharo60-Core.package/LargeInteger.extension/instance/greaseByteAt..st +++ b/repository/Grease-Pharo60-Core.package/LargeInteger.extension/instance/greaseByteAt..st @@ -1,3 +1,8 @@ *Grease-Pharo60-Core greaseByteAt: index - ^ self byteAt: index \ No newline at end of file + "Primitive. Answer the value of an indexable field in the receiver. LargePositiveInteger uses bytes of base two number, and each is a 'digit' base 256. Fail if the argument (the index) is not an Integer or is out of bounds. Essential. See Object documentation whatIsAPrimitive." + + + self greaseBytesCount < index + ifTrue: [^0] + ifFalse: [^super at: index] \ No newline at end of file diff --git a/repository/Grease-Pharo60-Core.package/LargeInteger.extension/instance/greaseBytesCount.st b/repository/Grease-Pharo60-Core.package/LargeInteger.extension/instance/greaseBytesCount.st index a389d89c..43a22aa9 100644 --- a/repository/Grease-Pharo60-Core.package/LargeInteger.extension/instance/greaseBytesCount.st +++ b/repository/Grease-Pharo60-Core.package/LargeInteger.extension/instance/greaseBytesCount.st @@ -1,3 +1,8 @@ *Grease-Pharo60-Core greaseBytesCount - ^ self bytesCount \ No newline at end of file + "Primitive. Answer the number of indexable fields in the receiver. This + value is the same as the largest legal subscript. Essential. See Object + documentation whatIsAPrimitive." + + + self primitiveFailed \ No newline at end of file diff --git a/repository/Grease-Pharo60-Core.package/SmallInteger.extension/instance/greaseByteAt..st b/repository/Grease-Pharo60-Core.package/SmallInteger.extension/instance/greaseByteAt..st index d6f41d3c..9f0d7dec 100644 --- a/repository/Grease-Pharo60-Core.package/SmallInteger.extension/instance/greaseByteAt..st +++ b/repository/Grease-Pharo60-Core.package/SmallInteger.extension/instance/greaseByteAt..st @@ -1,3 +1,14 @@ *Grease-Pharo60-Core -greaseByteAt: index - ^ self byteAt: index \ No newline at end of file +greaseByteAt: n + "Answer the value of an apparent byte-indexable field in the receiver, + analogous to the large integers, which are organized as bytes." + + n = 1 + ifTrue: [ + "Negate carefully in case the receiver is SmallInteger minVal" + ^ self < 0 + ifTrue: [ -256 - self bitAnd: 255 ] + ifFalse: [ self bitAnd: 255 ] ]. + ^ self < 0 + ifTrue: [ (-256 - self bitShift: -8) + 1 byteAt: n - 1 ] + ifFalse: [ (self bitShift: 8 - (n bitShift: 3)) bitAnd: 255 ] \ No newline at end of file diff --git a/repository/Grease-Pharo60-Core.package/SmallInteger.extension/instance/greaseBytesCount.st b/repository/Grease-Pharo60-Core.package/SmallInteger.extension/instance/greaseBytesCount.st index a389d89c..bb983402 100644 --- a/repository/Grease-Pharo60-Core.package/SmallInteger.extension/instance/greaseBytesCount.st +++ b/repository/Grease-Pharo60-Core.package/SmallInteger.extension/instance/greaseBytesCount.st @@ -1,3 +1,25 @@ *Grease-Pharo60-Core greaseBytesCount - ^ self bytesCount \ No newline at end of file + "Answer the number of indexable fields in the receiver. This value is the + same as the largest legal subscript. Included so that a SmallInteger can + behave like a LargePositiveInteger or LargeNegativeInteger." + + "32768 == (1 bitShift: 15)" + "32768 bytesCount >>> 2" + + "65536 == (1 bitShift: 16)" + "65536 bytesCount >>> 3" + + | value length | + length := 1. + value := self. + value >= 0 + ifTrue: + [[value > 255] whileTrue: + [value := value bitShift: -8. + length := length + 1]] + ifFalse: + [[value < -255] whileTrue: + [value := value bitShift: -8. + length := length + 1]]. + ^length \ No newline at end of file From b9ae2e0e064e2337a97d8b5a31f7220929f85ebc Mon Sep 17 00:00:00 2001 From: Max Leske Date: Sun, 29 Oct 2023 15:13:05 +0100 Subject: [PATCH 139/254] Fix #greaseByteAt: for Squeak --- .../LargeInteger.extension/instance/greaseByteAt..st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/Grease-Squeak-Core.package/LargeInteger.extension/instance/greaseByteAt..st b/repository/Grease-Squeak-Core.package/LargeInteger.extension/instance/greaseByteAt..st index cb42ba36..8f7cab92 100644 --- a/repository/Grease-Squeak-Core.package/LargeInteger.extension/instance/greaseByteAt..st +++ b/repository/Grease-Squeak-Core.package/LargeInteger.extension/instance/greaseByteAt..st @@ -3,6 +3,6 @@ greaseByteAt: index "Primitive. Answer the value of an indexable field in the receiver. LargePositiveInteger uses bytes of base two number, and each is a 'digit' base 256. Fail if the argument (the index) is not an Integer or is out of bounds. Essential. See Object documentation whatIsAPrimitive." - self bytesCount < index + self greaseBytesCount < index ifTrue: [^0] ifFalse: [^super at: index] \ No newline at end of file From c7c9826066f1d8c4ce4a9982d1d9084135aa26db Mon Sep 17 00:00:00 2001 From: Max Leske Date: Sun, 29 Oct 2023 15:16:25 +0100 Subject: [PATCH 140/254] Add implementation of #greaseAsByteArray for Squeak 5 --- .../Grease-Squeak5-Core.package/.filetree | 5 ++-- .../Behavior.extension/properties.json | 3 ++- .../BlockClosure.extension/properties.json | 3 ++- .../BlockContext.extension/properties.json | 3 ++- .../ByteArray.extension/properties.json | 3 ++- .../Character.extension/properties.json | 3 ++- .../Collection.extension/properties.json | 3 ++- .../Duration.extension/properties.json | 3 ++- .../properties.json | 3 ++- .../GRDynamicVariable.class/properties.json | 19 ++++++-------- .../GRPackage.extension/properties.json | 3 ++- .../properties.json | 19 +++++++------- .../GRPharoGenericCodec.class/properties.json | 19 +++++++------- .../GRPharoLatin1Codec.class/properties.json | 19 +++++++------- .../properties.json | 19 ++++++-------- .../GRPharoPlatform.class/properties.json | 19 +++++++------- .../properties.json | 19 +++++++------- .../GRPharoUtf8Codec.class/properties.json | 19 ++++++-------- .../properties.json | 19 +++++++------- .../properties.json | 3 ++- .../instance/integerAsByteArray..st | 7 ++++++ .../GRSqueakPlatform.class/properties.json | 19 ++++++-------- .../properties.json | 19 ++++++-------- .../Interval.extension/properties.json | 3 ++- .../instance/greaseByteAt..st | 8 ++++++ .../instance/greaseBytesCount.st | 8 ++++++ .../LargeInteger.extension/properties.json | 3 +++ .../MessageSend.extension/properties.json | 3 ++- .../Number.extension/properties.json | 3 ++- .../Object.extension/properties.json | 3 ++- .../Point.extension/properties.json | 3 ++- .../properties.json | 3 ++- .../ScaledDecimal.extension/properties.json | 3 ++- .../properties.json | 3 ++- .../instance/greaseByteAt..st | 14 +++++++++++ .../instance/greaseBytesCount.st | 25 +++++++++++++++++++ .../SmallInteger.extension/properties.json | 3 ++- .../SocketStream.extension/properties.json | 3 ++- .../String.extension/properties.json | 3 ++- .../Symbol.extension/properties.json | 3 ++- .../WriteStream.extension/properties.json | 3 ++- .../properties.json | 3 +-- 42 files changed, 209 insertions(+), 142 deletions(-) create mode 100644 repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/integerAsByteArray..st create mode 100644 repository/Grease-Squeak5-Core.package/LargeInteger.extension/instance/greaseByteAt..st create mode 100644 repository/Grease-Squeak5-Core.package/LargeInteger.extension/instance/greaseBytesCount.st create mode 100644 repository/Grease-Squeak5-Core.package/LargeInteger.extension/properties.json create mode 100644 repository/Grease-Squeak5-Core.package/SmallInteger.extension/instance/greaseByteAt..st create mode 100644 repository/Grease-Squeak5-Core.package/SmallInteger.extension/instance/greaseBytesCount.st diff --git a/repository/Grease-Squeak5-Core.package/.filetree b/repository/Grease-Squeak5-Core.package/.filetree index 8998102c..57a67973 100644 --- a/repository/Grease-Squeak5-Core.package/.filetree +++ b/repository/Grease-Squeak5-Core.package/.filetree @@ -1,4 +1,5 @@ { - "noMethodMetaData" : true, "separateMethodMetaAndSource" : false, - "useCypressPropertiesFile" : true } + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Behavior.extension/properties.json b/repository/Grease-Squeak5-Core.package/Behavior.extension/properties.json index 37061187..c4116c4c 100644 --- a/repository/Grease-Squeak5-Core.package/Behavior.extension/properties.json +++ b/repository/Grease-Squeak5-Core.package/Behavior.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "Behavior" } + "name" : "Behavior" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/BlockClosure.extension/properties.json b/repository/Grease-Squeak5-Core.package/BlockClosure.extension/properties.json index 1d6f4884..2190e5e2 100644 --- a/repository/Grease-Squeak5-Core.package/BlockClosure.extension/properties.json +++ b/repository/Grease-Squeak5-Core.package/BlockClosure.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "BlockClosure" } + "name" : "BlockClosure" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/BlockContext.extension/properties.json b/repository/Grease-Squeak5-Core.package/BlockContext.extension/properties.json index ea80c1e5..fab3588c 100644 --- a/repository/Grease-Squeak5-Core.package/BlockContext.extension/properties.json +++ b/repository/Grease-Squeak5-Core.package/BlockContext.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "BlockContext" } + "name" : "BlockContext" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/ByteArray.extension/properties.json b/repository/Grease-Squeak5-Core.package/ByteArray.extension/properties.json index 191a2eca..f81bcb8d 100644 --- a/repository/Grease-Squeak5-Core.package/ByteArray.extension/properties.json +++ b/repository/Grease-Squeak5-Core.package/ByteArray.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "ByteArray" } + "name" : "ByteArray" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Character.extension/properties.json b/repository/Grease-Squeak5-Core.package/Character.extension/properties.json index 7532e33e..5219281d 100644 --- a/repository/Grease-Squeak5-Core.package/Character.extension/properties.json +++ b/repository/Grease-Squeak5-Core.package/Character.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "Character" } + "name" : "Character" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Collection.extension/properties.json b/repository/Grease-Squeak5-Core.package/Collection.extension/properties.json index 93b0dc32..48f9f8d9 100644 --- a/repository/Grease-Squeak5-Core.package/Collection.extension/properties.json +++ b/repository/Grease-Squeak5-Core.package/Collection.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "Collection" } + "name" : "Collection" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Duration.extension/properties.json b/repository/Grease-Squeak5-Core.package/Duration.extension/properties.json index 512e0f01..d141a092 100644 --- a/repository/Grease-Squeak5-Core.package/Duration.extension/properties.json +++ b/repository/Grease-Squeak5-Core.package/Duration.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "Duration" } + "name" : "Duration" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRDelegatingStream.extension/properties.json b/repository/Grease-Squeak5-Core.package/GRDelegatingStream.extension/properties.json index 472cde09..5ec29ea0 100644 --- a/repository/Grease-Squeak5-Core.package/GRDelegatingStream.extension/properties.json +++ b/repository/Grease-Squeak5-Core.package/GRDelegatingStream.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "GRDelegatingStream" } + "name" : "GRDelegatingStream" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRDynamicVariable.class/properties.json b/repository/Grease-Squeak5-Core.package/GRDynamicVariable.class/properties.json index 516d3166..1bebf7ef 100644 --- a/repository/Grease-Squeak5-Core.package/GRDynamicVariable.class/properties.json +++ b/repository/Grease-Squeak5-Core.package/GRDynamicVariable.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Squeak5-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRDynamicVariable", - "pools" : [ - ], "super" : "DynamicVariable", - "type" : "normal" } + "category" : "Grease-Squeak5-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRDynamicVariable", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPackage.extension/properties.json b/repository/Grease-Squeak5-Core.package/GRPackage.extension/properties.json index dd2faaf0..ae522a7e 100644 --- a/repository/Grease-Squeak5-Core.package/GRPackage.extension/properties.json +++ b/repository/Grease-Squeak5-Core.package/GRPackage.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "GRPackage" } + "name" : "GRPackage" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/properties.json b/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/properties.json index 13abd07b..6f58ab43 100644 --- a/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/properties.json +++ b/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/properties.json @@ -1,14 +1,13 @@ { - "category" : "Grease-Squeak5-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "pmm 9/14/2013 15:53", + "super" : "GRCodecStream", + "category" : "Grease-Squeak5-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], "instvars" : [ - "converter" ], + "converter" + ], "name" : "GRPharoConverterCodecStream", - "pools" : [ - ], - "super" : "GRCodecStream", - "type" : "normal" } + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/properties.json b/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/properties.json index b24261dc..d11ecb62 100644 --- a/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/properties.json +++ b/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/properties.json @@ -1,15 +1,14 @@ { - "category" : "Grease-Squeak5-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", + "super" : "GRCodec", + "category" : "Grease-Squeak5-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], "instvars" : [ "name", - "urlCodec" ], + "urlCodec" + ], "name" : "GRPharoGenericCodec", - "pools" : [ - ], - "super" : "GRCodec", - "type" : "normal" } + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/properties.json b/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/properties.json index 81f473c2..33ac00e1 100644 --- a/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/properties.json +++ b/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/properties.json @@ -1,14 +1,13 @@ { - "category" : "Grease-Squeak5-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", + "super" : "GRNullCodec", + "category" : "Grease-Squeak5-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], "instvars" : [ - "name" ], + "name" + ], "name" : "GRPharoLatin1Codec", - "pools" : [ - ], - "super" : "GRNullCodec", - "type" : "normal" } + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoLatin1CodecStream.class/properties.json b/repository/Grease-Squeak5-Core.package/GRPharoLatin1CodecStream.class/properties.json index 8b83b652..812a948d 100644 --- a/repository/Grease-Squeak5-Core.package/GRPharoLatin1CodecStream.class/properties.json +++ b/repository/Grease-Squeak5-Core.package/GRPharoLatin1CodecStream.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Squeak5-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRPharoLatin1CodecStream", - "pools" : [ - ], "super" : "GRNullCodecStream", - "type" : "normal" } + "category" : "Grease-Squeak5-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRPharoLatin1CodecStream", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/properties.json b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/properties.json index 7320ab9a..debe249f 100644 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/properties.json +++ b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/properties.json @@ -1,15 +1,14 @@ { + "commentStamp" : "pmm 2/1/2014 13:28", + "super" : "GRPlatform", "category" : "Grease-Squeak5-Core", - "classinstvars" : [ - ], + "classinstvars" : [ ], + "pools" : [ ], "classvars" : [ "UrlTable", - "XmlTable" ], - "commentStamp" : "pmm 2/1/2014 13:28", - "instvars" : [ - ], + "XmlTable" + ], + "instvars" : [ ], "name" : "GRPharoPlatform", - "pools" : [ - ], - "super" : "GRPlatform", - "type" : "normal" } + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/properties.json b/repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/properties.json index 513b71fb..179e4cfe 100644 --- a/repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/properties.json +++ b/repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/properties.json @@ -1,15 +1,14 @@ { + "commentStamp" : "", + "super" : "GRObject", "category" : "Grease-Squeak5-Core", "classinstvars" : [ "mutex", - "generator" ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], + "generator" + ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], "name" : "GRPharoRandomProvider", - "pools" : [ - ], - "super" : "GRObject", - "type" : "normal" } + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/properties.json b/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/properties.json index 68130682..a91d6cd3 100644 --- a/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/properties.json +++ b/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Squeak5-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "pmm 2/20/2009 12:51", - "instvars" : [ - ], - "name" : "GRPharoUtf8Codec", - "pools" : [ - ], "super" : "GRCodec", - "type" : "normal" } + "category" : "Grease-Squeak5-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRPharoUtf8Codec", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/properties.json b/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/properties.json index ec018ce3..08f8b877 100644 --- a/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/properties.json +++ b/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/properties.json @@ -1,15 +1,14 @@ { + "commentStamp" : "pmm 2/20/2009 12:27", + "super" : "GRPharoConverterCodecStream", "category" : "Grease-Squeak5-Core", - "classinstvars" : [ - ], + "classinstvars" : [ ], + "pools" : [ ], "classvars" : [ "Latin1ToUtf8Encodings", - "Latin1ToUtf8Map" ], - "commentStamp" : "pmm 2/20/2009 12:27", - "instvars" : [ - ], + "Latin1ToUtf8Map" + ], + "instvars" : [ ], "name" : "GRPharoUtf8CodecStream", - "pools" : [ - ], - "super" : "GRPharoConverterCodecStream", - "type" : "normal" } + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSmallDictionary.extension/properties.json b/repository/Grease-Squeak5-Core.package/GRSmallDictionary.extension/properties.json index 943ee5f4..0d78b749 100644 --- a/repository/Grease-Squeak5-Core.package/GRSmallDictionary.extension/properties.json +++ b/repository/Grease-Squeak5-Core.package/GRSmallDictionary.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "GRSmallDictionary" } + "name" : "GRSmallDictionary" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/integerAsByteArray..st b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/integerAsByteArray..st new file mode 100644 index 00000000..124003a4 --- /dev/null +++ b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/integerAsByteArray..st @@ -0,0 +1,7 @@ +encoding +integerAsByteArray: anInteger + | stream | + stream := ByteArray new writeStream. + anInteger greaseBytesCount to: 1 by: -1 do: [:digitIndex | + stream nextPut: (anInteger greaseByteAt: digitIndex)]. + ^ stream contents \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/properties.json b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/properties.json index 3bae2a24..11b4a3aa 100644 --- a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/properties.json +++ b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Squeak5-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRSqueakPlatform", - "pools" : [ - ], "super" : "GRPharoPlatform", - "type" : "normal" } + "category" : "Grease-Squeak5-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRSqueakPlatform", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRWorkingWriteStream.class/properties.json b/repository/Grease-Squeak5-Core.package/GRWorkingWriteStream.class/properties.json index cfa193a9..8b6e98d9 100644 --- a/repository/Grease-Squeak5-Core.package/GRWorkingWriteStream.class/properties.json +++ b/repository/Grease-Squeak5-Core.package/GRWorkingWriteStream.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Squeak5-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "pmm 8/25/2011 18:30", - "instvars" : [ - ], - "name" : "GRWorkingWriteStream", - "pools" : [ - ], "super" : "WriteStream", - "type" : "normal" } + "category" : "Grease-Squeak5-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRWorkingWriteStream", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Interval.extension/properties.json b/repository/Grease-Squeak5-Core.package/Interval.extension/properties.json index d468cd35..534eb553 100644 --- a/repository/Grease-Squeak5-Core.package/Interval.extension/properties.json +++ b/repository/Grease-Squeak5-Core.package/Interval.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "Interval" } + "name" : "Interval" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/LargeInteger.extension/instance/greaseByteAt..st b/repository/Grease-Squeak5-Core.package/LargeInteger.extension/instance/greaseByteAt..st new file mode 100644 index 00000000..c4560695 --- /dev/null +++ b/repository/Grease-Squeak5-Core.package/LargeInteger.extension/instance/greaseByteAt..st @@ -0,0 +1,8 @@ +*Grease-Squeak5-Core +greaseByteAt: index + "Primitive. Answer the value of an indexable field in the receiver. LargePositiveInteger uses bytes of base two number, and each is a 'digit' base 256. Fail if the argument (the index) is not an Integer or is out of bounds. Essential. See Object documentation whatIsAPrimitive." + + + self greaseBytesCount < index + ifTrue: [^0] + ifFalse: [^super at: index] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/LargeInteger.extension/instance/greaseBytesCount.st b/repository/Grease-Squeak5-Core.package/LargeInteger.extension/instance/greaseBytesCount.st new file mode 100644 index 00000000..c9172272 --- /dev/null +++ b/repository/Grease-Squeak5-Core.package/LargeInteger.extension/instance/greaseBytesCount.st @@ -0,0 +1,8 @@ +*Grease-Squeak5-Core +greaseBytesCount + "Primitive. Answer the number of indexable fields in the receiver. This + value is the same as the largest legal subscript. Essential. See Object + documentation whatIsAPrimitive." + + + self primitiveFailed \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/LargeInteger.extension/properties.json b/repository/Grease-Squeak5-Core.package/LargeInteger.extension/properties.json new file mode 100644 index 00000000..029bc676 --- /dev/null +++ b/repository/Grease-Squeak5-Core.package/LargeInteger.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "LargeInteger" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/MessageSend.extension/properties.json b/repository/Grease-Squeak5-Core.package/MessageSend.extension/properties.json index 66fcc3c1..00669b90 100644 --- a/repository/Grease-Squeak5-Core.package/MessageSend.extension/properties.json +++ b/repository/Grease-Squeak5-Core.package/MessageSend.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "MessageSend" } + "name" : "MessageSend" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Number.extension/properties.json b/repository/Grease-Squeak5-Core.package/Number.extension/properties.json index 1d2c94d4..71dace88 100644 --- a/repository/Grease-Squeak5-Core.package/Number.extension/properties.json +++ b/repository/Grease-Squeak5-Core.package/Number.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "Number" } + "name" : "Number" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Object.extension/properties.json b/repository/Grease-Squeak5-Core.package/Object.extension/properties.json index 3d3b9ec4..f30a86e1 100644 --- a/repository/Grease-Squeak5-Core.package/Object.extension/properties.json +++ b/repository/Grease-Squeak5-Core.package/Object.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "Object" } + "name" : "Object" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Point.extension/properties.json b/repository/Grease-Squeak5-Core.package/Point.extension/properties.json index 3ae71f02..c6cf8dd5 100644 --- a/repository/Grease-Squeak5-Core.package/Point.extension/properties.json +++ b/repository/Grease-Squeak5-Core.package/Point.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "Point" } + "name" : "Point" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/PositionableStream.extension/properties.json b/repository/Grease-Squeak5-Core.package/PositionableStream.extension/properties.json index 9e1697a6..8e090ee3 100644 --- a/repository/Grease-Squeak5-Core.package/PositionableStream.extension/properties.json +++ b/repository/Grease-Squeak5-Core.package/PositionableStream.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "PositionableStream" } + "name" : "PositionableStream" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/ScaledDecimal.extension/properties.json b/repository/Grease-Squeak5-Core.package/ScaledDecimal.extension/properties.json index 6e425dda..75f85f87 100644 --- a/repository/Grease-Squeak5-Core.package/ScaledDecimal.extension/properties.json +++ b/repository/Grease-Squeak5-Core.package/ScaledDecimal.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "ScaledDecimal" } + "name" : "ScaledDecimal" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/properties.json b/repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/properties.json index 3b2523c3..a68b7db6 100644 --- a/repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/properties.json +++ b/repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "SequenceableCollection" } + "name" : "SequenceableCollection" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/SmallInteger.extension/instance/greaseByteAt..st b/repository/Grease-Squeak5-Core.package/SmallInteger.extension/instance/greaseByteAt..st new file mode 100644 index 00000000..0599d162 --- /dev/null +++ b/repository/Grease-Squeak5-Core.package/SmallInteger.extension/instance/greaseByteAt..st @@ -0,0 +1,14 @@ +*Grease-Squeak5-Core +greaseByteAt: n + "Answer the value of an apparent byte-indexable field in the receiver, + analogous to the large integers, which are organized as bytes." + + n = 1 + ifTrue: [ + "Negate carefully in case the receiver is SmallInteger minVal" + ^ self < 0 + ifTrue: [ -256 - self bitAnd: 255 ] + ifFalse: [ self bitAnd: 255 ] ]. + ^ self < 0 + ifTrue: [ (-256 - self bitShift: -8) + 1 byteAt: n - 1 ] + ifFalse: [ (self bitShift: 8 - (n bitShift: 3)) bitAnd: 255 ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/SmallInteger.extension/instance/greaseBytesCount.st b/repository/Grease-Squeak5-Core.package/SmallInteger.extension/instance/greaseBytesCount.st new file mode 100644 index 00000000..bcc66a59 --- /dev/null +++ b/repository/Grease-Squeak5-Core.package/SmallInteger.extension/instance/greaseBytesCount.st @@ -0,0 +1,25 @@ +*Grease-Squeak5-Core +greaseBytesCount + "Answer the number of indexable fields in the receiver. This value is the + same as the largest legal subscript. Included so that a SmallInteger can + behave like a LargePositiveInteger or LargeNegativeInteger." + + "32768 == (1 bitShift: 15)" + "32768 bytesCount >>> 2" + + "65536 == (1 bitShift: 16)" + "65536 bytesCount >>> 3" + + | value length | + length := 1. + value := self. + value >= 0 + ifTrue: + [[value > 255] whileTrue: + [value := value bitShift: -8. + length := length + 1]] + ifFalse: + [[value < -255] whileTrue: + [value := value bitShift: -8. + length := length + 1]]. + ^length \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/SmallInteger.extension/properties.json b/repository/Grease-Squeak5-Core.package/SmallInteger.extension/properties.json index d2d9ab4a..ca9cd21f 100644 --- a/repository/Grease-Squeak5-Core.package/SmallInteger.extension/properties.json +++ b/repository/Grease-Squeak5-Core.package/SmallInteger.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "SmallInteger" } + "name" : "SmallInteger" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/SocketStream.extension/properties.json b/repository/Grease-Squeak5-Core.package/SocketStream.extension/properties.json index 4800d84e..797e09e5 100644 --- a/repository/Grease-Squeak5-Core.package/SocketStream.extension/properties.json +++ b/repository/Grease-Squeak5-Core.package/SocketStream.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "SocketStream" } + "name" : "SocketStream" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/String.extension/properties.json b/repository/Grease-Squeak5-Core.package/String.extension/properties.json index c2138507..b20f2de3 100644 --- a/repository/Grease-Squeak5-Core.package/String.extension/properties.json +++ b/repository/Grease-Squeak5-Core.package/String.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "String" } + "name" : "String" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Symbol.extension/properties.json b/repository/Grease-Squeak5-Core.package/Symbol.extension/properties.json index 565e67b0..8c6bce81 100644 --- a/repository/Grease-Squeak5-Core.package/Symbol.extension/properties.json +++ b/repository/Grease-Squeak5-Core.package/Symbol.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "Symbol" } + "name" : "Symbol" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/WriteStream.extension/properties.json b/repository/Grease-Squeak5-Core.package/WriteStream.extension/properties.json index 239b3632..8688e80d 100644 --- a/repository/Grease-Squeak5-Core.package/WriteStream.extension/properties.json +++ b/repository/Grease-Squeak5-Core.package/WriteStream.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "WriteStream" } + "name" : "WriteStream" +} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/properties.json b/repository/Grease-Squeak5-Core.package/properties.json index f037444a..6f31cf5a 100644 --- a/repository/Grease-Squeak5-Core.package/properties.json +++ b/repository/Grease-Squeak5-Core.package/properties.json @@ -1,2 +1 @@ -{ - } +{ } \ No newline at end of file From b13fba907e0bf749c993ce0b2826c5554869d122 Mon Sep 17 00:00:00 2001 From: Max Leske Date: Sun, 29 Oct 2023 15:18:40 +0100 Subject: [PATCH 141/254] Add implementation of #greaseAsByteArray for Squeak 6 --- .../Grease-Squeak6-Core.package/.filetree | 5 ++-- .../Behavior.extension/properties.json | 3 ++- .../BlockClosure.extension/properties.json | 3 ++- .../ByteArray.extension/properties.json | 3 ++- .../Character.extension/properties.json | 3 ++- .../Collection.extension/properties.json | 3 ++- .../Duration.extension/properties.json | 3 ++- .../properties.json | 3 ++- .../GRDynamicVariable.class/properties.json | 19 ++++++-------- .../GRPackage.extension/properties.json | 3 ++- .../properties.json | 19 +++++++------- .../GRPharoGenericCodec.class/properties.json | 19 +++++++------- .../GRPharoLatin1Codec.class/properties.json | 19 +++++++------- .../properties.json | 19 ++++++-------- .../GRPharoPlatform.class/properties.json | 19 +++++++------- .../GRPharoUtf8Codec.class/properties.json | 19 ++++++-------- .../properties.json | 19 +++++++------- .../properties.json | 3 ++- .../instance/integerAsByteArray..st | 7 ++++++ .../GRSqueakPlatform.class/properties.json | 19 ++++++-------- .../properties.json | 19 ++++++-------- .../Interval.extension/properties.json | 3 ++- .../instance/greaseByteAt..st | 8 ++++++ .../instance/greaseBytesCount.st | 8 ++++++ .../LargeInteger.extension/properties.json | 3 +++ .../MessageSend.extension/properties.json | 3 ++- .../Number.extension/properties.json | 3 ++- .../Object.extension/properties.json | 3 ++- .../properties.json | 3 ++- .../Random.extension/properties.json | 3 ++- .../ScaledDecimal.extension/properties.json | 3 ++- .../properties.json | 3 ++- .../instance/greaseByteAt..st | 14 +++++++++++ .../instance/greaseBytesCount.st | 25 +++++++++++++++++++ .../SmallInteger.extension/properties.json | 3 +++ .../SocketStream.extension/properties.json | 3 ++- .../String.extension/properties.json | 3 ++- .../Symbol.extension/properties.json | 3 ++- .../WriteStream.extension/properties.json | 3 ++- .../properties.json | 3 +-- 40 files changed, 199 insertions(+), 130 deletions(-) create mode 100644 repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/integerAsByteArray..st create mode 100644 repository/Grease-Squeak6-Core.package/LargeInteger.extension/instance/greaseByteAt..st create mode 100644 repository/Grease-Squeak6-Core.package/LargeInteger.extension/instance/greaseBytesCount.st create mode 100644 repository/Grease-Squeak6-Core.package/LargeInteger.extension/properties.json create mode 100644 repository/Grease-Squeak6-Core.package/SmallInteger.extension/instance/greaseByteAt..st create mode 100644 repository/Grease-Squeak6-Core.package/SmallInteger.extension/instance/greaseBytesCount.st create mode 100644 repository/Grease-Squeak6-Core.package/SmallInteger.extension/properties.json diff --git a/repository/Grease-Squeak6-Core.package/.filetree b/repository/Grease-Squeak6-Core.package/.filetree index 8998102c..57a67973 100644 --- a/repository/Grease-Squeak6-Core.package/.filetree +++ b/repository/Grease-Squeak6-Core.package/.filetree @@ -1,4 +1,5 @@ { - "noMethodMetaData" : true, "separateMethodMetaAndSource" : false, - "useCypressPropertiesFile" : true } + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/Behavior.extension/properties.json b/repository/Grease-Squeak6-Core.package/Behavior.extension/properties.json index 37061187..c4116c4c 100644 --- a/repository/Grease-Squeak6-Core.package/Behavior.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/Behavior.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "Behavior" } + "name" : "Behavior" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/BlockClosure.extension/properties.json b/repository/Grease-Squeak6-Core.package/BlockClosure.extension/properties.json index 1d6f4884..2190e5e2 100644 --- a/repository/Grease-Squeak6-Core.package/BlockClosure.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/BlockClosure.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "BlockClosure" } + "name" : "BlockClosure" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/ByteArray.extension/properties.json b/repository/Grease-Squeak6-Core.package/ByteArray.extension/properties.json index 191a2eca..f81bcb8d 100644 --- a/repository/Grease-Squeak6-Core.package/ByteArray.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/ByteArray.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "ByteArray" } + "name" : "ByteArray" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/Character.extension/properties.json b/repository/Grease-Squeak6-Core.package/Character.extension/properties.json index 7532e33e..5219281d 100644 --- a/repository/Grease-Squeak6-Core.package/Character.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/Character.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "Character" } + "name" : "Character" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/Collection.extension/properties.json b/repository/Grease-Squeak6-Core.package/Collection.extension/properties.json index 93b0dc32..48f9f8d9 100644 --- a/repository/Grease-Squeak6-Core.package/Collection.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/Collection.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "Collection" } + "name" : "Collection" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/Duration.extension/properties.json b/repository/Grease-Squeak6-Core.package/Duration.extension/properties.json index 512e0f01..d141a092 100644 --- a/repository/Grease-Squeak6-Core.package/Duration.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/Duration.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "Duration" } + "name" : "Duration" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRDelegatingStream.extension/properties.json b/repository/Grease-Squeak6-Core.package/GRDelegatingStream.extension/properties.json index 472cde09..5ec29ea0 100644 --- a/repository/Grease-Squeak6-Core.package/GRDelegatingStream.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRDelegatingStream.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "GRDelegatingStream" } + "name" : "GRDelegatingStream" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRDynamicVariable.class/properties.json b/repository/Grease-Squeak6-Core.package/GRDynamicVariable.class/properties.json index f57ef2b1..29e10449 100644 --- a/repository/Grease-Squeak6-Core.package/GRDynamicVariable.class/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRDynamicVariable.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Squeak6-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRDynamicVariable", - "pools" : [ - ], "super" : "DynamicVariable", - "type" : "normal" } + "category" : "Grease-Squeak6-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRDynamicVariable", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPackage.extension/properties.json b/repository/Grease-Squeak6-Core.package/GRPackage.extension/properties.json index dd2faaf0..ae522a7e 100644 --- a/repository/Grease-Squeak6-Core.package/GRPackage.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRPackage.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "GRPackage" } + "name" : "GRPackage" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/properties.json b/repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/properties.json index 5188d099..c77f1f04 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/properties.json @@ -1,14 +1,13 @@ { - "category" : "Grease-Squeak6-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "pmm 9/14/2013 15:53", + "super" : "GRCodecStream", + "category" : "Grease-Squeak6-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], "instvars" : [ - "converter" ], + "converter" + ], "name" : "GRPharoConverterCodecStream", - "pools" : [ - ], - "super" : "GRCodecStream", - "type" : "normal" } + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/properties.json b/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/properties.json index ed667ed9..60757cc7 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/properties.json @@ -1,15 +1,14 @@ { - "category" : "Grease-Squeak6-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", + "super" : "GRCodec", + "category" : "Grease-Squeak6-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], "instvars" : [ "name", - "urlCodec" ], + "urlCodec" + ], "name" : "GRPharoGenericCodec", - "pools" : [ - ], - "super" : "GRCodec", - "type" : "normal" } + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/properties.json b/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/properties.json index 2bba6f1e..465a7ff3 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/properties.json @@ -1,14 +1,13 @@ { - "category" : "Grease-Squeak6-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", + "super" : "GRNullCodec", + "category" : "Grease-Squeak6-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], "instvars" : [ - "name" ], + "name" + ], "name" : "GRPharoLatin1Codec", - "pools" : [ - ], - "super" : "GRNullCodec", - "type" : "normal" } + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/properties.json b/repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/properties.json index bdc575a0..35dcea6b 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Squeak6-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRPharoLatin1CodecStream", - "pools" : [ - ], "super" : "GRNullCodecStream", - "type" : "normal" } + "category" : "Grease-Squeak6-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRPharoLatin1CodecStream", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/properties.json b/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/properties.json index 2094c89e..b1c5df09 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/properties.json @@ -1,15 +1,14 @@ { + "commentStamp" : "pmm 2/1/2014 13:28", + "super" : "GRPlatform", "category" : "Grease-Squeak6-Core", - "classinstvars" : [ - ], + "classinstvars" : [ ], + "pools" : [ ], "classvars" : [ "UrlTable", - "XmlTable" ], - "commentStamp" : "pmm 2/1/2014 13:28", - "instvars" : [ - ], + "XmlTable" + ], + "instvars" : [ ], "name" : "GRPharoPlatform", - "pools" : [ - ], - "super" : "GRPlatform", - "type" : "normal" } + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/properties.json b/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/properties.json index 7312da07..5668906f 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Squeak6-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "pmm 2/20/2009 12:51", - "instvars" : [ - ], - "name" : "GRPharoUtf8Codec", - "pools" : [ - ], "super" : "GRCodec", - "type" : "normal" } + "category" : "Grease-Squeak6-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRPharoUtf8Codec", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/properties.json b/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/properties.json index 4c02a23b..5313f68b 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/properties.json @@ -1,15 +1,14 @@ { + "commentStamp" : "pmm 2/20/2009 12:27", + "super" : "GRPharoConverterCodecStream", "category" : "Grease-Squeak6-Core", - "classinstvars" : [ - ], + "classinstvars" : [ ], + "pools" : [ ], "classvars" : [ "Latin1ToUtf8Encodings", - "Latin1ToUtf8Map" ], - "commentStamp" : "pmm 2/20/2009 12:27", - "instvars" : [ - ], + "Latin1ToUtf8Map" + ], + "instvars" : [ ], "name" : "GRPharoUtf8CodecStream", - "pools" : [ - ], - "super" : "GRPharoConverterCodecStream", - "type" : "normal" } + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRSmallDictionary.extension/properties.json b/repository/Grease-Squeak6-Core.package/GRSmallDictionary.extension/properties.json index 943ee5f4..0d78b749 100644 --- a/repository/Grease-Squeak6-Core.package/GRSmallDictionary.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRSmallDictionary.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "GRSmallDictionary" } + "name" : "GRSmallDictionary" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/integerAsByteArray..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/integerAsByteArray..st new file mode 100644 index 00000000..124003a4 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/integerAsByteArray..st @@ -0,0 +1,7 @@ +encoding +integerAsByteArray: anInteger + | stream | + stream := ByteArray new writeStream. + anInteger greaseBytesCount to: 1 by: -1 do: [:digitIndex | + stream nextPut: (anInteger greaseByteAt: digitIndex)]. + ^ stream contents \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/properties.json b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/properties.json index 068d89c9..3ac2e32c 100644 --- a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Squeak6-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRSqueakPlatform", - "pools" : [ - ], "super" : "GRPharoPlatform", - "type" : "normal" } + "category" : "Grease-Squeak6-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRSqueakPlatform", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRWorkingWriteStream.class/properties.json b/repository/Grease-Squeak6-Core.package/GRWorkingWriteStream.class/properties.json index e4e89dfa..caf9c2fc 100644 --- a/repository/Grease-Squeak6-Core.package/GRWorkingWriteStream.class/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRWorkingWriteStream.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "Grease-Squeak6-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "pmm 8/25/2011 18:30", - "instvars" : [ - ], - "name" : "GRWorkingWriteStream", - "pools" : [ - ], "super" : "WriteStream", - "type" : "normal" } + "category" : "Grease-Squeak6-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRWorkingWriteStream", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/Interval.extension/properties.json b/repository/Grease-Squeak6-Core.package/Interval.extension/properties.json index d468cd35..534eb553 100644 --- a/repository/Grease-Squeak6-Core.package/Interval.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/Interval.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "Interval" } + "name" : "Interval" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/LargeInteger.extension/instance/greaseByteAt..st b/repository/Grease-Squeak6-Core.package/LargeInteger.extension/instance/greaseByteAt..st new file mode 100644 index 00000000..9cec08f2 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/LargeInteger.extension/instance/greaseByteAt..st @@ -0,0 +1,8 @@ +*Grease-Squeak6-Core +greaseByteAt: index + "Primitive. Answer the value of an indexable field in the receiver. LargePositiveInteger uses bytes of base two number, and each is a 'digit' base 256. Fail if the argument (the index) is not an Integer or is out of bounds. Essential. See Object documentation whatIsAPrimitive." + + + self greaseBytesCount < index + ifTrue: [^0] + ifFalse: [^super at: index] \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/LargeInteger.extension/instance/greaseBytesCount.st b/repository/Grease-Squeak6-Core.package/LargeInteger.extension/instance/greaseBytesCount.st new file mode 100644 index 00000000..0e345af9 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/LargeInteger.extension/instance/greaseBytesCount.st @@ -0,0 +1,8 @@ +*Grease-Squeak6-Core +greaseBytesCount + "Primitive. Answer the number of indexable fields in the receiver. This + value is the same as the largest legal subscript. Essential. See Object + documentation whatIsAPrimitive." + + + self primitiveFailed \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/LargeInteger.extension/properties.json b/repository/Grease-Squeak6-Core.package/LargeInteger.extension/properties.json new file mode 100644 index 00000000..029bc676 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/LargeInteger.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "LargeInteger" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/MessageSend.extension/properties.json b/repository/Grease-Squeak6-Core.package/MessageSend.extension/properties.json index 66fcc3c1..00669b90 100644 --- a/repository/Grease-Squeak6-Core.package/MessageSend.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/MessageSend.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "MessageSend" } + "name" : "MessageSend" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/Number.extension/properties.json b/repository/Grease-Squeak6-Core.package/Number.extension/properties.json index 1d2c94d4..71dace88 100644 --- a/repository/Grease-Squeak6-Core.package/Number.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/Number.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "Number" } + "name" : "Number" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/Object.extension/properties.json b/repository/Grease-Squeak6-Core.package/Object.extension/properties.json index 3d3b9ec4..f30a86e1 100644 --- a/repository/Grease-Squeak6-Core.package/Object.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/Object.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "Object" } + "name" : "Object" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/PositionableStream.extension/properties.json b/repository/Grease-Squeak6-Core.package/PositionableStream.extension/properties.json index 9e1697a6..8e090ee3 100644 --- a/repository/Grease-Squeak6-Core.package/PositionableStream.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/PositionableStream.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "PositionableStream" } + "name" : "PositionableStream" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/Random.extension/properties.json b/repository/Grease-Squeak6-Core.package/Random.extension/properties.json index 1c67d9ee..b6485d17 100644 --- a/repository/Grease-Squeak6-Core.package/Random.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/Random.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "Random" } + "name" : "Random" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/ScaledDecimal.extension/properties.json b/repository/Grease-Squeak6-Core.package/ScaledDecimal.extension/properties.json index 6e425dda..75f85f87 100644 --- a/repository/Grease-Squeak6-Core.package/ScaledDecimal.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/ScaledDecimal.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "ScaledDecimal" } + "name" : "ScaledDecimal" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/properties.json b/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/properties.json index 3b2523c3..a68b7db6 100644 --- a/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "SequenceableCollection" } + "name" : "SequenceableCollection" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/SmallInteger.extension/instance/greaseByteAt..st b/repository/Grease-Squeak6-Core.package/SmallInteger.extension/instance/greaseByteAt..st new file mode 100644 index 00000000..50dd9644 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/SmallInteger.extension/instance/greaseByteAt..st @@ -0,0 +1,14 @@ +*Grease-Squeak6-Core +greaseByteAt: n + "Answer the value of an apparent byte-indexable field in the receiver, + analogous to the large integers, which are organized as bytes." + + n = 1 + ifTrue: [ + "Negate carefully in case the receiver is SmallInteger minVal" + ^ self < 0 + ifTrue: [ -256 - self bitAnd: 255 ] + ifFalse: [ self bitAnd: 255 ] ]. + ^ self < 0 + ifTrue: [ (-256 - self bitShift: -8) + 1 byteAt: n - 1 ] + ifFalse: [ (self bitShift: 8 - (n bitShift: 3)) bitAnd: 255 ] \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/SmallInteger.extension/instance/greaseBytesCount.st b/repository/Grease-Squeak6-Core.package/SmallInteger.extension/instance/greaseBytesCount.st new file mode 100644 index 00000000..cb39e69c --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/SmallInteger.extension/instance/greaseBytesCount.st @@ -0,0 +1,25 @@ +*Grease-Squeak6-Core +greaseBytesCount + "Answer the number of indexable fields in the receiver. This value is the + same as the largest legal subscript. Included so that a SmallInteger can + behave like a LargePositiveInteger or LargeNegativeInteger." + + "32768 == (1 bitShift: 15)" + "32768 bytesCount >>> 2" + + "65536 == (1 bitShift: 16)" + "65536 bytesCount >>> 3" + + | value length | + length := 1. + value := self. + value >= 0 + ifTrue: + [[value > 255] whileTrue: + [value := value bitShift: -8. + length := length + 1]] + ifFalse: + [[value < -255] whileTrue: + [value := value bitShift: -8. + length := length + 1]]. + ^length \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/SmallInteger.extension/properties.json b/repository/Grease-Squeak6-Core.package/SmallInteger.extension/properties.json new file mode 100644 index 00000000..ca9cd21f --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/SmallInteger.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "SmallInteger" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/SocketStream.extension/properties.json b/repository/Grease-Squeak6-Core.package/SocketStream.extension/properties.json index 4800d84e..797e09e5 100644 --- a/repository/Grease-Squeak6-Core.package/SocketStream.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/SocketStream.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "SocketStream" } + "name" : "SocketStream" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/String.extension/properties.json b/repository/Grease-Squeak6-Core.package/String.extension/properties.json index c2138507..b20f2de3 100644 --- a/repository/Grease-Squeak6-Core.package/String.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/String.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "String" } + "name" : "String" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/Symbol.extension/properties.json b/repository/Grease-Squeak6-Core.package/Symbol.extension/properties.json index 565e67b0..8c6bce81 100644 --- a/repository/Grease-Squeak6-Core.package/Symbol.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/Symbol.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "Symbol" } + "name" : "Symbol" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/WriteStream.extension/properties.json b/repository/Grease-Squeak6-Core.package/WriteStream.extension/properties.json index 239b3632..8688e80d 100644 --- a/repository/Grease-Squeak6-Core.package/WriteStream.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/WriteStream.extension/properties.json @@ -1,2 +1,3 @@ { - "name" : "WriteStream" } + "name" : "WriteStream" +} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/properties.json b/repository/Grease-Squeak6-Core.package/properties.json index f037444a..6f31cf5a 100644 --- a/repository/Grease-Squeak6-Core.package/properties.json +++ b/repository/Grease-Squeak6-Core.package/properties.json @@ -1,2 +1 @@ -{ - } +{ } \ No newline at end of file From 9f6bc4147d93ef8b2628458fbe6ac89566ca90ad Mon Sep 17 00:00:00 2001 From: Max Leske Date: Sun, 29 Oct 2023 15:37:23 +0100 Subject: [PATCH 142/254] LargeInteger does not exist in Squeak Move extensions from LargeInteger to LargePositiveInteger --- .../LargeInteger.extension/properties.json | 3 --- .../instance/greaseByteAt..st | 0 .../instance/greaseBytesCount.st | 0 .../LargePositiveInteger.extension/properties.json | 3 +++ 4 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 repository/Grease-Squeak6-Core.package/LargeInteger.extension/properties.json rename repository/Grease-Squeak6-Core.package/{LargeInteger.extension => LargePositiveInteger.extension}/instance/greaseByteAt..st (100%) rename repository/Grease-Squeak6-Core.package/{LargeInteger.extension => LargePositiveInteger.extension}/instance/greaseBytesCount.st (100%) create mode 100644 repository/Grease-Squeak6-Core.package/LargePositiveInteger.extension/properties.json diff --git a/repository/Grease-Squeak6-Core.package/LargeInteger.extension/properties.json b/repository/Grease-Squeak6-Core.package/LargeInteger.extension/properties.json deleted file mode 100644 index 029bc676..00000000 --- a/repository/Grease-Squeak6-Core.package/LargeInteger.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "LargeInteger" -} \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/LargeInteger.extension/instance/greaseByteAt..st b/repository/Grease-Squeak6-Core.package/LargePositiveInteger.extension/instance/greaseByteAt..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/LargeInteger.extension/instance/greaseByteAt..st rename to repository/Grease-Squeak6-Core.package/LargePositiveInteger.extension/instance/greaseByteAt..st diff --git a/repository/Grease-Squeak6-Core.package/LargeInteger.extension/instance/greaseBytesCount.st b/repository/Grease-Squeak6-Core.package/LargePositiveInteger.extension/instance/greaseBytesCount.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/LargeInteger.extension/instance/greaseBytesCount.st rename to repository/Grease-Squeak6-Core.package/LargePositiveInteger.extension/instance/greaseBytesCount.st diff --git a/repository/Grease-Squeak6-Core.package/LargePositiveInteger.extension/properties.json b/repository/Grease-Squeak6-Core.package/LargePositiveInteger.extension/properties.json new file mode 100644 index 00000000..4fea44e2 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/LargePositiveInteger.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "LargePositiveInteger" +} \ No newline at end of file From 8963e58339483e9b1e271dd0084e1008be5076a6 Mon Sep 17 00:00:00 2001 From: Max Leske Date: Sun, 29 Oct 2023 15:39:01 +0100 Subject: [PATCH 143/254] LargeInteger does not exist in Squeak Move extensions from LargeInteger to LargePositiveInteger --- .../LargeInteger.extension/properties.json | 3 --- .../instance/greaseByteAt..st | 0 .../instance/greaseBytesCount.st | 0 .../LargePositiveInteger.extension/properties.json | 3 +++ 4 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 repository/Grease-Squeak5-Core.package/LargeInteger.extension/properties.json rename repository/Grease-Squeak5-Core.package/{LargeInteger.extension => LargePositiveInteger.extension}/instance/greaseByteAt..st (100%) rename repository/Grease-Squeak5-Core.package/{LargeInteger.extension => LargePositiveInteger.extension}/instance/greaseBytesCount.st (100%) create mode 100644 repository/Grease-Squeak5-Core.package/LargePositiveInteger.extension/properties.json diff --git a/repository/Grease-Squeak5-Core.package/LargeInteger.extension/properties.json b/repository/Grease-Squeak5-Core.package/LargeInteger.extension/properties.json deleted file mode 100644 index 029bc676..00000000 --- a/repository/Grease-Squeak5-Core.package/LargeInteger.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "LargeInteger" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/LargeInteger.extension/instance/greaseByteAt..st b/repository/Grease-Squeak5-Core.package/LargePositiveInteger.extension/instance/greaseByteAt..st similarity index 100% rename from repository/Grease-Squeak5-Core.package/LargeInteger.extension/instance/greaseByteAt..st rename to repository/Grease-Squeak5-Core.package/LargePositiveInteger.extension/instance/greaseByteAt..st diff --git a/repository/Grease-Squeak5-Core.package/LargeInteger.extension/instance/greaseBytesCount.st b/repository/Grease-Squeak5-Core.package/LargePositiveInteger.extension/instance/greaseBytesCount.st similarity index 100% rename from repository/Grease-Squeak5-Core.package/LargeInteger.extension/instance/greaseBytesCount.st rename to repository/Grease-Squeak5-Core.package/LargePositiveInteger.extension/instance/greaseBytesCount.st diff --git a/repository/Grease-Squeak5-Core.package/LargePositiveInteger.extension/properties.json b/repository/Grease-Squeak5-Core.package/LargePositiveInteger.extension/properties.json new file mode 100644 index 00000000..4fea44e2 --- /dev/null +++ b/repository/Grease-Squeak5-Core.package/LargePositiveInteger.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "LargePositiveInteger" +} \ No newline at end of file From 4c66a68da78ca0fd16de4cebd8fd436ccd0fe803 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 30 Oct 2023 22:10:38 +0100 Subject: [PATCH 144/254] add implementation in GemStone for Integer>>greaseByteAt: and Integer>>greaseByteCount on SmallInteger and LargeInteger --- .../LargeInteger.extension/instance/greaseByteAt..st | 4 ++++ .../LargeInteger.extension/instance/greaseByteCount.st | 4 ++++ .../LargeInteger.extension/properties.json | 2 ++ .../SmallInteger.extension/instance/greaseByteAt..st | 4 ++++ .../SmallInteger.extension/instance/greaseByteCount.st | 4 ++++ .../SmallInteger.extension/properties.json | 2 ++ 6 files changed, 20 insertions(+) create mode 100644 repository/Grease-GemStone-Core.package/LargeInteger.extension/instance/greaseByteAt..st create mode 100644 repository/Grease-GemStone-Core.package/LargeInteger.extension/instance/greaseByteCount.st create mode 100644 repository/Grease-GemStone-Core.package/LargeInteger.extension/properties.json create mode 100644 repository/Grease-GemStone-Core.package/SmallInteger.extension/instance/greaseByteAt..st create mode 100644 repository/Grease-GemStone-Core.package/SmallInteger.extension/instance/greaseByteCount.st create mode 100644 repository/Grease-GemStone-Core.package/SmallInteger.extension/properties.json diff --git a/repository/Grease-GemStone-Core.package/LargeInteger.extension/instance/greaseByteAt..st b/repository/Grease-GemStone-Core.package/LargeInteger.extension/instance/greaseByteAt..st new file mode 100644 index 00000000..315c86a0 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/LargeInteger.extension/instance/greaseByteAt..st @@ -0,0 +1,4 @@ +*grease-gemstone-core +greaseByteAt: index + + ^ self digitAt: index \ No newline at end of file diff --git a/repository/Grease-GemStone-Core.package/LargeInteger.extension/instance/greaseByteCount.st b/repository/Grease-GemStone-Core.package/LargeInteger.extension/instance/greaseByteCount.st new file mode 100644 index 00000000..62b61a78 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/LargeInteger.extension/instance/greaseByteCount.st @@ -0,0 +1,4 @@ +*grease-gemstone-core +greaseByteCount + + ^ self digitLength \ No newline at end of file diff --git a/repository/Grease-GemStone-Core.package/LargeInteger.extension/properties.json b/repository/Grease-GemStone-Core.package/LargeInteger.extension/properties.json new file mode 100644 index 00000000..187ee5a7 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/LargeInteger.extension/properties.json @@ -0,0 +1,2 @@ +{ + "name" : "LargeInteger" } diff --git a/repository/Grease-GemStone-Core.package/SmallInteger.extension/instance/greaseByteAt..st b/repository/Grease-GemStone-Core.package/SmallInteger.extension/instance/greaseByteAt..st new file mode 100644 index 00000000..315c86a0 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/SmallInteger.extension/instance/greaseByteAt..st @@ -0,0 +1,4 @@ +*grease-gemstone-core +greaseByteAt: index + + ^ self digitAt: index \ No newline at end of file diff --git a/repository/Grease-GemStone-Core.package/SmallInteger.extension/instance/greaseByteCount.st b/repository/Grease-GemStone-Core.package/SmallInteger.extension/instance/greaseByteCount.st new file mode 100644 index 00000000..62b61a78 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/SmallInteger.extension/instance/greaseByteCount.st @@ -0,0 +1,4 @@ +*grease-gemstone-core +greaseByteCount + + ^ self digitLength \ No newline at end of file diff --git a/repository/Grease-GemStone-Core.package/SmallInteger.extension/properties.json b/repository/Grease-GemStone-Core.package/SmallInteger.extension/properties.json new file mode 100644 index 00000000..d2d9ab4a --- /dev/null +++ b/repository/Grease-GemStone-Core.package/SmallInteger.extension/properties.json @@ -0,0 +1,2 @@ +{ + "name" : "SmallInteger" } From f7d9822060308c22db43eaa536f7bcba955075d2 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 30 Oct 2023 22:15:29 +0100 Subject: [PATCH 145/254] correct typo in method name --- .../instance/{greaseByteCount.st => greaseBytesCount.st} | 2 +- .../instance/{greaseByteCount.st => greaseBytesCount.st} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename repository/Grease-GemStone-Core.package/LargeInteger.extension/instance/{greaseByteCount.st => greaseBytesCount.st} (71%) rename repository/Grease-GemStone-Core.package/SmallInteger.extension/instance/{greaseByteCount.st => greaseBytesCount.st} (71%) diff --git a/repository/Grease-GemStone-Core.package/LargeInteger.extension/instance/greaseByteCount.st b/repository/Grease-GemStone-Core.package/LargeInteger.extension/instance/greaseBytesCount.st similarity index 71% rename from repository/Grease-GemStone-Core.package/LargeInteger.extension/instance/greaseByteCount.st rename to repository/Grease-GemStone-Core.package/LargeInteger.extension/instance/greaseBytesCount.st index 62b61a78..1a552749 100644 --- a/repository/Grease-GemStone-Core.package/LargeInteger.extension/instance/greaseByteCount.st +++ b/repository/Grease-GemStone-Core.package/LargeInteger.extension/instance/greaseBytesCount.st @@ -1,4 +1,4 @@ *grease-gemstone-core -greaseByteCount +greaseBytesCount ^ self digitLength \ No newline at end of file diff --git a/repository/Grease-GemStone-Core.package/SmallInteger.extension/instance/greaseByteCount.st b/repository/Grease-GemStone-Core.package/SmallInteger.extension/instance/greaseBytesCount.st similarity index 71% rename from repository/Grease-GemStone-Core.package/SmallInteger.extension/instance/greaseByteCount.st rename to repository/Grease-GemStone-Core.package/SmallInteger.extension/instance/greaseBytesCount.st index 62b61a78..1a552749 100644 --- a/repository/Grease-GemStone-Core.package/SmallInteger.extension/instance/greaseByteCount.st +++ b/repository/Grease-GemStone-Core.package/SmallInteger.extension/instance/greaseBytesCount.st @@ -1,4 +1,4 @@ *grease-gemstone-core -greaseByteCount +greaseBytesCount ^ self digitLength \ No newline at end of file From e5fedf3d1c9f08bbf95fdca51d4272d388d45f8f Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Fri, 24 Nov 2023 11:58:05 +0100 Subject: [PATCH 146/254] Use ClassFactoryForTestCase --- .../GRSlimeTest.class/instance/compile.in..st | 2 +- .../instance/defineClass.superclass..st | 12 +++++++++--- .../GRSlimeTest.class/instance/setUp.st | 1 + .../GRSlimeTest.class/instance/tearDown.st | 9 ++++++--- .../GRSlimeTest.class/properties.json | 3 ++- .../monticello.meta/categories.st | 2 +- 6 files changed, 20 insertions(+), 9 deletions(-) diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/compile.in..st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/compile.in..st index b03bce12..07fb0fe1 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/compile.in..st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/compile.in..st @@ -1,3 +1,3 @@ accessing-code compile: aString in: aClass - ^ aClass compile: aString classified: #(accessing) \ No newline at end of file + ^ aClass compile: aString classified: #accessing \ No newline at end of file diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st index 17204f23..203bde3f 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st @@ -1,12 +1,18 @@ accessing-code defineClass: aClassSymbol superclass: aSuperSymbol | class | - model defineClass: aSuperSymbol , ' subclass: #' , aClassSymbol , ' + class := factory make: [ :aBuilder | + aBuilder + name: aClassSymbol; + superclass: aSuperSymbol; + package: self category ] + + "aSuperSymbol , ' subclass: #' , aClassSymbol , ' instanceVariableNames: '''' classVariableNames: '''' poolDictionaries: '''' - category: ''' , self category , ''''. - class := model classNamed: aClassSymbol. + category: ''' , self category , ''''". + "class := model classNamed: aClassSymbol." environment addClass: class; addClass: class theMetaClass. diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/setUp.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/setUp.st index 0e7cc221..ee5004c0 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/setUp.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/setUp.st @@ -1,5 +1,6 @@ running setUp super setUp. + factory := ClassFactoryForTestCase new. model := RBNamespace new. environment := RBClassEnvironment new \ No newline at end of file diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/tearDown.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/tearDown.st index f0cb9be4..a1173eeb 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/tearDown.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/tearDown.st @@ -1,7 +1,10 @@ running tearDown + super tearDown. - (Smalltalk organization listAtCategoryNamed: self category) do:[ :e | - SmalltalkImage current removeClassNamed: e ]. + factory cleanUp. + "package := (Smalltalk organization packageNamed: self category). + package classes do:[ :e | + SmalltalkImage current removeClassNamed: e name ]. Smalltalk organization - removeCategory: self category \ No newline at end of file + removePackage: package" \ No newline at end of file diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/properties.json b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/properties.json index e01b8a06..b2e89aff 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/properties.json +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/properties.json @@ -7,7 +7,8 @@ "classvars" : [ ], "instvars" : [ "model", - "environment" + "environment", + "factory" ], "name" : "GRSlimeTest", "type" : "normal" diff --git a/repository/Grease-Tests-Slime.package/monticello.meta/categories.st b/repository/Grease-Tests-Slime.package/monticello.meta/categories.st index d34cfb4a..a49916c2 100644 --- a/repository/Grease-Tests-Slime.package/monticello.meta/categories.st +++ b/repository/Grease-Tests-Slime.package/monticello.meta/categories.st @@ -1 +1 @@ -SystemOrganization addCategory: #'Grease-Tests-Slime'! +self packageOrganizer ensurePackage: #'Grease-Tests-Slime' withTags: #()! From d46d1d10e92d7655d669080a8bfe9ba0e16af506 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Fri, 24 Nov 2023 13:14:43 +0100 Subject: [PATCH 147/254] keep slime tests working in Pharo versions older than 12 --- .../GRSlimeTest.class/instance/compile.in..st | 6 ++++- .../instance/defineClass.superclass..st | 26 ++++++++++--------- .../GRSlimeTest.class/instance/tearDown.st | 12 +++++---- 3 files changed, 26 insertions(+), 18 deletions(-) diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/compile.in..st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/compile.in..st index 07fb0fe1..cb2577d5 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/compile.in..st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/compile.in..st @@ -1,3 +1,7 @@ accessing-code compile: aString in: aClass - ^ aClass compile: aString classified: #accessing \ No newline at end of file + + GRPlatform current + compile: aString + into: aClass + classified: #accessing \ No newline at end of file diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st index 203bde3f..e959a7d0 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st @@ -1,18 +1,20 @@ accessing-code defineClass: aClassSymbol superclass: aSuperSymbol | class | - class := factory make: [ :aBuilder | - aBuilder - name: aClassSymbol; - superclass: aSuperSymbol; - package: self category ] - - "aSuperSymbol , ' subclass: #' , aClassSymbol , ' - instanceVariableNames: '''' - classVariableNames: '''' - poolDictionaries: '''' - category: ''' , self category , ''''". - "class := model classNamed: aClassSymbol." + SystemVersion current major >= 12 + ifTrue:[ + class := factory make: [ :aBuilder | + aBuilder + name: aClassSymbol; + superclass: (Smalltalk at: aSuperSymbol); + package: self category ] ] + ifFalse:[ + aSuperSymbol , ' subclass: #' , aClassSymbol , ' + instanceVariableNames: '''' + classVariableNames: '''' + poolDictionaries: '''' + category: ''' , self category , ''''. + class := model classNamed: aClassSymbol ]. environment addClass: class; addClass: class theMetaClass. diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/tearDown.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/tearDown.st index a1173eeb..a230bfae 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/tearDown.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/tearDown.st @@ -1,10 +1,12 @@ running tearDown + | package | super tearDown. factory cleanUp. - "package := (Smalltalk organization packageNamed: self category). - package classes do:[ :e | - SmalltalkImage current removeClassNamed: e name ]. - Smalltalk organization - removePackage: package" \ No newline at end of file + SystemVersion current major >= 12 ifFalse:[ + package := (Smalltalk organization packageNamed: self category). + package classes do:[ :e | + SmalltalkImage current removeClassNamed: e name ]. + Smalltalk organization + removePackage: package ] \ No newline at end of file From 72efc26de58b19a3a10d47f8522cd7a148788d26 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Fri, 24 Nov 2023 13:20:20 +0100 Subject: [PATCH 148/254] Fix broken parts in Pharo versions older than 12 --- .../instance/defineClass.superclass..st | 2 +- .../GRSlimeTest.class/instance/tearDown.st | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st index e959a7d0..23a3f688 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st @@ -9,7 +9,7 @@ defineClass: aClassSymbol superclass: aSuperSymbol superclass: (Smalltalk at: aSuperSymbol); package: self category ] ] ifFalse:[ - aSuperSymbol , ' subclass: #' , aClassSymbol , ' + model defineClass: aSuperSymbol , ' subclass: #' , aClassSymbol , ' instanceVariableNames: '''' classVariableNames: '''' poolDictionaries: '''' diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/tearDown.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/tearDown.st index a230bfae..cffb7cde 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/tearDown.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/tearDown.st @@ -1,12 +1,10 @@ running tearDown - | package | super tearDown. factory cleanUp. SystemVersion current major >= 12 ifFalse:[ - package := (Smalltalk organization packageNamed: self category). - package classes do:[ :e | - SmalltalkImage current removeClassNamed: e name ]. - Smalltalk organization - removePackage: package ] \ No newline at end of file + (Smalltalk organization listAtCategoryNamed: self category) do:[ :e | + SmalltalkImage current removeClassNamed: e ]. + Smalltalk organization + removeCategory: self category ] \ No newline at end of file From dce1ac7cec36effe1ac53b05fd90d94d52a5347e Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Fri, 24 Nov 2023 15:41:53 +0100 Subject: [PATCH 149/254] Workaround for bug when registering the testclass with a name, it was registered in Undeclared --- .../GRSlimeTest.class/instance/defineClass.superclass..st | 7 ++++--- .../GRSlimeTest.class/instance/tearDown.st | 6 ++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st index 23a3f688..4cc8a48d 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st @@ -1,11 +1,12 @@ accessing-code defineClass: aClassSymbol superclass: aSuperSymbol | class | + SystemVersion current major >= 12 ifTrue:[ class := factory make: [ :aBuilder | aBuilder - name: aClassSymbol; + "name: aClassSymbol;" superclass: (Smalltalk at: aSuperSymbol); package: self category ] ] ifFalse:[ @@ -14,8 +15,8 @@ defineClass: aClassSymbol superclass: aSuperSymbol classVariableNames: '''' poolDictionaries: '''' category: ''' , self category , ''''. - class := model classNamed: aClassSymbol ]. - environment + class := model classNamed: aClassSymbol ]. + environment addClass: class; addClass: class theMetaClass. ^ class \ No newline at end of file diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/tearDown.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/tearDown.st index cffb7cde..996c5205 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/tearDown.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/tearDown.st @@ -4,7 +4,5 @@ tearDown super tearDown. factory cleanUp. SystemVersion current major >= 12 ifFalse:[ - (Smalltalk organization listAtCategoryNamed: self category) do:[ :e | - SmalltalkImage current removeClassNamed: e ]. - Smalltalk organization - removeCategory: self category ] \ No newline at end of file + (Smalltalk organization listAtCategoryNamed: self category) do:[ :e | SmalltalkImage current removeClassNamed: e ]. + Smalltalk organization removeCategory: self category ] \ No newline at end of file From 5ba98abe4d82fd90d2bee029c767d184ba968592 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sat, 23 Dec 2023 12:56:42 +0100 Subject: [PATCH 150/254] Add GRPlatform>>sizeOfFile: --- .../GRPlatform.class/instance/sizeOfFile..st | 4 ++++ .../GRPharoPlatform.class/instance/sizeOfFile..st | 4 ++++ .../GRPlatformTest.class/instance/testSizeOfFile.st | 9 +++++++++ 3 files changed, 17 insertions(+) create mode 100644 repository/Grease-Core.package/GRPlatform.class/instance/sizeOfFile..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/sizeOfFile..st create mode 100644 repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testSizeOfFile.st diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/sizeOfFile..st b/repository/Grease-Core.package/GRPlatform.class/instance/sizeOfFile..st new file mode 100644 index 00000000..670d78ab --- /dev/null +++ b/repository/Grease-Core.package/GRPlatform.class/instance/sizeOfFile..st @@ -0,0 +1,4 @@ +files +sizeOfFile: aString + + self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/sizeOfFile..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/sizeOfFile..st new file mode 100644 index 00000000..f7139913 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/sizeOfFile..st @@ -0,0 +1,4 @@ +files +sizeOfFile: aString + + ^ aString asFileReference size \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testSizeOfFile.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testSizeOfFile.st new file mode 100644 index 00000000..55677c3a --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testSizeOfFile.st @@ -0,0 +1,9 @@ +tests-files +testSizeOfFile + | theFileName | + self + writeToFile: 'test me' + withFileNameDo:[ :fileName | + self assert: (GRPlatform current sizeOfFile: fileName) equals: 7. + theFileName := fileName ]. + self deny: (GRPlatform current fileExists: theFileName) \ No newline at end of file From ce8b3376162acaf26683134c10ac7fc55926be5d Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sat, 23 Dec 2023 13:31:41 +0100 Subject: [PATCH 151/254] Add GRPlatform>>sizeOfFile: for GemStone --- .../GRGemStonePlatform.class/instance/base64Encode..st | 2 +- .../instance/contentsOfFile.binary..st | 2 +- .../GRGemStonePlatform.class/instance/directoriesIn..st | 2 +- .../instance/ensureExistenceOfFolder..st | 2 +- .../GRGemStonePlatform.class/instance/fileExists..st | 2 +- .../GRGemStonePlatform.class/instance/filesIn..st | 2 +- .../GRGemStonePlatform.class/instance/localNameOf..st | 2 +- .../GRGemStonePlatform.class/instance/pathSeparator.st | 2 +- .../instance/readFileStreamOn.do.binary..st | 2 +- .../GRGemStonePlatform.class/instance/sizeOfFile..st | 4 ++++ .../instance/write.toFile.inFolder..st | 2 +- .../instance/writeFileStreamOn.do.binary..st | 2 +- 12 files changed, 15 insertions(+), 11 deletions(-) create mode 100644 repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/sizeOfFile..st diff --git a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/base64Encode..st b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/base64Encode..st index 4a3631f8..407deefc 100644 --- a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/base64Encode..st +++ b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/base64Encode..st @@ -1,3 +1,3 @@ encoding base64Encode: aByteArray - ^ (Base64MimeConverter mimeEncode: aByteArray readStream) contents + ^ (Base64MimeConverter mimeEncode: aByteArray readStream) contents \ No newline at end of file diff --git a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/contentsOfFile.binary..st b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/contentsOfFile.binary..st index 43ed36e9..35fa6b90 100644 --- a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/contentsOfFile.binary..st +++ b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/contentsOfFile.binary..st @@ -1,3 +1,3 @@ -file-library +files contentsOfFile: aString binary: aBoolean ^ self fileStreamOn: aString do: [ :stream | stream contents ] binary: aBoolean \ No newline at end of file diff --git a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/directoriesIn..st b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/directoriesIn..st index 76f3cd81..fbbef96a 100644 --- a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/directoriesIn..st +++ b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/directoriesIn..st @@ -1,4 +1,4 @@ -file-library +files directoriesIn: aPathString "Answer a collection of absolute paths for all the directories (no files) in the directory given by aPathString must not include directory names that start with ." diff --git a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/ensureExistenceOfFolder..st b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/ensureExistenceOfFolder..st index a55b20cc..bece8020 100644 --- a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/ensureExistenceOfFolder..st +++ b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/ensureExistenceOfFolder..st @@ -1,4 +1,4 @@ -file-library +files ensureExistenceOfFolder: aString "creates a folder named aString in the default server directory" ServerFileDirectory default assureExistenceOfPath: aString \ No newline at end of file diff --git a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/fileExists..st b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/fileExists..st index f5f8c691..2c0ce1a0 100644 --- a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/fileExists..st +++ b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/fileExists..st @@ -1,3 +1,3 @@ -file-library +files fileExists: aString ^ GsFile existsOnServer: aString \ No newline at end of file diff --git a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/filesIn..st b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/filesIn..st index 6c23b983..c7e49a15 100644 --- a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/filesIn..st +++ b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/filesIn..st @@ -1,4 +1,4 @@ -file-library +files filesIn: aPathString "Return a collection of absolute paths for all the files (no directories) in the directory given by aPathString must not include file names that start with ." diff --git a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/localNameOf..st b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/localNameOf..st index 95ce9d8a..8881eb79 100644 --- a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/localNameOf..st +++ b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/localNameOf..st @@ -1,3 +1,3 @@ -file-library +files localNameOf: aFilename ^(ServerFileDirectory on: aFilename) localName \ No newline at end of file diff --git a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/pathSeparator.st b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/pathSeparator.st index 733cfdf1..734b957c 100644 --- a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/pathSeparator.st +++ b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/pathSeparator.st @@ -1,3 +1,3 @@ -file-library +files pathSeparator ^ FileDirectory pathNameDelimiter asString \ No newline at end of file diff --git a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/readFileStreamOn.do.binary..st b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/readFileStreamOn.do.binary..st index cf66b203..09467ea7 100644 --- a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/readFileStreamOn.do.binary..st +++ b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/readFileStreamOn.do.binary..st @@ -1,4 +1,4 @@ -file-library +files readFileStreamOn: aString do: aBlock binary: aBoolean | stream dir file | [ diff --git a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/sizeOfFile..st b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/sizeOfFile..st new file mode 100644 index 00000000..713229bd --- /dev/null +++ b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/sizeOfFile..st @@ -0,0 +1,4 @@ +files +sizeOfFile: aPathString + + ^ GsFile sizeOfOnServer: aPathString \ No newline at end of file diff --git a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/write.toFile.inFolder..st b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/write.toFile.inFolder..st index e0a494a0..55a23848 100644 --- a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/write.toFile.inFolder..st +++ b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/write.toFile.inFolder..st @@ -1,4 +1,4 @@ -file-library +files write: aStringOrByteArray toFile: aFileNameString inFolder: aFolderString "writes aStringOrByteArray to a file named aFilenameString in the folder aFolderString" diff --git a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/writeFileStreamOn.do.binary..st b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/writeFileStreamOn.do.binary..st index 5011e5cc..99bfc2e1 100644 --- a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/writeFileStreamOn.do.binary..st +++ b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/writeFileStreamOn.do.binary..st @@ -1,4 +1,4 @@ -file-library +files writeFileStreamOn: fileName do: aBlock binary: isBinary | stream | stream := BinaryOrTextFile open: fileName mode: 'w+b' onClient: false. From e99e20d3aa38b516440a9224b09b7315f702e08a Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sat, 23 Dec 2023 13:35:37 +0100 Subject: [PATCH 152/254] Add GRPlatform>>sizeOfFile: for older Pharo versions --- .../GRPharoPlatform.class/instance/sizeOfFile..st | 4 ++++ .../GRPharoPlatform.class/instance/sizeOfFile..st | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/sizeOfFile..st create mode 100644 repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/sizeOfFile..st diff --git a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/sizeOfFile..st b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/sizeOfFile..st new file mode 100644 index 00000000..f7139913 --- /dev/null +++ b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/sizeOfFile..st @@ -0,0 +1,4 @@ +files +sizeOfFile: aString + + ^ aString asFileReference size \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/sizeOfFile..st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/sizeOfFile..st new file mode 100644 index 00000000..f7139913 --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/sizeOfFile..st @@ -0,0 +1,4 @@ +files +sizeOfFile: aString + + ^ aString asFileReference size \ No newline at end of file From d36e0730e1f514f1becde9f4e5aefaacc2d52626 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sat, 23 Dec 2023 14:30:46 +0100 Subject: [PATCH 153/254] GRPlatform>>sizeOfFile in Squeak --- .../GRSqueakPlatform.class/instance/sizeOfFile..st | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/sizeOfFile..st diff --git a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/sizeOfFile..st b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/sizeOfFile..st new file mode 100644 index 00000000..2beda3e4 --- /dev/null +++ b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/sizeOfFile..st @@ -0,0 +1,4 @@ +files +sizeOfFile: aString + + ^ aString asDirectoryEntry fileSize \ No newline at end of file From 0c2e8f278f1345f3a316ef36438cd71ecc055881 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sat, 23 Dec 2023 14:33:14 +0100 Subject: [PATCH 154/254] GRPlatform>>sizeOfFile in Squeak --- .../GRSqueakPlatform.class/instance/sizeOfFile..st | 4 ++++ .../GRSqueakPlatform.class/instance/sizeOfFile..st | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/sizeOfFile..st create mode 100644 repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/sizeOfFile..st diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/sizeOfFile..st b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/sizeOfFile..st new file mode 100644 index 00000000..2beda3e4 --- /dev/null +++ b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/sizeOfFile..st @@ -0,0 +1,4 @@ +files +sizeOfFile: aString + + ^ aString asDirectoryEntry fileSize \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/sizeOfFile..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/sizeOfFile..st new file mode 100644 index 00000000..2beda3e4 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/sizeOfFile..st @@ -0,0 +1,4 @@ +files +sizeOfFile: aString + + ^ aString asDirectoryEntry fileSize \ No newline at end of file From 823f3f4a74ae8efb73b72571d5e22d51ad5ec6b6 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Wed, 27 Dec 2023 21:23:46 +0100 Subject: [PATCH 155/254] Fix slime tests in Pharo 12 --- .../instance/testBlockFormatting.st | 20 +++++++++---------- .../instance/testParensFormatting.st | 8 ++++---- .../instance/testReturnFormatting.st | 8 ++++---- .../instance/testTempsFormatting.st | 12 +++++------ .../testUsesCanPerformOrUnderstand.st | 12 +++++------ .../instance/testUsesClassForHash.st | 8 ++++---- .../instance/testUsesCurlyBraceArrays.st | 8 ++++---- .../instance/testUsesLiteralByteArrays.st | 8 ++++---- 8 files changed, 42 insertions(+), 42 deletions(-) diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testBlockFormatting.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testBlockFormatting.st index b29f187f..d20133b3 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testBlockFormatting.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testBlockFormatting.st @@ -4,27 +4,27 @@ testBlockFormatting class := self defineClass: #GRSlimeMockObject superclass: #GRObject. - class + self compile: 'invalid1 [:a ]' - classified: #(accessing). - class + in: class. + self compile: 'invalid2 [:a | ]' - classified: #(accessing). - class + in: class. + self compile: 'invalid3 [ :b]' - classified: #(accessing). + in: class. - class + self compile: 'invalid4 [ :a| ]' - classified: #(accessing). - class + in: class. + self compile: 'invalid5 [ :a |a ]' - classified: #(accessing). + in: class. self runRule: GRBlockFormattingRule selectors: #(invalid1 invalid2 invalid3 invalid4 invalid5) \ No newline at end of file diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testParensFormatting.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testParensFormatting.st index 4f64398f..e3a5b541 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testParensFormatting.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testParensFormatting.st @@ -4,14 +4,14 @@ testParensFormatting class := self defineClass: #GRSlimeMockObject superclass: #GRObject. - class + self compile: 'invalid1 ( 1 + 2)' - classified: #(accessing). - class + in: class. + self compile: 'invalid2 (1 + 2 )' - classified: #(accessing). + in: class. self runRule: GRParensFormattingRule selectors: #(invalid1 invalid2) \ No newline at end of file diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testReturnFormatting.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testReturnFormatting.st index e9b3d738..3143391b 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testReturnFormatting.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testReturnFormatting.st @@ -4,14 +4,14 @@ testReturnFormatting class := self defineClass: #GRSlimeMockObject superclass: #GRObject. - class + self compile: 'invalid1 ^1' - classified: #(accessing). - class + in: class. + self compile: 'invalid2 ^ 2' - classified: #(accessing). + in: class. self runRule: GRReturnFormattingRule selectors: #(invalid1 invalid2) \ No newline at end of file diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testTempsFormatting.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testTempsFormatting.st index e8a4bb58..ae200d7b 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testTempsFormatting.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testTempsFormatting.st @@ -4,18 +4,18 @@ testTempsFormatting class := self defineClass: #GRSlimeMockObject superclass: #GRObject. - class + self compile: 'invalid1 | a|' - classified: #(accessing). - class + in: class. + self compile: 'invalid2 |a |' - classified: #(accessing). - class + in: class. + self compile: 'invalid3 | a b |' - classified: #(accessing). + in: class. self runRule: GRTempsFormattingRule selectors: #(invalid1 invalid2 invalid3) \ No newline at end of file diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesCanPerformOrUnderstand.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesCanPerformOrUnderstand.st index 38c04498..8c8e5273 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesCanPerformOrUnderstand.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesCanPerformOrUnderstand.st @@ -4,18 +4,18 @@ testUsesCanPerformOrUnderstand class := self defineClass: #GRSlimeMockObject superclass: #GRObject. - class + self compile: 'invalid1 Object class canUnderstand: #new' - classified: #(accessing). - class + in: class. + self compile: 'invalid2 Object class canPerform: #new' - classified: #(accessing). - class + in: class. + self compile: 'valid Object respondsTo: #new' - classified: #(accessing). + in: class. self runRule: GRUsesCanPerformOrUnderstandRule selectors: #(invalid1 invalid2) \ No newline at end of file diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesClassForHash.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesClassForHash.st index d61b8eb0..a20c01ad 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesClassForHash.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesClassForHash.st @@ -4,14 +4,14 @@ testUsesClassForHash class := self defineClass: #GRSlimeMockObject superclass: #GRObject. - class + self compile: 'foo ^ super hash bitXor: self class hash' - classified: #(accessing). - class + in: class. + self compile: 'hash ^ super hash bitXor: self class hash' - classified: #(accessing). + in: class. self runRule: GRUsesClassForHashRule selectors: #(hash) \ No newline at end of file diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesCurlyBraceArrays.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesCurlyBraceArrays.st index 61084706..38406441 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesCurlyBraceArrays.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesCurlyBraceArrays.st @@ -6,14 +6,14 @@ testUsesCurlyBraceArrays class := self defineClass: #GRSlimeMockObject superclass: #GRObject. - class + self compile: 'invalid ^ { self foo. self bar }' - classified: #(accessing). - class + in: class. + self compile: 'valid ^ Array new' - classified: #(accessing). + in: class. self runRule: GRUsesCurlyBraceArraysRule selectors: #(invalid) \ No newline at end of file diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesLiteralByteArrays.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesLiteralByteArrays.st index 556f4d77..bc042f82 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesLiteralByteArrays.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesLiteralByteArrays.st @@ -6,14 +6,14 @@ testUsesLiteralByteArrays class := self defineClass: #GRSlimeMockObject superclass: #GRObject. - class + self compile: 'invalid ^ #[ 1 2 3 ]' - classified: #(accessing). - class + in: class. + self compile: 'valid ^ ByteArray with: 1 with: 2 with: 3' - classified: #(accessing). + in: class. self runRule: GRUsesLiteralByteArraysRule selectors: #(invalid) \ No newline at end of file From 5b89188d4eb1b5b68a00a4bf94538eb556384291 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Wed, 27 Dec 2023 22:06:26 +0100 Subject: [PATCH 156/254] generated class in test cannot be named (or it is otherwise registered in the package) --- .../GRSlimeTest.class/instance/defineClass.superclass..st | 3 +-- .../GRSlimeTest.class/instance/testDeprecatedApiProtocol.st | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st index 4cc8a48d..fcd1be93 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st @@ -4,9 +4,8 @@ defineClass: aClassSymbol superclass: aSuperSymbol SystemVersion current major >= 12 ifTrue:[ - class := factory make: [ :aBuilder | + class := factory silentlyMake: [ :aBuilder | aBuilder - "name: aClassSymbol;" superclass: (Smalltalk at: aSuperSymbol); package: self category ] ] ifFalse:[ diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testDeprecatedApiProtocol.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testDeprecatedApiProtocol.st index 32f2b682..71749169 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testDeprecatedApiProtocol.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testDeprecatedApiProtocol.st @@ -4,8 +4,8 @@ testDeprecatedApiProtocol class := self defineClass: #GRSlimeMockObject superclass: #GRObject. - self compile: 'deprecated1 self greaseDeprecatedApi: ''GRSlimeMockObject>>#deprecated1'' details: ''Something.''' in: class. - self compile: 'deprecated2 self greaseDeprecatedApi: ''GRSlimeMockObject>>#deprecated'' details: ''Something.''' in: class. + self compile: 'deprecated1 self greaseDeprecatedApi: ''',class name,'>>#deprecated1'' details: ''Something.''' in: class. + self compile: 'deprecated2 self greaseDeprecatedApi: ''',class name,'>>#deprecated'' details: ''Something.''' in: class. self compile: 'deprecated3 self greaseDeprecatedApi: ''GRSlimeMock>>#deprecated3'' details: ''Something.''' in: class. self runRule: GRDeprecatedApiProtocolRule From bcb000b66604eca67d5550e7d06bdbe9d3591fc5 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Wed, 27 Dec 2023 22:09:23 +0100 Subject: [PATCH 157/254] use class factory in all pharo versions --- .../instance/defineClass.superclass..st | 19 +++++-------------- .../GRSlimeTest.class/instance/tearDown.st | 5 +---- 2 files changed, 6 insertions(+), 18 deletions(-) diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st index fcd1be93..463f801a 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st @@ -1,20 +1,11 @@ accessing-code defineClass: aClassSymbol superclass: aSuperSymbol - | class | - SystemVersion current major >= 12 - ifTrue:[ - class := factory silentlyMake: [ :aBuilder | - aBuilder - superclass: (Smalltalk at: aSuperSymbol); - package: self category ] ] - ifFalse:[ - model defineClass: aSuperSymbol , ' subclass: #' , aClassSymbol , ' - instanceVariableNames: '''' - classVariableNames: '''' - poolDictionaries: '''' - category: ''' , self category , ''''. - class := model classNamed: aClassSymbol ]. + | class | + class := factory silentlyMake: [ :aBuilder | + aBuilder + superclass: (Smalltalk at: aSuperSymbol); + package: self category ]. environment addClass: class; addClass: class theMetaClass. diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/tearDown.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/tearDown.st index 996c5205..82f6aabd 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/tearDown.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/tearDown.st @@ -2,7 +2,4 @@ running tearDown super tearDown. - factory cleanUp. - SystemVersion current major >= 12 ifFalse:[ - (Smalltalk organization listAtCategoryNamed: self category) do:[ :e | SmalltalkImage current removeClassNamed: e ]. - Smalltalk organization removeCategory: self category ] \ No newline at end of file + factory cleanUp \ No newline at end of file From daaf85e232bfe02816e9133f1fc07167af715c6d Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Wed, 27 Dec 2023 22:12:10 +0100 Subject: [PATCH 158/254] drop Slime from Squeak --- repository/BaselineOfGrease.package/.filetree | 5 +++-- .../instance/baselineSqueak..st | 18 ++---------------- .../BaselineOfGrease.class/properties.json | 19 ++++++++----------- .../monticello.meta/categories.st | 3 +-- .../BaselineOfGrease.package/properties.json | 3 +-- 5 files changed, 15 insertions(+), 33 deletions(-) diff --git a/repository/BaselineOfGrease.package/.filetree b/repository/BaselineOfGrease.package/.filetree index 8998102c..57a67973 100644 --- a/repository/BaselineOfGrease.package/.filetree +++ b/repository/BaselineOfGrease.package/.filetree @@ -1,4 +1,5 @@ { - "noMethodMetaData" : true, "separateMethodMetaAndSource" : false, - "useCypressPropertiesFile" : true } + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineSqueak..st b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineSqueak..st index e93226b5..2e742705 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineSqueak..st +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineSqueak..st @@ -22,14 +22,7 @@ baselineSqueak: spec package: 'Grease-Tests-Squeak-Core' with: [ spec requires: #('Grease-Tests-Core') ]; package: 'Grease-Tests-Squeak5-Core' - with: [ spec requires: #('Grease-Tests-Squeak-Core') ]; - package: 'Grease-Slime' - with: [ spec requires: #('Refactoring-Core' 'Grease-Core') ]; - package: 'Grease-Tests-Slime' - with: [ spec requires: #('Grease-Slime') ]. - spec - group: 'Slime' with: #('Grease-Slime'); - group: 'Slime Tests' with: #('Grease-Tests-Slime') ]. + with: [ spec requires: #('Grease-Tests-Squeak-Core') ] ]. spec for: #(#'squeak6.x') do: [ @@ -52,11 +45,4 @@ baselineSqueak: spec package: 'Grease-Tests-Squeak-Core' with: [ spec requires: #('Grease-Tests-Core') ]; package: 'Grease-Tests-Squeak6-Core' - with: [ spec requires: #('Grease-Tests-Squeak-Core') ]; - package: 'Grease-Slime' - with: [ spec requires: #('Refactoring-Core' 'Grease-Core') ]; - package: 'Grease-Tests-Slime' - with: [ spec requires: #('Grease-Slime') ]. - spec - group: 'Slime' with: #('Grease-Slime'); - group: 'Slime Tests' with: #('Grease-Tests-Slime') ] \ No newline at end of file + with: [ spec requires: #('Grease-Tests-Squeak-Core') ] ] \ No newline at end of file diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/properties.json b/repository/BaselineOfGrease.package/BaselineOfGrease.class/properties.json index 8a39c621..0260395f 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/properties.json +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/properties.json @@ -1,14 +1,11 @@ { - "category" : "BaselineOfGrease", - "classinstvars" : [ - ], - "classvars" : [ - ], "commentStamp" : "", - "instvars" : [ - ], - "name" : "BaselineOfGrease", - "pools" : [ - ], "super" : "BaselineOf", - "type" : "normal" } + "category" : "BaselineOfGrease", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "BaselineOfGrease", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/BaselineOfGrease.package/monticello.meta/categories.st b/repository/BaselineOfGrease.package/monticello.meta/categories.st index 4a7c5b2b..95bd9e83 100644 --- a/repository/BaselineOfGrease.package/monticello.meta/categories.st +++ b/repository/BaselineOfGrease.package/monticello.meta/categories.st @@ -1,2 +1 @@ -SystemOrganization addCategory: #BaselineOfGrease! -SystemOrganization addCategory: #'BaselineOfGrease-Manifest'! +self packageOrganizer ensurePackage: #BaselineOfGrease withTags: #('Manifest')! diff --git a/repository/BaselineOfGrease.package/properties.json b/repository/BaselineOfGrease.package/properties.json index f037444a..6f31cf5a 100644 --- a/repository/BaselineOfGrease.package/properties.json +++ b/repository/BaselineOfGrease.package/properties.json @@ -1,2 +1 @@ -{ - } +{ } \ No newline at end of file From b156b53c6f52a7d1122f92c74d4aadb6f59babfe Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Wed, 27 Dec 2023 22:21:39 +0100 Subject: [PATCH 159/254] fix older pharo versions --- .../instance/defineClass.superclass..st | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st index 463f801a..d5ecb9a8 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st @@ -2,10 +2,18 @@ accessing-code defineClass: aClassSymbol superclass: aSuperSymbol | class | - class := factory silentlyMake: [ :aBuilder | - aBuilder - superclass: (Smalltalk at: aSuperSymbol); - package: self category ]. + class := SystemVersion current major >= 12 + ifTrue: [ + factory make: [ :aBuilder | + aBuilder + superclass: (Smalltalk at: aSuperSymbol); + package: self category ] ] + ifFalse: [ + factory + newSubclassOf: (Smalltalk at: aSuperSymbol) + instanceVariableNames: '' + classVariableNames: 'classVarsString' + category: self category ]. environment addClass: class; addClass: class theMetaClass. From 4c70a7c322765cfbf9dff5669dd06287a49adde4 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Wed, 27 Dec 2023 22:27:59 +0100 Subject: [PATCH 160/254] bump gs version in ci --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 77a2aed7..4e7286ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - smalltalk: [ Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.7.0, GemStone64-3.6.5, GemStone64-3.5.7, Squeak64-5.3 ] + smalltalk: [ Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.7.0, GemStone64-3.6.7, GemStone64-3.5.7, Squeak64-5.3 ] experimental: [ false ] include: - smalltalk: Pharo64-12 From a11d35e3611c11dcd59ea4363364cafa7bd0f36d Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Wed, 27 Dec 2023 22:39:32 +0100 Subject: [PATCH 161/254] class creation in testcases cannot have a name --- .../instance/defineClass.superclass..st | 20 ++----------------- .../instance/defineSubClassOf..st | 20 +++++++++++++++++++ .../instance/testAnsiBooleansRule.st | 4 +--- .../instance/testAnsiCharacterRule.st | 4 +--- .../instance/testAnsiCollectionsRule.st | 4 +--- .../instance/testAnsiConditionalsRule.st | 4 +--- .../instance/testAnsiConvertorRule.st | 4 +--- .../instance/testAnsiExceptionsRule.st | 4 +--- .../instance/testAnsiStreamsRule.st | 4 +--- .../instance/testAnsiStringsRule.st | 4 +--- .../instance/testBasicNewInitializeMissing.st | 4 +--- .../instance/testBlockFormatting.st | 4 +--- .../instance/testDeprecatedApiProtocol.st | 4 +--- .../instance/testEmptyStatements.st | 4 +--- .../testInvalidObjectInitialization.st | 4 +--- .../instance/testNonPortableMessageRule.st | 4 +--- .../instance/testNonPortableSourceFormat.st | 4 +--- .../testNotPortableCollectionsRule.st | 4 +--- .../instance/testObjectIn.st | 4 +--- .../instance/testParensFormatting.st | 4 +--- .../instance/testReturnFormatting.st | 4 +--- .../instance/testTempsFormatting.st | 4 +--- .../instance/testTestCaseFailRule.st | 4 +--- .../instance/testUnnecessaryLastPeriodRule.st | 4 +--- .../testUsesCanPerformOrUnderstand.st | 4 +--- .../instance/testUsesClassForHash.st | 4 +--- .../instance/testUsesCurlyBraceArrays.st | 4 +--- .../instance/testUsesLiteralByteArrays.st | 4 +--- .../instance/testUsesMethodAnnotations.st | 4 +--- .../instance/testUsesNotPortableClass.st | 4 +--- 30 files changed, 50 insertions(+), 102 deletions(-) create mode 100644 repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineSubClassOf..st diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st index d5ecb9a8..9769e83e 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineClass.superclass..st @@ -1,20 +1,4 @@ accessing-code defineClass: aClassSymbol superclass: aSuperSymbol - - | class | - class := SystemVersion current major >= 12 - ifTrue: [ - factory make: [ :aBuilder | - aBuilder - superclass: (Smalltalk at: aSuperSymbol); - package: self category ] ] - ifFalse: [ - factory - newSubclassOf: (Smalltalk at: aSuperSymbol) - instanceVariableNames: '' - classVariableNames: 'classVarsString' - category: self category ]. - environment - addClass: class; - addClass: class theMetaClass. - ^ class \ No newline at end of file + "For compatibility" + ^ self defineSubClassOf: aSuperSymbol \ No newline at end of file diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineSubClassOf..st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineSubClassOf..st new file mode 100644 index 00000000..4921f353 --- /dev/null +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/defineSubClassOf..st @@ -0,0 +1,20 @@ +accessing-code +defineSubClassOf: aSuperSymbol + + | class | + class := SystemVersion current major >= 12 + ifTrue: [ + factory make: [ :aBuilder | + aBuilder + superclass: (Smalltalk at: aSuperSymbol); + package: self category ] ] + ifFalse: [ + factory + newSubclassOf: (Smalltalk at: aSuperSymbol) + instanceVariableNames: '' + classVariableNames: 'classVarsString' + category: self category ]. + environment + addClass: class; + addClass: class theMetaClass. + ^ class \ No newline at end of file diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiBooleansRule.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiBooleansRule.st index 7f500fce..d4560588 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiBooleansRule.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiBooleansRule.st @@ -1,9 +1,7 @@ tests-transform testAnsiBooleansRule | class | - class := self - defineClass: #GRSlimeMockObject - superclass: #GRObject. + class := self defineSubClassOf: #GRObject. self compile: 'and 1 and: [ 2 ] and: [ 3 ] and: [ 4 ]' in: class. self compile: 'or 1 or: [ 2 ] or: [ 3 ] or: [ 4 ]' in: class. self diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiCharacterRule.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiCharacterRule.st index 192f1f82..f8d58d84 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiCharacterRule.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiCharacterRule.st @@ -1,9 +1,7 @@ tests-transform testAnsiCharacterRule | class | - class := self - defineClass: #GRSlimeMockObject - superclass: #GRObject. + class := self defineSubClassOf: #GRObject. self compile: 'character Character value: 123' in: class. self compile: 'characterRange $a to: $c' in: class. self diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiCollectionsRule.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiCollectionsRule.st index 21f66b65..8b101581 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiCollectionsRule.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiCollectionsRule.st @@ -1,9 +1,7 @@ tests-transform testAnsiCollectionsRule | class | - class := self - defineClass: #GRSlimeMockObject - superclass: #GRObject. + class := self defineSubClassOf: #GRObject. self compile: 'withIndexDo #() withIndexDo: [ :each :index | each + index ]' in: class. self compile: 'doWithIndex #() doWithIndex: [ :each :index | each + index ]' in: class. self compile: 'collectThenDo #() collect: [ :a | a ] thenDo: [ :b | b ]' in: class. diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiConditionalsRule.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiConditionalsRule.st index 0819b8e6..e1ac638b 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiConditionalsRule.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiConditionalsRule.st @@ -1,9 +1,7 @@ tests-transform testAnsiConditionalsRule | class | - class := self - defineClass: #GRSlimeMockObject - superclass: #GRObject. + class := self defineSubClassOf: #GRObject. self compile: 'ifNotNil 1 ifNotNil: [ | a | self or. self and ]' in: class. self compile: 'ifNotNilDo 1 ifNotNilDo: [ :a | ^ a ]' in: class. self diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiConvertorRule.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiConvertorRule.st index b51f8a3c..898f4f52 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiConvertorRule.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiConvertorRule.st @@ -1,9 +1,7 @@ tests-transform testAnsiConvertorRule | class | - class := self - defineClass: #GRSlimeMockObject - superclass: #GRObject. + class := self defineSubClassOf: #GRObject. self compile: 'convertInteger ''1'' asInteger' in: class. self compile: 'convertString 2 asString' in: class. self diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiExceptionsRule.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiExceptionsRule.st index 61cd5cd8..7232e149 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiExceptionsRule.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiExceptionsRule.st @@ -1,9 +1,7 @@ tests-transform testAnsiExceptionsRule | class | - class := self - defineClass: #GRSlimeMockObject - superclass: #GRObject. + class := self defineSubClassOf: #GRObject. self compile: 'exception1 [ self or ] on: Error do: [ self or ]' in: class. self compile: 'exception2 [ self or ] on: Error do: [ self or. self or ]' in: class. self compile: 'exception3 [ self or ] on: Error do: [ | a | a := 0 ]' in: class. diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiStreamsRule.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiStreamsRule.st index d57fbb32..5f1430b1 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiStreamsRule.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiStreamsRule.st @@ -1,9 +1,7 @@ tests-transform testAnsiStreamsRule | class | - class := self - defineClass: #GRSlimeMockObject - superclass: #GRObject. + class := self defineSubClassOf: #GRObject. self compile: 'writeStream ^ '''' writeStream' in: class. self compile: 'writeCr | stream | stream := WriteStream on: ''''. stream cr. stream nextPut: Character cr' in: class. self compile: 'writeLf | stream | stream := WriteStream on: ''''. stream lf. stream nextPut: Character lf' in: class. diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiStringsRule.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiStringsRule.st index 73f65771..dde1cae1 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiStringsRule.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testAnsiStringsRule.st @@ -1,9 +1,7 @@ tests-transform testAnsiStringsRule | class | - class := self - defineClass: #GRSlimeMockObject - superclass: #GRObject. + class := self defineSubClassOf: #GRObject. self compile: 'stringCr String cr, (String with: Character cr)' in: class. self compile: 'stringTab String tab, (String with: Character tab)' in: class. self compile: 'stringLf String lf, (String with: Character lf)' in: class. diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testBasicNewInitializeMissing.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testBasicNewInitializeMissing.st index 137714dd..07bf2a45 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testBasicNewInitializeMissing.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testBasicNewInitializeMissing.st @@ -1,9 +1,7 @@ tests-block testBasicNewInitializeMissing | class | - class := self - defineClass: #GRSlimeMockObject - superclass: #Object. + class := self defineSubClassOf: #Object. self compile: 'initialize' in: class. self runRule: GRBasicNewInitializeMissingRule diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testBlockFormatting.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testBlockFormatting.st index d20133b3..21cb487d 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testBlockFormatting.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testBlockFormatting.st @@ -1,9 +1,7 @@ tests-parsetree testBlockFormatting | class | - class := self - defineClass: #GRSlimeMockObject - superclass: #GRObject. + class := self defineSubClassOf: #GRObject. self compile: 'invalid1 [:a ]' diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testDeprecatedApiProtocol.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testDeprecatedApiProtocol.st index 71749169..5735b56e 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testDeprecatedApiProtocol.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testDeprecatedApiProtocol.st @@ -1,9 +1,7 @@ tests-block testDeprecatedApiProtocol | class | - class := self - defineClass: #GRSlimeMockObject - superclass: #GRObject. + class := self defineSubClassOf: #GRObject. self compile: 'deprecated1 self greaseDeprecatedApi: ''',class name,'>>#deprecated1'' details: ''Something.''' in: class. self compile: 'deprecated2 self greaseDeprecatedApi: ''',class name,'>>#deprecated'' details: ''Something.''' in: class. self compile: 'deprecated3 self greaseDeprecatedApi: ''GRSlimeMock>>#deprecated3'' details: ''Something.''' in: class. diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testEmptyStatements.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testEmptyStatements.st index 2db3ea85..e4b03969 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testEmptyStatements.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testEmptyStatements.st @@ -1,9 +1,7 @@ tests-block testEmptyStatements | class | - class := self - defineClass: #GRSlimeMockObject - superclass: #GRObject. + class := self defineSubClassOf: #GRObject. self compile: 'emptyStatement1. self and' in: class. self compile: 'emptyStatement2 self and..' in: class. self compile: 'emptyStatement3 self and."foo".' in: class. diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testInvalidObjectInitialization.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testInvalidObjectInitialization.st index a3ad223e..f11fb191 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testInvalidObjectInitialization.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testInvalidObjectInitialization.st @@ -1,9 +1,7 @@ tests-block testInvalidObjectInitialization | class | - class := self - defineClass: #GRSlimeMockObject - superclass: #GRObject. + class := self defineSubClassOf: #GRObject. self compile: 'initializeFoo: aNumber' in: class. self runRule: GRInvalidObjectInitializationRule diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testNonPortableMessageRule.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testNonPortableMessageRule.st index 6deafde9..b9254341 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testNonPortableMessageRule.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testNonPortableMessageRule.st @@ -1,9 +1,7 @@ tests-block testNonPortableMessageRule | class | - class := self - defineClass: #GRSlimeMockObject - superclass: #GRObject. + class := self defineSubClassOf: #GRObject. self compile: 'invalid1 ^ Array new anyOne' in: class. self compile: 'valid1 ^ Array new first' in: class. diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testNonPortableSourceFormat.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testNonPortableSourceFormat.st index 7fd6ab30..cad8fe0b 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testNonPortableSourceFormat.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testNonPortableSourceFormat.st @@ -1,9 +1,7 @@ tests-block testNonPortableSourceFormat | class | - class := self - defineClass: #GRSlimeMockObject - superclass: #GRObject. + class := self defineSubClassOf: #GRObject. self compile: 'invalid ^ ''Unicode snow man', (String with: (Character codePoint: 16r2603)) , '''' in: class. self compile: 'valid ^ ''everything is fine''' in: class. self diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testNotPortableCollectionsRule.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testNotPortableCollectionsRule.st index a0977f60..039b45c2 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testNotPortableCollectionsRule.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testNotPortableCollectionsRule.st @@ -1,9 +1,7 @@ tests-transform testNotPortableCollectionsRule | class | - class := self - defineClass: #GRSlimeMockObject - superclass: #GRObject. + class := self defineSubClassOf: #GRObject. self compile: 'beginsWith1 ''abc'' beginsWith: ''a''' in: class. self compile: 'endsWith1 ''abc'' endsWith: ''a''' in: class. self diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testObjectIn.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testObjectIn.st index 7773b660..5aec1103 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testObjectIn.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testObjectIn.st @@ -1,9 +1,7 @@ tests-transform testObjectIn | class | - class := self - defineClass: #GRSlimeMockObject - superclass: #GRObject. + class := self defineSubClassOf: #GRObject. self compile: 'objectIn1 1 in: [ :val | val factorial ]' in: class. self compile: 'objectIn2 2 in: [ :val | | temps | val factorial ]' in: class. self compile: 'objectIn3 2 in: [ ''not this'' ]' in: class. diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testParensFormatting.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testParensFormatting.st index e3a5b541..a632b605 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testParensFormatting.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testParensFormatting.st @@ -1,9 +1,7 @@ tests-parsetree testParensFormatting | class | - class := self - defineClass: #GRSlimeMockObject - superclass: #GRObject. + class := self defineSubClassOf: #GRObject. self compile: 'invalid1 ( 1 + 2)' diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testReturnFormatting.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testReturnFormatting.st index 3143391b..27d8438d 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testReturnFormatting.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testReturnFormatting.st @@ -1,9 +1,7 @@ tests-parsetree testReturnFormatting | class | - class := self - defineClass: #GRSlimeMockObject - superclass: #GRObject. + class := self defineSubClassOf: #GRObject. self compile: 'invalid1 ^1' diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testTempsFormatting.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testTempsFormatting.st index ae200d7b..2eddb2b4 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testTempsFormatting.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testTempsFormatting.st @@ -1,9 +1,7 @@ tests-parsetree testTempsFormatting | class | - class := self - defineClass: #GRSlimeMockObject - superclass: #GRObject. + class := self defineSubClassOf: #GRObject. self compile: 'invalid1 | a|' diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testTestCaseFailRule.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testTestCaseFailRule.st index 987fa755..a4800822 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testTestCaseFailRule.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testTestCaseFailRule.st @@ -1,9 +1,7 @@ tests-transform testTestCaseFailRule | class | - class := self - defineClass: #GRSlimeMockObjectTest - superclass: #TestCase. + class := self defineSubClassOf: #TestCase. self compile: 'testMethod self fail' in: class. self runTransformation: GRTestAssertionsRule diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUnnecessaryLastPeriodRule.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUnnecessaryLastPeriodRule.st index 71a76406..b96f1b62 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUnnecessaryLastPeriodRule.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUnnecessaryLastPeriodRule.st @@ -1,9 +1,7 @@ tests-block testUnnecessaryLastPeriodRule | class | - class := self - defineClass: #GRSlimeMockObject - superclass: #GRObject. + class := self defineSubClassOf: #GRObject. self compile: 'invalid 1. 2.' in: class. self compile: 'valid 1. 2' in: class. self diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesCanPerformOrUnderstand.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesCanPerformOrUnderstand.st index 8c8e5273..a29a53fb 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesCanPerformOrUnderstand.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesCanPerformOrUnderstand.st @@ -1,9 +1,7 @@ tests-parsetree testUsesCanPerformOrUnderstand | class | - class := self - defineClass: #GRSlimeMockObject - superclass: #GRObject. + class := self defineSubClassOf: #GRObject. self compile: 'invalid1 Object class canUnderstand: #new' diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesClassForHash.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesClassForHash.st index a20c01ad..e95c920c 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesClassForHash.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesClassForHash.st @@ -1,9 +1,7 @@ tests-parsetree testUsesClassForHash | class | - class := self - defineClass: #GRSlimeMockObject - superclass: #GRObject. + class := self defineSubClassOf: #GRObject. self compile: 'foo ^ super hash bitXor: self class hash' diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesCurlyBraceArrays.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesCurlyBraceArrays.st index 38406441..7e341c1e 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesCurlyBraceArrays.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesCurlyBraceArrays.st @@ -3,9 +3,7 @@ testUsesCurlyBraceArrays | class | (self canParse: 'foo { self foo. self bar }') ifFalse: [ ^ self ]. - class := self - defineClass: #GRSlimeMockObject - superclass: #GRObject. + class := self defineSubClassOf: #GRObject. self compile: 'invalid ^ { self foo. self bar }' diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesLiteralByteArrays.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesLiteralByteArrays.st index bc042f82..342eb995 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesLiteralByteArrays.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesLiteralByteArrays.st @@ -3,9 +3,7 @@ testUsesLiteralByteArrays | class | (self canParse: 'foo #[ 1 2 3 ]') ifFalse: [ ^ self ]. - class := self - defineClass: #GRSlimeMockObject - superclass: #GRObject. + class := self defineSubClassOf: #GRObject. self compile: 'invalid ^ #[ 1 2 3 ]' diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesMethodAnnotations.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesMethodAnnotations.st index 39519d9b..dd1e7931 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesMethodAnnotations.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesMethodAnnotations.st @@ -3,9 +3,7 @@ testUsesMethodAnnotations | class | (self canParse: 'foo ') ifFalse: [ ^ self ]. - class := self - defineClass: #GRSlimeMockObject - superclass: #GRObject. + class := self defineSubClassOf: #GRObject. self compile: 'invalid ' in: class. self compile: 'valid' in: class. self diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesNotPortableClass.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesNotPortableClass.st index a4945bb4..d988a2fd 100644 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesNotPortableClass.st +++ b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesNotPortableClass.st @@ -1,9 +1,7 @@ tests-block testUsesNotPortableClass | class | - class := self - defineClass: #GRSlimeMockObject - superclass: #GRObject. + class := self defineSubClassOf: #GRObject. self compile: 'invalid ^ Semaphore new' in: class. self compile: 'valid ^ GRObject new' in: class. self From 1a385fc51b21b60d841c7f071e45a9e3ab69e20c Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 7 Jan 2024 14:24:51 +0100 Subject: [PATCH 162/254] First couple of Slime rules and tests converted to Reraku critiques --- .../instance/baselinePharo..st | 4 +- .../monticello.meta/categories.st | 2 +- .../GRPlatform.class/instance/version.st | 2 +- .../Grease-Pharo110-Slime.package/.filetree | 5 +++ .../README.md | 0 .../class/checksClass.st | 4 ++ .../instance/basicCheck..st | 11 ++++++ .../instance/group.st | 4 ++ .../instance/initialize.st | 8 ++++ .../instance/name.st | 4 ++ .../instance/rationale.st | 4 ++ .../properties.json | 13 +++++++ .../README.md | 0 .../instance/afterCheck.mappings..st | 15 ++++++++ .../instance/group.st | 4 ++ .../instance/initialize.st | 8 ++++ .../instance/name.st | 4 ++ .../instance/rationale.st | 4 ++ .../properties.json | 11 ++++++ .../GRReSlimeBlockLintRule.class/README.md | 0 .../properties.json | 11 ++++++ .../README.md | 0 .../properties.json | 11 ++++++ .../monticello.meta/categories.st | 1 + .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 + .../properties.json | 1 + .../.filetree | 5 +++ .../GRReSlimeTest.class/README.md | 0 .../instance/assertRule.expectedMatches..st | 4 ++ .../assertRule.expectedMatches.ignoring..st | 13 +++++++ .../GRReSlimeTest.class/instance/canParse..st | 6 +++ .../GRReSlimeTest.class/instance/category.st | 3 ++ .../instance/compile.in..st | 7 ++++ .../instance/defineClass.superclass..st | 4 ++ .../instance/defineSubClassOf..st | 20 ++++++++++ .../GRReSlimeTest.class/instance/rules.st | 7 ++++ .../instance/run.ignoring.do..st | 28 ++++++++++++++ .../GRReSlimeTest.class/instance/runCase.st | 3 ++ .../instance/runTransformation.changes..st | 15 ++++++++ .../GRReSlimeTest.class/instance/setUp.st | 6 +++ .../GRReSlimeTest.class/instance/tearDown.st | 5 +++ .../instance/testAnsiBooleansRule.st | 12 ++++++ .../instance/testAnsiCharacterRule.st | 10 +++++ .../instance/testAnsiCollectionsRule.st | 37 +++++++++++++++++++ .../instance/testAnsiConditionalsRule.st | 12 ++++++ .../instance/testAnsiConvertorRule.st | 12 ++++++ .../instance/testAnsiExceptionsRule.st | 14 +++++++ .../instance/testAnsiStreamsRule.st | 14 +++++++ .../instance/testAnsiStringsRule.st | 28 ++++++++++++++ .../instance/testBasicNewInitializeMissing.st | 9 +++++ .../instance/testBlockFormatting.st | 29 +++++++++++++++ .../instance/testDeprecatedApiProtocol.st | 11 ++++++ .../instance/testEmptyStatements.st | 13 +++++++ .../testInvalidObjectInitialization.st | 9 +++++ .../instance/testNonPortableMessageRule.st | 15 ++++++++ .../instance/testNonPortableSourceFormat.st | 10 +++++ .../testNotPortableCollectionsRule.st | 12 ++++++ .../instance/testObjectIn.st | 13 +++++++ .../instance/testParensFormatting.st | 16 ++++++++ .../instance/testReturnFormatting.st | 16 ++++++++ .../instance/testTempsFormatting.st | 20 ++++++++++ .../instance/testTestCaseFailRule.st | 10 +++++ .../instance/testUnnecessaryLastPeriodRule.st | 10 +++++ .../testUsesCanPerformOrUnderstand.st | 20 ++++++++++ .../instance/testUsesClassForHash.st | 16 ++++++++ .../instance/testUsesCurlyBraceArrays.st | 18 +++++++++ .../instance/testUsesMethodAnnotations.st | 12 ++++++ .../instance/testUsesNotPortableClass.st | 10 +++++ .../GRReSlimeTest.class/properties.json | 15 ++++++++ .../monticello.meta/categories.st | 1 + .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 + .../properties.json | 1 + 74 files changed, 680 insertions(+), 4 deletions(-) create mode 100644 repository/Grease-Pharo110-Slime.package/.filetree create mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/class/checksClass.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/basicCheck..st create mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/afterCheck.mappings..st create mode 100644 repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/monticello.meta/categories.st create mode 100644 repository/Grease-Pharo110-Slime.package/monticello.meta/initializers.st create mode 100644 repository/Grease-Pharo110-Slime.package/monticello.meta/package create mode 100644 repository/Grease-Pharo110-Slime.package/properties.json create mode 100644 repository/Grease-Tests-Pharo-Slime.package/.filetree create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/README.md create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/assertRule.expectedMatches..st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/assertRule.expectedMatches.ignoring..st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/canParse..st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/category.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/compile.in..st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/defineClass.superclass..st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/defineSubClassOf..st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/run.ignoring.do..st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/runCase.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/runTransformation.changes..st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/setUp.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/tearDown.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiBooleansRule.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiCharacterRule.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiCollectionsRule.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiConditionalsRule.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiConvertorRule.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiExceptionsRule.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiStreamsRule.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiStringsRule.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testBasicNewInitializeMissing.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testBlockFormatting.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testDeprecatedApiProtocol.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testEmptyStatements.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testInvalidObjectInitialization.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testNonPortableMessageRule.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testNonPortableSourceFormat.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testNotPortableCollectionsRule.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testObjectIn.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testParensFormatting.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testReturnFormatting.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testTempsFormatting.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testTestCaseFailRule.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUnnecessaryLastPeriodRule.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesCanPerformOrUnderstand.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesClassForHash.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesCurlyBraceArrays.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesMethodAnnotations.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesNotPortableClass.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/properties.json create mode 100644 repository/Grease-Tests-Pharo-Slime.package/monticello.meta/categories.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/monticello.meta/initializers.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/monticello.meta/package create mode 100644 repository/Grease-Tests-Pharo-Slime.package/properties.json diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st index 3b845c9a..336a93a6 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st @@ -62,8 +62,8 @@ baselinePharo: spec requires: #('Grease-Pharo100-Core'); includes: #('Grease-Tests-Pharo-Core') ]; package: 'Grease-Pharo100-Core' with: [ spec requires: #('Grease-Core') ]; - package: 'Grease-Pharo90-Slime' with: [ spec requires: #('Grease-Core') ]; - package: 'Grease-Tests-Slime' with: [ spec requires: #('Grease-Pharo90-Slime') ]. + package: 'Grease-Pharo110-Slime' with: [ spec requires: #('Grease-Core') ]; + package: 'Grease-Tests-Pharo-Slime' with: [ spec requires: #('Grease-Pharo110-Slime') ]. spec group: 'Slime' with: #('Grease-Pharo90-Slime'); diff --git a/repository/BaselineOfGrease.package/monticello.meta/categories.st b/repository/BaselineOfGrease.package/monticello.meta/categories.st index 95bd9e83..aad806f8 100644 --- a/repository/BaselineOfGrease.package/monticello.meta/categories.st +++ b/repository/BaselineOfGrease.package/monticello.meta/categories.st @@ -1 +1 @@ -self packageOrganizer ensurePackage: #BaselineOfGrease withTags: #('Manifest')! +SystemOrganization addCategory: #BaselineOfGrease! diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/version.st b/repository/Grease-Core.package/GRPlatform.class/instance/version.st index 5b503f93..c48dd9b5 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/version.st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/version.st @@ -2,5 +2,5 @@ version info version "Answer the Grease version" - ^ (GRVersion major: 1 minor: 12 revision: 2) + ^ (GRVersion major: 1 minor: 15 revision: 0) yourself \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/.filetree b/repository/Grease-Pharo110-Slime.package/.filetree new file mode 100644 index 00000000..57a67973 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/.filetree @@ -0,0 +1,5 @@ +{ + "separateMethodMetaAndSource" : false, + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/class/checksClass.st b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/class/checksClass.st new file mode 100644 index 00000000..918ec479 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/class/checksClass.st @@ -0,0 +1,4 @@ +testing - interest +checksClass + + ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/basicCheck..st b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/basicCheck..st new file mode 100644 index 00000000..7d00fbc7 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/basicCheck..st @@ -0,0 +1,11 @@ +running +basicCheck: aClass + + ^ aClass isMeta not + and: [ (aClass includesSelector: #initialize) + and: [ (#(GRObject GRNotification GRNotification GRError RBLintRule RBTransformationRule) noneSatisfy: [ :each | + aClass includesBehavior: (Smalltalk globals at: each) ]) + and: [ aClass class methodDictionary noneSatisfy: [ :each | + matcher + executeTree: each parseTree + initialAnswer: false ] ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/group.st new file mode 100644 index 00000000..b4981dc4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st new file mode 100644 index 00000000..f42fb7c0 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st @@ -0,0 +1,8 @@ +initialization +initialize + + super initialize. + matcher := RBParseTreeSearcher new. + matcher + matches: 'self basicNew initialize' + do: [ :node :answer | true ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/name.st new file mode 100644 index 00000000..693fa6d6 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ '#basicNew initialize is missing' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/rationale.st new file mode 100644 index 00000000..22a02ade --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ '#initialize is not called implicitly when sending #new to an object in all Smalltalk dialects. Consider subclassing GRObject.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json new file mode 100644 index 00000000..67a42ffc --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeBlockLintRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "matcher" + ], + "name" : "GRBasicNewInitializeMissingRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/afterCheck.mappings..st b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/afterCheck.mappings..st new file mode 100644 index 00000000..495d1401 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/afterCheck.mappings..st @@ -0,0 +1,15 @@ +hooks +afterCheck: aNode mappings: mappingDict + + | method | + method := aNode methodNode. + " This ensures that the description is of the form ClassName>>#selector:" + (aNode arguments first isLiteralNode + and: [ aNode arguments first value isString + and: [ method methodClass name greaseString , '>>#' , method selector greaseString ~= aNode arguments first value ] ]) ifTrue: [ ^ true ]. + + " This ensures that the description is a string and ends with a dot." + ^ (aNode arguments size > 1 + and: [ aNode arguments second isLiteralNode + and: [ aNode arguments second value isString + and: [ (aNode arguments second value endsWithSubCollection: '.') not ] ] ]) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/group.st new file mode 100644 index 00000000..b5813499 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'Grease Formatting' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st new file mode 100644 index 00000000..4ee4851c --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st @@ -0,0 +1,8 @@ +initialization +initialize + + super initialize. + self + matchesAny: #( + '``@receiver greaseDeprecatedApi: ``@arg1' + '``@receiver greaseDeprecatedApi: ``@arg1 details: ``@arg2' ) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/name.st new file mode 100644 index 00000000..554083f4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Invalid use of deprecated API protocol.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/rationale.st new file mode 100644 index 00000000..aeabf8ad --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'Make sure to follow the following pattern: self greaseDeprecatedApi: ''Class>>#selector'' details: ''Some description''.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json new file mode 100644 index 00000000..87feb3c9 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeParseTreeLintRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRDeprecatedApiProtocolRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/properties.json new file mode 100644 index 00000000..23226a97 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "ReAbstractRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRReSlimeBlockLintRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/properties.json new file mode 100644 index 00000000..e5d01d93 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "ReNodeMatchRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRReSlimeParseTreeLintRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/monticello.meta/categories.st b/repository/Grease-Pharo110-Slime.package/monticello.meta/categories.st new file mode 100644 index 00000000..ff4f5aed --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/monticello.meta/categories.st @@ -0,0 +1 @@ +SystemOrganization addCategory: #'Grease-Pharo110-Slime'! diff --git a/repository/Grease-Pharo110-Slime.package/monticello.meta/initializers.st b/repository/Grease-Pharo110-Slime.package/monticello.meta/initializers.st new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/monticello.meta/package b/repository/Grease-Pharo110-Slime.package/monticello.meta/package new file mode 100644 index 00000000..7cd09a28 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'Grease-Pharo110-Slime') \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/properties.json b/repository/Grease-Pharo110-Slime.package/properties.json new file mode 100644 index 00000000..6f31cf5a --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/properties.json @@ -0,0 +1 @@ +{ } \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/.filetree b/repository/Grease-Tests-Pharo-Slime.package/.filetree new file mode 100644 index 00000000..57a67973 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/.filetree @@ -0,0 +1,5 @@ +{ + "separateMethodMetaAndSource" : false, + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/README.md b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/assertRule.expectedMatches..st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/assertRule.expectedMatches..st new file mode 100644 index 00000000..3a9f4525 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/assertRule.expectedMatches..st @@ -0,0 +1,4 @@ +running-checks +assertRule: aRuleClass expectedMatches: aCollection + + self assertRule: aRuleClass expectedMatches: aCollection ignoring: Array new \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/assertRule.expectedMatches.ignoring..st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/assertRule.expectedMatches.ignoring..st new file mode 100644 index 00000000..ccee1f72 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/assertRule.expectedMatches.ignoring..st @@ -0,0 +1,13 @@ +running-checks +assertRule: aRuleClass expectedMatches: aCollectionOfExpectedEntities ignoring: aCollectionOfIgnoredEntities + + self run: aRuleClass ignoring: aCollectionOfIgnoredEntities do: [ :critiques | | critiquedEntities | + critiquedEntities := critiques collect:[ :critique | critique sourceAnchor entity ]. + critiquedEntities do:[ :critiquedEntity | + self + assert: (aCollectionOfExpectedEntities includes: critiquedEntity) + description: critiquedEntity printString , ' should not be reported' ]. + aCollectionOfExpectedEntities do: [ :expectedEntity | + self + assert: (critiquedEntities includes: expectedEntity) + description: expectedEntity printString , ' should be reported' ] ] \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/canParse..st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/canParse..st new file mode 100644 index 00000000..083ac05b --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/canParse..st @@ -0,0 +1,6 @@ +accessing-code +canParse: aString + RBParser + parseMethod: aString + onError: [ :err :pos | ^ false ]. + ^ true \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/category.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/category.st new file mode 100644 index 00000000..cfe78bd0 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/category.st @@ -0,0 +1,3 @@ +accessing +category + ^ self class category , '-Data' \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/compile.in..st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/compile.in..st new file mode 100644 index 00000000..cb2577d5 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/compile.in..st @@ -0,0 +1,7 @@ +accessing-code +compile: aString in: aClass + + GRPlatform current + compile: aString + into: aClass + classified: #accessing \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/defineClass.superclass..st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/defineClass.superclass..st new file mode 100644 index 00000000..9769e83e --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/defineClass.superclass..st @@ -0,0 +1,4 @@ +accessing-code +defineClass: aClassSymbol superclass: aSuperSymbol + "For compatibility" + ^ self defineSubClassOf: aSuperSymbol \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/defineSubClassOf..st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/defineSubClassOf..st new file mode 100644 index 00000000..92da2de7 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/defineSubClassOf..st @@ -0,0 +1,20 @@ +accessing-code +defineSubClassOf: aSuperSymbol + + | class | + class := SystemVersion current major >= 12 + ifTrue: [ + factory make: [ :aBuilder | + aBuilder + superclass: (Smalltalk at: aSuperSymbol); + package: self category ] ] + ifFalse: [ + factory + newSubclassOf: (Smalltalk at: aSuperSymbol) + instanceVariableNames: '' + classVariableNames: 'classVarsString' + category: self category ]. + environment + addClass: class; + addClass: class classSide. + ^ class \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st new file mode 100644 index 00000000..70092732 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st @@ -0,0 +1,7 @@ +accessing +rules + ^ OrderedCollection new + addAll: GRReSlimeBlockLintRule allSubclasses; + addAll: GRReSlimeParseTreeLintRule allSubclasses; +" addAll: GRSlimeTransformationRule allSubclasses;" + yourself \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/run.ignoring.do..st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/run.ignoring.do..st new file mode 100644 index 00000000..09d5db28 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/run.ignoring.do..st @@ -0,0 +1,28 @@ +running-checks +run: aRuleClass ignoring: aCollectionOfEntities do: aBlock + + | rules rule runner | + rules := self rules + collect: [ :each | each new ]. + rule := rules + detect: [ :each | each isKindOf: aRuleClass ] + ifNone: [ self error: ('{1} is not a slime rule' format: { aRuleClass name }) ]. + self + assert: (rule name isString and: [ rule name notEmpty ]) + description: aRuleClass name , ' has no name'. + self + assert: (rule rationale isString and: [ rule rationale notEmpty and: [ rule rationale endsWithSubCollection: '.' ] ]) + description: aRuleClass name , ' has no rationale'. + runner := ReSmalllintChecker new. + rules do: [ :each | + runner + rule: { each }; + environment: environment; + run ]. + rules do: [ :each | | result | + result := runner criticsOf: each. + self + assert: (rule = each or: [ result isEmpty "and: [ each changes isEmpty ]) or: [ aCollectionOfEntities includes: each class ]" ]) + description: each name , ' should not report errors' ]. + aBlock value: (runner criticsOf: rule). + ^ rule \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/runCase.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/runCase.st new file mode 100644 index 00000000..9465625f --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/runCase.st @@ -0,0 +1,3 @@ +running +runCase + GRPlatform current doSilently: [ super runCase ] \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/runTransformation.changes..st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/runTransformation.changes..st new file mode 100644 index 00000000..49b8b233 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/runTransformation.changes..st @@ -0,0 +1,15 @@ +running-checks +runTransformation: aClass changes: aCollection + + | expected | + expected := aCollection + collect: [ :each | RBParser parseMethod: each ]. + self run: aClass ignoring: Array new do: [ :rule :rules | + rule changes do: [ :change | + self + assert: (expected anySatisfy: [ :parseTree | change parseTree = parseTree ]) + description: change selector , ' should not be transformed' ]. + expected do: [ :parseTree | + self + assert: (rule changes anySatisfy: [ :change | change parseTree = parseTree ]) + description: parseTree selector , ' should be transformed' ] ] \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/setUp.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/setUp.st new file mode 100644 index 00000000..ee5004c0 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/setUp.st @@ -0,0 +1,6 @@ +running +setUp + super setUp. + factory := ClassFactoryForTestCase new. + model := RBNamespace new. + environment := RBClassEnvironment new \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/tearDown.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/tearDown.st new file mode 100644 index 00000000..82f6aabd --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/tearDown.st @@ -0,0 +1,5 @@ +running +tearDown + + super tearDown. + factory cleanUp \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiBooleansRule.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiBooleansRule.st new file mode 100644 index 00000000..d4020fe4 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiBooleansRule.st @@ -0,0 +1,12 @@ +tests-transform +testAnsiBooleansRule + + | class | + class := self defineSubClassOf: #GRObject. + self compile: 'and 1 and: [ 2 ] and: [ 3 ] and: [ 4 ]' in: class. + self compile: 'or 1 or: [ 2 ] or: [ 3 ] or: [ 4 ]' in: class. + self + runTransformation: GRAnsiBooleansRule + changes: #( + 'and 1 and: [ 2 and: [ 3 and: [ 4 ] ] ]' + 'or 1 or: [ 2 or: [ 3 or: [ 4 ] ] ]' ) \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiCharacterRule.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiCharacterRule.st new file mode 100644 index 00000000..3507a7e9 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiCharacterRule.st @@ -0,0 +1,10 @@ +tests-transform +testAnsiCharacterRule + + | class | + class := self defineSubClassOf: #GRObject. + self compile: 'character Character value: 123' in: class. + self compile: 'characterRange $a to: $c' in: class. + self + runTransformation: GRAnsiCharactersRule + changes: #('character Character codePoint: 123' 'characterRange ''abc''') \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiCollectionsRule.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiCollectionsRule.st new file mode 100644 index 00000000..d4cfdb9b --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiCollectionsRule.st @@ -0,0 +1,37 @@ +tests-transform +testAnsiCollectionsRule + + | class | + class := self defineSubClassOf: #GRObject. + self compile: 'withIndexDo #() withIndexDo: [ :each :index | each + index ]' in: class. + self compile: 'doWithIndex #() doWithIndex: [ :each :index | each + index ]' in: class. + self compile: 'collectThenDo #() collect: [ :a | a ] thenDo: [ :b | b ]' in: class. + self compile: 'collectThenSelect #() collect: [ :a | a ] thenSelect: [ :b | true ]' in: class. + self compile: 'detectSum #(1 2) detectSum: [ :each | each ]' in: class. + self compile: 'detectSumMultiline #(1 2) detectSum: [ :each | #foo copy. each ]' in: class. + self compile: 'pairsDo #(1 2 3 4) pairsDo: [ :a :b | b ]' in: class. + self compile: 'rejectThenDo #() reject: [ :a | true ] thenDo: [ :b | b ]' in: class. + self compile: 'selectThenCollect #() select: [ :a | true ] thenCollect: [ :b | b ]' in: class. + self compile: 'selectThenDo #() select: [ :a | true ] thenDo: [ :b | b ]' in: class. + self compile: 'valuesDo #() valuesDo: [ :a | a ]' in: class. + self compile: 'reversed #() reversed' in: class. + self compile: 'keysSortedSafely Dictionary new keysSortedSafely' in: class. + self compile: 'newWithAll Array new: 4 withAll: $a' in: class. + self + runTransformation: GRAnsiCollectionsRule + changes: #( + 'withIndexDo #() keysAndValuesDo: [ :index :each | each + index ]' + 'doWithIndex #() keysAndValuesDo: [ :index :each | each + index ]' + 'collectThenDo (#() collect: [ :a | a ]) do: [ :b | b ]' + 'selectThenDo (#() select: [ :a | true ]) do: [ :b | b ]' + 'rejectThenDo (#() reject: [ :a | true ]) do: [ :b | b ]' + 'selectThenCollect (#() select: [ :a | true ]) collect: [ :b | b ]' + 'pairsDo 1 to: #(1 2 3 4) size by: 2 do: [ :index | | a b | a := #(1 2 3 4) at: index. b := #(1 2 3 4) at: index + 1. b ]' + 'collectThenSelect (#() collect: [ :a | a ]) select: [ :b | true ]' + 'detectSum #(1 2) inject: 0 into: [ :sum :each | sum + each ]' + 'detectSumMultiline #(1 2) inject: 0 into: [ :sum :each | #foo copy. sum + each ]' + 'valuesDo #() do: [ :a | a ]' + 'reversed #() reverse' + 'keysSortedSafely Dictionary new keys asSortedCollection' + 'newWithAll (Array new: 4) atAllPut: $a' + ) \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiConditionalsRule.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiConditionalsRule.st new file mode 100644 index 00000000..8d15ea35 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiConditionalsRule.st @@ -0,0 +1,12 @@ +tests-transform +testAnsiConditionalsRule + + | class | + class := self defineSubClassOf: #GRObject. + self compile: 'ifNotNil 1 ifNotNil: [ | a | self or. self and ]' in: class. + self compile: 'ifNotNilDo 1 ifNotNilDo: [ :a | ^ a ]' in: class. + self + runTransformation: GRAnsiConditionalsRule + changes: #( + 'ifNotNil 1 ifNotNil: [ :arg | | a | self or. self and ]' + 'ifNotNilDo 1 ifNotNil: [ :a | ^ a ]' ) \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiConvertorRule.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiConvertorRule.st new file mode 100644 index 00000000..fd54043f --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiConvertorRule.st @@ -0,0 +1,12 @@ +tests-transform +testAnsiConvertorRule + + | class | + class := self defineSubClassOf: #GRObject. + self compile: 'convertInteger ''1'' asInteger' in: class. + self compile: 'convertString 2 asString' in: class. + self + runTransformation: GRAnsiConvertorRule + changes: #( + 'convertInteger ''1'' greaseInteger' + 'convertString 2 greaseString' ) \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiExceptionsRule.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiExceptionsRule.st new file mode 100644 index 00000000..af061a7e --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiExceptionsRule.st @@ -0,0 +1,14 @@ +tests-transform +testAnsiExceptionsRule + + | class | + class := self defineSubClassOf: #GRObject. + self compile: 'exception1 [ self or ] on: Error do: [ self or ]' in: class. + self compile: 'exception2 [ self or ] on: Error do: [ self or. self or ]' in: class. + self compile: 'exception3 [ self or ] on: Error do: [ | a | a := 0 ]' in: class. + self + runTransformation: GRAnsiExceptionsRule + changes: #( + 'exception1 [ self or ] on: Error do: [ :err | self or ]' + 'exception2 [ self or ] on: Error do: [ :err | self or. self or ]' + 'exception3 [ self or ] on: Error do: [ :err | | a | a := 0 ]' ) \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiStreamsRule.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiStreamsRule.st new file mode 100644 index 00000000..6550cb75 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiStreamsRule.st @@ -0,0 +1,14 @@ +tests-transform +testAnsiStreamsRule + + | class | + class := self defineSubClassOf: #GRObject. + self compile: 'writeStream ^ '''' writeStream' in: class. + self compile: 'writeCr | stream | stream := WriteStream on: ''''. stream cr. stream nextPut: Character cr' in: class. + self compile: 'writeLf | stream | stream := WriteStream on: ''''. stream lf. stream nextPut: Character lf' in: class. + self + runTransformation: GRAnsiStreamsRule + changes: #( + 'writeStream ^ WriteStream on: ''''' + 'writeCr | stream | stream := WriteStream on: ''''. stream nextPut: Character cr. stream nextPut: Character cr' + 'writeLf | stream | stream := WriteStream on: ''''. stream nextPut: Character lf. stream nextPut: Character lf') \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiStringsRule.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiStringsRule.st new file mode 100644 index 00000000..2b01a845 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiStringsRule.st @@ -0,0 +1,28 @@ +tests-transform +testAnsiStringsRule + + | class | + class := self defineSubClassOf: #GRObject. + self compile: 'stringCr String cr, (String with: Character cr)' in: class. + self compile: 'stringTab String tab, (String with: Character tab)' in: class. + self compile: 'stringLf String lf, (String with: Character lf)' in: class. + self compile: 'stringCrLf String crlf, (String with: Character cr with: Character lf)' in: class. + self compile: 'stringSpace String space, (String with: Character space)' in: class. + self compile: 'findTokens ''123'' findTokens: '',''' in: class. + self compile: 'findTokensCharacter ''123'' findTokens: $,' in: class. + self compile: 'findTokensArray ''123'' findTokens: #($, $;)' in: class. + self compile: 'includesSubString ''1234'' includesSubString: ''23''' in: class. + self compile: 'includesSubString ''1234'' includesSubstring: ''23''' in: class. + self + runTransformation: GRAnsiStringsRule + changes: #( + 'stringCr (String with: Character cr), (String with: Character cr)' + 'stringTab (String with: Character tab), (String with: Character tab)' + 'stringLf (String with: Character lf), (String with: Character lf)' + 'stringCrLf (String with: Character cr with: Character lf), (String with: Character cr with: Character lf)' + 'stringSpace (String with: Character space), (String with: Character space)' + 'findTokens ''123'' subStrings: '',''' + 'findTokensCharacter ''123'' subStrings: '',''' + 'findTokensArray ''123'' subStrings: '',;''' + 'includesSubString (''1234'' indexOfSubCollection: ''23'' startingAt: 0) ~= 0' + 'includesSubString (''1234'' indexOfSubCollection: ''23'' startingAt: 0) ~= 0') \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testBasicNewInitializeMissing.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testBasicNewInitializeMissing.st new file mode 100644 index 00000000..10d39dc6 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testBasicNewInitializeMissing.st @@ -0,0 +1,9 @@ +tests-block +testBasicNewInitializeMissing + + | class | + class := self defineSubClassOf: #Object. + self compile: 'initialize' in: class. + self + assertRule: GRBasicNewInitializeMissingRule + expectedMatches: { class } \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testBlockFormatting.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testBlockFormatting.st new file mode 100644 index 00000000..a1ad82b5 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testBlockFormatting.st @@ -0,0 +1,29 @@ +tests-parsetree +testBlockFormatting + + | class | + class := self defineSubClassOf: #GRObject. + self + compile: 'invalid1 + [:a ]' + in: class. + self + compile: 'invalid2 + [:a | ]' + in: class. + self + compile: 'invalid3 + [ :b]' + in: class. + + self + compile: 'invalid4 + [ :a| ]' + in: class. + self + compile: 'invalid5 + [ :a |a ]' + in: class. + self + runRule: GRBlockFormattingRule + selectors: #(invalid1 invalid2 invalid3 invalid4 invalid5) \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testDeprecatedApiProtocol.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testDeprecatedApiProtocol.st new file mode 100644 index 00000000..24c4cb57 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testDeprecatedApiProtocol.st @@ -0,0 +1,11 @@ +tests-parsetree +testDeprecatedApiProtocol + + | class | + class := self defineSubClassOf: #GRObject. + self compile: 'deprecated1 self greaseDeprecatedApi: ''',class name,'>>#deprecated1'' details: ''Something.''' in: class. + self compile: 'deprecated2 self greaseDeprecatedApi: ''',class name,'>>#deprecated'' details: ''Something.''' in: class. + self compile: 'deprecated3 self greaseDeprecatedApi: ''GRSlimeMock>>#deprecated3'' details: ''Something.''' in: class. + self + assertRule: GRDeprecatedApiProtocolRule + expectedMatches: { class>>#deprecated2 . class>>#deprecated3 } \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testEmptyStatements.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testEmptyStatements.st new file mode 100644 index 00000000..834e9f96 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testEmptyStatements.st @@ -0,0 +1,13 @@ +tests-block +testEmptyStatements + + | class | + class := self defineSubClassOf: #GRObject. + self compile: 'emptyStatement1. self and' in: class. + self compile: 'emptyStatement2 self and..' in: class. + self compile: 'emptyStatement3 self and."foo".' in: class. + self compile: 'emptyStatement4 self and."foo".self and' in: class. + self + runRule: GREmptyStatementsRule + selectors: #(emptyStatement1 emptyStatement2 emptyStatement3 emptyStatement4) + ignoring: (Array with: GRUnnecessaryLastPeriodRule) \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testInvalidObjectInitialization.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testInvalidObjectInitialization.st new file mode 100644 index 00000000..9db27eb0 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testInvalidObjectInitialization.st @@ -0,0 +1,9 @@ +tests-block +testInvalidObjectInitialization + + | class | + class := self defineSubClassOf: #GRObject. + self compile: 'initializeFoo: aNumber' in: class. + self + runRule: GRInvalidObjectInitializationRule + selectors: #(initializeFoo:) \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testNonPortableMessageRule.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testNonPortableMessageRule.st new file mode 100644 index 00000000..e21849d4 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testNonPortableMessageRule.st @@ -0,0 +1,15 @@ +tests-block +testNonPortableMessageRule + + | class | + class := self defineSubClassOf: #GRObject. + + self compile: 'invalid1 ^ Array new anyOne' in: class. + self compile: 'valid1 ^ Array new first' in: class. + + self compile: 'invalid2 ^ Array new withIndexCollect: [ :each :index | each hash ]' in: class. + self compile: 'valid2 ^ Array new do: [ :each | each hash ]' in: class. + + self + runRule: GRNonPortableMessageRule + selectors: #(invalid1 invalid2) \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testNonPortableSourceFormat.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testNonPortableSourceFormat.st new file mode 100644 index 00000000..03012fdc --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testNonPortableSourceFormat.st @@ -0,0 +1,10 @@ +tests-block +testNonPortableSourceFormat + + | class | + class := self defineSubClassOf: #GRObject. + self compile: 'invalid ^ ''Unicode snow man', (String with: (Character codePoint: 16r2603)) , '''' in: class. + self compile: 'valid ^ ''everything is fine''' in: class. + self + runRule: GRNonPortableSourceFormatRule + selectors: #(invalid) \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testNotPortableCollectionsRule.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testNotPortableCollectionsRule.st new file mode 100644 index 00000000..2e619cfa --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testNotPortableCollectionsRule.st @@ -0,0 +1,12 @@ +tests-transform +testNotPortableCollectionsRule + + | class | + class := self defineSubClassOf: #GRObject. + self compile: 'beginsWith1 ''abc'' beginsWith: ''a''' in: class. + self compile: 'endsWith1 ''abc'' endsWith: ''a''' in: class. + self + runTransformation: GRNotPortableCollectionsRule + changes: #( + 'beginsWith1 ''abc'' greaseBeginsWith: ''a''' + 'endsWith1 ''abc'' greaseEndsWith: ''a''') \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testObjectIn.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testObjectIn.st new file mode 100644 index 00000000..dcd86cb1 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testObjectIn.st @@ -0,0 +1,13 @@ +tests-transform +testObjectIn + + | class | + class := self defineSubClassOf: #GRObject. + self compile: 'objectIn1 1 in: [ :val | val factorial ]' in: class. + self compile: 'objectIn2 2 in: [ :val | | temps | val factorial ]' in: class. + self compile: 'objectIn3 2 in: [ ''not this'' ]' in: class. + self + runTransformation: GRObjectInRule + changes: #( + 'objectIn1 [ :val | val factorial ] value: 1' + 'objectIn2 [ :val | | temps | val factorial ] value: 2') \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testParensFormatting.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testParensFormatting.st new file mode 100644 index 00000000..d4c1b96b --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testParensFormatting.st @@ -0,0 +1,16 @@ +tests-parsetree +testParensFormatting + + | class | + class := self defineSubClassOf: #GRObject. + self + compile: 'invalid1 + ( 1 + 2)' + in: class. + self + compile: 'invalid2 + (1 + 2 )' + in: class. + self + runRule: GRParensFormattingRule + selectors: #(invalid1 invalid2) \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testReturnFormatting.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testReturnFormatting.st new file mode 100644 index 00000000..0dc37ff6 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testReturnFormatting.st @@ -0,0 +1,16 @@ +tests-parsetree +testReturnFormatting + + | class | + class := self defineSubClassOf: #GRObject. + self + compile: 'invalid1 + ^1' + in: class. + self + compile: 'invalid2 + ^ 2' + in: class. + self + runRule: GRReturnFormattingRule + selectors: #(invalid1 invalid2) \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testTempsFormatting.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testTempsFormatting.st new file mode 100644 index 00000000..b86d8685 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testTempsFormatting.st @@ -0,0 +1,20 @@ +tests-parsetree +testTempsFormatting + + | class | + class := self defineSubClassOf: #GRObject. + self + compile: 'invalid1 + | a|' + in: class. + self + compile: 'invalid2 + |a |' + in: class. + self + compile: 'invalid3 + | a b |' + in: class. + self + runRule: GRTempsFormattingRule + selectors: #(invalid1 invalid2 invalid3) \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testTestCaseFailRule.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testTestCaseFailRule.st new file mode 100644 index 00000000..ad803388 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testTestCaseFailRule.st @@ -0,0 +1,10 @@ +tests-transform +testTestCaseFailRule + + | class | + class := self defineSubClassOf: #TestCase. + self compile: 'testMethod self fail' in: class. + self + runTransformation: GRTestAssertionsRule + changes: #( + 'testMethod self assert: false' ) \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUnnecessaryLastPeriodRule.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUnnecessaryLastPeriodRule.st new file mode 100644 index 00000000..b9bde3fc --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUnnecessaryLastPeriodRule.st @@ -0,0 +1,10 @@ +tests-block +testUnnecessaryLastPeriodRule + + | class | + class := self defineSubClassOf: #GRObject. + self compile: 'invalid 1. 2.' in: class. + self compile: 'valid 1. 2' in: class. + self + runRule: GRUnnecessaryLastPeriodRule + selectors: #(invalid) \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesCanPerformOrUnderstand.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesCanPerformOrUnderstand.st new file mode 100644 index 00000000..8164bc7c --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesCanPerformOrUnderstand.st @@ -0,0 +1,20 @@ +tests-parsetree +testUsesCanPerformOrUnderstand + + | class | + class := self defineSubClassOf: #GRObject. + self + compile: 'invalid1 + Object class canUnderstand: #new' + in: class. + self + compile: 'invalid2 + Object class canPerform: #new' + in: class. + self + compile: 'valid + Object respondsTo: #new' + in: class. + self + runRule: GRUsesCanPerformOrUnderstandRule + selectors: #(invalid1 invalid2) \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesClassForHash.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesClassForHash.st new file mode 100644 index 00000000..f7ae3cf0 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesClassForHash.st @@ -0,0 +1,16 @@ +tests-parsetree +testUsesClassForHash + + | class | + class := self defineSubClassOf: #GRObject. + self + compile: 'foo + ^ super hash bitXor: self class hash' + in: class. + self + compile: 'hash + ^ super hash bitXor: self class hash' + in: class. + self + runRule: GRUsesClassForHashRule + selectors: #(hash) \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesCurlyBraceArrays.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesCurlyBraceArrays.st new file mode 100644 index 00000000..04f7298e --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesCurlyBraceArrays.st @@ -0,0 +1,18 @@ +tests-parsetree +testUsesCurlyBraceArrays + + | class | + (self canParse: 'foo { self foo. self bar }') + ifFalse: [ ^ self ]. + class := self defineSubClassOf: #GRObject. + self + compile: 'invalid + ^ { self foo. self bar }' + in: class. + self + compile: 'valid + ^ Array new' + in: class. + self + runRule: GRUsesCurlyBraceArraysRule + selectors: #(invalid) \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesMethodAnnotations.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesMethodAnnotations.st new file mode 100644 index 00000000..31d12a9d --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesMethodAnnotations.st @@ -0,0 +1,12 @@ +tests-block +testUsesMethodAnnotations + + | class | + (self canParse: 'foo ') + ifFalse: [ ^ self ]. + class := self defineSubClassOf: #GRObject. + self compile: 'invalid ' in: class. + self compile: 'valid' in: class. + self + runRule: GRUsesMethodAnnotationsRule + selectors: #(invalid) \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesNotPortableClass.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesNotPortableClass.st new file mode 100644 index 00000000..2e2bcb62 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesNotPortableClass.st @@ -0,0 +1,10 @@ +tests-block +testUsesNotPortableClass + + | class | + class := self defineSubClassOf: #GRObject. + self compile: 'invalid ^ Semaphore new' in: class. + self compile: 'valid ^ GRObject new' in: class. + self + runRule: GRUsesNotPortableClassRule + selectors: #(invalid) \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/properties.json b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/properties.json new file mode 100644 index 00000000..b4ebf23f --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/properties.json @@ -0,0 +1,15 @@ +{ + "commentStamp" : "", + "super" : "TestCase", + "category" : "Grease-Tests-Pharo-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "model", + "environment", + "factory" + ], + "name" : "GRReSlimeTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/monticello.meta/categories.st b/repository/Grease-Tests-Pharo-Slime.package/monticello.meta/categories.st new file mode 100644 index 00000000..6c2ac5ef --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/monticello.meta/categories.st @@ -0,0 +1 @@ +SystemOrganization addCategory: #'Grease-Tests-Pharo-Slime'! diff --git a/repository/Grease-Tests-Pharo-Slime.package/monticello.meta/initializers.st b/repository/Grease-Tests-Pharo-Slime.package/monticello.meta/initializers.st new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Tests-Pharo-Slime.package/monticello.meta/package b/repository/Grease-Tests-Pharo-Slime.package/monticello.meta/package new file mode 100644 index 00000000..e2360038 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'Grease-Tests-Pharo-Slime') \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/properties.json b/repository/Grease-Tests-Pharo-Slime.package/properties.json new file mode 100644 index 00000000..6f31cf5a --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/properties.json @@ -0,0 +1 @@ +{ } \ No newline at end of file From 98f2c5c7fdae7965f704a76863cda341d8e45972 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 7 Jan 2024 14:26:22 +0100 Subject: [PATCH 163/254] Correct baseline typo --- .../BaselineOfGrease.class/instance/baselinePharo..st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st index 336a93a6..78d30c22 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st @@ -45,7 +45,7 @@ baselinePharo: spec includes: #('Grease-Tests-Pharo-Core') ]; package: 'Grease-Pharo90-Core' with: [ spec requires: #('Grease-Core') ]; package: 'Grease-Pharo90-Slime' with: [ spec requires: #('Grease-Core') ]; - package: 'Grease-Tests-Slime' with: [ spec requires: #('Grease-Pharo90-Slime') ]. + package: 'Grease-Tests-Pharo-Slime' with: [ spec requires: #('Grease-Pharo90-Slime') ]. spec group: 'Slime' with: #('Grease-Pharo90-Slime'); From 171232fff29510b735054cc2453d390448b09a45 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 7 Jan 2024 14:34:39 +0100 Subject: [PATCH 164/254] Remove obsolete tests from older Slime test package as well --- .../instance/baselinePharo..st | 4 ++-- .../instance/testEmptyStatements.st | 12 ------------ .../instance/testUsesLiteralByteArrays.st | 17 ----------------- .../monticello.meta/categories.st | 2 +- 4 files changed, 3 insertions(+), 32 deletions(-) delete mode 100644 repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testEmptyStatements.st delete mode 100644 repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesLiteralByteArrays.st diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st index 78d30c22..6c0696c0 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st @@ -66,5 +66,5 @@ baselinePharo: spec package: 'Grease-Tests-Pharo-Slime' with: [ spec requires: #('Grease-Pharo110-Slime') ]. spec - group: 'Slime' with: #('Grease-Pharo90-Slime'); - group: 'Slime Tests' with: #('Grease-Tests-Slime') ] + group: 'Slime' with: #('Grease-Pharo110-Slime'); + group: 'Slime Tests' with: #('Grease-Tests-Pharo-Slime') ] diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testEmptyStatements.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testEmptyStatements.st deleted file mode 100644 index e4b03969..00000000 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testEmptyStatements.st +++ /dev/null @@ -1,12 +0,0 @@ -tests-block -testEmptyStatements - | class | - class := self defineSubClassOf: #GRObject. - self compile: 'emptyStatement1. self and' in: class. - self compile: 'emptyStatement2 self and..' in: class. - self compile: 'emptyStatement3 self and."foo".' in: class. - self compile: 'emptyStatement4 self and."foo".self and' in: class. - self - runRule: GREmptyStatementsRule - selectors: #(emptyStatement1 emptyStatement2 emptyStatement3 emptyStatement4) - ignoring: (Array with: GRUnnecessaryLastPeriodRule) \ No newline at end of file diff --git a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesLiteralByteArrays.st b/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesLiteralByteArrays.st deleted file mode 100644 index 342eb995..00000000 --- a/repository/Grease-Tests-Slime.package/GRSlimeTest.class/instance/testUsesLiteralByteArrays.st +++ /dev/null @@ -1,17 +0,0 @@ -tests-parsetree -testUsesLiteralByteArrays - | class | - (self canParse: 'foo #[ 1 2 3 ]') - ifFalse: [ ^ self ]. - class := self defineSubClassOf: #GRObject. - self - compile: 'invalid - ^ #[ 1 2 3 ]' - in: class. - self - compile: 'valid - ^ ByteArray with: 1 with: 2 with: 3' - in: class. - self - runRule: GRUsesLiteralByteArraysRule - selectors: #(invalid) \ No newline at end of file diff --git a/repository/Grease-Tests-Slime.package/monticello.meta/categories.st b/repository/Grease-Tests-Slime.package/monticello.meta/categories.st index a49916c2..d34cfb4a 100644 --- a/repository/Grease-Tests-Slime.package/monticello.meta/categories.st +++ b/repository/Grease-Tests-Slime.package/monticello.meta/categories.st @@ -1 +1 @@ -self packageOrganizer ensurePackage: #'Grease-Tests-Slime' withTags: #()! +SystemOrganization addCategory: #'Grease-Tests-Slime'! From d6705ffaa24f3146fe0cb6bfc63b948afce5c5d9 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 7 Jan 2024 14:36:22 +0100 Subject: [PATCH 165/254] Fix another baseline typo --- .../BaselineOfGrease.class/instance/baselinePharo..st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st index 6c0696c0..69d5fe19 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st @@ -45,7 +45,7 @@ baselinePharo: spec includes: #('Grease-Tests-Pharo-Core') ]; package: 'Grease-Pharo90-Core' with: [ spec requires: #('Grease-Core') ]; package: 'Grease-Pharo90-Slime' with: [ spec requires: #('Grease-Core') ]; - package: 'Grease-Tests-Pharo-Slime' with: [ spec requires: #('Grease-Pharo90-Slime') ]. + package: 'Grease-Tests-Slime' with: [ spec requires: #('Grease-Pharo90-Slime') ]. spec group: 'Slime' with: #('Grease-Pharo90-Slime'); From 81bec5c74bc23e50ea5ed0dddf7d7ec60ba8c686 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 7 Jan 2024 16:30:34 +0100 Subject: [PATCH 166/254] ported rules: invalid object initialization and non-portable messages --- .../README.md | 0 .../class/checksMethod.st | 4 ++++ .../instance/basicCheck..st | 10 ++++++++++ .../instance/group.st | 4 ++++ .../instance/name.st | 4 ++++ .../instance/rationale.st | 4 ++++ .../properties.json | 11 +++++++++++ .../GRNonPortableMessageRule.class/README.md | 0 .../class/checksNode.st | 4 ++++ .../instance/basicCheck..st | 4 ++++ .../instance/group.st | 4 ++++ .../instance/methodNames.st | 4 ++++ .../GRNonPortableMessageRule.class/instance/name.st | 4 ++++ .../instance/rationale.st | 4 ++++ .../GRNonPortableMessageRule.class/properties.json | 11 +++++++++++ .../instance/assertRule.expectedMatches..st | 4 ---- .../assertRule.expectedMatches.ignoring..st | 13 ------------- .../instance/assertRule.matches..st | 4 ++++ .../instance/assertRule.matches.ignoring..st | 13 +++++++++++++ .../GRReSlimeTest.class/instance/rules.st | 1 + .../instance/run.ignoring.do..st | 6 +++--- .../instance/testBasicNewInitializeMissing.st | 2 +- .../instance/testDeprecatedApiProtocol.st | 2 +- .../instance/testEmptyStatements.st | 6 ++++-- .../instance/testInvalidObjectInitialization.st | 6 +++--- .../instance/testNonPortableMessageRule.st | 6 +++--- 26 files changed, 105 insertions(+), 30 deletions(-) create mode 100644 repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/class/checksMethod.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/basicCheck..st create mode 100644 repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/class/checksNode.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/basicCheck..st create mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/methodNames.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/properties.json delete mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/assertRule.expectedMatches..st delete mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/assertRule.expectedMatches.ignoring..st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/assertRule.matches..st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/assertRule.matches.ignoring..st diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/class/checksMethod.st b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/class/checksMethod.st new file mode 100644 index 00000000..c0b5961f --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/class/checksMethod.st @@ -0,0 +1,4 @@ +testing - interest +checksMethod + + ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/basicCheck..st b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/basicCheck..st new file mode 100644 index 00000000..1b7b4c47 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/basicCheck..st @@ -0,0 +1,10 @@ +running +basicCheck: aMethod + + ^ (aMethod methodClass isMeta not + and: [ (aMethod selector beginsWithSubCollection: #initialize) + and: [ aMethod selector numArgs > 0 + and: [ aMethod methodClass ~= GRObject + and: [ (aMethod methodClass includesBehavior: GRObject) + and: [ (aMethod superMessages includes: aMethod selector) not + and: [ aMethod selfMessages noneSatisfy: [ :each | each beginsWithSubCollection: #initialize ] ] ] ] ] ] ]) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/group.st new file mode 100644 index 00000000..b4981dc4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/name.st new file mode 100644 index 00000000..6386a8fd --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Invalid object initialization' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/rationale.st new file mode 100644 index 00000000..9ce37a52 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'Initialize methods are required to call the designated initializer or its super implementation.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/properties.json new file mode 100644 index 00000000..4cbd7077 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeBlockLintRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRInvalidObjectInitializationRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/class/checksNode.st b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/class/checksNode.st new file mode 100644 index 00000000..5e68f2ca --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/class/checksNode.st @@ -0,0 +1,4 @@ +testing - interest +checksNode + + ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/basicCheck..st b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/basicCheck..st new file mode 100644 index 00000000..428bcd1c --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/basicCheck..st @@ -0,0 +1,4 @@ +running +basicCheck: anEntity + + ^ anEntity isMessage and:[ self methodNames includes: anEntity selector ] diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/group.st new file mode 100644 index 00000000..b4981dc4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/methodNames.st b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/methodNames.st new file mode 100644 index 00000000..25a16ed6 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/methodNames.st @@ -0,0 +1,4 @@ +private +methodNames + + ^ #( anyOne withIndexCollect: ) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/name.st new file mode 100644 index 00000000..cc5e5c47 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Uses non portable message' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/rationale.st new file mode 100644 index 00000000..bc7272e4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'Some methods are not portable accross different Smalltalk dialects.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/properties.json new file mode 100644 index 00000000..95a60d91 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeBlockLintRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRNonPortableMessageRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/assertRule.expectedMatches..st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/assertRule.expectedMatches..st deleted file mode 100644 index 3a9f4525..00000000 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/assertRule.expectedMatches..st +++ /dev/null @@ -1,4 +0,0 @@ -running-checks -assertRule: aRuleClass expectedMatches: aCollection - - self assertRule: aRuleClass expectedMatches: aCollection ignoring: Array new \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/assertRule.expectedMatches.ignoring..st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/assertRule.expectedMatches.ignoring..st deleted file mode 100644 index ccee1f72..00000000 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/assertRule.expectedMatches.ignoring..st +++ /dev/null @@ -1,13 +0,0 @@ -running-checks -assertRule: aRuleClass expectedMatches: aCollectionOfExpectedEntities ignoring: aCollectionOfIgnoredEntities - - self run: aRuleClass ignoring: aCollectionOfIgnoredEntities do: [ :critiques | | critiquedEntities | - critiquedEntities := critiques collect:[ :critique | critique sourceAnchor entity ]. - critiquedEntities do:[ :critiquedEntity | - self - assert: (aCollectionOfExpectedEntities includes: critiquedEntity) - description: critiquedEntity printString , ' should not be reported' ]. - aCollectionOfExpectedEntities do: [ :expectedEntity | - self - assert: (critiquedEntities includes: expectedEntity) - description: expectedEntity printString , ' should be reported' ] ] \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/assertRule.matches..st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/assertRule.matches..st new file mode 100644 index 00000000..65b1cddd --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/assertRule.matches..st @@ -0,0 +1,4 @@ +running-checks +assertRule: aRuleClass matches: expectedMatches + + self assertRule: aRuleClass matches: expectedMatches ignoring: Array new \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/assertRule.matches.ignoring..st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/assertRule.matches.ignoring..st new file mode 100644 index 00000000..d2c4aa91 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/assertRule.matches.ignoring..st @@ -0,0 +1,13 @@ +running-checks +assertRule: aRuleClass matches: expectedMatches ignoring: ignoredRuleClasses + + self run: aRuleClass ignoring: ignoredRuleClasses do: [ :critiques | | critiquedEntities | + critiquedEntities := critiques collect:[ :critique | critique sourceAnchor entity ]. + critiquedEntities do:[ :critiquedEntity | + self + assert: (expectedMatches includes: critiquedEntity) + description: ('{1} should not be reported' format: { critiquedEntity printString }) ]. + expectedMatches do: [ :expectedEntity | + self + assert: (critiquedEntities includes: expectedEntity) + description: ('{1} should be reported' format: { expectedEntity printString }) ] ] \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st index 70092732..2a84e4b7 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st @@ -4,4 +4,5 @@ rules addAll: GRReSlimeBlockLintRule allSubclasses; addAll: GRReSlimeParseTreeLintRule allSubclasses; " addAll: GRSlimeTransformationRule allSubclasses;" + add: ReMultiplePeriodsTerminatingStatementRule; yourself \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/run.ignoring.do..st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/run.ignoring.do..st index 09d5db28..b6ec29e2 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/run.ignoring.do..st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/run.ignoring.do..st @@ -1,5 +1,5 @@ running-checks -run: aRuleClass ignoring: aCollectionOfEntities do: aBlock +run: aRuleClass ignoring: ignoredRuleClasses do: aBlock | rules rule runner | rules := self rules @@ -22,7 +22,7 @@ run: aRuleClass ignoring: aCollectionOfEntities do: aBlock rules do: [ :each | | result | result := runner criticsOf: each. self - assert: (rule = each or: [ result isEmpty "and: [ each changes isEmpty ]) or: [ aCollectionOfEntities includes: each class ]" ]) - description: each name , ' should not report errors' ]. + assert: (rule = each or: [ result isEmpty or: [ ignoredRuleClasses includes: each class ] ]) + description: ('{1} should not report errors' format: { each name }) ]. aBlock value: (runner criticsOf: rule). ^ rule \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testBasicNewInitializeMissing.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testBasicNewInitializeMissing.st index 10d39dc6..679e1393 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testBasicNewInitializeMissing.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testBasicNewInitializeMissing.st @@ -6,4 +6,4 @@ testBasicNewInitializeMissing self compile: 'initialize' in: class. self assertRule: GRBasicNewInitializeMissingRule - expectedMatches: { class } \ No newline at end of file + matches: { class } \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testDeprecatedApiProtocol.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testDeprecatedApiProtocol.st index 24c4cb57..bc229c20 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testDeprecatedApiProtocol.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testDeprecatedApiProtocol.st @@ -8,4 +8,4 @@ testDeprecatedApiProtocol self compile: 'deprecated3 self greaseDeprecatedApi: ''GRSlimeMock>>#deprecated3'' details: ''Something.''' in: class. self assertRule: GRDeprecatedApiProtocolRule - expectedMatches: { class>>#deprecated2 . class>>#deprecated3 } \ No newline at end of file + matches: { class>>#deprecated2 . class>>#deprecated3 } \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testEmptyStatements.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testEmptyStatements.st index 834e9f96..d65a638c 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testEmptyStatements.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testEmptyStatements.st @@ -1,6 +1,8 @@ tests-block testEmptyStatements + "We added this test to make sure that this Pharo-supplied rule works because we previously had this one in Grease and it is important." + | class | class := self defineSubClassOf: #GRObject. self compile: 'emptyStatement1. self and' in: class. @@ -8,6 +10,6 @@ testEmptyStatements self compile: 'emptyStatement3 self and."foo".' in: class. self compile: 'emptyStatement4 self and."foo".self and' in: class. self - runRule: GREmptyStatementsRule - selectors: #(emptyStatement1 emptyStatement2 emptyStatement3 emptyStatement4) + assertRule: ReMultiplePeriodsTerminatingStatementRule + matches: { class>>#emptyStatement1 . class>>#emptyStatement2 . class>>#emptyStatement3 . class>>#emptyStatement4 } ignoring: (Array with: GRUnnecessaryLastPeriodRule) \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testInvalidObjectInitialization.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testInvalidObjectInitialization.st index 9db27eb0..c7bddcd6 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testInvalidObjectInitialization.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testInvalidObjectInitialization.st @@ -1,9 +1,9 @@ tests-block testInvalidObjectInitialization - + | class | class := self defineSubClassOf: #GRObject. self compile: 'initializeFoo: aNumber' in: class. self - runRule: GRInvalidObjectInitializationRule - selectors: #(initializeFoo:) \ No newline at end of file + assertRule: GRInvalidObjectInitializationRule + matches: { class>>#initializeFoo: } \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testNonPortableMessageRule.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testNonPortableMessageRule.st index e21849d4..d5b8d927 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testNonPortableMessageRule.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testNonPortableMessageRule.st @@ -1,6 +1,6 @@ tests-block testNonPortableMessageRule - + | class | class := self defineSubClassOf: #GRObject. @@ -11,5 +11,5 @@ testNonPortableMessageRule self compile: 'valid2 ^ Array new do: [ :each | each hash ]' in: class. self - runRule: GRNonPortableMessageRule - selectors: #(invalid1 invalid2) \ No newline at end of file + assertRule: GRNonPortableMessageRule + matches: { class>>#invalid1 . class>>#invalid2 } \ No newline at end of file From 2800c455039fe438b796c74132f9681cfa0f5e31 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 7 Jan 2024 17:15:27 +0100 Subject: [PATCH 167/254] Ported Slime rule for referencing/using a non-portable class --- .../instance/baselineCommon..st | 1 + .../instance/baselineGemStone..st | 1 + .../GRReferencesNotPortableClassRule.class/README.md | 0 .../class/checksMethod.st | 4 ++++ .../instance/basicCheck..st | 8 ++++++++ .../instance/name.st | 4 ++++ .../properties.json | 11 +++++++++++ .../GRSubclassesNotPortableClassRule.class/README.md | 0 .../class/checksClass.st | 4 ++++ .../instance/basicCheck..st | 4 ++++ .../instance/name.st | 4 ++++ .../properties.json | 11 +++++++++++ .../GRUsesNotPortableClassRule.class/README.md | 0 .../class/isAbstract.st | 4 ++++ .../instance/classNames.st | 4 ++++ .../instance/group.st | 4 ++++ .../instance/rationale.st | 4 ++++ .../GRUsesNotPortableClassRule.class/properties.json | 11 +++++++++++ .../GRReSlimeTest.class/instance/canParse..st | 1 + .../GRReSlimeTest.class/instance/category.st | 3 ++- .../GRReSlimeTest.class/instance/rules.st | 8 +++++--- .../GRReSlimeTest.class/instance/runCase.st | 1 + .../GRReSlimeTest.class/instance/setUp.st | 1 + .../instance/testNonPortableSourceFormat.st | 10 ---------- .../instance/testReferencesNotPortableClass.st | 11 +++++++++++ .../instance/testSubclassesNotPortableClass.st | 9 +++++++++ .../instance/testUnnecessaryLastPeriodRule.st | 6 +++--- .../instance/testUsesMethodAnnotations.st | 12 ------------ .../instance/testUsesNotPortableClass.st | 7 ++++--- 29 files changed, 116 insertions(+), 32 deletions(-) create mode 100644 repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/class/checksMethod.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/basicCheck..st create mode 100644 repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/class/checksClass.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/basicCheck..st create mode 100644 repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isAbstract.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/classNames.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/properties.json delete mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testNonPortableSourceFormat.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testReferencesNotPortableClass.st create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testSubclassesNotPortableClass.st delete mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesMethodAnnotations.st diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineCommon..st b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineCommon..st index 14755223..0ead53ce 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineCommon..st +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineCommon..st @@ -1,5 +1,6 @@ baselines baselineCommon: spec + spec for: #common do: [ spec blessing: #baseline. diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineGemStone..st b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineGemStone..st index fe1b4782..85554409 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineGemStone..st +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineGemStone..st @@ -1,5 +1,6 @@ baselines baselineGemStone: spec + spec for: #'gemstone' do: [ diff --git a/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/class/checksMethod.st b/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/class/checksMethod.st new file mode 100644 index 00000000..c0b5961f --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/class/checksMethod.st @@ -0,0 +1,4 @@ +testing - interest +checksMethod + + ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/basicCheck..st b/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/basicCheck..st new file mode 100644 index 00000000..18b14d25 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/basicCheck..st @@ -0,0 +1,8 @@ +running +basicCheck: aMethod + + (aMethod methodClass instanceSide category indexOfSubCollection: #'-Pharo-' startingAt: 1) ~= 0 ifTrue: [ + "classes in a -Pharo- package are per definition not portable and therefore allowed to use non-portable classes" + ^ false ]. + + ^ aMethod literals anySatisfy: [ :each | each isVariableBinding and: [ self classNames includes: each key ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/name.st new file mode 100644 index 00000000..510ca2ab --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Uses not portable class' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/properties.json new file mode 100644 index 00000000..d21602c8 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRUsesNotPortableClassRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRReferencesNotPortableClassRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/class/checksClass.st b/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/class/checksClass.st new file mode 100644 index 00000000..918ec479 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/class/checksClass.st @@ -0,0 +1,4 @@ +testing - interest +checksClass + + ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/basicCheck..st b/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/basicCheck..st new file mode 100644 index 00000000..1091897f --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/basicCheck..st @@ -0,0 +1,4 @@ +running +basicCheck: aClass + + ^ aClass allSuperclasses anySatisfy: [ :each | self classNames includes: each name ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/name.st new file mode 100644 index 00000000..65a2945a --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Subclasses not portable class' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/properties.json new file mode 100644 index 00000000..65aeb32b --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRUsesNotPortableClassRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRSubclassesNotPortableClassRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isAbstract.st b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isAbstract.st new file mode 100644 index 00000000..99dcbb1f --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isAbstract.st @@ -0,0 +1,4 @@ +testing +isAbstract + + ^ self == GRUsesNotPortableClassRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/classNames.st b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/classNames.st new file mode 100644 index 00000000..0487cbe8 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/classNames.st @@ -0,0 +1,4 @@ +private +classNames + + ^ #( Delay MIMEDocument Monitor Mutex MutexSet Random Semaphore TimeStamp Timestamp MessageSend ) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/group.st new file mode 100644 index 00000000..b4981dc4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/rationale.st new file mode 100644 index 00000000..e9a097fe --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'Some classes are not portable accross different Smalltalk dialects.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/properties.json new file mode 100644 index 00000000..2965264e --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeBlockLintRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRUsesNotPortableClassRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/canParse..st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/canParse..st index 083ac05b..ddf9adbc 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/canParse..st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/canParse..st @@ -1,5 +1,6 @@ accessing-code canParse: aString + RBParser parseMethod: aString onError: [ :err :pos | ^ false ]. diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/category.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/category.st index cfe78bd0..e4bff2ba 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/category.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/category.st @@ -1,3 +1,4 @@ -accessing +accessing-code category + ^ self class category , '-Data' \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st index 2a84e4b7..5508a8e7 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st @@ -1,8 +1,10 @@ -accessing +accessing-code rules - ^ OrderedCollection new + + ^ (OrderedCollection new addAll: GRReSlimeBlockLintRule allSubclasses; addAll: GRReSlimeParseTreeLintRule allSubclasses; " addAll: GRSlimeTransformationRule allSubclasses;" add: ReMultiplePeriodsTerminatingStatementRule; - yourself \ No newline at end of file + add: ReUnnecessaryLastPeriodRule; + yourself) reject: #isAbstract \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/runCase.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/runCase.st index 9465625f..a508309b 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/runCase.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/runCase.st @@ -1,3 +1,4 @@ running runCase + GRPlatform current doSilently: [ super runCase ] \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/setUp.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/setUp.st index ee5004c0..1ba40656 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/setUp.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/setUp.st @@ -1,5 +1,6 @@ running setUp + super setUp. factory := ClassFactoryForTestCase new. model := RBNamespace new. diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testNonPortableSourceFormat.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testNonPortableSourceFormat.st deleted file mode 100644 index 03012fdc..00000000 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testNonPortableSourceFormat.st +++ /dev/null @@ -1,10 +0,0 @@ -tests-block -testNonPortableSourceFormat - - | class | - class := self defineSubClassOf: #GRObject. - self compile: 'invalid ^ ''Unicode snow man', (String with: (Character codePoint: 16r2603)) , '''' in: class. - self compile: 'valid ^ ''everything is fine''' in: class. - self - runRule: GRNonPortableSourceFormatRule - selectors: #(invalid) \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testReferencesNotPortableClass.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testReferencesNotPortableClass.st new file mode 100644 index 00000000..dbc22862 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testReferencesNotPortableClass.st @@ -0,0 +1,11 @@ +tests-block +testReferencesNotPortableClass + + | class | + class := self defineSubClassOf: #GRObject. + class category: 'SomeCategory'. + self compile: 'invalid ^ Semaphore new' in: class. + self compile: 'valid ^ GRObject new' in: class. + self + assertRule: GRReferencesNotPortableClassRule + matches: { class>>#invalid }. \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testSubclassesNotPortableClass.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testSubclassesNotPortableClass.st new file mode 100644 index 00000000..2ced3881 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testSubclassesNotPortableClass.st @@ -0,0 +1,9 @@ +tests-block +testSubclassesNotPortableClass + + | class | + class := self defineSubClassOf: #Mutex. + class category: 'SomeCategory'. + self + assertRule: GRSubclassesNotPortableClassRule + matches: { class } \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUnnecessaryLastPeriodRule.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUnnecessaryLastPeriodRule.st index b9bde3fc..d6358cc7 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUnnecessaryLastPeriodRule.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUnnecessaryLastPeriodRule.st @@ -1,10 +1,10 @@ tests-block testUnnecessaryLastPeriodRule - + | class | class := self defineSubClassOf: #GRObject. self compile: 'invalid 1. 2.' in: class. self compile: 'valid 1. 2' in: class. self - runRule: GRUnnecessaryLastPeriodRule - selectors: #(invalid) \ No newline at end of file + assertRule: ReUnnecessaryLastPeriodRule + matches: { class>>#invalid } \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesMethodAnnotations.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesMethodAnnotations.st deleted file mode 100644 index 31d12a9d..00000000 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesMethodAnnotations.st +++ /dev/null @@ -1,12 +0,0 @@ -tests-block -testUsesMethodAnnotations - - | class | - (self canParse: 'foo ') - ifFalse: [ ^ self ]. - class := self defineSubClassOf: #GRObject. - self compile: 'invalid ' in: class. - self compile: 'valid' in: class. - self - runRule: GRUsesMethodAnnotationsRule - selectors: #(invalid) \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesNotPortableClass.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesNotPortableClass.st index 2e2bcb62..2df0cfed 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesNotPortableClass.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesNotPortableClass.st @@ -1,10 +1,11 @@ tests-block testUsesNotPortableClass - + | class | class := self defineSubClassOf: #GRObject. + class category: 'SomeCategory'. self compile: 'invalid ^ Semaphore new' in: class. self compile: 'valid ^ GRObject new' in: class. self - runRule: GRUsesNotPortableClassRule - selectors: #(invalid) \ No newline at end of file + assertRule: GRReferencesNotPortableClassRule + matches: { class>>#invalid }. \ No newline at end of file From 1c021777615790a2b4f0ed6f11a8cd269788c65b Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 7 Jan 2024 17:35:52 +0100 Subject: [PATCH 168/254] Block and Parens formatting rules moved to the PharoWithStyle project; removed the curly braces rule since it is not applicable anymore --- .../instance/testBlockFormatting.st | 29 ------------------- .../instance/testParensFormatting.st | 16 ---------- .../instance/testUsesCurlyBraceArrays.st | 18 ------------ 3 files changed, 63 deletions(-) delete mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testBlockFormatting.st delete mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testParensFormatting.st delete mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesCurlyBraceArrays.st diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testBlockFormatting.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testBlockFormatting.st deleted file mode 100644 index a1ad82b5..00000000 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testBlockFormatting.st +++ /dev/null @@ -1,29 +0,0 @@ -tests-parsetree -testBlockFormatting - - | class | - class := self defineSubClassOf: #GRObject. - self - compile: 'invalid1 - [:a ]' - in: class. - self - compile: 'invalid2 - [:a | ]' - in: class. - self - compile: 'invalid3 - [ :b]' - in: class. - - self - compile: 'invalid4 - [ :a| ]' - in: class. - self - compile: 'invalid5 - [ :a |a ]' - in: class. - self - runRule: GRBlockFormattingRule - selectors: #(invalid1 invalid2 invalid3 invalid4 invalid5) \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testParensFormatting.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testParensFormatting.st deleted file mode 100644 index d4c1b96b..00000000 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testParensFormatting.st +++ /dev/null @@ -1,16 +0,0 @@ -tests-parsetree -testParensFormatting - - | class | - class := self defineSubClassOf: #GRObject. - self - compile: 'invalid1 - ( 1 + 2)' - in: class. - self - compile: 'invalid2 - (1 + 2 )' - in: class. - self - runRule: GRParensFormattingRule - selectors: #(invalid1 invalid2) \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesCurlyBraceArrays.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesCurlyBraceArrays.st deleted file mode 100644 index 04f7298e..00000000 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesCurlyBraceArrays.st +++ /dev/null @@ -1,18 +0,0 @@ -tests-parsetree -testUsesCurlyBraceArrays - - | class | - (self canParse: 'foo { self foo. self bar }') - ifFalse: [ ^ self ]. - class := self defineSubClassOf: #GRObject. - self - compile: 'invalid - ^ { self foo. self bar }' - in: class. - self - compile: 'valid - ^ Array new' - in: class. - self - runRule: GRUsesCurlyBraceArraysRule - selectors: #(invalid) \ No newline at end of file From 18a37b0bb5972a2fdcb4158900c3e8765872e7f2 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 7 Jan 2024 18:06:23 +0100 Subject: [PATCH 169/254] Moved the return and temps formatting rules to the PharoWithStyle project --- .../GRReSlimeTest.class/instance/rules.st | 4 +--- .../instance/testReturnFormatting.st | 16 --------------- .../instance/testTempsFormatting.st | 20 ------------------- 3 files changed, 1 insertion(+), 39 deletions(-) delete mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testReturnFormatting.st delete mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testTempsFormatting.st diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st index 5508a8e7..8e2a8f69 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st @@ -1,10 +1,8 @@ -accessing-code +running rules ^ (OrderedCollection new addAll: GRReSlimeBlockLintRule allSubclasses; addAll: GRReSlimeParseTreeLintRule allSubclasses; " addAll: GRSlimeTransformationRule allSubclasses;" - add: ReMultiplePeriodsTerminatingStatementRule; - add: ReUnnecessaryLastPeriodRule; yourself) reject: #isAbstract \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testReturnFormatting.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testReturnFormatting.st deleted file mode 100644 index 0dc37ff6..00000000 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testReturnFormatting.st +++ /dev/null @@ -1,16 +0,0 @@ -tests-parsetree -testReturnFormatting - - | class | - class := self defineSubClassOf: #GRObject. - self - compile: 'invalid1 - ^1' - in: class. - self - compile: 'invalid2 - ^ 2' - in: class. - self - runRule: GRReturnFormattingRule - selectors: #(invalid1 invalid2) \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testTempsFormatting.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testTempsFormatting.st deleted file mode 100644 index b86d8685..00000000 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testTempsFormatting.st +++ /dev/null @@ -1,20 +0,0 @@ -tests-parsetree -testTempsFormatting - - | class | - class := self defineSubClassOf: #GRObject. - self - compile: 'invalid1 - | a|' - in: class. - self - compile: 'invalid2 - |a |' - in: class. - self - compile: 'invalid3 - | a b |' - in: class. - self - runRule: GRTempsFormattingRule - selectors: #(invalid1 invalid2 invalid3) \ No newline at end of file From e34bcc2d9f730c735fd42248ce1de8265013b739 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 7 Jan 2024 19:21:42 +0100 Subject: [PATCH 170/254] Two more Slime rules ported --- .../GRUsesCanPerformOrUnderstandRule.class/README.md | 0 .../instance/group.st | 4 ++++ .../instance/initialize.st | 7 +++++++ .../instance/name.st | 4 ++++ .../instance/rationale.st | 4 ++++ .../properties.json | 11 +++++++++++ .../GRUsesClassForHashRule.class/README.md | 0 .../instance/afterCheck.mappings..st | 4 ++++ .../GRUsesClassForHashRule.class/instance/group.st | 4 ++++ .../instance/initialize.st | 5 +++++ .../GRUsesClassForHashRule.class/instance/name.st | 4 ++++ .../instance/rationale.st | 4 ++++ .../GRUsesClassForHashRule.class/properties.json | 11 +++++++++++ .../instance/testEmptyStatements.st | 2 +- .../instance/testUsesCanPerformOrUnderstand.st | 6 +++--- .../instance/testUsesClassForHash.st | 6 +++--- 16 files changed, 69 insertions(+), 7 deletions(-) create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/afterCheck.mappings..st create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/properties.json diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.st new file mode 100644 index 00000000..b4981dc4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.st new file mode 100644 index 00000000..6ca1e900 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.st @@ -0,0 +1,7 @@ +initialization +initialize + + super initialize. + self matchesAny: #( + '`@receiver canPerform: `@selector' + '`@receiver canUnderstand: `@selector' ) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.st new file mode 100644 index 00000000..a7805d06 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Sends #canPerform: or #canUnderstand:' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.st new file mode 100644 index 00000000..4332f561 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ '#canPerform: or #canUnderstand: are not portable.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json new file mode 100644 index 00000000..70456891 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeParseTreeLintRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRUsesCanPerformOrUnderstandRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/afterCheck.mappings..st b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/afterCheck.mappings..st new file mode 100644 index 00000000..4648081c --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/afterCheck.mappings..st @@ -0,0 +1,4 @@ +hooks +afterCheck: aNode mappings: mappingDict + + ^ aNode methodNode selector = #hash \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/group.st new file mode 100644 index 00000000..b4981dc4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/initialize.st new file mode 100644 index 00000000..190c57e0 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/initialize.st @@ -0,0 +1,5 @@ +initialization +initialize + + super initialize. + self matches: '`@receiver class hash' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/name.st new file mode 100644 index 00000000..2a762ed7 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Uses its class for hash' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/rationale.st new file mode 100644 index 00000000..018489ab --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'The hash of an object should not depend on the hash of its class as some Smalltalk have non-constant class hashes.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/properties.json new file mode 100644 index 00000000..c679f3eb --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeParseTreeLintRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRUsesClassForHashRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testEmptyStatements.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testEmptyStatements.st index d65a638c..352c6fdc 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testEmptyStatements.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testEmptyStatements.st @@ -12,4 +12,4 @@ testEmptyStatements self assertRule: ReMultiplePeriodsTerminatingStatementRule matches: { class>>#emptyStatement1 . class>>#emptyStatement2 . class>>#emptyStatement3 . class>>#emptyStatement4 } - ignoring: (Array with: GRUnnecessaryLastPeriodRule) \ No newline at end of file + ignoring: (Array with: ReUnnecessaryLastPeriodRule) \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesCanPerformOrUnderstand.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesCanPerformOrUnderstand.st index 8164bc7c..5573c829 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesCanPerformOrUnderstand.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesCanPerformOrUnderstand.st @@ -1,6 +1,6 @@ tests-parsetree testUsesCanPerformOrUnderstand - + | class | class := self defineSubClassOf: #GRObject. self @@ -16,5 +16,5 @@ testUsesCanPerformOrUnderstand Object respondsTo: #new' in: class. self - runRule: GRUsesCanPerformOrUnderstandRule - selectors: #(invalid1 invalid2) \ No newline at end of file + assertRule: GRUsesCanPerformOrUnderstandRule + matches: { class>>#invalid1 . class>>#invalid2 } \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesClassForHash.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesClassForHash.st index f7ae3cf0..7b934bbe 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesClassForHash.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesClassForHash.st @@ -1,6 +1,6 @@ tests-parsetree testUsesClassForHash - + | class | class := self defineSubClassOf: #GRObject. self @@ -12,5 +12,5 @@ testUsesClassForHash ^ super hash bitXor: self class hash' in: class. self - runRule: GRUsesClassForHashRule - selectors: #(hash) \ No newline at end of file + assertRule: GRUsesClassForHashRule + matches: { class>>#hash } \ No newline at end of file From 002bf2e272bd5a86072a13d6b251df685e175093 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 7 Jan 2024 20:05:55 +0100 Subject: [PATCH 171/254] Ported ANSI Booleans transformation Slime rule --- .../GRAnsiBooleansRule.class/README.md | 0 .../instance/group.st | 4 ++++ .../instance/initialize.st | 19 +++++++++++++++++++ .../GRAnsiBooleansRule.class/instance/name.st | 4 ++++ .../instance/rationale.st | 4 ++++ .../GRAnsiBooleansRule.class/properties.json | 11 +++++++++++ .../GRAnsiCharactersRule.class/README.md | 0 .../properties.json | 11 +++++++++++ .../class/isVisible.st | 4 ++++ .../class/isVisible.st | 4 ++++ .../README.md | 0 .../class/isVisible.st | 4 ++++ .../properties.json | 11 +++++++++++ .../GRReSlimeTest.class/instance/rules.st | 2 +- .../instance/runTransformation.changes..st | 14 +++++++------- .../instance/testAnsiBooleansRule.st | 2 +- .../testReferencesNotPortableClass.st | 2 +- .../instance/testUnnecessaryLastPeriodRule.st | 10 ---------- .../instance/testUsesNotPortableClass.st | 2 +- 19 files changed, 87 insertions(+), 21 deletions(-) create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/class/isVisible.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/class/isVisible.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/class/isVisible.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/properties.json delete mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUnnecessaryLastPeriodRule.st diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/group.st new file mode 100644 index 00000000..f34a290f --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/initialize.st new file mode 100644 index 00000000..6058ed9f --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/initialize.st @@ -0,0 +1,19 @@ +initialization +initialize + + super initialize. + self + replace: '``@expr1 and: [ | `@temp2 | ``@expr2 ] and: [ | `@temp3 | ``@expr3 ]' + with: '``@expr1 and: [ | `@temp2 | ``@expr2 and: [ | `@temp3 | ``@expr3 ] ]'; + replace: '``@expr1 and: [ | `@temp2 | ``@expr2 ] and: [ | `@temp3 | ``@expr3 ] and: [ | `@temp4 | ``@expr4 ]' + with: '``@expr1 and: [ | `@temp2 | ``@expr2 and: [ | `@temp3 | ``@expr3 and: [ | `@temp4 | ``@expr4 ] ] ]'; + replace: '``@expr1 and: [ | `@temp2 | ``@expr2 ] and: [ | `@temp3 | ``@expr3 ] and: [ | `@temp4 | ``@expr4 ] and: [ | `@temp5 | ``@expr5 ]' + with: '``@expr1 and: [ | `@temp2 | ``@expr2 and: [ | `@temp3 | ``@expr3 and: [ | `@temp4 | ``@expr4 and: [ | `@temp5 | ``@expr5 ] ] ] ]'; + replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ]' + with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 ] ]'; + replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ] or: [ | `@temp4 | ``@expr4 ]' + with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 or: [ | `@temp4 | ``@expr4 ] ] ]'; + replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ] or: [ | `@temp4 | ``@expr4 ] or: [ | `@temp5 | ``@expr5 ]' + with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 or: [ | `@temp4 | ``@expr4 or: [ | `@temp5 | ``@expr5 ] ] ] ]'; + replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ] or: [ | `@temp4 | ``@expr4 ] or: [ | `@temp5 | ``@expr5 ] or: [ | `@temp6 | ``@expr6 ]' + with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 or: [ | `@temp4 | ``@expr4 or: [ | `@temp5 | ``@expr5 or: [ | `@temp6 | ``@expr6 ] ] ] ] ]' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/name.st new file mode 100644 index 00000000..c1c48207 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Booleans' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/rationale.st new file mode 100644 index 00000000..b650ed54 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ '#and:and: and #or:or: are not ANSI compatible.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/properties.json new file mode 100644 index 00000000..208c1ba2 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRAnsiBooleansRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/properties.json new file mode 100644 index 00000000..d5fe699b --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRAnsiCharactersRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/class/isVisible.st new file mode 100644 index 00000000..0e3a239e --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/class/isVisible.st @@ -0,0 +1,4 @@ +testing +isVisible + + ^ self name ~= #GRReSlimeBlockLintRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/class/isVisible.st new file mode 100644 index 00000000..2d2913fb --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/class/isVisible.st @@ -0,0 +1,4 @@ +testing +isVisible + + ^ self name ~= #GRReSlimeParseTreeLintRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/class/isVisible.st new file mode 100644 index 00000000..b84d2a50 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/class/isVisible.st @@ -0,0 +1,4 @@ +testing +isVisible + + ^ self name ~= #GRReSlimeTransformationRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/properties.json new file mode 100644 index 00000000..eaa3dd3e --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "ReNodeRewriteRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRReSlimeTransformationRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st index 8e2a8f69..58190464 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st @@ -4,5 +4,5 @@ rules ^ (OrderedCollection new addAll: GRReSlimeBlockLintRule allSubclasses; addAll: GRReSlimeParseTreeLintRule allSubclasses; -" addAll: GRSlimeTransformationRule allSubclasses;" + addAll: GRReSlimeTransformationRule allSubclasses; yourself) reject: #isAbstract \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/runTransformation.changes..st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/runTransformation.changes..st index 49b8b233..2bbd5df3 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/runTransformation.changes..st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/runTransformation.changes..st @@ -2,14 +2,14 @@ running-checks runTransformation: aClass changes: aCollection | expected | - expected := aCollection - collect: [ :each | RBParser parseMethod: each ]. - self run: aClass ignoring: Array new do: [ :rule :rules | - rule changes do: [ :change | + expected := aCollection collect: [ :each | RBParser parseMethod: each ]. + self run: aClass ignoring: Array new do: [ :critiques | | changes | + changes := critiques collect:[ :critique | critique change ]. + changes do: [ :change | self assert: (expected anySatisfy: [ :parseTree | change parseTree = parseTree ]) - description: change selector , ' should not be transformed' ]. + description: ('{1} should not be transformed' format: { change selector }) ]. expected do: [ :parseTree | self - assert: (rule changes anySatisfy: [ :change | change parseTree = parseTree ]) - description: parseTree selector , ' should be transformed' ] ] \ No newline at end of file + assert: (changes anySatisfy: [ :change | change parseTree = parseTree ]) + description: ('{1} should be transformed' format: { parseTree selector }) ] ] \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiBooleansRule.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiBooleansRule.st index d4020fe4..fc3a5aee 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiBooleansRule.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiBooleansRule.st @@ -1,6 +1,6 @@ tests-transform testAnsiBooleansRule - + | class | class := self defineSubClassOf: #GRObject. self compile: 'and 1 and: [ 2 ] and: [ 3 ] and: [ 4 ]' in: class. diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testReferencesNotPortableClass.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testReferencesNotPortableClass.st index dbc22862..6c1b5b23 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testReferencesNotPortableClass.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testReferencesNotPortableClass.st @@ -8,4 +8,4 @@ testReferencesNotPortableClass self compile: 'valid ^ GRObject new' in: class. self assertRule: GRReferencesNotPortableClassRule - matches: { class>>#invalid }. \ No newline at end of file + matches: { class>>#invalid } \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUnnecessaryLastPeriodRule.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUnnecessaryLastPeriodRule.st deleted file mode 100644 index d6358cc7..00000000 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUnnecessaryLastPeriodRule.st +++ /dev/null @@ -1,10 +0,0 @@ -tests-block -testUnnecessaryLastPeriodRule - - | class | - class := self defineSubClassOf: #GRObject. - self compile: 'invalid 1. 2.' in: class. - self compile: 'valid 1. 2' in: class. - self - assertRule: ReUnnecessaryLastPeriodRule - matches: { class>>#invalid } \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesNotPortableClass.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesNotPortableClass.st index 2df0cfed..5699c982 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesNotPortableClass.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesNotPortableClass.st @@ -8,4 +8,4 @@ testUsesNotPortableClass self compile: 'valid ^ GRObject new' in: class. self assertRule: GRReferencesNotPortableClassRule - matches: { class>>#invalid }. \ No newline at end of file + matches: { class>>#invalid } \ No newline at end of file From 1ec525d02e3f36d1e69a5a5af66c5792b8516132 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 7 Jan 2024 20:11:14 +0100 Subject: [PATCH 172/254] fix --- .../GRAnsiCharactersRule.class/instance/group.st | 4 ++++ .../instance/initialize.st | 13 +++++++++++++ .../GRAnsiCharactersRule.class/instance/name.st | 4 ++++ .../instance/rationale.st | 4 ++++ .../instance/testAnsiCharacterRule.st | 2 +- 5 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/rationale.st diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/group.st new file mode 100644 index 00000000..f34a290f --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st new file mode 100644 index 00000000..85ad1c4c --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st @@ -0,0 +1,13 @@ +initialization +initialize + + super initialize. + self replace: 'Character value: ``@expr' with: 'Character codePoint: ``@expr' + "replace: '`#source to: `#target' + withValueFrom: [ :node | + RBLiteralNode value: (String streamContents: [ :stream | + node receiver value codePoint to: node arguments first value codePoint do: [ :code | + stream nextPut: (Character codePoint: code) ] ]) ] + when: [ :node | + node receiver value isCharacter + and: [ node arguments first value isCharacter ] ]" \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/name.st new file mode 100644 index 00000000..6ea7a32b --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Characters' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/rationale.st new file mode 100644 index 00000000..94cf8eb0 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'Character value: 64 and $a to: $b is not ANSI compatible.' \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiCharacterRule.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiCharacterRule.st index 3507a7e9..a7eaeecf 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiCharacterRule.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiCharacterRule.st @@ -1,6 +1,6 @@ tests-transform testAnsiCharacterRule - + | class | class := self defineSubClassOf: #GRObject. self compile: 'character Character value: 123' in: class. From 59552a5f03c446a70170790f8a61b6c5a75204a9 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 7 Jan 2024 20:35:37 +0100 Subject: [PATCH 173/254] Ported all transformation Slime rules --- .../GRAnsiCollectionsRule.class/README.md | 0 .../instance/group.st | 4 +++ .../instance/initialize.st | 30 +++++++++++++++++++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../GRAnsiConditionalsRule.class/README.md | 0 .../instance/group.st | 4 +++ .../instance/initialize.st | 17 +++++++++++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../GRAnsiConvertorRule.class/README.md | 0 .../instance/group.st | 4 +++ .../instance/initialize.st | 7 +++++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../GRAnsiConvertorRule.class/properties.json | 11 +++++++ .../GRAnsiExceptionsRule.class/README.md | 0 .../instance/group.st | 4 +++ .../instance/initialize.st | 7 +++++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../GRAnsiStreamsRule.class/README.md | 0 .../GRAnsiStreamsRule.class/instance/group.st | 4 +++ .../instance/initialize.st | 13 ++++++++ .../GRAnsiStreamsRule.class/instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../GRAnsiStreamsRule.class/properties.json | 11 +++++++ .../GRAnsiStringsRule.class/README.md | 0 .../GRAnsiStringsRule.class/instance/group.st | 4 +++ .../instance/initialize.st | 25 ++++++++++++++++ .../GRAnsiStringsRule.class/instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../GRAnsiStringsRule.class/properties.json | 11 +++++++ .../README.md | 0 .../instance/group.st | 4 +++ .../instance/initialize.st | 9 ++++++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../GRObjectInRule.class/README.md | 1 + .../GRObjectInRule.class/instance/group.st | 4 +++ .../instance/initialize.st | 7 +++++ .../GRObjectInRule.class/instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../GRObjectInRule.class/properties.json | 11 +++++++ .../GRTestAssertionsRule.class/README.md | 1 + .../instance/afterCheck.mappings..st | 8 +++++ .../instance/checkMethod..st | 7 +++++ .../instance/group.st | 4 +++ .../instance/initialize.st | 7 +++++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../instance/testAnsiCollectionsRule.st | 2 +- .../instance/testAnsiConditionalsRule.st | 2 +- .../instance/testAnsiConvertorRule.st | 2 +- .../instance/testAnsiExceptionsRule.st | 2 +- .../instance/testAnsiStreamsRule.st | 2 +- .../instance/testAnsiStringsRule.st | 2 +- .../testNotPortableCollectionsRule.st | 2 +- .../instance/testObjectIn.st | 2 +- .../instance/testTestCaseFailRule.st | 2 +- .../instance/testTestCaseFailRule2.st | 9 ++++++ 66 files changed, 364 insertions(+), 9 deletions(-) create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/afterCheck.mappings..st create mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/checkMethod..st create mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/properties.json create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testTestCaseFailRule2.st diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/group.st new file mode 100644 index 00000000..f34a290f --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/initialize.st new file mode 100644 index 00000000..86c772ea --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/initialize.st @@ -0,0 +1,30 @@ +initialization +initialize + super initialize. + self + replace: '``@collection withIndexDo: [ :`each :`index | | `@temps | ``@.body ]' + with: '``@collection keysAndValuesDo: [ :`index :`each | | `@temps | ``@.body ]'; + replace: '``@collection doWithIndex: [ :`each :`index | | `@temps | ``@.body ]' + with: '``@collection keysAndValuesDo: [ :`index :`each | | `@temps | ``@.body ]'; + replace: '``@collection collect: ``@block1 thenDo: ``@block2' + with: '(``@collection collect: ``@block1) do: ``@block2'; + replace: '``@collection collect: ``@block1 thenSelect: ``@block2' + with: '(``@collection collect: ``@block1) select: ``@block2'; + replace: '``@collection pairsDo: [ :`t1 :`t2 | ``@.statements ]' + with: '1 to: ``@collection size by: 2 do: [ :index | | `t1 `t2 | `t1 := ``@collection at: index. `t2 := ``@collection at: index + 1. ``@.statements ]'; + replace: '``@collection reject: ``@block1 thenDo: ``@block2' + with: '(``@collection reject: ``@block1) do: ``@block2'; + replace: '``@collection select: ``@block1 thenCollect: ``@block2' + with: '(``@collection select: ``@block1) collect: ``@block2'; + replace: '``@collection select: ``@block1 thenDo: ``@block2' + with: '(``@collection select: ``@block1) do: ``@block2'; + replace: '``@collection detectSum: [ :`t1 | ``@.statements. `.last ]' + with: '``@collection inject: 0 into: [ :sum :`t1 | ``@.statements. sum + (`.last) ]'; + replace: '``@collection valuesDo: ``@block' + with: '``@collection do: ``@block'; + replace: '``@collection reversed' + with: '``@collection reverse'; + replace: '``@dictionary keysSortedSafely' + with: '``@dictionary keys asSortedCollection'; + replace: '``@collectionClass new: ``@size withAll: ``@character' + with: '(``@collectionClass new: ``@size) atAllPut: ``@character' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/name.st new file mode 100644 index 00000000..a318a869 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Collections' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/rationale.st new file mode 100644 index 00000000..5929ea0d --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'Some collection methods are not ANSI compatible: #pairsDo:, #collect:thenDo:, #reject:thenDo:, #detectSum:, #valuesDo:, #keysSortedSafely, #new:withAll:, etc.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/properties.json new file mode 100644 index 00000000..b6b9f5c5 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRAnsiCollectionsRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/group.st new file mode 100644 index 00000000..f34a290f --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/initialize.st new file mode 100644 index 00000000..962d59d3 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/initialize.st @@ -0,0 +1,17 @@ +initialization +initialize + + super initialize. + self + replace: '``@boolean ifNotNilDo: ``@block' + with: '``@boolean ifNotNil: ``@block'; + replace: '``@boolean ifNotNilDo: ``@block1 ifNil: ``@block2' + with: '``@boolean ifNotNil: ``@block1 ifNil: ``@block2'; + replace: '``@boolean ifNil: ``@block1 ifNotNilDo: ``@block2' + with: '``@boolean ifNil: ``@block1 ifNotNil: ``@block2'; + replace: '``@boolean ifNotNil: [ | `@temps | ``@.body ]' + with: '``@boolean ifNotNil: [ :arg | | `@temps | ``@.body ]'; + replace: '``@boolean ifNotNil: [ | `@temps | ``@.body ] ifNil: ``@block ' + with: '``@boolean ifNotNil: [ :arg | | `@temps | ``@.body ] ifNil: ``@block'; + replace: '``@boolean ifNil: ``@block ifNotNil: [ | `@temps | ``@.body ]' + with: '``@boolean ifNil: ``@block ifNotNil: [ :arg | | `@temps | ``@.body ]' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/name.st new file mode 100644 index 00000000..76482a4a --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Conditionals' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/rationale.st new file mode 100644 index 00000000..a60d109e --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'Conditionals like #ifNotNilDo: are not ANSI compatible.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/properties.json new file mode 100644 index 00000000..c9539d38 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRAnsiConditionalsRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/group.st new file mode 100644 index 00000000..f34a290f --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/initialize.st new file mode 100644 index 00000000..4867fd82 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/initialize.st @@ -0,0 +1,7 @@ +initialization +initialize + + super initialize. + self + replace: '``@object asString' with: '``@object greaseString'; + replace: '``@object asInteger' with: '``@object greaseInteger' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/name.st new file mode 100644 index 00000000..14c21187 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Convertors' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/rationale.st new file mode 100644 index 00000000..806fe5ac --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'The ANSI standard does not support #asInteger and #asString on Object.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/properties.json new file mode 100644 index 00000000..0e6e4cb4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRAnsiConvertorRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/group.st new file mode 100644 index 00000000..f34a290f --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/initialize.st new file mode 100644 index 00000000..a06d318e --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/initialize.st @@ -0,0 +1,7 @@ +initialization +initialize + + super initialize. + self + replace: '``@block on: `class do: [ | `@temps | ``@.body ]' + with: '``@block on: `class do: [ :err | | `@temps | ``@.body ]' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/name.st new file mode 100644 index 00000000..6d5286e6 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Exceptions' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/rationale.st new file mode 100644 index 00000000..7ec36da6 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'Exception handlers expect exactly one argument in ANSI.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/properties.json new file mode 100644 index 00000000..51375683 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRAnsiExceptionsRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/group.st new file mode 100644 index 00000000..f34a290f --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/initialize.st new file mode 100644 index 00000000..1b87d4ea --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/initialize.st @@ -0,0 +1,13 @@ +initialization +initialize + + super initialize. + self + replace: '`{ :node :context | node isVariable and: [ (Smalltalk includesKey: node name asSymbol) not and: [ context at: ''`receiver'' ifAbsentPut: [ node ]. true ] ] } cr' + with: '`{ :context | context at: ''`receiver'' } nextPut: Character cr'; + replace: '`{ :node :context | node isVariable and: [ (Smalltalk includesKey: node name asSymbol) not and: [ context at: ''`receiver'' ifAbsentPut: [ node ]. true ] ] } lf' + with: '`{ :context | context at: ''`receiver'' } nextPut: Character lf'; + replace: '``@stream nextPut: Character cr; nextPut: Character lf' + with: '``@stream crlf'; + replace: '``@collection writeStream' + with: 'WriteStream on: ``@collection' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/name.st new file mode 100644 index 00000000..50e44acb --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Streams' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/rationale.st new file mode 100644 index 00000000..3d05fb7c --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ '#cr and #lf are not part of the ANSI stream protocol.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/properties.json new file mode 100644 index 00000000..2539d9c8 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRAnsiStreamsRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/group.st new file mode 100644 index 00000000..f34a290f --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/initialize.st new file mode 100644 index 00000000..ae23d568 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/initialize.st @@ -0,0 +1,25 @@ +initialization +initialize + + super initialize. + self + replace: 'String tab' with: '(String with: Character tab)'; + replace: 'String cr' with: '(String with: Character cr)'; + replace: 'String lf' with: '(String with: Character lf)'; + replace: 'String crlf' with: '(String with: Character cr with: Character lf)'; + replace: 'String space' with: '(String with: Character space)'; + replace: '`@string includesSubString: `@subString' + with: '(`@string indexOfSubCollection: `@subString startingAt: 0) ~= 0'; + replace: '`@string includesSubstring: `@subString' + with: '(`@string indexOfSubCollection: `@subString startingAt: 0) ~= 0' + "replace: '``@string findTokens: ``@arg' withValueFrom: [ :node | + | argument | + argument := node arguments first. + argument isLiteralNode ifTrue: [ + argument value isArray + ifTrue: [ argument replaceWith: (RBLiteralNode value: (String withAll: argument value)) ]. + argument value isCharacter + ifTrue: [ argument replaceWith: (RBLiteralNode value: (String with: argument value)) ] ]. + node + selector: #subStrings:; + yourself ]" \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/name.st new file mode 100644 index 00000000..31e016a6 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Strings' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/rationale.st new file mode 100644 index 00000000..84577e32 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ '#cr, #crlf, #lf, #space, #tab, #findTokens:, ... are not part of the ANSI string protocol.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/properties.json new file mode 100644 index 00000000..f544f2e7 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRAnsiStringsRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/group.st new file mode 100644 index 00000000..b4981dc4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st new file mode 100644 index 00000000..5e8d416d --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st @@ -0,0 +1,9 @@ +initialization +initialize + + super initialize. + self + replace: '`@collection beginsWith: `@subCollection' + with: '`@collection greaseBeginsWith: `@subCollection'; + replace: '`@collection endsWith: `@subCollection' + with: '`@collection greaseEndsWith: `@subCollection' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/name.st new file mode 100644 index 00000000..a318a869 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Collections' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/rationale.st new file mode 100644 index 00000000..df5a43be --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ '#beginsWith: and #endsWith: are not portable.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/properties.json new file mode 100644 index 00000000..2a5a777c --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRNotPortableCollectionsRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/README.md new file mode 100644 index 00000000..bca4d093 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/README.md @@ -0,0 +1 @@ +I detect senders of Object >> #in: diff --git a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/group.st new file mode 100644 index 00000000..b4981dc4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/initialize.st new file mode 100644 index 00000000..d51d0570 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/initialize.st @@ -0,0 +1,7 @@ +initialization +initialize + + super initialize. + self + replace: '``@object in: [ :`var | | `@temps | `@.statements ]' + with: '[ :`var | | `@temps | `@.statements ] value: ``@object' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/name.st new file mode 100644 index 00000000..914d48df --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Object>>#in:' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/rationale.st new file mode 100644 index 00000000..944aa7c5 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'Object>>#in: has different semantics on different Smalltalk dialects.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/properties.json new file mode 100644 index 00000000..96ac6c53 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "pmm 9/12/2009 10:37", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRObjectInRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/README.md new file mode 100644 index 00000000..6f3d9062 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/README.md @@ -0,0 +1 @@ +I check for TestCase >> #fail. \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/afterCheck.mappings..st b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/afterCheck.mappings..st new file mode 100644 index 00000000..874f1381 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/afterCheck.mappings..st @@ -0,0 +1,8 @@ +hooks +afterCheck: aNode mappings: mappingsDict + + aNode methodNode methodClass isMeta + ifTrue: [ ^ false ]. + (aNode methodNode methodClass allSuperclasses includes: (Smalltalk at: #TestCase)) + ifTrue: [ ^ true ]. + ^ false \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/checkMethod..st b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/checkMethod..st new file mode 100644 index 00000000..bab892c3 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/checkMethod..st @@ -0,0 +1,7 @@ +running +checkMethod: aContext + aContext methodClass isMeta + ifTrue: [ ^ self ]. + (aContext methodClass allSuperclasses includes:(Smalltalk at: #TestCase)) + ifFalse: [ ^ self ]. + ^ super checkMethod: aContext \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/group.st new file mode 100644 index 00000000..eb721d8e --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'SUnit Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/initialize.st new file mode 100644 index 00000000..097ff5a1 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/initialize.st @@ -0,0 +1,7 @@ +initialization +initialize + + super initialize. + self + replace: 'self fail' + with: 'self assert: false' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/name.st new file mode 100644 index 00000000..0dd472fc --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'TestCase >> #fail' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/rationale.st new file mode 100644 index 00000000..4e358c3e --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'TestCase >> #fail is not portable.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/properties.json new file mode 100644 index 00000000..cd52efa5 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "pmm 8/17/2014 11:24", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRTestAssertionsRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiCollectionsRule.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiCollectionsRule.st index d4cfdb9b..85726226 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiCollectionsRule.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiCollectionsRule.st @@ -1,6 +1,6 @@ tests-transform testAnsiCollectionsRule - + | class | class := self defineSubClassOf: #GRObject. self compile: 'withIndexDo #() withIndexDo: [ :each :index | each + index ]' in: class. diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiConditionalsRule.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiConditionalsRule.st index 8d15ea35..cffcbfa7 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiConditionalsRule.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiConditionalsRule.st @@ -1,6 +1,6 @@ tests-transform testAnsiConditionalsRule - + | class | class := self defineSubClassOf: #GRObject. self compile: 'ifNotNil 1 ifNotNil: [ | a | self or. self and ]' in: class. diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiConvertorRule.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiConvertorRule.st index fd54043f..b29370e2 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiConvertorRule.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiConvertorRule.st @@ -1,6 +1,6 @@ tests-transform testAnsiConvertorRule - + | class | class := self defineSubClassOf: #GRObject. self compile: 'convertInteger ''1'' asInteger' in: class. diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiExceptionsRule.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiExceptionsRule.st index af061a7e..57b75a75 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiExceptionsRule.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiExceptionsRule.st @@ -1,6 +1,6 @@ tests-transform testAnsiExceptionsRule - + | class | class := self defineSubClassOf: #GRObject. self compile: 'exception1 [ self or ] on: Error do: [ self or ]' in: class. diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiStreamsRule.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiStreamsRule.st index 6550cb75..7a8b3238 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiStreamsRule.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiStreamsRule.st @@ -1,6 +1,6 @@ tests-transform testAnsiStreamsRule - + | class | class := self defineSubClassOf: #GRObject. self compile: 'writeStream ^ '''' writeStream' in: class. diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiStringsRule.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiStringsRule.st index 2b01a845..9e0aeb9e 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiStringsRule.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiStringsRule.st @@ -1,6 +1,6 @@ tests-transform testAnsiStringsRule - + | class | class := self defineSubClassOf: #GRObject. self compile: 'stringCr String cr, (String with: Character cr)' in: class. diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testNotPortableCollectionsRule.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testNotPortableCollectionsRule.st index 2e619cfa..ba64daef 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testNotPortableCollectionsRule.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testNotPortableCollectionsRule.st @@ -1,6 +1,6 @@ tests-transform testNotPortableCollectionsRule - + | class | class := self defineSubClassOf: #GRObject. self compile: 'beginsWith1 ''abc'' beginsWith: ''a''' in: class. diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testObjectIn.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testObjectIn.st index dcd86cb1..5711be2a 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testObjectIn.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testObjectIn.st @@ -1,6 +1,6 @@ tests-transform testObjectIn - + | class | class := self defineSubClassOf: #GRObject. self compile: 'objectIn1 1 in: [ :val | val factorial ]' in: class. diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testTestCaseFailRule.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testTestCaseFailRule.st index ad803388..c4044a19 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testTestCaseFailRule.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testTestCaseFailRule.st @@ -1,6 +1,6 @@ tests-transform testTestCaseFailRule - + | class | class := self defineSubClassOf: #TestCase. self compile: 'testMethod self fail' in: class. diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testTestCaseFailRule2.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testTestCaseFailRule2.st new file mode 100644 index 00000000..13e098a6 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testTestCaseFailRule2.st @@ -0,0 +1,9 @@ +tests-transform +testTestCaseFailRule2 + + | class | + class := self defineSubClassOf: #Object. + self compile: 'method self fail' in: class. + self + runTransformation: GRTestAssertionsRule + changes: #( ) \ No newline at end of file From 1031a70fafecf1119c381ed8167ad92e52797740 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 7 Jan 2024 20:46:06 +0100 Subject: [PATCH 174/254] Change class names back to previous class names (i.e. 'GRReXXX' to 'GRXXX') --- .../GRAnsiBooleansRule.class/properties.json | 2 +- .../GRAnsiCharactersRule.class/properties.json | 2 +- .../GRAnsiCollectionsRule.class/properties.json | 2 +- .../GRAnsiConditionalsRule.class/properties.json | 2 +- .../GRAnsiConvertorRule.class/properties.json | 2 +- .../GRAnsiExceptionsRule.class/properties.json | 2 +- .../GRAnsiStreamsRule.class/properties.json | 2 +- .../GRAnsiStringsRule.class/instance/initialize.st | 6 +++--- .../GRAnsiStringsRule.class/properties.json | 2 +- .../GRBasicNewInitializeMissingRule.class/properties.json | 2 +- .../GRDeprecatedApiProtocolRule.class/properties.json | 2 +- .../GRInvalidObjectInitializationRule.class/properties.json | 2 +- .../GRNonPortableMessageRule.class/properties.json | 2 +- .../GRNotPortableCollectionsRule.class/properties.json | 2 +- .../GRObjectInRule.class/properties.json | 2 +- .../GRReSlimeBlockLintRule.class/class/isVisible.st | 4 ---- .../GRReSlimeParseTreeLintRule.class/class/isVisible.st | 4 ---- .../GRReSlimeTransformationRule.class/class/isVisible.st | 4 ---- .../README.md | 0 .../GRSlimeBlockLintRule.class/class/isVisible.st | 4 ++++ .../properties.json | 2 +- .../README.md | 0 .../GRSlimeParseTreeLintRule.class/class/isVisible.st | 4 ++++ .../properties.json | 2 +- .../README.md | 0 .../GRSlimeTransformationRule.class/class/isVisible.st | 4 ++++ .../properties.json | 2 +- .../GRTestAssertionsRule.class/properties.json | 2 +- .../GRUsesCanPerformOrUnderstandRule.class/properties.json | 2 +- .../GRUsesClassForHashRule.class/properties.json | 2 +- .../GRUsesNotPortableClassRule.class/class/isAbstract.st | 2 +- .../GRUsesNotPortableClassRule.class/class/isVisible.st | 4 ++++ .../GRUsesNotPortableClassRule.class/properties.json | 2 +- .../GRReSlimeTest.class/instance/rules.st | 6 +++--- 34 files changed, 44 insertions(+), 40 deletions(-) delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/class/isVisible.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/class/isVisible.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/class/isVisible.st rename repository/Grease-Pharo110-Slime.package/{GRReSlimeBlockLintRule.class => GRSlimeBlockLintRule.class}/README.md (100%) create mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/class/isVisible.st rename repository/Grease-Pharo110-Slime.package/{GRReSlimeBlockLintRule.class => GRSlimeBlockLintRule.class}/properties.json (84%) rename repository/Grease-Pharo110-Slime.package/{GRReSlimeParseTreeLintRule.class => GRSlimeParseTreeLintRule.class}/README.md (100%) create mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/class/isVisible.st rename repository/Grease-Pharo110-Slime.package/{GRReSlimeParseTreeLintRule.class => GRSlimeParseTreeLintRule.class}/properties.json (82%) rename repository/Grease-Pharo110-Slime.package/{GRReSlimeTransformationRule.class => GRSlimeTransformationRule.class}/README.md (100%) create mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/class/isVisible.st rename repository/Grease-Pharo110-Slime.package/{GRReSlimeTransformationRule.class => GRSlimeTransformationRule.class}/properties.json (82%) create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isVisible.st diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/properties.json index 208c1ba2..4cab4c2d 100644 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRReSlimeTransformationRule", + "super" : "GRSlimeTransformationRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/properties.json index d5fe699b..2517609b 100644 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRReSlimeTransformationRule", + "super" : "GRSlimeTransformationRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/properties.json index b6b9f5c5..1261c334 100644 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRReSlimeTransformationRule", + "super" : "GRSlimeTransformationRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/properties.json index c9539d38..542f8001 100644 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRReSlimeTransformationRule", + "super" : "GRSlimeTransformationRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/properties.json index 0e6e4cb4..0069fdf8 100644 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRReSlimeTransformationRule", + "super" : "GRSlimeTransformationRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/properties.json index 51375683..6bd99b1d 100644 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRReSlimeTransformationRule", + "super" : "GRSlimeTransformationRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/properties.json index 2539d9c8..d367dbf7 100644 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRReSlimeTransformationRule", + "super" : "GRSlimeTransformationRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/initialize.st index ae23d568..07556e09 100644 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/initialize.st +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/initialize.st @@ -11,8 +11,8 @@ initialize replace: '`@string includesSubString: `@subString' with: '(`@string indexOfSubCollection: `@subString startingAt: 0) ~= 0'; replace: '`@string includesSubstring: `@subString' - with: '(`@string indexOfSubCollection: `@subString startingAt: 0) ~= 0' - "replace: '``@string findTokens: ``@arg' withValueFrom: [ :node | + with: '(`@string indexOfSubCollection: `@subString startingAt: 0) ~= 0'; + replace: '``@string findTokens: ``@arg' byEvaluating: [ :node | | argument | argument := node arguments first. argument isLiteralNode ifTrue: [ @@ -22,4 +22,4 @@ initialize ifTrue: [ argument replaceWith: (RBLiteralNode value: (String with: argument value)) ] ]. node selector: #subStrings:; - yourself ]" \ No newline at end of file + yourself ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/properties.json index f544f2e7..39506d7e 100644 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRReSlimeTransformationRule", + "super" : "GRSlimeTransformationRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json index 67a42ffc..e15fd361 100644 --- a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRReSlimeBlockLintRule", + "super" : "GRSlimeBlockLintRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json index 87feb3c9..724ee707 100644 --- a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRReSlimeParseTreeLintRule", + "super" : "GRSlimeParseTreeLintRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/properties.json index 4cbd7077..37adfef6 100644 --- a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRReSlimeBlockLintRule", + "super" : "GRSlimeBlockLintRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/properties.json index 95a60d91..e1e9857f 100644 --- a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRReSlimeBlockLintRule", + "super" : "GRSlimeBlockLintRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/properties.json index 2a5a777c..33f1f490 100644 --- a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRReSlimeTransformationRule", + "super" : "GRSlimeTransformationRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/properties.json index 96ac6c53..c4168e75 100644 --- a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "pmm 9/12/2009 10:37", - "super" : "GRReSlimeTransformationRule", + "super" : "GRSlimeTransformationRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/class/isVisible.st deleted file mode 100644 index 0e3a239e..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/class/isVisible.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isVisible - - ^ self name ~= #GRReSlimeBlockLintRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/class/isVisible.st deleted file mode 100644 index 2d2913fb..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/class/isVisible.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isVisible - - ^ self name ~= #GRReSlimeParseTreeLintRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/class/isVisible.st deleted file mode 100644 index b84d2a50..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/class/isVisible.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isVisible - - ^ self name ~= #GRReSlimeTransformationRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/README.md similarity index 100% rename from repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/README.md rename to repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/README.md diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/class/isVisible.st new file mode 100644 index 00000000..116356fd --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/class/isVisible.st @@ -0,0 +1,4 @@ +testing +isVisible + + ^ self name ~= #GRSlimeBlockLintRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/properties.json similarity index 84% rename from repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/properties.json rename to repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/properties.json index 23226a97..e1389bfa 100644 --- a/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/properties.json @@ -6,6 +6,6 @@ "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "GRReSlimeBlockLintRule", + "name" : "GRSlimeBlockLintRule", "type" : "normal" } \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/README.md similarity index 100% rename from repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/README.md rename to repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/README.md diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/class/isVisible.st new file mode 100644 index 00000000..5d72890a --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/class/isVisible.st @@ -0,0 +1,4 @@ +testing +isVisible + + ^ self name ~= #GRSlimeParseTreeLintRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/properties.json similarity index 82% rename from repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/properties.json rename to repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/properties.json index e5d01d93..28ab8124 100644 --- a/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/properties.json @@ -6,6 +6,6 @@ "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "GRReSlimeParseTreeLintRule", + "name" : "GRSlimeParseTreeLintRule", "type" : "normal" } \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/README.md similarity index 100% rename from repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/README.md rename to repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/README.md diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/class/isVisible.st new file mode 100644 index 00000000..b60e68d4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/class/isVisible.st @@ -0,0 +1,4 @@ +testing +isVisible + + ^ self name ~= #GRSlimeTransformationRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/properties.json similarity index 82% rename from repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/properties.json rename to repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/properties.json index eaa3dd3e..df276035 100644 --- a/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/properties.json @@ -6,6 +6,6 @@ "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "GRReSlimeTransformationRule", + "name" : "GRSlimeTransformationRule", "type" : "normal" } \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/properties.json index cd52efa5..572f670a 100644 --- a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "pmm 8/17/2014 11:24", - "super" : "GRReSlimeTransformationRule", + "super" : "GRSlimeTransformationRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json index 70456891..a30a05da 100644 --- a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRReSlimeParseTreeLintRule", + "super" : "GRSlimeParseTreeLintRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/properties.json index c679f3eb..063aef8f 100644 --- a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRReSlimeParseTreeLintRule", + "super" : "GRSlimeParseTreeLintRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isAbstract.st b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isAbstract.st index 99dcbb1f..7d1d20cc 100644 --- a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isAbstract.st +++ b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isAbstract.st @@ -1,4 +1,4 @@ testing isAbstract - ^ self == GRUsesNotPortableClassRule \ No newline at end of file + ^ self name = #GRUsesNotPortableClassRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isVisible.st new file mode 100644 index 00000000..680a15af --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isVisible.st @@ -0,0 +1,4 @@ +testing +isVisible + + ^ self name ~= #GRUsesNotPortableClassRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/properties.json index 2965264e..128f88b8 100644 --- a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRReSlimeBlockLintRule", + "super" : "GRSlimeBlockLintRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st index 58190464..a7984364 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st @@ -2,7 +2,7 @@ running rules ^ (OrderedCollection new - addAll: GRReSlimeBlockLintRule allSubclasses; - addAll: GRReSlimeParseTreeLintRule allSubclasses; - addAll: GRReSlimeTransformationRule allSubclasses; + addAll: GRSlimeBlockLintRule allSubclasses; + addAll: GRSlimeParseTreeLintRule allSubclasses; + addAll: GRSlimeTransformationRule allSubclasses; yourself) reject: #isAbstract \ No newline at end of file From bfea7eadc9109ac5a85f3135a2f05c24b652eccb Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sat, 13 Jan 2024 14:20:16 +0100 Subject: [PATCH 175/254] Fix ANSI characters Slime rule --- .../instance/initialize.st | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st index 85ad1c4c..ea3f6e73 100644 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st @@ -2,12 +2,15 @@ initialization initialize super initialize. - self replace: 'Character value: ``@expr' with: 'Character codePoint: ``@expr' - "replace: '`#source to: `#target' - withValueFrom: [ :node | - RBLiteralNode value: (String streamContents: [ :stream | - node receiver value codePoint to: node arguments first value codePoint do: [ :code | - stream nextPut: (Character codePoint: code) ] ]) ] - when: [ :node | - node receiver value isCharacter - and: [ node arguments first value isCharacter ] ]" \ No newline at end of file + self + replace: 'Character value: ``@expr' + with: 'Character codePoint: ``@expr'. + self + replace: '`#source to: `#target' + byEvaluating: [ :node | + (node receiver value isCharacter and: [ + node arguments first value isCharacter ]) + ifTrue: [ + RBLiteralNode value: (String streamContents: [ :stream | + node receiver value codePoint to: node arguments first value codePoint do: [ :code | stream nextPut: (Character codePoint: code) ] ]) ] + ifFalse: [ node ] ] \ No newline at end of file From 499065208853879664fe6601d2dae958fa7c41d3 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sat, 13 Jan 2024 15:31:34 +0100 Subject: [PATCH 176/254] Fix ANSIStrings Slime rule --- .../GRAnsiStringsRule.class/instance/initialize.st | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/initialize.st index 07556e09..702a9ad0 100644 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/initialize.st +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/initialize.st @@ -13,13 +13,14 @@ initialize replace: '`@string includesSubstring: `@subString' with: '(`@string indexOfSubCollection: `@subString startingAt: 0) ~= 0'; replace: '``@string findTokens: ``@arg' byEvaluating: [ :node | - | argument | - argument := node arguments first. + | argument newNode | + newNode := node copy. + argument := newNode arguments first. argument isLiteralNode ifTrue: [ argument value isArray ifTrue: [ argument replaceWith: (RBLiteralNode value: (String withAll: argument value)) ]. argument value isCharacter ifTrue: [ argument replaceWith: (RBLiteralNode value: (String with: argument value)) ] ]. - node + newNode selector: #subStrings:; yourself ] \ No newline at end of file From 8f6c9b8496a41401d6b93c882f89e7c4a81f7ebc Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 14 Jan 2024 09:51:21 +0100 Subject: [PATCH 177/254] test with smalltalkCI fork for Pharo12 fix --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e7286ca..c009f691 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,7 @@ jobs: - uses: actions/checkout@v3 - uses: hpi-swa/setup-smalltalkCI@v1 with: + smalltalkCI-source: 'jbrichau/smalltalkCI' smalltalk-image: ${{ matrix.smalltalk }} - name: Run tests run: smalltalkci -s ${{ matrix.smalltalk }} From 52ba23426e0c4551ff18ccfab9314c0da75f1061 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 14 Jan 2024 09:55:41 +0100 Subject: [PATCH 178/254] try again to run against smalltalk-CI branch --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c009f691..2fc95e74 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,6 +22,7 @@ jobs: - uses: hpi-swa/setup-smalltalkCI@v1 with: smalltalkCI-source: 'jbrichau/smalltalkCI' + smalltalkCI-branch: 'master' smalltalk-image: ${{ matrix.smalltalk }} - name: Run tests run: smalltalkci -s ${{ matrix.smalltalk }} From 4e5cec20ea8b69f8b72acc8c9e8897d3e090a1ff Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 14 Jan 2024 11:05:16 +0100 Subject: [PATCH 179/254] try new fix branch for SmalltalkCI --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2fc95e74..2b33d50d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: - uses: hpi-swa/setup-smalltalkCI@v1 with: smalltalkCI-source: 'jbrichau/smalltalkCI' - smalltalkCI-branch: 'master' + smalltalkCI-branch: 'fix-issue-623' smalltalk-image: ${{ matrix.smalltalk }} - name: Run tests run: smalltalkci -s ${{ matrix.smalltalk }} From 64ac15d95c5d77326deb5c3b4759d6b3c4189f23 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 14 Jan 2024 14:04:09 +0100 Subject: [PATCH 180/254] Fixes Slime test for empty statements (will work correctly after fix for issue https://github.com/pharo-project/pharo/issues/15955 is merged into Pharo) --- .../GRReSlimeTest.class/instance/rules.st | 2 ++ .../instance/testEmptyStatements.st | 17 ++++++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st index a7984364..13c0034b 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st @@ -5,4 +5,6 @@ rules addAll: GRSlimeBlockLintRule allSubclasses; addAll: GRSlimeParseTreeLintRule allSubclasses; addAll: GRSlimeTransformationRule allSubclasses; + add: ReMultiplePeriodsTerminatingStatementRule; + add: ReMethodSignaturePeriodRule; yourself) reject: #isAbstract \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testEmptyStatements.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testEmptyStatements.st index 352c6fdc..7e3c3a62 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testEmptyStatements.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testEmptyStatements.st @@ -1,15 +1,18 @@ tests-block testEmptyStatements "We added this test to make sure that this Pharo-supplied rule works because we previously had this one in Grease and it is important." - | class | class := self defineSubClassOf: #GRObject. - self compile: 'emptyStatement1. self and' in: class. - self compile: 'emptyStatement2 self and..' in: class. - self compile: 'emptyStatement3 self and."foo".' in: class. - self compile: 'emptyStatement4 self and."foo".self and' in: class. + self compile: 'emptyStatement1.', (String with: Character cr), ' self and' in: class. + self compile: 'emptyStatement2', (String with: Character cr), ' self and..' in: class. + self compile: 'emptyStatement3', (String with: Character cr), ' self and."foo".' in: class. + self compile: 'emptyStatement4', (String with: Character cr), ' self and."foo".self and' in: class. self assertRule: ReMultiplePeriodsTerminatingStatementRule - matches: { class>>#emptyStatement1 . class>>#emptyStatement2 . class>>#emptyStatement3 . class>>#emptyStatement4 } - ignoring: (Array with: ReUnnecessaryLastPeriodRule) \ No newline at end of file + matches: { class>>#emptyStatement2 . class>>#emptyStatement3 . class>>#emptyStatement4 } + ignoring: { ReMethodSignaturePeriodRule }. + self + assertRule: ReMethodSignaturePeriodRule + matches: { class>>#emptyStatement1 } + ignoring: { ReMultiplePeriodsTerminatingStatementRule }. \ No newline at end of file From c4074b0404f8248d68c94a768597f4f3c69d03ef Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 14 Jan 2024 15:00:03 +0100 Subject: [PATCH 181/254] Add Pharo110 to GRPackage resolution --- .../GRPackage.class/instance/resolveWith..st | 38 +++++++++---------- 1 file changed, 17 insertions(+), 21 deletions(-) diff --git a/repository/Grease-Core.package/GRPackage.class/instance/resolveWith..st b/repository/Grease-Core.package/GRPackage.class/instance/resolveWith..st index 210c7f65..d0a379cd 100644 --- a/repository/Grease-Core.package/GRPackage.class/instance/resolveWith..st +++ b/repository/Grease-Core.package/GRPackage.class/instance/resolveWith..st @@ -5,24 +5,20 @@ resolveWith: aDictionary aDictionary at: each ifAbsent: [ "if Foo-Pharo-Bar fails try Foo-Pharo20-Bar and Foo-Pharo30-Bar" (each indexOfSubCollection: '-Pharo-' startingAt: 1) ~= 0 ifTrue: [ - "try -Pharo40-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo40-') ifAbsent: [ - "try -Pharo50-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo50-') ifAbsent: [ - "try -Pharo60-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo60-') ifAbsent: [ - "try -Pharo70-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo70-') ifAbsent: [ - "try -Pharo90-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo90-') ifAbsent: [ - "try -Pharo100-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo100-') ifAbsent: [ - "try -Squeak-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak-') ifAbsent: [ - "try -Squeak5-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak5-') ifAbsent: [ - "try -Squeak6-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak6-') ifAbsent: [ - "specific for Grease-Slime" - aDictionary at: (each copyReplaceAll: 'Grease-Pharo-Slime' with: 'Grease-Slime') ifAbsent: [ - self error: self name printString , ' depends on unknown package ' , each printString ] ] ] ] ] ] ] ] ] ] ] ] ] \ No newline at end of file + "try -Pharo70-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo70-') ifAbsent: [ + "try -Pharo90-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo90-') ifAbsent: [ + "try -Pharo100-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo100-') ifAbsent: [ + "try -Pharo110-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo100-') ifAbsent: [ + "try -Squeak-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak-') ifAbsent: [ + "try -Squeak5-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak5-') ifAbsent: [ + "try -Squeak6-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak6-') ifAbsent: [ + "specific for Grease-Slime" + aDictionary at: (each copyReplaceAll: 'Grease-Pharo-Slime' with: 'Grease-Slime') ifAbsent: [ + self error: self name printString , ' depends on unknown package ' , each printString ] ] ] ] ] ] ] ] ] ] ] \ No newline at end of file From 55f34f462e4299b32046713dc91d0418b6f02203 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 14 Jan 2024 15:06:35 +0100 Subject: [PATCH 182/254] fix resolveWith: older version package names are used in later Pharo versions --- .../GRPackage.class/instance/resolveWith..st | 40 +++++++++++-------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/repository/Grease-Core.package/GRPackage.class/instance/resolveWith..st b/repository/Grease-Core.package/GRPackage.class/instance/resolveWith..st index d0a379cd..0617a084 100644 --- a/repository/Grease-Core.package/GRPackage.class/instance/resolveWith..st +++ b/repository/Grease-Core.package/GRPackage.class/instance/resolveWith..st @@ -5,20 +5,26 @@ resolveWith: aDictionary aDictionary at: each ifAbsent: [ "if Foo-Pharo-Bar fails try Foo-Pharo20-Bar and Foo-Pharo30-Bar" (each indexOfSubCollection: '-Pharo-' startingAt: 1) ~= 0 ifTrue: [ - "try -Pharo70-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo70-') ifAbsent: [ - "try -Pharo90-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo90-') ifAbsent: [ - "try -Pharo100-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo100-') ifAbsent: [ - "try -Pharo110-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo100-') ifAbsent: [ - "try -Squeak-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak-') ifAbsent: [ - "try -Squeak5-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak5-') ifAbsent: [ - "try -Squeak6-" - aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak6-') ifAbsent: [ - "specific for Grease-Slime" - aDictionary at: (each copyReplaceAll: 'Grease-Pharo-Slime' with: 'Grease-Slime') ifAbsent: [ - self error: self name printString , ' depends on unknown package ' , each printString ] ] ] ] ] ] ] ] ] ] ] \ No newline at end of file + "try -Pharo40-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo40-') ifAbsent: [ + "try -Pharo50-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo50-') ifAbsent: [ + "try -Pharo60-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo60-') ifAbsent: [ + "try -Pharo70-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo70-') ifAbsent: [ + "try -Pharo90-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo90-') ifAbsent: [ + "try -Pharo100-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo100-') ifAbsent: [ + "try -Pharo110-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo110-') ifAbsent: [ + "try -Squeak-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak-') ifAbsent: [ + "try -Squeak5-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak5-') ifAbsent: [ + "try -Squeak6-" + aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak6-') ifAbsent: [ + "specific for Grease-Slime" + aDictionary at: (each copyReplaceAll: 'Grease-Pharo-Slime' with: 'Grease-Slime') ifAbsent: [ + self error: self name printString , ' depends on unknown package ' , each printString ] ] ] ] ] ] ] ] ] ] ] ] ] ] \ No newline at end of file From 9aac9aaca4389dc41a714f5b570a7b72bf56a249 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 14 Jan 2024 15:23:16 +0100 Subject: [PATCH 183/254] gemstone 3.6.7 is no longer available for download, switching back to testing with 3.6.6 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b33d50d..831cdc8f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - smalltalk: [ Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.7.0, GemStone64-3.6.7, GemStone64-3.5.7, Squeak64-5.3 ] + smalltalk: [ Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.7.0, GemStone64-3.6.6, GemStone64-3.5.7, Squeak64-5.3 ] experimental: [ false ] include: - smalltalk: Pharo64-12 From b073206c228ea0fd8aa7e62b9be07470ee19a961 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sat, 27 Jan 2024 09:21:03 +0100 Subject: [PATCH 184/254] Mark testEmptyStatements as fixed in Pharo 12 but breaking in earlier versions --- .../GRReSlimeTest.class/instance/expectedFailures.st | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/expectedFailures.st diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/expectedFailures.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/expectedFailures.st new file mode 100644 index 00000000..8c178caf --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/expectedFailures.st @@ -0,0 +1,6 @@ +running +expectedFailures + + SystemVersion current major >= 12 ifTrue:[ ^ #() ]. + + ^ #(#testEmptyStatements) \ No newline at end of file From 933bc731de15ca1446ffefc7c039bf180b232eb2 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 28 Jan 2024 10:34:57 +0100 Subject: [PATCH 185/254] Fix GRAnsiCharacterRule: should only match character literals --- .../GRAnsiCharactersRule.class/instance/initialize.st | 2 +- .../GRReSlimeTest.class/instance/testAnsiCharacterRule.st | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st index ea3f6e73..f83e0222 100644 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st @@ -6,7 +6,7 @@ initialize replace: 'Character value: ``@expr' with: 'Character codePoint: ``@expr'. self - replace: '`#source to: `#target' + replace: '`#source `{:node | node value isCharacter }` to: `#target' byEvaluating: [ :node | (node receiver value isCharacter and: [ node arguments first value isCharacter ]) diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiCharacterRule.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiCharacterRule.st index a7eaeecf..ddc22642 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiCharacterRule.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testAnsiCharacterRule.st @@ -5,6 +5,7 @@ testAnsiCharacterRule class := self defineSubClassOf: #GRObject. self compile: 'character Character value: 123' in: class. self compile: 'characterRange $a to: $c' in: class. + self compile: 'integerRange 1 to: 10' in: class. self runTransformation: GRAnsiCharactersRule changes: #('character Character codePoint: 123' 'characterRange ''abc''') \ No newline at end of file From 788fa150afdc6d44d83bde34fcaed9f4f2e5f700 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sat, 3 Feb 2024 15:52:57 +0100 Subject: [PATCH 186/254] Added support for newTemporaryFileReference in GemStone versions higher than 3.3 --- .../instance/newTemporaryFileReference.st | 8 ++++++++ .../instance/newTemporaryFileReferenceNamed..st | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 repository/Grease-GemStone330-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFileReference.st create mode 100644 repository/Grease-GemStone330-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFileReferenceNamed..st diff --git a/repository/Grease-GemStone330-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFileReference.st b/repository/Grease-GemStone330-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFileReference.st new file mode 100644 index 00000000..a89cef9e --- /dev/null +++ b/repository/Grease-GemStone330-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFileReference.st @@ -0,0 +1,8 @@ +*grease-gemstone330-core +newTemporaryFileReference + "Create a new temporary file in the systems temp directory + and answer a reference to it. + It is the users responsibility to delete or move the file, + it will not be cleaned up automatically (unless the host system + has a policy for it)." + ^ self newTemporaryFileReferenceNamed: UUID new greaseString diff --git a/repository/Grease-GemStone330-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFileReferenceNamed..st b/repository/Grease-GemStone330-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFileReferenceNamed..st new file mode 100644 index 00000000..de9da1ec --- /dev/null +++ b/repository/Grease-GemStone330-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFileReferenceNamed..st @@ -0,0 +1,8 @@ +*grease-gemstone330-core +newTemporaryFileReferenceNamed: aName + "Create a new temporary file in the systems temp directory + and answer a reference to it. + It is the users responsibility to delete or move the file, + it will not be cleaned up automatically (unless the host system + has a policy for it)." + ^ GsFile openWriteOnServer: '/tmp/', aName From 4d9ea9f26ec9f130c1b09fed367d75c41c70c4aa Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 4 Feb 2024 09:25:16 +0100 Subject: [PATCH 187/254] Deprecate existing `newTemporaryFileReference` in favour of `newTemporaryFile` which returns a pathString consistent with other Grease file-handling methods --- .../GRPlatform.class/instance/newTemporaryFile.st | 6 ++++++ .../instance/newTemporaryFileNamed..st | 6 ++++++ .../instance/newTemporaryFileReference.st | 8 -------- .../instance/newTemporaryFileReferenceNamed..st | 3 --- .../instance/newTemporaryFile.st | 4 ++++ .../instance/newTemporaryFileNamed..st | 4 ++++ .../instance/newTemporaryFileReference.st | 3 +++ .../instance/newTemporaryFileReferenceNamed..st | 3 +++ .../instance/testNewTemporaryFile.st | 13 +++++++++++++ .../instance/testNewTemporaryFileNamed.st | 13 +++++++++++++ 10 files changed, 52 insertions(+), 11 deletions(-) create mode 100644 repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFile.st create mode 100644 repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileNamed..st delete mode 100644 repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileReference.st delete mode 100644 repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileReferenceNamed..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFile.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileNamed..st create mode 100644 repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testNewTemporaryFile.st create mode 100644 repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testNewTemporaryFileNamed.st diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFile.st b/repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFile.st new file mode 100644 index 00000000..e92ccc4c --- /dev/null +++ b/repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFile.st @@ -0,0 +1,6 @@ +files +newTemporaryFile + "Create a new temporary file in the systems temp directory and answer its pathString. + It is the users responsibility to delete or move the file, it will not be cleaned up automatically + (unless the host system has a policy for it)." + ^ self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileNamed..st b/repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileNamed..st new file mode 100644 index 00000000..c03ea7f2 --- /dev/null +++ b/repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileNamed..st @@ -0,0 +1,6 @@ +files +newTemporaryFileNamed: aName + "Create a new temporary file in the systems temp directory and answer its pathString. + It is the users responsibility to delete or move the file, it will not be cleaned up automatically + (unless the host system has a policy for it)." + self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileReference.st b/repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileReference.st deleted file mode 100644 index 91961b92..00000000 --- a/repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileReference.st +++ /dev/null @@ -1,8 +0,0 @@ -files -newTemporaryFileReference - "Create a new temporary file in the systems temp directory - and answer a reference to it. - It is the users responsibility to delete or move the file, - it will not be cleaned up automatically (unless the host system - has a policy for it)." - ^ self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileReferenceNamed..st b/repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileReferenceNamed..st deleted file mode 100644 index 93059d5f..00000000 --- a/repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileReferenceNamed..st +++ /dev/null @@ -1,3 +0,0 @@ -files -newTemporaryFileReferenceNamed: aName - self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFile.st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFile.st new file mode 100644 index 00000000..01578607 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFile.st @@ -0,0 +1,4 @@ +files +newTemporaryFile + + ^ self newTemporaryFileNamed: UUID new greaseString \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileNamed..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileNamed..st new file mode 100644 index 00000000..5e778cdd --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileNamed..st @@ -0,0 +1,4 @@ +files +newTemporaryFileNamed: aName + + ^ (FileLocator temp / aName) pathString \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st index cd503715..7992374f 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st @@ -5,4 +5,7 @@ newTemporaryFileReference It is the users responsibility to delete or move the file, it will not be cleaned up automatically (unless the host system has a policy for it)." + self + greaseDeprecatedApi: 'GRPlatform>>newTemporaryFileReference' + details: 'Use newTemporaryFile'. ^ self newTemporaryFileReferenceNamed: UUID new asString \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReferenceNamed..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReferenceNamed..st index 5f4d0602..81baa7c1 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReferenceNamed..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReferenceNamed..st @@ -5,4 +5,7 @@ newTemporaryFileReferenceNamed: aName It is the users responsibility to delete or move the file, it will not be cleaned up automatically (unless the host system has a policy for it)." + self + greaseDeprecatedApi: 'GRPlatform>>newTemporaryFileReferenceNamed:' + details: 'Use newTemporaryFileNamed:'. ^ FileLocator temp / aName \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testNewTemporaryFile.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testNewTemporaryFile.st new file mode 100644 index 00000000..f02a8289 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testNewTemporaryFile.st @@ -0,0 +1,13 @@ +tests-files +testNewTemporaryFile + + | temporaryFile | + [ + temporaryFile := GRPlatform current newTemporaryFile. + GRPlatform current + writeFileStreamOn: temporaryFile + do: [ :str | str nextPutAll: 'test temporary' ] + binary: false. + self assert: (GRPlatform current fileExists: temporaryFile) + ] ensure: [ GRPlatform current deleteFile: temporaryFile ]. + self deny: (GRPlatform current fileExists: temporaryFile) \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testNewTemporaryFileNamed.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testNewTemporaryFileNamed.st new file mode 100644 index 00000000..68d6ff3c --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testNewTemporaryFileNamed.st @@ -0,0 +1,13 @@ +tests-files +testNewTemporaryFileNamed + + | temporaryFile | + [ + temporaryFile := GRPlatform current newTemporaryFileNamed: 'test_temporary'. + GRPlatform current + writeFileStreamOn: temporaryFile + do: [ :str | str nextPutAll: 'test temporary' ] + binary: false. + self assert: (GRPlatform current fileExists: temporaryFile) + ] ensure: [ GRPlatform current deleteFile: temporaryFile ]. + self deny: (GRPlatform current fileExists: temporaryFile) \ No newline at end of file From 0176ed2fb0619de39cc60437d4c60d0513f6e381 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 4 Feb 2024 09:39:26 +0100 Subject: [PATCH 188/254] added temporary file creation methods to older Pharo versions --- .../GRPharoPlatform.class/instance/newTemporaryFile.st | 4 ++++ .../GRPharoPlatform.class/instance/newTemporaryFileNamed..st | 4 ++++ .../instance/newTemporaryFileReference.st | 3 +++ .../instance/newTemporaryFileReferenceNamed..st | 3 +++ .../GRPharoPlatform.class/instance/newTemporaryFile.st | 4 ++++ .../GRPharoPlatform.class/instance/newTemporaryFileNamed..st | 4 ++++ .../instance/newTemporaryFileReference.st | 3 +++ .../instance/newTemporaryFileReferenceNamed..st | 3 +++ 8 files changed, 28 insertions(+) create mode 100644 repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFile.st create mode 100644 repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileNamed..st create mode 100644 repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFile.st create mode 100644 repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileNamed..st diff --git a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFile.st b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFile.st new file mode 100644 index 00000000..01578607 --- /dev/null +++ b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFile.st @@ -0,0 +1,4 @@ +files +newTemporaryFile + + ^ self newTemporaryFileNamed: UUID new greaseString \ No newline at end of file diff --git a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileNamed..st b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileNamed..st new file mode 100644 index 00000000..5e778cdd --- /dev/null +++ b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileNamed..st @@ -0,0 +1,4 @@ +files +newTemporaryFileNamed: aName + + ^ (FileLocator temp / aName) pathString \ No newline at end of file diff --git a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st index ce7f6f18..63358983 100644 --- a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st +++ b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st @@ -5,4 +5,7 @@ newTemporaryFileReference It is the users responsibility to delete or move the file, it will not be cleaned up automatically (unless the host system has a policy for it)." + self + greaseDeprecatedApi: 'GRPlatform>>newTemporaryFileReference' + details: 'Use newTemporaryFile'. ^ self newTemporaryFileReferenceNamed: UUID new asString \ No newline at end of file diff --git a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReferenceNamed..st b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReferenceNamed..st index f0fdf80f..d9eed8ee 100644 --- a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReferenceNamed..st +++ b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReferenceNamed..st @@ -5,4 +5,7 @@ newTemporaryFileReferenceNamed: aName It is the users responsibility to delete or move the file, it will not be cleaned up automatically (unless the host system has a policy for it)." + self + greaseDeprecatedApi: 'GRPlatform>>newTemporaryFileReferenceNamed:' + details: 'Use newTemporaryFileNamed:'. ^ FileLocator temp / aName \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFile.st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFile.st new file mode 100644 index 00000000..01578607 --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFile.st @@ -0,0 +1,4 @@ +files +newTemporaryFile + + ^ self newTemporaryFileNamed: UUID new greaseString \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileNamed..st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileNamed..st new file mode 100644 index 00000000..5e778cdd --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileNamed..st @@ -0,0 +1,4 @@ +files +newTemporaryFileNamed: aName + + ^ (FileLocator temp / aName) pathString \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st index cd503715..7992374f 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st @@ -5,4 +5,7 @@ newTemporaryFileReference It is the users responsibility to delete or move the file, it will not be cleaned up automatically (unless the host system has a policy for it)." + self + greaseDeprecatedApi: 'GRPlatform>>newTemporaryFileReference' + details: 'Use newTemporaryFile'. ^ self newTemporaryFileReferenceNamed: UUID new asString \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReferenceNamed..st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReferenceNamed..st index 5f4d0602..81baa7c1 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReferenceNamed..st +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReferenceNamed..st @@ -5,4 +5,7 @@ newTemporaryFileReferenceNamed: aName It is the users responsibility to delete or move the file, it will not be cleaned up automatically (unless the host system has a policy for it)." + self + greaseDeprecatedApi: 'GRPlatform>>newTemporaryFileReferenceNamed:' + details: 'Use newTemporaryFileNamed:'. ^ FileLocator temp / aName \ No newline at end of file From c83bb49c5012e2dcaeaa73c1e2620f8abfdae37c Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 4 Feb 2024 09:58:28 +0100 Subject: [PATCH 189/254] added new temporary file creation methods to GemStone --- .../instance/newTemporaryFile.st | 4 ++++ .../instance/newTemporaryFileNamed..st | 4 ++++ .../instance/newTemporaryFileReference.st | 8 -------- .../instance/newTemporaryFileReferenceNamed..st | 8 -------- 4 files changed, 8 insertions(+), 16 deletions(-) create mode 100644 repository/Grease-GemStone300-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFile.st create mode 100644 repository/Grease-GemStone300-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFileNamed..st delete mode 100644 repository/Grease-GemStone330-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFileReference.st delete mode 100644 repository/Grease-GemStone330-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFileReferenceNamed..st diff --git a/repository/Grease-GemStone300-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFile.st b/repository/Grease-GemStone300-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFile.st new file mode 100644 index 00000000..9c7dcae5 --- /dev/null +++ b/repository/Grease-GemStone300-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFile.st @@ -0,0 +1,4 @@ +*grease-gemstone300-core +newTemporaryFile + + ^ self newTemporaryFileNamed: UUID new greaseString diff --git a/repository/Grease-GemStone300-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFileNamed..st b/repository/Grease-GemStone300-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFileNamed..st new file mode 100644 index 00000000..c41ed58e --- /dev/null +++ b/repository/Grease-GemStone300-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFileNamed..st @@ -0,0 +1,4 @@ +*grease-gemstone300-core +newTemporaryFileNamed: aName + + ^ (GsFile openWriteOnServer: '/tmp/', aName) pathName diff --git a/repository/Grease-GemStone330-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFileReference.st b/repository/Grease-GemStone330-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFileReference.st deleted file mode 100644 index a89cef9e..00000000 --- a/repository/Grease-GemStone330-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFileReference.st +++ /dev/null @@ -1,8 +0,0 @@ -*grease-gemstone330-core -newTemporaryFileReference - "Create a new temporary file in the systems temp directory - and answer a reference to it. - It is the users responsibility to delete or move the file, - it will not be cleaned up automatically (unless the host system - has a policy for it)." - ^ self newTemporaryFileReferenceNamed: UUID new greaseString diff --git a/repository/Grease-GemStone330-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFileReferenceNamed..st b/repository/Grease-GemStone330-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFileReferenceNamed..st deleted file mode 100644 index de9da1ec..00000000 --- a/repository/Grease-GemStone330-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFileReferenceNamed..st +++ /dev/null @@ -1,8 +0,0 @@ -*grease-gemstone330-core -newTemporaryFileReferenceNamed: aName - "Create a new temporary file in the systems temp directory - and answer a reference to it. - It is the users responsibility to delete or move the file, - it will not be cleaned up automatically (unless the host system - has a policy for it)." - ^ GsFile openWriteOnServer: '/tmp/', aName From acf57600216910eb04d8fc5a987f57d19ccaa4ad Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 4 Feb 2024 10:09:40 +0100 Subject: [PATCH 190/254] moved method to GemStone-Core package and implemented missing deleteFile: method --- .../GRGemStonePlatform.class/instance/deleteFile..st | 4 ++++ .../GRGemStonePlatform.class}/instance/newTemporaryFile.st | 2 +- .../instance/newTemporaryFileNamed..st | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/deleteFile..st rename repository/{Grease-GemStone300-Core.package/GRGemStonePlatform.extension => Grease-GemStone-Core.package/GRGemStonePlatform.class}/instance/newTemporaryFile.st (73%) rename repository/{Grease-GemStone300-Core.package/GRGemStonePlatform.extension => Grease-GemStone-Core.package/GRGemStonePlatform.class}/instance/newTemporaryFileNamed..st (77%) diff --git a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/deleteFile..st b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/deleteFile..st new file mode 100644 index 00000000..5959876d --- /dev/null +++ b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/deleteFile..st @@ -0,0 +1,4 @@ +files +deleteFile: aPathString + + GsFile removeServerFile: aPathString diff --git a/repository/Grease-GemStone300-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFile.st b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/newTemporaryFile.st similarity index 73% rename from repository/Grease-GemStone300-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFile.st rename to repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/newTemporaryFile.st index 9c7dcae5..c452c26b 100644 --- a/repository/Grease-GemStone300-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFile.st +++ b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/newTemporaryFile.st @@ -1,4 +1,4 @@ -*grease-gemstone300-core +files newTemporaryFile ^ self newTemporaryFileNamed: UUID new greaseString diff --git a/repository/Grease-GemStone300-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFileNamed..st b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/newTemporaryFileNamed..st similarity index 77% rename from repository/Grease-GemStone300-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFileNamed..st rename to repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/newTemporaryFileNamed..st index c41ed58e..46483c70 100644 --- a/repository/Grease-GemStone300-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFileNamed..st +++ b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/newTemporaryFileNamed..st @@ -1,4 +1,4 @@ -*grease-gemstone300-core +files newTemporaryFileNamed: aName ^ (GsFile openWriteOnServer: '/tmp/', aName) pathName From 602230d111a3131af35e629990590c0f943108c4 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 4 Feb 2024 10:20:56 +0100 Subject: [PATCH 191/254] added file methods for Squeak 6 --- .../GRSqueakPlatform.class/instance/newTemporaryFile.st | 4 ++++ .../GRSqueakPlatform.class/instance/newTemporaryFileNamed..st | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/newTemporaryFile.st create mode 100644 repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileNamed..st diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/newTemporaryFile.st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/newTemporaryFile.st new file mode 100644 index 00000000..01578607 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/newTemporaryFile.st @@ -0,0 +1,4 @@ +files +newTemporaryFile + + ^ self newTemporaryFileNamed: UUID new greaseString \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileNamed..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileNamed..st new file mode 100644 index 00000000..cd8669c0 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileNamed..st @@ -0,0 +1,4 @@ +files +newTemporaryFileNamed: aName + + ^ (FileDirectory default / aName) pathName \ No newline at end of file From 454b8de660f9262349af384f21d55f5fddd2ae89 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 4 Feb 2024 10:22:34 +0100 Subject: [PATCH 192/254] Also add temporary file creation methods to Squeak 5 --- .../GRSqueakPlatform.class/instance/newTemporaryFile.st | 4 ++++ .../GRSqueakPlatform.class/instance/newTemporaryFileNamed..st | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/newTemporaryFile.st create mode 100644 repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileNamed..st diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/newTemporaryFile.st b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/newTemporaryFile.st new file mode 100644 index 00000000..01578607 --- /dev/null +++ b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/newTemporaryFile.st @@ -0,0 +1,4 @@ +files +newTemporaryFile + + ^ self newTemporaryFileNamed: UUID new greaseString \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileNamed..st b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileNamed..st new file mode 100644 index 00000000..cd8669c0 --- /dev/null +++ b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileNamed..st @@ -0,0 +1,4 @@ +files +newTemporaryFileNamed: aName + + ^ (FileDirectory default / aName) pathName \ No newline at end of file From 34bd7c337540d7272fb776f6217b8a20658f13a5 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 4 Feb 2024 10:30:51 +0100 Subject: [PATCH 193/254] added deleteFile: to Squeak --- .../GRSqueakPlatform.class/instance/deleteFile..st | 3 +++ .../GRSqueakPlatform.class/instance/deleteFile..st | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/deleteFile..st create mode 100644 repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/deleteFile..st diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/deleteFile..st b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/deleteFile..st new file mode 100644 index 00000000..d03eee50 --- /dev/null +++ b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/deleteFile..st @@ -0,0 +1,3 @@ +files +deleteFile: aPathString + FileDirectory deleteFilePath: aPathString \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/deleteFile..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/deleteFile..st new file mode 100644 index 00000000..d03eee50 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/deleteFile..st @@ -0,0 +1,3 @@ +files +deleteFile: aPathString + FileDirectory deleteFilePath: aPathString \ No newline at end of file From f7d355f105cb958e9433b0bfbc59dbf33edbe898 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 4 Feb 2024 10:33:20 +0100 Subject: [PATCH 194/254] fix missing method in Squeak 6 --- .../instance/writeFileStreamOn.do.binary..st | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/writeFileStreamOn.do.binary..st diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/writeFileStreamOn.do.binary..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/writeFileStreamOn.do.binary..st new file mode 100644 index 00000000..1207150a --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/writeFileStreamOn.do.binary..st @@ -0,0 +1,8 @@ +as yet unclassified +writeFileStreamOn: aString do: aBlock binary: aBoolean + | stream | + stream := aBoolean + ifTrue: [ (MultiByteFileStream fileNamed: aString) ascii; wantsLineEndConversion: true; yourself ] + ifFalse: [ (FileStream fileNamed: aString) binary ]. + [ aBlock value: stream ] + ensure: [ stream close ] \ No newline at end of file From f20c01fb2dff0b23d64199418fc732bcba1ec8c0 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 4 Feb 2024 12:22:14 +0100 Subject: [PATCH 195/254] Test unique name of two generated temporary files --- .../instance/testNewTemporaryFile.st | 19 +++++++++++++------ .../monticello.meta/categories.st | 2 +- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testNewTemporaryFile.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testNewTemporaryFile.st index f02a8289..a4c49df3 100644 --- a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testNewTemporaryFile.st +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testNewTemporaryFile.st @@ -1,13 +1,20 @@ tests-files testNewTemporaryFile - | temporaryFile | + | temporaryFile1 temporaryFile2 | [ - temporaryFile := GRPlatform current newTemporaryFile. + temporaryFile1 := GRPlatform current newTemporaryFile. + temporaryFile2 := GRPlatform current newTemporaryFile. GRPlatform current - writeFileStreamOn: temporaryFile + writeFileStreamOn: temporaryFile1 do: [ :str | str nextPutAll: 'test temporary' ] binary: false. - self assert: (GRPlatform current fileExists: temporaryFile) - ] ensure: [ GRPlatform current deleteFile: temporaryFile ]. - self deny: (GRPlatform current fileExists: temporaryFile) \ No newline at end of file + GRPlatform current + writeFileStreamOn: temporaryFile2 + do: [ :str | str nextPutAll: #[116 101 115 116 32 116 101 109 112 111 114 97 114 121] ] + binary: true. + self assert: (GRPlatform current fileExists: temporaryFile1). + self deny: (GRPlatform current localNameOf: temporaryFile1) equals: (GRPlatform current localNameOf: temporaryFile2) + ] ensure: [ GRPlatform current deleteFile: temporaryFile1. GRPlatform current deleteFile: temporaryFile2 ]. + self deny: (GRPlatform current fileExists: temporaryFile1). + self deny: (GRPlatform current fileExists: temporaryFile2) \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/monticello.meta/categories.st b/repository/Grease-Tests-Core.package/monticello.meta/categories.st index ee8a55f5..7e8202de 100644 --- a/repository/Grease-Tests-Core.package/monticello.meta/categories.st +++ b/repository/Grease-Tests-Core.package/monticello.meta/categories.st @@ -1 +1 @@ -SystemOrganization addCategory: #'Grease-Tests-Core'! +self packageOrganizer ensurePackage: #'Grease-Tests-Core' withTags: #()! From e628eef8cf0b2226cdddf2148a430efba02c3aa6 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 4 Feb 2024 12:24:36 +0100 Subject: [PATCH 196/254] Fix writeFileStreamOn:do:binary: in Squeak --- .../instance/writeFileStreamOn.do.binary..st | 6 +++--- .../instance/writeFileStreamOn.do.binary..st | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/writeFileStreamOn.do.binary..st b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/writeFileStreamOn.do.binary..st index 1207150a..9207976d 100644 --- a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/writeFileStreamOn.do.binary..st +++ b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/writeFileStreamOn.do.binary..st @@ -1,8 +1,8 @@ -as yet unclassified +files writeFileStreamOn: aString do: aBlock binary: aBoolean | stream | stream := aBoolean - ifTrue: [ (MultiByteFileStream fileNamed: aString) ascii; wantsLineEndConversion: true; yourself ] - ifFalse: [ (FileStream fileNamed: aString) binary ]. + ifTrue: [ (FileStream fileNamed: aString) binary ] + ifFalse: [ (MultiByteFileStream fileNamed: aString) ascii; wantsLineEndConversion: true; yourself ]. [ aBlock value: stream ] ensure: [ stream close ] \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/writeFileStreamOn.do.binary..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/writeFileStreamOn.do.binary..st index 1207150a..9207976d 100644 --- a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/writeFileStreamOn.do.binary..st +++ b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/writeFileStreamOn.do.binary..st @@ -1,8 +1,8 @@ -as yet unclassified +files writeFileStreamOn: aString do: aBlock binary: aBoolean | stream | stream := aBoolean - ifTrue: [ (MultiByteFileStream fileNamed: aString) ascii; wantsLineEndConversion: true; yourself ] - ifFalse: [ (FileStream fileNamed: aString) binary ]. + ifTrue: [ (FileStream fileNamed: aString) binary ] + ifFalse: [ (MultiByteFileStream fileNamed: aString) ascii; wantsLineEndConversion: true; yourself ]. [ aBlock value: stream ] ensure: [ stream close ] \ No newline at end of file From 17da9325d3e7104ac0dbf40ff91ab31dafca0e27 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 4 Feb 2024 12:46:43 +0100 Subject: [PATCH 197/254] Refactor test for write:toFile:inFolder: --- .../testReadWriteEmptyFileInFolderBinary.st | 8 ------ .../testReadWriteEmptyFileInFolderText.st | 8 ------ .../testReadWriteToFileInFolderBinary.st | 8 ------ .../testReadWriteToFileInFolderText.st | 8 ------ .../instance/testWriteToFileInFolder.st | 27 +++++++++++++++++++ 5 files changed, 27 insertions(+), 32 deletions(-) delete mode 100644 repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testReadWriteEmptyFileInFolderBinary.st delete mode 100644 repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testReadWriteEmptyFileInFolderText.st delete mode 100644 repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testReadWriteToFileInFolderBinary.st delete mode 100644 repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testReadWriteToFileInFolderText.st create mode 100644 repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testWriteToFileInFolder.st diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testReadWriteEmptyFileInFolderBinary.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testReadWriteEmptyFileInFolderBinary.st deleted file mode 100644 index 39fbdb1c..00000000 --- a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testReadWriteEmptyFileInFolderBinary.st +++ /dev/null @@ -1,8 +0,0 @@ -tests-filestreams -testReadWriteEmptyFileInFolderBinary - | bytes | - bytes := ByteArray new. - self - writeToFile: bytes - withFileNameDo:[ :fileName | - self assert: (bytes = (GRPlatform current contentsOfFile: fileName binary: true)) ] \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testReadWriteEmptyFileInFolderText.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testReadWriteEmptyFileInFolderText.st deleted file mode 100644 index 757a5cdb..00000000 --- a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testReadWriteEmptyFileInFolderText.st +++ /dev/null @@ -1,8 +0,0 @@ -tests-filestreams -testReadWriteEmptyFileInFolderText - | text | - text := String new. - self - writeToFile: text - withFileNameDo:[ :fileName | - self assert: (text = (GRPlatform current contentsOfFile: fileName binary: false)) ] \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testReadWriteToFileInFolderBinary.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testReadWriteToFileInFolderBinary.st deleted file mode 100644 index ad114bf2..00000000 --- a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testReadWriteToFileInFolderBinary.st +++ /dev/null @@ -1,8 +0,0 @@ -tests-filestreams -testReadWriteToFileInFolderBinary - | bytes | - bytes := #(80 104 39 110 103 108 117 105 32 109 103 108 119 39 110 97 102 104 32 67 116 104 117 108 104 117 32 82 39 108 121 101 104 32 119 103 97 104 39 110 97 103 108 32 102 104 116 97 103 110) asByteArray. - self - writeToFile: bytes - withFileNameDo:[ :fileName | - self assert: (bytes = (GRPlatform current contentsOfFile: fileName binary: true)) ] \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testReadWriteToFileInFolderText.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testReadWriteToFileInFolderText.st deleted file mode 100644 index 2d9fc845..00000000 --- a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testReadWriteToFileInFolderText.st +++ /dev/null @@ -1,8 +0,0 @@ -tests-filestreams -testReadWriteToFileInFolderText - | text | - text := 'Ph''nglui mglw''nafh Cthulhu R''lyeh wgah''nagl fhtagn'. - self - writeToFile: text - withFileNameDo:[ :fileName | - self assert: (text = (GRPlatform current contentsOfFile: fileName binary: false)) ] \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testWriteToFileInFolder.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testWriteToFileInFolder.st new file mode 100644 index 00000000..04b46b21 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testWriteToFileInFolder.st @@ -0,0 +1,27 @@ +tests-files +testWriteToFileInFolder + + | bytes text | + bytes := ByteArray new. + self + writeToFile: bytes + withFileNameDo:[ :fileName | + self assert: (GRPlatform current contentsOfFile: fileName binary: true) equals: bytes ]. + + bytes := #[80 104 39 110 103 108 117 105 32 109 103 108 119 39 110 97 102 104 32 67 116 104 117 108 104 117 32 82 39 108 121 101 104 32 119 103 97 104 39 110 97 103 108 32 102 104 116 97 103 110]. + self + writeToFile: bytes + withFileNameDo:[ :fileName | + self assert:(GRPlatform current contentsOfFile: fileName binary: true) equals: bytes ]. + + text := String new. + self + writeToFile: text + withFileNameDo:[ :fileName | + self assert: (GRPlatform current contentsOfFile: fileName binary: false) equals: text ]. + + text := 'Ph''nglui mglw''nafh Cthulhu R''lyeh wgah''nagl fhtagn'. + self + writeToFile: text + withFileNameDo:[ :fileName | + self assert: (GRPlatform current contentsOfFile: fileName binary: false) equals: text ] \ No newline at end of file From 2816e8e9e7771bb5e1229cf00f96269f4afab438 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 4 Feb 2024 13:06:30 +0100 Subject: [PATCH 198/254] throw error when creating a duplicate temporary file --- .../instance/newTemporaryFileNamed..st | 5 ++++- .../monticello.meta/categories.st | 2 +- .../instance/testNewTemporaryFileNamed.st | 11 +++++++---- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileNamed..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileNamed..st index 5e778cdd..29d781b7 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileNamed..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileNamed..st @@ -1,4 +1,7 @@ files newTemporaryFileNamed: aName - ^ (FileLocator temp / aName) pathString \ No newline at end of file + | newFile | + newFile := FileLocator temp / aName. + newFile exists ifTrue: [ GRError new signal: 'A (temporary) file with name ', aName, ' already exists.' ]. + ^ newFile pathString \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/monticello.meta/categories.st b/repository/Grease-Pharo100-Core.package/monticello.meta/categories.st index ecc9aa78..47e57aa2 100644 --- a/repository/Grease-Pharo100-Core.package/monticello.meta/categories.st +++ b/repository/Grease-Pharo100-Core.package/monticello.meta/categories.st @@ -1 +1 @@ -SystemOrganization addCategory: #'Grease-Pharo100-Core'! +self packageOrganizer ensurePackage: #'Grease-Pharo100-Core' withTags: #()! diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testNewTemporaryFileNamed.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testNewTemporaryFileNamed.st index 68d6ff3c..354c5403 100644 --- a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testNewTemporaryFileNamed.st +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testNewTemporaryFileNamed.st @@ -1,13 +1,16 @@ tests-files testNewTemporaryFileNamed - | temporaryFile | + | temporaryFile fileName | + fileName := 'GRPlatformTestTemporaryFile'. [ - temporaryFile := GRPlatform current newTemporaryFileNamed: 'test_temporary'. + temporaryFile := GRPlatform current newTemporaryFileNamed: fileName. GRPlatform current writeFileStreamOn: temporaryFile do: [ :str | str nextPutAll: 'test temporary' ] binary: false. - self assert: (GRPlatform current fileExists: temporaryFile) + self assert: (GRPlatform current fileExists: temporaryFile). + self should: [ GRPlatform current newTemporaryFileNamed: fileName ] raise: GRError. ] ensure: [ GRPlatform current deleteFile: temporaryFile ]. - self deny: (GRPlatform current fileExists: temporaryFile) \ No newline at end of file + self deny: (GRPlatform current fileExists: temporaryFile). + \ No newline at end of file From e1a14c913761976247fb0916de591a7fcf45501c Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 4 Feb 2024 13:32:42 +0100 Subject: [PATCH 199/254] error when creating a duplicate temporary file name on GemStone, older Pharo and Squeak --- .../instance/newTemporaryFileNamed..st | 5 ++++- .../GRPharoPlatform.class/instance/newTemporaryFileNamed..st | 5 ++++- .../GRPharoPlatform.class/instance/newTemporaryFileNamed..st | 5 ++++- .../instance/newTemporaryFileNamed..st | 5 ++++- .../instance/newTemporaryFileNamed..st | 5 ++++- 5 files changed, 20 insertions(+), 5 deletions(-) diff --git a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/newTemporaryFileNamed..st b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/newTemporaryFileNamed..st index 46483c70..198e0779 100644 --- a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/newTemporaryFileNamed..st +++ b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/newTemporaryFileNamed..st @@ -1,4 +1,7 @@ files newTemporaryFileNamed: aName - ^ (GsFile openWriteOnServer: '/tmp/', aName) pathName + | fileName | + fileName := '/tmp/', aName. + (self fileExists: fileName) ifTrue: [ GRError new signal: 'A (temporary) file with name ', aName, ' already exists.' ]. + ^ (GsFile openWriteOnServer: fileName) pathName diff --git a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileNamed..st b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileNamed..st index 5e778cdd..29d781b7 100644 --- a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileNamed..st +++ b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileNamed..st @@ -1,4 +1,7 @@ files newTemporaryFileNamed: aName - ^ (FileLocator temp / aName) pathString \ No newline at end of file + | newFile | + newFile := FileLocator temp / aName. + newFile exists ifTrue: [ GRError new signal: 'A (temporary) file with name ', aName, ' already exists.' ]. + ^ newFile pathString \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileNamed..st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileNamed..st index 5e778cdd..29d781b7 100644 --- a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileNamed..st +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileNamed..st @@ -1,4 +1,7 @@ files newTemporaryFileNamed: aName - ^ (FileLocator temp / aName) pathString \ No newline at end of file + | newFile | + newFile := FileLocator temp / aName. + newFile exists ifTrue: [ GRError new signal: 'A (temporary) file with name ', aName, ' already exists.' ]. + ^ newFile pathString \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileNamed..st b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileNamed..st index cd8669c0..9e117ca4 100644 --- a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileNamed..st +++ b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileNamed..st @@ -1,4 +1,7 @@ files newTemporaryFileNamed: aName - ^ (FileDirectory default / aName) pathName \ No newline at end of file + | file | + file := FileDirectory default / aName. + file exists ifTrue: [ GRError new signal: 'A (temporary) file with name ', aName, ' already exists.' ]. + ^ file pathName \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileNamed..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileNamed..st index cd8669c0..9e117ca4 100644 --- a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileNamed..st +++ b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileNamed..st @@ -1,4 +1,7 @@ files newTemporaryFileNamed: aName - ^ (FileDirectory default / aName) pathName \ No newline at end of file + | file | + file := FileDirectory default / aName. + file exists ifTrue: [ GRError new signal: 'A (temporary) file with name ', aName, ' already exists.' ]. + ^ file pathName \ No newline at end of file From 14e6afb83aff9232d62b7bbcbb79bde4a97b36b5 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 4 Feb 2024 13:38:32 +0100 Subject: [PATCH 200/254] use GRPlatform current pathSeparator in the filename generation for temporary files on gemstone --- .../GRGemStonePlatform.class/instance/newTemporaryFileNamed..st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/newTemporaryFileNamed..st b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/newTemporaryFileNamed..st index 198e0779..6f8c5c0a 100644 --- a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/newTemporaryFileNamed..st +++ b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/newTemporaryFileNamed..st @@ -2,6 +2,6 @@ files newTemporaryFileNamed: aName | fileName | - fileName := '/tmp/', aName. + fileName := GRPlatform current pathSeparator,'tmp', GRPlatform current pathSeparator, aName. (self fileExists: fileName) ifTrue: [ GRError new signal: 'A (temporary) file with name ', aName, ' already exists.' ]. ^ (GsFile openWriteOnServer: fileName) pathName From 5ae43f87a9d9062a2c92c4b164c5970fb69814be Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 4 Feb 2024 13:40:55 +0100 Subject: [PATCH 201/254] revert changes for categories in Squeak packages --- .../Grease-Squeak5-Core.package/monticello.meta/categories.st | 2 +- .../Grease-Squeak6-Core.package/monticello.meta/categories.st | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/repository/Grease-Squeak5-Core.package/monticello.meta/categories.st b/repository/Grease-Squeak5-Core.package/monticello.meta/categories.st index 9dee02a6..00eecc3b 100644 --- a/repository/Grease-Squeak5-Core.package/monticello.meta/categories.st +++ b/repository/Grease-Squeak5-Core.package/monticello.meta/categories.st @@ -1 +1 @@ -self packageOrganizer ensurePackage: #'Grease-Squeak5-Core' withTags: #()! +SystemOrganization addCategory: #'Grease-Squeak5-Core'! diff --git a/repository/Grease-Squeak6-Core.package/monticello.meta/categories.st b/repository/Grease-Squeak6-Core.package/monticello.meta/categories.st index c47b0497..89aae6c1 100644 --- a/repository/Grease-Squeak6-Core.package/monticello.meta/categories.st +++ b/repository/Grease-Squeak6-Core.package/monticello.meta/categories.st @@ -1 +1 @@ -self packageOrganizer ensurePackage: #'Grease-Squeak6-Core' withTags: #()! +SystemOrganization addCategory: #'Grease-Squeak6-Core'! From 9b35324ee42b9cfd81e0b8b407a31a06d30689c1 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 4 Feb 2024 15:27:33 +0100 Subject: [PATCH 202/254] version 1.16 --- .../Grease-Core.package/GRPlatform.class/instance/version.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/version.st b/repository/Grease-Core.package/GRPlatform.class/instance/version.st index c48dd9b5..6deca1da 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/version.st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/version.st @@ -2,5 +2,5 @@ version info version "Answer the Grease version" - ^ (GRVersion major: 1 minor: 15 revision: 0) + ^ (GRVersion major: 1 minor: 16 revision: 0) yourself \ No newline at end of file From ee685e4d00111741e008329379c87d7690ff8a41 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 4 Feb 2024 15:32:27 +0100 Subject: [PATCH 203/254] revert using special branch of SmalltalkCI --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 831cdc8f..9d5a0f3e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,8 +21,6 @@ jobs: - uses: actions/checkout@v3 - uses: hpi-swa/setup-smalltalkCI@v1 with: - smalltalkCI-source: 'jbrichau/smalltalkCI' - smalltalkCI-branch: 'fix-issue-623' smalltalk-image: ${{ matrix.smalltalk }} - name: Run tests run: smalltalkci -s ${{ matrix.smalltalk }} From c89bb8df31f8ab20786449093d0d43b8ac6b654c Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 4 Feb 2024 15:54:27 +0100 Subject: [PATCH 204/254] remove unneeded class category in Slime tests --- .../instance/testReferencesNotPortableClass.st | 1 - .../instance/testSubclassesNotPortableClass.st | 1 - .../GRReSlimeTest.class/instance/testUsesNotPortableClass.st | 1 - .../monticello.meta/categories.st | 2 +- 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testReferencesNotPortableClass.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testReferencesNotPortableClass.st index 6c1b5b23..ea1908c7 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testReferencesNotPortableClass.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testReferencesNotPortableClass.st @@ -3,7 +3,6 @@ testReferencesNotPortableClass | class | class := self defineSubClassOf: #GRObject. - class category: 'SomeCategory'. self compile: 'invalid ^ Semaphore new' in: class. self compile: 'valid ^ GRObject new' in: class. self diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testSubclassesNotPortableClass.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testSubclassesNotPortableClass.st index 2ced3881..c113779d 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testSubclassesNotPortableClass.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testSubclassesNotPortableClass.st @@ -3,7 +3,6 @@ testSubclassesNotPortableClass | class | class := self defineSubClassOf: #Mutex. - class category: 'SomeCategory'. self assertRule: GRSubclassesNotPortableClassRule matches: { class } \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesNotPortableClass.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesNotPortableClass.st index 5699c982..965d58ad 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesNotPortableClass.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesNotPortableClass.st @@ -3,7 +3,6 @@ testUsesNotPortableClass | class | class := self defineSubClassOf: #GRObject. - class category: 'SomeCategory'. self compile: 'invalid ^ Semaphore new' in: class. self compile: 'valid ^ GRObject new' in: class. self diff --git a/repository/Grease-Tests-Pharo-Slime.package/monticello.meta/categories.st b/repository/Grease-Tests-Pharo-Slime.package/monticello.meta/categories.st index 6c2ac5ef..bb71bcda 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/monticello.meta/categories.st +++ b/repository/Grease-Tests-Pharo-Slime.package/monticello.meta/categories.st @@ -1 +1 @@ -SystemOrganization addCategory: #'Grease-Tests-Pharo-Slime'! +self packageOrganizer ensurePackage: #'Grease-Tests-Pharo-Slime' withTags: #()! From 5216ca7bb6e9200f90d3d56400691e69d80bd725 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 4 Feb 2024 15:54:46 +0100 Subject: [PATCH 205/254] Replace deprecated message --- .../instance/testCompileIntoClassified.st | 2 +- .../monticello.meta/categories.st | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/testCompileIntoClassified.st b/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/testCompileIntoClassified.st index 112d896b..8fe4388c 100644 --- a/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/testCompileIntoClassified.st +++ b/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/testCompileIntoClassified.st @@ -11,5 +11,5 @@ testCompileIntoClassified classified: protocol. [ self assert: (self class selectors includes: selector). - selectors := self class organization listAtCategoryNamed: protocol. + selectors := self class selectorsInProtocol: protocol. self assert: selectors = (Array with: selector) ] ensure: [ self class removeSelector: selector ] \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Core.package/monticello.meta/categories.st b/repository/Grease-Tests-Pharo-Core.package/monticello.meta/categories.st index 8f89143a..7bce97a3 100644 --- a/repository/Grease-Tests-Pharo-Core.package/monticello.meta/categories.st +++ b/repository/Grease-Tests-Pharo-Core.package/monticello.meta/categories.st @@ -1 +1 @@ -SystemOrganization addCategory: #'Grease-Tests-Pharo-Core'! +self packageOrganizer ensurePackage: #'Grease-Tests-Pharo-Core' withTags: #()! From edd9b010d3107ec883f8367491b61cfa4be63942 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 4 Feb 2024 16:07:21 +0100 Subject: [PATCH 206/254] class packages are important in the tests, as indicated by the failures that otherwise result --- .../instance/testReferencesNotPortableClass.st | 1 + .../instance/testSubclassesNotPortableClass.st | 1 + .../GRReSlimeTest.class/instance/testUsesNotPortableClass.st | 1 + 3 files changed, 3 insertions(+) diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testReferencesNotPortableClass.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testReferencesNotPortableClass.st index ea1908c7..0b0c9235 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testReferencesNotPortableClass.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testReferencesNotPortableClass.st @@ -3,6 +3,7 @@ testReferencesNotPortableClass | class | class := self defineSubClassOf: #GRObject. + class package: 'SomeCategory' tag: ''. self compile: 'invalid ^ Semaphore new' in: class. self compile: 'valid ^ GRObject new' in: class. self diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testSubclassesNotPortableClass.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testSubclassesNotPortableClass.st index c113779d..a58675a4 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testSubclassesNotPortableClass.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testSubclassesNotPortableClass.st @@ -3,6 +3,7 @@ testSubclassesNotPortableClass | class | class := self defineSubClassOf: #Mutex. + class package: 'SomeCategory' tag: ''. self assertRule: GRSubclassesNotPortableClassRule matches: { class } \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesNotPortableClass.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesNotPortableClass.st index 965d58ad..2bdf3356 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesNotPortableClass.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesNotPortableClass.st @@ -3,6 +3,7 @@ testUsesNotPortableClass | class | class := self defineSubClassOf: #GRObject. + class package: 'SomeCategory' tag: ''. self compile: 'invalid ^ Semaphore new' in: class. self compile: 'valid ^ GRObject new' in: class. self From 203d08e83154a278d288c26cd150db2e12cd4bb3 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 4 Feb 2024 16:14:52 +0100 Subject: [PATCH 207/254] make class package work across all Pharo versions for generating test classes --- .../instance/defineSubClassOf..st | 18 +---------------- .../instance/defineSubClassOf.inPackage..st | 20 +++++++++++++++++++ .../testReferencesNotPortableClass.st | 3 +-- .../testSubclassesNotPortableClass.st | 3 +-- .../instance/testUsesNotPortableClass.st | 3 +-- 5 files changed, 24 insertions(+), 23 deletions(-) create mode 100644 repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/defineSubClassOf.inPackage..st diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/defineSubClassOf..st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/defineSubClassOf..st index 92da2de7..fdcf43d7 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/defineSubClassOf..st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/defineSubClassOf..st @@ -1,20 +1,4 @@ accessing-code defineSubClassOf: aSuperSymbol - | class | - class := SystemVersion current major >= 12 - ifTrue: [ - factory make: [ :aBuilder | - aBuilder - superclass: (Smalltalk at: aSuperSymbol); - package: self category ] ] - ifFalse: [ - factory - newSubclassOf: (Smalltalk at: aSuperSymbol) - instanceVariableNames: '' - classVariableNames: 'classVarsString' - category: self category ]. - environment - addClass: class; - addClass: class classSide. - ^ class \ No newline at end of file + ^ self defineSubClassOf: aSuperSymbol inPackage: self category \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/defineSubClassOf.inPackage..st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/defineSubClassOf.inPackage..st new file mode 100644 index 00000000..9ad6f16a --- /dev/null +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/defineSubClassOf.inPackage..st @@ -0,0 +1,20 @@ +accessing-code +defineSubClassOf: aSuperSymbol inPackage: packageName + + | class | + class := SystemVersion current major >= 12 + ifTrue: [ + factory make: [ :aBuilder | + aBuilder + superclass: (Smalltalk at: aSuperSymbol); + package: packageName ] ] + ifFalse: [ + factory + newSubclassOf: (Smalltalk at: aSuperSymbol) + instanceVariableNames: '' + classVariableNames: 'classVarsString' + category: packageName ]. + environment + addClass: class; + addClass: class classSide. + ^ class \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testReferencesNotPortableClass.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testReferencesNotPortableClass.st index 0b0c9235..a3070f80 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testReferencesNotPortableClass.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testReferencesNotPortableClass.st @@ -2,8 +2,7 @@ tests-block testReferencesNotPortableClass | class | - class := self defineSubClassOf: #GRObject. - class package: 'SomeCategory' tag: ''. + class := self defineSubClassOf: #GRObject inPackage: 'SomeCategory'. self compile: 'invalid ^ Semaphore new' in: class. self compile: 'valid ^ GRObject new' in: class. self diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testSubclassesNotPortableClass.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testSubclassesNotPortableClass.st index a58675a4..c86dc173 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testSubclassesNotPortableClass.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testSubclassesNotPortableClass.st @@ -2,8 +2,7 @@ tests-block testSubclassesNotPortableClass | class | - class := self defineSubClassOf: #Mutex. - class package: 'SomeCategory' tag: ''. + class := self defineSubClassOf: #Mutex inPackage: 'SomeCategory'. self assertRule: GRSubclassesNotPortableClassRule matches: { class } \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesNotPortableClass.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesNotPortableClass.st index 2bdf3356..f65d00a4 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesNotPortableClass.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testUsesNotPortableClass.st @@ -2,8 +2,7 @@ tests-block testUsesNotPortableClass | class | - class := self defineSubClassOf: #GRObject. - class package: 'SomeCategory' tag: ''. + class := self defineSubClassOf: #GRObject inPackage: 'SomeCategory'. self compile: 'invalid ^ Semaphore new' in: class. self compile: 'valid ^ GRObject new' in: class. self From a886828af03d80face9597931baf636bb5e91689 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 4 Feb 2024 16:21:28 +0100 Subject: [PATCH 208/254] remove dead code --- .../GRTestAssertionsRule.class/instance/checkMethod..st | 7 ------- .../monticello.meta/categories.st | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/checkMethod..st diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/checkMethod..st b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/checkMethod..st deleted file mode 100644 index bab892c3..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/checkMethod..st +++ /dev/null @@ -1,7 +0,0 @@ -running -checkMethod: aContext - aContext methodClass isMeta - ifTrue: [ ^ self ]. - (aContext methodClass allSuperclasses includes:(Smalltalk at: #TestCase)) - ifFalse: [ ^ self ]. - ^ super checkMethod: aContext \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/monticello.meta/categories.st b/repository/Grease-Pharo110-Slime.package/monticello.meta/categories.st index ff4f5aed..f4dc770b 100644 --- a/repository/Grease-Pharo110-Slime.package/monticello.meta/categories.st +++ b/repository/Grease-Pharo110-Slime.package/monticello.meta/categories.st @@ -1 +1 @@ -SystemOrganization addCategory: #'Grease-Pharo110-Slime'! +self packageOrganizer ensurePackage: #'Grease-Pharo110-Slime' withTags: #()! From 666789421d28f0eff2c4bc4c8f9734a27603c40d Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 4 Feb 2024 17:12:40 +0100 Subject: [PATCH 209/254] fix code style --- .../GRReSlimeTest.class/instance/testTestCaseFailRule.st | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testTestCaseFailRule.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testTestCaseFailRule.st index c4044a19..1fecfedc 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testTestCaseFailRule.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/testTestCaseFailRule.st @@ -6,5 +6,4 @@ testTestCaseFailRule self compile: 'testMethod self fail' in: class. self runTransformation: GRTestAssertionsRule - changes: #( - 'testMethod self assert: false' ) \ No newline at end of file + changes: #( 'testMethod self assert: false' ) \ No newline at end of file From d3e13f75c9cf017267049c6333cd339f19e70951 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 11 Mar 2024 22:03:14 +0100 Subject: [PATCH 210/254] Moved the Renraku Slime rules back to a separate hierarchy to ensure compatibility with versions of Seaside older than 3.5.6. --- .../GRAnsiBooleansRule.class/properties.json | 2 +- .../GRAnsiCharactersRule.class/properties.json | 2 +- .../GRAnsiCollectionsRule.class/properties.json | 2 +- .../GRAnsiConditionalsRule.class/properties.json | 2 +- .../GRAnsiConvertorRule.class/properties.json | 2 +- .../GRAnsiExceptionsRule.class/properties.json | 2 +- .../GRAnsiStreamsRule.class/properties.json | 2 +- .../GRAnsiStringsRule.class/properties.json | 2 +- .../properties.json | 2 +- .../GRDeprecatedApiProtocolRule.class/properties.json | 2 +- .../properties.json | 2 +- .../GRNonPortableMessageRule.class/properties.json | 2 +- .../properties.json | 2 +- .../GRObjectInRule.class/properties.json | 2 +- .../GRReSlimeBlockLintRule.class/README.md | 0 .../GRReSlimeBlockLintRule.class/class/isVisible.st | 4 ++++ .../GRReSlimeBlockLintRule.class/properties.json | 11 +++++++++++ .../GRReSlimeParseTreeLintRule.class/README.md | 0 .../class/isVisible.st | 4 ++++ .../GRReSlimeParseTreeLintRule.class/properties.json | 11 +++++++++++ .../GRReSlimeTransformationRule.class/README.md | 0 .../class/isVisible.st | 4 ++++ .../GRReSlimeTransformationRule.class/properties.json | 11 +++++++++++ .../GRSlimeBlockLintRule.class/README.md | 1 + .../GRSlimeBlockLintRule.class/properties.json | 4 ++-- .../GRSlimeParseTreeLintRule.class/README.md | 1 + .../GRSlimeParseTreeLintRule.class/properties.json | 4 ++-- .../GRSlimeTransformationRule.class/README.md | 1 + .../GRSlimeTransformationRule.class/properties.json | 4 ++-- .../GRTestAssertionsRule.class/properties.json | 2 +- .../properties.json | 2 +- .../GRUsesClassForHashRule.class/properties.json | 2 +- .../GRUsesNotPortableClassRule.class/properties.json | 2 +- .../monticello.meta/categories.st | 2 +- 34 files changed, 73 insertions(+), 25 deletions(-) create mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/class/isVisible.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/class/isVisible.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/class/isVisible.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/properties.json diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/properties.json index 4cab4c2d..208c1ba2 100644 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRSlimeTransformationRule", + "super" : "GRReSlimeTransformationRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/properties.json index 2517609b..d5fe699b 100644 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRSlimeTransformationRule", + "super" : "GRReSlimeTransformationRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/properties.json index 1261c334..b6b9f5c5 100644 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRSlimeTransformationRule", + "super" : "GRReSlimeTransformationRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/properties.json index 542f8001..c9539d38 100644 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRSlimeTransformationRule", + "super" : "GRReSlimeTransformationRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/properties.json index 0069fdf8..0e6e4cb4 100644 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRSlimeTransformationRule", + "super" : "GRReSlimeTransformationRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/properties.json index 6bd99b1d..51375683 100644 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRSlimeTransformationRule", + "super" : "GRReSlimeTransformationRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/properties.json index d367dbf7..2539d9c8 100644 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRSlimeTransformationRule", + "super" : "GRReSlimeTransformationRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/properties.json index 39506d7e..f544f2e7 100644 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRSlimeTransformationRule", + "super" : "GRReSlimeTransformationRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json index e15fd361..67a42ffc 100644 --- a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRSlimeBlockLintRule", + "super" : "GRReSlimeBlockLintRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json index 724ee707..87feb3c9 100644 --- a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRSlimeParseTreeLintRule", + "super" : "GRReSlimeParseTreeLintRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/properties.json index 37adfef6..4cbd7077 100644 --- a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRSlimeBlockLintRule", + "super" : "GRReSlimeBlockLintRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/properties.json index e1e9857f..95a60d91 100644 --- a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRSlimeBlockLintRule", + "super" : "GRReSlimeBlockLintRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/properties.json index 33f1f490..2a5a777c 100644 --- a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRSlimeTransformationRule", + "super" : "GRReSlimeTransformationRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/properties.json index c4168e75..96ac6c53 100644 --- a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "pmm 9/12/2009 10:37", - "super" : "GRSlimeTransformationRule", + "super" : "GRReSlimeTransformationRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/class/isVisible.st new file mode 100644 index 00000000..0e3a239e --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/class/isVisible.st @@ -0,0 +1,4 @@ +testing +isVisible + + ^ self name ~= #GRReSlimeBlockLintRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/properties.json new file mode 100644 index 00000000..806ebfd3 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "JohanBrichau 3/11/2024 21:53", + "super" : "ReAbstractRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRReSlimeBlockLintRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/class/isVisible.st new file mode 100644 index 00000000..2d2913fb --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/class/isVisible.st @@ -0,0 +1,4 @@ +testing +isVisible + + ^ self name ~= #GRReSlimeParseTreeLintRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/properties.json new file mode 100644 index 00000000..e5d01d93 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "ReNodeMatchRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRReSlimeParseTreeLintRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/class/isVisible.st new file mode 100644 index 00000000..b84d2a50 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/class/isVisible.st @@ -0,0 +1,4 @@ +testing +isVisible + + ^ self name ~= #GRReSlimeTransformationRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/properties.json new file mode 100644 index 00000000..eaa3dd3e --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "ReNodeRewriteRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRReSlimeTransformationRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/README.md index e69de29b..acb02dfd 100644 --- a/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/README.md +++ b/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/README.md @@ -0,0 +1 @@ +For compatibility for versions of Seaside older than 3.5.6 \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/properties.json index e1389bfa..667ba1a9 100644 --- a/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/properties.json @@ -1,6 +1,6 @@ { - "commentStamp" : "", - "super" : "ReAbstractRule", + "commentStamp" : "JohanBrichau 3/11/2024 21:54", + "super" : "RBBlockLintRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/README.md index e69de29b..acb02dfd 100644 --- a/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/README.md +++ b/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/README.md @@ -0,0 +1 @@ +For compatibility for versions of Seaside older than 3.5.6 \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/properties.json index 28ab8124..eab60df9 100644 --- a/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/properties.json @@ -1,6 +1,6 @@ { - "commentStamp" : "", - "super" : "ReNodeMatchRule", + "commentStamp" : "JohanBrichau 3/11/2024 21:54", + "super" : "RBParseTreeLintRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/README.md index e69de29b..acb02dfd 100644 --- a/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/README.md +++ b/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/README.md @@ -0,0 +1 @@ +For compatibility for versions of Seaside older than 3.5.6 \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/properties.json index df276035..d528ef91 100644 --- a/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/properties.json @@ -1,6 +1,6 @@ { - "commentStamp" : "", - "super" : "ReNodeRewriteRule", + "commentStamp" : "JohanBrichau 3/11/2024 21:54", + "super" : "RBTransformationRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/properties.json index 572f670a..cd52efa5 100644 --- a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "pmm 8/17/2014 11:24", - "super" : "GRSlimeTransformationRule", + "super" : "GRReSlimeTransformationRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json index a30a05da..70456891 100644 --- a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRSlimeParseTreeLintRule", + "super" : "GRReSlimeParseTreeLintRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/properties.json index 063aef8f..c679f3eb 100644 --- a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRSlimeParseTreeLintRule", + "super" : "GRReSlimeParseTreeLintRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/properties.json index 128f88b8..2965264e 100644 --- a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/properties.json +++ b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "GRSlimeBlockLintRule", + "super" : "GRReSlimeBlockLintRule", "category" : "Grease-Pharo110-Slime", "classinstvars" : [ ], "pools" : [ ], diff --git a/repository/Grease-Pharo110-Slime.package/monticello.meta/categories.st b/repository/Grease-Pharo110-Slime.package/monticello.meta/categories.st index f4dc770b..ff4f5aed 100644 --- a/repository/Grease-Pharo110-Slime.package/monticello.meta/categories.st +++ b/repository/Grease-Pharo110-Slime.package/monticello.meta/categories.st @@ -1 +1 @@ -self packageOrganizer ensurePackage: #'Grease-Pharo110-Slime' withTags: #()! +SystemOrganization addCategory: #'Grease-Pharo110-Slime'! From 31b4870e295f78ebb4d9fefb53523e197862b61e Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 11 Mar 2024 22:17:51 +0100 Subject: [PATCH 211/254] Fix tests --- .../GRReSlimeTest.class/instance/rules.st | 6 +++--- .../monticello.meta/categories.st | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st index 13c0034b..46d95352 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st +++ b/repository/Grease-Tests-Pharo-Slime.package/GRReSlimeTest.class/instance/rules.st @@ -2,9 +2,9 @@ running rules ^ (OrderedCollection new - addAll: GRSlimeBlockLintRule allSubclasses; - addAll: GRSlimeParseTreeLintRule allSubclasses; - addAll: GRSlimeTransformationRule allSubclasses; + addAll: GRReSlimeBlockLintRule allSubclasses; + addAll: GRReSlimeParseTreeLintRule allSubclasses; + addAll: GRReSlimeTransformationRule allSubclasses; add: ReMultiplePeriodsTerminatingStatementRule; add: ReMethodSignaturePeriodRule; yourself) reject: #isAbstract \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Slime.package/monticello.meta/categories.st b/repository/Grease-Tests-Pharo-Slime.package/monticello.meta/categories.st index bb71bcda..6c2ac5ef 100644 --- a/repository/Grease-Tests-Pharo-Slime.package/monticello.meta/categories.st +++ b/repository/Grease-Tests-Pharo-Slime.package/monticello.meta/categories.st @@ -1 +1 @@ -self packageOrganizer ensurePackage: #'Grease-Tests-Pharo-Slime' withTags: #()! +SystemOrganization addCategory: #'Grease-Tests-Pharo-Slime'! From 6dd1aa077bf693998f0c960ea8f19925f7b06b28 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Fri, 19 Apr 2024 15:52:20 +0200 Subject: [PATCH 212/254] Separate Slime into the core and the rules only applicable to Grease/Seaside development --- .../instance/baselineCommon..st | 2 -- .../instance/baselinePharo..st | 18 ++++++----- .../monticello.meta/categories.st | 2 +- .../.filetree | 5 ++++ .../README.md | 0 .../instance/afterCheck.mappings..st | 15 ++++++++++ .../instance/group.st | 4 +++ .../instance/initialize.st | 8 +++++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../GRReSlimeBlockLintRule.class/README.md | 0 .../class/isVisible.st | 4 +++ .../properties.json | 11 +++++++ .../README.md | 0 .../class/isVisible.st | 4 +++ .../properties.json | 11 +++++++ .../README.md | 0 .../class/isVisible.st | 4 +++ .../properties.json | 11 +++++++ .../GRSlimeBlockLintRule.class/README.md | 1 + .../class/isVisible.st | 4 +++ .../properties.json | 11 +++++++ .../GRSlimeParseTreeLintRule.class/README.md | 1 + .../class/isVisible.st | 4 +++ .../properties.json | 11 +++++++ .../GRSlimeTransformationRule.class/README.md | 1 + .../class/isVisible.st | 4 +++ .../properties.json | 11 +++++++ .../monticello.meta/categories.st | 1 + .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 + .../properties.json | 1 + .../.filetree | 5 ++++ .../GRAnsiBooleansRule.class/README.md | 0 .../instance/group.st | 4 +++ .../instance/initialize.st | 19 ++++++++++++ .../GRAnsiBooleansRule.class/instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../GRAnsiBooleansRule.class/properties.json | 11 +++++++ .../GRAnsiCharactersRule.class/README.md | 0 .../instance/group.st | 4 +++ .../instance/initialize.st | 16 ++++++++++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../GRAnsiCollectionsRule.class/README.md | 0 .../instance/group.st | 4 +++ .../instance/initialize.st | 30 +++++++++++++++++++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../GRAnsiConditionalsRule.class/README.md | 0 .../instance/group.st | 4 +++ .../instance/initialize.st | 17 +++++++++++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../GRAnsiConvertorRule.class/README.md | 0 .../instance/group.st | 4 +++ .../instance/initialize.st | 7 +++++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../GRAnsiConvertorRule.class/properties.json | 11 +++++++ .../GRAnsiExceptionsRule.class/README.md | 0 .../instance/group.st | 4 +++ .../instance/initialize.st | 7 +++++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../GRAnsiStreamsRule.class/README.md | 0 .../GRAnsiStreamsRule.class/instance/group.st | 4 +++ .../instance/initialize.st | 13 ++++++++ .../GRAnsiStreamsRule.class/instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../GRAnsiStreamsRule.class/properties.json | 11 +++++++ .../GRAnsiStringsRule.class/README.md | 0 .../GRAnsiStringsRule.class/instance/group.st | 4 +++ .../instance/initialize.st | 26 ++++++++++++++++ .../GRAnsiStringsRule.class/instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../GRAnsiStringsRule.class/properties.json | 11 +++++++ .../README.md | 0 .../class/checksClass.st | 4 +++ .../instance/basicCheck..st | 11 +++++++ .../instance/group.st | 4 +++ .../instance/initialize.st | 8 +++++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 13 ++++++++ .../README.md | 0 .../class/checksMethod.st | 4 +++ .../instance/basicCheck..st | 10 +++++++ .../instance/group.st | 4 +++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../GRNonPortableMessageRule.class/README.md | 0 .../class/checksNode.st | 4 +++ .../instance/basicCheck..st | 4 +++ .../instance/group.st | 4 +++ .../instance/methodNames.st | 4 +++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../README.md | 0 .../instance/group.st | 4 +++ .../instance/initialize.st | 9 ++++++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../GRObjectInRule.class/README.md | 1 + .../GRObjectInRule.class/instance/group.st | 4 +++ .../instance/initialize.st | 7 +++++ .../GRObjectInRule.class/instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../GRObjectInRule.class/properties.json | 11 +++++++ .../README.md | 0 .../class/checksMethod.st | 4 +++ .../instance/basicCheck..st | 8 +++++ .../instance/name.st | 4 +++ .../properties.json | 11 +++++++ .../README.md | 0 .../class/checksClass.st | 4 +++ .../instance/basicCheck..st | 4 +++ .../instance/name.st | 4 +++ .../properties.json | 11 +++++++ .../GRTestAssertionsRule.class/README.md | 1 + .../instance/afterCheck.mappings..st | 8 +++++ .../instance/group.st | 4 +++ .../instance/initialize.st | 7 +++++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../README.md | 0 .../instance/group.st | 4 +++ .../instance/initialize.st | 7 +++++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../GRUsesClassForHashRule.class/README.md | 0 .../instance/afterCheck.mappings..st | 4 +++ .../instance/group.st | 4 +++ .../instance/initialize.st | 5 ++++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../README.md | 0 .../class/isAbstract.st | 4 +++ .../class/isVisible.st | 4 +++ .../instance/classNames.st | 4 +++ .../instance/group.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../monticello.meta/categories.st | 1 + .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 + .../properties.json | 1 + 158 files changed, 850 insertions(+), 11 deletions(-) create mode 100644 repository/Grease-Pharo110-Slime-Core.package/.filetree create mode 100644 repository/Grease-Pharo110-Slime-Core.package/GRDeprecatedApiProtocolRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime-Core.package/GRDeprecatedApiProtocolRule.class/instance/afterCheck.mappings..st create mode 100644 repository/Grease-Pharo110-Slime-Core.package/GRDeprecatedApiProtocolRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime-Core.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime-Core.package/GRDeprecatedApiProtocolRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime-Core.package/GRDeprecatedApiProtocolRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime-Core.package/GRDeprecatedApiProtocolRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime-Core.package/GRReSlimeBlockLintRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime-Core.package/GRReSlimeBlockLintRule.class/class/isVisible.st create mode 100644 repository/Grease-Pharo110-Slime-Core.package/GRReSlimeBlockLintRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime-Core.package/GRReSlimeParseTreeLintRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime-Core.package/GRReSlimeParseTreeLintRule.class/class/isVisible.st create mode 100644 repository/Grease-Pharo110-Slime-Core.package/GRReSlimeParseTreeLintRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime-Core.package/GRReSlimeTransformationRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime-Core.package/GRReSlimeTransformationRule.class/class/isVisible.st create mode 100644 repository/Grease-Pharo110-Slime-Core.package/GRReSlimeTransformationRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime-Core.package/GRSlimeBlockLintRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime-Core.package/GRSlimeBlockLintRule.class/class/isVisible.st create mode 100644 repository/Grease-Pharo110-Slime-Core.package/GRSlimeBlockLintRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime-Core.package/GRSlimeParseTreeLintRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime-Core.package/GRSlimeParseTreeLintRule.class/class/isVisible.st create mode 100644 repository/Grease-Pharo110-Slime-Core.package/GRSlimeParseTreeLintRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime-Core.package/GRSlimeTransformationRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime-Core.package/GRSlimeTransformationRule.class/class/isVisible.st create mode 100644 repository/Grease-Pharo110-Slime-Core.package/GRSlimeTransformationRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime-Core.package/monticello.meta/categories.st create mode 100644 repository/Grease-Pharo110-Slime-Core.package/monticello.meta/initializers.st create mode 100644 repository/Grease-Pharo110-Slime-Core.package/monticello.meta/package create mode 100644 repository/Grease-Pharo110-Slime-Core.package/properties.json create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/.filetree create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiBooleansRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiBooleansRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiBooleansRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiBooleansRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiBooleansRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiBooleansRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCharactersRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCharactersRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCharactersRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCharactersRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCharactersRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCharactersRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCollectionsRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCollectionsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCollectionsRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCollectionsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCollectionsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCollectionsRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConditionalsRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConditionalsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConditionalsRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConditionalsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConditionalsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConditionalsRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConvertorRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConvertorRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConvertorRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConvertorRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConvertorRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConvertorRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiExceptionsRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiExceptionsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiExceptionsRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiExceptionsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiExceptionsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiExceptionsRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStreamsRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStreamsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStreamsRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStreamsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStreamsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStreamsRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStringsRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStringsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStringsRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStringsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStringsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStringsRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/class/checksClass.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/instance/basicCheck..st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRInvalidObjectInitializationRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRInvalidObjectInitializationRule.class/class/checksMethod.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRInvalidObjectInitializationRule.class/instance/basicCheck..st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRInvalidObjectInitializationRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRInvalidObjectInitializationRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRInvalidObjectInitializationRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRInvalidObjectInitializationRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/class/checksNode.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/instance/basicCheck..st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/instance/methodNames.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRNotPortableCollectionsRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRNotPortableCollectionsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRNotPortableCollectionsRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRNotPortableCollectionsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRNotPortableCollectionsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRNotPortableCollectionsRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRObjectInRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRObjectInRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRObjectInRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRObjectInRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRObjectInRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRObjectInRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRReferencesNotPortableClassRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRReferencesNotPortableClassRule.class/class/checksMethod.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRReferencesNotPortableClassRule.class/instance/basicCheck..st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRReferencesNotPortableClassRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRReferencesNotPortableClassRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRSubclassesNotPortableClassRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRSubclassesNotPortableClassRule.class/class/checksClass.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRSubclassesNotPortableClassRule.class/instance/basicCheck..st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRSubclassesNotPortableClassRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRSubclassesNotPortableClassRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRTestAssertionsRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRTestAssertionsRule.class/instance/afterCheck.mappings..st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRTestAssertionsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRTestAssertionsRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRTestAssertionsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRTestAssertionsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRTestAssertionsRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRUsesCanPerformOrUnderstandRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRUsesCanPerformOrUnderstandRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRUsesClassForHashRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRUsesClassForHashRule.class/instance/afterCheck.mappings..st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRUsesClassForHashRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRUsesClassForHashRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRUsesClassForHashRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRUsesClassForHashRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRUsesClassForHashRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRUsesNotPortableClassRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRUsesNotPortableClassRule.class/class/isAbstract.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRUsesNotPortableClassRule.class/class/isVisible.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRUsesNotPortableClassRule.class/instance/classNames.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRUsesNotPortableClassRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRUsesNotPortableClassRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/GRUsesNotPortableClassRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/monticello.meta/categories.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/monticello.meta/initializers.st create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/monticello.meta/package create mode 100644 repository/Grease-Pharo110-Slime-Portability.package/properties.json diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineCommon..st b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineCommon..st index 0ead53ce..68b9fe2e 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineCommon..st +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineCommon..st @@ -11,7 +11,5 @@ baselineCommon: spec spec group: 'Core' with: #('Grease-Core'); group: 'Core Tests' with: #('Grease-Tests-Core'); - group: 'Slime' with: #('Core'); - group: 'Slime Tests' with: #('Core Tests'); group: 'Tests' with: #('Core Tests' 'Slime Tests'); group: 'default' with: #('Slime') ] \ No newline at end of file diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st index 69d5fe19..0c7ebc60 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st @@ -30,8 +30,8 @@ baselinePharo: spec package: 'Grease-Pharo40-Slime' with: [ spec requires: #('Grease-Core') ]; package: 'Grease-Tests-Slime' with: [ spec requires: #('Grease-Pharo40-Slime') ]. spec - group: 'Slime' with: #('Grease-Pharo40-Slime'); - group: 'Slime Tests' with: #('Grease-Tests-Slime') ]. + group: 'Slime' with: #('Core' 'Grease-Pharo40-Slime'); + group: 'Slime Tests' with: #('Core Tests' 'Grease-Tests-Slime') ]. spec for: #(#'pharo9.x') @@ -48,8 +48,8 @@ baselinePharo: spec package: 'Grease-Tests-Slime' with: [ spec requires: #('Grease-Pharo90-Slime') ]. spec - group: 'Slime' with: #('Grease-Pharo90-Slime'); - group: 'Slime Tests' with: #('Grease-Tests-Slime') ]. + group: 'Slime' with: #('Core' 'Grease-Pharo90-Slime'); + group: 'Slime Tests' with: #('Core Tests' 'Grease-Tests-Slime') ]. spec for: #(#'pharo10.x' #'pharo11.x' #'pharo12.x') @@ -62,9 +62,11 @@ baselinePharo: spec requires: #('Grease-Pharo100-Core'); includes: #('Grease-Tests-Pharo-Core') ]; package: 'Grease-Pharo100-Core' with: [ spec requires: #('Grease-Core') ]; - package: 'Grease-Pharo110-Slime' with: [ spec requires: #('Grease-Core') ]; - package: 'Grease-Tests-Pharo-Slime' with: [ spec requires: #('Grease-Pharo110-Slime') ]. + package: 'Grease-Pharo110-Slime-Core' with: [ spec requires: #('Grease-Core') ]; + package: 'Grease-Pharo110-Slime-Portability' with: [ spec requires: #('Grease-Pharo110-Slime-Core') ]; + package: 'Grease-Tests-Pharo-Slime' with: [ spec requires: #('Grease-Pharo110-Slime-Portability') ]. spec - group: 'Slime' with: #('Grease-Pharo110-Slime'); - group: 'Slime Tests' with: #('Grease-Tests-Pharo-Slime') ] + group: 'Slime' with: #('Core' 'Grease-Pharo110-Slime-Core'); + group: 'Slime Portability' with: #('Slime' 'Grease-Pharo110-Slime-Portability'); + group: 'Slime Tests' with: #('Core Tests' 'Grease-Pharo110-Slime-Portability' 'Grease-Tests-Pharo-Slime') ] diff --git a/repository/BaselineOfGrease.package/monticello.meta/categories.st b/repository/BaselineOfGrease.package/monticello.meta/categories.st index aad806f8..f7c53ae3 100644 --- a/repository/BaselineOfGrease.package/monticello.meta/categories.st +++ b/repository/BaselineOfGrease.package/monticello.meta/categories.st @@ -1 +1 @@ -SystemOrganization addCategory: #BaselineOfGrease! +self packageOrganizer ensurePackage: #BaselineOfGrease withTags: #()! diff --git a/repository/Grease-Pharo110-Slime-Core.package/.filetree b/repository/Grease-Pharo110-Slime-Core.package/.filetree new file mode 100644 index 00000000..57a67973 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Core.package/.filetree @@ -0,0 +1,5 @@ +{ + "separateMethodMetaAndSource" : false, + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Core.package/GRDeprecatedApiProtocolRule.class/README.md b/repository/Grease-Pharo110-Slime-Core.package/GRDeprecatedApiProtocolRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime-Core.package/GRDeprecatedApiProtocolRule.class/instance/afterCheck.mappings..st b/repository/Grease-Pharo110-Slime-Core.package/GRDeprecatedApiProtocolRule.class/instance/afterCheck.mappings..st new file mode 100644 index 00000000..495d1401 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Core.package/GRDeprecatedApiProtocolRule.class/instance/afterCheck.mappings..st @@ -0,0 +1,15 @@ +hooks +afterCheck: aNode mappings: mappingDict + + | method | + method := aNode methodNode. + " This ensures that the description is of the form ClassName>>#selector:" + (aNode arguments first isLiteralNode + and: [ aNode arguments first value isString + and: [ method methodClass name greaseString , '>>#' , method selector greaseString ~= aNode arguments first value ] ]) ifTrue: [ ^ true ]. + + " This ensures that the description is a string and ends with a dot." + ^ (aNode arguments size > 1 + and: [ aNode arguments second isLiteralNode + and: [ aNode arguments second value isString + and: [ (aNode arguments second value endsWithSubCollection: '.') not ] ] ]) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Core.package/GRDeprecatedApiProtocolRule.class/instance/group.st b/repository/Grease-Pharo110-Slime-Core.package/GRDeprecatedApiProtocolRule.class/instance/group.st new file mode 100644 index 00000000..b5813499 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Core.package/GRDeprecatedApiProtocolRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'Grease Formatting' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Core.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime-Core.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st new file mode 100644 index 00000000..4ee4851c --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Core.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st @@ -0,0 +1,8 @@ +initialization +initialize + + super initialize. + self + matchesAny: #( + '``@receiver greaseDeprecatedApi: ``@arg1' + '``@receiver greaseDeprecatedApi: ``@arg1 details: ``@arg2' ) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Core.package/GRDeprecatedApiProtocolRule.class/instance/name.st b/repository/Grease-Pharo110-Slime-Core.package/GRDeprecatedApiProtocolRule.class/instance/name.st new file mode 100644 index 00000000..554083f4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Core.package/GRDeprecatedApiProtocolRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Invalid use of deprecated API protocol.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Core.package/GRDeprecatedApiProtocolRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime-Core.package/GRDeprecatedApiProtocolRule.class/instance/rationale.st new file mode 100644 index 00000000..aeabf8ad --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Core.package/GRDeprecatedApiProtocolRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'Make sure to follow the following pattern: self greaseDeprecatedApi: ''Class>>#selector'' details: ''Some description''.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Core.package/GRDeprecatedApiProtocolRule.class/properties.json b/repository/Grease-Pharo110-Slime-Core.package/GRDeprecatedApiProtocolRule.class/properties.json new file mode 100644 index 00000000..d28d8ab3 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Core.package/GRDeprecatedApiProtocolRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeParseTreeLintRule", + "category" : "Grease-Pharo110-Slime-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRDeprecatedApiProtocolRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Core.package/GRReSlimeBlockLintRule.class/README.md b/repository/Grease-Pharo110-Slime-Core.package/GRReSlimeBlockLintRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime-Core.package/GRReSlimeBlockLintRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime-Core.package/GRReSlimeBlockLintRule.class/class/isVisible.st new file mode 100644 index 00000000..0e3a239e --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Core.package/GRReSlimeBlockLintRule.class/class/isVisible.st @@ -0,0 +1,4 @@ +testing +isVisible + + ^ self name ~= #GRReSlimeBlockLintRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Core.package/GRReSlimeBlockLintRule.class/properties.json b/repository/Grease-Pharo110-Slime-Core.package/GRReSlimeBlockLintRule.class/properties.json new file mode 100644 index 00000000..3ea0a053 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Core.package/GRReSlimeBlockLintRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "ReAbstractRule", + "category" : "Grease-Pharo110-Slime-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRReSlimeBlockLintRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Core.package/GRReSlimeParseTreeLintRule.class/README.md b/repository/Grease-Pharo110-Slime-Core.package/GRReSlimeParseTreeLintRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime-Core.package/GRReSlimeParseTreeLintRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime-Core.package/GRReSlimeParseTreeLintRule.class/class/isVisible.st new file mode 100644 index 00000000..2d2913fb --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Core.package/GRReSlimeParseTreeLintRule.class/class/isVisible.st @@ -0,0 +1,4 @@ +testing +isVisible + + ^ self name ~= #GRReSlimeParseTreeLintRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Core.package/GRReSlimeParseTreeLintRule.class/properties.json b/repository/Grease-Pharo110-Slime-Core.package/GRReSlimeParseTreeLintRule.class/properties.json new file mode 100644 index 00000000..e590c6d3 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Core.package/GRReSlimeParseTreeLintRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "ReNodeMatchRule", + "category" : "Grease-Pharo110-Slime-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRReSlimeParseTreeLintRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Core.package/GRReSlimeTransformationRule.class/README.md b/repository/Grease-Pharo110-Slime-Core.package/GRReSlimeTransformationRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime-Core.package/GRReSlimeTransformationRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime-Core.package/GRReSlimeTransformationRule.class/class/isVisible.st new file mode 100644 index 00000000..b84d2a50 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Core.package/GRReSlimeTransformationRule.class/class/isVisible.st @@ -0,0 +1,4 @@ +testing +isVisible + + ^ self name ~= #GRReSlimeTransformationRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Core.package/GRReSlimeTransformationRule.class/properties.json b/repository/Grease-Pharo110-Slime-Core.package/GRReSlimeTransformationRule.class/properties.json new file mode 100644 index 00000000..097d5355 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Core.package/GRReSlimeTransformationRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "ReNodeRewriteRule", + "category" : "Grease-Pharo110-Slime-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRReSlimeTransformationRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Core.package/GRSlimeBlockLintRule.class/README.md b/repository/Grease-Pharo110-Slime-Core.package/GRSlimeBlockLintRule.class/README.md new file mode 100644 index 00000000..acb02dfd --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Core.package/GRSlimeBlockLintRule.class/README.md @@ -0,0 +1 @@ +For compatibility for versions of Seaside older than 3.5.6 \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Core.package/GRSlimeBlockLintRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime-Core.package/GRSlimeBlockLintRule.class/class/isVisible.st new file mode 100644 index 00000000..116356fd --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Core.package/GRSlimeBlockLintRule.class/class/isVisible.st @@ -0,0 +1,4 @@ +testing +isVisible + + ^ self name ~= #GRSlimeBlockLintRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Core.package/GRSlimeBlockLintRule.class/properties.json b/repository/Grease-Pharo110-Slime-Core.package/GRSlimeBlockLintRule.class/properties.json new file mode 100644 index 00000000..c36ac25e --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Core.package/GRSlimeBlockLintRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "JohanBrichau 3/11/2024 21:54", + "super" : "RBBlockLintRule", + "category" : "Grease-Pharo110-Slime-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRSlimeBlockLintRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Core.package/GRSlimeParseTreeLintRule.class/README.md b/repository/Grease-Pharo110-Slime-Core.package/GRSlimeParseTreeLintRule.class/README.md new file mode 100644 index 00000000..acb02dfd --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Core.package/GRSlimeParseTreeLintRule.class/README.md @@ -0,0 +1 @@ +For compatibility for versions of Seaside older than 3.5.6 \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Core.package/GRSlimeParseTreeLintRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime-Core.package/GRSlimeParseTreeLintRule.class/class/isVisible.st new file mode 100644 index 00000000..5d72890a --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Core.package/GRSlimeParseTreeLintRule.class/class/isVisible.st @@ -0,0 +1,4 @@ +testing +isVisible + + ^ self name ~= #GRSlimeParseTreeLintRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Core.package/GRSlimeParseTreeLintRule.class/properties.json b/repository/Grease-Pharo110-Slime-Core.package/GRSlimeParseTreeLintRule.class/properties.json new file mode 100644 index 00000000..93569366 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Core.package/GRSlimeParseTreeLintRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "JohanBrichau 3/11/2024 21:54", + "super" : "RBParseTreeLintRule", + "category" : "Grease-Pharo110-Slime-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRSlimeParseTreeLintRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Core.package/GRSlimeTransformationRule.class/README.md b/repository/Grease-Pharo110-Slime-Core.package/GRSlimeTransformationRule.class/README.md new file mode 100644 index 00000000..acb02dfd --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Core.package/GRSlimeTransformationRule.class/README.md @@ -0,0 +1 @@ +For compatibility for versions of Seaside older than 3.5.6 \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Core.package/GRSlimeTransformationRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime-Core.package/GRSlimeTransformationRule.class/class/isVisible.st new file mode 100644 index 00000000..b60e68d4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Core.package/GRSlimeTransformationRule.class/class/isVisible.st @@ -0,0 +1,4 @@ +testing +isVisible + + ^ self name ~= #GRSlimeTransformationRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Core.package/GRSlimeTransformationRule.class/properties.json b/repository/Grease-Pharo110-Slime-Core.package/GRSlimeTransformationRule.class/properties.json new file mode 100644 index 00000000..90106c6e --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Core.package/GRSlimeTransformationRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "JohanBrichau 3/11/2024 21:54", + "super" : "RBTransformationRule", + "category" : "Grease-Pharo110-Slime-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRSlimeTransformationRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Core.package/monticello.meta/categories.st b/repository/Grease-Pharo110-Slime-Core.package/monticello.meta/categories.st new file mode 100644 index 00000000..3990f1cc --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Core.package/monticello.meta/categories.st @@ -0,0 +1 @@ +self packageOrganizer ensurePackage: #'Grease-Pharo110-Slime-Core' withTags: #()! diff --git a/repository/Grease-Pharo110-Slime-Core.package/monticello.meta/initializers.st b/repository/Grease-Pharo110-Slime-Core.package/monticello.meta/initializers.st new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime-Core.package/monticello.meta/package b/repository/Grease-Pharo110-Slime-Core.package/monticello.meta/package new file mode 100644 index 00000000..8e727ec7 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Core.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'Grease-Pharo110-Slime-Core') \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Core.package/properties.json b/repository/Grease-Pharo110-Slime-Core.package/properties.json new file mode 100644 index 00000000..6f31cf5a --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Core.package/properties.json @@ -0,0 +1 @@ +{ } \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/.filetree b/repository/Grease-Pharo110-Slime-Portability.package/.filetree new file mode 100644 index 00000000..57a67973 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/.filetree @@ -0,0 +1,5 @@ +{ + "separateMethodMetaAndSource" : false, + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiBooleansRule.class/README.md b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiBooleansRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiBooleansRule.class/instance/group.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiBooleansRule.class/instance/group.st new file mode 100644 index 00000000..f34a290f --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiBooleansRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiBooleansRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiBooleansRule.class/instance/initialize.st new file mode 100644 index 00000000..6058ed9f --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiBooleansRule.class/instance/initialize.st @@ -0,0 +1,19 @@ +initialization +initialize + + super initialize. + self + replace: '``@expr1 and: [ | `@temp2 | ``@expr2 ] and: [ | `@temp3 | ``@expr3 ]' + with: '``@expr1 and: [ | `@temp2 | ``@expr2 and: [ | `@temp3 | ``@expr3 ] ]'; + replace: '``@expr1 and: [ | `@temp2 | ``@expr2 ] and: [ | `@temp3 | ``@expr3 ] and: [ | `@temp4 | ``@expr4 ]' + with: '``@expr1 and: [ | `@temp2 | ``@expr2 and: [ | `@temp3 | ``@expr3 and: [ | `@temp4 | ``@expr4 ] ] ]'; + replace: '``@expr1 and: [ | `@temp2 | ``@expr2 ] and: [ | `@temp3 | ``@expr3 ] and: [ | `@temp4 | ``@expr4 ] and: [ | `@temp5 | ``@expr5 ]' + with: '``@expr1 and: [ | `@temp2 | ``@expr2 and: [ | `@temp3 | ``@expr3 and: [ | `@temp4 | ``@expr4 and: [ | `@temp5 | ``@expr5 ] ] ] ]'; + replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ]' + with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 ] ]'; + replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ] or: [ | `@temp4 | ``@expr4 ]' + with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 or: [ | `@temp4 | ``@expr4 ] ] ]'; + replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ] or: [ | `@temp4 | ``@expr4 ] or: [ | `@temp5 | ``@expr5 ]' + with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 or: [ | `@temp4 | ``@expr4 or: [ | `@temp5 | ``@expr5 ] ] ] ]'; + replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ] or: [ | `@temp4 | ``@expr4 ] or: [ | `@temp5 | ``@expr5 ] or: [ | `@temp6 | ``@expr6 ]' + with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 or: [ | `@temp4 | ``@expr4 or: [ | `@temp5 | ``@expr5 or: [ | `@temp6 | ``@expr6 ] ] ] ] ]' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiBooleansRule.class/instance/name.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiBooleansRule.class/instance/name.st new file mode 100644 index 00000000..c1c48207 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiBooleansRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Booleans' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiBooleansRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiBooleansRule.class/instance/rationale.st new file mode 100644 index 00000000..b650ed54 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiBooleansRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ '#and:and: and #or:or: are not ANSI compatible.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiBooleansRule.class/properties.json b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiBooleansRule.class/properties.json new file mode 100644 index 00000000..ea030bd2 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiBooleansRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime-Portability", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRAnsiBooleansRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCharactersRule.class/README.md b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCharactersRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCharactersRule.class/instance/group.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCharactersRule.class/instance/group.st new file mode 100644 index 00000000..f34a290f --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCharactersRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCharactersRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCharactersRule.class/instance/initialize.st new file mode 100644 index 00000000..f83e0222 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCharactersRule.class/instance/initialize.st @@ -0,0 +1,16 @@ +initialization +initialize + + super initialize. + self + replace: 'Character value: ``@expr' + with: 'Character codePoint: ``@expr'. + self + replace: '`#source `{:node | node value isCharacter }` to: `#target' + byEvaluating: [ :node | + (node receiver value isCharacter and: [ + node arguments first value isCharacter ]) + ifTrue: [ + RBLiteralNode value: (String streamContents: [ :stream | + node receiver value codePoint to: node arguments first value codePoint do: [ :code | stream nextPut: (Character codePoint: code) ] ]) ] + ifFalse: [ node ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCharactersRule.class/instance/name.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCharactersRule.class/instance/name.st new file mode 100644 index 00000000..6ea7a32b --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCharactersRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Characters' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCharactersRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCharactersRule.class/instance/rationale.st new file mode 100644 index 00000000..94cf8eb0 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCharactersRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'Character value: 64 and $a to: $b is not ANSI compatible.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCharactersRule.class/properties.json b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCharactersRule.class/properties.json new file mode 100644 index 00000000..829d5eaa --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCharactersRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime-Portability", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRAnsiCharactersRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCollectionsRule.class/README.md b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCollectionsRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCollectionsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCollectionsRule.class/instance/group.st new file mode 100644 index 00000000..f34a290f --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCollectionsRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCollectionsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCollectionsRule.class/instance/initialize.st new file mode 100644 index 00000000..86c772ea --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCollectionsRule.class/instance/initialize.st @@ -0,0 +1,30 @@ +initialization +initialize + super initialize. + self + replace: '``@collection withIndexDo: [ :`each :`index | | `@temps | ``@.body ]' + with: '``@collection keysAndValuesDo: [ :`index :`each | | `@temps | ``@.body ]'; + replace: '``@collection doWithIndex: [ :`each :`index | | `@temps | ``@.body ]' + with: '``@collection keysAndValuesDo: [ :`index :`each | | `@temps | ``@.body ]'; + replace: '``@collection collect: ``@block1 thenDo: ``@block2' + with: '(``@collection collect: ``@block1) do: ``@block2'; + replace: '``@collection collect: ``@block1 thenSelect: ``@block2' + with: '(``@collection collect: ``@block1) select: ``@block2'; + replace: '``@collection pairsDo: [ :`t1 :`t2 | ``@.statements ]' + with: '1 to: ``@collection size by: 2 do: [ :index | | `t1 `t2 | `t1 := ``@collection at: index. `t2 := ``@collection at: index + 1. ``@.statements ]'; + replace: '``@collection reject: ``@block1 thenDo: ``@block2' + with: '(``@collection reject: ``@block1) do: ``@block2'; + replace: '``@collection select: ``@block1 thenCollect: ``@block2' + with: '(``@collection select: ``@block1) collect: ``@block2'; + replace: '``@collection select: ``@block1 thenDo: ``@block2' + with: '(``@collection select: ``@block1) do: ``@block2'; + replace: '``@collection detectSum: [ :`t1 | ``@.statements. `.last ]' + with: '``@collection inject: 0 into: [ :sum :`t1 | ``@.statements. sum + (`.last) ]'; + replace: '``@collection valuesDo: ``@block' + with: '``@collection do: ``@block'; + replace: '``@collection reversed' + with: '``@collection reverse'; + replace: '``@dictionary keysSortedSafely' + with: '``@dictionary keys asSortedCollection'; + replace: '``@collectionClass new: ``@size withAll: ``@character' + with: '(``@collectionClass new: ``@size) atAllPut: ``@character' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCollectionsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCollectionsRule.class/instance/name.st new file mode 100644 index 00000000..a318a869 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCollectionsRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Collections' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCollectionsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCollectionsRule.class/instance/rationale.st new file mode 100644 index 00000000..5929ea0d --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCollectionsRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'Some collection methods are not ANSI compatible: #pairsDo:, #collect:thenDo:, #reject:thenDo:, #detectSum:, #valuesDo:, #keysSortedSafely, #new:withAll:, etc.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCollectionsRule.class/properties.json b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCollectionsRule.class/properties.json new file mode 100644 index 00000000..f5f8c087 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiCollectionsRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime-Portability", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRAnsiCollectionsRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConditionalsRule.class/README.md b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConditionalsRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConditionalsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConditionalsRule.class/instance/group.st new file mode 100644 index 00000000..f34a290f --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConditionalsRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConditionalsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConditionalsRule.class/instance/initialize.st new file mode 100644 index 00000000..962d59d3 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConditionalsRule.class/instance/initialize.st @@ -0,0 +1,17 @@ +initialization +initialize + + super initialize. + self + replace: '``@boolean ifNotNilDo: ``@block' + with: '``@boolean ifNotNil: ``@block'; + replace: '``@boolean ifNotNilDo: ``@block1 ifNil: ``@block2' + with: '``@boolean ifNotNil: ``@block1 ifNil: ``@block2'; + replace: '``@boolean ifNil: ``@block1 ifNotNilDo: ``@block2' + with: '``@boolean ifNil: ``@block1 ifNotNil: ``@block2'; + replace: '``@boolean ifNotNil: [ | `@temps | ``@.body ]' + with: '``@boolean ifNotNil: [ :arg | | `@temps | ``@.body ]'; + replace: '``@boolean ifNotNil: [ | `@temps | ``@.body ] ifNil: ``@block ' + with: '``@boolean ifNotNil: [ :arg | | `@temps | ``@.body ] ifNil: ``@block'; + replace: '``@boolean ifNil: ``@block ifNotNil: [ | `@temps | ``@.body ]' + with: '``@boolean ifNil: ``@block ifNotNil: [ :arg | | `@temps | ``@.body ]' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConditionalsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConditionalsRule.class/instance/name.st new file mode 100644 index 00000000..76482a4a --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConditionalsRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Conditionals' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConditionalsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConditionalsRule.class/instance/rationale.st new file mode 100644 index 00000000..a60d109e --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConditionalsRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'Conditionals like #ifNotNilDo: are not ANSI compatible.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConditionalsRule.class/properties.json b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConditionalsRule.class/properties.json new file mode 100644 index 00000000..20329511 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConditionalsRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime-Portability", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRAnsiConditionalsRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConvertorRule.class/README.md b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConvertorRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConvertorRule.class/instance/group.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConvertorRule.class/instance/group.st new file mode 100644 index 00000000..f34a290f --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConvertorRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConvertorRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConvertorRule.class/instance/initialize.st new file mode 100644 index 00000000..4867fd82 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConvertorRule.class/instance/initialize.st @@ -0,0 +1,7 @@ +initialization +initialize + + super initialize. + self + replace: '``@object asString' with: '``@object greaseString'; + replace: '``@object asInteger' with: '``@object greaseInteger' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConvertorRule.class/instance/name.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConvertorRule.class/instance/name.st new file mode 100644 index 00000000..14c21187 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConvertorRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Convertors' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConvertorRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConvertorRule.class/instance/rationale.st new file mode 100644 index 00000000..806fe5ac --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConvertorRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'The ANSI standard does not support #asInteger and #asString on Object.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConvertorRule.class/properties.json b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConvertorRule.class/properties.json new file mode 100644 index 00000000..2a17b9cf --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiConvertorRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime-Portability", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRAnsiConvertorRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiExceptionsRule.class/README.md b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiExceptionsRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiExceptionsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiExceptionsRule.class/instance/group.st new file mode 100644 index 00000000..f34a290f --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiExceptionsRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiExceptionsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiExceptionsRule.class/instance/initialize.st new file mode 100644 index 00000000..a06d318e --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiExceptionsRule.class/instance/initialize.st @@ -0,0 +1,7 @@ +initialization +initialize + + super initialize. + self + replace: '``@block on: `class do: [ | `@temps | ``@.body ]' + with: '``@block on: `class do: [ :err | | `@temps | ``@.body ]' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiExceptionsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiExceptionsRule.class/instance/name.st new file mode 100644 index 00000000..6d5286e6 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiExceptionsRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Exceptions' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiExceptionsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiExceptionsRule.class/instance/rationale.st new file mode 100644 index 00000000..7ec36da6 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiExceptionsRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'Exception handlers expect exactly one argument in ANSI.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiExceptionsRule.class/properties.json b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiExceptionsRule.class/properties.json new file mode 100644 index 00000000..4119078e --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiExceptionsRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime-Portability", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRAnsiExceptionsRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStreamsRule.class/README.md b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStreamsRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStreamsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStreamsRule.class/instance/group.st new file mode 100644 index 00000000..f34a290f --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStreamsRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStreamsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStreamsRule.class/instance/initialize.st new file mode 100644 index 00000000..1b87d4ea --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStreamsRule.class/instance/initialize.st @@ -0,0 +1,13 @@ +initialization +initialize + + super initialize. + self + replace: '`{ :node :context | node isVariable and: [ (Smalltalk includesKey: node name asSymbol) not and: [ context at: ''`receiver'' ifAbsentPut: [ node ]. true ] ] } cr' + with: '`{ :context | context at: ''`receiver'' } nextPut: Character cr'; + replace: '`{ :node :context | node isVariable and: [ (Smalltalk includesKey: node name asSymbol) not and: [ context at: ''`receiver'' ifAbsentPut: [ node ]. true ] ] } lf' + with: '`{ :context | context at: ''`receiver'' } nextPut: Character lf'; + replace: '``@stream nextPut: Character cr; nextPut: Character lf' + with: '``@stream crlf'; + replace: '``@collection writeStream' + with: 'WriteStream on: ``@collection' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStreamsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStreamsRule.class/instance/name.st new file mode 100644 index 00000000..50e44acb --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStreamsRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Streams' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStreamsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStreamsRule.class/instance/rationale.st new file mode 100644 index 00000000..3d05fb7c --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStreamsRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ '#cr and #lf are not part of the ANSI stream protocol.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStreamsRule.class/properties.json b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStreamsRule.class/properties.json new file mode 100644 index 00000000..f0ce96f2 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStreamsRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime-Portability", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRAnsiStreamsRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStringsRule.class/README.md b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStringsRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStringsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStringsRule.class/instance/group.st new file mode 100644 index 00000000..f34a290f --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStringsRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStringsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStringsRule.class/instance/initialize.st new file mode 100644 index 00000000..702a9ad0 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStringsRule.class/instance/initialize.st @@ -0,0 +1,26 @@ +initialization +initialize + + super initialize. + self + replace: 'String tab' with: '(String with: Character tab)'; + replace: 'String cr' with: '(String with: Character cr)'; + replace: 'String lf' with: '(String with: Character lf)'; + replace: 'String crlf' with: '(String with: Character cr with: Character lf)'; + replace: 'String space' with: '(String with: Character space)'; + replace: '`@string includesSubString: `@subString' + with: '(`@string indexOfSubCollection: `@subString startingAt: 0) ~= 0'; + replace: '`@string includesSubstring: `@subString' + with: '(`@string indexOfSubCollection: `@subString startingAt: 0) ~= 0'; + replace: '``@string findTokens: ``@arg' byEvaluating: [ :node | + | argument newNode | + newNode := node copy. + argument := newNode arguments first. + argument isLiteralNode ifTrue: [ + argument value isArray + ifTrue: [ argument replaceWith: (RBLiteralNode value: (String withAll: argument value)) ]. + argument value isCharacter + ifTrue: [ argument replaceWith: (RBLiteralNode value: (String with: argument value)) ] ]. + newNode + selector: #subStrings:; + yourself ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStringsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStringsRule.class/instance/name.st new file mode 100644 index 00000000..31e016a6 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStringsRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Strings' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStringsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStringsRule.class/instance/rationale.st new file mode 100644 index 00000000..84577e32 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStringsRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ '#cr, #crlf, #lf, #space, #tab, #findTokens:, ... are not part of the ANSI string protocol.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStringsRule.class/properties.json b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStringsRule.class/properties.json new file mode 100644 index 00000000..55ce4bd3 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRAnsiStringsRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime-Portability", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRAnsiStringsRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/README.md b/repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/class/checksClass.st b/repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/class/checksClass.st new file mode 100644 index 00000000..918ec479 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/class/checksClass.st @@ -0,0 +1,4 @@ +testing - interest +checksClass + + ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/instance/basicCheck..st b/repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/instance/basicCheck..st new file mode 100644 index 00000000..7d00fbc7 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/instance/basicCheck..st @@ -0,0 +1,11 @@ +running +basicCheck: aClass + + ^ aClass isMeta not + and: [ (aClass includesSelector: #initialize) + and: [ (#(GRObject GRNotification GRNotification GRError RBLintRule RBTransformationRule) noneSatisfy: [ :each | + aClass includesBehavior: (Smalltalk globals at: each) ]) + and: [ aClass class methodDictionary noneSatisfy: [ :each | + matcher + executeTree: each parseTree + initialAnswer: false ] ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/instance/group.st b/repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/instance/group.st new file mode 100644 index 00000000..b4981dc4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st new file mode 100644 index 00000000..f42fb7c0 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st @@ -0,0 +1,8 @@ +initialization +initialize + + super initialize. + matcher := RBParseTreeSearcher new. + matcher + matches: 'self basicNew initialize' + do: [ :node :answer | true ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/instance/name.st b/repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/instance/name.st new file mode 100644 index 00000000..693fa6d6 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ '#basicNew initialize is missing' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/instance/rationale.st new file mode 100644 index 00000000..22a02ade --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ '#initialize is not called implicitly when sending #new to an object in all Smalltalk dialects. Consider subclassing GRObject.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/properties.json b/repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/properties.json new file mode 100644 index 00000000..a097ce11 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRBasicNewInitializeMissingRule.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeBlockLintRule", + "category" : "Grease-Pharo110-Slime-Portability", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "matcher" + ], + "name" : "GRBasicNewInitializeMissingRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRInvalidObjectInitializationRule.class/README.md b/repository/Grease-Pharo110-Slime-Portability.package/GRInvalidObjectInitializationRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRInvalidObjectInitializationRule.class/class/checksMethod.st b/repository/Grease-Pharo110-Slime-Portability.package/GRInvalidObjectInitializationRule.class/class/checksMethod.st new file mode 100644 index 00000000..c0b5961f --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRInvalidObjectInitializationRule.class/class/checksMethod.st @@ -0,0 +1,4 @@ +testing - interest +checksMethod + + ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRInvalidObjectInitializationRule.class/instance/basicCheck..st b/repository/Grease-Pharo110-Slime-Portability.package/GRInvalidObjectInitializationRule.class/instance/basicCheck..st new file mode 100644 index 00000000..1b7b4c47 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRInvalidObjectInitializationRule.class/instance/basicCheck..st @@ -0,0 +1,10 @@ +running +basicCheck: aMethod + + ^ (aMethod methodClass isMeta not + and: [ (aMethod selector beginsWithSubCollection: #initialize) + and: [ aMethod selector numArgs > 0 + and: [ aMethod methodClass ~= GRObject + and: [ (aMethod methodClass includesBehavior: GRObject) + and: [ (aMethod superMessages includes: aMethod selector) not + and: [ aMethod selfMessages noneSatisfy: [ :each | each beginsWithSubCollection: #initialize ] ] ] ] ] ] ]) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRInvalidObjectInitializationRule.class/instance/group.st b/repository/Grease-Pharo110-Slime-Portability.package/GRInvalidObjectInitializationRule.class/instance/group.st new file mode 100644 index 00000000..b4981dc4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRInvalidObjectInitializationRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRInvalidObjectInitializationRule.class/instance/name.st b/repository/Grease-Pharo110-Slime-Portability.package/GRInvalidObjectInitializationRule.class/instance/name.st new file mode 100644 index 00000000..6386a8fd --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRInvalidObjectInitializationRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Invalid object initialization' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRInvalidObjectInitializationRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime-Portability.package/GRInvalidObjectInitializationRule.class/instance/rationale.st new file mode 100644 index 00000000..9ce37a52 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRInvalidObjectInitializationRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'Initialize methods are required to call the designated initializer or its super implementation.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRInvalidObjectInitializationRule.class/properties.json b/repository/Grease-Pharo110-Slime-Portability.package/GRInvalidObjectInitializationRule.class/properties.json new file mode 100644 index 00000000..f530afd0 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRInvalidObjectInitializationRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeBlockLintRule", + "category" : "Grease-Pharo110-Slime-Portability", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRInvalidObjectInitializationRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/README.md b/repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/class/checksNode.st b/repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/class/checksNode.st new file mode 100644 index 00000000..5e68f2ca --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/class/checksNode.st @@ -0,0 +1,4 @@ +testing - interest +checksNode + + ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/instance/basicCheck..st b/repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/instance/basicCheck..st new file mode 100644 index 00000000..428bcd1c --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/instance/basicCheck..st @@ -0,0 +1,4 @@ +running +basicCheck: anEntity + + ^ anEntity isMessage and:[ self methodNames includes: anEntity selector ] diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/instance/group.st b/repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/instance/group.st new file mode 100644 index 00000000..b4981dc4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/instance/methodNames.st b/repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/instance/methodNames.st new file mode 100644 index 00000000..25a16ed6 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/instance/methodNames.st @@ -0,0 +1,4 @@ +private +methodNames + + ^ #( anyOne withIndexCollect: ) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/instance/name.st b/repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/instance/name.st new file mode 100644 index 00000000..cc5e5c47 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Uses non portable message' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/instance/rationale.st new file mode 100644 index 00000000..bc7272e4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'Some methods are not portable accross different Smalltalk dialects.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/properties.json b/repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/properties.json new file mode 100644 index 00000000..1c576d5f --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRNonPortableMessageRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeBlockLintRule", + "category" : "Grease-Pharo110-Slime-Portability", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRNonPortableMessageRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRNotPortableCollectionsRule.class/README.md b/repository/Grease-Pharo110-Slime-Portability.package/GRNotPortableCollectionsRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRNotPortableCollectionsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime-Portability.package/GRNotPortableCollectionsRule.class/instance/group.st new file mode 100644 index 00000000..b4981dc4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRNotPortableCollectionsRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRNotPortableCollectionsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime-Portability.package/GRNotPortableCollectionsRule.class/instance/initialize.st new file mode 100644 index 00000000..5e8d416d --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRNotPortableCollectionsRule.class/instance/initialize.st @@ -0,0 +1,9 @@ +initialization +initialize + + super initialize. + self + replace: '`@collection beginsWith: `@subCollection' + with: '`@collection greaseBeginsWith: `@subCollection'; + replace: '`@collection endsWith: `@subCollection' + with: '`@collection greaseEndsWith: `@subCollection' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRNotPortableCollectionsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime-Portability.package/GRNotPortableCollectionsRule.class/instance/name.st new file mode 100644 index 00000000..a318a869 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRNotPortableCollectionsRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Collections' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRNotPortableCollectionsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime-Portability.package/GRNotPortableCollectionsRule.class/instance/rationale.st new file mode 100644 index 00000000..df5a43be --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRNotPortableCollectionsRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ '#beginsWith: and #endsWith: are not portable.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRNotPortableCollectionsRule.class/properties.json b/repository/Grease-Pharo110-Slime-Portability.package/GRNotPortableCollectionsRule.class/properties.json new file mode 100644 index 00000000..61611855 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRNotPortableCollectionsRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime-Portability", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRNotPortableCollectionsRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRObjectInRule.class/README.md b/repository/Grease-Pharo110-Slime-Portability.package/GRObjectInRule.class/README.md new file mode 100644 index 00000000..bca4d093 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRObjectInRule.class/README.md @@ -0,0 +1 @@ +I detect senders of Object >> #in: diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRObjectInRule.class/instance/group.st b/repository/Grease-Pharo110-Slime-Portability.package/GRObjectInRule.class/instance/group.st new file mode 100644 index 00000000..b4981dc4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRObjectInRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRObjectInRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime-Portability.package/GRObjectInRule.class/instance/initialize.st new file mode 100644 index 00000000..d51d0570 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRObjectInRule.class/instance/initialize.st @@ -0,0 +1,7 @@ +initialization +initialize + + super initialize. + self + replace: '``@object in: [ :`var | | `@temps | `@.statements ]' + with: '[ :`var | | `@temps | `@.statements ] value: ``@object' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRObjectInRule.class/instance/name.st b/repository/Grease-Pharo110-Slime-Portability.package/GRObjectInRule.class/instance/name.st new file mode 100644 index 00000000..914d48df --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRObjectInRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Object>>#in:' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRObjectInRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime-Portability.package/GRObjectInRule.class/instance/rationale.st new file mode 100644 index 00000000..944aa7c5 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRObjectInRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'Object>>#in: has different semantics on different Smalltalk dialects.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRObjectInRule.class/properties.json b/repository/Grease-Pharo110-Slime-Portability.package/GRObjectInRule.class/properties.json new file mode 100644 index 00000000..65740cec --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRObjectInRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "pmm 9/12/2009 10:37", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime-Portability", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRObjectInRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRReferencesNotPortableClassRule.class/README.md b/repository/Grease-Pharo110-Slime-Portability.package/GRReferencesNotPortableClassRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRReferencesNotPortableClassRule.class/class/checksMethod.st b/repository/Grease-Pharo110-Slime-Portability.package/GRReferencesNotPortableClassRule.class/class/checksMethod.st new file mode 100644 index 00000000..c0b5961f --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRReferencesNotPortableClassRule.class/class/checksMethod.st @@ -0,0 +1,4 @@ +testing - interest +checksMethod + + ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRReferencesNotPortableClassRule.class/instance/basicCheck..st b/repository/Grease-Pharo110-Slime-Portability.package/GRReferencesNotPortableClassRule.class/instance/basicCheck..st new file mode 100644 index 00000000..18b14d25 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRReferencesNotPortableClassRule.class/instance/basicCheck..st @@ -0,0 +1,8 @@ +running +basicCheck: aMethod + + (aMethod methodClass instanceSide category indexOfSubCollection: #'-Pharo-' startingAt: 1) ~= 0 ifTrue: [ + "classes in a -Pharo- package are per definition not portable and therefore allowed to use non-portable classes" + ^ false ]. + + ^ aMethod literals anySatisfy: [ :each | each isVariableBinding and: [ self classNames includes: each key ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRReferencesNotPortableClassRule.class/instance/name.st b/repository/Grease-Pharo110-Slime-Portability.package/GRReferencesNotPortableClassRule.class/instance/name.st new file mode 100644 index 00000000..510ca2ab --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRReferencesNotPortableClassRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Uses not portable class' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRReferencesNotPortableClassRule.class/properties.json b/repository/Grease-Pharo110-Slime-Portability.package/GRReferencesNotPortableClassRule.class/properties.json new file mode 100644 index 00000000..1290aaf1 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRReferencesNotPortableClassRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRUsesNotPortableClassRule", + "category" : "Grease-Pharo110-Slime-Portability", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRReferencesNotPortableClassRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRSubclassesNotPortableClassRule.class/README.md b/repository/Grease-Pharo110-Slime-Portability.package/GRSubclassesNotPortableClassRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRSubclassesNotPortableClassRule.class/class/checksClass.st b/repository/Grease-Pharo110-Slime-Portability.package/GRSubclassesNotPortableClassRule.class/class/checksClass.st new file mode 100644 index 00000000..918ec479 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRSubclassesNotPortableClassRule.class/class/checksClass.st @@ -0,0 +1,4 @@ +testing - interest +checksClass + + ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRSubclassesNotPortableClassRule.class/instance/basicCheck..st b/repository/Grease-Pharo110-Slime-Portability.package/GRSubclassesNotPortableClassRule.class/instance/basicCheck..st new file mode 100644 index 00000000..1091897f --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRSubclassesNotPortableClassRule.class/instance/basicCheck..st @@ -0,0 +1,4 @@ +running +basicCheck: aClass + + ^ aClass allSuperclasses anySatisfy: [ :each | self classNames includes: each name ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRSubclassesNotPortableClassRule.class/instance/name.st b/repository/Grease-Pharo110-Slime-Portability.package/GRSubclassesNotPortableClassRule.class/instance/name.st new file mode 100644 index 00000000..65a2945a --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRSubclassesNotPortableClassRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Subclasses not portable class' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRSubclassesNotPortableClassRule.class/properties.json b/repository/Grease-Pharo110-Slime-Portability.package/GRSubclassesNotPortableClassRule.class/properties.json new file mode 100644 index 00000000..db075258 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRSubclassesNotPortableClassRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRUsesNotPortableClassRule", + "category" : "Grease-Pharo110-Slime-Portability", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRSubclassesNotPortableClassRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRTestAssertionsRule.class/README.md b/repository/Grease-Pharo110-Slime-Portability.package/GRTestAssertionsRule.class/README.md new file mode 100644 index 00000000..6f3d9062 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRTestAssertionsRule.class/README.md @@ -0,0 +1 @@ +I check for TestCase >> #fail. \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRTestAssertionsRule.class/instance/afterCheck.mappings..st b/repository/Grease-Pharo110-Slime-Portability.package/GRTestAssertionsRule.class/instance/afterCheck.mappings..st new file mode 100644 index 00000000..874f1381 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRTestAssertionsRule.class/instance/afterCheck.mappings..st @@ -0,0 +1,8 @@ +hooks +afterCheck: aNode mappings: mappingsDict + + aNode methodNode methodClass isMeta + ifTrue: [ ^ false ]. + (aNode methodNode methodClass allSuperclasses includes: (Smalltalk at: #TestCase)) + ifTrue: [ ^ true ]. + ^ false \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRTestAssertionsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime-Portability.package/GRTestAssertionsRule.class/instance/group.st new file mode 100644 index 00000000..eb721d8e --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRTestAssertionsRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'SUnit Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRTestAssertionsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime-Portability.package/GRTestAssertionsRule.class/instance/initialize.st new file mode 100644 index 00000000..097ff5a1 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRTestAssertionsRule.class/instance/initialize.st @@ -0,0 +1,7 @@ +initialization +initialize + + super initialize. + self + replace: 'self fail' + with: 'self assert: false' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRTestAssertionsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime-Portability.package/GRTestAssertionsRule.class/instance/name.st new file mode 100644 index 00000000..0dd472fc --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRTestAssertionsRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'TestCase >> #fail' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRTestAssertionsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime-Portability.package/GRTestAssertionsRule.class/instance/rationale.st new file mode 100644 index 00000000..4e358c3e --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRTestAssertionsRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'TestCase >> #fail is not portable.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRTestAssertionsRule.class/properties.json b/repository/Grease-Pharo110-Slime-Portability.package/GRTestAssertionsRule.class/properties.json new file mode 100644 index 00000000..26df4eaa --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRTestAssertionsRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "pmm 8/17/2014 11:24", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime-Portability", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRTestAssertionsRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRUsesCanPerformOrUnderstandRule.class/README.md b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesCanPerformOrUnderstandRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.st b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.st new file mode 100644 index 00000000..b4981dc4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.st new file mode 100644 index 00000000..6ca1e900 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.st @@ -0,0 +1,7 @@ +initialization +initialize + + super initialize. + self matchesAny: #( + '`@receiver canPerform: `@selector' + '`@receiver canUnderstand: `@selector' ) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.st b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.st new file mode 100644 index 00000000..a7805d06 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Sends #canPerform: or #canUnderstand:' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.st new file mode 100644 index 00000000..4332f561 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ '#canPerform: or #canUnderstand: are not portable.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRUsesCanPerformOrUnderstandRule.class/properties.json b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesCanPerformOrUnderstandRule.class/properties.json new file mode 100644 index 00000000..4b4ace91 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesCanPerformOrUnderstandRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeParseTreeLintRule", + "category" : "Grease-Pharo110-Slime-Portability", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRUsesCanPerformOrUnderstandRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRUsesClassForHashRule.class/README.md b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesClassForHashRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRUsesClassForHashRule.class/instance/afterCheck.mappings..st b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesClassForHashRule.class/instance/afterCheck.mappings..st new file mode 100644 index 00000000..4648081c --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesClassForHashRule.class/instance/afterCheck.mappings..st @@ -0,0 +1,4 @@ +hooks +afterCheck: aNode mappings: mappingDict + + ^ aNode methodNode selector = #hash \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRUsesClassForHashRule.class/instance/group.st b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesClassForHashRule.class/instance/group.st new file mode 100644 index 00000000..b4981dc4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesClassForHashRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRUsesClassForHashRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesClassForHashRule.class/instance/initialize.st new file mode 100644 index 00000000..190c57e0 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesClassForHashRule.class/instance/initialize.st @@ -0,0 +1,5 @@ +initialization +initialize + + super initialize. + self matches: '`@receiver class hash' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRUsesClassForHashRule.class/instance/name.st b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesClassForHashRule.class/instance/name.st new file mode 100644 index 00000000..2a762ed7 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesClassForHashRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Uses its class for hash' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRUsesClassForHashRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesClassForHashRule.class/instance/rationale.st new file mode 100644 index 00000000..018489ab --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesClassForHashRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'The hash of an object should not depend on the hash of its class as some Smalltalk have non-constant class hashes.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRUsesClassForHashRule.class/properties.json b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesClassForHashRule.class/properties.json new file mode 100644 index 00000000..3e90e3f3 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesClassForHashRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeParseTreeLintRule", + "category" : "Grease-Pharo110-Slime-Portability", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRUsesClassForHashRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRUsesNotPortableClassRule.class/README.md b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesNotPortableClassRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRUsesNotPortableClassRule.class/class/isAbstract.st b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesNotPortableClassRule.class/class/isAbstract.st new file mode 100644 index 00000000..7d1d20cc --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesNotPortableClassRule.class/class/isAbstract.st @@ -0,0 +1,4 @@ +testing +isAbstract + + ^ self name = #GRUsesNotPortableClassRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRUsesNotPortableClassRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesNotPortableClassRule.class/class/isVisible.st new file mode 100644 index 00000000..680a15af --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesNotPortableClassRule.class/class/isVisible.st @@ -0,0 +1,4 @@ +testing +isVisible + + ^ self name ~= #GRUsesNotPortableClassRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRUsesNotPortableClassRule.class/instance/classNames.st b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesNotPortableClassRule.class/instance/classNames.st new file mode 100644 index 00000000..0487cbe8 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesNotPortableClassRule.class/instance/classNames.st @@ -0,0 +1,4 @@ +private +classNames + + ^ #( Delay MIMEDocument Monitor Mutex MutexSet Random Semaphore TimeStamp Timestamp MessageSend ) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRUsesNotPortableClassRule.class/instance/group.st b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesNotPortableClassRule.class/instance/group.st new file mode 100644 index 00000000..b4981dc4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesNotPortableClassRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRUsesNotPortableClassRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesNotPortableClassRule.class/instance/rationale.st new file mode 100644 index 00000000..e9a097fe --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesNotPortableClassRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'Some classes are not portable accross different Smalltalk dialects.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/GRUsesNotPortableClassRule.class/properties.json b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesNotPortableClassRule.class/properties.json new file mode 100644 index 00000000..323de9e2 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/GRUsesNotPortableClassRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeBlockLintRule", + "category" : "Grease-Pharo110-Slime-Portability", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRUsesNotPortableClassRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/monticello.meta/categories.st b/repository/Grease-Pharo110-Slime-Portability.package/monticello.meta/categories.st new file mode 100644 index 00000000..139dcc24 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/monticello.meta/categories.st @@ -0,0 +1 @@ +self packageOrganizer ensurePackage: #'Grease-Pharo110-Slime-Portability' withTags: #()! diff --git a/repository/Grease-Pharo110-Slime-Portability.package/monticello.meta/initializers.st b/repository/Grease-Pharo110-Slime-Portability.package/monticello.meta/initializers.st new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime-Portability.package/monticello.meta/package b/repository/Grease-Pharo110-Slime-Portability.package/monticello.meta/package new file mode 100644 index 00000000..59863a35 --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'Grease-Pharo110-Slime-Portability') \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime-Portability.package/properties.json b/repository/Grease-Pharo110-Slime-Portability.package/properties.json new file mode 100644 index 00000000..6f31cf5a --- /dev/null +++ b/repository/Grease-Pharo110-Slime-Portability.package/properties.json @@ -0,0 +1 @@ +{ } \ No newline at end of file From f01435f653fb4c088b139aae0fe2db0edf35e8bf Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Fri, 19 Apr 2024 15:56:05 +0200 Subject: [PATCH 213/254] remove old Slime packages --- .../Grease-Pharo110-Slime.package/.filetree | 5 ---- .../GRAnsiBooleansRule.class/README.md | 0 .../instance/group.st | 4 --- .../instance/initialize.st | 19 ------------ .../GRAnsiBooleansRule.class/instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../GRAnsiBooleansRule.class/properties.json | 11 ------- .../GRAnsiCharactersRule.class/README.md | 0 .../instance/group.st | 4 --- .../instance/initialize.st | 16 ---------- .../instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../properties.json | 11 ------- .../GRAnsiCollectionsRule.class/README.md | 0 .../instance/group.st | 4 --- .../instance/initialize.st | 30 ------------------- .../instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../properties.json | 11 ------- .../GRAnsiConditionalsRule.class/README.md | 0 .../instance/group.st | 4 --- .../instance/initialize.st | 17 ----------- .../instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../properties.json | 11 ------- .../GRAnsiConvertorRule.class/README.md | 0 .../instance/group.st | 4 --- .../instance/initialize.st | 7 ----- .../instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../GRAnsiConvertorRule.class/properties.json | 11 ------- .../GRAnsiExceptionsRule.class/README.md | 0 .../instance/group.st | 4 --- .../instance/initialize.st | 7 ----- .../instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../properties.json | 11 ------- .../GRAnsiStreamsRule.class/README.md | 0 .../GRAnsiStreamsRule.class/instance/group.st | 4 --- .../instance/initialize.st | 13 -------- .../GRAnsiStreamsRule.class/instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../GRAnsiStreamsRule.class/properties.json | 11 ------- .../GRAnsiStringsRule.class/README.md | 0 .../GRAnsiStringsRule.class/instance/group.st | 4 --- .../instance/initialize.st | 26 ---------------- .../GRAnsiStringsRule.class/instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../GRAnsiStringsRule.class/properties.json | 11 ------- .../README.md | 0 .../class/checksClass.st | 4 --- .../instance/basicCheck..st | 11 ------- .../instance/group.st | 4 --- .../instance/initialize.st | 8 ----- .../instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../properties.json | 13 -------- .../README.md | 0 .../instance/afterCheck.mappings..st | 15 ---------- .../instance/group.st | 4 --- .../instance/initialize.st | 8 ----- .../instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../properties.json | 11 ------- .../README.md | 0 .../class/checksMethod.st | 4 --- .../instance/basicCheck..st | 10 ------- .../instance/group.st | 4 --- .../instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../properties.json | 11 ------- .../GRNonPortableMessageRule.class/README.md | 0 .../class/checksNode.st | 4 --- .../instance/basicCheck..st | 4 --- .../instance/group.st | 4 --- .../instance/methodNames.st | 4 --- .../instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../properties.json | 11 ------- .../README.md | 0 .../instance/group.st | 4 --- .../instance/initialize.st | 9 ------ .../instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../properties.json | 11 ------- .../GRObjectInRule.class/README.md | 1 - .../GRObjectInRule.class/instance/group.st | 4 --- .../instance/initialize.st | 7 ----- .../GRObjectInRule.class/instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../GRObjectInRule.class/properties.json | 11 ------- .../GRReSlimeBlockLintRule.class/README.md | 0 .../class/isVisible.st | 4 --- .../properties.json | 11 ------- .../README.md | 0 .../class/isVisible.st | 4 --- .../properties.json | 11 ------- .../README.md | 0 .../class/isVisible.st | 4 --- .../properties.json | 11 ------- .../README.md | 0 .../class/checksMethod.st | 4 --- .../instance/basicCheck..st | 8 ----- .../instance/name.st | 4 --- .../properties.json | 11 ------- .../GRSlimeBlockLintRule.class/README.md | 1 - .../class/isVisible.st | 4 --- .../properties.json | 11 ------- .../GRSlimeParseTreeLintRule.class/README.md | 1 - .../class/isVisible.st | 4 --- .../properties.json | 11 ------- .../GRSlimeTransformationRule.class/README.md | 1 - .../class/isVisible.st | 4 --- .../properties.json | 11 ------- .../README.md | 0 .../class/checksClass.st | 4 --- .../instance/basicCheck..st | 4 --- .../instance/name.st | 4 --- .../properties.json | 11 ------- .../GRTestAssertionsRule.class/README.md | 1 - .../instance/afterCheck.mappings..st | 8 ----- .../instance/group.st | 4 --- .../instance/initialize.st | 7 ----- .../instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../properties.json | 11 ------- .../README.md | 0 .../instance/group.st | 4 --- .../instance/initialize.st | 7 ----- .../instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../properties.json | 11 ------- .../GRUsesClassForHashRule.class/README.md | 0 .../instance/afterCheck.mappings..st | 4 --- .../instance/group.st | 4 --- .../instance/initialize.st | 5 ---- .../instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../properties.json | 11 ------- .../README.md | 0 .../class/isAbstract.st | 4 --- .../class/isVisible.st | 4 --- .../instance/classNames.st | 4 --- .../instance/group.st | 4 --- .../instance/rationale.st | 4 --- .../properties.json | 11 ------- .../monticello.meta/categories.st | 1 - .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 - .../properties.json | 1 - .../Grease-Pharo40-Slime.package/.filetree | 4 --- .../GRAnsiBooleansRule.class/README.md | 0 .../instance/group.st | 3 -- .../instance/initialize.st | 18 ----------- .../GRAnsiBooleansRule.class/instance/name.st | 3 -- .../instance/rationale.st | 3 -- .../GRAnsiBooleansRule.class/properties.json | 14 --------- .../GRAnsiCharactersRule.class/README.md | 0 .../instance/group.st | 3 -- .../instance/initialize.st | 13 -------- .../instance/name.st | 3 -- .../instance/rationale.st | 3 -- .../properties.json | 14 --------- .../GRAnsiCollectionsRule.class/README.md | 0 .../instance/group.st | 3 -- .../instance/initialize.st | 30 ------------------- .../instance/name.st | 3 -- .../instance/rationale.st | 3 -- .../properties.json | 14 --------- .../GRAnsiConditionalsRule.class/README.md | 0 .../instance/group.st | 3 -- .../instance/initialize.st | 16 ---------- .../instance/name.st | 3 -- .../instance/rationale.st | 3 -- .../properties.json | 14 --------- .../GRAnsiConvertorRule.class/README.md | 0 .../instance/group.st | 3 -- .../instance/initialize.st | 6 ---- .../instance/name.st | 3 -- .../instance/rationale.st | 3 -- .../GRAnsiConvertorRule.class/properties.json | 14 --------- .../GRAnsiExceptionsRule.class/README.md | 0 .../instance/group.st | 3 -- .../instance/initialize.st | 6 ---- .../instance/name.st | 3 -- .../instance/rationale.st | 3 -- .../properties.json | 14 --------- .../GRAnsiStreamsRule.class/README.md | 0 .../GRAnsiStreamsRule.class/instance/group.st | 3 -- .../instance/initialize.st | 12 -------- .../GRAnsiStreamsRule.class/instance/name.st | 3 -- .../instance/rationale.st | 3 -- .../GRAnsiStreamsRule.class/properties.json | 14 --------- .../GRAnsiStringsRule.class/README.md | 0 .../GRAnsiStringsRule.class/instance/group.st | 3 -- .../instance/initialize.st | 24 --------------- .../GRAnsiStringsRule.class/instance/name.st | 3 -- .../instance/rationale.st | 3 -- .../GRAnsiStringsRule.class/properties.json | 14 --------- .../README.md | 0 .../instance/checkClass..st | 13 -------- .../instance/group.st | 3 -- .../instance/initialize.st | 7 ----- .../instance/name.st | 3 -- .../instance/rationale.st | 3 -- .../properties.json | 14 --------- .../GRBlockFormattingRule.class/README.md | 0 .../instance/group.st | 3 -- .../instance/initialize.st | 23 -------------- .../instance/name.st | 3 -- .../instance/rationale.st | 3 -- .../properties.json | 14 --------- .../README.md | 0 .../instance/checkMethod..st | 20 ------------- .../instance/group.st | 3 -- .../instance/initialize.st | 9 ------ .../instance/name.st | 3 -- .../instance/rationale.st | 3 -- .../properties.json | 14 --------- .../GREmptyStatementsRule.class/README.md | 0 .../instance/checkMethod..st | 12 -------- .../instance/group.st | 3 -- .../instance/name.st | 3 -- .../instance/rationale.st | 3 -- .../instance/resetResult.st | 4 --- .../properties.json | 14 --------- .../README.md | 0 .../instance/checkMethod..st | 10 ------- .../instance/group.st | 3 -- .../instance/name.st | 3 -- .../instance/rationale.st | 3 -- .../properties.json | 14 --------- .../GRNonPortableMessageRule.class/README.md | 0 .../instance/checkClass..st | 12 -------- .../instance/group.st | 3 -- .../instance/methodNames.st | 3 -- .../instance/name.st | 3 -- .../instance/rationale.st | 3 -- .../properties.json | 14 --------- .../README.md | 0 .../instance/checkClass..st | 8 ----- .../instance/checkMethod..st | 17 ----------- .../instance/group.st | 3 -- .../instance/name.st | 3 -- .../instance/rationale.st | 3 -- .../properties.json | 14 --------- .../README.md | 0 .../instance/group.st | 3 -- .../instance/initialize.st | 8 ----- .../instance/name.st | 3 -- .../instance/rationale.st | 3 -- .../properties.json | 14 --------- .../GRObjectInRule.class/README.md | 1 - .../GRObjectInRule.class/instance/group.st | 3 -- .../instance/initialize.st | 6 ---- .../GRObjectInRule.class/instance/name.st | 3 -- .../instance/rationale.st | 3 -- .../GRObjectInRule.class/properties.json | 14 --------- .../GRPackage.extension/class/greaseSlime.st | 8 ----- .../GRPackage.extension/properties.json | 2 -- .../GRParensFormattingRule.class/README.md | 0 .../instance/group.st | 3 -- .../instance/initialize.st | 20 ------------- .../instance/name.st | 3 -- .../instance/rationale.st | 3 -- .../properties.json | 14 --------- .../GRReturnFormattingRule.class/README.md | 0 .../instance/group.st | 3 -- .../instance/initialize.st | 11 ------- .../instance/name.st | 3 -- .../instance/rationale.st | 3 -- .../properties.json | 14 --------- .../GRSlimeBlockLintRule.class/README.md | 0 .../class/isVisible.st | 3 -- .../instance/category.st | 3 -- .../properties.json | 14 --------- .../GRSlimeParseTreeLintRule.class/README.md | 0 .../class/isVisible.st | 3 -- .../instance/category.st | 3 -- .../properties.json | 14 --------- .../GRSlimeTransformationRule.class/README.md | 0 .../class/isVisible.st | 3 -- .../properties.json | 14 --------- .../GRTempsFormattingRule.class/README.md | 0 .../instance/group.st | 3 -- .../instance/initialize.st | 18 ----------- .../instance/name.st | 3 -- .../instance/rationale.st | 3 -- .../properties.json | 14 --------- .../GRTestAssertionsRule.class/README.md | 1 - .../instance/checkMethod..st | 7 ----- .../instance/group.st | 3 -- .../instance/initialize.st | 6 ---- .../instance/name.st | 3 -- .../instance/rationale.st | 3 -- .../properties.json | 14 --------- .../README.md | 0 .../instance/checkMethod..st | 7 ----- .../instance/group.st | 3 -- .../instance/name.st | 3 -- .../instance/rationale.st | 3 -- .../instance/resetResult.st | 4 --- .../properties.json | 14 --------- .../README.md | 0 .../instance/group.st | 3 -- .../instance/initialize.st | 8 ----- .../instance/name.st | 3 -- .../instance/rationale.st | 3 -- .../properties.json | 14 --------- .../GRUsesClassForHashRule.class/README.md | 0 .../instance/checkMethod..st | 4 --- .../instance/group.st | 3 -- .../instance/initialize.st | 6 ---- .../instance/name.st | 3 -- .../instance/rationale.st | 3 -- .../properties.json | 14 --------- .../README.md | 0 .../instance/group.st | 3 -- .../instance/initialize.st | 6 ---- .../instance/name.st | 3 -- .../instance/rationale.st | 3 -- .../properties.json | 14 --------- .../README.md | 0 .../instance/group.st | 3 -- .../instance/initialize.st | 6 ---- .../instance/name.st | 3 -- .../instance/rationale.st | 3 -- .../properties.json | 14 --------- .../README.md | 0 .../instance/checkMethod..st | 8 ----- .../instance/group.st | 3 -- .../instance/name.st | 3 -- .../instance/rationale.st | 3 -- .../instance/shouldExclude..st | 7 ----- .../properties.json | 14 --------- .../README.md | 0 .../instance/checkClass..st | 6 ---- .../instance/checkMethod..st | 11 ------- .../instance/classNames.st | 3 -- .../instance/group.st | 3 -- .../instance/name.st | 3 -- .../instance/rationale.st | 3 -- .../properties.json | 14 --------- .../monticello.meta/categories.st | 1 - .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 - .../properties.json | 2 -- 347 files changed, 1967 deletions(-) delete mode 100644 repository/Grease-Pharo110-Slime.package/.filetree delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/class/checksClass.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/basicCheck..st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/afterCheck.mappings..st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/class/checksMethod.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/basicCheck..st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/class/checksNode.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/basicCheck..st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/methodNames.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/class/isVisible.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/class/isVisible.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/class/isVisible.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/class/checksMethod.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/basicCheck..st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/class/isVisible.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/class/isVisible.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/class/isVisible.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/class/checksClass.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/basicCheck..st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/afterCheck.mappings..st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/afterCheck.mappings..st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isAbstract.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isVisible.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/classNames.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/monticello.meta/categories.st delete mode 100644 repository/Grease-Pharo110-Slime.package/monticello.meta/initializers.st delete mode 100644 repository/Grease-Pharo110-Slime.package/monticello.meta/package delete mode 100644 repository/Grease-Pharo110-Slime.package/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/.filetree delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/checkClass..st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/checkMethod..st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/checkMethod..st delete mode 100644 repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/resetResult.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/checkMethod..st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/checkClass..st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/methodNames.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/checkClass..st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/checkMethod..st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRPackage.extension/class/greaseSlime.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRPackage.extension/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/class/isVisible.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/instance/category.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/class/isVisible.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/instance/category.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRSlimeTransformationRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRSlimeTransformationRule.class/class/isVisible.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRSlimeTransformationRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/checkMethod..st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/checkMethod..st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/resetResult.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/checkMethod..st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/checkMethod..st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/shouldExclude..st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/README.md delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/checkClass..st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/checkMethod..st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/classNames.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/properties.json delete mode 100644 repository/Grease-Pharo40-Slime.package/monticello.meta/categories.st delete mode 100644 repository/Grease-Pharo40-Slime.package/monticello.meta/initializers.st delete mode 100644 repository/Grease-Pharo40-Slime.package/monticello.meta/package delete mode 100644 repository/Grease-Pharo40-Slime.package/properties.json diff --git a/repository/Grease-Pharo110-Slime.package/.filetree b/repository/Grease-Pharo110-Slime.package/.filetree deleted file mode 100644 index 57a67973..00000000 --- a/repository/Grease-Pharo110-Slime.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/group.st deleted file mode 100644 index f34a290f..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/initialize.st deleted file mode 100644 index 6058ed9f..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/initialize.st +++ /dev/null @@ -1,19 +0,0 @@ -initialization -initialize - - super initialize. - self - replace: '``@expr1 and: [ | `@temp2 | ``@expr2 ] and: [ | `@temp3 | ``@expr3 ]' - with: '``@expr1 and: [ | `@temp2 | ``@expr2 and: [ | `@temp3 | ``@expr3 ] ]'; - replace: '``@expr1 and: [ | `@temp2 | ``@expr2 ] and: [ | `@temp3 | ``@expr3 ] and: [ | `@temp4 | ``@expr4 ]' - with: '``@expr1 and: [ | `@temp2 | ``@expr2 and: [ | `@temp3 | ``@expr3 and: [ | `@temp4 | ``@expr4 ] ] ]'; - replace: '``@expr1 and: [ | `@temp2 | ``@expr2 ] and: [ | `@temp3 | ``@expr3 ] and: [ | `@temp4 | ``@expr4 ] and: [ | `@temp5 | ``@expr5 ]' - with: '``@expr1 and: [ | `@temp2 | ``@expr2 and: [ | `@temp3 | ``@expr3 and: [ | `@temp4 | ``@expr4 and: [ | `@temp5 | ``@expr5 ] ] ] ]'; - replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ]' - with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 ] ]'; - replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ] or: [ | `@temp4 | ``@expr4 ]' - with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 or: [ | `@temp4 | ``@expr4 ] ] ]'; - replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ] or: [ | `@temp4 | ``@expr4 ] or: [ | `@temp5 | ``@expr5 ]' - with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 or: [ | `@temp4 | ``@expr4 or: [ | `@temp5 | ``@expr5 ] ] ] ]'; - replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ] or: [ | `@temp4 | ``@expr4 ] or: [ | `@temp5 | ``@expr5 ] or: [ | `@temp6 | ``@expr6 ]' - with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 or: [ | `@temp4 | ``@expr4 or: [ | `@temp5 | ``@expr5 or: [ | `@temp6 | ``@expr6 ] ] ] ] ]' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/name.st deleted file mode 100644 index c1c48207..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Booleans' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/rationale.st deleted file mode 100644 index b650ed54..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ '#and:and: and #or:or: are not ANSI compatible.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/properties.json deleted file mode 100644 index 208c1ba2..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeTransformationRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRAnsiBooleansRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/group.st deleted file mode 100644 index f34a290f..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st deleted file mode 100644 index f83e0222..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st +++ /dev/null @@ -1,16 +0,0 @@ -initialization -initialize - - super initialize. - self - replace: 'Character value: ``@expr' - with: 'Character codePoint: ``@expr'. - self - replace: '`#source `{:node | node value isCharacter }` to: `#target' - byEvaluating: [ :node | - (node receiver value isCharacter and: [ - node arguments first value isCharacter ]) - ifTrue: [ - RBLiteralNode value: (String streamContents: [ :stream | - node receiver value codePoint to: node arguments first value codePoint do: [ :code | stream nextPut: (Character codePoint: code) ] ]) ] - ifFalse: [ node ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/name.st deleted file mode 100644 index 6ea7a32b..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Characters' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/rationale.st deleted file mode 100644 index 94cf8eb0..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ 'Character value: 64 and $a to: $b is not ANSI compatible.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/properties.json deleted file mode 100644 index d5fe699b..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeTransformationRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRAnsiCharactersRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/group.st deleted file mode 100644 index f34a290f..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/initialize.st deleted file mode 100644 index 86c772ea..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/initialize.st +++ /dev/null @@ -1,30 +0,0 @@ -initialization -initialize - super initialize. - self - replace: '``@collection withIndexDo: [ :`each :`index | | `@temps | ``@.body ]' - with: '``@collection keysAndValuesDo: [ :`index :`each | | `@temps | ``@.body ]'; - replace: '``@collection doWithIndex: [ :`each :`index | | `@temps | ``@.body ]' - with: '``@collection keysAndValuesDo: [ :`index :`each | | `@temps | ``@.body ]'; - replace: '``@collection collect: ``@block1 thenDo: ``@block2' - with: '(``@collection collect: ``@block1) do: ``@block2'; - replace: '``@collection collect: ``@block1 thenSelect: ``@block2' - with: '(``@collection collect: ``@block1) select: ``@block2'; - replace: '``@collection pairsDo: [ :`t1 :`t2 | ``@.statements ]' - with: '1 to: ``@collection size by: 2 do: [ :index | | `t1 `t2 | `t1 := ``@collection at: index. `t2 := ``@collection at: index + 1. ``@.statements ]'; - replace: '``@collection reject: ``@block1 thenDo: ``@block2' - with: '(``@collection reject: ``@block1) do: ``@block2'; - replace: '``@collection select: ``@block1 thenCollect: ``@block2' - with: '(``@collection select: ``@block1) collect: ``@block2'; - replace: '``@collection select: ``@block1 thenDo: ``@block2' - with: '(``@collection select: ``@block1) do: ``@block2'; - replace: '``@collection detectSum: [ :`t1 | ``@.statements. `.last ]' - with: '``@collection inject: 0 into: [ :sum :`t1 | ``@.statements. sum + (`.last) ]'; - replace: '``@collection valuesDo: ``@block' - with: '``@collection do: ``@block'; - replace: '``@collection reversed' - with: '``@collection reverse'; - replace: '``@dictionary keysSortedSafely' - with: '``@dictionary keys asSortedCollection'; - replace: '``@collectionClass new: ``@size withAll: ``@character' - with: '(``@collectionClass new: ``@size) atAllPut: ``@character' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/name.st deleted file mode 100644 index a318a869..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Collections' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/rationale.st deleted file mode 100644 index 5929ea0d..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ 'Some collection methods are not ANSI compatible: #pairsDo:, #collect:thenDo:, #reject:thenDo:, #detectSum:, #valuesDo:, #keysSortedSafely, #new:withAll:, etc.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/properties.json deleted file mode 100644 index b6b9f5c5..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeTransformationRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRAnsiCollectionsRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/group.st deleted file mode 100644 index f34a290f..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/initialize.st deleted file mode 100644 index 962d59d3..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/initialize.st +++ /dev/null @@ -1,17 +0,0 @@ -initialization -initialize - - super initialize. - self - replace: '``@boolean ifNotNilDo: ``@block' - with: '``@boolean ifNotNil: ``@block'; - replace: '``@boolean ifNotNilDo: ``@block1 ifNil: ``@block2' - with: '``@boolean ifNotNil: ``@block1 ifNil: ``@block2'; - replace: '``@boolean ifNil: ``@block1 ifNotNilDo: ``@block2' - with: '``@boolean ifNil: ``@block1 ifNotNil: ``@block2'; - replace: '``@boolean ifNotNil: [ | `@temps | ``@.body ]' - with: '``@boolean ifNotNil: [ :arg | | `@temps | ``@.body ]'; - replace: '``@boolean ifNotNil: [ | `@temps | ``@.body ] ifNil: ``@block ' - with: '``@boolean ifNotNil: [ :arg | | `@temps | ``@.body ] ifNil: ``@block'; - replace: '``@boolean ifNil: ``@block ifNotNil: [ | `@temps | ``@.body ]' - with: '``@boolean ifNil: ``@block ifNotNil: [ :arg | | `@temps | ``@.body ]' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/name.st deleted file mode 100644 index 76482a4a..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Conditionals' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/rationale.st deleted file mode 100644 index a60d109e..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ 'Conditionals like #ifNotNilDo: are not ANSI compatible.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/properties.json deleted file mode 100644 index c9539d38..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeTransformationRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRAnsiConditionalsRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/group.st deleted file mode 100644 index f34a290f..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/initialize.st deleted file mode 100644 index 4867fd82..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/initialize.st +++ /dev/null @@ -1,7 +0,0 @@ -initialization -initialize - - super initialize. - self - replace: '``@object asString' with: '``@object greaseString'; - replace: '``@object asInteger' with: '``@object greaseInteger' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/name.st deleted file mode 100644 index 14c21187..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Convertors' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/rationale.st deleted file mode 100644 index 806fe5ac..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ 'The ANSI standard does not support #asInteger and #asString on Object.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/properties.json deleted file mode 100644 index 0e6e4cb4..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeTransformationRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRAnsiConvertorRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/group.st deleted file mode 100644 index f34a290f..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/initialize.st deleted file mode 100644 index a06d318e..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/initialize.st +++ /dev/null @@ -1,7 +0,0 @@ -initialization -initialize - - super initialize. - self - replace: '``@block on: `class do: [ | `@temps | ``@.body ]' - with: '``@block on: `class do: [ :err | | `@temps | ``@.body ]' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/name.st deleted file mode 100644 index 6d5286e6..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Exceptions' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/rationale.st deleted file mode 100644 index 7ec36da6..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ 'Exception handlers expect exactly one argument in ANSI.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/properties.json deleted file mode 100644 index 51375683..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeTransformationRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRAnsiExceptionsRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/group.st deleted file mode 100644 index f34a290f..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/initialize.st deleted file mode 100644 index 1b87d4ea..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/initialize.st +++ /dev/null @@ -1,13 +0,0 @@ -initialization -initialize - - super initialize. - self - replace: '`{ :node :context | node isVariable and: [ (Smalltalk includesKey: node name asSymbol) not and: [ context at: ''`receiver'' ifAbsentPut: [ node ]. true ] ] } cr' - with: '`{ :context | context at: ''`receiver'' } nextPut: Character cr'; - replace: '`{ :node :context | node isVariable and: [ (Smalltalk includesKey: node name asSymbol) not and: [ context at: ''`receiver'' ifAbsentPut: [ node ]. true ] ] } lf' - with: '`{ :context | context at: ''`receiver'' } nextPut: Character lf'; - replace: '``@stream nextPut: Character cr; nextPut: Character lf' - with: '``@stream crlf'; - replace: '``@collection writeStream' - with: 'WriteStream on: ``@collection' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/name.st deleted file mode 100644 index 50e44acb..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Streams' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/rationale.st deleted file mode 100644 index 3d05fb7c..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ '#cr and #lf are not part of the ANSI stream protocol.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/properties.json deleted file mode 100644 index 2539d9c8..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeTransformationRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRAnsiStreamsRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/group.st deleted file mode 100644 index f34a290f..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/initialize.st deleted file mode 100644 index 702a9ad0..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/initialize.st +++ /dev/null @@ -1,26 +0,0 @@ -initialization -initialize - - super initialize. - self - replace: 'String tab' with: '(String with: Character tab)'; - replace: 'String cr' with: '(String with: Character cr)'; - replace: 'String lf' with: '(String with: Character lf)'; - replace: 'String crlf' with: '(String with: Character cr with: Character lf)'; - replace: 'String space' with: '(String with: Character space)'; - replace: '`@string includesSubString: `@subString' - with: '(`@string indexOfSubCollection: `@subString startingAt: 0) ~= 0'; - replace: '`@string includesSubstring: `@subString' - with: '(`@string indexOfSubCollection: `@subString startingAt: 0) ~= 0'; - replace: '``@string findTokens: ``@arg' byEvaluating: [ :node | - | argument newNode | - newNode := node copy. - argument := newNode arguments first. - argument isLiteralNode ifTrue: [ - argument value isArray - ifTrue: [ argument replaceWith: (RBLiteralNode value: (String withAll: argument value)) ]. - argument value isCharacter - ifTrue: [ argument replaceWith: (RBLiteralNode value: (String with: argument value)) ] ]. - newNode - selector: #subStrings:; - yourself ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/name.st deleted file mode 100644 index 31e016a6..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Strings' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/rationale.st deleted file mode 100644 index 84577e32..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ '#cr, #crlf, #lf, #space, #tab, #findTokens:, ... are not part of the ANSI string protocol.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/properties.json deleted file mode 100644 index f544f2e7..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeTransformationRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRAnsiStringsRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/class/checksClass.st b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/class/checksClass.st deleted file mode 100644 index 918ec479..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/class/checksClass.st +++ /dev/null @@ -1,4 +0,0 @@ -testing - interest -checksClass - - ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/basicCheck..st b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/basicCheck..st deleted file mode 100644 index 7d00fbc7..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/basicCheck..st +++ /dev/null @@ -1,11 +0,0 @@ -running -basicCheck: aClass - - ^ aClass isMeta not - and: [ (aClass includesSelector: #initialize) - and: [ (#(GRObject GRNotification GRNotification GRError RBLintRule RBTransformationRule) noneSatisfy: [ :each | - aClass includesBehavior: (Smalltalk globals at: each) ]) - and: [ aClass class methodDictionary noneSatisfy: [ :each | - matcher - executeTree: each parseTree - initialAnswer: false ] ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/group.st deleted file mode 100644 index b4981dc4..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st deleted file mode 100644 index f42fb7c0..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st +++ /dev/null @@ -1,8 +0,0 @@ -initialization -initialize - - super initialize. - matcher := RBParseTreeSearcher new. - matcher - matches: 'self basicNew initialize' - do: [ :node :answer | true ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/name.st deleted file mode 100644 index 693fa6d6..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ '#basicNew initialize is missing' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/rationale.st deleted file mode 100644 index 22a02ade..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ '#initialize is not called implicitly when sending #new to an object in all Smalltalk dialects. Consider subclassing GRObject.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json deleted file mode 100644 index 67a42ffc..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeBlockLintRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "matcher" - ], - "name" : "GRBasicNewInitializeMissingRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/afterCheck.mappings..st b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/afterCheck.mappings..st deleted file mode 100644 index 495d1401..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/afterCheck.mappings..st +++ /dev/null @@ -1,15 +0,0 @@ -hooks -afterCheck: aNode mappings: mappingDict - - | method | - method := aNode methodNode. - " This ensures that the description is of the form ClassName>>#selector:" - (aNode arguments first isLiteralNode - and: [ aNode arguments first value isString - and: [ method methodClass name greaseString , '>>#' , method selector greaseString ~= aNode arguments first value ] ]) ifTrue: [ ^ true ]. - - " This ensures that the description is a string and ends with a dot." - ^ (aNode arguments size > 1 - and: [ aNode arguments second isLiteralNode - and: [ aNode arguments second value isString - and: [ (aNode arguments second value endsWithSubCollection: '.') not ] ] ]) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/group.st deleted file mode 100644 index b5813499..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'Grease Formatting' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st deleted file mode 100644 index 4ee4851c..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st +++ /dev/null @@ -1,8 +0,0 @@ -initialization -initialize - - super initialize. - self - matchesAny: #( - '``@receiver greaseDeprecatedApi: ``@arg1' - '``@receiver greaseDeprecatedApi: ``@arg1 details: ``@arg2' ) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/name.st deleted file mode 100644 index 554083f4..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Invalid use of deprecated API protocol.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/rationale.st deleted file mode 100644 index aeabf8ad..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ 'Make sure to follow the following pattern: self greaseDeprecatedApi: ''Class>>#selector'' details: ''Some description''.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json deleted file mode 100644 index 87feb3c9..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeParseTreeLintRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRDeprecatedApiProtocolRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/class/checksMethod.st b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/class/checksMethod.st deleted file mode 100644 index c0b5961f..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/class/checksMethod.st +++ /dev/null @@ -1,4 +0,0 @@ -testing - interest -checksMethod - - ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/basicCheck..st b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/basicCheck..st deleted file mode 100644 index 1b7b4c47..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/basicCheck..st +++ /dev/null @@ -1,10 +0,0 @@ -running -basicCheck: aMethod - - ^ (aMethod methodClass isMeta not - and: [ (aMethod selector beginsWithSubCollection: #initialize) - and: [ aMethod selector numArgs > 0 - and: [ aMethod methodClass ~= GRObject - and: [ (aMethod methodClass includesBehavior: GRObject) - and: [ (aMethod superMessages includes: aMethod selector) not - and: [ aMethod selfMessages noneSatisfy: [ :each | each beginsWithSubCollection: #initialize ] ] ] ] ] ] ]) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/group.st deleted file mode 100644 index b4981dc4..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/name.st deleted file mode 100644 index 6386a8fd..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Invalid object initialization' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/rationale.st deleted file mode 100644 index 9ce37a52..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ 'Initialize methods are required to call the designated initializer or its super implementation.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/properties.json deleted file mode 100644 index 4cbd7077..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeBlockLintRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRInvalidObjectInitializationRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/class/checksNode.st b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/class/checksNode.st deleted file mode 100644 index 5e68f2ca..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/class/checksNode.st +++ /dev/null @@ -1,4 +0,0 @@ -testing - interest -checksNode - - ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/basicCheck..st b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/basicCheck..st deleted file mode 100644 index 428bcd1c..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/basicCheck..st +++ /dev/null @@ -1,4 +0,0 @@ -running -basicCheck: anEntity - - ^ anEntity isMessage and:[ self methodNames includes: anEntity selector ] diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/group.st deleted file mode 100644 index b4981dc4..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/methodNames.st b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/methodNames.st deleted file mode 100644 index 25a16ed6..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/methodNames.st +++ /dev/null @@ -1,4 +0,0 @@ -private -methodNames - - ^ #( anyOne withIndexCollect: ) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/name.st deleted file mode 100644 index cc5e5c47..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Uses non portable message' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/rationale.st deleted file mode 100644 index bc7272e4..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ 'Some methods are not portable accross different Smalltalk dialects.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/properties.json deleted file mode 100644 index 95a60d91..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeBlockLintRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRNonPortableMessageRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/group.st deleted file mode 100644 index b4981dc4..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st deleted file mode 100644 index 5e8d416d..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st +++ /dev/null @@ -1,9 +0,0 @@ -initialization -initialize - - super initialize. - self - replace: '`@collection beginsWith: `@subCollection' - with: '`@collection greaseBeginsWith: `@subCollection'; - replace: '`@collection endsWith: `@subCollection' - with: '`@collection greaseEndsWith: `@subCollection' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/name.st deleted file mode 100644 index a318a869..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Collections' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/rationale.st deleted file mode 100644 index df5a43be..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ '#beginsWith: and #endsWith: are not portable.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/properties.json deleted file mode 100644 index 2a5a777c..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeTransformationRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRNotPortableCollectionsRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/README.md deleted file mode 100644 index bca4d093..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I detect senders of Object >> #in: diff --git a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/group.st deleted file mode 100644 index b4981dc4..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/initialize.st deleted file mode 100644 index d51d0570..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/initialize.st +++ /dev/null @@ -1,7 +0,0 @@ -initialization -initialize - - super initialize. - self - replace: '``@object in: [ :`var | | `@temps | `@.statements ]' - with: '[ :`var | | `@temps | `@.statements ] value: ``@object' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/name.st deleted file mode 100644 index 914d48df..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Object>>#in:' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/rationale.st deleted file mode 100644 index 944aa7c5..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ 'Object>>#in: has different semantics on different Smalltalk dialects.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/properties.json deleted file mode 100644 index 96ac6c53..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "pmm 9/12/2009 10:37", - "super" : "GRReSlimeTransformationRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRObjectInRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/class/isVisible.st deleted file mode 100644 index 0e3a239e..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/class/isVisible.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isVisible - - ^ self name ~= #GRReSlimeBlockLintRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/properties.json deleted file mode 100644 index 806ebfd3..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "JohanBrichau 3/11/2024 21:53", - "super" : "ReAbstractRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRReSlimeBlockLintRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/class/isVisible.st deleted file mode 100644 index 2d2913fb..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/class/isVisible.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isVisible - - ^ self name ~= #GRReSlimeParseTreeLintRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/properties.json deleted file mode 100644 index e5d01d93..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "ReNodeMatchRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRReSlimeParseTreeLintRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/class/isVisible.st deleted file mode 100644 index b84d2a50..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/class/isVisible.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isVisible - - ^ self name ~= #GRReSlimeTransformationRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/properties.json deleted file mode 100644 index eaa3dd3e..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "ReNodeRewriteRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRReSlimeTransformationRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/class/checksMethod.st b/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/class/checksMethod.st deleted file mode 100644 index c0b5961f..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/class/checksMethod.st +++ /dev/null @@ -1,4 +0,0 @@ -testing - interest -checksMethod - - ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/basicCheck..st b/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/basicCheck..st deleted file mode 100644 index 18b14d25..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/basicCheck..st +++ /dev/null @@ -1,8 +0,0 @@ -running -basicCheck: aMethod - - (aMethod methodClass instanceSide category indexOfSubCollection: #'-Pharo-' startingAt: 1) ~= 0 ifTrue: [ - "classes in a -Pharo- package are per definition not portable and therefore allowed to use non-portable classes" - ^ false ]. - - ^ aMethod literals anySatisfy: [ :each | each isVariableBinding and: [ self classNames includes: each key ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/name.st deleted file mode 100644 index 510ca2ab..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Uses not portable class' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/properties.json deleted file mode 100644 index d21602c8..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRUsesNotPortableClassRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRReferencesNotPortableClassRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/README.md deleted file mode 100644 index acb02dfd..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/README.md +++ /dev/null @@ -1 +0,0 @@ -For compatibility for versions of Seaside older than 3.5.6 \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/class/isVisible.st deleted file mode 100644 index 116356fd..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/class/isVisible.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isVisible - - ^ self name ~= #GRSlimeBlockLintRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/properties.json deleted file mode 100644 index 667ba1a9..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "JohanBrichau 3/11/2024 21:54", - "super" : "RBBlockLintRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRSlimeBlockLintRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/README.md deleted file mode 100644 index acb02dfd..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/README.md +++ /dev/null @@ -1 +0,0 @@ -For compatibility for versions of Seaside older than 3.5.6 \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/class/isVisible.st deleted file mode 100644 index 5d72890a..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/class/isVisible.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isVisible - - ^ self name ~= #GRSlimeParseTreeLintRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/properties.json deleted file mode 100644 index eab60df9..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "JohanBrichau 3/11/2024 21:54", - "super" : "RBParseTreeLintRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRSlimeParseTreeLintRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/README.md deleted file mode 100644 index acb02dfd..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/README.md +++ /dev/null @@ -1 +0,0 @@ -For compatibility for versions of Seaside older than 3.5.6 \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/class/isVisible.st deleted file mode 100644 index b60e68d4..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/class/isVisible.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isVisible - - ^ self name ~= #GRSlimeTransformationRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/properties.json deleted file mode 100644 index d528ef91..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "JohanBrichau 3/11/2024 21:54", - "super" : "RBTransformationRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRSlimeTransformationRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/class/checksClass.st b/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/class/checksClass.st deleted file mode 100644 index 918ec479..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/class/checksClass.st +++ /dev/null @@ -1,4 +0,0 @@ -testing - interest -checksClass - - ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/basicCheck..st b/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/basicCheck..st deleted file mode 100644 index 1091897f..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/basicCheck..st +++ /dev/null @@ -1,4 +0,0 @@ -running -basicCheck: aClass - - ^ aClass allSuperclasses anySatisfy: [ :each | self classNames includes: each name ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/name.st deleted file mode 100644 index 65a2945a..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Subclasses not portable class' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/properties.json deleted file mode 100644 index 65aeb32b..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRUsesNotPortableClassRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRSubclassesNotPortableClassRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/README.md deleted file mode 100644 index 6f3d9062..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I check for TestCase >> #fail. \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/afterCheck.mappings..st b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/afterCheck.mappings..st deleted file mode 100644 index 874f1381..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/afterCheck.mappings..st +++ /dev/null @@ -1,8 +0,0 @@ -hooks -afterCheck: aNode mappings: mappingsDict - - aNode methodNode methodClass isMeta - ifTrue: [ ^ false ]. - (aNode methodNode methodClass allSuperclasses includes: (Smalltalk at: #TestCase)) - ifTrue: [ ^ true ]. - ^ false \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/group.st deleted file mode 100644 index eb721d8e..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'SUnit Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/initialize.st deleted file mode 100644 index 097ff5a1..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/initialize.st +++ /dev/null @@ -1,7 +0,0 @@ -initialization -initialize - - super initialize. - self - replace: 'self fail' - with: 'self assert: false' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/name.st deleted file mode 100644 index 0dd472fc..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'TestCase >> #fail' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/rationale.st deleted file mode 100644 index 4e358c3e..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ 'TestCase >> #fail is not portable.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/properties.json deleted file mode 100644 index cd52efa5..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "pmm 8/17/2014 11:24", - "super" : "GRReSlimeTransformationRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRTestAssertionsRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.st deleted file mode 100644 index b4981dc4..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.st deleted file mode 100644 index 6ca1e900..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.st +++ /dev/null @@ -1,7 +0,0 @@ -initialization -initialize - - super initialize. - self matchesAny: #( - '`@receiver canPerform: `@selector' - '`@receiver canUnderstand: `@selector' ) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.st deleted file mode 100644 index a7805d06..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Sends #canPerform: or #canUnderstand:' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.st deleted file mode 100644 index 4332f561..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ '#canPerform: or #canUnderstand: are not portable.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json deleted file mode 100644 index 70456891..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeParseTreeLintRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRUsesCanPerformOrUnderstandRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/afterCheck.mappings..st b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/afterCheck.mappings..st deleted file mode 100644 index 4648081c..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/afterCheck.mappings..st +++ /dev/null @@ -1,4 +0,0 @@ -hooks -afterCheck: aNode mappings: mappingDict - - ^ aNode methodNode selector = #hash \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/group.st deleted file mode 100644 index b4981dc4..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/initialize.st deleted file mode 100644 index 190c57e0..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/initialize.st +++ /dev/null @@ -1,5 +0,0 @@ -initialization -initialize - - super initialize. - self matches: '`@receiver class hash' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/name.st deleted file mode 100644 index 2a762ed7..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Uses its class for hash' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/rationale.st deleted file mode 100644 index 018489ab..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ 'The hash of an object should not depend on the hash of its class as some Smalltalk have non-constant class hashes.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/properties.json deleted file mode 100644 index c679f3eb..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeParseTreeLintRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRUsesClassForHashRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isAbstract.st b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isAbstract.st deleted file mode 100644 index 7d1d20cc..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isAbstract.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isAbstract - - ^ self name = #GRUsesNotPortableClassRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isVisible.st deleted file mode 100644 index 680a15af..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isVisible.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isVisible - - ^ self name ~= #GRUsesNotPortableClassRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/classNames.st b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/classNames.st deleted file mode 100644 index 0487cbe8..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/classNames.st +++ /dev/null @@ -1,4 +0,0 @@ -private -classNames - - ^ #( Delay MIMEDocument Monitor Mutex MutexSet Random Semaphore TimeStamp Timestamp MessageSend ) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/group.st deleted file mode 100644 index b4981dc4..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/rationale.st deleted file mode 100644 index e9a097fe..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ 'Some classes are not portable accross different Smalltalk dialects.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/properties.json deleted file mode 100644 index 2965264e..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeBlockLintRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRUsesNotPortableClassRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/monticello.meta/categories.st b/repository/Grease-Pharo110-Slime.package/monticello.meta/categories.st deleted file mode 100644 index ff4f5aed..00000000 --- a/repository/Grease-Pharo110-Slime.package/monticello.meta/categories.st +++ /dev/null @@ -1 +0,0 @@ -SystemOrganization addCategory: #'Grease-Pharo110-Slime'! diff --git a/repository/Grease-Pharo110-Slime.package/monticello.meta/initializers.st b/repository/Grease-Pharo110-Slime.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/monticello.meta/package b/repository/Grease-Pharo110-Slime.package/monticello.meta/package deleted file mode 100644 index 7cd09a28..00000000 --- a/repository/Grease-Pharo110-Slime.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'Grease-Pharo110-Slime') \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/properties.json b/repository/Grease-Pharo110-Slime.package/properties.json deleted file mode 100644 index 6f31cf5a..00000000 --- a/repository/Grease-Pharo110-Slime.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/.filetree b/repository/Grease-Pharo40-Slime.package/.filetree deleted file mode 100644 index 8998102c..00000000 --- a/repository/Grease-Pharo40-Slime.package/.filetree +++ /dev/null @@ -1,4 +0,0 @@ -{ - "noMethodMetaData" : true, - "separateMethodMetaAndSource" : false, - "useCypressPropertiesFile" : true } diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/group.st deleted file mode 100644 index 011762ad..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/initialize.st deleted file mode 100644 index a39505e1..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/initialize.st +++ /dev/null @@ -1,18 +0,0 @@ -initialization -initialize - super initialize. - self rewriteRule - replace: '``@expr1 and: [ | `@temp2 | ``@expr2 ] and: [ | `@temp3 | ``@expr3 ]' - with: '``@expr1 and: [ | `@temp2 | ``@expr2 and: [ | `@temp3 | ``@expr3 ] ]'; - replace: '``@expr1 and: [ | `@temp2 | ``@expr2 ] and: [ | `@temp3 | ``@expr3 ] and: [ | `@temp4 | ``@expr4 ]' - with: '``@expr1 and: [ | `@temp2 | ``@expr2 and: [ | `@temp3 | ``@expr3 and: [ | `@temp4 | ``@expr4 ] ] ]'; - replace: '``@expr1 and: [ | `@temp2 | ``@expr2 ] and: [ | `@temp3 | ``@expr3 ] and: [ | `@temp4 | ``@expr4 ] and: [ | `@temp5 | ``@expr5 ]' - with: '``@expr1 and: [ | `@temp2 | ``@expr2 and: [ | `@temp3 | ``@expr3 and: [ | `@temp4 | ``@expr4 and: [ | `@temp5 | ``@expr5 ] ] ] ]'; - replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ]' - with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 ] ]'; - replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ] or: [ | `@temp4 | ``@expr4 ]' - with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 or: [ | `@temp4 | ``@expr4 ] ] ]'; - replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ] or: [ | `@temp4 | ``@expr4 ] or: [ | `@temp5 | ``@expr5 ]' - with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 or: [ | `@temp4 | ``@expr4 or: [ | `@temp5 | ``@expr5 ] ] ] ]'; - replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ] or: [ | `@temp4 | ``@expr4 ] or: [ | `@temp5 | ``@expr5 ] or: [ | `@temp6 | ``@expr6 ]' - with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 or: [ | `@temp4 | ``@expr4 or: [ | `@temp5 | ``@expr5 or: [ | `@temp6 | ``@expr6 ] ] ] ] ]' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/name.st deleted file mode 100644 index 5964bd28..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'Booleans' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/rationale.st deleted file mode 100644 index 1f109f56..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ '#and:and: and #or:or: are not ANSI compatible.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/properties.json deleted file mode 100644 index 17106ce7..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRAnsiBooleansRule", - "pools" : [ - ], - "super" : "GRSlimeTransformationRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/group.st deleted file mode 100644 index 011762ad..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st deleted file mode 100644 index 2742a93f..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st +++ /dev/null @@ -1,13 +0,0 @@ -initialization -initialize - super initialize. - self rewriteRule - replace: 'Character value: ``@expr' with: 'Character codePoint: ``@expr'; - replace: '`#source to: `#target' - withValueFrom: [ :node | - RBLiteralNode value: (String streamContents: [ :stream | - node receiver value codePoint to: node arguments first value codePoint do: [ :code | - stream nextPut: (Character codePoint: code) ] ]) ] - when: [ :node | - node receiver value isCharacter - and: [ node arguments first value isCharacter ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/name.st deleted file mode 100644 index a1b3f88e..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'Characters' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/rationale.st deleted file mode 100644 index e061dd71..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ 'Character value: 64 and $a to: $b is not ANSI compatible.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/properties.json deleted file mode 100644 index 024f4887..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRAnsiCharactersRule", - "pools" : [ - ], - "super" : "GRSlimeTransformationRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/group.st deleted file mode 100644 index 011762ad..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/initialize.st deleted file mode 100644 index 1e93cbc8..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/initialize.st +++ /dev/null @@ -1,30 +0,0 @@ -initialization -initialize - super initialize. - self rewriteRule - replace: '``@collection withIndexDo: [ :`each :`index | | `@temps | ``@.body ]' - with: '``@collection keysAndValuesDo: [ :`index :`each | | `@temps | ``@.body ]'; - replace: '``@collection doWithIndex: [ :`each :`index | | `@temps | ``@.body ]' - with: '``@collection keysAndValuesDo: [ :`index :`each | | `@temps | ``@.body ]'; - replace: '``@collection collect: ``@block1 thenDo: ``@block2' - with: '(``@collection collect: ``@block1) do: ``@block2'; - replace: '``@collection collect: ``@block1 thenSelect: ``@block2' - with: '(``@collection collect: ``@block1) select: ``@block2'; - replace: '``@collection pairsDo: [ :`t1 :`t2 | ``@.statements ]' - with: '1 to: ``@collection size by: 2 do: [ :index | | `t1 `t2 | `t1 := ``@collection at: index. `t2 := ``@collection at: index + 1. ``@.statements ]'; - replace: '``@collection reject: ``@block1 thenDo: ``@block2' - with: '(``@collection reject: ``@block1) do: ``@block2'; - replace: '``@collection select: ``@block1 thenCollect: ``@block2' - with: '(``@collection select: ``@block1) collect: ``@block2'; - replace: '``@collection select: ``@block1 thenDo: ``@block2' - with: '(``@collection select: ``@block1) do: ``@block2'; - replace: '``@collection detectSum: [ :`t1 | ``@.statements. `.last ]' - with: '``@collection inject: 0 into: [ :sum :`t1 | ``@.statements. sum + (`.last) ]'; - replace: '``@collection valuesDo: ``@block' - with: '``@collection do: ``@block'; - replace: '``@collection reversed' - with: '``@collection reverse'; - replace: '``@dictionary keysSortedSafely' - with: '``@dictionary keys asSortedCollection'; - replace: '``@collectionClass new: ``@size withAll: ``@character' - with: '(``@collectionClass new: ``@size) atAllPut: ``@character' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/name.st deleted file mode 100644 index fba52990..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'Collections' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/rationale.st deleted file mode 100644 index 8470c14b..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ 'Some collection methods are not ANSI compatible: #pairsDo:, #collect:thenDo:, #reject:thenDo:, #detectSum:, #valuesDo:, #keysSortedSafely, #new:withAll:, etc.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/properties.json deleted file mode 100644 index a6428b55..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRAnsiCollectionsRule", - "pools" : [ - ], - "super" : "GRSlimeTransformationRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/group.st deleted file mode 100644 index 011762ad..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/initialize.st deleted file mode 100644 index fe291c53..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/initialize.st +++ /dev/null @@ -1,16 +0,0 @@ -initialization -initialize - super initialize. - self rewriteRule - replace: '``@boolean ifNotNilDo: ``@block' - with: '``@boolean ifNotNil: ``@block'; - replace: '``@boolean ifNotNilDo: ``@block1 ifNil: ``@block2' - with: '``@boolean ifNotNil: ``@block1 ifNil: ``@block2'; - replace: '``@boolean ifNil: ``@block1 ifNotNilDo: ``@block2' - with: '``@boolean ifNil: ``@block1 ifNotNil: ``@block2'; - replace: '``@boolean ifNotNil: [ | `@temps | ``@.body ]' - with: '``@boolean ifNotNil: [ :arg | | `@temps | ``@.body ]'; - replace: '``@boolean ifNotNil: [ | `@temps | ``@.body ] ifNil: ``@block ' - with: '``@boolean ifNotNil: [ :arg | | `@temps | ``@.body ] ifNil: ``@block'; - replace: '``@boolean ifNil: ``@block ifNotNil: [ | `@temps | ``@.body ]' - with: '``@boolean ifNil: ``@block ifNotNil: [ :arg | | `@temps | ``@.body ]' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/name.st deleted file mode 100644 index 4693610d..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'Conditionals' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/rationale.st deleted file mode 100644 index 42b2134b..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ 'Conditionals like #ifNotNilDo: are not ANSI compatible.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/properties.json deleted file mode 100644 index ea508836..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRAnsiConditionalsRule", - "pools" : [ - ], - "super" : "GRSlimeTransformationRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/group.st deleted file mode 100644 index 011762ad..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/initialize.st deleted file mode 100644 index bcd5fbac..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/initialize.st +++ /dev/null @@ -1,6 +0,0 @@ -initialization -initialize - super initialize. - self rewriteRule - replace: '``@object asString' with: '``@object greaseString'; - replace: '``@object asInteger' with: '``@object greaseInteger' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/name.st deleted file mode 100644 index f3dd2a4d..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'Convertors' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/rationale.st deleted file mode 100644 index fa9200b0..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ 'The ANSI standard does not support #asInteger and #asString on Object.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/properties.json deleted file mode 100644 index 685c4620..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRAnsiConvertorRule", - "pools" : [ - ], - "super" : "GRSlimeTransformationRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/group.st deleted file mode 100644 index 011762ad..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/initialize.st deleted file mode 100644 index f0aadb85..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/initialize.st +++ /dev/null @@ -1,6 +0,0 @@ -initialization -initialize - super initialize. - self rewriteRule - replace: '``@block on: `class do: [ | `@temps | ``@.body ]' - with: '``@block on: `class do: [ :err | | `@temps | ``@.body ]' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/name.st deleted file mode 100644 index e86669e1..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'Exceptions' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/rationale.st deleted file mode 100644 index 392fdedd..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ 'Exception handlers expect exactly one argument in ANSI.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/properties.json deleted file mode 100644 index 61badeb3..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRAnsiExceptionsRule", - "pools" : [ - ], - "super" : "GRSlimeTransformationRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/group.st deleted file mode 100644 index 011762ad..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/initialize.st deleted file mode 100644 index 826e1af2..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/initialize.st +++ /dev/null @@ -1,12 +0,0 @@ -initialization -initialize - super initialize. - self rewriteRule - replace: '`{ :node :context | node isVariable and: [ (Smalltalk includesKey: node name asSymbol) not and: [ context at: ''`receiver'' ifAbsentPut: [ node ]. true ] ] } cr' - with: '`{ :context | context at: ''`receiver'' } nextPut: Character cr'; - replace: '`{ :node :context | node isVariable and: [ (Smalltalk includesKey: node name asSymbol) not and: [ context at: ''`receiver'' ifAbsentPut: [ node ]. true ] ] } lf' - with: '`{ :context | context at: ''`receiver'' } nextPut: Character lf'; - replace: '``@stream nextPut: Character cr; nextPut: Character lf' - with: '``@stream crlf'; - replace: '``@collection writeStream' - with: 'WriteStream on: ``@collection' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/name.st deleted file mode 100644 index aa09ac20..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'Streams' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/rationale.st deleted file mode 100644 index 57a15ba8..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ '#cr and #lf are not part of the ANSI stream protocol.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/properties.json deleted file mode 100644 index 25837c1e..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRAnsiStreamsRule", - "pools" : [ - ], - "super" : "GRSlimeTransformationRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/group.st deleted file mode 100644 index 011762ad..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/initialize.st deleted file mode 100644 index af1892f0..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/initialize.st +++ /dev/null @@ -1,24 +0,0 @@ -initialization -initialize - super initialize. - self rewriteRule - replace: 'String tab' with: '(String with: Character tab)'; - replace: 'String cr' with: '(String with: Character cr)'; - replace: 'String lf' with: '(String with: Character lf)'; - replace: 'String crlf' with: '(String with: Character cr with: Character lf)'; - replace: 'String space' with: '(String with: Character space)'; - replace: '`@string includesSubString: `@subString' - with: '(`@string indexOfSubCollection: `@subString startingAt: 0) ~= 0'; - replace: '`@string includesSubstring: `@subString' - with: '(`@string indexOfSubCollection: `@subString startingAt: 0) ~= 0'; - replace: '``@string findTokens: ``@arg' withValueFrom: [ :node | - | argument | - argument := node arguments first. - argument isLiteralNode ifTrue: [ - argument value isArray - ifTrue: [ argument replaceWith: (RBLiteralNode value: (String withAll: argument value)) ]. - argument value isCharacter - ifTrue: [ argument replaceWith: (RBLiteralNode value: (String with: argument value)) ] ]. - node - selector: #subStrings:; - yourself ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/name.st deleted file mode 100644 index cdc89723..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'Strings' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/rationale.st deleted file mode 100644 index a42a193e..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ '#cr, #crlf, #lf, #space, #tab, #findTokens:, ... are not part of the ANSI string protocol.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/properties.json deleted file mode 100644 index d2d36fa3..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRAnsiStringsRule", - "pools" : [ - ], - "super" : "GRSlimeTransformationRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/checkClass..st b/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/checkClass..st deleted file mode 100644 index b5489e28..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/checkClass..st +++ /dev/null @@ -1,13 +0,0 @@ -running -checkClass: aContext - (aContext isMeta not - and: [ (aContext includesSelector: #initialize) - and: [ (#(GRObject GRNotification GRNotification GRError RBLintRule RBTransformationRule) noneSatisfy: [ :each | - aContext includesBehavior: (Smalltalk globals at: each) ]) - and: [ aContext class methodDictionary noneSatisfy: [ :each | - matcher - executeTree: each parseTree - initialAnswer: false ] ] ] ]) ifTrue: [ - result - addClass: aContext - selector: #initialize ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/group.st deleted file mode 100644 index 7e52dd3b..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st deleted file mode 100644 index 10faf254..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st +++ /dev/null @@ -1,7 +0,0 @@ -initialization -initialize - super initialize. - matcher := RBParseTreeSearcher new. - matcher - matches: 'self basicNew initialize' - do: [ :node :answer | true ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/name.st deleted file mode 100644 index 5e0a6113..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ '#basicNew initialize is missing' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/rationale.st deleted file mode 100644 index 996d9872..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ '#initialize is not called implicitely when sending #new to an object in other Smalltalk dialects. Consider subclassing GRObject.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json deleted file mode 100644 index 40fdf0a3..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - "matcher" ], - "name" : "GRBasicNewInitializeMissingRule", - "pools" : [ - ], - "super" : "GRSlimeBlockLintRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/group.st deleted file mode 100644 index 303be069..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'Grease Formatting' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/initialize.st deleted file mode 100644 index c9bda0fc..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/initialize.st +++ /dev/null @@ -1,23 +0,0 @@ -initialization -initialize - super initialize. - self matcher - matches: '[ :`@args | | `@temps | ``@.stmts ]' - do: [ :node :answer | - answer isNil - ifFalse: [ answer ] - ifTrue: [ - | source | - source := node source. - (source notNil and: [ node left notNil and: [ node right notNil ] ]) ifTrue: [ - | before after | - before := source at: node left + 1 ifAbsent: [ $ ]. - after := source at: node right - 1 ifAbsent: [ $ ]. - (before isSeparator and: [ after isSeparator ]) - ifFalse: [ node ] - ifTrue: [ - node bar notNil ifTrue: [ - before := source at: node bar - 1 ifAbsent: [ $ ]. - after := source at: node bar + 1 ifAbsent: [ $ ]. - (before isSeparator and: [ after isSeparator ]) - ifFalse: [ node ] ] ] ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/name.st deleted file mode 100644 index 4c9c6708..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'Block formatting' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/rationale.st deleted file mode 100644 index 3c042a50..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ 'There should spaces at the beginning and end of block.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/properties.json deleted file mode 100644 index 4e3d8c69..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRBlockFormattingRule", - "pools" : [ - ], - "super" : "GRSlimeParseTreeLintRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/checkMethod..st b/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/checkMethod..st deleted file mode 100644 index bec7aeb7..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/checkMethod..st +++ /dev/null @@ -1,20 +0,0 @@ -running -checkMethod: aContext - | matches | - matches := matcher - executeTree: aContext parseTree - initialAnswer: OrderedCollection new. - matches do: [ :node | - " This ensures that the description is of the form ClassName>>#selector:" - (node arguments first isLiteralNode - and: [ node arguments first value isString - and: [ aContext methodClass name greaseString , '>>#' , aContext selector greaseString ~= node arguments first value ] ]) ifTrue: [ - result addClass: aContext methodClass selector: aContext selector. - result addSearchString: node arguments first value ]. - " This ensures that the description is a string and ends with a dot." - (node arguments size > 1 - and: [ node arguments second isLiteralNode - and: [ node arguments second value isString - and: [ (node arguments second value endsWithSubCollection: '.') not ] ] ]) ifTrue: [ - result addClass: aContext methodClass selector: aContext selector. - result addSearchString: node arguments second value ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/group.st deleted file mode 100644 index 303be069..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'Grease Formatting' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st deleted file mode 100644 index 64cfada8..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st +++ /dev/null @@ -1,9 +0,0 @@ -initialization -initialize - super initialize. - matcher := RBParseTreeSearcher new. - matcher - matchesAnyOf: #( - '``@receiver greaseDeprecatedApi: ``@arg1' - '``@receiver greaseDeprecatedApi: ``@arg1 details: ``@arg2' ) - do: [ :node :answer | answer add: node; yourself ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/name.st deleted file mode 100644 index 516849b7..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'Invalid use of deprecated API protocol.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/rationale.st deleted file mode 100644 index 9bff5427..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ 'Make sure to follow the following pattern: self greaseDeprecatedApi: ''Class>>#selector'' details: ''Some description''.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json deleted file mode 100644 index cf854ca6..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - "matcher" ], - "name" : "GRDeprecatedApiProtocolRule", - "pools" : [ - ], - "super" : "GRSlimeBlockLintRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/checkMethod..st b/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/checkMethod..st deleted file mode 100644 index 0bc1862a..00000000 --- a/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/checkMethod..st +++ /dev/null @@ -1,12 +0,0 @@ -running -checkMethod: aContext - | periods position | - aContext parseTree nodesDo: [ :node | - (node isSequence and: [ node periods notEmpty ]) ifTrue: [ - periods := OrderedCollection withAll: node periods. - 1 to: node statements size - 1 do: [ :index | - position := periods removeFirst. - ((node statements at: index) stop < position and: [ position < (node statements at: index + 1) start ]) - ifFalse: [ ^ result addClass: aContext methodClass selector: aContext selector ] ]. - (periods isEmpty or: [ periods size = 1 and: [ node statements notEmpty and: [ node statements last stop < periods first ] ] ]) - ifFalse: [ ^ result addClass: aContext methodClass selector: aContext selector ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/group.st deleted file mode 100644 index 7e52dd3b..00000000 --- a/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/name.st deleted file mode 100644 index 3f4db678..00000000 --- a/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'Empty Statements' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/rationale.st deleted file mode 100644 index 252dd280..00000000 --- a/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ 'Empty statements are not supported by most Smalltalk implementations.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/resetResult.st b/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/resetResult.st deleted file mode 100644 index 5b87472b..00000000 --- a/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/resetResult.st +++ /dev/null @@ -1,4 +0,0 @@ -running -resetResult - super resetResult. - result addSearchString: '..'; addSearchString: '.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/properties.json deleted file mode 100644 index 48dd059b..00000000 --- a/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GREmptyStatementsRule", - "pools" : [ - ], - "super" : "GRSlimeBlockLintRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/checkMethod..st b/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/checkMethod..st deleted file mode 100644 index 63c04fdc..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/checkMethod..st +++ /dev/null @@ -1,10 +0,0 @@ -running -checkMethod: aContext - (aContext methodClass isMeta not - and: [ (aContext selector beginsWithSubCollection: #initialize) - and: [ aContext selector numArgs > 0 - and: [ aContext methodClass ~= GRObject - and: [ (aContext methodClass includesBehavior: GRObject) - and: [ (aContext superMessages includes: aContext selector) not - and: [ aContext selfMessages noneSatisfy: [ :each | each beginsWithSubCollection: #initialize ] ] ] ] ] ] ]) - ifTrue: [ result addClass: aContext methodClass selector: aContext selector ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/group.st deleted file mode 100644 index 7e52dd3b..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/name.st deleted file mode 100644 index d814b293..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'Invalid object initialization' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/rationale.st deleted file mode 100644 index 7b2fed07..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ 'Initialize methods are required to call the designated initializer or its super implementation.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/properties.json deleted file mode 100644 index 53d242ca..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRInvalidObjectInitializationRule", - "pools" : [ - ], - "super" : "GRSlimeBlockLintRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/checkClass..st b/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/checkClass..st deleted file mode 100644 index 4c871460..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/checkClass..st +++ /dev/null @@ -1,12 +0,0 @@ -running -checkClass: aContext - | selectors | - selectors := self methodNames - inject: Set new - into: [ :set :each | - set - addAll: (aContext whichSelectorsReferTo: each); - yourself ]. - selectors do: [ :each | result addClass: aContext selector: each ]. - selectors isEmpty - ifFalse: [ result searchStrings: self methodNames ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/group.st deleted file mode 100644 index 7e52dd3b..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/methodNames.st b/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/methodNames.st deleted file mode 100644 index 7bfd5f10..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/methodNames.st +++ /dev/null @@ -1,3 +0,0 @@ -private -methodNames - ^ #( anyOne withIndexCollect: ) \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/name.st deleted file mode 100644 index 77664e0e..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'Uses non portable message' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/rationale.st deleted file mode 100644 index 4de4dc3f..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ 'Some methods are not portable accross different Smalltalk dialects.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/properties.json deleted file mode 100644 index 0fecf5bc..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRNonPortableMessageRule", - "pools" : [ - ], - "super" : "GRSlimeBlockLintRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/checkClass..st b/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/checkClass..st deleted file mode 100644 index dc83677f..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/checkClass..st +++ /dev/null @@ -1,8 +0,0 @@ -running -checkClass: aContext - | comment | - aContext isMeta - ifTrue: [ ^ self ]. - comment := aContext organization classComment asString. - comment isWideString ifTrue: [ - result addClass: aContext ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/checkMethod..st b/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/checkMethod..st deleted file mode 100644 index 8d1ad057..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/checkMethod..st +++ /dev/null @@ -1,17 +0,0 @@ -running -checkMethod: aContext - | foundLiteral | - foundLiteral := false. - "check individual literals first" - aContext literals do: [ :each | - (each isString and: [ each isWideString ]) ifTrue: [ - result - addClass: aContext methodClass - selector: aContext selector. - result addSearchString: each. - foundLiteral := true ] ]. - - "now check the whole method, could be in comments" - foundLiteral ifFalse: [ - aContext sourceCode asString isWideString ifTrue: [ - result addClass: aContext methodClass selector: aContext selector ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/group.st deleted file mode 100644 index 7e52dd3b..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/name.st deleted file mode 100644 index 3469916d..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'Non portable source format' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/rationale.st deleted file mode 100644 index 7306a747..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ 'The method source is required to be a plain string, for portability reasons a wide-string is not supported.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/properties.json deleted file mode 100644 index a296ea9f..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRNonPortableSourceFormatRule", - "pools" : [ - ], - "super" : "GRSlimeBlockLintRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/group.st deleted file mode 100644 index 7e52dd3b..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st deleted file mode 100644 index 776d58af..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st +++ /dev/null @@ -1,8 +0,0 @@ -initialization -initialize - super initialize. - self rewriteRule - replace: '`@collection beginsWith: `@subCollection' - with: '`@collection greaseBeginsWith: `@subCollection'; - replace: '`@collection endsWith: `@subCollection' - with: '`@collection greaseEndsWith: `@subCollection' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/name.st deleted file mode 100644 index fba52990..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'Collections' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/rationale.st deleted file mode 100644 index 908ce1c0..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ '#beginsWith: and #endsWith: are not portable.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/properties.json deleted file mode 100644 index 3c6c448b..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRNotPortableCollectionsRule", - "pools" : [ - ], - "super" : "GRSlimeTransformationRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/README.md deleted file mode 100644 index bca4d093..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I detect senders of Object >> #in: diff --git a/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/group.st deleted file mode 100644 index 7e52dd3b..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/initialize.st deleted file mode 100644 index 38aa19b0..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/initialize.st +++ /dev/null @@ -1,6 +0,0 @@ -initialization -initialize - super initialize. - self rewriteRule - replace: '``@object in: [ :`var | | `@temps | `@.statements ]' - with: '[ :`var | | `@temps | `@.statements ] value: ``@object' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/name.st deleted file mode 100644 index 65dd49f6..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'Object>>#in:' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/rationale.st deleted file mode 100644 index c3b2c41b..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ 'Object>>#in: has different semantics on different Smalltalk dialects.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/properties.json deleted file mode 100644 index 3d720379..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "pmm 9/12/2009 10:37", - "instvars" : [ - ], - "name" : "GRObjectInRule", - "pools" : [ - ], - "super" : "GRSlimeTransformationRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRPackage.extension/class/greaseSlime.st b/repository/Grease-Pharo40-Slime.package/GRPackage.extension/class/greaseSlime.st deleted file mode 100644 index 8c155f4c..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRPackage.extension/class/greaseSlime.st +++ /dev/null @@ -1,8 +0,0 @@ -*Grease-Pharo40-Slime -greaseSlime - ^ self new - name: 'Grease-Pharo40-Slime'; - description: 'Code critis for Grease. Detects common types of bugs and non-portable code.'; - addDependency: 'Grease-Core'; - url: #seasideUrl; - yourself \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRPackage.extension/properties.json b/repository/Grease-Pharo40-Slime.package/GRPackage.extension/properties.json deleted file mode 100644 index dd2faaf0..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRPackage.extension/properties.json +++ /dev/null @@ -1,2 +0,0 @@ -{ - "name" : "GRPackage" } diff --git a/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/group.st deleted file mode 100644 index 303be069..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'Grease Formatting' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/initialize.st deleted file mode 100644 index a9bf5bdb..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/initialize.st +++ /dev/null @@ -1,20 +0,0 @@ -initialization -initialize - super initialize. - self matcher - matches: '`{ :node | node isValue and: [ node hasParentheses ] }' - do: [ :node :answer | - answer isNil - ifFalse: [ answer ] - ifTrue: [ - | found start stop | - found := false. - start := node startWithoutParentheses. - stop := node stopWithoutParentheses. - node parentheses reverseDo: [ :interval | - found := found - or: [ start - 1 ~= interval first - or: [ stop + 1 ~= interval last ] ]. - start := interval first. - stop := interval last ]. - found ifTrue: [ node ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/name.st deleted file mode 100644 index 48e67c85..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'Parentheses formatting' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/rationale.st deleted file mode 100644 index 298a86b2..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ 'There should be no spaces inside parentheses.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/properties.json deleted file mode 100644 index a5444413..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRParensFormattingRule", - "pools" : [ - ], - "super" : "GRSlimeParseTreeLintRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/group.st deleted file mode 100644 index 303be069..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'Grease Formatting' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/initialize.st deleted file mode 100644 index a488a67f..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/initialize.st +++ /dev/null @@ -1,11 +0,0 @@ -initialization -initialize - super initialize. - self matcher - matches: '^ ``@expr' - do: [ :node :answer | - answer isNil - ifFalse: [ answer ] - ifTrue: [ - node start + 2 ~= node value start - ifTrue: [ node ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/name.st deleted file mode 100644 index ed235f80..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'Return formatting' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/rationale.st deleted file mode 100644 index 904d4922..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ 'There should be a single space between the ^ and the following expression.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/properties.json deleted file mode 100644 index a6bbc9f0..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRReturnFormattingRule", - "pools" : [ - ], - "super" : "GRSlimeParseTreeLintRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/class/isVisible.st b/repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/class/isVisible.st deleted file mode 100644 index 43f102e1..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/class/isVisible.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isVisible - ^ self name ~= #GRSlimeBlockLintRule \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/instance/category.st b/repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/instance/category.st deleted file mode 100644 index af69ca36..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/instance/category.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -category - ^ self group \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/properties.json deleted file mode 100644 index aa3e0ebf..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRSlimeBlockLintRule", - "pools" : [ - ], - "super" : "RBBlockLintRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/class/isVisible.st b/repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/class/isVisible.st deleted file mode 100644 index fa02a17b..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/class/isVisible.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isVisible - ^ self name ~= #GRSlimeParseTreeLintRule \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/instance/category.st b/repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/instance/category.st deleted file mode 100644 index af69ca36..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/instance/category.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -category - ^ self group \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/properties.json deleted file mode 100644 index 6f830ffa..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRSlimeParseTreeLintRule", - "pools" : [ - ], - "super" : "RBParseTreeLintRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRSlimeTransformationRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRSlimeTransformationRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GRSlimeTransformationRule.class/class/isVisible.st b/repository/Grease-Pharo40-Slime.package/GRSlimeTransformationRule.class/class/isVisible.st deleted file mode 100644 index 1bdda3d8..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRSlimeTransformationRule.class/class/isVisible.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isVisible - ^ self name ~= #GRSlimeTransformationRule \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRSlimeTransformationRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRSlimeTransformationRule.class/properties.json deleted file mode 100644 index 2c47bf7d..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRSlimeTransformationRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRSlimeTransformationRule", - "pools" : [ - ], - "super" : "RBTransformationRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/group.st deleted file mode 100644 index 303be069..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'Grease Formatting' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/initialize.st deleted file mode 100644 index 447c54de..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/initialize.st +++ /dev/null @@ -1,18 +0,0 @@ -initialization -initialize - super initialize. - self matcher - matches: '| `temp `@temps | ``@.stmts' - do: [ :node :answer | - answer isNil - ifFalse: [ answer ] - ifTrue: [ - (node leftBar notNil and: [ node rightBar notNil ]) ifTrue: [ - | found position | - found := false. - position := node leftBar. - node temporaries do: [ :each | - found := found or: [ position + 2 ~= each start ]. - position := each stop ]. - found := found or: [ position + 2 ~= node rightBar ]. - found ifTrue: [ node ] ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/name.st deleted file mode 100644 index 770e86d9..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'Temporaries formatting' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/rationale.st deleted file mode 100644 index 49cb65dd..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ 'There should be a single space between the | and the individual temps.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/properties.json deleted file mode 100644 index a6659da0..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRTempsFormattingRule", - "pools" : [ - ], - "super" : "GRSlimeParseTreeLintRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/README.md deleted file mode 100644 index 6f3d9062..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I check for TestCase >> #fail. \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/checkMethod..st b/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/checkMethod..st deleted file mode 100644 index cd33b84b..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/checkMethod..st +++ /dev/null @@ -1,7 +0,0 @@ -running -checkMethod: aContext - aContext methodClass isMeta - ifTrue: [ ^ self ]. - (aContext methodClass allSuperclasses includes:(Smalltalk at: #TestCase)) - ifFalse: [ ^ self ]. - ^ super checkMethod: aContext \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/group.st deleted file mode 100644 index 5a189b4d..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'SUnit Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/initialize.st deleted file mode 100644 index d9d6784f..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/initialize.st +++ /dev/null @@ -1,6 +0,0 @@ -initialization -initialize - super initialize. - self rewriteRule - replace: 'self fail' - with: 'self assert: false' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/name.st deleted file mode 100644 index cb37341d..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'TestCase >> #fail' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/rationale.st deleted file mode 100644 index 0a6ddcf6..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ 'TestCase >> #fail is not portable.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/properties.json deleted file mode 100644 index 009205c4..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "pmm 8/17/2014 11:24", - "instvars" : [ - ], - "name" : "GRTestAssertionsRule", - "pools" : [ - ], - "super" : "GRSlimeTransformationRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/checkMethod..st b/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/checkMethod..st deleted file mode 100644 index 5fc9a25b..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/checkMethod..st +++ /dev/null @@ -1,7 +0,0 @@ -running -checkMethod: aContext - aContext parseTree nodesDo: [ :node | - node isSequence ifTrue: [ - (node statements notEmpty and: [ node periods notEmpty ]) ifTrue: [ - node periods last > node statements last stop ifTrue: [ - ^ result addClass: aContext methodClass selector: aContext selector ] ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/group.st deleted file mode 100644 index 303be069..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'Grease Formatting' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/name.st deleted file mode 100644 index 5873f52c..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'Unnecessary Last Period' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/rationale.st deleted file mode 100644 index ccbe48b6..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ 'Periods are not needed after the last satement.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/resetResult.st b/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/resetResult.st deleted file mode 100644 index 5b87472b..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/resetResult.st +++ /dev/null @@ -1,4 +0,0 @@ -running -resetResult - super resetResult. - result addSearchString: '..'; addSearchString: '.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/properties.json deleted file mode 100644 index b703df03..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRUnnecessaryLastPeriodRule", - "pools" : [ - ], - "super" : "GRSlimeBlockLintRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.st deleted file mode 100644 index 7e52dd3b..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.st deleted file mode 100644 index 7923fa99..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.st +++ /dev/null @@ -1,8 +0,0 @@ -initialization -initialize - super initialize. - self matcher - matchesAnyOf: #( - '`@receiver canPerform: `@selector' - '`@receiver canUnderstand: `@selector' ) - do: [ :node :answer | answer isNil ifTrue: [ node ] ifFalse: [ answer ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.st deleted file mode 100644 index b9ce70ca..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'Sends #canPerform: or #canUnderstand:' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.st deleted file mode 100644 index 7e3a24ab..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ '#canPerform: or #canUnderstand: are not portable.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json deleted file mode 100644 index 1a38cd09..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRUsesCanPerformOrUnderstandRule", - "pools" : [ - ], - "super" : "GRSlimeParseTreeLintRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/checkMethod..st b/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/checkMethod..st deleted file mode 100644 index 2fdbe101..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/checkMethod..st +++ /dev/null @@ -1,4 +0,0 @@ -running -checkMethod: aContext - aContext parseTree selector = #hash - ifTrue: [ super checkMethod: aContext ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/group.st deleted file mode 100644 index 7e52dd3b..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/initialize.st deleted file mode 100644 index c56d728f..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/initialize.st +++ /dev/null @@ -1,6 +0,0 @@ -initialization -initialize - super initialize. - self matcher - matches: '`@receiver class hash' - do: [ :node :answer | answer isNil ifTrue: [ node ] ifFalse: [ answer ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/name.st deleted file mode 100644 index 5bdd2ee0..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'Uses its class for hash' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/rationale.st deleted file mode 100644 index 84eba400..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ 'The hash of an object should not depend on the hash of its class as some Smalltalk have non-constant class hashes.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/properties.json deleted file mode 100644 index 51d6412d..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRUsesClassForHashRule", - "pools" : [ - ], - "super" : "GRSlimeParseTreeLintRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/group.st deleted file mode 100644 index 7e52dd3b..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/initialize.st deleted file mode 100644 index ffa7a3bd..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/initialize.st +++ /dev/null @@ -1,6 +0,0 @@ -initialization -initialize - super initialize. - self matcher - matches: '{ `@.stmts }' - do: [ :node :answer | answer isNil ifTrue: [ node ] ifFalse: [ answer ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/name.st deleted file mode 100644 index 1228c96a..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'Uses curly brace arrays' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/rationale.st deleted file mode 100644 index c8668119..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ 'Curly brace expressions are not portable accross different Smalltalk dialects.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/properties.json deleted file mode 100644 index 9c622400..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRUsesCurlyBraceArraysRule", - "pools" : [ - ], - "super" : "GRSlimeParseTreeLintRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/group.st deleted file mode 100644 index 7e52dd3b..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/initialize.st deleted file mode 100644 index c7605206..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/initialize.st +++ /dev/null @@ -1,6 +0,0 @@ -initialization -initialize - super initialize. - self matcher - matches: '`#literal `{ :node | node isLiteralArray and: [ node isForByteArray ] }' - do: [ :node :answer | answer isNil ifTrue: [ node ] ifFalse: [ answer ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/name.st deleted file mode 100644 index fbcd5729..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'Uses literal byte arrays' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/rationale.st deleted file mode 100644 index 269ea76d..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ 'Literal byte arrays are not portable accross different Smalltalk dialects.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/properties.json deleted file mode 100644 index 780b2aea..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRUsesLiteralByteArraysRule", - "pools" : [ - ], - "super" : "GRSlimeParseTreeLintRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/checkMethod..st b/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/checkMethod..st deleted file mode 100644 index a31c5684..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/checkMethod..st +++ /dev/null @@ -1,8 +0,0 @@ -running -checkMethod: aContext - (self shouldExclude: aContext) ifFalse: [ - aContext pragmas do: [ :each | - result - addClass: aContext methodClass - selector: aContext selector. - result addSearchString: each keyword ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/group.st deleted file mode 100644 index 7e52dd3b..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/name.st deleted file mode 100644 index dce9f95b..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'Uses method annotations' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/rationale.st deleted file mode 100644 index 33162ca3..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ 'As of now, it is unclear if method-annotations/pragmas are compatible across all supported platforms. Likely this rule will soon be removed.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/shouldExclude..st b/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/shouldExclude..st deleted file mode 100644 index 101f3496..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/shouldExclude..st +++ /dev/null @@ -1,7 +0,0 @@ -running -shouldExclude: aContext - "The REST and OmniBrowser related packages are OK to have pragmas" - | classCategory | - classCategory := aContext methodClass theNonMetaClass category. - ^ #(#'-REST-' 'OmniBrowser') anySatisfy: [ :each | - (classCategory indexOfSubCollection: each startingAt: 1) ~= 0 ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/properties.json deleted file mode 100644 index 93baabf3..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRUsesMethodAnnotationsRule", - "pools" : [ - ], - "super" : "GRSlimeBlockLintRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/checkClass..st b/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/checkClass..st deleted file mode 100644 index c90a5576..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/checkClass..st +++ /dev/null @@ -1,6 +0,0 @@ -running -checkClass: aContext - aContext allSuperclassesDo: [ :each | - (self classNames includes: each name) ifTrue: [ - result addClass: aContext. - result addSearchString: each name ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/checkMethod..st b/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/checkMethod..st deleted file mode 100644 index 136032c3..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/checkMethod..st +++ /dev/null @@ -1,11 +0,0 @@ -running -checkMethod: aContext - (aContext methodClass theNonMetaClass category indexOfSubCollection: #'-Pharo-' startingAt: 1) ~= 0 ifTrue: [ - "classes in a -Pharo- package are per definition not portable and therefore allowed to use non-portable classes" - ^ self ]. - aContext literals do: [ :each | - (each isVariableBinding and: [ self classNames includes: each key ]) ifTrue: [ - result - addClass: aContext methodClass - selector: aContext selector. - result addSearchString: each key ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/classNames.st b/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/classNames.st deleted file mode 100644 index f3d5db68..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/classNames.st +++ /dev/null @@ -1,3 +0,0 @@ -private -classNames - ^ #( Delay MIMEDocument Monitor Mutex MutexSet Random Semaphore TimeStamp Timestamp MessageSend ) \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/group.st deleted file mode 100644 index 7e52dd3b..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/group.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -group - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/name.st deleted file mode 100644 index ba0b2df9..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'Uses not portable class' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/rationale.st deleted file mode 100644 index e0f12e97..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/rationale.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -rationale - ^ 'Some classes are not portable accross different Smalltalk dialects.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/properties.json deleted file mode 100644 index ff25d101..00000000 --- a/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Pharo40-Slime", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRUsesNotPortableClassRule", - "pools" : [ - ], - "super" : "GRSlimeBlockLintRule", - "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/monticello.meta/categories.st b/repository/Grease-Pharo40-Slime.package/monticello.meta/categories.st deleted file mode 100644 index bae86375..00000000 --- a/repository/Grease-Pharo40-Slime.package/monticello.meta/categories.st +++ /dev/null @@ -1 +0,0 @@ -SystemOrganization addCategory: #'Grease-Pharo40-Slime'! diff --git a/repository/Grease-Pharo40-Slime.package/monticello.meta/initializers.st b/repository/Grease-Pharo40-Slime.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo40-Slime.package/monticello.meta/package b/repository/Grease-Pharo40-Slime.package/monticello.meta/package deleted file mode 100644 index 86bc392f..00000000 --- a/repository/Grease-Pharo40-Slime.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'Grease-Pharo40-Slime') \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/properties.json b/repository/Grease-Pharo40-Slime.package/properties.json deleted file mode 100644 index f037444a..00000000 --- a/repository/Grease-Pharo40-Slime.package/properties.json +++ /dev/null @@ -1,2 +0,0 @@ -{ - } From c808b1786b4ee0c232b320fbfaeb731a40e7fbf4 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Fri, 19 Apr 2024 15:57:37 +0200 Subject: [PATCH 214/254] Revert "remove old Slime packages" This reverts commit f01435f653fb4c088b139aae0fe2db0edf35e8bf. --- .../Grease-Pharo110-Slime.package/.filetree | 5 ++++ .../GRAnsiBooleansRule.class/README.md | 0 .../instance/group.st | 4 +++ .../instance/initialize.st | 19 ++++++++++++ .../GRAnsiBooleansRule.class/instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../GRAnsiBooleansRule.class/properties.json | 11 +++++++ .../GRAnsiCharactersRule.class/README.md | 0 .../instance/group.st | 4 +++ .../instance/initialize.st | 16 ++++++++++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../GRAnsiCollectionsRule.class/README.md | 0 .../instance/group.st | 4 +++ .../instance/initialize.st | 30 +++++++++++++++++++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../GRAnsiConditionalsRule.class/README.md | 0 .../instance/group.st | 4 +++ .../instance/initialize.st | 17 +++++++++++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../GRAnsiConvertorRule.class/README.md | 0 .../instance/group.st | 4 +++ .../instance/initialize.st | 7 +++++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../GRAnsiConvertorRule.class/properties.json | 11 +++++++ .../GRAnsiExceptionsRule.class/README.md | 0 .../instance/group.st | 4 +++ .../instance/initialize.st | 7 +++++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../GRAnsiStreamsRule.class/README.md | 0 .../GRAnsiStreamsRule.class/instance/group.st | 4 +++ .../instance/initialize.st | 13 ++++++++ .../GRAnsiStreamsRule.class/instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../GRAnsiStreamsRule.class/properties.json | 11 +++++++ .../GRAnsiStringsRule.class/README.md | 0 .../GRAnsiStringsRule.class/instance/group.st | 4 +++ .../instance/initialize.st | 26 ++++++++++++++++ .../GRAnsiStringsRule.class/instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../GRAnsiStringsRule.class/properties.json | 11 +++++++ .../README.md | 0 .../class/checksClass.st | 4 +++ .../instance/basicCheck..st | 11 +++++++ .../instance/group.st | 4 +++ .../instance/initialize.st | 8 +++++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 13 ++++++++ .../README.md | 0 .../instance/afterCheck.mappings..st | 15 ++++++++++ .../instance/group.st | 4 +++ .../instance/initialize.st | 8 +++++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../README.md | 0 .../class/checksMethod.st | 4 +++ .../instance/basicCheck..st | 10 +++++++ .../instance/group.st | 4 +++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../GRNonPortableMessageRule.class/README.md | 0 .../class/checksNode.st | 4 +++ .../instance/basicCheck..st | 4 +++ .../instance/group.st | 4 +++ .../instance/methodNames.st | 4 +++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../README.md | 0 .../instance/group.st | 4 +++ .../instance/initialize.st | 9 ++++++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../GRObjectInRule.class/README.md | 1 + .../GRObjectInRule.class/instance/group.st | 4 +++ .../instance/initialize.st | 7 +++++ .../GRObjectInRule.class/instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../GRObjectInRule.class/properties.json | 11 +++++++ .../GRReSlimeBlockLintRule.class/README.md | 0 .../class/isVisible.st | 4 +++ .../properties.json | 11 +++++++ .../README.md | 0 .../class/isVisible.st | 4 +++ .../properties.json | 11 +++++++ .../README.md | 0 .../class/isVisible.st | 4 +++ .../properties.json | 11 +++++++ .../README.md | 0 .../class/checksMethod.st | 4 +++ .../instance/basicCheck..st | 8 +++++ .../instance/name.st | 4 +++ .../properties.json | 11 +++++++ .../GRSlimeBlockLintRule.class/README.md | 1 + .../class/isVisible.st | 4 +++ .../properties.json | 11 +++++++ .../GRSlimeParseTreeLintRule.class/README.md | 1 + .../class/isVisible.st | 4 +++ .../properties.json | 11 +++++++ .../GRSlimeTransformationRule.class/README.md | 1 + .../class/isVisible.st | 4 +++ .../properties.json | 11 +++++++ .../README.md | 0 .../class/checksClass.st | 4 +++ .../instance/basicCheck..st | 4 +++ .../instance/name.st | 4 +++ .../properties.json | 11 +++++++ .../GRTestAssertionsRule.class/README.md | 1 + .../instance/afterCheck.mappings..st | 8 +++++ .../instance/group.st | 4 +++ .../instance/initialize.st | 7 +++++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../README.md | 0 .../instance/group.st | 4 +++ .../instance/initialize.st | 7 +++++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../GRUsesClassForHashRule.class/README.md | 0 .../instance/afterCheck.mappings..st | 4 +++ .../instance/group.st | 4 +++ .../instance/initialize.st | 5 ++++ .../instance/name.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../README.md | 0 .../class/isAbstract.st | 4 +++ .../class/isVisible.st | 4 +++ .../instance/classNames.st | 4 +++ .../instance/group.st | 4 +++ .../instance/rationale.st | 4 +++ .../properties.json | 11 +++++++ .../monticello.meta/categories.st | 1 + .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 + .../properties.json | 1 + .../Grease-Pharo40-Slime.package/.filetree | 4 +++ .../GRAnsiBooleansRule.class/README.md | 0 .../instance/group.st | 3 ++ .../instance/initialize.st | 18 +++++++++++ .../GRAnsiBooleansRule.class/instance/name.st | 3 ++ .../instance/rationale.st | 3 ++ .../GRAnsiBooleansRule.class/properties.json | 14 +++++++++ .../GRAnsiCharactersRule.class/README.md | 0 .../instance/group.st | 3 ++ .../instance/initialize.st | 13 ++++++++ .../instance/name.st | 3 ++ .../instance/rationale.st | 3 ++ .../properties.json | 14 +++++++++ .../GRAnsiCollectionsRule.class/README.md | 0 .../instance/group.st | 3 ++ .../instance/initialize.st | 30 +++++++++++++++++++ .../instance/name.st | 3 ++ .../instance/rationale.st | 3 ++ .../properties.json | 14 +++++++++ .../GRAnsiConditionalsRule.class/README.md | 0 .../instance/group.st | 3 ++ .../instance/initialize.st | 16 ++++++++++ .../instance/name.st | 3 ++ .../instance/rationale.st | 3 ++ .../properties.json | 14 +++++++++ .../GRAnsiConvertorRule.class/README.md | 0 .../instance/group.st | 3 ++ .../instance/initialize.st | 6 ++++ .../instance/name.st | 3 ++ .../instance/rationale.st | 3 ++ .../GRAnsiConvertorRule.class/properties.json | 14 +++++++++ .../GRAnsiExceptionsRule.class/README.md | 0 .../instance/group.st | 3 ++ .../instance/initialize.st | 6 ++++ .../instance/name.st | 3 ++ .../instance/rationale.st | 3 ++ .../properties.json | 14 +++++++++ .../GRAnsiStreamsRule.class/README.md | 0 .../GRAnsiStreamsRule.class/instance/group.st | 3 ++ .../instance/initialize.st | 12 ++++++++ .../GRAnsiStreamsRule.class/instance/name.st | 3 ++ .../instance/rationale.st | 3 ++ .../GRAnsiStreamsRule.class/properties.json | 14 +++++++++ .../GRAnsiStringsRule.class/README.md | 0 .../GRAnsiStringsRule.class/instance/group.st | 3 ++ .../instance/initialize.st | 24 +++++++++++++++ .../GRAnsiStringsRule.class/instance/name.st | 3 ++ .../instance/rationale.st | 3 ++ .../GRAnsiStringsRule.class/properties.json | 14 +++++++++ .../README.md | 0 .../instance/checkClass..st | 13 ++++++++ .../instance/group.st | 3 ++ .../instance/initialize.st | 7 +++++ .../instance/name.st | 3 ++ .../instance/rationale.st | 3 ++ .../properties.json | 14 +++++++++ .../GRBlockFormattingRule.class/README.md | 0 .../instance/group.st | 3 ++ .../instance/initialize.st | 23 ++++++++++++++ .../instance/name.st | 3 ++ .../instance/rationale.st | 3 ++ .../properties.json | 14 +++++++++ .../README.md | 0 .../instance/checkMethod..st | 20 +++++++++++++ .../instance/group.st | 3 ++ .../instance/initialize.st | 9 ++++++ .../instance/name.st | 3 ++ .../instance/rationale.st | 3 ++ .../properties.json | 14 +++++++++ .../GREmptyStatementsRule.class/README.md | 0 .../instance/checkMethod..st | 12 ++++++++ .../instance/group.st | 3 ++ .../instance/name.st | 3 ++ .../instance/rationale.st | 3 ++ .../instance/resetResult.st | 4 +++ .../properties.json | 14 +++++++++ .../README.md | 0 .../instance/checkMethod..st | 10 +++++++ .../instance/group.st | 3 ++ .../instance/name.st | 3 ++ .../instance/rationale.st | 3 ++ .../properties.json | 14 +++++++++ .../GRNonPortableMessageRule.class/README.md | 0 .../instance/checkClass..st | 12 ++++++++ .../instance/group.st | 3 ++ .../instance/methodNames.st | 3 ++ .../instance/name.st | 3 ++ .../instance/rationale.st | 3 ++ .../properties.json | 14 +++++++++ .../README.md | 0 .../instance/checkClass..st | 8 +++++ .../instance/checkMethod..st | 17 +++++++++++ .../instance/group.st | 3 ++ .../instance/name.st | 3 ++ .../instance/rationale.st | 3 ++ .../properties.json | 14 +++++++++ .../README.md | 0 .../instance/group.st | 3 ++ .../instance/initialize.st | 8 +++++ .../instance/name.st | 3 ++ .../instance/rationale.st | 3 ++ .../properties.json | 14 +++++++++ .../GRObjectInRule.class/README.md | 1 + .../GRObjectInRule.class/instance/group.st | 3 ++ .../instance/initialize.st | 6 ++++ .../GRObjectInRule.class/instance/name.st | 3 ++ .../instance/rationale.st | 3 ++ .../GRObjectInRule.class/properties.json | 14 +++++++++ .../GRPackage.extension/class/greaseSlime.st | 8 +++++ .../GRPackage.extension/properties.json | 2 ++ .../GRParensFormattingRule.class/README.md | 0 .../instance/group.st | 3 ++ .../instance/initialize.st | 20 +++++++++++++ .../instance/name.st | 3 ++ .../instance/rationale.st | 3 ++ .../properties.json | 14 +++++++++ .../GRReturnFormattingRule.class/README.md | 0 .../instance/group.st | 3 ++ .../instance/initialize.st | 11 +++++++ .../instance/name.st | 3 ++ .../instance/rationale.st | 3 ++ .../properties.json | 14 +++++++++ .../GRSlimeBlockLintRule.class/README.md | 0 .../class/isVisible.st | 3 ++ .../instance/category.st | 3 ++ .../properties.json | 14 +++++++++ .../GRSlimeParseTreeLintRule.class/README.md | 0 .../class/isVisible.st | 3 ++ .../instance/category.st | 3 ++ .../properties.json | 14 +++++++++ .../GRSlimeTransformationRule.class/README.md | 0 .../class/isVisible.st | 3 ++ .../properties.json | 14 +++++++++ .../GRTempsFormattingRule.class/README.md | 0 .../instance/group.st | 3 ++ .../instance/initialize.st | 18 +++++++++++ .../instance/name.st | 3 ++ .../instance/rationale.st | 3 ++ .../properties.json | 14 +++++++++ .../GRTestAssertionsRule.class/README.md | 1 + .../instance/checkMethod..st | 7 +++++ .../instance/group.st | 3 ++ .../instance/initialize.st | 6 ++++ .../instance/name.st | 3 ++ .../instance/rationale.st | 3 ++ .../properties.json | 14 +++++++++ .../README.md | 0 .../instance/checkMethod..st | 7 +++++ .../instance/group.st | 3 ++ .../instance/name.st | 3 ++ .../instance/rationale.st | 3 ++ .../instance/resetResult.st | 4 +++ .../properties.json | 14 +++++++++ .../README.md | 0 .../instance/group.st | 3 ++ .../instance/initialize.st | 8 +++++ .../instance/name.st | 3 ++ .../instance/rationale.st | 3 ++ .../properties.json | 14 +++++++++ .../GRUsesClassForHashRule.class/README.md | 0 .../instance/checkMethod..st | 4 +++ .../instance/group.st | 3 ++ .../instance/initialize.st | 6 ++++ .../instance/name.st | 3 ++ .../instance/rationale.st | 3 ++ .../properties.json | 14 +++++++++ .../README.md | 0 .../instance/group.st | 3 ++ .../instance/initialize.st | 6 ++++ .../instance/name.st | 3 ++ .../instance/rationale.st | 3 ++ .../properties.json | 14 +++++++++ .../README.md | 0 .../instance/group.st | 3 ++ .../instance/initialize.st | 6 ++++ .../instance/name.st | 3 ++ .../instance/rationale.st | 3 ++ .../properties.json | 14 +++++++++ .../README.md | 0 .../instance/checkMethod..st | 8 +++++ .../instance/group.st | 3 ++ .../instance/name.st | 3 ++ .../instance/rationale.st | 3 ++ .../instance/shouldExclude..st | 7 +++++ .../properties.json | 14 +++++++++ .../README.md | 0 .../instance/checkClass..st | 6 ++++ .../instance/checkMethod..st | 11 +++++++ .../instance/classNames.st | 3 ++ .../instance/group.st | 3 ++ .../instance/name.st | 3 ++ .../instance/rationale.st | 3 ++ .../properties.json | 14 +++++++++ .../monticello.meta/categories.st | 1 + .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 + .../properties.json | 2 ++ 347 files changed, 1967 insertions(+) create mode 100644 repository/Grease-Pharo110-Slime.package/.filetree create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/class/checksClass.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/basicCheck..st create mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/afterCheck.mappings..st create mode 100644 repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/class/checksMethod.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/basicCheck..st create mode 100644 repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/class/checksNode.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/basicCheck..st create mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/methodNames.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/class/isVisible.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/class/isVisible.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/class/isVisible.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/class/checksMethod.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/basicCheck..st create mode 100644 repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/class/isVisible.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/class/isVisible.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/class/isVisible.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/class/checksClass.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/basicCheck..st create mode 100644 repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/afterCheck.mappings..st create mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/afterCheck.mappings..st create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/name.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/README.md create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isAbstract.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isVisible.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/classNames.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/group.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/properties.json create mode 100644 repository/Grease-Pharo110-Slime.package/monticello.meta/categories.st create mode 100644 repository/Grease-Pharo110-Slime.package/monticello.meta/initializers.st create mode 100644 repository/Grease-Pharo110-Slime.package/monticello.meta/package create mode 100644 repository/Grease-Pharo110-Slime.package/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/.filetree create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/group.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/name.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/group.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/name.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/group.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/name.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/checkClass..st create mode 100644 repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/group.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/name.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/group.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/name.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/checkMethod..st create mode 100644 repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/group.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/name.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/checkMethod..st create mode 100644 repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/resetResult.st create mode 100644 repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/checkMethod..st create mode 100644 repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/group.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/name.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/checkClass..st create mode 100644 repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/group.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/methodNames.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/name.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/checkClass..st create mode 100644 repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/checkMethod..st create mode 100644 repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/group.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/name.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/group.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/name.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRPackage.extension/class/greaseSlime.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRPackage.extension/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/group.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/name.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/group.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/name.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/class/isVisible.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/instance/category.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/class/isVisible.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/instance/category.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRSlimeTransformationRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRSlimeTransformationRule.class/class/isVisible.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRSlimeTransformationRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/group.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/name.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/checkMethod..st create mode 100644 repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/checkMethod..st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/group.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/name.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/resetResult.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/checkMethod..st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/group.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/name.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/group.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/name.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/group.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/initialize.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/name.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/checkMethod..st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/group.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/name.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/shouldExclude..st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/README.md create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/checkClass..st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/checkMethod..st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/classNames.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/group.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/name.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/rationale.st create mode 100644 repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/properties.json create mode 100644 repository/Grease-Pharo40-Slime.package/monticello.meta/categories.st create mode 100644 repository/Grease-Pharo40-Slime.package/monticello.meta/initializers.st create mode 100644 repository/Grease-Pharo40-Slime.package/monticello.meta/package create mode 100644 repository/Grease-Pharo40-Slime.package/properties.json diff --git a/repository/Grease-Pharo110-Slime.package/.filetree b/repository/Grease-Pharo110-Slime.package/.filetree new file mode 100644 index 00000000..57a67973 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/.filetree @@ -0,0 +1,5 @@ +{ + "separateMethodMetaAndSource" : false, + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/group.st new file mode 100644 index 00000000..f34a290f --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/initialize.st new file mode 100644 index 00000000..6058ed9f --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/initialize.st @@ -0,0 +1,19 @@ +initialization +initialize + + super initialize. + self + replace: '``@expr1 and: [ | `@temp2 | ``@expr2 ] and: [ | `@temp3 | ``@expr3 ]' + with: '``@expr1 and: [ | `@temp2 | ``@expr2 and: [ | `@temp3 | ``@expr3 ] ]'; + replace: '``@expr1 and: [ | `@temp2 | ``@expr2 ] and: [ | `@temp3 | ``@expr3 ] and: [ | `@temp4 | ``@expr4 ]' + with: '``@expr1 and: [ | `@temp2 | ``@expr2 and: [ | `@temp3 | ``@expr3 and: [ | `@temp4 | ``@expr4 ] ] ]'; + replace: '``@expr1 and: [ | `@temp2 | ``@expr2 ] and: [ | `@temp3 | ``@expr3 ] and: [ | `@temp4 | ``@expr4 ] and: [ | `@temp5 | ``@expr5 ]' + with: '``@expr1 and: [ | `@temp2 | ``@expr2 and: [ | `@temp3 | ``@expr3 and: [ | `@temp4 | ``@expr4 and: [ | `@temp5 | ``@expr5 ] ] ] ]'; + replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ]' + with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 ] ]'; + replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ] or: [ | `@temp4 | ``@expr4 ]' + with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 or: [ | `@temp4 | ``@expr4 ] ] ]'; + replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ] or: [ | `@temp4 | ``@expr4 ] or: [ | `@temp5 | ``@expr5 ]' + with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 or: [ | `@temp4 | ``@expr4 or: [ | `@temp5 | ``@expr5 ] ] ] ]'; + replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ] or: [ | `@temp4 | ``@expr4 ] or: [ | `@temp5 | ``@expr5 ] or: [ | `@temp6 | ``@expr6 ]' + with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 or: [ | `@temp4 | ``@expr4 or: [ | `@temp5 | ``@expr5 or: [ | `@temp6 | ``@expr6 ] ] ] ] ]' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/name.st new file mode 100644 index 00000000..c1c48207 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Booleans' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/rationale.st new file mode 100644 index 00000000..b650ed54 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ '#and:and: and #or:or: are not ANSI compatible.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/properties.json new file mode 100644 index 00000000..208c1ba2 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRAnsiBooleansRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/group.st new file mode 100644 index 00000000..f34a290f --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st new file mode 100644 index 00000000..f83e0222 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st @@ -0,0 +1,16 @@ +initialization +initialize + + super initialize. + self + replace: 'Character value: ``@expr' + with: 'Character codePoint: ``@expr'. + self + replace: '`#source `{:node | node value isCharacter }` to: `#target' + byEvaluating: [ :node | + (node receiver value isCharacter and: [ + node arguments first value isCharacter ]) + ifTrue: [ + RBLiteralNode value: (String streamContents: [ :stream | + node receiver value codePoint to: node arguments first value codePoint do: [ :code | stream nextPut: (Character codePoint: code) ] ]) ] + ifFalse: [ node ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/name.st new file mode 100644 index 00000000..6ea7a32b --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Characters' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/rationale.st new file mode 100644 index 00000000..94cf8eb0 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'Character value: 64 and $a to: $b is not ANSI compatible.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/properties.json new file mode 100644 index 00000000..d5fe699b --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRAnsiCharactersRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/group.st new file mode 100644 index 00000000..f34a290f --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/initialize.st new file mode 100644 index 00000000..86c772ea --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/initialize.st @@ -0,0 +1,30 @@ +initialization +initialize + super initialize. + self + replace: '``@collection withIndexDo: [ :`each :`index | | `@temps | ``@.body ]' + with: '``@collection keysAndValuesDo: [ :`index :`each | | `@temps | ``@.body ]'; + replace: '``@collection doWithIndex: [ :`each :`index | | `@temps | ``@.body ]' + with: '``@collection keysAndValuesDo: [ :`index :`each | | `@temps | ``@.body ]'; + replace: '``@collection collect: ``@block1 thenDo: ``@block2' + with: '(``@collection collect: ``@block1) do: ``@block2'; + replace: '``@collection collect: ``@block1 thenSelect: ``@block2' + with: '(``@collection collect: ``@block1) select: ``@block2'; + replace: '``@collection pairsDo: [ :`t1 :`t2 | ``@.statements ]' + with: '1 to: ``@collection size by: 2 do: [ :index | | `t1 `t2 | `t1 := ``@collection at: index. `t2 := ``@collection at: index + 1. ``@.statements ]'; + replace: '``@collection reject: ``@block1 thenDo: ``@block2' + with: '(``@collection reject: ``@block1) do: ``@block2'; + replace: '``@collection select: ``@block1 thenCollect: ``@block2' + with: '(``@collection select: ``@block1) collect: ``@block2'; + replace: '``@collection select: ``@block1 thenDo: ``@block2' + with: '(``@collection select: ``@block1) do: ``@block2'; + replace: '``@collection detectSum: [ :`t1 | ``@.statements. `.last ]' + with: '``@collection inject: 0 into: [ :sum :`t1 | ``@.statements. sum + (`.last) ]'; + replace: '``@collection valuesDo: ``@block' + with: '``@collection do: ``@block'; + replace: '``@collection reversed' + with: '``@collection reverse'; + replace: '``@dictionary keysSortedSafely' + with: '``@dictionary keys asSortedCollection'; + replace: '``@collectionClass new: ``@size withAll: ``@character' + with: '(``@collectionClass new: ``@size) atAllPut: ``@character' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/name.st new file mode 100644 index 00000000..a318a869 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Collections' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/rationale.st new file mode 100644 index 00000000..5929ea0d --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'Some collection methods are not ANSI compatible: #pairsDo:, #collect:thenDo:, #reject:thenDo:, #detectSum:, #valuesDo:, #keysSortedSafely, #new:withAll:, etc.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/properties.json new file mode 100644 index 00000000..b6b9f5c5 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRAnsiCollectionsRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/group.st new file mode 100644 index 00000000..f34a290f --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/initialize.st new file mode 100644 index 00000000..962d59d3 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/initialize.st @@ -0,0 +1,17 @@ +initialization +initialize + + super initialize. + self + replace: '``@boolean ifNotNilDo: ``@block' + with: '``@boolean ifNotNil: ``@block'; + replace: '``@boolean ifNotNilDo: ``@block1 ifNil: ``@block2' + with: '``@boolean ifNotNil: ``@block1 ifNil: ``@block2'; + replace: '``@boolean ifNil: ``@block1 ifNotNilDo: ``@block2' + with: '``@boolean ifNil: ``@block1 ifNotNil: ``@block2'; + replace: '``@boolean ifNotNil: [ | `@temps | ``@.body ]' + with: '``@boolean ifNotNil: [ :arg | | `@temps | ``@.body ]'; + replace: '``@boolean ifNotNil: [ | `@temps | ``@.body ] ifNil: ``@block ' + with: '``@boolean ifNotNil: [ :arg | | `@temps | ``@.body ] ifNil: ``@block'; + replace: '``@boolean ifNil: ``@block ifNotNil: [ | `@temps | ``@.body ]' + with: '``@boolean ifNil: ``@block ifNotNil: [ :arg | | `@temps | ``@.body ]' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/name.st new file mode 100644 index 00000000..76482a4a --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Conditionals' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/rationale.st new file mode 100644 index 00000000..a60d109e --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'Conditionals like #ifNotNilDo: are not ANSI compatible.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/properties.json new file mode 100644 index 00000000..c9539d38 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRAnsiConditionalsRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/group.st new file mode 100644 index 00000000..f34a290f --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/initialize.st new file mode 100644 index 00000000..4867fd82 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/initialize.st @@ -0,0 +1,7 @@ +initialization +initialize + + super initialize. + self + replace: '``@object asString' with: '``@object greaseString'; + replace: '``@object asInteger' with: '``@object greaseInteger' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/name.st new file mode 100644 index 00000000..14c21187 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Convertors' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/rationale.st new file mode 100644 index 00000000..806fe5ac --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'The ANSI standard does not support #asInteger and #asString on Object.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/properties.json new file mode 100644 index 00000000..0e6e4cb4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRAnsiConvertorRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/group.st new file mode 100644 index 00000000..f34a290f --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/initialize.st new file mode 100644 index 00000000..a06d318e --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/initialize.st @@ -0,0 +1,7 @@ +initialization +initialize + + super initialize. + self + replace: '``@block on: `class do: [ | `@temps | ``@.body ]' + with: '``@block on: `class do: [ :err | | `@temps | ``@.body ]' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/name.st new file mode 100644 index 00000000..6d5286e6 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Exceptions' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/rationale.st new file mode 100644 index 00000000..7ec36da6 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'Exception handlers expect exactly one argument in ANSI.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/properties.json new file mode 100644 index 00000000..51375683 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRAnsiExceptionsRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/group.st new file mode 100644 index 00000000..f34a290f --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/initialize.st new file mode 100644 index 00000000..1b87d4ea --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/initialize.st @@ -0,0 +1,13 @@ +initialization +initialize + + super initialize. + self + replace: '`{ :node :context | node isVariable and: [ (Smalltalk includesKey: node name asSymbol) not and: [ context at: ''`receiver'' ifAbsentPut: [ node ]. true ] ] } cr' + with: '`{ :context | context at: ''`receiver'' } nextPut: Character cr'; + replace: '`{ :node :context | node isVariable and: [ (Smalltalk includesKey: node name asSymbol) not and: [ context at: ''`receiver'' ifAbsentPut: [ node ]. true ] ] } lf' + with: '`{ :context | context at: ''`receiver'' } nextPut: Character lf'; + replace: '``@stream nextPut: Character cr; nextPut: Character lf' + with: '``@stream crlf'; + replace: '``@collection writeStream' + with: 'WriteStream on: ``@collection' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/name.st new file mode 100644 index 00000000..50e44acb --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Streams' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/rationale.st new file mode 100644 index 00000000..3d05fb7c --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ '#cr and #lf are not part of the ANSI stream protocol.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/properties.json new file mode 100644 index 00000000..2539d9c8 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRAnsiStreamsRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/group.st new file mode 100644 index 00000000..f34a290f --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/initialize.st new file mode 100644 index 00000000..702a9ad0 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/initialize.st @@ -0,0 +1,26 @@ +initialization +initialize + + super initialize. + self + replace: 'String tab' with: '(String with: Character tab)'; + replace: 'String cr' with: '(String with: Character cr)'; + replace: 'String lf' with: '(String with: Character lf)'; + replace: 'String crlf' with: '(String with: Character cr with: Character lf)'; + replace: 'String space' with: '(String with: Character space)'; + replace: '`@string includesSubString: `@subString' + with: '(`@string indexOfSubCollection: `@subString startingAt: 0) ~= 0'; + replace: '`@string includesSubstring: `@subString' + with: '(`@string indexOfSubCollection: `@subString startingAt: 0) ~= 0'; + replace: '``@string findTokens: ``@arg' byEvaluating: [ :node | + | argument newNode | + newNode := node copy. + argument := newNode arguments first. + argument isLiteralNode ifTrue: [ + argument value isArray + ifTrue: [ argument replaceWith: (RBLiteralNode value: (String withAll: argument value)) ]. + argument value isCharacter + ifTrue: [ argument replaceWith: (RBLiteralNode value: (String with: argument value)) ] ]. + newNode + selector: #subStrings:; + yourself ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/name.st new file mode 100644 index 00000000..31e016a6 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Strings' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/rationale.st new file mode 100644 index 00000000..84577e32 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ '#cr, #crlf, #lf, #space, #tab, #findTokens:, ... are not part of the ANSI string protocol.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/properties.json new file mode 100644 index 00000000..f544f2e7 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRAnsiStringsRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/class/checksClass.st b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/class/checksClass.st new file mode 100644 index 00000000..918ec479 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/class/checksClass.st @@ -0,0 +1,4 @@ +testing - interest +checksClass + + ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/basicCheck..st b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/basicCheck..st new file mode 100644 index 00000000..7d00fbc7 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/basicCheck..st @@ -0,0 +1,11 @@ +running +basicCheck: aClass + + ^ aClass isMeta not + and: [ (aClass includesSelector: #initialize) + and: [ (#(GRObject GRNotification GRNotification GRError RBLintRule RBTransformationRule) noneSatisfy: [ :each | + aClass includesBehavior: (Smalltalk globals at: each) ]) + and: [ aClass class methodDictionary noneSatisfy: [ :each | + matcher + executeTree: each parseTree + initialAnswer: false ] ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/group.st new file mode 100644 index 00000000..b4981dc4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st new file mode 100644 index 00000000..f42fb7c0 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st @@ -0,0 +1,8 @@ +initialization +initialize + + super initialize. + matcher := RBParseTreeSearcher new. + matcher + matches: 'self basicNew initialize' + do: [ :node :answer | true ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/name.st new file mode 100644 index 00000000..693fa6d6 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ '#basicNew initialize is missing' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/rationale.st new file mode 100644 index 00000000..22a02ade --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ '#initialize is not called implicitly when sending #new to an object in all Smalltalk dialects. Consider subclassing GRObject.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json new file mode 100644 index 00000000..67a42ffc --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeBlockLintRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "matcher" + ], + "name" : "GRBasicNewInitializeMissingRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/afterCheck.mappings..st b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/afterCheck.mappings..st new file mode 100644 index 00000000..495d1401 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/afterCheck.mappings..st @@ -0,0 +1,15 @@ +hooks +afterCheck: aNode mappings: mappingDict + + | method | + method := aNode methodNode. + " This ensures that the description is of the form ClassName>>#selector:" + (aNode arguments first isLiteralNode + and: [ aNode arguments first value isString + and: [ method methodClass name greaseString , '>>#' , method selector greaseString ~= aNode arguments first value ] ]) ifTrue: [ ^ true ]. + + " This ensures that the description is a string and ends with a dot." + ^ (aNode arguments size > 1 + and: [ aNode arguments second isLiteralNode + and: [ aNode arguments second value isString + and: [ (aNode arguments second value endsWithSubCollection: '.') not ] ] ]) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/group.st new file mode 100644 index 00000000..b5813499 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'Grease Formatting' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st new file mode 100644 index 00000000..4ee4851c --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st @@ -0,0 +1,8 @@ +initialization +initialize + + super initialize. + self + matchesAny: #( + '``@receiver greaseDeprecatedApi: ``@arg1' + '``@receiver greaseDeprecatedApi: ``@arg1 details: ``@arg2' ) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/name.st new file mode 100644 index 00000000..554083f4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Invalid use of deprecated API protocol.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/rationale.st new file mode 100644 index 00000000..aeabf8ad --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'Make sure to follow the following pattern: self greaseDeprecatedApi: ''Class>>#selector'' details: ''Some description''.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json new file mode 100644 index 00000000..87feb3c9 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeParseTreeLintRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRDeprecatedApiProtocolRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/class/checksMethod.st b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/class/checksMethod.st new file mode 100644 index 00000000..c0b5961f --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/class/checksMethod.st @@ -0,0 +1,4 @@ +testing - interest +checksMethod + + ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/basicCheck..st b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/basicCheck..st new file mode 100644 index 00000000..1b7b4c47 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/basicCheck..st @@ -0,0 +1,10 @@ +running +basicCheck: aMethod + + ^ (aMethod methodClass isMeta not + and: [ (aMethod selector beginsWithSubCollection: #initialize) + and: [ aMethod selector numArgs > 0 + and: [ aMethod methodClass ~= GRObject + and: [ (aMethod methodClass includesBehavior: GRObject) + and: [ (aMethod superMessages includes: aMethod selector) not + and: [ aMethod selfMessages noneSatisfy: [ :each | each beginsWithSubCollection: #initialize ] ] ] ] ] ] ]) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/group.st new file mode 100644 index 00000000..b4981dc4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/name.st new file mode 100644 index 00000000..6386a8fd --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Invalid object initialization' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/rationale.st new file mode 100644 index 00000000..9ce37a52 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'Initialize methods are required to call the designated initializer or its super implementation.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/properties.json new file mode 100644 index 00000000..4cbd7077 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeBlockLintRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRInvalidObjectInitializationRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/class/checksNode.st b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/class/checksNode.st new file mode 100644 index 00000000..5e68f2ca --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/class/checksNode.st @@ -0,0 +1,4 @@ +testing - interest +checksNode + + ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/basicCheck..st b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/basicCheck..st new file mode 100644 index 00000000..428bcd1c --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/basicCheck..st @@ -0,0 +1,4 @@ +running +basicCheck: anEntity + + ^ anEntity isMessage and:[ self methodNames includes: anEntity selector ] diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/group.st new file mode 100644 index 00000000..b4981dc4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/methodNames.st b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/methodNames.st new file mode 100644 index 00000000..25a16ed6 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/methodNames.st @@ -0,0 +1,4 @@ +private +methodNames + + ^ #( anyOne withIndexCollect: ) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/name.st new file mode 100644 index 00000000..cc5e5c47 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Uses non portable message' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/rationale.st new file mode 100644 index 00000000..bc7272e4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'Some methods are not portable accross different Smalltalk dialects.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/properties.json new file mode 100644 index 00000000..95a60d91 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeBlockLintRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRNonPortableMessageRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/group.st new file mode 100644 index 00000000..b4981dc4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st new file mode 100644 index 00000000..5e8d416d --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st @@ -0,0 +1,9 @@ +initialization +initialize + + super initialize. + self + replace: '`@collection beginsWith: `@subCollection' + with: '`@collection greaseBeginsWith: `@subCollection'; + replace: '`@collection endsWith: `@subCollection' + with: '`@collection greaseEndsWith: `@subCollection' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/name.st new file mode 100644 index 00000000..a318a869 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Collections' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/rationale.st new file mode 100644 index 00000000..df5a43be --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ '#beginsWith: and #endsWith: are not portable.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/properties.json new file mode 100644 index 00000000..2a5a777c --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRNotPortableCollectionsRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/README.md new file mode 100644 index 00000000..bca4d093 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/README.md @@ -0,0 +1 @@ +I detect senders of Object >> #in: diff --git a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/group.st new file mode 100644 index 00000000..b4981dc4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/initialize.st new file mode 100644 index 00000000..d51d0570 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/initialize.st @@ -0,0 +1,7 @@ +initialization +initialize + + super initialize. + self + replace: '``@object in: [ :`var | | `@temps | `@.statements ]' + with: '[ :`var | | `@temps | `@.statements ] value: ``@object' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/name.st new file mode 100644 index 00000000..914d48df --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Object>>#in:' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/rationale.st new file mode 100644 index 00000000..944aa7c5 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'Object>>#in: has different semantics on different Smalltalk dialects.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/properties.json new file mode 100644 index 00000000..96ac6c53 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "pmm 9/12/2009 10:37", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRObjectInRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/class/isVisible.st new file mode 100644 index 00000000..0e3a239e --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/class/isVisible.st @@ -0,0 +1,4 @@ +testing +isVisible + + ^ self name ~= #GRReSlimeBlockLintRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/properties.json new file mode 100644 index 00000000..806ebfd3 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "JohanBrichau 3/11/2024 21:53", + "super" : "ReAbstractRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRReSlimeBlockLintRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/class/isVisible.st new file mode 100644 index 00000000..2d2913fb --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/class/isVisible.st @@ -0,0 +1,4 @@ +testing +isVisible + + ^ self name ~= #GRReSlimeParseTreeLintRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/properties.json new file mode 100644 index 00000000..e5d01d93 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "ReNodeMatchRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRReSlimeParseTreeLintRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/class/isVisible.st new file mode 100644 index 00000000..b84d2a50 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/class/isVisible.st @@ -0,0 +1,4 @@ +testing +isVisible + + ^ self name ~= #GRReSlimeTransformationRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/properties.json new file mode 100644 index 00000000..eaa3dd3e --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "ReNodeRewriteRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRReSlimeTransformationRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/class/checksMethod.st b/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/class/checksMethod.st new file mode 100644 index 00000000..c0b5961f --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/class/checksMethod.st @@ -0,0 +1,4 @@ +testing - interest +checksMethod + + ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/basicCheck..st b/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/basicCheck..st new file mode 100644 index 00000000..18b14d25 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/basicCheck..st @@ -0,0 +1,8 @@ +running +basicCheck: aMethod + + (aMethod methodClass instanceSide category indexOfSubCollection: #'-Pharo-' startingAt: 1) ~= 0 ifTrue: [ + "classes in a -Pharo- package are per definition not portable and therefore allowed to use non-portable classes" + ^ false ]. + + ^ aMethod literals anySatisfy: [ :each | each isVariableBinding and: [ self classNames includes: each key ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/name.st new file mode 100644 index 00000000..510ca2ab --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Uses not portable class' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/properties.json new file mode 100644 index 00000000..d21602c8 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRUsesNotPortableClassRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRReferencesNotPortableClassRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/README.md new file mode 100644 index 00000000..acb02dfd --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/README.md @@ -0,0 +1 @@ +For compatibility for versions of Seaside older than 3.5.6 \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/class/isVisible.st new file mode 100644 index 00000000..116356fd --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/class/isVisible.st @@ -0,0 +1,4 @@ +testing +isVisible + + ^ self name ~= #GRSlimeBlockLintRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/properties.json new file mode 100644 index 00000000..667ba1a9 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "JohanBrichau 3/11/2024 21:54", + "super" : "RBBlockLintRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRSlimeBlockLintRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/README.md new file mode 100644 index 00000000..acb02dfd --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/README.md @@ -0,0 +1 @@ +For compatibility for versions of Seaside older than 3.5.6 \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/class/isVisible.st new file mode 100644 index 00000000..5d72890a --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/class/isVisible.st @@ -0,0 +1,4 @@ +testing +isVisible + + ^ self name ~= #GRSlimeParseTreeLintRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/properties.json new file mode 100644 index 00000000..eab60df9 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "JohanBrichau 3/11/2024 21:54", + "super" : "RBParseTreeLintRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRSlimeParseTreeLintRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/README.md new file mode 100644 index 00000000..acb02dfd --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/README.md @@ -0,0 +1 @@ +For compatibility for versions of Seaside older than 3.5.6 \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/class/isVisible.st new file mode 100644 index 00000000..b60e68d4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/class/isVisible.st @@ -0,0 +1,4 @@ +testing +isVisible + + ^ self name ~= #GRSlimeTransformationRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/properties.json new file mode 100644 index 00000000..d528ef91 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "JohanBrichau 3/11/2024 21:54", + "super" : "RBTransformationRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRSlimeTransformationRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/class/checksClass.st b/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/class/checksClass.st new file mode 100644 index 00000000..918ec479 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/class/checksClass.st @@ -0,0 +1,4 @@ +testing - interest +checksClass + + ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/basicCheck..st b/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/basicCheck..st new file mode 100644 index 00000000..1091897f --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/basicCheck..st @@ -0,0 +1,4 @@ +running +basicCheck: aClass + + ^ aClass allSuperclasses anySatisfy: [ :each | self classNames includes: each name ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/name.st new file mode 100644 index 00000000..65a2945a --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Subclasses not portable class' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/properties.json new file mode 100644 index 00000000..65aeb32b --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRUsesNotPortableClassRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRSubclassesNotPortableClassRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/README.md new file mode 100644 index 00000000..6f3d9062 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/README.md @@ -0,0 +1 @@ +I check for TestCase >> #fail. \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/afterCheck.mappings..st b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/afterCheck.mappings..st new file mode 100644 index 00000000..874f1381 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/afterCheck.mappings..st @@ -0,0 +1,8 @@ +hooks +afterCheck: aNode mappings: mappingsDict + + aNode methodNode methodClass isMeta + ifTrue: [ ^ false ]. + (aNode methodNode methodClass allSuperclasses includes: (Smalltalk at: #TestCase)) + ifTrue: [ ^ true ]. + ^ false \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/group.st new file mode 100644 index 00000000..eb721d8e --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'SUnit Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/initialize.st new file mode 100644 index 00000000..097ff5a1 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/initialize.st @@ -0,0 +1,7 @@ +initialization +initialize + + super initialize. + self + replace: 'self fail' + with: 'self assert: false' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/name.st new file mode 100644 index 00000000..0dd472fc --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'TestCase >> #fail' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/rationale.st new file mode 100644 index 00000000..4e358c3e --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'TestCase >> #fail is not portable.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/properties.json new file mode 100644 index 00000000..cd52efa5 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "pmm 8/17/2014 11:24", + "super" : "GRReSlimeTransformationRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRTestAssertionsRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.st new file mode 100644 index 00000000..b4981dc4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.st new file mode 100644 index 00000000..6ca1e900 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.st @@ -0,0 +1,7 @@ +initialization +initialize + + super initialize. + self matchesAny: #( + '`@receiver canPerform: `@selector' + '`@receiver canUnderstand: `@selector' ) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.st new file mode 100644 index 00000000..a7805d06 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Sends #canPerform: or #canUnderstand:' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.st new file mode 100644 index 00000000..4332f561 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ '#canPerform: or #canUnderstand: are not portable.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json new file mode 100644 index 00000000..70456891 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeParseTreeLintRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRUsesCanPerformOrUnderstandRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/afterCheck.mappings..st b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/afterCheck.mappings..st new file mode 100644 index 00000000..4648081c --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/afterCheck.mappings..st @@ -0,0 +1,4 @@ +hooks +afterCheck: aNode mappings: mappingDict + + ^ aNode methodNode selector = #hash \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/group.st new file mode 100644 index 00000000..b4981dc4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/initialize.st new file mode 100644 index 00000000..190c57e0 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/initialize.st @@ -0,0 +1,5 @@ +initialization +initialize + + super initialize. + self matches: '`@receiver class hash' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/name.st new file mode 100644 index 00000000..2a762ed7 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + + ^ 'Uses its class for hash' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/rationale.st new file mode 100644 index 00000000..018489ab --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'The hash of an object should not depend on the hash of its class as some Smalltalk have non-constant class hashes.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/properties.json new file mode 100644 index 00000000..c679f3eb --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeParseTreeLintRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRUsesClassForHashRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isAbstract.st b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isAbstract.st new file mode 100644 index 00000000..7d1d20cc --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isAbstract.st @@ -0,0 +1,4 @@ +testing +isAbstract + + ^ self name = #GRUsesNotPortableClassRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isVisible.st new file mode 100644 index 00000000..680a15af --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isVisible.st @@ -0,0 +1,4 @@ +testing +isVisible + + ^ self name ~= #GRUsesNotPortableClassRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/classNames.st b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/classNames.st new file mode 100644 index 00000000..0487cbe8 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/classNames.st @@ -0,0 +1,4 @@ +private +classNames + + ^ #( Delay MIMEDocument Monitor Mutex MutexSet Random Semaphore TimeStamp Timestamp MessageSend ) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/group.st new file mode 100644 index 00000000..b4981dc4 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/group.st @@ -0,0 +1,4 @@ +accessing +group + + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/rationale.st new file mode 100644 index 00000000..e9a097fe --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/rationale.st @@ -0,0 +1,4 @@ +accessing +rationale + + ^ 'Some classes are not portable accross different Smalltalk dialects.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/properties.json new file mode 100644 index 00000000..2965264e --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "GRReSlimeBlockLintRule", + "category" : "Grease-Pharo110-Slime", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "GRUsesNotPortableClassRule", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/monticello.meta/categories.st b/repository/Grease-Pharo110-Slime.package/monticello.meta/categories.st new file mode 100644 index 00000000..ff4f5aed --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/monticello.meta/categories.st @@ -0,0 +1 @@ +SystemOrganization addCategory: #'Grease-Pharo110-Slime'! diff --git a/repository/Grease-Pharo110-Slime.package/monticello.meta/initializers.st b/repository/Grease-Pharo110-Slime.package/monticello.meta/initializers.st new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo110-Slime.package/monticello.meta/package b/repository/Grease-Pharo110-Slime.package/monticello.meta/package new file mode 100644 index 00000000..7cd09a28 --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'Grease-Pharo110-Slime') \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/properties.json b/repository/Grease-Pharo110-Slime.package/properties.json new file mode 100644 index 00000000..6f31cf5a --- /dev/null +++ b/repository/Grease-Pharo110-Slime.package/properties.json @@ -0,0 +1 @@ +{ } \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/.filetree b/repository/Grease-Pharo40-Slime.package/.filetree new file mode 100644 index 00000000..8998102c --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/.filetree @@ -0,0 +1,4 @@ +{ + "noMethodMetaData" : true, + "separateMethodMetaAndSource" : false, + "useCypressPropertiesFile" : true } diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/group.st new file mode 100644 index 00000000..011762ad --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/group.st @@ -0,0 +1,3 @@ +accessing +group + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/initialize.st new file mode 100644 index 00000000..a39505e1 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/initialize.st @@ -0,0 +1,18 @@ +initialization +initialize + super initialize. + self rewriteRule + replace: '``@expr1 and: [ | `@temp2 | ``@expr2 ] and: [ | `@temp3 | ``@expr3 ]' + with: '``@expr1 and: [ | `@temp2 | ``@expr2 and: [ | `@temp3 | ``@expr3 ] ]'; + replace: '``@expr1 and: [ | `@temp2 | ``@expr2 ] and: [ | `@temp3 | ``@expr3 ] and: [ | `@temp4 | ``@expr4 ]' + with: '``@expr1 and: [ | `@temp2 | ``@expr2 and: [ | `@temp3 | ``@expr3 and: [ | `@temp4 | ``@expr4 ] ] ]'; + replace: '``@expr1 and: [ | `@temp2 | ``@expr2 ] and: [ | `@temp3 | ``@expr3 ] and: [ | `@temp4 | ``@expr4 ] and: [ | `@temp5 | ``@expr5 ]' + with: '``@expr1 and: [ | `@temp2 | ``@expr2 and: [ | `@temp3 | ``@expr3 and: [ | `@temp4 | ``@expr4 and: [ | `@temp5 | ``@expr5 ] ] ] ]'; + replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ]' + with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 ] ]'; + replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ] or: [ | `@temp4 | ``@expr4 ]' + with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 or: [ | `@temp4 | ``@expr4 ] ] ]'; + replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ] or: [ | `@temp4 | ``@expr4 ] or: [ | `@temp5 | ``@expr5 ]' + with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 or: [ | `@temp4 | ``@expr4 or: [ | `@temp5 | ``@expr5 ] ] ] ]'; + replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ] or: [ | `@temp4 | ``@expr4 ] or: [ | `@temp5 | ``@expr5 ] or: [ | `@temp6 | ``@expr6 ]' + with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 or: [ | `@temp4 | ``@expr4 or: [ | `@temp5 | ``@expr5 or: [ | `@temp6 | ``@expr6 ] ] ] ] ]' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/name.st new file mode 100644 index 00000000..5964bd28 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'Booleans' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/rationale.st new file mode 100644 index 00000000..1f109f56 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/instance/rationale.st @@ -0,0 +1,3 @@ +accessing +rationale + ^ '#and:and: and #or:or: are not ANSI compatible.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/properties.json new file mode 100644 index 00000000..17106ce7 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiBooleansRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "GRAnsiBooleansRule", + "pools" : [ + ], + "super" : "GRSlimeTransformationRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/group.st new file mode 100644 index 00000000..011762ad --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/group.st @@ -0,0 +1,3 @@ +accessing +group + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st new file mode 100644 index 00000000..2742a93f --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st @@ -0,0 +1,13 @@ +initialization +initialize + super initialize. + self rewriteRule + replace: 'Character value: ``@expr' with: 'Character codePoint: ``@expr'; + replace: '`#source to: `#target' + withValueFrom: [ :node | + RBLiteralNode value: (String streamContents: [ :stream | + node receiver value codePoint to: node arguments first value codePoint do: [ :code | + stream nextPut: (Character codePoint: code) ] ]) ] + when: [ :node | + node receiver value isCharacter + and: [ node arguments first value isCharacter ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/name.st new file mode 100644 index 00000000..a1b3f88e --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'Characters' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/rationale.st new file mode 100644 index 00000000..e061dd71 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/instance/rationale.st @@ -0,0 +1,3 @@ +accessing +rationale + ^ 'Character value: 64 and $a to: $b is not ANSI compatible.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/properties.json new file mode 100644 index 00000000..024f4887 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiCharactersRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "GRAnsiCharactersRule", + "pools" : [ + ], + "super" : "GRSlimeTransformationRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/group.st new file mode 100644 index 00000000..011762ad --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/group.st @@ -0,0 +1,3 @@ +accessing +group + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/initialize.st new file mode 100644 index 00000000..1e93cbc8 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/initialize.st @@ -0,0 +1,30 @@ +initialization +initialize + super initialize. + self rewriteRule + replace: '``@collection withIndexDo: [ :`each :`index | | `@temps | ``@.body ]' + with: '``@collection keysAndValuesDo: [ :`index :`each | | `@temps | ``@.body ]'; + replace: '``@collection doWithIndex: [ :`each :`index | | `@temps | ``@.body ]' + with: '``@collection keysAndValuesDo: [ :`index :`each | | `@temps | ``@.body ]'; + replace: '``@collection collect: ``@block1 thenDo: ``@block2' + with: '(``@collection collect: ``@block1) do: ``@block2'; + replace: '``@collection collect: ``@block1 thenSelect: ``@block2' + with: '(``@collection collect: ``@block1) select: ``@block2'; + replace: '``@collection pairsDo: [ :`t1 :`t2 | ``@.statements ]' + with: '1 to: ``@collection size by: 2 do: [ :index | | `t1 `t2 | `t1 := ``@collection at: index. `t2 := ``@collection at: index + 1. ``@.statements ]'; + replace: '``@collection reject: ``@block1 thenDo: ``@block2' + with: '(``@collection reject: ``@block1) do: ``@block2'; + replace: '``@collection select: ``@block1 thenCollect: ``@block2' + with: '(``@collection select: ``@block1) collect: ``@block2'; + replace: '``@collection select: ``@block1 thenDo: ``@block2' + with: '(``@collection select: ``@block1) do: ``@block2'; + replace: '``@collection detectSum: [ :`t1 | ``@.statements. `.last ]' + with: '``@collection inject: 0 into: [ :sum :`t1 | ``@.statements. sum + (`.last) ]'; + replace: '``@collection valuesDo: ``@block' + with: '``@collection do: ``@block'; + replace: '``@collection reversed' + with: '``@collection reverse'; + replace: '``@dictionary keysSortedSafely' + with: '``@dictionary keys asSortedCollection'; + replace: '``@collectionClass new: ``@size withAll: ``@character' + with: '(``@collectionClass new: ``@size) atAllPut: ``@character' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/name.st new file mode 100644 index 00000000..fba52990 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'Collections' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/rationale.st new file mode 100644 index 00000000..8470c14b --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/instance/rationale.st @@ -0,0 +1,3 @@ +accessing +rationale + ^ 'Some collection methods are not ANSI compatible: #pairsDo:, #collect:thenDo:, #reject:thenDo:, #detectSum:, #valuesDo:, #keysSortedSafely, #new:withAll:, etc.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/properties.json new file mode 100644 index 00000000..a6428b55 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiCollectionsRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "GRAnsiCollectionsRule", + "pools" : [ + ], + "super" : "GRSlimeTransformationRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/group.st new file mode 100644 index 00000000..011762ad --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/group.st @@ -0,0 +1,3 @@ +accessing +group + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/initialize.st new file mode 100644 index 00000000..fe291c53 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/initialize.st @@ -0,0 +1,16 @@ +initialization +initialize + super initialize. + self rewriteRule + replace: '``@boolean ifNotNilDo: ``@block' + with: '``@boolean ifNotNil: ``@block'; + replace: '``@boolean ifNotNilDo: ``@block1 ifNil: ``@block2' + with: '``@boolean ifNotNil: ``@block1 ifNil: ``@block2'; + replace: '``@boolean ifNil: ``@block1 ifNotNilDo: ``@block2' + with: '``@boolean ifNil: ``@block1 ifNotNil: ``@block2'; + replace: '``@boolean ifNotNil: [ | `@temps | ``@.body ]' + with: '``@boolean ifNotNil: [ :arg | | `@temps | ``@.body ]'; + replace: '``@boolean ifNotNil: [ | `@temps | ``@.body ] ifNil: ``@block ' + with: '``@boolean ifNotNil: [ :arg | | `@temps | ``@.body ] ifNil: ``@block'; + replace: '``@boolean ifNil: ``@block ifNotNil: [ | `@temps | ``@.body ]' + with: '``@boolean ifNil: ``@block ifNotNil: [ :arg | | `@temps | ``@.body ]' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/name.st new file mode 100644 index 00000000..4693610d --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'Conditionals' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/rationale.st new file mode 100644 index 00000000..42b2134b --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/instance/rationale.st @@ -0,0 +1,3 @@ +accessing +rationale + ^ 'Conditionals like #ifNotNilDo: are not ANSI compatible.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/properties.json new file mode 100644 index 00000000..ea508836 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiConditionalsRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "GRAnsiConditionalsRule", + "pools" : [ + ], + "super" : "GRSlimeTransformationRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/group.st new file mode 100644 index 00000000..011762ad --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/group.st @@ -0,0 +1,3 @@ +accessing +group + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/initialize.st new file mode 100644 index 00000000..bcd5fbac --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/initialize.st @@ -0,0 +1,6 @@ +initialization +initialize + super initialize. + self rewriteRule + replace: '``@object asString' with: '``@object greaseString'; + replace: '``@object asInteger' with: '``@object greaseInteger' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/name.st new file mode 100644 index 00000000..f3dd2a4d --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'Convertors' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/rationale.st new file mode 100644 index 00000000..fa9200b0 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/instance/rationale.st @@ -0,0 +1,3 @@ +accessing +rationale + ^ 'The ANSI standard does not support #asInteger and #asString on Object.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/properties.json new file mode 100644 index 00000000..685c4620 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiConvertorRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "GRAnsiConvertorRule", + "pools" : [ + ], + "super" : "GRSlimeTransformationRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/group.st new file mode 100644 index 00000000..011762ad --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/group.st @@ -0,0 +1,3 @@ +accessing +group + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/initialize.st new file mode 100644 index 00000000..f0aadb85 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/initialize.st @@ -0,0 +1,6 @@ +initialization +initialize + super initialize. + self rewriteRule + replace: '``@block on: `class do: [ | `@temps | ``@.body ]' + with: '``@block on: `class do: [ :err | | `@temps | ``@.body ]' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/name.st new file mode 100644 index 00000000..e86669e1 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'Exceptions' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/rationale.st new file mode 100644 index 00000000..392fdedd --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/instance/rationale.st @@ -0,0 +1,3 @@ +accessing +rationale + ^ 'Exception handlers expect exactly one argument in ANSI.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/properties.json new file mode 100644 index 00000000..61badeb3 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiExceptionsRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "GRAnsiExceptionsRule", + "pools" : [ + ], + "super" : "GRSlimeTransformationRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/group.st new file mode 100644 index 00000000..011762ad --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/group.st @@ -0,0 +1,3 @@ +accessing +group + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/initialize.st new file mode 100644 index 00000000..826e1af2 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/initialize.st @@ -0,0 +1,12 @@ +initialization +initialize + super initialize. + self rewriteRule + replace: '`{ :node :context | node isVariable and: [ (Smalltalk includesKey: node name asSymbol) not and: [ context at: ''`receiver'' ifAbsentPut: [ node ]. true ] ] } cr' + with: '`{ :context | context at: ''`receiver'' } nextPut: Character cr'; + replace: '`{ :node :context | node isVariable and: [ (Smalltalk includesKey: node name asSymbol) not and: [ context at: ''`receiver'' ifAbsentPut: [ node ]. true ] ] } lf' + with: '`{ :context | context at: ''`receiver'' } nextPut: Character lf'; + replace: '``@stream nextPut: Character cr; nextPut: Character lf' + with: '``@stream crlf'; + replace: '``@collection writeStream' + with: 'WriteStream on: ``@collection' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/name.st new file mode 100644 index 00000000..aa09ac20 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'Streams' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/rationale.st new file mode 100644 index 00000000..57a15ba8 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/instance/rationale.st @@ -0,0 +1,3 @@ +accessing +rationale + ^ '#cr and #lf are not part of the ANSI stream protocol.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/properties.json new file mode 100644 index 00000000..25837c1e --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiStreamsRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "GRAnsiStreamsRule", + "pools" : [ + ], + "super" : "GRSlimeTransformationRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/group.st new file mode 100644 index 00000000..011762ad --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/group.st @@ -0,0 +1,3 @@ +accessing +group + ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/initialize.st new file mode 100644 index 00000000..af1892f0 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/initialize.st @@ -0,0 +1,24 @@ +initialization +initialize + super initialize. + self rewriteRule + replace: 'String tab' with: '(String with: Character tab)'; + replace: 'String cr' with: '(String with: Character cr)'; + replace: 'String lf' with: '(String with: Character lf)'; + replace: 'String crlf' with: '(String with: Character cr with: Character lf)'; + replace: 'String space' with: '(String with: Character space)'; + replace: '`@string includesSubString: `@subString' + with: '(`@string indexOfSubCollection: `@subString startingAt: 0) ~= 0'; + replace: '`@string includesSubstring: `@subString' + with: '(`@string indexOfSubCollection: `@subString startingAt: 0) ~= 0'; + replace: '``@string findTokens: ``@arg' withValueFrom: [ :node | + | argument | + argument := node arguments first. + argument isLiteralNode ifTrue: [ + argument value isArray + ifTrue: [ argument replaceWith: (RBLiteralNode value: (String withAll: argument value)) ]. + argument value isCharacter + ifTrue: [ argument replaceWith: (RBLiteralNode value: (String with: argument value)) ] ]. + node + selector: #subStrings:; + yourself ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/name.st new file mode 100644 index 00000000..cdc89723 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'Strings' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/rationale.st new file mode 100644 index 00000000..a42a193e --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/instance/rationale.st @@ -0,0 +1,3 @@ +accessing +rationale + ^ '#cr, #crlf, #lf, #space, #tab, #findTokens:, ... are not part of the ANSI string protocol.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/properties.json new file mode 100644 index 00000000..d2d36fa3 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRAnsiStringsRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "GRAnsiStringsRule", + "pools" : [ + ], + "super" : "GRSlimeTransformationRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/checkClass..st b/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/checkClass..st new file mode 100644 index 00000000..b5489e28 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/checkClass..st @@ -0,0 +1,13 @@ +running +checkClass: aContext + (aContext isMeta not + and: [ (aContext includesSelector: #initialize) + and: [ (#(GRObject GRNotification GRNotification GRError RBLintRule RBTransformationRule) noneSatisfy: [ :each | + aContext includesBehavior: (Smalltalk globals at: each) ]) + and: [ aContext class methodDictionary noneSatisfy: [ :each | + matcher + executeTree: each parseTree + initialAnswer: false ] ] ] ]) ifTrue: [ + result + addClass: aContext + selector: #initialize ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/group.st new file mode 100644 index 00000000..7e52dd3b --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/group.st @@ -0,0 +1,3 @@ +accessing +group + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st new file mode 100644 index 00000000..10faf254 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st @@ -0,0 +1,7 @@ +initialization +initialize + super initialize. + matcher := RBParseTreeSearcher new. + matcher + matches: 'self basicNew initialize' + do: [ :node :answer | true ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/name.st new file mode 100644 index 00000000..5e0a6113 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ '#basicNew initialize is missing' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/rationale.st new file mode 100644 index 00000000..996d9872 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/instance/rationale.st @@ -0,0 +1,3 @@ +accessing +rationale + ^ '#initialize is not called implicitely when sending #new to an object in other Smalltalk dialects. Consider subclassing GRObject.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json new file mode 100644 index 00000000..40fdf0a3 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + "matcher" ], + "name" : "GRBasicNewInitializeMissingRule", + "pools" : [ + ], + "super" : "GRSlimeBlockLintRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/group.st new file mode 100644 index 00000000..303be069 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/group.st @@ -0,0 +1,3 @@ +accessing +group + ^ 'Grease Formatting' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/initialize.st new file mode 100644 index 00000000..c9bda0fc --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/initialize.st @@ -0,0 +1,23 @@ +initialization +initialize + super initialize. + self matcher + matches: '[ :`@args | | `@temps | ``@.stmts ]' + do: [ :node :answer | + answer isNil + ifFalse: [ answer ] + ifTrue: [ + | source | + source := node source. + (source notNil and: [ node left notNil and: [ node right notNil ] ]) ifTrue: [ + | before after | + before := source at: node left + 1 ifAbsent: [ $ ]. + after := source at: node right - 1 ifAbsent: [ $ ]. + (before isSeparator and: [ after isSeparator ]) + ifFalse: [ node ] + ifTrue: [ + node bar notNil ifTrue: [ + before := source at: node bar - 1 ifAbsent: [ $ ]. + after := source at: node bar + 1 ifAbsent: [ $ ]. + (before isSeparator and: [ after isSeparator ]) + ifFalse: [ node ] ] ] ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/name.st new file mode 100644 index 00000000..4c9c6708 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'Block formatting' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/rationale.st new file mode 100644 index 00000000..3c042a50 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/instance/rationale.st @@ -0,0 +1,3 @@ +accessing +rationale + ^ 'There should spaces at the beginning and end of block.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/properties.json new file mode 100644 index 00000000..4e3d8c69 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRBlockFormattingRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "GRBlockFormattingRule", + "pools" : [ + ], + "super" : "GRSlimeParseTreeLintRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/checkMethod..st b/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/checkMethod..st new file mode 100644 index 00000000..bec7aeb7 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/checkMethod..st @@ -0,0 +1,20 @@ +running +checkMethod: aContext + | matches | + matches := matcher + executeTree: aContext parseTree + initialAnswer: OrderedCollection new. + matches do: [ :node | + " This ensures that the description is of the form ClassName>>#selector:" + (node arguments first isLiteralNode + and: [ node arguments first value isString + and: [ aContext methodClass name greaseString , '>>#' , aContext selector greaseString ~= node arguments first value ] ]) ifTrue: [ + result addClass: aContext methodClass selector: aContext selector. + result addSearchString: node arguments first value ]. + " This ensures that the description is a string and ends with a dot." + (node arguments size > 1 + and: [ node arguments second isLiteralNode + and: [ node arguments second value isString + and: [ (node arguments second value endsWithSubCollection: '.') not ] ] ]) ifTrue: [ + result addClass: aContext methodClass selector: aContext selector. + result addSearchString: node arguments second value ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/group.st new file mode 100644 index 00000000..303be069 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/group.st @@ -0,0 +1,3 @@ +accessing +group + ^ 'Grease Formatting' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st new file mode 100644 index 00000000..64cfada8 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st @@ -0,0 +1,9 @@ +initialization +initialize + super initialize. + matcher := RBParseTreeSearcher new. + matcher + matchesAnyOf: #( + '``@receiver greaseDeprecatedApi: ``@arg1' + '``@receiver greaseDeprecatedApi: ``@arg1 details: ``@arg2' ) + do: [ :node :answer | answer add: node; yourself ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/name.st new file mode 100644 index 00000000..516849b7 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'Invalid use of deprecated API protocol.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/rationale.st new file mode 100644 index 00000000..9bff5427 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/instance/rationale.st @@ -0,0 +1,3 @@ +accessing +rationale + ^ 'Make sure to follow the following pattern: self greaseDeprecatedApi: ''Class>>#selector'' details: ''Some description''.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json new file mode 100644 index 00000000..cf854ca6 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + "matcher" ], + "name" : "GRDeprecatedApiProtocolRule", + "pools" : [ + ], + "super" : "GRSlimeBlockLintRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/checkMethod..st b/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/checkMethod..st new file mode 100644 index 00000000..0bc1862a --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/checkMethod..st @@ -0,0 +1,12 @@ +running +checkMethod: aContext + | periods position | + aContext parseTree nodesDo: [ :node | + (node isSequence and: [ node periods notEmpty ]) ifTrue: [ + periods := OrderedCollection withAll: node periods. + 1 to: node statements size - 1 do: [ :index | + position := periods removeFirst. + ((node statements at: index) stop < position and: [ position < (node statements at: index + 1) start ]) + ifFalse: [ ^ result addClass: aContext methodClass selector: aContext selector ] ]. + (periods isEmpty or: [ periods size = 1 and: [ node statements notEmpty and: [ node statements last stop < periods first ] ] ]) + ifFalse: [ ^ result addClass: aContext methodClass selector: aContext selector ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/group.st new file mode 100644 index 00000000..7e52dd3b --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/group.st @@ -0,0 +1,3 @@ +accessing +group + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/name.st new file mode 100644 index 00000000..3f4db678 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'Empty Statements' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/rationale.st new file mode 100644 index 00000000..252dd280 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/rationale.st @@ -0,0 +1,3 @@ +accessing +rationale + ^ 'Empty statements are not supported by most Smalltalk implementations.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/resetResult.st b/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/resetResult.st new file mode 100644 index 00000000..5b87472b --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/instance/resetResult.st @@ -0,0 +1,4 @@ +running +resetResult + super resetResult. + result addSearchString: '..'; addSearchString: '.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/properties.json new file mode 100644 index 00000000..48dd059b --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GREmptyStatementsRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "GREmptyStatementsRule", + "pools" : [ + ], + "super" : "GRSlimeBlockLintRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/checkMethod..st b/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/checkMethod..st new file mode 100644 index 00000000..63c04fdc --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/checkMethod..st @@ -0,0 +1,10 @@ +running +checkMethod: aContext + (aContext methodClass isMeta not + and: [ (aContext selector beginsWithSubCollection: #initialize) + and: [ aContext selector numArgs > 0 + and: [ aContext methodClass ~= GRObject + and: [ (aContext methodClass includesBehavior: GRObject) + and: [ (aContext superMessages includes: aContext selector) not + and: [ aContext selfMessages noneSatisfy: [ :each | each beginsWithSubCollection: #initialize ] ] ] ] ] ] ]) + ifTrue: [ result addClass: aContext methodClass selector: aContext selector ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/group.st new file mode 100644 index 00000000..7e52dd3b --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/group.st @@ -0,0 +1,3 @@ +accessing +group + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/name.st new file mode 100644 index 00000000..d814b293 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'Invalid object initialization' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/rationale.st new file mode 100644 index 00000000..7b2fed07 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/instance/rationale.st @@ -0,0 +1,3 @@ +accessing +rationale + ^ 'Initialize methods are required to call the designated initializer or its super implementation.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/properties.json new file mode 100644 index 00000000..53d242ca --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRInvalidObjectInitializationRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "GRInvalidObjectInitializationRule", + "pools" : [ + ], + "super" : "GRSlimeBlockLintRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/checkClass..st b/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/checkClass..st new file mode 100644 index 00000000..4c871460 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/checkClass..st @@ -0,0 +1,12 @@ +running +checkClass: aContext + | selectors | + selectors := self methodNames + inject: Set new + into: [ :set :each | + set + addAll: (aContext whichSelectorsReferTo: each); + yourself ]. + selectors do: [ :each | result addClass: aContext selector: each ]. + selectors isEmpty + ifFalse: [ result searchStrings: self methodNames ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/group.st new file mode 100644 index 00000000..7e52dd3b --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/group.st @@ -0,0 +1,3 @@ +accessing +group + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/methodNames.st b/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/methodNames.st new file mode 100644 index 00000000..7bfd5f10 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/methodNames.st @@ -0,0 +1,3 @@ +private +methodNames + ^ #( anyOne withIndexCollect: ) \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/name.st new file mode 100644 index 00000000..77664e0e --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'Uses non portable message' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/rationale.st new file mode 100644 index 00000000..4de4dc3f --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/instance/rationale.st @@ -0,0 +1,3 @@ +accessing +rationale + ^ 'Some methods are not portable accross different Smalltalk dialects.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/properties.json new file mode 100644 index 00000000..0fecf5bc --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRNonPortableMessageRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "GRNonPortableMessageRule", + "pools" : [ + ], + "super" : "GRSlimeBlockLintRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/checkClass..st b/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/checkClass..st new file mode 100644 index 00000000..dc83677f --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/checkClass..st @@ -0,0 +1,8 @@ +running +checkClass: aContext + | comment | + aContext isMeta + ifTrue: [ ^ self ]. + comment := aContext organization classComment asString. + comment isWideString ifTrue: [ + result addClass: aContext ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/checkMethod..st b/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/checkMethod..st new file mode 100644 index 00000000..8d1ad057 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/checkMethod..st @@ -0,0 +1,17 @@ +running +checkMethod: aContext + | foundLiteral | + foundLiteral := false. + "check individual literals first" + aContext literals do: [ :each | + (each isString and: [ each isWideString ]) ifTrue: [ + result + addClass: aContext methodClass + selector: aContext selector. + result addSearchString: each. + foundLiteral := true ] ]. + + "now check the whole method, could be in comments" + foundLiteral ifFalse: [ + aContext sourceCode asString isWideString ifTrue: [ + result addClass: aContext methodClass selector: aContext selector ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/group.st new file mode 100644 index 00000000..7e52dd3b --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/group.st @@ -0,0 +1,3 @@ +accessing +group + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/name.st new file mode 100644 index 00000000..3469916d --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'Non portable source format' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/rationale.st new file mode 100644 index 00000000..7306a747 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/instance/rationale.st @@ -0,0 +1,3 @@ +accessing +rationale + ^ 'The method source is required to be a plain string, for portability reasons a wide-string is not supported.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/properties.json new file mode 100644 index 00000000..a296ea9f --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRNonPortableSourceFormatRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "GRNonPortableSourceFormatRule", + "pools" : [ + ], + "super" : "GRSlimeBlockLintRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/group.st new file mode 100644 index 00000000..7e52dd3b --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/group.st @@ -0,0 +1,3 @@ +accessing +group + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st new file mode 100644 index 00000000..776d58af --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st @@ -0,0 +1,8 @@ +initialization +initialize + super initialize. + self rewriteRule + replace: '`@collection beginsWith: `@subCollection' + with: '`@collection greaseBeginsWith: `@subCollection'; + replace: '`@collection endsWith: `@subCollection' + with: '`@collection greaseEndsWith: `@subCollection' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/name.st new file mode 100644 index 00000000..fba52990 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'Collections' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/rationale.st new file mode 100644 index 00000000..908ce1c0 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/instance/rationale.st @@ -0,0 +1,3 @@ +accessing +rationale + ^ '#beginsWith: and #endsWith: are not portable.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/properties.json new file mode 100644 index 00000000..3c6c448b --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRNotPortableCollectionsRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "GRNotPortableCollectionsRule", + "pools" : [ + ], + "super" : "GRSlimeTransformationRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/README.md new file mode 100644 index 00000000..bca4d093 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/README.md @@ -0,0 +1 @@ +I detect senders of Object >> #in: diff --git a/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/group.st new file mode 100644 index 00000000..7e52dd3b --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/group.st @@ -0,0 +1,3 @@ +accessing +group + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/initialize.st new file mode 100644 index 00000000..38aa19b0 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/initialize.st @@ -0,0 +1,6 @@ +initialization +initialize + super initialize. + self rewriteRule + replace: '``@object in: [ :`var | | `@temps | `@.statements ]' + with: '[ :`var | | `@temps | `@.statements ] value: ``@object' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/name.st new file mode 100644 index 00000000..65dd49f6 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'Object>>#in:' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/rationale.st new file mode 100644 index 00000000..c3b2c41b --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/instance/rationale.st @@ -0,0 +1,3 @@ +accessing +rationale + ^ 'Object>>#in: has different semantics on different Smalltalk dialects.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/properties.json new file mode 100644 index 00000000..3d720379 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRObjectInRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "pmm 9/12/2009 10:37", + "instvars" : [ + ], + "name" : "GRObjectInRule", + "pools" : [ + ], + "super" : "GRSlimeTransformationRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRPackage.extension/class/greaseSlime.st b/repository/Grease-Pharo40-Slime.package/GRPackage.extension/class/greaseSlime.st new file mode 100644 index 00000000..8c155f4c --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRPackage.extension/class/greaseSlime.st @@ -0,0 +1,8 @@ +*Grease-Pharo40-Slime +greaseSlime + ^ self new + name: 'Grease-Pharo40-Slime'; + description: 'Code critis for Grease. Detects common types of bugs and non-portable code.'; + addDependency: 'Grease-Core'; + url: #seasideUrl; + yourself \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRPackage.extension/properties.json b/repository/Grease-Pharo40-Slime.package/GRPackage.extension/properties.json new file mode 100644 index 00000000..dd2faaf0 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRPackage.extension/properties.json @@ -0,0 +1,2 @@ +{ + "name" : "GRPackage" } diff --git a/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/group.st new file mode 100644 index 00000000..303be069 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/group.st @@ -0,0 +1,3 @@ +accessing +group + ^ 'Grease Formatting' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/initialize.st new file mode 100644 index 00000000..a9bf5bdb --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/initialize.st @@ -0,0 +1,20 @@ +initialization +initialize + super initialize. + self matcher + matches: '`{ :node | node isValue and: [ node hasParentheses ] }' + do: [ :node :answer | + answer isNil + ifFalse: [ answer ] + ifTrue: [ + | found start stop | + found := false. + start := node startWithoutParentheses. + stop := node stopWithoutParentheses. + node parentheses reverseDo: [ :interval | + found := found + or: [ start - 1 ~= interval first + or: [ stop + 1 ~= interval last ] ]. + start := interval first. + stop := interval last ]. + found ifTrue: [ node ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/name.st new file mode 100644 index 00000000..48e67c85 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'Parentheses formatting' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/rationale.st new file mode 100644 index 00000000..298a86b2 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/instance/rationale.st @@ -0,0 +1,3 @@ +accessing +rationale + ^ 'There should be no spaces inside parentheses.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/properties.json new file mode 100644 index 00000000..a5444413 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRParensFormattingRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "GRParensFormattingRule", + "pools" : [ + ], + "super" : "GRSlimeParseTreeLintRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/group.st new file mode 100644 index 00000000..303be069 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/group.st @@ -0,0 +1,3 @@ +accessing +group + ^ 'Grease Formatting' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/initialize.st new file mode 100644 index 00000000..a488a67f --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/initialize.st @@ -0,0 +1,11 @@ +initialization +initialize + super initialize. + self matcher + matches: '^ ``@expr' + do: [ :node :answer | + answer isNil + ifFalse: [ answer ] + ifTrue: [ + node start + 2 ~= node value start + ifTrue: [ node ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/name.st new file mode 100644 index 00000000..ed235f80 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'Return formatting' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/rationale.st new file mode 100644 index 00000000..904d4922 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/instance/rationale.st @@ -0,0 +1,3 @@ +accessing +rationale + ^ 'There should be a single space between the ^ and the following expression.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/properties.json new file mode 100644 index 00000000..a6bbc9f0 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRReturnFormattingRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "GRReturnFormattingRule", + "pools" : [ + ], + "super" : "GRSlimeParseTreeLintRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/class/isVisible.st b/repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/class/isVisible.st new file mode 100644 index 00000000..43f102e1 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/class/isVisible.st @@ -0,0 +1,3 @@ +testing +isVisible + ^ self name ~= #GRSlimeBlockLintRule \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/instance/category.st b/repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/instance/category.st new file mode 100644 index 00000000..af69ca36 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/instance/category.st @@ -0,0 +1,3 @@ +accessing +category + ^ self group \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/properties.json new file mode 100644 index 00000000..aa3e0ebf --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRSlimeBlockLintRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "GRSlimeBlockLintRule", + "pools" : [ + ], + "super" : "RBBlockLintRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/class/isVisible.st b/repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/class/isVisible.st new file mode 100644 index 00000000..fa02a17b --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/class/isVisible.st @@ -0,0 +1,3 @@ +testing +isVisible + ^ self name ~= #GRSlimeParseTreeLintRule \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/instance/category.st b/repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/instance/category.st new file mode 100644 index 00000000..af69ca36 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/instance/category.st @@ -0,0 +1,3 @@ +accessing +category + ^ self group \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/properties.json new file mode 100644 index 00000000..6f830ffa --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRSlimeParseTreeLintRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "GRSlimeParseTreeLintRule", + "pools" : [ + ], + "super" : "RBParseTreeLintRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRSlimeTransformationRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRSlimeTransformationRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GRSlimeTransformationRule.class/class/isVisible.st b/repository/Grease-Pharo40-Slime.package/GRSlimeTransformationRule.class/class/isVisible.st new file mode 100644 index 00000000..1bdda3d8 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRSlimeTransformationRule.class/class/isVisible.st @@ -0,0 +1,3 @@ +testing +isVisible + ^ self name ~= #GRSlimeTransformationRule \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRSlimeTransformationRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRSlimeTransformationRule.class/properties.json new file mode 100644 index 00000000..2c47bf7d --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRSlimeTransformationRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "GRSlimeTransformationRule", + "pools" : [ + ], + "super" : "RBTransformationRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/group.st new file mode 100644 index 00000000..303be069 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/group.st @@ -0,0 +1,3 @@ +accessing +group + ^ 'Grease Formatting' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/initialize.st new file mode 100644 index 00000000..447c54de --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/initialize.st @@ -0,0 +1,18 @@ +initialization +initialize + super initialize. + self matcher + matches: '| `temp `@temps | ``@.stmts' + do: [ :node :answer | + answer isNil + ifFalse: [ answer ] + ifTrue: [ + (node leftBar notNil and: [ node rightBar notNil ]) ifTrue: [ + | found position | + found := false. + position := node leftBar. + node temporaries do: [ :each | + found := found or: [ position + 2 ~= each start ]. + position := each stop ]. + found := found or: [ position + 2 ~= node rightBar ]. + found ifTrue: [ node ] ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/name.st new file mode 100644 index 00000000..770e86d9 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'Temporaries formatting' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/rationale.st new file mode 100644 index 00000000..49cb65dd --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/instance/rationale.st @@ -0,0 +1,3 @@ +accessing +rationale + ^ 'There should be a single space between the | and the individual temps.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/properties.json new file mode 100644 index 00000000..a6659da0 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRTempsFormattingRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "GRTempsFormattingRule", + "pools" : [ + ], + "super" : "GRSlimeParseTreeLintRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/README.md new file mode 100644 index 00000000..6f3d9062 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/README.md @@ -0,0 +1 @@ +I check for TestCase >> #fail. \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/checkMethod..st b/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/checkMethod..st new file mode 100644 index 00000000..cd33b84b --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/checkMethod..st @@ -0,0 +1,7 @@ +running +checkMethod: aContext + aContext methodClass isMeta + ifTrue: [ ^ self ]. + (aContext methodClass allSuperclasses includes:(Smalltalk at: #TestCase)) + ifFalse: [ ^ self ]. + ^ super checkMethod: aContext \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/group.st new file mode 100644 index 00000000..5a189b4d --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/group.st @@ -0,0 +1,3 @@ +accessing +group + ^ 'SUnit Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/initialize.st new file mode 100644 index 00000000..d9d6784f --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/initialize.st @@ -0,0 +1,6 @@ +initialization +initialize + super initialize. + self rewriteRule + replace: 'self fail' + with: 'self assert: false' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/name.st new file mode 100644 index 00000000..cb37341d --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'TestCase >> #fail' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/rationale.st new file mode 100644 index 00000000..0a6ddcf6 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/instance/rationale.st @@ -0,0 +1,3 @@ +accessing +rationale + ^ 'TestCase >> #fail is not portable.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/properties.json new file mode 100644 index 00000000..009205c4 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRTestAssertionsRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "pmm 8/17/2014 11:24", + "instvars" : [ + ], + "name" : "GRTestAssertionsRule", + "pools" : [ + ], + "super" : "GRSlimeTransformationRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/checkMethod..st b/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/checkMethod..st new file mode 100644 index 00000000..5fc9a25b --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/checkMethod..st @@ -0,0 +1,7 @@ +running +checkMethod: aContext + aContext parseTree nodesDo: [ :node | + node isSequence ifTrue: [ + (node statements notEmpty and: [ node periods notEmpty ]) ifTrue: [ + node periods last > node statements last stop ifTrue: [ + ^ result addClass: aContext methodClass selector: aContext selector ] ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/group.st new file mode 100644 index 00000000..303be069 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/group.st @@ -0,0 +1,3 @@ +accessing +group + ^ 'Grease Formatting' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/name.st new file mode 100644 index 00000000..5873f52c --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'Unnecessary Last Period' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/rationale.st new file mode 100644 index 00000000..ccbe48b6 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/rationale.st @@ -0,0 +1,3 @@ +accessing +rationale + ^ 'Periods are not needed after the last satement.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/resetResult.st b/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/resetResult.st new file mode 100644 index 00000000..5b87472b --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/instance/resetResult.st @@ -0,0 +1,4 @@ +running +resetResult + super resetResult. + result addSearchString: '..'; addSearchString: '.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/properties.json new file mode 100644 index 00000000..b703df03 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUnnecessaryLastPeriodRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "GRUnnecessaryLastPeriodRule", + "pools" : [ + ], + "super" : "GRSlimeBlockLintRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.st new file mode 100644 index 00000000..7e52dd3b --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.st @@ -0,0 +1,3 @@ +accessing +group + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.st new file mode 100644 index 00000000..7923fa99 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.st @@ -0,0 +1,8 @@ +initialization +initialize + super initialize. + self matcher + matchesAnyOf: #( + '`@receiver canPerform: `@selector' + '`@receiver canUnderstand: `@selector' ) + do: [ :node :answer | answer isNil ifTrue: [ node ] ifFalse: [ answer ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.st new file mode 100644 index 00000000..b9ce70ca --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'Sends #canPerform: or #canUnderstand:' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.st new file mode 100644 index 00000000..7e3a24ab --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.st @@ -0,0 +1,3 @@ +accessing +rationale + ^ '#canPerform: or #canUnderstand: are not portable.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json new file mode 100644 index 00000000..1a38cd09 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "GRUsesCanPerformOrUnderstandRule", + "pools" : [ + ], + "super" : "GRSlimeParseTreeLintRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/checkMethod..st b/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/checkMethod..st new file mode 100644 index 00000000..2fdbe101 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/checkMethod..st @@ -0,0 +1,4 @@ +running +checkMethod: aContext + aContext parseTree selector = #hash + ifTrue: [ super checkMethod: aContext ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/group.st new file mode 100644 index 00000000..7e52dd3b --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/group.st @@ -0,0 +1,3 @@ +accessing +group + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/initialize.st new file mode 100644 index 00000000..c56d728f --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/initialize.st @@ -0,0 +1,6 @@ +initialization +initialize + super initialize. + self matcher + matches: '`@receiver class hash' + do: [ :node :answer | answer isNil ifTrue: [ node ] ifFalse: [ answer ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/name.st new file mode 100644 index 00000000..5bdd2ee0 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'Uses its class for hash' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/rationale.st new file mode 100644 index 00000000..84eba400 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/instance/rationale.st @@ -0,0 +1,3 @@ +accessing +rationale + ^ 'The hash of an object should not depend on the hash of its class as some Smalltalk have non-constant class hashes.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/properties.json new file mode 100644 index 00000000..51d6412d --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesClassForHashRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "GRUsesClassForHashRule", + "pools" : [ + ], + "super" : "GRSlimeParseTreeLintRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/group.st new file mode 100644 index 00000000..7e52dd3b --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/group.st @@ -0,0 +1,3 @@ +accessing +group + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/initialize.st new file mode 100644 index 00000000..ffa7a3bd --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/initialize.st @@ -0,0 +1,6 @@ +initialization +initialize + super initialize. + self matcher + matches: '{ `@.stmts }' + do: [ :node :answer | answer isNil ifTrue: [ node ] ifFalse: [ answer ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/name.st new file mode 100644 index 00000000..1228c96a --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'Uses curly brace arrays' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/rationale.st new file mode 100644 index 00000000..c8668119 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/instance/rationale.st @@ -0,0 +1,3 @@ +accessing +rationale + ^ 'Curly brace expressions are not portable accross different Smalltalk dialects.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/properties.json new file mode 100644 index 00000000..9c622400 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesCurlyBraceArraysRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "GRUsesCurlyBraceArraysRule", + "pools" : [ + ], + "super" : "GRSlimeParseTreeLintRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/group.st new file mode 100644 index 00000000..7e52dd3b --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/group.st @@ -0,0 +1,3 @@ +accessing +group + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/initialize.st b/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/initialize.st new file mode 100644 index 00000000..c7605206 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/initialize.st @@ -0,0 +1,6 @@ +initialization +initialize + super initialize. + self matcher + matches: '`#literal `{ :node | node isLiteralArray and: [ node isForByteArray ] }' + do: [ :node :answer | answer isNil ifTrue: [ node ] ifFalse: [ answer ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/name.st new file mode 100644 index 00000000..fbcd5729 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'Uses literal byte arrays' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/rationale.st new file mode 100644 index 00000000..269ea76d --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/instance/rationale.st @@ -0,0 +1,3 @@ +accessing +rationale + ^ 'Literal byte arrays are not portable accross different Smalltalk dialects.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/properties.json new file mode 100644 index 00000000..780b2aea --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesLiteralByteArraysRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "GRUsesLiteralByteArraysRule", + "pools" : [ + ], + "super" : "GRSlimeParseTreeLintRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/checkMethod..st b/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/checkMethod..st new file mode 100644 index 00000000..a31c5684 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/checkMethod..st @@ -0,0 +1,8 @@ +running +checkMethod: aContext + (self shouldExclude: aContext) ifFalse: [ + aContext pragmas do: [ :each | + result + addClass: aContext methodClass + selector: aContext selector. + result addSearchString: each keyword ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/group.st new file mode 100644 index 00000000..7e52dd3b --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/group.st @@ -0,0 +1,3 @@ +accessing +group + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/name.st new file mode 100644 index 00000000..dce9f95b --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'Uses method annotations' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/rationale.st new file mode 100644 index 00000000..33162ca3 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/rationale.st @@ -0,0 +1,3 @@ +accessing +rationale + ^ 'As of now, it is unclear if method-annotations/pragmas are compatible across all supported platforms. Likely this rule will soon be removed.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/shouldExclude..st b/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/shouldExclude..st new file mode 100644 index 00000000..101f3496 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/instance/shouldExclude..st @@ -0,0 +1,7 @@ +running +shouldExclude: aContext + "The REST and OmniBrowser related packages are OK to have pragmas" + | classCategory | + classCategory := aContext methodClass theNonMetaClass category. + ^ #(#'-REST-' 'OmniBrowser') anySatisfy: [ :each | + (classCategory indexOfSubCollection: each startingAt: 1) ~= 0 ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/properties.json new file mode 100644 index 00000000..93baabf3 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesMethodAnnotationsRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "GRUsesMethodAnnotationsRule", + "pools" : [ + ], + "super" : "GRSlimeBlockLintRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/README.md b/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/checkClass..st b/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/checkClass..st new file mode 100644 index 00000000..c90a5576 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/checkClass..st @@ -0,0 +1,6 @@ +running +checkClass: aContext + aContext allSuperclassesDo: [ :each | + (self classNames includes: each name) ifTrue: [ + result addClass: aContext. + result addSearchString: each name ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/checkMethod..st b/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/checkMethod..st new file mode 100644 index 00000000..136032c3 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/checkMethod..st @@ -0,0 +1,11 @@ +running +checkMethod: aContext + (aContext methodClass theNonMetaClass category indexOfSubCollection: #'-Pharo-' startingAt: 1) ~= 0 ifTrue: [ + "classes in a -Pharo- package are per definition not portable and therefore allowed to use non-portable classes" + ^ self ]. + aContext literals do: [ :each | + (each isVariableBinding and: [ self classNames includes: each key ]) ifTrue: [ + result + addClass: aContext methodClass + selector: aContext selector. + result addSearchString: each key ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/classNames.st b/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/classNames.st new file mode 100644 index 00000000..f3d5db68 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/classNames.st @@ -0,0 +1,3 @@ +private +classNames + ^ #( Delay MIMEDocument Monitor Mutex MutexSet Random Semaphore TimeStamp Timestamp MessageSend ) \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/group.st b/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/group.st new file mode 100644 index 00000000..7e52dd3b --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/group.st @@ -0,0 +1,3 @@ +accessing +group + ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/name.st b/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/name.st new file mode 100644 index 00000000..ba0b2df9 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'Uses not portable class' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/rationale.st b/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/rationale.st new file mode 100644 index 00000000..e0f12e97 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/instance/rationale.st @@ -0,0 +1,3 @@ +accessing +rationale + ^ 'Some classes are not portable accross different Smalltalk dialects.' \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/properties.json b/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/properties.json new file mode 100644 index 00000000..ff25d101 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/GRUsesNotPortableClassRule.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Pharo40-Slime", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "GRUsesNotPortableClassRule", + "pools" : [ + ], + "super" : "GRSlimeBlockLintRule", + "type" : "normal" } diff --git a/repository/Grease-Pharo40-Slime.package/monticello.meta/categories.st b/repository/Grease-Pharo40-Slime.package/monticello.meta/categories.st new file mode 100644 index 00000000..bae86375 --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/monticello.meta/categories.st @@ -0,0 +1 @@ +SystemOrganization addCategory: #'Grease-Pharo40-Slime'! diff --git a/repository/Grease-Pharo40-Slime.package/monticello.meta/initializers.st b/repository/Grease-Pharo40-Slime.package/monticello.meta/initializers.st new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Pharo40-Slime.package/monticello.meta/package b/repository/Grease-Pharo40-Slime.package/monticello.meta/package new file mode 100644 index 00000000..86bc392f --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'Grease-Pharo40-Slime') \ No newline at end of file diff --git a/repository/Grease-Pharo40-Slime.package/properties.json b/repository/Grease-Pharo40-Slime.package/properties.json new file mode 100644 index 00000000..f037444a --- /dev/null +++ b/repository/Grease-Pharo40-Slime.package/properties.json @@ -0,0 +1,2 @@ +{ + } From 10d9971d791c2b183b814d4f150761c34adf1af3 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Fri, 19 Apr 2024 15:58:05 +0200 Subject: [PATCH 215/254] Remove old package --- .../Grease-Pharo110-Slime.package/.filetree | 5 ---- .../GRAnsiBooleansRule.class/README.md | 0 .../instance/group.st | 4 --- .../instance/initialize.st | 19 ------------ .../GRAnsiBooleansRule.class/instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../GRAnsiBooleansRule.class/properties.json | 11 ------- .../GRAnsiCharactersRule.class/README.md | 0 .../instance/group.st | 4 --- .../instance/initialize.st | 16 ---------- .../instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../properties.json | 11 ------- .../GRAnsiCollectionsRule.class/README.md | 0 .../instance/group.st | 4 --- .../instance/initialize.st | 30 ------------------- .../instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../properties.json | 11 ------- .../GRAnsiConditionalsRule.class/README.md | 0 .../instance/group.st | 4 --- .../instance/initialize.st | 17 ----------- .../instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../properties.json | 11 ------- .../GRAnsiConvertorRule.class/README.md | 0 .../instance/group.st | 4 --- .../instance/initialize.st | 7 ----- .../instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../GRAnsiConvertorRule.class/properties.json | 11 ------- .../GRAnsiExceptionsRule.class/README.md | 0 .../instance/group.st | 4 --- .../instance/initialize.st | 7 ----- .../instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../properties.json | 11 ------- .../GRAnsiStreamsRule.class/README.md | 0 .../GRAnsiStreamsRule.class/instance/group.st | 4 --- .../instance/initialize.st | 13 -------- .../GRAnsiStreamsRule.class/instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../GRAnsiStreamsRule.class/properties.json | 11 ------- .../GRAnsiStringsRule.class/README.md | 0 .../GRAnsiStringsRule.class/instance/group.st | 4 --- .../instance/initialize.st | 26 ---------------- .../GRAnsiStringsRule.class/instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../GRAnsiStringsRule.class/properties.json | 11 ------- .../README.md | 0 .../class/checksClass.st | 4 --- .../instance/basicCheck..st | 11 ------- .../instance/group.st | 4 --- .../instance/initialize.st | 8 ----- .../instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../properties.json | 13 -------- .../README.md | 0 .../instance/afterCheck.mappings..st | 15 ---------- .../instance/group.st | 4 --- .../instance/initialize.st | 8 ----- .../instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../properties.json | 11 ------- .../README.md | 0 .../class/checksMethod.st | 4 --- .../instance/basicCheck..st | 10 ------- .../instance/group.st | 4 --- .../instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../properties.json | 11 ------- .../GRNonPortableMessageRule.class/README.md | 0 .../class/checksNode.st | 4 --- .../instance/basicCheck..st | 4 --- .../instance/group.st | 4 --- .../instance/methodNames.st | 4 --- .../instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../properties.json | 11 ------- .../README.md | 0 .../instance/group.st | 4 --- .../instance/initialize.st | 9 ------ .../instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../properties.json | 11 ------- .../GRObjectInRule.class/README.md | 1 - .../GRObjectInRule.class/instance/group.st | 4 --- .../instance/initialize.st | 7 ----- .../GRObjectInRule.class/instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../GRObjectInRule.class/properties.json | 11 ------- .../GRReSlimeBlockLintRule.class/README.md | 0 .../class/isVisible.st | 4 --- .../properties.json | 11 ------- .../README.md | 0 .../class/isVisible.st | 4 --- .../properties.json | 11 ------- .../README.md | 0 .../class/isVisible.st | 4 --- .../properties.json | 11 ------- .../README.md | 0 .../class/checksMethod.st | 4 --- .../instance/basicCheck..st | 8 ----- .../instance/name.st | 4 --- .../properties.json | 11 ------- .../GRSlimeBlockLintRule.class/README.md | 1 - .../class/isVisible.st | 4 --- .../properties.json | 11 ------- .../GRSlimeParseTreeLintRule.class/README.md | 1 - .../class/isVisible.st | 4 --- .../properties.json | 11 ------- .../GRSlimeTransformationRule.class/README.md | 1 - .../class/isVisible.st | 4 --- .../properties.json | 11 ------- .../README.md | 0 .../class/checksClass.st | 4 --- .../instance/basicCheck..st | 4 --- .../instance/name.st | 4 --- .../properties.json | 11 ------- .../GRTestAssertionsRule.class/README.md | 1 - .../instance/afterCheck.mappings..st | 8 ----- .../instance/group.st | 4 --- .../instance/initialize.st | 7 ----- .../instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../properties.json | 11 ------- .../README.md | 0 .../instance/group.st | 4 --- .../instance/initialize.st | 7 ----- .../instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../properties.json | 11 ------- .../GRUsesClassForHashRule.class/README.md | 0 .../instance/afterCheck.mappings..st | 4 --- .../instance/group.st | 4 --- .../instance/initialize.st | 5 ---- .../instance/name.st | 4 --- .../instance/rationale.st | 4 --- .../properties.json | 11 ------- .../README.md | 0 .../class/isAbstract.st | 4 --- .../class/isVisible.st | 4 --- .../instance/classNames.st | 4 --- .../instance/group.st | 4 --- .../instance/rationale.st | 4 --- .../properties.json | 11 ------- .../monticello.meta/categories.st | 1 - .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 - .../properties.json | 1 - 150 files changed, 831 deletions(-) delete mode 100644 repository/Grease-Pharo110-Slime.package/.filetree delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/class/checksClass.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/basicCheck..st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/afterCheck.mappings..st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/class/checksMethod.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/basicCheck..st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/class/checksNode.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/basicCheck..st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/methodNames.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/class/isVisible.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/class/isVisible.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/class/isVisible.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/class/checksMethod.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/basicCheck..st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/class/isVisible.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/class/isVisible.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/class/isVisible.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/class/checksClass.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/basicCheck..st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/afterCheck.mappings..st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/afterCheck.mappings..st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/initialize.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/name.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/README.md delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isAbstract.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isVisible.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/classNames.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/group.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/rationale.st delete mode 100644 repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/properties.json delete mode 100644 repository/Grease-Pharo110-Slime.package/monticello.meta/categories.st delete mode 100644 repository/Grease-Pharo110-Slime.package/monticello.meta/initializers.st delete mode 100644 repository/Grease-Pharo110-Slime.package/monticello.meta/package delete mode 100644 repository/Grease-Pharo110-Slime.package/properties.json diff --git a/repository/Grease-Pharo110-Slime.package/.filetree b/repository/Grease-Pharo110-Slime.package/.filetree deleted file mode 100644 index 57a67973..00000000 --- a/repository/Grease-Pharo110-Slime.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/group.st deleted file mode 100644 index f34a290f..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/initialize.st deleted file mode 100644 index 6058ed9f..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/initialize.st +++ /dev/null @@ -1,19 +0,0 @@ -initialization -initialize - - super initialize. - self - replace: '``@expr1 and: [ | `@temp2 | ``@expr2 ] and: [ | `@temp3 | ``@expr3 ]' - with: '``@expr1 and: [ | `@temp2 | ``@expr2 and: [ | `@temp3 | ``@expr3 ] ]'; - replace: '``@expr1 and: [ | `@temp2 | ``@expr2 ] and: [ | `@temp3 | ``@expr3 ] and: [ | `@temp4 | ``@expr4 ]' - with: '``@expr1 and: [ | `@temp2 | ``@expr2 and: [ | `@temp3 | ``@expr3 and: [ | `@temp4 | ``@expr4 ] ] ]'; - replace: '``@expr1 and: [ | `@temp2 | ``@expr2 ] and: [ | `@temp3 | ``@expr3 ] and: [ | `@temp4 | ``@expr4 ] and: [ | `@temp5 | ``@expr5 ]' - with: '``@expr1 and: [ | `@temp2 | ``@expr2 and: [ | `@temp3 | ``@expr3 and: [ | `@temp4 | ``@expr4 and: [ | `@temp5 | ``@expr5 ] ] ] ]'; - replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ]' - with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 ] ]'; - replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ] or: [ | `@temp4 | ``@expr4 ]' - with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 or: [ | `@temp4 | ``@expr4 ] ] ]'; - replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ] or: [ | `@temp4 | ``@expr4 ] or: [ | `@temp5 | ``@expr5 ]' - with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 or: [ | `@temp4 | ``@expr4 or: [ | `@temp5 | ``@expr5 ] ] ] ]'; - replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ] or: [ | `@temp4 | ``@expr4 ] or: [ | `@temp5 | ``@expr5 ] or: [ | `@temp6 | ``@expr6 ]' - with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 or: [ | `@temp4 | ``@expr4 or: [ | `@temp5 | ``@expr5 or: [ | `@temp6 | ``@expr6 ] ] ] ] ]' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/name.st deleted file mode 100644 index c1c48207..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Booleans' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/rationale.st deleted file mode 100644 index b650ed54..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ '#and:and: and #or:or: are not ANSI compatible.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/properties.json deleted file mode 100644 index 208c1ba2..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeTransformationRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRAnsiBooleansRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/group.st deleted file mode 100644 index f34a290f..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st deleted file mode 100644 index f83e0222..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st +++ /dev/null @@ -1,16 +0,0 @@ -initialization -initialize - - super initialize. - self - replace: 'Character value: ``@expr' - with: 'Character codePoint: ``@expr'. - self - replace: '`#source `{:node | node value isCharacter }` to: `#target' - byEvaluating: [ :node | - (node receiver value isCharacter and: [ - node arguments first value isCharacter ]) - ifTrue: [ - RBLiteralNode value: (String streamContents: [ :stream | - node receiver value codePoint to: node arguments first value codePoint do: [ :code | stream nextPut: (Character codePoint: code) ] ]) ] - ifFalse: [ node ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/name.st deleted file mode 100644 index 6ea7a32b..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Characters' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/rationale.st deleted file mode 100644 index 94cf8eb0..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ 'Character value: 64 and $a to: $b is not ANSI compatible.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/properties.json deleted file mode 100644 index d5fe699b..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeTransformationRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRAnsiCharactersRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/group.st deleted file mode 100644 index f34a290f..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/initialize.st deleted file mode 100644 index 86c772ea..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/initialize.st +++ /dev/null @@ -1,30 +0,0 @@ -initialization -initialize - super initialize. - self - replace: '``@collection withIndexDo: [ :`each :`index | | `@temps | ``@.body ]' - with: '``@collection keysAndValuesDo: [ :`index :`each | | `@temps | ``@.body ]'; - replace: '``@collection doWithIndex: [ :`each :`index | | `@temps | ``@.body ]' - with: '``@collection keysAndValuesDo: [ :`index :`each | | `@temps | ``@.body ]'; - replace: '``@collection collect: ``@block1 thenDo: ``@block2' - with: '(``@collection collect: ``@block1) do: ``@block2'; - replace: '``@collection collect: ``@block1 thenSelect: ``@block2' - with: '(``@collection collect: ``@block1) select: ``@block2'; - replace: '``@collection pairsDo: [ :`t1 :`t2 | ``@.statements ]' - with: '1 to: ``@collection size by: 2 do: [ :index | | `t1 `t2 | `t1 := ``@collection at: index. `t2 := ``@collection at: index + 1. ``@.statements ]'; - replace: '``@collection reject: ``@block1 thenDo: ``@block2' - with: '(``@collection reject: ``@block1) do: ``@block2'; - replace: '``@collection select: ``@block1 thenCollect: ``@block2' - with: '(``@collection select: ``@block1) collect: ``@block2'; - replace: '``@collection select: ``@block1 thenDo: ``@block2' - with: '(``@collection select: ``@block1) do: ``@block2'; - replace: '``@collection detectSum: [ :`t1 | ``@.statements. `.last ]' - with: '``@collection inject: 0 into: [ :sum :`t1 | ``@.statements. sum + (`.last) ]'; - replace: '``@collection valuesDo: ``@block' - with: '``@collection do: ``@block'; - replace: '``@collection reversed' - with: '``@collection reverse'; - replace: '``@dictionary keysSortedSafely' - with: '``@dictionary keys asSortedCollection'; - replace: '``@collectionClass new: ``@size withAll: ``@character' - with: '(``@collectionClass new: ``@size) atAllPut: ``@character' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/name.st deleted file mode 100644 index a318a869..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Collections' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/rationale.st deleted file mode 100644 index 5929ea0d..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ 'Some collection methods are not ANSI compatible: #pairsDo:, #collect:thenDo:, #reject:thenDo:, #detectSum:, #valuesDo:, #keysSortedSafely, #new:withAll:, etc.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/properties.json deleted file mode 100644 index b6b9f5c5..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiCollectionsRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeTransformationRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRAnsiCollectionsRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/group.st deleted file mode 100644 index f34a290f..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/initialize.st deleted file mode 100644 index 962d59d3..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/initialize.st +++ /dev/null @@ -1,17 +0,0 @@ -initialization -initialize - - super initialize. - self - replace: '``@boolean ifNotNilDo: ``@block' - with: '``@boolean ifNotNil: ``@block'; - replace: '``@boolean ifNotNilDo: ``@block1 ifNil: ``@block2' - with: '``@boolean ifNotNil: ``@block1 ifNil: ``@block2'; - replace: '``@boolean ifNil: ``@block1 ifNotNilDo: ``@block2' - with: '``@boolean ifNil: ``@block1 ifNotNil: ``@block2'; - replace: '``@boolean ifNotNil: [ | `@temps | ``@.body ]' - with: '``@boolean ifNotNil: [ :arg | | `@temps | ``@.body ]'; - replace: '``@boolean ifNotNil: [ | `@temps | ``@.body ] ifNil: ``@block ' - with: '``@boolean ifNotNil: [ :arg | | `@temps | ``@.body ] ifNil: ``@block'; - replace: '``@boolean ifNil: ``@block ifNotNil: [ | `@temps | ``@.body ]' - with: '``@boolean ifNil: ``@block ifNotNil: [ :arg | | `@temps | ``@.body ]' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/name.st deleted file mode 100644 index 76482a4a..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Conditionals' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/rationale.st deleted file mode 100644 index a60d109e..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ 'Conditionals like #ifNotNilDo: are not ANSI compatible.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/properties.json deleted file mode 100644 index c9539d38..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiConditionalsRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeTransformationRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRAnsiConditionalsRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/group.st deleted file mode 100644 index f34a290f..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/initialize.st deleted file mode 100644 index 4867fd82..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/initialize.st +++ /dev/null @@ -1,7 +0,0 @@ -initialization -initialize - - super initialize. - self - replace: '``@object asString' with: '``@object greaseString'; - replace: '``@object asInteger' with: '``@object greaseInteger' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/name.st deleted file mode 100644 index 14c21187..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Convertors' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/rationale.st deleted file mode 100644 index 806fe5ac..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ 'The ANSI standard does not support #asInteger and #asString on Object.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/properties.json deleted file mode 100644 index 0e6e4cb4..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiConvertorRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeTransformationRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRAnsiConvertorRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/group.st deleted file mode 100644 index f34a290f..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/initialize.st deleted file mode 100644 index a06d318e..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/initialize.st +++ /dev/null @@ -1,7 +0,0 @@ -initialization -initialize - - super initialize. - self - replace: '``@block on: `class do: [ | `@temps | ``@.body ]' - with: '``@block on: `class do: [ :err | | `@temps | ``@.body ]' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/name.st deleted file mode 100644 index 6d5286e6..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Exceptions' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/rationale.st deleted file mode 100644 index 7ec36da6..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ 'Exception handlers expect exactly one argument in ANSI.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/properties.json deleted file mode 100644 index 51375683..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiExceptionsRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeTransformationRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRAnsiExceptionsRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/group.st deleted file mode 100644 index f34a290f..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/initialize.st deleted file mode 100644 index 1b87d4ea..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/initialize.st +++ /dev/null @@ -1,13 +0,0 @@ -initialization -initialize - - super initialize. - self - replace: '`{ :node :context | node isVariable and: [ (Smalltalk includesKey: node name asSymbol) not and: [ context at: ''`receiver'' ifAbsentPut: [ node ]. true ] ] } cr' - with: '`{ :context | context at: ''`receiver'' } nextPut: Character cr'; - replace: '`{ :node :context | node isVariable and: [ (Smalltalk includesKey: node name asSymbol) not and: [ context at: ''`receiver'' ifAbsentPut: [ node ]. true ] ] } lf' - with: '`{ :context | context at: ''`receiver'' } nextPut: Character lf'; - replace: '``@stream nextPut: Character cr; nextPut: Character lf' - with: '``@stream crlf'; - replace: '``@collection writeStream' - with: 'WriteStream on: ``@collection' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/name.st deleted file mode 100644 index 50e44acb..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Streams' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/rationale.st deleted file mode 100644 index 3d05fb7c..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ '#cr and #lf are not part of the ANSI stream protocol.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/properties.json deleted file mode 100644 index 2539d9c8..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiStreamsRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeTransformationRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRAnsiStreamsRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/group.st deleted file mode 100644 index f34a290f..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'ANSI Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/initialize.st deleted file mode 100644 index 702a9ad0..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/initialize.st +++ /dev/null @@ -1,26 +0,0 @@ -initialization -initialize - - super initialize. - self - replace: 'String tab' with: '(String with: Character tab)'; - replace: 'String cr' with: '(String with: Character cr)'; - replace: 'String lf' with: '(String with: Character lf)'; - replace: 'String crlf' with: '(String with: Character cr with: Character lf)'; - replace: 'String space' with: '(String with: Character space)'; - replace: '`@string includesSubString: `@subString' - with: '(`@string indexOfSubCollection: `@subString startingAt: 0) ~= 0'; - replace: '`@string includesSubstring: `@subString' - with: '(`@string indexOfSubCollection: `@subString startingAt: 0) ~= 0'; - replace: '``@string findTokens: ``@arg' byEvaluating: [ :node | - | argument newNode | - newNode := node copy. - argument := newNode arguments first. - argument isLiteralNode ifTrue: [ - argument value isArray - ifTrue: [ argument replaceWith: (RBLiteralNode value: (String withAll: argument value)) ]. - argument value isCharacter - ifTrue: [ argument replaceWith: (RBLiteralNode value: (String with: argument value)) ] ]. - newNode - selector: #subStrings:; - yourself ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/name.st deleted file mode 100644 index 31e016a6..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Strings' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/rationale.st deleted file mode 100644 index 84577e32..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ '#cr, #crlf, #lf, #space, #tab, #findTokens:, ... are not part of the ANSI string protocol.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/properties.json deleted file mode 100644 index f544f2e7..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRAnsiStringsRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeTransformationRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRAnsiStringsRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/class/checksClass.st b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/class/checksClass.st deleted file mode 100644 index 918ec479..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/class/checksClass.st +++ /dev/null @@ -1,4 +0,0 @@ -testing - interest -checksClass - - ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/basicCheck..st b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/basicCheck..st deleted file mode 100644 index 7d00fbc7..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/basicCheck..st +++ /dev/null @@ -1,11 +0,0 @@ -running -basicCheck: aClass - - ^ aClass isMeta not - and: [ (aClass includesSelector: #initialize) - and: [ (#(GRObject GRNotification GRNotification GRError RBLintRule RBTransformationRule) noneSatisfy: [ :each | - aClass includesBehavior: (Smalltalk globals at: each) ]) - and: [ aClass class methodDictionary noneSatisfy: [ :each | - matcher - executeTree: each parseTree - initialAnswer: false ] ] ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/group.st deleted file mode 100644 index b4981dc4..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st deleted file mode 100644 index f42fb7c0..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/initialize.st +++ /dev/null @@ -1,8 +0,0 @@ -initialization -initialize - - super initialize. - matcher := RBParseTreeSearcher new. - matcher - matches: 'self basicNew initialize' - do: [ :node :answer | true ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/name.st deleted file mode 100644 index 693fa6d6..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ '#basicNew initialize is missing' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/rationale.st deleted file mode 100644 index 22a02ade..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ '#initialize is not called implicitly when sending #new to an object in all Smalltalk dialects. Consider subclassing GRObject.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json deleted file mode 100644 index 67a42ffc..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeBlockLintRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "matcher" - ], - "name" : "GRBasicNewInitializeMissingRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/afterCheck.mappings..st b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/afterCheck.mappings..st deleted file mode 100644 index 495d1401..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/afterCheck.mappings..st +++ /dev/null @@ -1,15 +0,0 @@ -hooks -afterCheck: aNode mappings: mappingDict - - | method | - method := aNode methodNode. - " This ensures that the description is of the form ClassName>>#selector:" - (aNode arguments first isLiteralNode - and: [ aNode arguments first value isString - and: [ method methodClass name greaseString , '>>#' , method selector greaseString ~= aNode arguments first value ] ]) ifTrue: [ ^ true ]. - - " This ensures that the description is a string and ends with a dot." - ^ (aNode arguments size > 1 - and: [ aNode arguments second isLiteralNode - and: [ aNode arguments second value isString - and: [ (aNode arguments second value endsWithSubCollection: '.') not ] ] ]) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/group.st deleted file mode 100644 index b5813499..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'Grease Formatting' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st deleted file mode 100644 index 4ee4851c..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/initialize.st +++ /dev/null @@ -1,8 +0,0 @@ -initialization -initialize - - super initialize. - self - matchesAny: #( - '``@receiver greaseDeprecatedApi: ``@arg1' - '``@receiver greaseDeprecatedApi: ``@arg1 details: ``@arg2' ) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/name.st deleted file mode 100644 index 554083f4..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Invalid use of deprecated API protocol.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/rationale.st deleted file mode 100644 index aeabf8ad..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ 'Make sure to follow the following pattern: self greaseDeprecatedApi: ''Class>>#selector'' details: ''Some description''.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json deleted file mode 100644 index 87feb3c9..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRDeprecatedApiProtocolRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeParseTreeLintRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRDeprecatedApiProtocolRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/class/checksMethod.st b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/class/checksMethod.st deleted file mode 100644 index c0b5961f..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/class/checksMethod.st +++ /dev/null @@ -1,4 +0,0 @@ -testing - interest -checksMethod - - ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/basicCheck..st b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/basicCheck..st deleted file mode 100644 index 1b7b4c47..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/basicCheck..st +++ /dev/null @@ -1,10 +0,0 @@ -running -basicCheck: aMethod - - ^ (aMethod methodClass isMeta not - and: [ (aMethod selector beginsWithSubCollection: #initialize) - and: [ aMethod selector numArgs > 0 - and: [ aMethod methodClass ~= GRObject - and: [ (aMethod methodClass includesBehavior: GRObject) - and: [ (aMethod superMessages includes: aMethod selector) not - and: [ aMethod selfMessages noneSatisfy: [ :each | each beginsWithSubCollection: #initialize ] ] ] ] ] ] ]) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/group.st deleted file mode 100644 index b4981dc4..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/name.st deleted file mode 100644 index 6386a8fd..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Invalid object initialization' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/rationale.st deleted file mode 100644 index 9ce37a52..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ 'Initialize methods are required to call the designated initializer or its super implementation.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/properties.json deleted file mode 100644 index 4cbd7077..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRInvalidObjectInitializationRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeBlockLintRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRInvalidObjectInitializationRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/class/checksNode.st b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/class/checksNode.st deleted file mode 100644 index 5e68f2ca..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/class/checksNode.st +++ /dev/null @@ -1,4 +0,0 @@ -testing - interest -checksNode - - ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/basicCheck..st b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/basicCheck..st deleted file mode 100644 index 428bcd1c..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/basicCheck..st +++ /dev/null @@ -1,4 +0,0 @@ -running -basicCheck: anEntity - - ^ anEntity isMessage and:[ self methodNames includes: anEntity selector ] diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/group.st deleted file mode 100644 index b4981dc4..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/methodNames.st b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/methodNames.st deleted file mode 100644 index 25a16ed6..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/methodNames.st +++ /dev/null @@ -1,4 +0,0 @@ -private -methodNames - - ^ #( anyOne withIndexCollect: ) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/name.st deleted file mode 100644 index cc5e5c47..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Uses non portable message' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/rationale.st deleted file mode 100644 index bc7272e4..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ 'Some methods are not portable accross different Smalltalk dialects.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/properties.json deleted file mode 100644 index 95a60d91..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRNonPortableMessageRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeBlockLintRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRNonPortableMessageRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/group.st deleted file mode 100644 index b4981dc4..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st deleted file mode 100644 index 5e8d416d..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/initialize.st +++ /dev/null @@ -1,9 +0,0 @@ -initialization -initialize - - super initialize. - self - replace: '`@collection beginsWith: `@subCollection' - with: '`@collection greaseBeginsWith: `@subCollection'; - replace: '`@collection endsWith: `@subCollection' - with: '`@collection greaseEndsWith: `@subCollection' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/name.st deleted file mode 100644 index a318a869..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Collections' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/rationale.st deleted file mode 100644 index df5a43be..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ '#beginsWith: and #endsWith: are not portable.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/properties.json deleted file mode 100644 index 2a5a777c..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRNotPortableCollectionsRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeTransformationRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRNotPortableCollectionsRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/README.md deleted file mode 100644 index bca4d093..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I detect senders of Object >> #in: diff --git a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/group.st deleted file mode 100644 index b4981dc4..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/initialize.st deleted file mode 100644 index d51d0570..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/initialize.st +++ /dev/null @@ -1,7 +0,0 @@ -initialization -initialize - - super initialize. - self - replace: '``@object in: [ :`var | | `@temps | `@.statements ]' - with: '[ :`var | | `@temps | `@.statements ] value: ``@object' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/name.st deleted file mode 100644 index 914d48df..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Object>>#in:' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/rationale.st deleted file mode 100644 index 944aa7c5..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ 'Object>>#in: has different semantics on different Smalltalk dialects.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/properties.json deleted file mode 100644 index 96ac6c53..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRObjectInRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "pmm 9/12/2009 10:37", - "super" : "GRReSlimeTransformationRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRObjectInRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/class/isVisible.st deleted file mode 100644 index 0e3a239e..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/class/isVisible.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isVisible - - ^ self name ~= #GRReSlimeBlockLintRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/properties.json deleted file mode 100644 index 806ebfd3..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRReSlimeBlockLintRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "JohanBrichau 3/11/2024 21:53", - "super" : "ReAbstractRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRReSlimeBlockLintRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/class/isVisible.st deleted file mode 100644 index 2d2913fb..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/class/isVisible.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isVisible - - ^ self name ~= #GRReSlimeParseTreeLintRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/properties.json deleted file mode 100644 index e5d01d93..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRReSlimeParseTreeLintRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "ReNodeMatchRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRReSlimeParseTreeLintRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/class/isVisible.st deleted file mode 100644 index b84d2a50..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/class/isVisible.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isVisible - - ^ self name ~= #GRReSlimeTransformationRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/properties.json deleted file mode 100644 index eaa3dd3e..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRReSlimeTransformationRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "ReNodeRewriteRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRReSlimeTransformationRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/class/checksMethod.st b/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/class/checksMethod.st deleted file mode 100644 index c0b5961f..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/class/checksMethod.st +++ /dev/null @@ -1,4 +0,0 @@ -testing - interest -checksMethod - - ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/basicCheck..st b/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/basicCheck..st deleted file mode 100644 index 18b14d25..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/basicCheck..st +++ /dev/null @@ -1,8 +0,0 @@ -running -basicCheck: aMethod - - (aMethod methodClass instanceSide category indexOfSubCollection: #'-Pharo-' startingAt: 1) ~= 0 ifTrue: [ - "classes in a -Pharo- package are per definition not portable and therefore allowed to use non-portable classes" - ^ false ]. - - ^ aMethod literals anySatisfy: [ :each | each isVariableBinding and: [ self classNames includes: each key ] ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/name.st deleted file mode 100644 index 510ca2ab..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Uses not portable class' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/properties.json deleted file mode 100644 index d21602c8..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRReferencesNotPortableClassRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRUsesNotPortableClassRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRReferencesNotPortableClassRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/README.md deleted file mode 100644 index acb02dfd..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/README.md +++ /dev/null @@ -1 +0,0 @@ -For compatibility for versions of Seaside older than 3.5.6 \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/class/isVisible.st deleted file mode 100644 index 116356fd..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/class/isVisible.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isVisible - - ^ self name ~= #GRSlimeBlockLintRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/properties.json deleted file mode 100644 index 667ba1a9..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRSlimeBlockLintRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "JohanBrichau 3/11/2024 21:54", - "super" : "RBBlockLintRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRSlimeBlockLintRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/README.md deleted file mode 100644 index acb02dfd..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/README.md +++ /dev/null @@ -1 +0,0 @@ -For compatibility for versions of Seaside older than 3.5.6 \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/class/isVisible.st deleted file mode 100644 index 5d72890a..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/class/isVisible.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isVisible - - ^ self name ~= #GRSlimeParseTreeLintRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/properties.json deleted file mode 100644 index eab60df9..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRSlimeParseTreeLintRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "JohanBrichau 3/11/2024 21:54", - "super" : "RBParseTreeLintRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRSlimeParseTreeLintRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/README.md deleted file mode 100644 index acb02dfd..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/README.md +++ /dev/null @@ -1 +0,0 @@ -For compatibility for versions of Seaside older than 3.5.6 \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/class/isVisible.st deleted file mode 100644 index b60e68d4..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/class/isVisible.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isVisible - - ^ self name ~= #GRSlimeTransformationRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/properties.json deleted file mode 100644 index d528ef91..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRSlimeTransformationRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "JohanBrichau 3/11/2024 21:54", - "super" : "RBTransformationRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRSlimeTransformationRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/class/checksClass.st b/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/class/checksClass.st deleted file mode 100644 index 918ec479..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/class/checksClass.st +++ /dev/null @@ -1,4 +0,0 @@ -testing - interest -checksClass - - ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/basicCheck..st b/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/basicCheck..st deleted file mode 100644 index 1091897f..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/basicCheck..st +++ /dev/null @@ -1,4 +0,0 @@ -running -basicCheck: aClass - - ^ aClass allSuperclasses anySatisfy: [ :each | self classNames includes: each name ] \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/name.st deleted file mode 100644 index 65a2945a..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Subclasses not portable class' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/properties.json deleted file mode 100644 index 65aeb32b..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRSubclassesNotPortableClassRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRUsesNotPortableClassRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRSubclassesNotPortableClassRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/README.md deleted file mode 100644 index 6f3d9062..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I check for TestCase >> #fail. \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/afterCheck.mappings..st b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/afterCheck.mappings..st deleted file mode 100644 index 874f1381..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/afterCheck.mappings..st +++ /dev/null @@ -1,8 +0,0 @@ -hooks -afterCheck: aNode mappings: mappingsDict - - aNode methodNode methodClass isMeta - ifTrue: [ ^ false ]. - (aNode methodNode methodClass allSuperclasses includes: (Smalltalk at: #TestCase)) - ifTrue: [ ^ true ]. - ^ false \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/group.st deleted file mode 100644 index eb721d8e..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'SUnit Compatibility' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/initialize.st deleted file mode 100644 index 097ff5a1..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/initialize.st +++ /dev/null @@ -1,7 +0,0 @@ -initialization -initialize - - super initialize. - self - replace: 'self fail' - with: 'self assert: false' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/name.st deleted file mode 100644 index 0dd472fc..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'TestCase >> #fail' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/rationale.st deleted file mode 100644 index 4e358c3e..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ 'TestCase >> #fail is not portable.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/properties.json deleted file mode 100644 index cd52efa5..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRTestAssertionsRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "pmm 8/17/2014 11:24", - "super" : "GRReSlimeTransformationRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRTestAssertionsRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.st deleted file mode 100644 index b4981dc4..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.st deleted file mode 100644 index 6ca1e900..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.st +++ /dev/null @@ -1,7 +0,0 @@ -initialization -initialize - - super initialize. - self matchesAny: #( - '`@receiver canPerform: `@selector' - '`@receiver canUnderstand: `@selector' ) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.st deleted file mode 100644 index a7805d06..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Sends #canPerform: or #canUnderstand:' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.st deleted file mode 100644 index 4332f561..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ '#canPerform: or #canUnderstand: are not portable.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json deleted file mode 100644 index 70456891..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeParseTreeLintRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRUsesCanPerformOrUnderstandRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/afterCheck.mappings..st b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/afterCheck.mappings..st deleted file mode 100644 index 4648081c..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/afterCheck.mappings..st +++ /dev/null @@ -1,4 +0,0 @@ -hooks -afterCheck: aNode mappings: mappingDict - - ^ aNode methodNode selector = #hash \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/group.st deleted file mode 100644 index b4981dc4..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/initialize.st b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/initialize.st deleted file mode 100644 index 190c57e0..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/initialize.st +++ /dev/null @@ -1,5 +0,0 @@ -initialization -initialize - - super initialize. - self matches: '`@receiver class hash' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/name.st b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/name.st deleted file mode 100644 index 2a762ed7..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - - ^ 'Uses its class for hash' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/rationale.st deleted file mode 100644 index 018489ab..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ 'The hash of an object should not depend on the hash of its class as some Smalltalk have non-constant class hashes.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/properties.json deleted file mode 100644 index c679f3eb..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeParseTreeLintRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRUsesClassForHashRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/README.md b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isAbstract.st b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isAbstract.st deleted file mode 100644 index 7d1d20cc..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isAbstract.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isAbstract - - ^ self name = #GRUsesNotPortableClassRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isVisible.st b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isVisible.st deleted file mode 100644 index 680a15af..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/class/isVisible.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isVisible - - ^ self name ~= #GRUsesNotPortableClassRule \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/classNames.st b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/classNames.st deleted file mode 100644 index 0487cbe8..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/classNames.st +++ /dev/null @@ -1,4 +0,0 @@ -private -classNames - - ^ #( Delay MIMEDocument Monitor Mutex MutexSet Random Semaphore TimeStamp Timestamp MessageSend ) \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/group.st b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/group.st deleted file mode 100644 index b4981dc4..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/group.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -group - - ^ 'Grease Portability' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/rationale.st b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/rationale.st deleted file mode 100644 index e9a097fe..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/instance/rationale.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -rationale - - ^ 'Some classes are not portable accross different Smalltalk dialects.' \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/properties.json b/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/properties.json deleted file mode 100644 index 2965264e..00000000 --- a/repository/Grease-Pharo110-Slime.package/GRUsesNotPortableClassRule.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRReSlimeBlockLintRule", - "category" : "Grease-Pharo110-Slime", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRUsesNotPortableClassRule", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/monticello.meta/categories.st b/repository/Grease-Pharo110-Slime.package/monticello.meta/categories.st deleted file mode 100644 index ff4f5aed..00000000 --- a/repository/Grease-Pharo110-Slime.package/monticello.meta/categories.st +++ /dev/null @@ -1 +0,0 @@ -SystemOrganization addCategory: #'Grease-Pharo110-Slime'! diff --git a/repository/Grease-Pharo110-Slime.package/monticello.meta/initializers.st b/repository/Grease-Pharo110-Slime.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Pharo110-Slime.package/monticello.meta/package b/repository/Grease-Pharo110-Slime.package/monticello.meta/package deleted file mode 100644 index 7cd09a28..00000000 --- a/repository/Grease-Pharo110-Slime.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'Grease-Pharo110-Slime') \ No newline at end of file diff --git a/repository/Grease-Pharo110-Slime.package/properties.json b/repository/Grease-Pharo110-Slime.package/properties.json deleted file mode 100644 index 6f31cf5a..00000000 --- a/repository/Grease-Pharo110-Slime.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file From 1b251237c5e412d0f8f9be271b7f69d1cca0bd53 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Fri, 19 Apr 2024 16:01:27 +0200 Subject: [PATCH 216/254] revert baseline changes and keep Slime in Squeak as well --- .../instance/baselineCommon..st | 2 ++ .../instance/baselinePharo..st | 12 ++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineCommon..st b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineCommon..st index 68b9fe2e..0ead53ce 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineCommon..st +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineCommon..st @@ -11,5 +11,7 @@ baselineCommon: spec spec group: 'Core' with: #('Grease-Core'); group: 'Core Tests' with: #('Grease-Tests-Core'); + group: 'Slime' with: #('Core'); + group: 'Slime Tests' with: #('Core Tests'); group: 'Tests' with: #('Core Tests' 'Slime Tests'); group: 'default' with: #('Slime') ] \ No newline at end of file diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st index 0c7ebc60..0f145691 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st @@ -30,8 +30,8 @@ baselinePharo: spec package: 'Grease-Pharo40-Slime' with: [ spec requires: #('Grease-Core') ]; package: 'Grease-Tests-Slime' with: [ spec requires: #('Grease-Pharo40-Slime') ]. spec - group: 'Slime' with: #('Core' 'Grease-Pharo40-Slime'); - group: 'Slime Tests' with: #('Core Tests' 'Grease-Tests-Slime') ]. + group: 'Slime' with: #('Grease-Pharo40-Slime'); + group: 'Slime Tests' with: #('Grease-Tests-Slime') ]. spec for: #(#'pharo9.x') @@ -48,8 +48,8 @@ baselinePharo: spec package: 'Grease-Tests-Slime' with: [ spec requires: #('Grease-Pharo90-Slime') ]. spec - group: 'Slime' with: #('Core' 'Grease-Pharo90-Slime'); - group: 'Slime Tests' with: #('Core Tests' 'Grease-Tests-Slime') ]. + group: 'Slime' with: #('Grease-Pharo90-Slime'); + group: 'Slime Tests' with: #('Grease-Tests-Slime') ]. spec for: #(#'pharo10.x' #'pharo11.x' #'pharo12.x') @@ -67,6 +67,6 @@ baselinePharo: spec package: 'Grease-Tests-Pharo-Slime' with: [ spec requires: #('Grease-Pharo110-Slime-Portability') ]. spec - group: 'Slime' with: #('Core' 'Grease-Pharo110-Slime-Core'); + group: 'Slime' with: #('Grease-Pharo110-Slime-Core'); group: 'Slime Portability' with: #('Slime' 'Grease-Pharo110-Slime-Portability'); - group: 'Slime Tests' with: #('Core Tests' 'Grease-Pharo110-Slime-Portability' 'Grease-Tests-Pharo-Slime') ] + group: 'Slime Tests' with: #('Grease-Pharo110-Slime-Portability' 'Grease-Tests-Pharo-Slime') ] From fe4c708720556a7b5330e50a3ba4f8d97ce19f4d Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Fri, 19 Apr 2024 16:10:47 +0200 Subject: [PATCH 217/254] define Development group and add Slime-Portability to it --- .../BaselineOfGrease.class/instance/baselineCommon..st | 3 ++- .../BaselineOfGrease.class/instance/baselinePharo..st | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineCommon..st b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineCommon..st index 0ead53ce..96f20ec0 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineCommon..st +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineCommon..st @@ -14,4 +14,5 @@ baselineCommon: spec group: 'Slime' with: #('Core'); group: 'Slime Tests' with: #('Core Tests'); group: 'Tests' with: #('Core Tests' 'Slime Tests'); - group: 'default' with: #('Slime') ] \ No newline at end of file + group: 'default' with: #('Slime'); + group: 'Development' with: #('default') ] \ No newline at end of file diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st index 0f145691..e5436d49 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st @@ -69,4 +69,5 @@ baselinePharo: spec spec group: 'Slime' with: #('Grease-Pharo110-Slime-Core'); group: 'Slime Portability' with: #('Slime' 'Grease-Pharo110-Slime-Portability'); - group: 'Slime Tests' with: #('Grease-Pharo110-Slime-Portability' 'Grease-Tests-Pharo-Slime') ] + group: 'Slime Tests' with: #('Grease-Pharo110-Slime-Portability' 'Grease-Tests-Pharo-Slime'); + group: 'Development' with: #('Slime Portability') ] From 915e72218fc36cbf9c6eb67177fe9e534867af12 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sat, 20 Apr 2024 09:45:18 +0200 Subject: [PATCH 218/254] update CI --- .github/workflows/ci.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d5a0f3e..824c2796 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,17 +8,15 @@ jobs: strategy: fail-fast: false matrix: - smalltalk: [ Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.7.0, GemStone64-3.6.6, GemStone64-3.5.7, Squeak64-5.3 ] + smalltalk: [ Pharo64-12, Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.7.0, GemStone64-3.6.6, GemStone64-3.5.7, Squeak64-5.3 ] experimental: [ false ] include: - - smalltalk: Pharo64-12 - experimental: true - smalltalk: Squeak64-6.0 experimental: true continue-on-error: ${{ matrix.experimental }} name: ${{ matrix.smalltalk }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: hpi-swa/setup-smalltalkCI@v1 with: smalltalk-image: ${{ matrix.smalltalk }} @@ -29,6 +27,6 @@ jobs: shell: bash timeout-minutes: 20 - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: name: ${{ matrix.smalltalk }} From 2603986ebc876ff21e2866d7425f5fad200bad54 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sat, 20 Apr 2024 13:37:20 +0200 Subject: [PATCH 219/254] Fix issue #175:move supportsUnicode to the platform class --- .../GRPlatform.class}/instance/supportsUnicode.st | 7 ++++--- .../Grease-Core.package/monticello.meta/categories.st | 6 +----- .../instance/testCompileAsciiString.st | 2 +- 3 files changed, 6 insertions(+), 9 deletions(-) rename repository/{Grease-Tests-Core.package/GRPlatformTest.class => Grease-Core.package/GRPlatform.class}/instance/supportsUnicode.st (62%) diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/supportsUnicode.st b/repository/Grease-Core.package/GRPlatform.class/instance/supportsUnicode.st similarity index 62% rename from repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/supportsUnicode.st rename to repository/Grease-Core.package/GRPlatform.class/instance/supportsUnicode.st index a22719d9..7ee74995 100644 --- a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/supportsUnicode.st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/supportsUnicode.st @@ -1,10 +1,11 @@ -private +encoding supportsUnicode "dynamically try to figure out whether the current dialect supports Unicode" + ^ [ String - with: (Character value: 16r1F1F3) - with: (Character value: 16r1F1F1). + with: (Character codePoint: 16r1F1F3) + with: (Character codePoint: 16r1F1F1). true ] on: Error do: [ :error | false ] \ No newline at end of file diff --git a/repository/Grease-Core.package/monticello.meta/categories.st b/repository/Grease-Core.package/monticello.meta/categories.st index d33d6435..c80ee06e 100644 --- a/repository/Grease-Core.package/monticello.meta/categories.st +++ b/repository/Grease-Core.package/monticello.meta/categories.st @@ -1,5 +1 @@ -SystemOrganization addCategory: #'Grease-Core'! -SystemOrganization addCategory: #'Grease-Core-Collections'! -SystemOrganization addCategory: #'Grease-Core-Exceptions'! -SystemOrganization addCategory: #'Grease-Core-Text'! -SystemOrganization addCategory: #'Grease-Core-Utilities'! +self packageOrganizer ensurePackage: #'Grease-Core' withTags: #(#Collections #Exceptions #Text #Utilities)! diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testCompileAsciiString.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testCompileAsciiString.st index cfe0c3ff..6b5d9978 100644 --- a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testCompileAsciiString.st +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testCompileAsciiString.st @@ -2,7 +2,7 @@ tests-file library testCompileAsciiString | selector expected source | - self supportsUnicode ifFalse: [ + GRPlatform current supportsUnicode ifFalse: [ ^ self ]. selector := #stringMethod. From 9b1712fa46a36103695d2b9d142d64b660e60e74 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sat, 20 Apr 2024 14:06:45 +0200 Subject: [PATCH 220/254] fix codecov upload in CI --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 824c2796..495e9c9a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,3 +30,4 @@ jobs: uses: codecov/codecov-action@v4 with: name: ${{ matrix.smalltalk }} + token: ${{ secrets.CODECOV_TOKEN }} From 54d86d61bc173651ca968bd266dd1a3521c630a2 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Wed, 10 Jul 2024 11:09:05 +0200 Subject: [PATCH 221/254] add Pharo 13 platform attributes to the baseline --- .../BaselineOfGrease.class/instance/baselinePharo..st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st index e5436d49..f1a39cd3 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st @@ -52,7 +52,7 @@ baselinePharo: spec group: 'Slime Tests' with: #('Grease-Tests-Slime') ]. spec - for: #(#'pharo10.x' #'pharo11.x' #'pharo12.x') + for: #(#'pharo10.x' #'pharo11.x' #'pharo12.x' #'pharo13.x') do: [ spec package: 'Grease-Core' with: [ spec includes: #('Grease-Pharo100-Core') ]; From c09641afb19598a512f8eb2c04b577cd23b59fd1 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Wed, 10 Jul 2024 11:11:00 +0200 Subject: [PATCH 222/254] add Pharo 13 to the CI --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 495e9c9a..92d67f63 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,8 @@ jobs: smalltalk: [ Pharo64-12, Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.7.0, GemStone64-3.6.6, GemStone64-3.5.7, Squeak64-5.3 ] experimental: [ false ] include: + - smalltalk: Pharo64-13 + experimental: true - smalltalk: Squeak64-6.0 experimental: true continue-on-error: ${{ matrix.experimental }} From a9af308ec8388651189dee2f4f80191365936df1 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Wed, 10 Jul 2024 11:16:28 +0200 Subject: [PATCH 223/254] update gemstone versions to test to latest point releases --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 92d67f63..ea17be68 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - smalltalk: [ Pharo64-12, Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.7.0, GemStone64-3.6.6, GemStone64-3.5.7, Squeak64-5.3 ] + smalltalk: [ Pharo64-12, Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.7.1, GemStone64-3.6.8, GemStone64-3.5.7, Squeak64-5.3 ] experimental: [ false ] include: - smalltalk: Pharo64-13 From a52ee70347eede60cef4bd1a79dec8ca33b32c6c Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Thu, 11 Jul 2024 01:04:25 +0200 Subject: [PATCH 224/254] update version --- .../Grease-Core.package/GRPlatform.class/instance/version.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/version.st b/repository/Grease-Core.package/GRPlatform.class/instance/version.st index 6deca1da..7dce4ec5 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/version.st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/version.st @@ -2,5 +2,5 @@ version info version "Answer the Grease version" - ^ (GRVersion major: 1 minor: 16 revision: 0) + ^ (GRVersion major: 1 minor: 18 revision: 1) yourself \ No newline at end of file From 3bf54eca3386fe5ddef6cc18fbf4b53eb1934bef Mon Sep 17 00:00:00 2001 From: Philippe Marschall Date: Fri, 12 Jul 2024 22:47:02 +0200 Subject: [PATCH 225/254] Support Pharo native Deprecation Implement for Pharo and add Deprecation. --- .../instance/deprecationExceptionSet.st | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/deprecationExceptionSet.st diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/deprecationExceptionSet.st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/deprecationExceptionSet.st new file mode 100644 index 00000000..e402d141 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/deprecationExceptionSet.st @@ -0,0 +1,6 @@ +exceptions +deprecationExceptionSet + "Answer the exception set that should considered besides WADeprecation." + ^ ExceptionSet new + add: Deprecation; + yourself \ No newline at end of file From b0d0149aeeb94647162d62f24871c51ed029b838 Mon Sep 17 00:00:00 2001 From: Philippe Marschall Date: Sat, 13 Jul 2024 11:30:45 +0200 Subject: [PATCH 226/254] Add test for Pharo deprecation --- .../instance/testDeprecationExceptionSet.st | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/testDeprecationExceptionSet.st diff --git a/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/testDeprecationExceptionSet.st b/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/testDeprecationExceptionSet.st new file mode 100644 index 00000000..33cfb193 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/testDeprecationExceptionSet.st @@ -0,0 +1,10 @@ +tests +testDeprecationExceptionSet + | value | + value := [ + "intentially send Pharo instead of Grease deprecation message" + self deprecated: 'test'. + 'failed' ] + on: GRDeprecatedApiNotification, GRPlatform current deprecationExceptionSet + do: [ :e | 'passed' ]. + self assert: value = 'passed' \ No newline at end of file From 9220d30d2dc0623c3cbda9013c0bda7a8471c33b Mon Sep 17 00:00:00 2001 From: Philippe Marschall Date: Sun, 14 Jul 2024 11:16:30 +0200 Subject: [PATCH 227/254] Add Pharo 7+ support --- .../instance/deprecationExceptionSet.st | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/deprecationExceptionSet.st diff --git a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/deprecationExceptionSet.st b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/deprecationExceptionSet.st new file mode 100644 index 00000000..e402d141 --- /dev/null +++ b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/deprecationExceptionSet.st @@ -0,0 +1,6 @@ +exceptions +deprecationExceptionSet + "Answer the exception set that should considered besides WADeprecation." + ^ ExceptionSet new + add: Deprecation; + yourself \ No newline at end of file From 6ca509f31b5d703ac5fb2429eb7dc7108db77fe9 Mon Sep 17 00:00:00 2001 From: Philippe Marschall Date: Sun, 14 Jul 2024 11:20:57 +0200 Subject: [PATCH 228/254] Add Pharo 9 support --- .../instance/deprecationExceptionSet.st | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/deprecationExceptionSet.st diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/deprecationExceptionSet.st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/deprecationExceptionSet.st new file mode 100644 index 00000000..e402d141 --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/deprecationExceptionSet.st @@ -0,0 +1,6 @@ +exceptions +deprecationExceptionSet + "Answer the exception set that should considered besides WADeprecation." + ^ ExceptionSet new + add: Deprecation; + yourself \ No newline at end of file From 4c94ee72263b6550344865dcdff9f74335922aa9 Mon Sep 17 00:00:00 2001 From: Philippe Marschall Date: Tue, 16 Jul 2024 21:18:54 +0200 Subject: [PATCH 229/254] Improve Squeak 6 Support - move methods from GRPharoPlatform to GRSqeuakPlatform - keep GRPharoPlatform as empty - migrate from FileSystem to FileDirectory - implement missing methods - custom implementation of #openDebuggerOn: - add test for deprecationExceptionSet --- .../Grease-Squeak6-Core.package/.filetree | 5 +- .../Behavior.extension/methodProperties.json | 5 ++ .../Behavior.extension/properties.json | 3 +- .../methodProperties.json | 5 ++ .../BlockClosure.extension/properties.json | 3 +- .../ByteArray.extension/methodProperties.json | 5 ++ .../ByteArray.extension/properties.json | 3 +- .../Character.extension/methodProperties.json | 5 ++ .../Character.extension/properties.json | 3 +- .../methodProperties.json | 5 ++ .../Collection.extension/properties.json | 3 +- .../Duration.extension/methodProperties.json | 6 ++ .../Duration.extension/properties.json | 3 +- .../methodProperties.json | 5 ++ .../properties.json | 3 +- .../methodProperties.json | 7 +++ .../GRDynamicVariable.class/properties.json | 19 ++++--- .../GRPackage.extension/methodProperties.json | 5 ++ .../GRPackage.extension/properties.json | 3 +- .../methodProperties.json | 10 ++++ .../properties.json | 19 ++++--- .../methodProperties.json | 13 +++++ .../GRPharoGenericCodec.class/properties.json | 19 ++++--- .../methodProperties.json | 12 ++++ .../GRPharoLatin1Codec.class/properties.json | 19 ++++--- .../methodProperties.json | 6 ++ .../properties.json | 19 ++++--- .../GRPharoPlatform.class/README.md | 2 +- .../GRPharoPlatform.class/class/initialize.st | 5 -- .../instance/directoriesIn..st | 9 --- .../instance/doSilently..st | 3 - .../instance/ensureExistenceOfFolder..st | 4 -- .../instance/fileExists..st | 3 - .../instance/fileStreamOn.do.binary..st | 13 ----- .../instance/filesIn..st | 9 --- .../instance/localNameOf..st | 3 - .../instance/openDebuggerOn..st | 18 ------ .../instance/pathSeparator.st | 3 - .../instance/write.toFile.inFolder..st | 15 ----- .../methodProperties.json | 5 ++ .../GRPharoPlatform.class/properties.json | 20 +++---- .../methodProperties.json | 12 ++++ .../GRPharoUtf8Codec.class/properties.json | 19 ++++--- .../methodProperties.json | 14 +++++ .../properties.json | 19 ++++--- .../methodProperties.json | 7 +++ .../properties.json | 3 +- .../GRSqueakPlatform.class/README.md | 1 + .../class/initialize.st | 3 +- .../class/initializeUrlTable.st | 0 .../class/initializeXmlTable.st | 0 .../class/unload.st | 0 .../instance/addToShutDownList..st | 0 .../instance/addToStartUpList..st | 0 .../asMethodReturningByteArray.named..st | 0 ...sMethodReturningByteArrayLiteral.named..st | 0 ...ethodReturningByteArrayWithCache.named..st | 0 .../instance/base64Decode..st | 0 .../instance/base64Encode..st | 0 .../instance/bindingOf..st | 0 .../instance/classCommentOf..st | 7 +++ .../instance/compile.into.classified..st | 0 .../instance/contentsOfFile.binary..st | 0 .../instance/deleteFile.inFolder..st | 4 -- .../instance/deprecationExceptionSet.st | 0 .../instance/doSilently..st | 2 +- .../instance/ensureExistenceOfFolder..st | 3 +- .../instance/fileExists..st | 2 +- .../instance/integerAsByteArray..st | 13 +++-- .../instance/isProcessTerminated..st | 0 .../instance/label.st | 2 +- .../instance/localNameOf..st | 2 +- .../instance/newRandom.st | 0 .../instance/newline.st | 0 .../instance/openDebuggerOn..st | 5 ++ .../instance/pathSeparator.st | 4 +- .../instance/readFileStreamOn.do.binary..st | 13 +++++ .../instance/readWriteByteStream.st | 0 .../instance/readWriteCharacterStream.st | 0 .../instance/removeFromShutDownList..st | 0 .../instance/removeFromStartUpList..st | 0 .../instance/removeSelector.from..st | 0 .../instance/secureHashFor..st | 0 .../instance/semaphoreClass.st | 0 .../instance/stackDepth.st | 0 .../instance/terminateProcess..st | 0 .../instance/thisContext.st | 2 +- .../instance/useByteArrayLiterals.st | 0 .../instance/weakDictionaryOfSize..st | 0 .../instance/writeCharacterStreamOn..st | 0 .../methodProperties.json | 56 +++++++++++++++++++ .../GRSqueakPlatform.class/properties.json | 20 ++++--- .../methodProperties.json | 5 ++ .../properties.json | 19 ++++--- .../Interval.extension/methodProperties.json | 5 ++ .../Interval.extension/properties.json | 3 +- .../methodProperties.json | 6 ++ .../properties.json | 3 +- .../methodProperties.json | 6 ++ .../MessageSend.extension/properties.json | 3 +- .../Number.extension/methodProperties.json | 5 ++ .../Number.extension/properties.json | 3 +- .../Object.extension/methodProperties.json | 6 ++ .../Object.extension/properties.json | 3 +- .../methodProperties.json | 5 ++ .../properties.json | 3 +- .../Random.extension/methodProperties.json | 5 ++ .../Random.extension/properties.json | 3 +- .../methodProperties.json | 6 ++ .../ScaledDecimal.extension/properties.json | 3 +- .../methodProperties.json | 8 +++ .../properties.json | 3 +- .../methodProperties.json | 6 ++ .../SmallInteger.extension/properties.json | 3 +- .../methodProperties.json | 5 ++ .../SocketStream.extension/properties.json | 3 +- .../String.extension/methodProperties.json | 12 ++++ .../String.extension/properties.json | 3 +- .../Symbol.extension/methodProperties.json | 5 ++ .../Symbol.extension/properties.json | 3 +- .../methodProperties.json | 5 ++ .../WriteStream.extension/properties.json | 3 +- .../monticello.meta/version | 1 + .../properties.json | 3 +- .../instance/testDeprecationExceptionSet.st | 10 ++++ .../methodProperties.json | 12 ++++ .../monticello.meta/version | 1 + .../GRPackage.extension/methodProperties.json | 5 ++ .../methodProperties.json | 10 ++++ .../methodProperties.json | 11 ++++ .../methodProperties.json | 5 ++ .../methodProperties.json | 11 ++++ .../instance/writeToFile.withFileNameDo..st | 6 +- .../methodProperties.json | 6 ++ .../methodProperties.json | 5 ++ .../methodProperties.json | 5 ++ .../monticello.meta/version | 1 + 137 files changed, 538 insertions(+), 243 deletions(-) create mode 100644 repository/Grease-Squeak6-Core.package/Behavior.extension/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/BlockClosure.extension/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/ByteArray.extension/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/Character.extension/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/Collection.extension/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/Duration.extension/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/GRDelegatingStream.extension/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/GRDynamicVariable.class/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/GRPackage.extension/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/methodProperties.json delete mode 100644 repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/class/initialize.st delete mode 100644 repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/directoriesIn..st delete mode 100644 repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/doSilently..st delete mode 100644 repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st delete mode 100644 repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/fileExists..st delete mode 100644 repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/fileStreamOn.do.binary..st delete mode 100644 repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/filesIn..st delete mode 100644 repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/localNameOf..st delete mode 100644 repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st delete mode 100644 repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/pathSeparator.st delete mode 100644 repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/write.toFile.inFolder..st create mode 100644 repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/GRSmallDictionary.extension/methodProperties.json rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/class/initializeUrlTable.st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/class/initializeXmlTable.st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/class/unload.st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/instance/addToShutDownList..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/instance/addToStartUpList..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/instance/asMethodReturningByteArray.named..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/instance/asMethodReturningByteArrayLiteral.named..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/instance/asMethodReturningByteArrayWithCache.named..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/instance/base64Decode..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/instance/base64Encode..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/instance/bindingOf..st (100%) create mode 100644 repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/classCommentOf..st rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/instance/compile.into.classified..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/instance/contentsOfFile.binary..st (100%) delete mode 100644 repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/deleteFile.inFolder..st rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/instance/deprecationExceptionSet.st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/instance/isProcessTerminated..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/instance/label.st (63%) rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/instance/newRandom.st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/instance/newline.st (100%) create mode 100644 repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/openDebuggerOn..st create mode 100644 repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/readFileStreamOn.do.binary..st rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/instance/readWriteByteStream.st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/instance/readWriteCharacterStream.st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/instance/removeFromShutDownList..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/instance/removeFromStartUpList..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/instance/removeSelector.from..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/instance/secureHashFor..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/instance/semaphoreClass.st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/instance/stackDepth.st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/instance/terminateProcess..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/instance/useByteArrayLiterals.st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/instance/weakDictionaryOfSize..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoPlatform.class => GRSqueakPlatform.class}/instance/writeCharacterStreamOn..st (100%) create mode 100644 repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/GRWorkingWriteStream.class/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/Interval.extension/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/LargePositiveInteger.extension/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/MessageSend.extension/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/Number.extension/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/Object.extension/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/PositionableStream.extension/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/Random.extension/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/ScaledDecimal.extension/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/SmallInteger.extension/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/SocketStream.extension/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/String.extension/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/Symbol.extension/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/WriteStream.extension/methodProperties.json create mode 100644 repository/Grease-Squeak6-Core.package/monticello.meta/version create mode 100644 repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testDeprecationExceptionSet.st create mode 100644 repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Squeak-Core.package/monticello.meta/version create mode 100644 repository/Grease-Tests-Squeak6-Core.package/GRPackage.extension/methodProperties.json create mode 100644 repository/Grease-Tests-Squeak6-Core.package/GRPharoCodecTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Squeak6-Core.package/GRPharoColorTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Squeak6-Core.package/GRPharoGenericCodecTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Squeak6-Core.package/GRPharoPlatformTest.class/methodProperties.json create mode 100644 repository/Grease-Tests-Squeak6-Core.package/GRPlatformTest.extension/methodProperties.json create mode 100644 repository/Grease-Tests-Squeak6-Core.package/GRPrinterTest.extension/methodProperties.json create mode 100644 repository/Grease-Tests-Squeak6-Core.package/GRUtf8CodecTest.extension/methodProperties.json create mode 100644 repository/Grease-Tests-Squeak6-Core.package/monticello.meta/version diff --git a/repository/Grease-Squeak6-Core.package/.filetree b/repository/Grease-Squeak6-Core.package/.filetree index 57a67973..8998102c 100644 --- a/repository/Grease-Squeak6-Core.package/.filetree +++ b/repository/Grease-Squeak6-Core.package/.filetree @@ -1,5 +1,4 @@ { - "separateMethodMetaAndSource" : false, "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file + "separateMethodMetaAndSource" : false, + "useCypressPropertiesFile" : true } diff --git a/repository/Grease-Squeak6-Core.package/Behavior.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/Behavior.extension/methodProperties.json new file mode 100644 index 00000000..7e620f60 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/Behavior.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "fullName" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/Behavior.extension/properties.json b/repository/Grease-Squeak6-Core.package/Behavior.extension/properties.json index c4116c4c..37061187 100644 --- a/repository/Grease-Squeak6-Core.package/Behavior.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/Behavior.extension/properties.json @@ -1,3 +1,2 @@ { - "name" : "Behavior" -} \ No newline at end of file + "name" : "Behavior" } diff --git a/repository/Grease-Squeak6-Core.package/BlockClosure.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/BlockClosure.extension/methodProperties.json new file mode 100644 index 00000000..e8b10a81 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/BlockClosure.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "valueWithPossibleArguments:" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/BlockClosure.extension/properties.json b/repository/Grease-Squeak6-Core.package/BlockClosure.extension/properties.json index 2190e5e2..1d6f4884 100644 --- a/repository/Grease-Squeak6-Core.package/BlockClosure.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/BlockClosure.extension/properties.json @@ -1,3 +1,2 @@ { - "name" : "BlockClosure" -} \ No newline at end of file + "name" : "BlockClosure" } diff --git a/repository/Grease-Squeak6-Core.package/ByteArray.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/ByteArray.extension/methodProperties.json new file mode 100644 index 00000000..aa6677b9 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/ByteArray.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "greaseString" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/ByteArray.extension/properties.json b/repository/Grease-Squeak6-Core.package/ByteArray.extension/properties.json index f81bcb8d..191a2eca 100644 --- a/repository/Grease-Squeak6-Core.package/ByteArray.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/ByteArray.extension/properties.json @@ -1,3 +1,2 @@ { - "name" : "ByteArray" -} \ No newline at end of file + "name" : "ByteArray" } diff --git a/repository/Grease-Squeak6-Core.package/Character.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/Character.extension/methodProperties.json new file mode 100644 index 00000000..22c69195 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/Character.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "greaseInteger" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/Character.extension/properties.json b/repository/Grease-Squeak6-Core.package/Character.extension/properties.json index 5219281d..7532e33e 100644 --- a/repository/Grease-Squeak6-Core.package/Character.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/Character.extension/properties.json @@ -1,3 +1,2 @@ { - "name" : "Character" -} \ No newline at end of file + "name" : "Character" } diff --git a/repository/Grease-Squeak6-Core.package/Collection.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/Collection.extension/methodProperties.json new file mode 100644 index 00000000..34059a53 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/Collection.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "any" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/Collection.extension/properties.json b/repository/Grease-Squeak6-Core.package/Collection.extension/properties.json index 48f9f8d9..93b0dc32 100644 --- a/repository/Grease-Squeak6-Core.package/Collection.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/Collection.extension/properties.json @@ -1,3 +1,2 @@ { - "name" : "Collection" -} \ No newline at end of file + "name" : "Collection" } diff --git a/repository/Grease-Squeak6-Core.package/Duration.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/Duration.extension/methodProperties.json new file mode 100644 index 00000000..9f28f9ec --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/Duration.extension/methodProperties.json @@ -0,0 +1,6 @@ +{ + "class" : { + "milliseconds:" : " 7/15/2024 14:23:40" }, + "instance" : { + "asMilliseconds" : " 7/15/2024 14:23:40", + "milliseconds" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/Duration.extension/properties.json b/repository/Grease-Squeak6-Core.package/Duration.extension/properties.json index d141a092..512e0f01 100644 --- a/repository/Grease-Squeak6-Core.package/Duration.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/Duration.extension/properties.json @@ -1,3 +1,2 @@ { - "name" : "Duration" -} \ No newline at end of file + "name" : "Duration" } diff --git a/repository/Grease-Squeak6-Core.package/GRDelegatingStream.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRDelegatingStream.extension/methodProperties.json new file mode 100644 index 00000000..ff299439 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/GRDelegatingStream.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "greaseNext:putAll:startingAt:" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/GRDelegatingStream.extension/properties.json b/repository/Grease-Squeak6-Core.package/GRDelegatingStream.extension/properties.json index 5ec29ea0..472cde09 100644 --- a/repository/Grease-Squeak6-Core.package/GRDelegatingStream.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRDelegatingStream.extension/properties.json @@ -1,3 +1,2 @@ { - "name" : "GRDelegatingStream" -} \ No newline at end of file + "name" : "GRDelegatingStream" } diff --git a/repository/Grease-Squeak6-Core.package/GRDynamicVariable.class/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRDynamicVariable.class/methodProperties.json new file mode 100644 index 00000000..2c2cbcc3 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/GRDynamicVariable.class/methodProperties.json @@ -0,0 +1,7 @@ +{ + "class" : { + "default" : " 7/15/2024 14:23:40", + "defaultValue" : " 7/15/2024 14:23:40", + "use:during:" : " 7/15/2024 14:23:40" }, + "instance" : { + } } diff --git a/repository/Grease-Squeak6-Core.package/GRDynamicVariable.class/properties.json b/repository/Grease-Squeak6-Core.package/GRDynamicVariable.class/properties.json index 29e10449..f57ef2b1 100644 --- a/repository/Grease-Squeak6-Core.package/GRDynamicVariable.class/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRDynamicVariable.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "DynamicVariable", "category" : "Grease-Squeak6-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRDynamicVariable", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "DynamicVariable", + "type" : "normal" } diff --git a/repository/Grease-Squeak6-Core.package/GRPackage.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRPackage.extension/methodProperties.json new file mode 100644 index 00000000..b7f35c3d --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/GRPackage.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + "greaseSqueak6Core" : " 7/15/2024 14:23:40" }, + "instance" : { + } } diff --git a/repository/Grease-Squeak6-Core.package/GRPackage.extension/properties.json b/repository/Grease-Squeak6-Core.package/GRPackage.extension/properties.json index ae522a7e..dd2faaf0 100644 --- a/repository/Grease-Squeak6-Core.package/GRPackage.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRPackage.extension/properties.json @@ -1,3 +1,2 @@ { - "name" : "GRPackage" -} \ No newline at end of file + "name" : "GRPackage" } diff --git a/repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/methodProperties.json new file mode 100644 index 00000000..4df6ceea --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/methodProperties.json @@ -0,0 +1,10 @@ +{ + "class" : { + "on:converter:" : " 7/15/2024 14:23:40" }, + "instance" : { + "greaseNext:putAll:startingAt:" : " 7/15/2024 14:23:40", + "initializeOn:converter:" : " 7/15/2024 14:23:40", + "next" : " 7/15/2024 14:23:40", + "next:" : " 7/15/2024 14:23:40", + "nextPut:" : " 7/15/2024 14:23:40", + "nextPutAll:" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/properties.json b/repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/properties.json index c77f1f04..5188d099 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/properties.json @@ -1,13 +1,14 @@ { - "commentStamp" : "pmm 9/14/2013 15:53", - "super" : "GRCodecStream", "category" : "Grease-Squeak6-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "pmm 9/14/2013 15:53", "instvars" : [ - "converter" - ], + "converter" ], "name" : "GRPharoConverterCodecStream", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRCodecStream", + "type" : "normal" } diff --git a/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/methodProperties.json new file mode 100644 index 00000000..07c7a21a --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/methodProperties.json @@ -0,0 +1,13 @@ +{ + "class" : { + "basicForEncoding:" : " 7/15/2024 14:23:40", + "codecs" : " 7/15/2024 14:23:40", + "supportedEncodingNames" : " 7/15/2024 14:23:40", + "supportsEncoding:" : " 7/15/2024 14:23:40" }, + "instance" : { + "converter" : " 7/15/2024 14:23:40", + "decoderFor:" : " 7/15/2024 14:23:40", + "encoderFor:" : " 7/15/2024 14:23:40", + "initializeWithName:" : " 7/15/2024 14:23:40", + "name" : " 7/15/2024 14:23:40", + "url" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/properties.json b/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/properties.json index 60757cc7..ed667ed9 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/properties.json @@ -1,14 +1,15 @@ { - "commentStamp" : "", - "super" : "GRCodec", "category" : "Grease-Squeak6-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", "instvars" : [ "name", - "urlCodec" - ], + "urlCodec" ], "name" : "GRPharoGenericCodec", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRCodec", + "type" : "normal" } diff --git a/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/methodProperties.json new file mode 100644 index 00000000..9c29e673 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/methodProperties.json @@ -0,0 +1,12 @@ +{ + "class" : { + "basicForEncoding:" : " 7/15/2024 14:23:40", + "codecs" : " 7/15/2024 14:23:40", + "supportedEncodingNames" : " 7/15/2024 14:23:40", + "supportsEncoding:" : " 7/15/2024 14:23:40" }, + "instance" : { + "decode:" : " 7/15/2024 14:23:40", + "decoderFor:" : " 7/15/2024 14:23:40", + "encoderFor:" : " 7/15/2024 14:23:40", + "initializeWithName:" : " 7/15/2024 14:23:40", + "name" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/properties.json b/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/properties.json index 465a7ff3..2bba6f1e 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/properties.json @@ -1,13 +1,14 @@ { - "commentStamp" : "", - "super" : "GRNullCodec", "category" : "Grease-Squeak6-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", "instvars" : [ - "name" - ], + "name" ], "name" : "GRPharoLatin1Codec", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRNullCodec", + "type" : "normal" } diff --git a/repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/methodProperties.json new file mode 100644 index 00000000..e502cfcb --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/methodProperties.json @@ -0,0 +1,6 @@ +{ + "class" : { + }, + "instance" : { + "next" : " 7/15/2024 14:23:40", + "next:" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/properties.json b/repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/properties.json index 35dcea6b..bdc575a0 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "", - "super" : "GRNullCodecStream", "category" : "Grease-Squeak6-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], "name" : "GRPharoLatin1CodecStream", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRNullCodecStream", + "type" : "normal" } diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/README.md b/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/README.md index e71bb46d..581959b9 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/README.md +++ b/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/README.md @@ -1 +1 @@ -A GRPharoPlatform is the Pharo implementation of GRPlatform, the Grease class that provides functionality that can not be implemented in a platform independent way. +I am a hack so that we can load Seaside Pharo packages into Squeak. \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/class/initialize.st b/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/class/initialize.st deleted file mode 100644 index 0c86564c..00000000 --- a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/class/initialize.st +++ /dev/null @@ -1,5 +0,0 @@ -class initialization -initialize - self initializeXmlTable. - self initializeUrlTable. - self select \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/directoriesIn..st b/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/directoriesIn..st deleted file mode 100644 index 3357dd27..00000000 --- a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/directoriesIn..st +++ /dev/null @@ -1,9 +0,0 @@ -file library -directoriesIn: aPathString - "Answer a collection of absolute paths for all the directories (no files) in the directory given by aPathString - must not include directory names that start with ." - | directory | - directory := FileDirectory default directoryNamed: aPathString. - ^ (directory directoryNames - reject: [ :each | each first = $. ]) - collect: [ :each | directory fullNameFor: each ] \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/doSilently..st b/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/doSilently..st deleted file mode 100644 index 2a887759..00000000 --- a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/doSilently..st +++ /dev/null @@ -1,3 +0,0 @@ -private -doSilently: aBlock - ^ SystemChangeNotifier uniqueInstance doSilently: aBlock \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st b/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st deleted file mode 100644 index 27973d2b..00000000 --- a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st +++ /dev/null @@ -1,4 +0,0 @@ -file library -ensureExistenceOfFolder: aString - "creates a folder named aString in the image directory" - FileDirectory default assureExistenceOfPath: aString \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/fileExists..st b/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/fileExists..st deleted file mode 100644 index d558068e..00000000 --- a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/fileExists..st +++ /dev/null @@ -1,3 +0,0 @@ -file library -fileExists: aString - ^ (FileDirectory on: aString) exists \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/fileStreamOn.do.binary..st b/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/fileStreamOn.do.binary..st deleted file mode 100644 index 1aad81ef..00000000 --- a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/fileStreamOn.do.binary..st +++ /dev/null @@ -1,13 +0,0 @@ -file library -fileStreamOn: aString do: aBlock binary: aBoolean - ^ aBoolean - ifTrue: [ - FileStream oldFileNamed: aString do: [ :stream | - stream binary. - aBlock value: stream ] ] - ifFalse: [ - MultiByteFileStream oldFileNamed: aString do: [ :stream | - stream - ascii; - wantsLineEndConversion: true. - aBlock value: stream ] ] \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/filesIn..st b/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/filesIn..st deleted file mode 100644 index 89667dbc..00000000 --- a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/filesIn..st +++ /dev/null @@ -1,9 +0,0 @@ -file library -filesIn: aPathString - "Return a collection of absolute paths for all the files (no directories) in the directory given by aPathString - must not include file names that start with ." - | directory | - directory := FileDirectory default directoryNamed: aPathString. - ^ (directory fileNames - reject: [ :each | each first = $. ]) - collect: [ :each | directory fullNameFor: each ] \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/localNameOf..st b/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/localNameOf..st deleted file mode 100644 index f943c14d..00000000 --- a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/localNameOf..st +++ /dev/null @@ -1,3 +0,0 @@ -file library -localNameOf: aFilename - ^ (FileDirectory on: aFilename) localName \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st b/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st deleted file mode 100644 index b98446f9..00000000 --- a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st +++ /dev/null @@ -1,18 +0,0 @@ -exceptions -openDebuggerOn: anError - | process | - process := Processor activeProcess. - "If we are running in the UI process, we don't want to suspend the active process. The - error was presumably triggered while stepping in the Debugger. If we simply immediately - signal an UnhandledError, the debugger will catch this and display the signaling context. - It isn't perfect or pretty but it works." - (ProcessBrowser isUIProcess: process) - ifTrue: [ - UnhandledError signalForException: anError ] - ifFalse: [ - WorldState addDeferredUIMessage: [ - process - debug: anError signalerContext - title: anError description - full: true ]. - process suspend ] \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/pathSeparator.st b/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/pathSeparator.st deleted file mode 100644 index b9a34e3d..00000000 --- a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/pathSeparator.st +++ /dev/null @@ -1,3 +0,0 @@ -file library -pathSeparator - ^ FileDirectory pathNameDelimiter asString \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/write.toFile.inFolder..st b/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/write.toFile.inFolder..st deleted file mode 100644 index 9565ae8b..00000000 --- a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/write.toFile.inFolder..st +++ /dev/null @@ -1,15 +0,0 @@ -file library -write: aStringOrByteArray toFile: aFileNameString inFolder: aFolderString - "writes aStringOrByteArray to a file named aFileNameString in the folder aFolderString" - | folder stream fullFilePath | - folder := FileDirectory default directoryNamed: aFolderString. - fullFilePath := folder fullNameFor: aFileNameString. - stream := aStringOrByteArray isString - ifTrue: [ - (MultiByteFileStream forceNewFileNamed: fullFilePath) - ascii; - wantsLineEndConversion: true; - yourself ] - ifFalse: [ (FileStream forceNewFileNamed: fullFilePath) binary ]. - [ stream nextPutAll: aStringOrByteArray ] - ensure: [ stream close ] \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/methodProperties.json new file mode 100644 index 00000000..0e4a6622 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + } } diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/properties.json b/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/properties.json index b1c5df09..aaface47 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/properties.json @@ -1,14 +1,14 @@ { - "commentStamp" : "pmm 2/1/2014 13:28", - "super" : "GRPlatform", "category" : "Grease-Squeak6-Core", - "classinstvars" : [ ], - "pools" : [ ], + "classinstvars" : [ + ], "classvars" : [ - "UrlTable", - "XmlTable" - ], - "instvars" : [ ], + ], + "commentStamp" : "pmm 7/15/2024 15:09", + "instvars" : [ + ], "name" : "GRPharoPlatform", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRPlatform", + "type" : "normal" } diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/methodProperties.json new file mode 100644 index 00000000..e981a6f3 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/methodProperties.json @@ -0,0 +1,12 @@ +{ + "class" : { + "basicForEncoding:" : " 7/15/2024 14:23:40", + "codecs" : " 7/15/2024 14:23:40", + "supportsEncoding:" : " 7/15/2024 14:23:40" }, + "instance" : { + "decode:" : " 7/15/2024 14:23:40", + "decoderFor:" : " 7/15/2024 14:23:40", + "encoderFor:" : " 7/15/2024 14:23:40", + "invalidUtf8" : " 7/15/2024 14:23:40", + "name" : " 7/15/2024 14:23:40", + "url" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/properties.json b/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/properties.json index 5668906f..7312da07 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "pmm 2/20/2009 12:51", - "super" : "GRCodec", "category" : "Grease-Squeak6-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "pmm 2/20/2009 12:51", + "instvars" : [ + ], "name" : "GRPharoUtf8Codec", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRCodec", + "type" : "normal" } diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/methodProperties.json new file mode 100644 index 00000000..c767df62 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/methodProperties.json @@ -0,0 +1,14 @@ +{ + "class" : { + "initialize" : " 7/15/2024 14:23:40" }, + "instance" : { + "crlf" : " 7/15/2024 14:23:40", + "encodeDefault:" : " 7/15/2024 14:23:40", + "encodeFast:" : " 7/15/2024 14:23:40", + "greaseNext:putAll:startingAt:" : " 7/15/2024 14:23:40", + "greaseNext:putAllFast:startingAt:" : " 7/15/2024 14:23:40", + "invalidUtf8" : " 7/15/2024 14:23:40", + "next" : " 7/15/2024 14:23:40", + "next:" : " 7/15/2024 14:23:40", + "nextPut:" : " 7/15/2024 14:23:40", + "nextPutAll:" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/properties.json b/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/properties.json index 5313f68b..4c02a23b 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/properties.json @@ -1,14 +1,15 @@ { - "commentStamp" : "pmm 2/20/2009 12:27", - "super" : "GRPharoConverterCodecStream", "category" : "Grease-Squeak6-Core", - "classinstvars" : [ ], - "pools" : [ ], + "classinstvars" : [ + ], "classvars" : [ "Latin1ToUtf8Encodings", - "Latin1ToUtf8Map" - ], - "instvars" : [ ], + "Latin1ToUtf8Map" ], + "commentStamp" : "pmm 2/20/2009 12:27", + "instvars" : [ + ], "name" : "GRPharoUtf8CodecStream", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRPharoConverterCodecStream", + "type" : "normal" } diff --git a/repository/Grease-Squeak6-Core.package/GRSmallDictionary.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRSmallDictionary.extension/methodProperties.json new file mode 100644 index 00000000..2f8b66e4 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/GRSmallDictionary.extension/methodProperties.json @@ -0,0 +1,7 @@ +{ + "class" : { + }, + "instance" : { + "customizeExplorerContents" : " 7/15/2024 14:23:40", + "explorerContents" : " 7/15/2024 14:23:40", + "hasContentsInExplorer" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/GRSmallDictionary.extension/properties.json b/repository/Grease-Squeak6-Core.package/GRSmallDictionary.extension/properties.json index 0d78b749..943ee5f4 100644 --- a/repository/Grease-Squeak6-Core.package/GRSmallDictionary.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRSmallDictionary.extension/properties.json @@ -1,3 +1,2 @@ { - "name" : "GRSmallDictionary" -} \ No newline at end of file + "name" : "GRSmallDictionary" } diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/README.md b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/README.md index e69de29b..fb7f3baf 100644 --- a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/README.md +++ b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/README.md @@ -0,0 +1 @@ +A GRSqueakPlatform is the Squeak implementation of GRPlatform, the Grease class that provides functionality that can not be implemented in a platform independent way. diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/class/initialize.st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/class/initialize.st index ae58f1b3..0c86564c 100644 --- a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/class/initialize.st +++ b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/class/initialize.st @@ -1,4 +1,5 @@ class initialization initialize - super initialize. + self initializeXmlTable. + self initializeUrlTable. self select \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/class/initializeUrlTable.st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/class/initializeUrlTable.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/class/initializeUrlTable.st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/class/initializeUrlTable.st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/class/initializeXmlTable.st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/class/initializeXmlTable.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/class/initializeXmlTable.st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/class/initializeXmlTable.st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/class/unload.st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/class/unload.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/class/unload.st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/class/unload.st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/addToShutDownList..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/addToShutDownList..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/addToShutDownList..st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/addToShutDownList..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/addToStartUpList..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/addToStartUpList..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/addToStartUpList..st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/addToStartUpList..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArray.named..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/asMethodReturningByteArray.named..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArray.named..st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/asMethodReturningByteArray.named..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayLiteral.named..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/asMethodReturningByteArrayLiteral.named..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayLiteral.named..st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/asMethodReturningByteArrayLiteral.named..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayWithCache.named..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/asMethodReturningByteArrayWithCache.named..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayWithCache.named..st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/asMethodReturningByteArrayWithCache.named..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/base64Decode..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/base64Decode..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/base64Decode..st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/base64Decode..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/base64Encode..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/base64Encode..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/base64Encode..st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/base64Encode..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/bindingOf..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/bindingOf..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/bindingOf..st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/bindingOf..st diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/classCommentOf..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/classCommentOf..st new file mode 100644 index 00000000..f54bfc0f --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/classCommentOf..st @@ -0,0 +1,7 @@ +swagger +classCommentOf: aClass + | comment | + comment := aClass comment. + ^ (comment beginsWith: 'A ', aClass name asString, ' is xxxxxxxxx.') + ifFalse: [ comment ] + ifTrue: [ nil ] \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/compile.into.classified..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/compile.into.classified..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/compile.into.classified..st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/compile.into.classified..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/contentsOfFile.binary..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/contentsOfFile.binary..st diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/deleteFile.inFolder..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/deleteFile.inFolder..st deleted file mode 100644 index f2ba4102..00000000 --- a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/deleteFile.inFolder..st +++ /dev/null @@ -1,4 +0,0 @@ -file library -deleteFile: aFileName inFolder: aPathString - (FileDirectory on: aPathString) - deleteFileNamed: aFileName \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/deprecationExceptionSet.st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/deprecationExceptionSet.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/deprecationExceptionSet.st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/deprecationExceptionSet.st diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/doSilently..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/doSilently..st index d42119ee..2a887759 100644 --- a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/doSilently..st +++ b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/doSilently..st @@ -1,3 +1,3 @@ private doSilently: aBlock - ^SystemChangeNotifier uniqueInstance doSilently: aBlock \ No newline at end of file + ^ SystemChangeNotifier uniqueInstance doSilently: aBlock \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/ensureExistenceOfFolder..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/ensureExistenceOfFolder..st index c918f1e9..27973d2b 100644 --- a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/ensureExistenceOfFolder..st +++ b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/ensureExistenceOfFolder..st @@ -1,3 +1,4 @@ file library ensureExistenceOfFolder: aString - ^FileDirectory default assureExistenceOfPath: aString \ No newline at end of file + "creates a folder named aString in the image directory" + FileDirectory default assureExistenceOfPath: aString \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/fileExists..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/fileExists..st index e5d8ee83..e667077f 100644 --- a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/fileExists..st +++ b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/fileExists..st @@ -1,3 +1,3 @@ file library fileExists: aString - ^FileDirectory default fileExists: aString \ No newline at end of file + ^ FileDirectory default fileExists: aString \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/integerAsByteArray..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/integerAsByteArray..st index 124003a4..e47b1197 100644 --- a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/integerAsByteArray..st +++ b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/integerAsByteArray..st @@ -1,7 +1,10 @@ encoding integerAsByteArray: anInteger - | stream | - stream := ByteArray new writeStream. - anInteger greaseBytesCount to: 1 by: -1 do: [:digitIndex | - stream nextPut: (anInteger greaseByteAt: digitIndex)]. - ^ stream contents \ No newline at end of file + | size array | + size := anInteger greaseBytesCount. + array := ByteArray new: size. + size to: 1 by: -1 do: [ :digitIndex | + array + at: size - digitIndex + 1 + put: (anInteger greaseByteAt: digitIndex) ]. + ^ array \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/isProcessTerminated..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/isProcessTerminated..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/isProcessTerminated..st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/isProcessTerminated..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/label.st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/label.st similarity index 63% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/label.st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/label.st index f3b036e2..3ab4dd4d 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/label.st +++ b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/label.st @@ -1,3 +1,3 @@ version info label - ^ 'Pharo' \ No newline at end of file + ^ 'Squeak' \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/localNameOf..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/localNameOf..st index aea2f08c..f943c14d 100644 --- a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/localNameOf..st +++ b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/localNameOf..st @@ -1,3 +1,3 @@ file library localNameOf: aFilename - ^FileDirectory localNameFor: aFilename \ No newline at end of file + ^ (FileDirectory on: aFilename) localName \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/newRandom.st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/newRandom.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/newRandom.st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/newRandom.st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/newline.st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/newline.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/newline.st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/newline.st diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/openDebuggerOn..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/openDebuggerOn..st new file mode 100644 index 00000000..6a1a8c2d --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/openDebuggerOn..st @@ -0,0 +1,5 @@ +exceptions +openDebuggerOn: anError + "Squeak variant based on the Pharo platform code, intended to avoid the deprecated #debug:title:full: message" + + ToolSet handleError: anError \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/pathSeparator.st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/pathSeparator.st index b9a34e3d..00c6db56 100644 --- a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/pathSeparator.st +++ b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/pathSeparator.st @@ -1,3 +1,3 @@ -file library +files pathSeparator - ^ FileDirectory pathNameDelimiter asString \ No newline at end of file + ^ String with: FileDirectory pathNameDelimiter \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/readFileStreamOn.do.binary..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/readFileStreamOn.do.binary..st new file mode 100644 index 00000000..91aadee5 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/readFileStreamOn.do.binary..st @@ -0,0 +1,13 @@ +files +readFileStreamOn: aString do: aBlock binary: aBoolean + ^ aBoolean + ifTrue: [ + FileStream fileNamed: aString do: [ :stream | + stream binary. + aBlock value: stream ] ] + ifFalse: [ + MultiByteFileStream fileNamed: aString do: [ :stream | + stream + ascii; + wantsLineEndConversion: true. + aBlock value: stream ] ] \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/readWriteByteStream.st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/readWriteByteStream.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/readWriteByteStream.st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/readWriteByteStream.st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/readWriteCharacterStream.st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/readWriteCharacterStream.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/readWriteCharacterStream.st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/readWriteCharacterStream.st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/removeFromShutDownList..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/removeFromShutDownList..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/removeFromShutDownList..st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/removeFromShutDownList..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/removeFromStartUpList..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/removeFromStartUpList..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/removeFromStartUpList..st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/removeFromStartUpList..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/removeSelector.from..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/removeSelector.from..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/removeSelector.from..st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/removeSelector.from..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/secureHashFor..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/secureHashFor..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/secureHashFor..st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/secureHashFor..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/semaphoreClass.st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/semaphoreClass.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/semaphoreClass.st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/semaphoreClass.st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/stackDepth.st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/stackDepth.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/stackDepth.st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/stackDepth.st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/terminateProcess..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/terminateProcess..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/terminateProcess..st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/terminateProcess..st diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/thisContext.st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/thisContext.st index 360fed0c..97018fc5 100644 --- a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/thisContext.st +++ b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/thisContext.st @@ -1,4 +1,4 @@ processes thisContext - ^ thisContext sender + ^ thisContext sender \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/useByteArrayLiterals.st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/useByteArrayLiterals.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/useByteArrayLiterals.st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/useByteArrayLiterals.st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/weakDictionaryOfSize..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/weakDictionaryOfSize..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/weakDictionaryOfSize..st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/weakDictionaryOfSize..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/writeCharacterStreamOn..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/writeCharacterStreamOn..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoPlatform.class/instance/writeCharacterStreamOn..st rename to repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/writeCharacterStreamOn..st diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/methodProperties.json new file mode 100644 index 00000000..c833363c --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/methodProperties.json @@ -0,0 +1,56 @@ +{ + "class" : { + "initialize" : " 7/15/2024 14:23:40", + "initializeUrlTable" : " 7/15/2024 14:23:40", + "initializeXmlTable" : " 7/15/2024 14:23:40", + "unload" : " 7/15/2024 14:23:40" }, + "instance" : { + "addToShutDownList:" : " 7/15/2024 14:23:40", + "addToStartUpList:" : " 7/15/2024 14:23:40", + "asMethodReturningByteArray:named:" : " 7/15/2024 14:23:40", + "asMethodReturningByteArrayLiteral:named:" : " 7/15/2024 14:23:40", + "asMethodReturningByteArrayWithCache:named:" : " 7/15/2024 14:23:40", + "base64Decode:" : " 7/15/2024 14:23:40", + "base64Encode:" : " 7/15/2024 14:23:40", + "bindingOf:" : " 7/15/2024 14:23:40", + "classCommentOf:" : "pmm 7/15/2024 14:49", + "compile:into:classified:" : " 7/15/2024 14:23:40", + "contentsOfFile:binary:" : " 7/15/2024 14:23:40", + "defaultDirectoryPathString" : "pmm 7/15/2024 14:38", + "deleteFile:" : "pmm 7/15/2024 14:40", + "deprecationExceptionSet" : " 7/15/2024 14:23:40", + "directoriesIn:" : "pmm 7/15/2024 14:38", + "doSilently:" : " 7/15/2024 14:23:40", + "ensureExistenceOfFolder:" : "pmm 7/15/2024 14:38", + "fileExists:" : "pmm 7/15/2024 14:38", + "fileNameFor:" : "pmm 7/15/2024 14:39", + "fileStreamOn:do:binary:" : "pmm 7/15/2024 14:39", + "filesIn:" : "pmm 7/15/2024 14:39", + "integerAsByteArray:" : "pmm 7/15/2024 15:12", + "isDirectory:" : "pmm 7/15/2024 14:39", + "isProcessTerminated:" : " 7/15/2024 14:23:40", + "label" : "pmm 7/15/2024 14:52", + "localNameOf:" : " 7/15/2024 14:23:40", + "newRandom" : " 7/15/2024 14:23:40", + "newTemporaryFile" : "pmm 7/15/2024 14:40", + "newTemporaryFileNamed:" : "pmm 7/15/2024 14:40", + "newline" : " 7/15/2024 14:23:40", + "openDebuggerOn:" : "pmm 7/15/2024 14:57", + "pathSeparator" : "pmm 7/15/2024 15:00", + "readFileStreamOn:do:binary:" : "pmm 7/15/2024 15:08", + "readWriteByteStream" : " 7/15/2024 14:23:40", + "readWriteCharacterStream" : " 7/15/2024 14:23:40", + "removeFromShutDownList:" : " 7/15/2024 14:23:40", + "removeFromStartUpList:" : " 7/15/2024 14:23:40", + "removeSelector:from:" : " 7/15/2024 14:23:40", + "secureHashFor:" : " 7/15/2024 14:23:40", + "semaphoreClass" : " 7/15/2024 14:23:40", + "sizeOfFile:" : "pmm 7/15/2024 14:40", + "stackDepth" : " 7/15/2024 14:23:40", + "terminateProcess:" : " 7/15/2024 14:23:40", + "thisContext" : "pmm 7/15/2024 14:42", + "useByteArrayLiterals" : " 7/15/2024 14:23:40", + "weakDictionaryOfSize:" : " 7/15/2024 14:23:40", + "write:toFile:inFolder:" : "pmm 7/15/2024 14:40", + "writeCharacterStreamOn:" : " 7/15/2024 14:23:40", + "writeFileStreamOn:do:binary:" : "pmm 7/15/2024 15:08" } } diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/properties.json b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/properties.json index 3ac2e32c..5caa470c 100644 --- a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/properties.json @@ -1,11 +1,15 @@ { - "commentStamp" : "", - "super" : "GRPharoPlatform", "category" : "Grease-Squeak6-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + "UrlTable", + "XmlTable" ], + "commentStamp" : "pmm 7/15/2024 15:10", + "instvars" : [ + ], "name" : "GRSqueakPlatform", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "GRPharoPlatform", + "type" : "normal" } diff --git a/repository/Grease-Squeak6-Core.package/GRWorkingWriteStream.class/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRWorkingWriteStream.class/methodProperties.json new file mode 100644 index 00000000..e3165d0a --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/GRWorkingWriteStream.class/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "reset" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/GRWorkingWriteStream.class/properties.json b/repository/Grease-Squeak6-Core.package/GRWorkingWriteStream.class/properties.json index caf9c2fc..e4e89dfa 100644 --- a/repository/Grease-Squeak6-Core.package/GRWorkingWriteStream.class/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRWorkingWriteStream.class/properties.json @@ -1,11 +1,14 @@ { - "commentStamp" : "pmm 8/25/2011 18:30", - "super" : "WriteStream", "category" : "Grease-Squeak6-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "pmm 8/25/2011 18:30", + "instvars" : [ + ], "name" : "GRWorkingWriteStream", - "type" : "normal" -} \ No newline at end of file + "pools" : [ + ], + "super" : "WriteStream", + "type" : "normal" } diff --git a/repository/Grease-Squeak6-Core.package/Interval.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/Interval.extension/methodProperties.json new file mode 100644 index 00000000..34059a53 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/Interval.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "any" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/Interval.extension/properties.json b/repository/Grease-Squeak6-Core.package/Interval.extension/properties.json index 534eb553..d468cd35 100644 --- a/repository/Grease-Squeak6-Core.package/Interval.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/Interval.extension/properties.json @@ -1,3 +1,2 @@ { - "name" : "Interval" -} \ No newline at end of file + "name" : "Interval" } diff --git a/repository/Grease-Squeak6-Core.package/LargePositiveInteger.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/LargePositiveInteger.extension/methodProperties.json new file mode 100644 index 00000000..c7faaf04 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/LargePositiveInteger.extension/methodProperties.json @@ -0,0 +1,6 @@ +{ + "class" : { + }, + "instance" : { + "greaseByteAt:" : " 7/15/2024 14:23:40", + "greaseBytesCount" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/LargePositiveInteger.extension/properties.json b/repository/Grease-Squeak6-Core.package/LargePositiveInteger.extension/properties.json index 4fea44e2..2b034b1a 100644 --- a/repository/Grease-Squeak6-Core.package/LargePositiveInteger.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/LargePositiveInteger.extension/properties.json @@ -1,3 +1,2 @@ { - "name" : "LargePositiveInteger" -} \ No newline at end of file + "name" : "LargePositiveInteger" } diff --git a/repository/Grease-Squeak6-Core.package/MessageSend.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/MessageSend.extension/methodProperties.json new file mode 100644 index 00000000..8298ec3f --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/MessageSend.extension/methodProperties.json @@ -0,0 +1,6 @@ +{ + "class" : { + }, + "instance" : { + "argumentCount" : " 7/15/2024 14:23:40", + "valueWithPossibleArguments:" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/MessageSend.extension/properties.json b/repository/Grease-Squeak6-Core.package/MessageSend.extension/properties.json index 00669b90..66fcc3c1 100644 --- a/repository/Grease-Squeak6-Core.package/MessageSend.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/MessageSend.extension/properties.json @@ -1,3 +1,2 @@ { - "name" : "MessageSend" -} \ No newline at end of file + "name" : "MessageSend" } diff --git a/repository/Grease-Squeak6-Core.package/Number.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/Number.extension/methodProperties.json new file mode 100644 index 00000000..cca14c46 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/Number.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "milliseconds" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/Number.extension/properties.json b/repository/Grease-Squeak6-Core.package/Number.extension/properties.json index 71dace88..1d2c94d4 100644 --- a/repository/Grease-Squeak6-Core.package/Number.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/Number.extension/properties.json @@ -1,3 +1,2 @@ { - "name" : "Number" -} \ No newline at end of file + "name" : "Number" } diff --git a/repository/Grease-Squeak6-Core.package/Object.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/Object.extension/methodProperties.json new file mode 100644 index 00000000..86b3401b --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/Object.extension/methodProperties.json @@ -0,0 +1,6 @@ +{ + "class" : { + }, + "instance" : { + "greaseString" : " 7/15/2024 14:23:40", + "sizeInMemory" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/Object.extension/properties.json b/repository/Grease-Squeak6-Core.package/Object.extension/properties.json index f30a86e1..3d3b9ec4 100644 --- a/repository/Grease-Squeak6-Core.package/Object.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/Object.extension/properties.json @@ -1,3 +1,2 @@ { - "name" : "Object" -} \ No newline at end of file + "name" : "Object" } diff --git a/repository/Grease-Squeak6-Core.package/PositionableStream.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/PositionableStream.extension/methodProperties.json new file mode 100644 index 00000000..3b18f6ce --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/PositionableStream.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "greaseUpToAll:" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/PositionableStream.extension/properties.json b/repository/Grease-Squeak6-Core.package/PositionableStream.extension/properties.json index 8e090ee3..9e1697a6 100644 --- a/repository/Grease-Squeak6-Core.package/PositionableStream.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/PositionableStream.extension/properties.json @@ -1,3 +1,2 @@ { - "name" : "PositionableStream" -} \ No newline at end of file + "name" : "PositionableStream" } diff --git a/repository/Grease-Squeak6-Core.package/Random.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/Random.extension/methodProperties.json new file mode 100644 index 00000000..54f34032 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/Random.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "randomFrom:" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/Random.extension/properties.json b/repository/Grease-Squeak6-Core.package/Random.extension/properties.json index b6485d17..1c67d9ee 100644 --- a/repository/Grease-Squeak6-Core.package/Random.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/Random.extension/properties.json @@ -1,3 +1,2 @@ { - "name" : "Random" -} \ No newline at end of file + "name" : "Random" } diff --git a/repository/Grease-Squeak6-Core.package/ScaledDecimal.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/ScaledDecimal.extension/methodProperties.json new file mode 100644 index 00000000..b5571d1b --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/ScaledDecimal.extension/methodProperties.json @@ -0,0 +1,6 @@ +{ + "class" : { + }, + "instance" : { + "encodeOn:" : " 7/15/2024 14:23:40", + "greaseString" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/ScaledDecimal.extension/properties.json b/repository/Grease-Squeak6-Core.package/ScaledDecimal.extension/properties.json index 75f85f87..6e425dda 100644 --- a/repository/Grease-Squeak6-Core.package/ScaledDecimal.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/ScaledDecimal.extension/properties.json @@ -1,3 +1,2 @@ { - "name" : "ScaledDecimal" -} \ No newline at end of file + "name" : "ScaledDecimal" } diff --git a/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/methodProperties.json new file mode 100644 index 00000000..0547f199 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/methodProperties.json @@ -0,0 +1,8 @@ +{ + "class" : { + }, + "instance" : { + "beginsWithSubCollection:" : " 7/15/2024 14:23:40", + "endsWithSubCollection:" : " 7/15/2024 14:23:40", + "greaseBeginsWith:" : " 7/15/2024 14:23:40", + "greaseEndsWith:" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/properties.json b/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/properties.json index a68b7db6..3b2523c3 100644 --- a/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/properties.json @@ -1,3 +1,2 @@ { - "name" : "SequenceableCollection" -} \ No newline at end of file + "name" : "SequenceableCollection" } diff --git a/repository/Grease-Squeak6-Core.package/SmallInteger.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/SmallInteger.extension/methodProperties.json new file mode 100644 index 00000000..c7faaf04 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/SmallInteger.extension/methodProperties.json @@ -0,0 +1,6 @@ +{ + "class" : { + }, + "instance" : { + "greaseByteAt:" : " 7/15/2024 14:23:40", + "greaseBytesCount" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/SmallInteger.extension/properties.json b/repository/Grease-Squeak6-Core.package/SmallInteger.extension/properties.json index ca9cd21f..d2d9ab4a 100644 --- a/repository/Grease-Squeak6-Core.package/SmallInteger.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/SmallInteger.extension/properties.json @@ -1,3 +1,2 @@ { - "name" : "SmallInteger" -} \ No newline at end of file + "name" : "SmallInteger" } diff --git a/repository/Grease-Squeak6-Core.package/SocketStream.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/SocketStream.extension/methodProperties.json new file mode 100644 index 00000000..ff299439 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/SocketStream.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "greaseNext:putAll:startingAt:" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/SocketStream.extension/properties.json b/repository/Grease-Squeak6-Core.package/SocketStream.extension/properties.json index 797e09e5..4800d84e 100644 --- a/repository/Grease-Squeak6-Core.package/SocketStream.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/SocketStream.extension/properties.json @@ -1,3 +1,2 @@ { - "name" : "SocketStream" -} \ No newline at end of file + "name" : "SocketStream" } diff --git a/repository/Grease-Squeak6-Core.package/String.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/String.extension/methodProperties.json new file mode 100644 index 00000000..91076b9b --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/String.extension/methodProperties.json @@ -0,0 +1,12 @@ +{ + "class" : { + }, + "instance" : { + "substrings:" : " 7/15/2024 14:23:40", + "trimBoth" : " 7/15/2024 14:23:40", + "trimBoth:" : " 7/15/2024 14:23:40", + "trimLeft" : " 7/15/2024 14:23:40", + "trimLeft:" : " 7/15/2024 14:23:40", + "trimLeft:right:" : " 7/15/2024 14:23:40", + "trimRight" : " 7/15/2024 14:23:40", + "trimRight:" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/String.extension/properties.json b/repository/Grease-Squeak6-Core.package/String.extension/properties.json index b20f2de3..c2138507 100644 --- a/repository/Grease-Squeak6-Core.package/String.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/String.extension/properties.json @@ -1,3 +1,2 @@ { - "name" : "String" -} \ No newline at end of file + "name" : "String" } diff --git a/repository/Grease-Squeak6-Core.package/Symbol.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/Symbol.extension/methodProperties.json new file mode 100644 index 00000000..e277d88b --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/Symbol.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "greaseAsMutator" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/Symbol.extension/properties.json b/repository/Grease-Squeak6-Core.package/Symbol.extension/properties.json index 8c6bce81..565e67b0 100644 --- a/repository/Grease-Squeak6-Core.package/Symbol.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/Symbol.extension/properties.json @@ -1,3 +1,2 @@ { - "name" : "Symbol" -} \ No newline at end of file + "name" : "Symbol" } diff --git a/repository/Grease-Squeak6-Core.package/WriteStream.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/WriteStream.extension/methodProperties.json new file mode 100644 index 00000000..ff299439 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/WriteStream.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "greaseNext:putAll:startingAt:" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/WriteStream.extension/properties.json b/repository/Grease-Squeak6-Core.package/WriteStream.extension/properties.json index 8688e80d..239b3632 100644 --- a/repository/Grease-Squeak6-Core.package/WriteStream.extension/properties.json +++ b/repository/Grease-Squeak6-Core.package/WriteStream.extension/properties.json @@ -1,3 +1,2 @@ { - "name" : "WriteStream" -} \ No newline at end of file + "name" : "WriteStream" } diff --git a/repository/Grease-Squeak6-Core.package/monticello.meta/version b/repository/Grease-Squeak6-Core.package/monticello.meta/version new file mode 100644 index 00000000..d74b61f7 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/monticello.meta/version @@ -0,0 +1 @@ +(name 'Grease-Squeak6-Core-pmm.2' message 'Improve Squeak 6 Support - move methods from GRPharoPlatform to GRSqeuakPlatform - keep GRPharoPlatform as empty - migrate from FileSystem to FileDirectory - implement missing methods - custom implementation of #openDebuggerOn:' id 'a32e7fbd-559a-4a6d-8442-57277c1ee178' date '16 July 2024' time '9:15:32.440636 pm' author 'pmm' ancestors ((name 'Grease-Squeak6-Core-cypress.1' message 'fabricated from a Cypress format repository' id '90a05819-76e9-4531-80d4-b8bde69d370f' date '15 July 2024' time '2:23:40.385068 pm' author '' ancestors () stepChildren ())) stepChildren ()) \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/properties.json b/repository/Grease-Squeak6-Core.package/properties.json index 6f31cf5a..f037444a 100644 --- a/repository/Grease-Squeak6-Core.package/properties.json +++ b/repository/Grease-Squeak6-Core.package/properties.json @@ -1 +1,2 @@ -{ } \ No newline at end of file +{ + } diff --git a/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testDeprecationExceptionSet.st b/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testDeprecationExceptionSet.st new file mode 100644 index 00000000..e43f8e40 --- /dev/null +++ b/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testDeprecationExceptionSet.st @@ -0,0 +1,10 @@ +tests +testDeprecationExceptionSet + | value | + value := [ + "intentially send Squeak instead of Grease deprecation message" + self deprecated: 'test'. + 'failed' ] + on: GRDeprecatedApiNotification, GRPlatform current deprecationExceptionSet + do: [ :e | 'passed' ]. + self assert: value = 'passed' \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/methodProperties.json b/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/methodProperties.json new file mode 100644 index 00000000..90be7d49 --- /dev/null +++ b/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/methodProperties.json @@ -0,0 +1,12 @@ +{ + "class" : { + }, + "instance" : { + "testCompileIntoClassified" : " 7/15/2024 14:23:50", + "testDeprecationExceptionSet" : "pmm 7/15/2024 14:27", + "testFullName" : " 7/15/2024 14:23:50", + "testGreaseIntegerOnCharacter" : " 7/15/2024 14:23:50", + "testMessageSendValueWithPossibleArguments" : " 7/15/2024 14:23:50", + "testWriteToFileInFolderBinary" : " 7/15/2024 14:23:50", + "testWriteToFileInFolderText" : " 7/15/2024 14:23:50", + "writeToFile:" : " 7/15/2024 14:23:50" } } diff --git a/repository/Grease-Tests-Squeak-Core.package/monticello.meta/version b/repository/Grease-Tests-Squeak-Core.package/monticello.meta/version new file mode 100644 index 00000000..63bcd48f --- /dev/null +++ b/repository/Grease-Tests-Squeak-Core.package/monticello.meta/version @@ -0,0 +1 @@ +(name 'Grease-Tests-Squeak-Core-pmm.2' message 'Add test for deprecationExceptionSet' id '1764fd6f-559d-4a3f-b218-e77d9399ad2d' date '16 July 2024' time '9:16:34.038751 pm' author 'pmm' ancestors ((name 'Grease-Tests-Squeak-Core-cypress.1' message 'fabricated from a Cypress format repository' id 'f3482edf-64f3-4489-bab1-2084b41585e7' date '15 July 2024' time '2:23:50.812508 pm' author '' ancestors () stepChildren ())) stepChildren ()) \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPackage.extension/methodProperties.json b/repository/Grease-Tests-Squeak6-Core.package/GRPackage.extension/methodProperties.json new file mode 100644 index 00000000..90fd53fb --- /dev/null +++ b/repository/Grease-Tests-Squeak6-Core.package/GRPackage.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + "greaseTestsSqueak6Core" : " 7/15/2024 14:23:54" }, + "instance" : { + } } diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoCodecTest.class/methodProperties.json b/repository/Grease-Tests-Squeak6-Core.package/GRPharoCodecTest.class/methodProperties.json new file mode 100644 index 00000000..1937a26b --- /dev/null +++ b/repository/Grease-Tests-Squeak6-Core.package/GRPharoCodecTest.class/methodProperties.json @@ -0,0 +1,10 @@ +{ + "class" : { + }, + "instance" : { + "assert:next:startingAt:gives:" : " 7/15/2024 14:23:54", + "assertEncodingIgnoresLanguageTat:" : " 7/15/2024 14:23:54", + "stripLeadingCharFrom:" : " 7/15/2024 14:23:54", + "testAllCodesIncludesIso88591" : " 7/15/2024 14:23:54", + "testGreaseNextPutAllStartingAt" : " 7/15/2024 14:23:54", + "testLanguageTag" : " 7/15/2024 14:23:54" } } diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoColorTest.class/methodProperties.json b/repository/Grease-Tests-Squeak6-Core.package/GRPharoColorTest.class/methodProperties.json new file mode 100644 index 00000000..521f441a --- /dev/null +++ b/repository/Grease-Tests-Squeak6-Core.package/GRPharoColorTest.class/methodProperties.json @@ -0,0 +1,11 @@ +{ + "class" : { + }, + "instance" : { + "expectedFailures" : " 7/15/2024 14:23:54", + "testAllColors" : " 7/15/2024 14:23:54", + "testColorAsHtmlColor" : " 7/15/2024 14:23:54", + "testFromSixDigit" : " 7/15/2024 14:23:54", + "testFromStringName" : " 7/15/2024 14:23:54", + "testFromStringSixDigit" : " 7/15/2024 14:23:54", + "testFromStringThreeDigit" : " 7/15/2024 14:23:54" } } diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoGenericCodecTest.class/methodProperties.json b/repository/Grease-Tests-Squeak6-Core.package/GRPharoGenericCodecTest.class/methodProperties.json new file mode 100644 index 00000000..ae96f140 --- /dev/null +++ b/repository/Grease-Tests-Squeak6-Core.package/GRPharoGenericCodecTest.class/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "testNoAmbiguities" : " 7/15/2024 14:23:54" } } diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoPlatformTest.class/methodProperties.json b/repository/Grease-Tests-Squeak6-Core.package/GRPharoPlatformTest.class/methodProperties.json new file mode 100644 index 00000000..a9ca2aad --- /dev/null +++ b/repository/Grease-Tests-Squeak6-Core.package/GRPharoPlatformTest.class/methodProperties.json @@ -0,0 +1,11 @@ +{ + "class" : { + }, + "instance" : { + "testCompileIntoClassified" : " 7/15/2024 14:23:54", + "testFullName" : " 7/15/2024 14:23:54", + "testGreaseIntegerOnCharacter" : " 7/15/2024 14:23:54", + "testMessageSendValueWithPossibleArguments" : " 7/15/2024 14:23:54", + "testWriteToFileInFolderBinary" : " 7/15/2024 14:23:54", + "testWriteToFileInFolderText" : " 7/15/2024 14:23:54", + "writeToFile:" : " 7/15/2024 14:23:54" } } diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPlatformTest.extension/instance/writeToFile.withFileNameDo..st b/repository/Grease-Tests-Squeak6-Core.package/GRPlatformTest.extension/instance/writeToFile.withFileNameDo..st index ec976216..eb2b6468 100644 --- a/repository/Grease-Tests-Squeak6-Core.package/GRPlatformTest.extension/instance/writeToFile.withFileNameDo..st +++ b/repository/Grease-Tests-Squeak6-Core.package/GRPlatformTest.extension/instance/writeToFile.withFileNameDo..st @@ -1,12 +1,12 @@ *grease-tests-squeak6-core writeToFile: aStringOrByteArray withFileNameDo: aBlock | fileName directory | - fileName := 'GRPharoPlatformTest'. - directory := FileSystem disk workingDirectory. + fileName := 'GRSqueakPlatformTest'. + directory := FileDirectory default. [ GRPlatform current write: aStringOrByteArray toFile: fileName inFolder: directory fullName. aBlock value: directory fullName, GRPlatform current pathSeparator, fileName ] ensure: [ - (directory / fileName) delete ] + directory deleteFileNamed: fileName ] \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPlatformTest.extension/methodProperties.json b/repository/Grease-Tests-Squeak6-Core.package/GRPlatformTest.extension/methodProperties.json new file mode 100644 index 00000000..49ab0fa0 --- /dev/null +++ b/repository/Grease-Tests-Squeak6-Core.package/GRPlatformTest.extension/methodProperties.json @@ -0,0 +1,6 @@ +{ + "class" : { + }, + "instance" : { + "testScaledDecimalGreaseString" : " 7/15/2024 14:23:54", + "writeToFile:withFileNameDo:" : "pmm 7/15/2024 14:30" } } diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPrinterTest.extension/methodProperties.json b/repository/Grease-Tests-Squeak6-Core.package/GRPrinterTest.extension/methodProperties.json new file mode 100644 index 00000000..5f8002a6 --- /dev/null +++ b/repository/Grease-Tests-Squeak6-Core.package/GRPrinterTest.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "testScaledDecimalPrinter" : " 7/15/2024 14:23:54" } } diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRUtf8CodecTest.extension/methodProperties.json b/repository/Grease-Tests-Squeak6-Core.package/GRUtf8CodecTest.extension/methodProperties.json new file mode 100644 index 00000000..2da0499d --- /dev/null +++ b/repository/Grease-Tests-Squeak6-Core.package/GRUtf8CodecTest.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "expectedFailures" : " 7/15/2024 14:23:54" } } diff --git a/repository/Grease-Tests-Squeak6-Core.package/monticello.meta/version b/repository/Grease-Tests-Squeak6-Core.package/monticello.meta/version new file mode 100644 index 00000000..c39cd75e --- /dev/null +++ b/repository/Grease-Tests-Squeak6-Core.package/monticello.meta/version @@ -0,0 +1 @@ +(name 'Grease-Tests-Squeak6-Core-pmm.2' message 'migrate from FileSystem to FileDirectory' id '40a694dc-fd36-4eb0-8f1b-d8cf16a284b7' date '16 July 2024' time '9:17:38.293269 pm' author 'pmm' ancestors ((name 'Grease-Tests-Squeak6-Core-cypress.1' message 'fabricated from a Cypress format repository' id 'afd2d406-4bbd-45d0-aca3-6af0f80eb7d8' date '15 July 2024' time '2:23:54.178963 pm' author '' ancestors () stepChildren ())) stepChildren ()) \ No newline at end of file From 40d5e42807413654acb601bf27560e13585a6309 Mon Sep 17 00:00:00 2001 From: Kurt Kilpela Date: Fri, 16 Aug 2024 09:33:19 -0700 Subject: [PATCH 230/254] #33 Add missing #greaseNext:putAll:startingAt: method --- .../instance/greaseNext.putAll.startingAt..st | 3 +++ .../GRDelegatingStream.extension/properties.json | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 repository/Grease-GemStone-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st create mode 100644 repository/Grease-GemStone-Core.package/GRDelegatingStream.extension/properties.json diff --git a/repository/Grease-GemStone-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st b/repository/Grease-GemStone-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st new file mode 100644 index 00000000..7ebc0caa --- /dev/null +++ b/repository/Grease-GemStone-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st @@ -0,0 +1,3 @@ +*grease-gemstone-core +greaseNext: anInteger putAll: aCollection startingAt: startIndex + stream greaseNext: anInteger putAll: aCollection startingAt: startIndex diff --git a/repository/Grease-GemStone-Core.package/GRDelegatingStream.extension/properties.json b/repository/Grease-GemStone-Core.package/GRDelegatingStream.extension/properties.json new file mode 100644 index 00000000..5ec29ea0 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/GRDelegatingStream.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "GRDelegatingStream" +} \ No newline at end of file From 16f12b02a98e2a3861ca5b23fcedded96f1f78ba Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 18 Aug 2024 14:33:21 +0200 Subject: [PATCH 231/254] update gemstone version in CI --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea17be68..ef153d79 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - smalltalk: [ Pharo64-12, Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.7.1, GemStone64-3.6.8, GemStone64-3.5.7, Squeak64-5.3 ] + smalltalk: [ Pharo64-12, Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.7.1, GemStone64-3.6.8, GemStone64-3.5.8, Squeak64-5.3 ] experimental: [ false ] include: - smalltalk: Pharo64-13 From 10552ef351fba62a63cfd8005508bf539e9a483b Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 18 Aug 2024 14:35:27 +0200 Subject: [PATCH 232/254] keep gemstone 3.7.0 in the list as well --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef153d79..f40b5d16 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - smalltalk: [ Pharo64-12, Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.7.1, GemStone64-3.6.8, GemStone64-3.5.8, Squeak64-5.3 ] + smalltalk: [ Pharo64-12, Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.7.0, GemStone64-3.7.1, GemStone64-3.6.8, GemStone64-3.5.8, Squeak64-5.3 ] experimental: [ false ] include: - smalltalk: Pharo64-13 From 5388665ff30ffd90efb3c8c50b1b510e3f2c3d7e Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 19 Aug 2024 18:39:05 +0200 Subject: [PATCH 233/254] Move GRDelegatingStream>>greaseNext:putAll:startingAt: to Grease-Core since it is not only required in Pharo (see https://github.com/GsDevKit/Grease/issues/33) --- .../instance/greaseNext.putAll.startingAt..st | 2 +- .../Grease-Core.package/GRPlatform.class/instance/version.st | 2 +- .../GRDelegatingStream.extension/properties.json | 3 --- 3 files changed, 2 insertions(+), 5 deletions(-) rename repository/{Grease-Pharo100-Core.package/GRDelegatingStream.extension => Grease-Core.package/GRDelegatingStream.class}/instance/greaseNext.putAll.startingAt..st (86%) delete mode 100644 repository/Grease-Pharo100-Core.package/GRDelegatingStream.extension/properties.json diff --git a/repository/Grease-Pharo100-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Core.package/GRDelegatingStream.class/instance/greaseNext.putAll.startingAt..st similarity index 86% rename from repository/Grease-Pharo100-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st rename to repository/Grease-Core.package/GRDelegatingStream.class/instance/greaseNext.putAll.startingAt..st index c3a17a33..1139a600 100644 --- a/repository/Grease-Pharo100-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st +++ b/repository/Grease-Core.package/GRDelegatingStream.class/instance/greaseNext.putAll.startingAt..st @@ -1,3 +1,3 @@ -*Grease-Pharo100-Core +streaming greaseNext: anInteger putAll: aCollection startingAt: startIndex stream greaseNext: anInteger putAll: aCollection startingAt: startIndex \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/version.st b/repository/Grease-Core.package/GRPlatform.class/instance/version.st index 7dce4ec5..6620cfe6 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/version.st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/version.st @@ -2,5 +2,5 @@ version info version "Answer the Grease version" - ^ (GRVersion major: 1 minor: 18 revision: 1) + ^ (GRVersion major: 1 minor: 18 revision: 2) yourself \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRDelegatingStream.extension/properties.json b/repository/Grease-Pharo100-Core.package/GRDelegatingStream.extension/properties.json deleted file mode 100644 index 5ec29ea0..00000000 --- a/repository/Grease-Pharo100-Core.package/GRDelegatingStream.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "GRDelegatingStream" -} \ No newline at end of file From a6dc3de5aee94011632df3d2fef2a7b938cb7a96 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 19 Aug 2024 18:47:50 +0200 Subject: [PATCH 234/254] Remove gemstone-specific override of GRDelegatingStream>>greaseNext:putAll:startingAt: since it is now included in Grease-Core --- .../instance/greaseNext.putAll.startingAt..st | 3 --- .../GRDelegatingStream.extension/properties.json | 3 --- 2 files changed, 6 deletions(-) delete mode 100644 repository/Grease-GemStone-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st delete mode 100644 repository/Grease-GemStone-Core.package/GRDelegatingStream.extension/properties.json diff --git a/repository/Grease-GemStone-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st b/repository/Grease-GemStone-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st deleted file mode 100644 index 7ebc0caa..00000000 --- a/repository/Grease-GemStone-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st +++ /dev/null @@ -1,3 +0,0 @@ -*grease-gemstone-core -greaseNext: anInteger putAll: aCollection startingAt: startIndex - stream greaseNext: anInteger putAll: aCollection startingAt: startIndex diff --git a/repository/Grease-GemStone-Core.package/GRDelegatingStream.extension/properties.json b/repository/Grease-GemStone-Core.package/GRDelegatingStream.extension/properties.json deleted file mode 100644 index 5ec29ea0..00000000 --- a/repository/Grease-GemStone-Core.package/GRDelegatingStream.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "GRDelegatingStream" -} \ No newline at end of file From 5e8378a07ec005d4a09299a8e349b7523d6f0651 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Thu, 2 Jan 2025 11:49:15 +0100 Subject: [PATCH 235/254] Correct method argument naming --- .../GRPlatform.class/instance/secureHashFor..st | 2 +- .../GRPharoPlatform.class/instance/secureHashFor..st | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/secureHashFor..st b/repository/Grease-Core.package/GRPlatform.class/instance/secureHashFor..st index dfe482be..7da0404a 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/secureHashFor..st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/secureHashFor..st @@ -1,3 +1,3 @@ cryptography -secureHashFor: aString +secureHashFor: aStringOrByteArray self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/secureHashFor..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/secureHashFor..st index 46b9e2d2..12698969 100644 --- a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/secureHashFor..st +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/secureHashFor..st @@ -1,3 +1,3 @@ cryptography -secureHashFor: aString - ^ SHA1 new hashMessage: aString \ No newline at end of file +secureHashFor: aStringOrByteArray + ^ SHA1 new hashMessage: aStringOrByteArray \ No newline at end of file From 8f04339d16e9b9a92f67e8e61d6de91e0db527ca Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Thu, 2 Jan 2025 14:22:51 +0100 Subject: [PATCH 236/254] Expanded the testcase for secureHashFor: to also cover (any) bytearray as argument since this method is used in Seaside with any String or ByteArray --- .../instance/testSecureHashFor.st | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testSecureHashFor.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testSecureHashFor.st index f6521ee3..5a6dfb9f 100644 --- a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testSecureHashFor.st +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testSecureHashFor.st @@ -1,9 +1,19 @@ tests testSecureHashFor - "Make sure the platform class provides a #secureHashFor: method. The method is called by Seaside when hashing passwords. The Squeak implementation returns a SHA-1 hash but another equivalent hash method could also be used." + "Make sure the platform class provides a #secureHashFor: method. The method is called by Seaside when hashing passwords. + The Pharo implementation returns a SHA-1 hash but another equivalent hash method could also be used." - | a b | + | a b c d invalidUtf8 e f | a := self platform secureHashFor: 'foobar'. b := self platform secureHashFor: 'foobar'. + self assert: a equals: b. + + c := self platform secureHashFor: #[102 111 111 98 97 114]. + d := self platform secureHashFor: #[102 111 111 98 97 114]. + self assert: c equals: d. - self assert: (a = b) \ No newline at end of file + "The following ensures any byte array can be used (and not only the onces containing valid utf8)" + invalidUtf8 := #[160 161]. + e := self platform secureHashFor: invalidUtf8. + f := self platform secureHashFor: invalidUtf8. + self assert: e equals: f \ No newline at end of file From 8f4151f4db08cb0fa33db29c5887834a0eba16a9 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 21 Apr 2025 09:43:43 +0200 Subject: [PATCH 237/254] Fix CI --- .github/workflows/ci.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f40b5d16..3cd3af4f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,14 +1,18 @@ name: smalltalkCI -on: [push, pull_request] +on: + push: + pull_request: + schedule: + - cron: "5 0 * * 1" # At 00:05 on Monday. jobs: test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest strategy: fail-fast: false matrix: - smalltalk: [ Pharo64-12, Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.7.0, GemStone64-3.7.1, GemStone64-3.6.8, GemStone64-3.5.8, Squeak64-5.3 ] + smalltalk: [ Pharo64-12, Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.7.1, GemStone64-3.6.8, GemStone64-3.5.8, Squeak64-5.3 ] experimental: [ false ] include: - smalltalk: Pharo64-13 From cb7887f69da56da5661cd8252a4db90f749aeb3f Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 23 Jun 2025 08:40:28 +0200 Subject: [PATCH 238/254] Include Pharo 14 in the experimental tests, set Pharo 13 to standard in the tests --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3cd3af4f..86fca888 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,10 +12,10 @@ jobs: strategy: fail-fast: false matrix: - smalltalk: [ Pharo64-12, Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.7.1, GemStone64-3.6.8, GemStone64-3.5.8, Squeak64-5.3 ] + smalltalk: [ Pharo64-13, Pharo64-12, Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.7.1, GemStone64-3.6.8, GemStone64-3.5.8, Squeak64-5.3 ] experimental: [ false ] include: - - smalltalk: Pharo64-13 + - smalltalk: Pharo64-14 experimental: true - smalltalk: Squeak64-6.0 experimental: true From e2927c2d0ce560fb6b764cab76dbe2ee5b74998b Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 23 Jun 2025 08:42:50 +0200 Subject: [PATCH 239/254] Include Pharo14 in the baselineOf --- .../BaselineOfGrease.class/instance/baselinePharo..st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st index f1a39cd3..7ac453b2 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st @@ -52,7 +52,7 @@ baselinePharo: spec group: 'Slime Tests' with: #('Grease-Tests-Slime') ]. spec - for: #(#'pharo10.x' #'pharo11.x' #'pharo12.x' #'pharo13.x') + for: #(#'pharo10.x' #'pharo11.x' #'pharo12.x' #'pharo13.x' #'pharo14.x') do: [ spec package: 'Grease-Core' with: [ spec includes: #('Grease-Pharo100-Core') ]; From 1ca1ae0145e3c02ad66f0ac920e9d4a310022eb7 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 23 Jun 2025 08:47:22 +0200 Subject: [PATCH 240/254] increment point version number --- .../Grease-Core.package/GRPlatform.class/instance/version.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/version.st b/repository/Grease-Core.package/GRPlatform.class/instance/version.st index 6620cfe6..a4bed8ce 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/version.st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/version.st @@ -2,5 +2,5 @@ version info version "Answer the Grease version" - ^ (GRVersion major: 1 minor: 18 revision: 2) + ^ (GRVersion major: 1 minor: 18 revision: 3) yourself \ No newline at end of file From d2592473b4b815ed48e57846292cc3098aca82b3 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 23 Jun 2025 08:51:56 +0200 Subject: [PATCH 241/254] remove Squeak 5.3 from build --- .github/workflows/ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86fca888..6c147ada 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,13 +12,11 @@ jobs: strategy: fail-fast: false matrix: - smalltalk: [ Pharo64-13, Pharo64-12, Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.7.1, GemStone64-3.6.8, GemStone64-3.5.8, Squeak64-5.3 ] + smalltalk: [ Pharo64-13, Pharo64-12, Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.7.1, GemStone64-3.6.8, GemStone64-3.5.8, Squeak64-6.0 ] experimental: [ false ] include: - smalltalk: Pharo64-14 experimental: true - - smalltalk: Squeak64-6.0 - experimental: true continue-on-error: ${{ matrix.experimental }} name: ${{ matrix.smalltalk }} steps: From 613596b6c1b7075bd1ffe5b33ea0b0b947787a56 Mon Sep 17 00:00:00 2001 From: Philippe Marschall Date: Sun, 29 Jun 2025 16:19:47 +0200 Subject: [PATCH 242/254] Camp 2025 Squeak fixes round 1 - remove classCommentOf:, part of swagger - remove GRWorkingWriteStream, no need - add pad* methods --- .../Behavior.extension/methodProperties.json | 2 +- .../methodProperties.json | 2 +- .../ByteArray.extension/methodProperties.json | 2 +- .../Character.extension/methodProperties.json | 2 +- .../methodProperties.json | 2 +- .../Duration.extension/methodProperties.json | 6 +- .../methodProperties.json | 2 +- .../methodProperties.json | 6 +- .../GRPackage.extension/methodProperties.json | 2 +- .../methodProperties.json | 14 ++-- .../methodProperties.json | 20 +++--- .../methodProperties.json | 18 +++--- .../methodProperties.json | 4 +- .../methodProperties.json | 18 +++--- .../methodProperties.json | 22 +++---- .../methodProperties.json | 6 +- .../instance/classCommentOf..st | 7 -- .../instance/writeCharacterStreamOn..st | 4 -- .../methodProperties.json | 64 +++++++++---------- .../GRWorkingWriteStream.class/README.md | 1 - .../instance/reset.st | 3 - .../methodProperties.json | 5 -- .../properties.json | 14 ---- .../Interval.extension/methodProperties.json | 2 +- .../methodProperties.json | 4 +- .../methodProperties.json | 4 +- .../Number.extension/methodProperties.json | 2 +- .../Object.extension/methodProperties.json | 4 +- .../methodProperties.json | 2 +- .../Random.extension/methodProperties.json | 2 +- .../methodProperties.json | 4 +- .../methodProperties.json | 8 +-- .../methodProperties.json | 4 +- .../methodProperties.json | 2 +- .../instance/padLeftTo.with..st | 3 + .../instance/padRightTo.with..st | 3 + .../String.extension/methodProperties.json | 18 +++--- .../Symbol.extension/methodProperties.json | 2 +- .../methodProperties.json | 2 +- .../monticello.meta/version | 2 +- 40 files changed, 133 insertions(+), 161 deletions(-) delete mode 100644 repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/classCommentOf..st delete mode 100644 repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/writeCharacterStreamOn..st delete mode 100644 repository/Grease-Squeak6-Core.package/GRWorkingWriteStream.class/README.md delete mode 100644 repository/Grease-Squeak6-Core.package/GRWorkingWriteStream.class/instance/reset.st delete mode 100644 repository/Grease-Squeak6-Core.package/GRWorkingWriteStream.class/methodProperties.json delete mode 100644 repository/Grease-Squeak6-Core.package/GRWorkingWriteStream.class/properties.json create mode 100644 repository/Grease-Squeak6-Core.package/String.extension/instance/padLeftTo.with..st create mode 100644 repository/Grease-Squeak6-Core.package/String.extension/instance/padRightTo.with..st diff --git a/repository/Grease-Squeak6-Core.package/Behavior.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/Behavior.extension/methodProperties.json index 7e620f60..a3ca36c4 100644 --- a/repository/Grease-Squeak6-Core.package/Behavior.extension/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/Behavior.extension/methodProperties.json @@ -2,4 +2,4 @@ "class" : { }, "instance" : { - "fullName" : " 7/15/2024 14:23:40" } } + "fullName" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/BlockClosure.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/BlockClosure.extension/methodProperties.json index e8b10a81..32357e4b 100644 --- a/repository/Grease-Squeak6-Core.package/BlockClosure.extension/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/BlockClosure.extension/methodProperties.json @@ -2,4 +2,4 @@ "class" : { }, "instance" : { - "valueWithPossibleArguments:" : " 7/15/2024 14:23:40" } } + "valueWithPossibleArguments:" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/ByteArray.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/ByteArray.extension/methodProperties.json index aa6677b9..aa6e0f4c 100644 --- a/repository/Grease-Squeak6-Core.package/ByteArray.extension/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/ByteArray.extension/methodProperties.json @@ -2,4 +2,4 @@ "class" : { }, "instance" : { - "greaseString" : " 7/15/2024 14:23:40" } } + "greaseString" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/Character.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/Character.extension/methodProperties.json index 22c69195..ba3a2e4b 100644 --- a/repository/Grease-Squeak6-Core.package/Character.extension/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/Character.extension/methodProperties.json @@ -2,4 +2,4 @@ "class" : { }, "instance" : { - "greaseInteger" : " 7/15/2024 14:23:40" } } + "greaseInteger" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/Collection.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/Collection.extension/methodProperties.json index 34059a53..4dcd386e 100644 --- a/repository/Grease-Squeak6-Core.package/Collection.extension/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/Collection.extension/methodProperties.json @@ -2,4 +2,4 @@ "class" : { }, "instance" : { - "any" : " 7/15/2024 14:23:40" } } + "any" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/Duration.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/Duration.extension/methodProperties.json index 9f28f9ec..b69e8b01 100644 --- a/repository/Grease-Squeak6-Core.package/Duration.extension/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/Duration.extension/methodProperties.json @@ -1,6 +1,6 @@ { "class" : { - "milliseconds:" : " 7/15/2024 14:23:40" }, + "milliseconds:" : "7/15/2024 14:23:40" }, "instance" : { - "asMilliseconds" : " 7/15/2024 14:23:40", - "milliseconds" : " 7/15/2024 14:23:40" } } + "asMilliseconds" : "7/15/2024 14:23:40", + "milliseconds" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/GRDelegatingStream.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRDelegatingStream.extension/methodProperties.json index ff299439..b2ff4263 100644 --- a/repository/Grease-Squeak6-Core.package/GRDelegatingStream.extension/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/GRDelegatingStream.extension/methodProperties.json @@ -2,4 +2,4 @@ "class" : { }, "instance" : { - "greaseNext:putAll:startingAt:" : " 7/15/2024 14:23:40" } } + "greaseNext:putAll:startingAt:" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/GRDynamicVariable.class/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRDynamicVariable.class/methodProperties.json index 2c2cbcc3..527fb963 100644 --- a/repository/Grease-Squeak6-Core.package/GRDynamicVariable.class/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/GRDynamicVariable.class/methodProperties.json @@ -1,7 +1,7 @@ { "class" : { - "default" : " 7/15/2024 14:23:40", - "defaultValue" : " 7/15/2024 14:23:40", - "use:during:" : " 7/15/2024 14:23:40" }, + "default" : "7/15/2024 14:23:40", + "defaultValue" : "7/15/2024 14:23:40", + "use:during:" : "7/15/2024 14:23:40" }, "instance" : { } } diff --git a/repository/Grease-Squeak6-Core.package/GRPackage.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRPackage.extension/methodProperties.json index b7f35c3d..c69bc976 100644 --- a/repository/Grease-Squeak6-Core.package/GRPackage.extension/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/GRPackage.extension/methodProperties.json @@ -1,5 +1,5 @@ { "class" : { - "greaseSqueak6Core" : " 7/15/2024 14:23:40" }, + "greaseSqueak6Core" : "7/15/2024 14:23:40" }, "instance" : { } } diff --git a/repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/methodProperties.json index 4df6ceea..b5cb604e 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/methodProperties.json @@ -1,10 +1,10 @@ { "class" : { - "on:converter:" : " 7/15/2024 14:23:40" }, + "on:converter:" : "7/15/2024 14:23:40" }, "instance" : { - "greaseNext:putAll:startingAt:" : " 7/15/2024 14:23:40", - "initializeOn:converter:" : " 7/15/2024 14:23:40", - "next" : " 7/15/2024 14:23:40", - "next:" : " 7/15/2024 14:23:40", - "nextPut:" : " 7/15/2024 14:23:40", - "nextPutAll:" : " 7/15/2024 14:23:40" } } + "greaseNext:putAll:startingAt:" : "7/15/2024 14:23:40", + "initializeOn:converter:" : "7/15/2024 14:23:40", + "next" : "7/15/2024 14:23:40", + "next:" : "7/15/2024 14:23:40", + "nextPut:" : "7/15/2024 14:23:40", + "nextPutAll:" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/methodProperties.json index 07c7a21a..7a7edaf3 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/methodProperties.json @@ -1,13 +1,13 @@ { "class" : { - "basicForEncoding:" : " 7/15/2024 14:23:40", - "codecs" : " 7/15/2024 14:23:40", - "supportedEncodingNames" : " 7/15/2024 14:23:40", - "supportsEncoding:" : " 7/15/2024 14:23:40" }, + "basicForEncoding:" : "7/15/2024 14:23:40", + "codecs" : "7/15/2024 14:23:40", + "supportedEncodingNames" : "7/15/2024 14:23:40", + "supportsEncoding:" : "7/15/2024 14:23:40" }, "instance" : { - "converter" : " 7/15/2024 14:23:40", - "decoderFor:" : " 7/15/2024 14:23:40", - "encoderFor:" : " 7/15/2024 14:23:40", - "initializeWithName:" : " 7/15/2024 14:23:40", - "name" : " 7/15/2024 14:23:40", - "url" : " 7/15/2024 14:23:40" } } + "converter" : "7/15/2024 14:23:40", + "decoderFor:" : "7/15/2024 14:23:40", + "encoderFor:" : "7/15/2024 14:23:40", + "initializeWithName:" : "7/15/2024 14:23:40", + "name" : "7/15/2024 14:23:40", + "url" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/methodProperties.json index 9c29e673..4874299a 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/methodProperties.json @@ -1,12 +1,12 @@ { "class" : { - "basicForEncoding:" : " 7/15/2024 14:23:40", - "codecs" : " 7/15/2024 14:23:40", - "supportedEncodingNames" : " 7/15/2024 14:23:40", - "supportsEncoding:" : " 7/15/2024 14:23:40" }, + "basicForEncoding:" : "7/15/2024 14:23:40", + "codecs" : "7/15/2024 14:23:40", + "supportedEncodingNames" : "7/15/2024 14:23:40", + "supportsEncoding:" : "7/15/2024 14:23:40" }, "instance" : { - "decode:" : " 7/15/2024 14:23:40", - "decoderFor:" : " 7/15/2024 14:23:40", - "encoderFor:" : " 7/15/2024 14:23:40", - "initializeWithName:" : " 7/15/2024 14:23:40", - "name" : " 7/15/2024 14:23:40" } } + "decode:" : "7/15/2024 14:23:40", + "decoderFor:" : "7/15/2024 14:23:40", + "encoderFor:" : "7/15/2024 14:23:40", + "initializeWithName:" : "7/15/2024 14:23:40", + "name" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/methodProperties.json index e502cfcb..bcf22860 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/methodProperties.json @@ -2,5 +2,5 @@ "class" : { }, "instance" : { - "next" : " 7/15/2024 14:23:40", - "next:" : " 7/15/2024 14:23:40" } } + "next" : "7/15/2024 14:23:40", + "next:" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/methodProperties.json index e981a6f3..dd926287 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/methodProperties.json @@ -1,12 +1,12 @@ { "class" : { - "basicForEncoding:" : " 7/15/2024 14:23:40", - "codecs" : " 7/15/2024 14:23:40", - "supportsEncoding:" : " 7/15/2024 14:23:40" }, + "basicForEncoding:" : "7/15/2024 14:23:40", + "codecs" : "7/15/2024 14:23:40", + "supportsEncoding:" : "7/15/2024 14:23:40" }, "instance" : { - "decode:" : " 7/15/2024 14:23:40", - "decoderFor:" : " 7/15/2024 14:23:40", - "encoderFor:" : " 7/15/2024 14:23:40", - "invalidUtf8" : " 7/15/2024 14:23:40", - "name" : " 7/15/2024 14:23:40", - "url" : " 7/15/2024 14:23:40" } } + "decode:" : "7/15/2024 14:23:40", + "decoderFor:" : "7/15/2024 14:23:40", + "encoderFor:" : "7/15/2024 14:23:40", + "invalidUtf8" : "7/15/2024 14:23:40", + "name" : "7/15/2024 14:23:40", + "url" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/methodProperties.json index c767df62..3b5d2fe4 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/methodProperties.json @@ -1,14 +1,14 @@ { "class" : { - "initialize" : " 7/15/2024 14:23:40" }, + "initialize" : "7/15/2024 14:23:40" }, "instance" : { - "crlf" : " 7/15/2024 14:23:40", - "encodeDefault:" : " 7/15/2024 14:23:40", - "encodeFast:" : " 7/15/2024 14:23:40", - "greaseNext:putAll:startingAt:" : " 7/15/2024 14:23:40", - "greaseNext:putAllFast:startingAt:" : " 7/15/2024 14:23:40", - "invalidUtf8" : " 7/15/2024 14:23:40", - "next" : " 7/15/2024 14:23:40", - "next:" : " 7/15/2024 14:23:40", - "nextPut:" : " 7/15/2024 14:23:40", - "nextPutAll:" : " 7/15/2024 14:23:40" } } + "crlf" : "7/15/2024 14:23:40", + "encodeDefault:" : "7/15/2024 14:23:40", + "encodeFast:" : "7/15/2024 14:23:40", + "greaseNext:putAll:startingAt:" : "7/15/2024 14:23:40", + "greaseNext:putAllFast:startingAt:" : "7/15/2024 14:23:40", + "invalidUtf8" : "7/15/2024 14:23:40", + "next" : "7/15/2024 14:23:40", + "next:" : "7/15/2024 14:23:40", + "nextPut:" : "7/15/2024 14:23:40", + "nextPutAll:" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/GRSmallDictionary.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRSmallDictionary.extension/methodProperties.json index 2f8b66e4..12c131e9 100644 --- a/repository/Grease-Squeak6-Core.package/GRSmallDictionary.extension/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/GRSmallDictionary.extension/methodProperties.json @@ -2,6 +2,6 @@ "class" : { }, "instance" : { - "customizeExplorerContents" : " 7/15/2024 14:23:40", - "explorerContents" : " 7/15/2024 14:23:40", - "hasContentsInExplorer" : " 7/15/2024 14:23:40" } } + "customizeExplorerContents" : "7/15/2024 14:23:40", + "explorerContents" : "7/15/2024 14:23:40", + "hasContentsInExplorer" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/classCommentOf..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/classCommentOf..st deleted file mode 100644 index f54bfc0f..00000000 --- a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/classCommentOf..st +++ /dev/null @@ -1,7 +0,0 @@ -swagger -classCommentOf: aClass - | comment | - comment := aClass comment. - ^ (comment beginsWith: 'A ', aClass name asString, ' is xxxxxxxxx.') - ifFalse: [ comment ] - ifTrue: [ nil ] \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/writeCharacterStreamOn..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/writeCharacterStreamOn..st deleted file mode 100644 index d69ff426..00000000 --- a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/writeCharacterStreamOn..st +++ /dev/null @@ -1,4 +0,0 @@ -factory -writeCharacterStreamOn: aString - - ^ GRWorkingWriteStream on: aString \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/methodProperties.json index c833363c..18983566 100644 --- a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/methodProperties.json @@ -1,26 +1,25 @@ { "class" : { - "initialize" : " 7/15/2024 14:23:40", - "initializeUrlTable" : " 7/15/2024 14:23:40", - "initializeXmlTable" : " 7/15/2024 14:23:40", - "unload" : " 7/15/2024 14:23:40" }, + "initialize" : "7/15/2024 14:23:40", + "initializeUrlTable" : "7/15/2024 14:23:40", + "initializeXmlTable" : "7/15/2024 14:23:40", + "unload" : "7/15/2024 14:23:40" }, "instance" : { - "addToShutDownList:" : " 7/15/2024 14:23:40", - "addToStartUpList:" : " 7/15/2024 14:23:40", - "asMethodReturningByteArray:named:" : " 7/15/2024 14:23:40", - "asMethodReturningByteArrayLiteral:named:" : " 7/15/2024 14:23:40", - "asMethodReturningByteArrayWithCache:named:" : " 7/15/2024 14:23:40", - "base64Decode:" : " 7/15/2024 14:23:40", - "base64Encode:" : " 7/15/2024 14:23:40", - "bindingOf:" : " 7/15/2024 14:23:40", - "classCommentOf:" : "pmm 7/15/2024 14:49", - "compile:into:classified:" : " 7/15/2024 14:23:40", - "contentsOfFile:binary:" : " 7/15/2024 14:23:40", + "addToShutDownList:" : "7/15/2024 14:23:40", + "addToStartUpList:" : "7/15/2024 14:23:40", + "asMethodReturningByteArray:named:" : "7/15/2024 14:23:40", + "asMethodReturningByteArrayLiteral:named:" : "7/15/2024 14:23:40", + "asMethodReturningByteArrayWithCache:named:" : "7/15/2024 14:23:40", + "base64Decode:" : "7/15/2024 14:23:40", + "base64Encode:" : "7/15/2024 14:23:40", + "bindingOf:" : "7/15/2024 14:23:40", + "compile:into:classified:" : "7/15/2024 14:23:40", + "contentsOfFile:binary:" : "7/15/2024 14:23:40", "defaultDirectoryPathString" : "pmm 7/15/2024 14:38", "deleteFile:" : "pmm 7/15/2024 14:40", - "deprecationExceptionSet" : " 7/15/2024 14:23:40", + "deprecationExceptionSet" : "7/15/2024 14:23:40", "directoriesIn:" : "pmm 7/15/2024 14:38", - "doSilently:" : " 7/15/2024 14:23:40", + "doSilently:" : "7/15/2024 14:23:40", "ensureExistenceOfFolder:" : "pmm 7/15/2024 14:38", "fileExists:" : "pmm 7/15/2024 14:38", "fileNameFor:" : "pmm 7/15/2024 14:39", @@ -28,29 +27,28 @@ "filesIn:" : "pmm 7/15/2024 14:39", "integerAsByteArray:" : "pmm 7/15/2024 15:12", "isDirectory:" : "pmm 7/15/2024 14:39", - "isProcessTerminated:" : " 7/15/2024 14:23:40", + "isProcessTerminated:" : "7/15/2024 14:23:40", "label" : "pmm 7/15/2024 14:52", - "localNameOf:" : " 7/15/2024 14:23:40", - "newRandom" : " 7/15/2024 14:23:40", + "localNameOf:" : "7/15/2024 14:23:40", + "newRandom" : "7/15/2024 14:23:40", "newTemporaryFile" : "pmm 7/15/2024 14:40", "newTemporaryFileNamed:" : "pmm 7/15/2024 14:40", - "newline" : " 7/15/2024 14:23:40", + "newline" : "7/15/2024 14:23:40", "openDebuggerOn:" : "pmm 7/15/2024 14:57", "pathSeparator" : "pmm 7/15/2024 15:00", "readFileStreamOn:do:binary:" : "pmm 7/15/2024 15:08", - "readWriteByteStream" : " 7/15/2024 14:23:40", - "readWriteCharacterStream" : " 7/15/2024 14:23:40", - "removeFromShutDownList:" : " 7/15/2024 14:23:40", - "removeFromStartUpList:" : " 7/15/2024 14:23:40", - "removeSelector:from:" : " 7/15/2024 14:23:40", - "secureHashFor:" : " 7/15/2024 14:23:40", - "semaphoreClass" : " 7/15/2024 14:23:40", + "readWriteByteStream" : "7/15/2024 14:23:40", + "readWriteCharacterStream" : "7/15/2024 14:23:40", + "removeFromShutDownList:" : "7/15/2024 14:23:40", + "removeFromStartUpList:" : "7/15/2024 14:23:40", + "removeSelector:from:" : "7/15/2024 14:23:40", + "secureHashFor:" : "7/15/2024 14:23:40", + "semaphoreClass" : "7/15/2024 14:23:40", "sizeOfFile:" : "pmm 7/15/2024 14:40", - "stackDepth" : " 7/15/2024 14:23:40", - "terminateProcess:" : " 7/15/2024 14:23:40", + "stackDepth" : "7/15/2024 14:23:40", + "terminateProcess:" : "7/15/2024 14:23:40", "thisContext" : "pmm 7/15/2024 14:42", - "useByteArrayLiterals" : " 7/15/2024 14:23:40", - "weakDictionaryOfSize:" : " 7/15/2024 14:23:40", + "useByteArrayLiterals" : "7/15/2024 14:23:40", + "weakDictionaryOfSize:" : "7/15/2024 14:23:40", "write:toFile:inFolder:" : "pmm 7/15/2024 14:40", - "writeCharacterStreamOn:" : " 7/15/2024 14:23:40", "writeFileStreamOn:do:binary:" : "pmm 7/15/2024 15:08" } } diff --git a/repository/Grease-Squeak6-Core.package/GRWorkingWriteStream.class/README.md b/repository/Grease-Squeak6-Core.package/GRWorkingWriteStream.class/README.md deleted file mode 100644 index 3f2ed8e8..00000000 --- a/repository/Grease-Squeak6-Core.package/GRWorkingWriteStream.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I'm a work around for bugs in the Pharo stream classes. \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRWorkingWriteStream.class/instance/reset.st b/repository/Grease-Squeak6-Core.package/GRWorkingWriteStream.class/instance/reset.st deleted file mode 100644 index 8232867f..00000000 --- a/repository/Grease-Squeak6-Core.package/GRWorkingWriteStream.class/instance/reset.st +++ /dev/null @@ -1,3 +0,0 @@ -positioning -reset - self resetToStart \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRWorkingWriteStream.class/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRWorkingWriteStream.class/methodProperties.json deleted file mode 100644 index e3165d0a..00000000 --- a/repository/Grease-Squeak6-Core.package/GRWorkingWriteStream.class/methodProperties.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "reset" : " 7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/GRWorkingWriteStream.class/properties.json b/repository/Grease-Squeak6-Core.package/GRWorkingWriteStream.class/properties.json deleted file mode 100644 index e4e89dfa..00000000 --- a/repository/Grease-Squeak6-Core.package/GRWorkingWriteStream.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Squeak6-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "pmm 8/25/2011 18:30", - "instvars" : [ - ], - "name" : "GRWorkingWriteStream", - "pools" : [ - ], - "super" : "WriteStream", - "type" : "normal" } diff --git a/repository/Grease-Squeak6-Core.package/Interval.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/Interval.extension/methodProperties.json index 34059a53..4dcd386e 100644 --- a/repository/Grease-Squeak6-Core.package/Interval.extension/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/Interval.extension/methodProperties.json @@ -2,4 +2,4 @@ "class" : { }, "instance" : { - "any" : " 7/15/2024 14:23:40" } } + "any" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/LargePositiveInteger.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/LargePositiveInteger.extension/methodProperties.json index c7faaf04..8d698f47 100644 --- a/repository/Grease-Squeak6-Core.package/LargePositiveInteger.extension/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/LargePositiveInteger.extension/methodProperties.json @@ -2,5 +2,5 @@ "class" : { }, "instance" : { - "greaseByteAt:" : " 7/15/2024 14:23:40", - "greaseBytesCount" : " 7/15/2024 14:23:40" } } + "greaseByteAt:" : "7/15/2024 14:23:40", + "greaseBytesCount" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/MessageSend.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/MessageSend.extension/methodProperties.json index 8298ec3f..ab19e226 100644 --- a/repository/Grease-Squeak6-Core.package/MessageSend.extension/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/MessageSend.extension/methodProperties.json @@ -2,5 +2,5 @@ "class" : { }, "instance" : { - "argumentCount" : " 7/15/2024 14:23:40", - "valueWithPossibleArguments:" : " 7/15/2024 14:23:40" } } + "argumentCount" : "7/15/2024 14:23:40", + "valueWithPossibleArguments:" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/Number.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/Number.extension/methodProperties.json index cca14c46..d74e8077 100644 --- a/repository/Grease-Squeak6-Core.package/Number.extension/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/Number.extension/methodProperties.json @@ -2,4 +2,4 @@ "class" : { }, "instance" : { - "milliseconds" : " 7/15/2024 14:23:40" } } + "milliseconds" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/Object.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/Object.extension/methodProperties.json index 86b3401b..d62cb615 100644 --- a/repository/Grease-Squeak6-Core.package/Object.extension/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/Object.extension/methodProperties.json @@ -2,5 +2,5 @@ "class" : { }, "instance" : { - "greaseString" : " 7/15/2024 14:23:40", - "sizeInMemory" : " 7/15/2024 14:23:40" } } + "greaseString" : "7/15/2024 14:23:40", + "sizeInMemory" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/PositionableStream.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/PositionableStream.extension/methodProperties.json index 3b18f6ce..92ad392b 100644 --- a/repository/Grease-Squeak6-Core.package/PositionableStream.extension/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/PositionableStream.extension/methodProperties.json @@ -2,4 +2,4 @@ "class" : { }, "instance" : { - "greaseUpToAll:" : " 7/15/2024 14:23:40" } } + "greaseUpToAll:" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/Random.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/Random.extension/methodProperties.json index 54f34032..6972189a 100644 --- a/repository/Grease-Squeak6-Core.package/Random.extension/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/Random.extension/methodProperties.json @@ -2,4 +2,4 @@ "class" : { }, "instance" : { - "randomFrom:" : " 7/15/2024 14:23:40" } } + "randomFrom:" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/ScaledDecimal.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/ScaledDecimal.extension/methodProperties.json index b5571d1b..f69f5b7f 100644 --- a/repository/Grease-Squeak6-Core.package/ScaledDecimal.extension/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/ScaledDecimal.extension/methodProperties.json @@ -2,5 +2,5 @@ "class" : { }, "instance" : { - "encodeOn:" : " 7/15/2024 14:23:40", - "greaseString" : " 7/15/2024 14:23:40" } } + "encodeOn:" : "7/15/2024 14:23:40", + "greaseString" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/methodProperties.json index 0547f199..91231d5b 100644 --- a/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/SequenceableCollection.extension/methodProperties.json @@ -2,7 +2,7 @@ "class" : { }, "instance" : { - "beginsWithSubCollection:" : " 7/15/2024 14:23:40", - "endsWithSubCollection:" : " 7/15/2024 14:23:40", - "greaseBeginsWith:" : " 7/15/2024 14:23:40", - "greaseEndsWith:" : " 7/15/2024 14:23:40" } } + "beginsWithSubCollection:" : "7/15/2024 14:23:40", + "endsWithSubCollection:" : "7/15/2024 14:23:40", + "greaseBeginsWith:" : "7/15/2024 14:23:40", + "greaseEndsWith:" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/SmallInteger.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/SmallInteger.extension/methodProperties.json index c7faaf04..8d698f47 100644 --- a/repository/Grease-Squeak6-Core.package/SmallInteger.extension/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/SmallInteger.extension/methodProperties.json @@ -2,5 +2,5 @@ "class" : { }, "instance" : { - "greaseByteAt:" : " 7/15/2024 14:23:40", - "greaseBytesCount" : " 7/15/2024 14:23:40" } } + "greaseByteAt:" : "7/15/2024 14:23:40", + "greaseBytesCount" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/SocketStream.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/SocketStream.extension/methodProperties.json index ff299439..b2ff4263 100644 --- a/repository/Grease-Squeak6-Core.package/SocketStream.extension/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/SocketStream.extension/methodProperties.json @@ -2,4 +2,4 @@ "class" : { }, "instance" : { - "greaseNext:putAll:startingAt:" : " 7/15/2024 14:23:40" } } + "greaseNext:putAll:startingAt:" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/String.extension/instance/padLeftTo.with..st b/repository/Grease-Squeak6-Core.package/String.extension/instance/padLeftTo.with..st new file mode 100644 index 00000000..f0a1b317 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/String.extension/instance/padLeftTo.with..st @@ -0,0 +1,3 @@ +*grease-squeak6-core +padLeftTo: length with: char + ^ self padded: #left to: length with: char \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/String.extension/instance/padRightTo.with..st b/repository/Grease-Squeak6-Core.package/String.extension/instance/padRightTo.with..st new file mode 100644 index 00000000..4574fd09 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/String.extension/instance/padRightTo.with..st @@ -0,0 +1,3 @@ +*grease-squeak6-core +padRightTo: length with: char + ^ self padded: #right to: length with: char \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/String.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/String.extension/methodProperties.json index 91076b9b..33c18f4c 100644 --- a/repository/Grease-Squeak6-Core.package/String.extension/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/String.extension/methodProperties.json @@ -2,11 +2,13 @@ "class" : { }, "instance" : { - "substrings:" : " 7/15/2024 14:23:40", - "trimBoth" : " 7/15/2024 14:23:40", - "trimBoth:" : " 7/15/2024 14:23:40", - "trimLeft" : " 7/15/2024 14:23:40", - "trimLeft:" : " 7/15/2024 14:23:40", - "trimLeft:right:" : " 7/15/2024 14:23:40", - "trimRight" : " 7/15/2024 14:23:40", - "trimRight:" : " 7/15/2024 14:23:40" } } + "padLeftTo:with:" : "JohanBrichau 3/20/2016 16:34:12", + "padRightTo:with:" : "JohanBrichau 3/20/2016 16:34:12", + "substrings:" : "7/15/2024 14:23:40", + "trimBoth" : "7/15/2024 14:23:40", + "trimBoth:" : "7/15/2024 14:23:40", + "trimLeft" : "7/15/2024 14:23:40", + "trimLeft:" : "7/15/2024 14:23:40", + "trimLeft:right:" : "7/15/2024 14:23:40", + "trimRight" : "7/15/2024 14:23:40", + "trimRight:" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/Symbol.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/Symbol.extension/methodProperties.json index e277d88b..c178c1b4 100644 --- a/repository/Grease-Squeak6-Core.package/Symbol.extension/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/Symbol.extension/methodProperties.json @@ -2,4 +2,4 @@ "class" : { }, "instance" : { - "greaseAsMutator" : " 7/15/2024 14:23:40" } } + "greaseAsMutator" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/WriteStream.extension/methodProperties.json b/repository/Grease-Squeak6-Core.package/WriteStream.extension/methodProperties.json index ff299439..b2ff4263 100644 --- a/repository/Grease-Squeak6-Core.package/WriteStream.extension/methodProperties.json +++ b/repository/Grease-Squeak6-Core.package/WriteStream.extension/methodProperties.json @@ -2,4 +2,4 @@ "class" : { }, "instance" : { - "greaseNext:putAll:startingAt:" : " 7/15/2024 14:23:40" } } + "greaseNext:putAll:startingAt:" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/monticello.meta/version b/repository/Grease-Squeak6-Core.package/monticello.meta/version index d74b61f7..9b48d4ba 100644 --- a/repository/Grease-Squeak6-Core.package/monticello.meta/version +++ b/repository/Grease-Squeak6-Core.package/monticello.meta/version @@ -1 +1 @@ -(name 'Grease-Squeak6-Core-pmm.2' message 'Improve Squeak 6 Support - move methods from GRPharoPlatform to GRSqeuakPlatform - keep GRPharoPlatform as empty - migrate from FileSystem to FileDirectory - implement missing methods - custom implementation of #openDebuggerOn:' id 'a32e7fbd-559a-4a6d-8442-57277c1ee178' date '16 July 2024' time '9:15:32.440636 pm' author 'pmm' ancestors ((name 'Grease-Squeak6-Core-cypress.1' message 'fabricated from a Cypress format repository' id '90a05819-76e9-4531-80d4-b8bde69d370f' date '15 July 2024' time '2:23:40.385068 pm' author '' ancestors () stepChildren ())) stepChildren ()) \ No newline at end of file +(name 'Grease-Squeak6-Core-pmm.3' message '- remove classCommentOf:, part of swagger - remove GRWorkingWriteStream, no need - add pad* methods from Squeak-Compatibility package' id '790decf6-ac96-4308-af19-043b7bd04807' date '29 June 2025' time '4:19:09.008435 pm' author 'pmm' ancestors ((name 'Grease-Squeak6-Core-pmm.2' message 'Improve Squeak 6 Support - move methods from GRPharoPlatform to GRSqeuakPlatform - keep GRPharoPlatform as empty - migrate from FileSystem to FileDirectory - implement missing methods - custom implementation of #openDebuggerOn:' id 'a32e7fbd-559a-4a6d-8442-57277c1ee178' date '16 July 2024' time '9:15:32.440636 pm' author 'pmm' ancestors ((name 'Grease-Squeak6-Core-cypress.1' message 'fabricated from a Cypress format repository' id '90a05819-76e9-4531-80d4-b8bde69d370f' date '15 July 2024' time '2:23:40.385068 pm' author '' ancestors () stepChildren ())) stepChildren ())) stepChildren ()) \ No newline at end of file From 9b3e2fea1e4c27d3a13f94e3fe33a6d135a493cf Mon Sep 17 00:00:00 2001 From: Philippe Marschall Date: Thu, 10 Jul 2025 15:48:02 +0200 Subject: [PATCH 243/254] Camp 2025 Squeak fixes round 2 - no longer support Squeak 5.3 - rename Pharo classes to Squeak - add PackageManifest class --- repository/BaselineOfGrease.package/.filetree | 5 ++-- .../instance/baselineSqueak..st | 29 ++----------------- .../monticello.meta/categories.st | 2 +- .../methodProperties.json | 10 ------- .../methodProperties.json | 13 --------- .../methodProperties.json | 12 -------- .../methodProperties.json | 6 ---- .../methodProperties.json | 12 -------- .../methodProperties.json | 14 --------- .../README.md | 0 .../class/on.converter..st | 0 .../instance/greaseNext.putAll.startingAt..st | 0 .../instance/initializeOn.converter..st | 0 .../instance/next..st | 0 .../instance/next.st | 0 .../instance/nextPut..st | 0 .../instance/nextPutAll..st | 0 .../properties.json | 2 +- .../README.md | 0 .../class/basicForEncoding..st | 0 .../class/codecs.st | 0 .../class/supportedEncodingNames.st | 2 +- .../class/supportsEncoding..st | 0 .../instance/converter.st | 0 .../instance/decoderFor..st | 0 .../instance/encoderFor..st | 2 +- .../instance/initializeWithName..st | 0 .../instance/name.st | 0 .../instance/url.st | 0 .../properties.json | 2 +- .../README.md | 0 .../class/basicForEncoding..st | 0 .../class/codecs.st | 0 .../class/supportedEncodingNames.st | 0 .../class/supportsEncoding..st | 0 .../instance/decode..st | 0 .../instance/decoderFor..st | 2 +- .../instance/encoderFor..st | 0 .../instance/initializeWithName..st | 0 .../instance/name.st | 0 .../properties.json | 2 +- .../README.md | 0 .../instance/next..st | 0 .../instance/next.st | 0 .../properties.json | 2 +- .../README.md | 0 .../class/basicForEncoding..st | 0 .../class/codecs.st | 0 .../class/supportsEncoding..st | 0 .../instance/decode..st | 0 .../instance/decoderFor..st | 2 +- .../instance/encoderFor..st | 2 +- .../instance/invalidUtf8.st | 0 .../instance/name.st | 0 .../instance/url.st | 0 .../properties.json | 2 +- .../README.md | 0 .../class/initialize.st | 0 .../instance/crlf.st | 0 .../instance/encodeDefault..st | 0 .../instance/encodeFast..st | 0 .../instance/greaseNext.putAll.startingAt..st | 0 .../greaseNext.putAllFast.startingAt..st | 0 .../instance/invalidUtf8.st | 0 .../instance/next..st | 0 .../instance/next.st | 0 .../instance/nextPut..st | 0 .../instance/nextPutAll..st | 0 .../properties.json | 4 +-- .../PackageManifest.class}/README.md | 0 .../methodProperties.json | 10 ------- .../methodProperties.json | 11 ------- .../instance/testNoAmbiguities.st | 6 ---- .../methodProperties.json | 5 ---- .../methodProperties.json | 11 ------- .../README.md | 0 .../instance/assert.next.startingAt.gives..st | 0 .../assertEncodingIgnoresLanguageTat..st | 0 .../instance/stripLeadingCharFrom..st | 0 .../instance/testAllCodesIncludesIso88591.st | 0 .../testGreaseNextPutAllStartingAt.st | 0 .../instance/testLanguageTag.st | 0 .../properties.json | 2 +- .../README.md | 0 .../instance/expectedFailures.st | 0 .../instance/testAllColors.st | 0 .../instance/testColorAsHtmlColor.st | 0 .../instance/testFromSixDigit.st | 0 .../instance/testFromStringName.st | 0 .../instance/testFromStringSixDigit.st | 0 .../instance/testFromStringThreeDigit.st | 0 .../properties.json | 2 +- .../README.md | 0 .../instance/testNoAmbiguities.st | 6 ++++ .../properties.json | 2 +- .../GRSqueakPlatformTest.class/README.md | 0 .../instance/testCompileIntoClassified.st | 0 .../instance/testDeprecationExceptionSet.st | 10 +++++++ .../instance/testFullName.st | 0 .../instance/testGreaseIntegerOnCharacter.st | 0 ...stMessageSendValueWithPossibleArguments.st | 0 .../instance/testWriteToFileInFolderBinary.st | 2 +- .../instance/testWriteToFileInFolderText.st | 0 .../instance/writeToFile..st | 0 .../properties.json | 2 +- 105 files changed, 38 insertions(+), 158 deletions(-) delete mode 100644 repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/methodProperties.json delete mode 100644 repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/methodProperties.json delete mode 100644 repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/methodProperties.json delete mode 100644 repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/methodProperties.json delete mode 100644 repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/methodProperties.json delete mode 100644 repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/methodProperties.json rename repository/Grease-Squeak6-Core.package/{GRPharoConverterCodecStream.class => GRSqueakConverterCodecStream.class}/README.md (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoConverterCodecStream.class => GRSqueakConverterCodecStream.class}/class/on.converter..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoConverterCodecStream.class => GRSqueakConverterCodecStream.class}/instance/greaseNext.putAll.startingAt..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoConverterCodecStream.class => GRSqueakConverterCodecStream.class}/instance/initializeOn.converter..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoConverterCodecStream.class => GRSqueakConverterCodecStream.class}/instance/next..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoConverterCodecStream.class => GRSqueakConverterCodecStream.class}/instance/next.st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoConverterCodecStream.class => GRSqueakConverterCodecStream.class}/instance/nextPut..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoConverterCodecStream.class => GRSqueakConverterCodecStream.class}/instance/nextPutAll..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoConverterCodecStream.class => GRSqueakConverterCodecStream.class}/properties.json (84%) rename repository/Grease-Squeak6-Core.package/{GRPharoGenericCodec.class => GRSqueakGenericCodec.class}/README.md (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoGenericCodec.class => GRSqueakGenericCodec.class}/class/basicForEncoding..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoGenericCodec.class => GRSqueakGenericCodec.class}/class/codecs.st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoGenericCodec.class => GRSqueakGenericCodec.class}/class/supportedEncodingNames.st (80%) rename repository/Grease-Squeak6-Core.package/{GRPharoGenericCodec.class => GRSqueakGenericCodec.class}/class/supportsEncoding..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoGenericCodec.class => GRSqueakGenericCodec.class}/instance/converter.st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoGenericCodec.class => GRSqueakGenericCodec.class}/instance/decoderFor..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoGenericCodec.class => GRSqueakGenericCodec.class}/instance/encoderFor..st (68%) rename repository/Grease-Squeak6-Core.package/{GRPharoGenericCodec.class => GRSqueakGenericCodec.class}/instance/initializeWithName..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoGenericCodec.class => GRSqueakGenericCodec.class}/instance/name.st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoGenericCodec.class => GRSqueakGenericCodec.class}/instance/url.st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoGenericCodec.class => GRSqueakGenericCodec.class}/properties.json (86%) rename repository/Grease-Squeak6-Core.package/{GRPharoLatin1Codec.class => GRSqueakLatin1Codec.class}/README.md (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoLatin1Codec.class => GRSqueakLatin1Codec.class}/class/basicForEncoding..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoLatin1Codec.class => GRSqueakLatin1Codec.class}/class/codecs.st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoLatin1Codec.class => GRSqueakLatin1Codec.class}/class/supportedEncodingNames.st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoLatin1Codec.class => GRSqueakLatin1Codec.class}/class/supportsEncoding..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoLatin1Codec.class => GRSqueakLatin1Codec.class}/instance/decode..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoLatin1Codec.class => GRSqueakLatin1Codec.class}/instance/decoderFor..st (64%) rename repository/Grease-Squeak6-Core.package/{GRPharoLatin1Codec.class => GRSqueakLatin1Codec.class}/instance/encoderFor..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoLatin1Codec.class => GRSqueakLatin1Codec.class}/instance/initializeWithName..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoLatin1Codec.class => GRSqueakLatin1Codec.class}/instance/name.st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoLatin1Codec.class => GRSqueakLatin1Codec.class}/properties.json (86%) rename repository/Grease-Squeak6-Core.package/{GRPharoLatin1CodecStream.class => GRSqueakLatin1CodecStream.class}/README.md (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoLatin1CodecStream.class => GRSqueakLatin1CodecStream.class}/instance/next..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoLatin1CodecStream.class => GRSqueakLatin1CodecStream.class}/instance/next.st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoLatin1CodecStream.class => GRSqueakLatin1CodecStream.class}/properties.json (84%) rename repository/Grease-Squeak6-Core.package/{GRPharoUtf8Codec.class => GRSqueakUtf8Codec.class}/README.md (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoUtf8Codec.class => GRSqueakUtf8Codec.class}/class/basicForEncoding..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoUtf8Codec.class => GRSqueakUtf8Codec.class}/class/codecs.st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoUtf8Codec.class => GRSqueakUtf8Codec.class}/class/supportsEncoding..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoUtf8Codec.class => GRSqueakUtf8Codec.class}/instance/decode..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoUtf8Codec.class => GRSqueakUtf8Codec.class}/instance/decoderFor..st (74%) rename repository/Grease-Squeak6-Core.package/{GRPharoUtf8Codec.class => GRSqueakUtf8Codec.class}/instance/encoderFor..st (74%) rename repository/Grease-Squeak6-Core.package/{GRPharoUtf8Codec.class => GRSqueakUtf8Codec.class}/instance/invalidUtf8.st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoUtf8Codec.class => GRSqueakUtf8Codec.class}/instance/name.st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoUtf8Codec.class => GRSqueakUtf8Codec.class}/instance/url.st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoUtf8Codec.class => GRSqueakUtf8Codec.class}/properties.json (87%) rename repository/Grease-Squeak6-Core.package/{GRPharoUtf8CodecStream.class => GRSqueakUtf8CodecStream.class}/README.md (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoUtf8CodecStream.class => GRSqueakUtf8CodecStream.class}/class/initialize.st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoUtf8CodecStream.class => GRSqueakUtf8CodecStream.class}/instance/crlf.st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoUtf8CodecStream.class => GRSqueakUtf8CodecStream.class}/instance/encodeDefault..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoUtf8CodecStream.class => GRSqueakUtf8CodecStream.class}/instance/encodeFast..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoUtf8CodecStream.class => GRSqueakUtf8CodecStream.class}/instance/greaseNext.putAll.startingAt..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoUtf8CodecStream.class => GRSqueakUtf8CodecStream.class}/instance/greaseNext.putAllFast.startingAt..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoUtf8CodecStream.class => GRSqueakUtf8CodecStream.class}/instance/invalidUtf8.st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoUtf8CodecStream.class => GRSqueakUtf8CodecStream.class}/instance/next..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoUtf8CodecStream.class => GRSqueakUtf8CodecStream.class}/instance/next.st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoUtf8CodecStream.class => GRSqueakUtf8CodecStream.class}/instance/nextPut..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoUtf8CodecStream.class => GRSqueakUtf8CodecStream.class}/instance/nextPutAll..st (100%) rename repository/Grease-Squeak6-Core.package/{GRPharoUtf8CodecStream.class => GRSqueakUtf8CodecStream.class}/properties.json (74%) rename repository/{Grease-Tests-Squeak6-Core.package/GRPharoCodecTest.class => Grease-Squeak6-Core.package/PackageManifest.class}/README.md (100%) delete mode 100644 repository/Grease-Tests-Squeak6-Core.package/GRPharoCodecTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Squeak6-Core.package/GRPharoColorTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Squeak6-Core.package/GRPharoGenericCodecTest.class/instance/testNoAmbiguities.st delete mode 100644 repository/Grease-Tests-Squeak6-Core.package/GRPharoGenericCodecTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Squeak6-Core.package/GRPharoPlatformTest.class/methodProperties.json rename repository/Grease-Tests-Squeak6-Core.package/{GRPharoColorTest.class => GRSqueakCodecTest.class}/README.md (100%) rename repository/Grease-Tests-Squeak6-Core.package/{GRPharoCodecTest.class => GRSqueakCodecTest.class}/instance/assert.next.startingAt.gives..st (100%) rename repository/Grease-Tests-Squeak6-Core.package/{GRPharoCodecTest.class => GRSqueakCodecTest.class}/instance/assertEncodingIgnoresLanguageTat..st (100%) rename repository/Grease-Tests-Squeak6-Core.package/{GRPharoCodecTest.class => GRSqueakCodecTest.class}/instance/stripLeadingCharFrom..st (100%) rename repository/Grease-Tests-Squeak6-Core.package/{GRPharoCodecTest.class => GRSqueakCodecTest.class}/instance/testAllCodesIncludesIso88591.st (100%) rename repository/Grease-Tests-Squeak6-Core.package/{GRPharoCodecTest.class => GRSqueakCodecTest.class}/instance/testGreaseNextPutAllStartingAt.st (100%) rename repository/Grease-Tests-Squeak6-Core.package/{GRPharoCodecTest.class => GRSqueakCodecTest.class}/instance/testLanguageTag.st (100%) rename repository/Grease-Tests-Squeak6-Core.package/{GRPharoColorTest.class => GRSqueakCodecTest.class}/properties.json (86%) rename repository/Grease-Tests-Squeak6-Core.package/{GRPharoGenericCodecTest.class => GRSqueakColorTest.class}/README.md (100%) rename repository/Grease-Tests-Squeak6-Core.package/{GRPharoColorTest.class => GRSqueakColorTest.class}/instance/expectedFailures.st (100%) rename repository/Grease-Tests-Squeak6-Core.package/{GRPharoColorTest.class => GRSqueakColorTest.class}/instance/testAllColors.st (100%) rename repository/Grease-Tests-Squeak6-Core.package/{GRPharoColorTest.class => GRSqueakColorTest.class}/instance/testColorAsHtmlColor.st (100%) rename repository/Grease-Tests-Squeak6-Core.package/{GRPharoColorTest.class => GRSqueakColorTest.class}/instance/testFromSixDigit.st (100%) rename repository/Grease-Tests-Squeak6-Core.package/{GRPharoColorTest.class => GRSqueakColorTest.class}/instance/testFromStringName.st (100%) rename repository/Grease-Tests-Squeak6-Core.package/{GRPharoColorTest.class => GRSqueakColorTest.class}/instance/testFromStringSixDigit.st (100%) rename repository/Grease-Tests-Squeak6-Core.package/{GRPharoColorTest.class => GRSqueakColorTest.class}/instance/testFromStringThreeDigit.st (100%) rename repository/Grease-Tests-Squeak6-Core.package/{GRPharoCodecTest.class => GRSqueakColorTest.class}/properties.json (86%) rename repository/Grease-Tests-Squeak6-Core.package/{GRPharoPlatformTest.class => GRSqueakGenericCodecTest.class}/README.md (100%) create mode 100644 repository/Grease-Tests-Squeak6-Core.package/GRSqueakGenericCodecTest.class/instance/testNoAmbiguities.st rename repository/Grease-Tests-Squeak6-Core.package/{GRPharoGenericCodecTest.class => GRSqueakGenericCodecTest.class}/properties.json (84%) create mode 100644 repository/Grease-Tests-Squeak6-Core.package/GRSqueakPlatformTest.class/README.md rename repository/Grease-Tests-Squeak6-Core.package/{GRPharoPlatformTest.class => GRSqueakPlatformTest.class}/instance/testCompileIntoClassified.st (100%) create mode 100644 repository/Grease-Tests-Squeak6-Core.package/GRSqueakPlatformTest.class/instance/testDeprecationExceptionSet.st rename repository/Grease-Tests-Squeak6-Core.package/{GRPharoPlatformTest.class => GRSqueakPlatformTest.class}/instance/testFullName.st (100%) rename repository/Grease-Tests-Squeak6-Core.package/{GRPharoPlatformTest.class => GRSqueakPlatformTest.class}/instance/testGreaseIntegerOnCharacter.st (100%) rename repository/Grease-Tests-Squeak6-Core.package/{GRPharoPlatformTest.class => GRSqueakPlatformTest.class}/instance/testMessageSendValueWithPossibleArguments.st (100%) rename repository/Grease-Tests-Squeak6-Core.package/{GRPharoPlatformTest.class => GRSqueakPlatformTest.class}/instance/testWriteToFileInFolderBinary.st (64%) rename repository/Grease-Tests-Squeak6-Core.package/{GRPharoPlatformTest.class => GRSqueakPlatformTest.class}/instance/testWriteToFileInFolderText.st (100%) rename repository/Grease-Tests-Squeak6-Core.package/{GRPharoPlatformTest.class => GRSqueakPlatformTest.class}/instance/writeToFile..st (100%) rename repository/Grease-Tests-Squeak6-Core.package/{GRPharoPlatformTest.class => GRSqueakPlatformTest.class}/properties.json (85%) diff --git a/repository/BaselineOfGrease.package/.filetree b/repository/BaselineOfGrease.package/.filetree index 57a67973..8998102c 100644 --- a/repository/BaselineOfGrease.package/.filetree +++ b/repository/BaselineOfGrease.package/.filetree @@ -1,5 +1,4 @@ { - "separateMethodMetaAndSource" : false, "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file + "separateMethodMetaAndSource" : false, + "useCypressPropertiesFile" : true } diff --git a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineSqueak..st b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineSqueak..st index 2e742705..90104daa 100644 --- a/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineSqueak..st +++ b/repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineSqueak..st @@ -1,28 +1,5 @@ baselines baselineSqueak: spec - spec - for: #(#'squeak5.x') - do: [ - spec - project: 'Refactoring-Core' - with: [ spec - className: 'ConfigurationOfRefactoringBrowser'; - versionString: #stable; - loads: #('Core'); - repository: 'http://www.squeaksource.com/MetacelloRepository' ]. - spec - package: 'Grease-Core' - with: [ spec includes: #('Grease-Squeak5-Core') ]; - package: 'Grease-Tests-Core' - with: [ spec - requires: #('Grease-Squeak5-Core'); - includes: #('Grease-Tests-Squeak-Core' 'Grease-Tests-Squeak5-Core') ]; - package: 'Grease-Squeak5-Core' - with: [ spec requires: #('Grease-Core') ]; - package: 'Grease-Tests-Squeak-Core' - with: [ spec requires: #('Grease-Tests-Core') ]; - package: 'Grease-Tests-Squeak5-Core' - with: [ spec requires: #('Grease-Tests-Squeak-Core') ] ]. spec for: #(#'squeak6.x') do: [ @@ -39,10 +16,8 @@ baselineSqueak: spec package: 'Grease-Tests-Core' with: [ spec requires: #('Grease-Squeak6-Core'); - includes: #('Grease-Tests-Squeak-Core' 'Grease-Tests-Squeak6-Core') ]; + includes: #('Grease-Tests-Squeak6-Core') ]; package: 'Grease-Squeak6-Core' with: [ spec requires: #('Grease-Core') ]; - package: 'Grease-Tests-Squeak-Core' - with: [ spec requires: #('Grease-Tests-Core') ]; package: 'Grease-Tests-Squeak6-Core' - with: [ spec requires: #('Grease-Tests-Squeak-Core') ] ] \ No newline at end of file + with: [ spec requires: #('Grease-Tests-Core') ] ] \ No newline at end of file diff --git a/repository/BaselineOfGrease.package/monticello.meta/categories.st b/repository/BaselineOfGrease.package/monticello.meta/categories.st index f7c53ae3..aad806f8 100644 --- a/repository/BaselineOfGrease.package/monticello.meta/categories.st +++ b/repository/BaselineOfGrease.package/monticello.meta/categories.st @@ -1 +1 @@ -self packageOrganizer ensurePackage: #BaselineOfGrease withTags: #()! +SystemOrganization addCategory: #BaselineOfGrease! diff --git a/repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/methodProperties.json deleted file mode 100644 index b5cb604e..00000000 --- a/repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/methodProperties.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "class" : { - "on:converter:" : "7/15/2024 14:23:40" }, - "instance" : { - "greaseNext:putAll:startingAt:" : "7/15/2024 14:23:40", - "initializeOn:converter:" : "7/15/2024 14:23:40", - "next" : "7/15/2024 14:23:40", - "next:" : "7/15/2024 14:23:40", - "nextPut:" : "7/15/2024 14:23:40", - "nextPutAll:" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/methodProperties.json deleted file mode 100644 index 7a7edaf3..00000000 --- a/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/methodProperties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "class" : { - "basicForEncoding:" : "7/15/2024 14:23:40", - "codecs" : "7/15/2024 14:23:40", - "supportedEncodingNames" : "7/15/2024 14:23:40", - "supportsEncoding:" : "7/15/2024 14:23:40" }, - "instance" : { - "converter" : "7/15/2024 14:23:40", - "decoderFor:" : "7/15/2024 14:23:40", - "encoderFor:" : "7/15/2024 14:23:40", - "initializeWithName:" : "7/15/2024 14:23:40", - "name" : "7/15/2024 14:23:40", - "url" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/methodProperties.json deleted file mode 100644 index 4874299a..00000000 --- a/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/methodProperties.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "class" : { - "basicForEncoding:" : "7/15/2024 14:23:40", - "codecs" : "7/15/2024 14:23:40", - "supportedEncodingNames" : "7/15/2024 14:23:40", - "supportsEncoding:" : "7/15/2024 14:23:40" }, - "instance" : { - "decode:" : "7/15/2024 14:23:40", - "decoderFor:" : "7/15/2024 14:23:40", - "encoderFor:" : "7/15/2024 14:23:40", - "initializeWithName:" : "7/15/2024 14:23:40", - "name" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/methodProperties.json deleted file mode 100644 index bcf22860..00000000 --- a/repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/methodProperties.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "next" : "7/15/2024 14:23:40", - "next:" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/methodProperties.json deleted file mode 100644 index dd926287..00000000 --- a/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/methodProperties.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "class" : { - "basicForEncoding:" : "7/15/2024 14:23:40", - "codecs" : "7/15/2024 14:23:40", - "supportsEncoding:" : "7/15/2024 14:23:40" }, - "instance" : { - "decode:" : "7/15/2024 14:23:40", - "decoderFor:" : "7/15/2024 14:23:40", - "encoderFor:" : "7/15/2024 14:23:40", - "invalidUtf8" : "7/15/2024 14:23:40", - "name" : "7/15/2024 14:23:40", - "url" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/methodProperties.json b/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/methodProperties.json deleted file mode 100644 index 3b5d2fe4..00000000 --- a/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/methodProperties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "class" : { - "initialize" : "7/15/2024 14:23:40" }, - "instance" : { - "crlf" : "7/15/2024 14:23:40", - "encodeDefault:" : "7/15/2024 14:23:40", - "encodeFast:" : "7/15/2024 14:23:40", - "greaseNext:putAll:startingAt:" : "7/15/2024 14:23:40", - "greaseNext:putAllFast:startingAt:" : "7/15/2024 14:23:40", - "invalidUtf8" : "7/15/2024 14:23:40", - "next" : "7/15/2024 14:23:40", - "next:" : "7/15/2024 14:23:40", - "nextPut:" : "7/15/2024 14:23:40", - "nextPutAll:" : "7/15/2024 14:23:40" } } diff --git a/repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/README.md b/repository/Grease-Squeak6-Core.package/GRSqueakConverterCodecStream.class/README.md similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/README.md rename to repository/Grease-Squeak6-Core.package/GRSqueakConverterCodecStream.class/README.md diff --git a/repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/class/on.converter..st b/repository/Grease-Squeak6-Core.package/GRSqueakConverterCodecStream.class/class/on.converter..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/class/on.converter..st rename to repository/Grease-Squeak6-Core.package/GRSqueakConverterCodecStream.class/class/on.converter..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Squeak6-Core.package/GRSqueakConverterCodecStream.class/instance/greaseNext.putAll.startingAt..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/instance/greaseNext.putAll.startingAt..st rename to repository/Grease-Squeak6-Core.package/GRSqueakConverterCodecStream.class/instance/greaseNext.putAll.startingAt..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/instance/initializeOn.converter..st b/repository/Grease-Squeak6-Core.package/GRSqueakConverterCodecStream.class/instance/initializeOn.converter..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/instance/initializeOn.converter..st rename to repository/Grease-Squeak6-Core.package/GRSqueakConverterCodecStream.class/instance/initializeOn.converter..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/instance/next..st b/repository/Grease-Squeak6-Core.package/GRSqueakConverterCodecStream.class/instance/next..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/instance/next..st rename to repository/Grease-Squeak6-Core.package/GRSqueakConverterCodecStream.class/instance/next..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/instance/next.st b/repository/Grease-Squeak6-Core.package/GRSqueakConverterCodecStream.class/instance/next.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/instance/next.st rename to repository/Grease-Squeak6-Core.package/GRSqueakConverterCodecStream.class/instance/next.st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/instance/nextPut..st b/repository/Grease-Squeak6-Core.package/GRSqueakConverterCodecStream.class/instance/nextPut..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/instance/nextPut..st rename to repository/Grease-Squeak6-Core.package/GRSqueakConverterCodecStream.class/instance/nextPut..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/instance/nextPutAll..st b/repository/Grease-Squeak6-Core.package/GRSqueakConverterCodecStream.class/instance/nextPutAll..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/instance/nextPutAll..st rename to repository/Grease-Squeak6-Core.package/GRSqueakConverterCodecStream.class/instance/nextPutAll..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/properties.json b/repository/Grease-Squeak6-Core.package/GRSqueakConverterCodecStream.class/properties.json similarity index 84% rename from repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/properties.json rename to repository/Grease-Squeak6-Core.package/GRSqueakConverterCodecStream.class/properties.json index 5188d099..2dde7c8d 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoConverterCodecStream.class/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRSqueakConverterCodecStream.class/properties.json @@ -7,7 +7,7 @@ "commentStamp" : "pmm 9/14/2013 15:53", "instvars" : [ "converter" ], - "name" : "GRPharoConverterCodecStream", + "name" : "GRSqueakConverterCodecStream", "pools" : [ ], "super" : "GRCodecStream", diff --git a/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/README.md b/repository/Grease-Squeak6-Core.package/GRSqueakGenericCodec.class/README.md similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/README.md rename to repository/Grease-Squeak6-Core.package/GRSqueakGenericCodec.class/README.md diff --git a/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/class/basicForEncoding..st b/repository/Grease-Squeak6-Core.package/GRSqueakGenericCodec.class/class/basicForEncoding..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/class/basicForEncoding..st rename to repository/Grease-Squeak6-Core.package/GRSqueakGenericCodec.class/class/basicForEncoding..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/class/codecs.st b/repository/Grease-Squeak6-Core.package/GRSqueakGenericCodec.class/class/codecs.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/class/codecs.st rename to repository/Grease-Squeak6-Core.package/GRSqueakGenericCodec.class/class/codecs.st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/class/supportedEncodingNames.st b/repository/Grease-Squeak6-Core.package/GRSqueakGenericCodec.class/class/supportedEncodingNames.st similarity index 80% rename from repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/class/supportedEncodingNames.st rename to repository/Grease-Squeak6-Core.package/GRSqueakGenericCodec.class/class/supportedEncodingNames.st index d1c6d00b..0377703f 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/class/supportedEncodingNames.st +++ b/repository/Grease-Squeak6-Core.package/GRSqueakGenericCodec.class/class/supportedEncodingNames.st @@ -3,6 +3,6 @@ supportedEncodingNames "answers the names of the encodings supported by this class" ^ (TextConverter allSubclasses gather: [ :class | class encodingNames ]) asSet asOrderedCollection - removeAllFoundIn: GRPharoLatin1Codec supportedEncodingNames; + removeAllFoundIn: GRSqueakLatin1Codec supportedEncodingNames; removeAllFoundIn: UTF8TextConverter encodingNames; yourself \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/class/supportsEncoding..st b/repository/Grease-Squeak6-Core.package/GRSqueakGenericCodec.class/class/supportsEncoding..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/class/supportsEncoding..st rename to repository/Grease-Squeak6-Core.package/GRSqueakGenericCodec.class/class/supportsEncoding..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/instance/converter.st b/repository/Grease-Squeak6-Core.package/GRSqueakGenericCodec.class/instance/converter.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/instance/converter.st rename to repository/Grease-Squeak6-Core.package/GRSqueakGenericCodec.class/instance/converter.st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/instance/decoderFor..st b/repository/Grease-Squeak6-Core.package/GRSqueakGenericCodec.class/instance/decoderFor..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/instance/decoderFor..st rename to repository/Grease-Squeak6-Core.package/GRSqueakGenericCodec.class/instance/decoderFor..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/instance/encoderFor..st b/repository/Grease-Squeak6-Core.package/GRSqueakGenericCodec.class/instance/encoderFor..st similarity index 68% rename from repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/instance/encoderFor..st rename to repository/Grease-Squeak6-Core.package/GRSqueakGenericCodec.class/instance/encoderFor..st index 94f2fc13..66a348a4 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/instance/encoderFor..st +++ b/repository/Grease-Squeak6-Core.package/GRSqueakGenericCodec.class/instance/encoderFor..st @@ -1,5 +1,5 @@ conversion encoderFor: aStream - ^ GRPharoConverterCodecStream + ^ GRSqueakConverterCodecStream on: aStream converter: self converter \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/instance/initializeWithName..st b/repository/Grease-Squeak6-Core.package/GRSqueakGenericCodec.class/instance/initializeWithName..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/instance/initializeWithName..st rename to repository/Grease-Squeak6-Core.package/GRSqueakGenericCodec.class/instance/initializeWithName..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/instance/name.st b/repository/Grease-Squeak6-Core.package/GRSqueakGenericCodec.class/instance/name.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/instance/name.st rename to repository/Grease-Squeak6-Core.package/GRSqueakGenericCodec.class/instance/name.st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/instance/url.st b/repository/Grease-Squeak6-Core.package/GRSqueakGenericCodec.class/instance/url.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/instance/url.st rename to repository/Grease-Squeak6-Core.package/GRSqueakGenericCodec.class/instance/url.st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/properties.json b/repository/Grease-Squeak6-Core.package/GRSqueakGenericCodec.class/properties.json similarity index 86% rename from repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/properties.json rename to repository/Grease-Squeak6-Core.package/GRSqueakGenericCodec.class/properties.json index ed667ed9..970bce64 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoGenericCodec.class/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRSqueakGenericCodec.class/properties.json @@ -8,7 +8,7 @@ "instvars" : [ "name", "urlCodec" ], - "name" : "GRPharoGenericCodec", + "name" : "GRSqueakGenericCodec", "pools" : [ ], "super" : "GRCodec", diff --git a/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/README.md b/repository/Grease-Squeak6-Core.package/GRSqueakLatin1Codec.class/README.md similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/README.md rename to repository/Grease-Squeak6-Core.package/GRSqueakLatin1Codec.class/README.md diff --git a/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/class/basicForEncoding..st b/repository/Grease-Squeak6-Core.package/GRSqueakLatin1Codec.class/class/basicForEncoding..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/class/basicForEncoding..st rename to repository/Grease-Squeak6-Core.package/GRSqueakLatin1Codec.class/class/basicForEncoding..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/class/codecs.st b/repository/Grease-Squeak6-Core.package/GRSqueakLatin1Codec.class/class/codecs.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/class/codecs.st rename to repository/Grease-Squeak6-Core.package/GRSqueakLatin1Codec.class/class/codecs.st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/class/supportedEncodingNames.st b/repository/Grease-Squeak6-Core.package/GRSqueakLatin1Codec.class/class/supportedEncodingNames.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/class/supportedEncodingNames.st rename to repository/Grease-Squeak6-Core.package/GRSqueakLatin1Codec.class/class/supportedEncodingNames.st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/class/supportsEncoding..st b/repository/Grease-Squeak6-Core.package/GRSqueakLatin1Codec.class/class/supportsEncoding..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/class/supportsEncoding..st rename to repository/Grease-Squeak6-Core.package/GRSqueakLatin1Codec.class/class/supportsEncoding..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/instance/decode..st b/repository/Grease-Squeak6-Core.package/GRSqueakLatin1Codec.class/instance/decode..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/instance/decode..st rename to repository/Grease-Squeak6-Core.package/GRSqueakLatin1Codec.class/instance/decode..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/instance/decoderFor..st b/repository/Grease-Squeak6-Core.package/GRSqueakLatin1Codec.class/instance/decoderFor..st similarity index 64% rename from repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/instance/decoderFor..st rename to repository/Grease-Squeak6-Core.package/GRSqueakLatin1Codec.class/instance/decoderFor..st index 256dbac4..8b868322 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/instance/decoderFor..st +++ b/repository/Grease-Squeak6-Core.package/GRSqueakLatin1Codec.class/instance/decoderFor..st @@ -1,4 +1,4 @@ conversion decoderFor: aReadStream "wrap to avoid String vs ByteArray issues" - ^ GRPharoLatin1CodecStream on: aReadStream \ No newline at end of file + ^ GRSqueakLatin1CodecStream on: aReadStream \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/instance/encoderFor..st b/repository/Grease-Squeak6-Core.package/GRSqueakLatin1Codec.class/instance/encoderFor..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/instance/encoderFor..st rename to repository/Grease-Squeak6-Core.package/GRSqueakLatin1Codec.class/instance/encoderFor..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/instance/initializeWithName..st b/repository/Grease-Squeak6-Core.package/GRSqueakLatin1Codec.class/instance/initializeWithName..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/instance/initializeWithName..st rename to repository/Grease-Squeak6-Core.package/GRSqueakLatin1Codec.class/instance/initializeWithName..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/instance/name.st b/repository/Grease-Squeak6-Core.package/GRSqueakLatin1Codec.class/instance/name.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/instance/name.st rename to repository/Grease-Squeak6-Core.package/GRSqueakLatin1Codec.class/instance/name.st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/properties.json b/repository/Grease-Squeak6-Core.package/GRSqueakLatin1Codec.class/properties.json similarity index 86% rename from repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/properties.json rename to repository/Grease-Squeak6-Core.package/GRSqueakLatin1Codec.class/properties.json index 2bba6f1e..3468df5f 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoLatin1Codec.class/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRSqueakLatin1Codec.class/properties.json @@ -7,7 +7,7 @@ "commentStamp" : "", "instvars" : [ "name" ], - "name" : "GRPharoLatin1Codec", + "name" : "GRSqueakLatin1Codec", "pools" : [ ], "super" : "GRNullCodec", diff --git a/repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/README.md b/repository/Grease-Squeak6-Core.package/GRSqueakLatin1CodecStream.class/README.md similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/README.md rename to repository/Grease-Squeak6-Core.package/GRSqueakLatin1CodecStream.class/README.md diff --git a/repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/instance/next..st b/repository/Grease-Squeak6-Core.package/GRSqueakLatin1CodecStream.class/instance/next..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/instance/next..st rename to repository/Grease-Squeak6-Core.package/GRSqueakLatin1CodecStream.class/instance/next..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/instance/next.st b/repository/Grease-Squeak6-Core.package/GRSqueakLatin1CodecStream.class/instance/next.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/instance/next.st rename to repository/Grease-Squeak6-Core.package/GRSqueakLatin1CodecStream.class/instance/next.st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/properties.json b/repository/Grease-Squeak6-Core.package/GRSqueakLatin1CodecStream.class/properties.json similarity index 84% rename from repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/properties.json rename to repository/Grease-Squeak6-Core.package/GRSqueakLatin1CodecStream.class/properties.json index bdc575a0..e187308b 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoLatin1CodecStream.class/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRSqueakLatin1CodecStream.class/properties.json @@ -7,7 +7,7 @@ "commentStamp" : "", "instvars" : [ ], - "name" : "GRPharoLatin1CodecStream", + "name" : "GRSqueakLatin1CodecStream", "pools" : [ ], "super" : "GRNullCodecStream", diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/README.md b/repository/Grease-Squeak6-Core.package/GRSqueakUtf8Codec.class/README.md similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/README.md rename to repository/Grease-Squeak6-Core.package/GRSqueakUtf8Codec.class/README.md diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/class/basicForEncoding..st b/repository/Grease-Squeak6-Core.package/GRSqueakUtf8Codec.class/class/basicForEncoding..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/class/basicForEncoding..st rename to repository/Grease-Squeak6-Core.package/GRSqueakUtf8Codec.class/class/basicForEncoding..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/class/codecs.st b/repository/Grease-Squeak6-Core.package/GRSqueakUtf8Codec.class/class/codecs.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/class/codecs.st rename to repository/Grease-Squeak6-Core.package/GRSqueakUtf8Codec.class/class/codecs.st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st b/repository/Grease-Squeak6-Core.package/GRSqueakUtf8Codec.class/class/supportsEncoding..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st rename to repository/Grease-Squeak6-Core.package/GRSqueakUtf8Codec.class/class/supportsEncoding..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/instance/decode..st b/repository/Grease-Squeak6-Core.package/GRSqueakUtf8Codec.class/instance/decode..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/instance/decode..st rename to repository/Grease-Squeak6-Core.package/GRSqueakUtf8Codec.class/instance/decode..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st b/repository/Grease-Squeak6-Core.package/GRSqueakUtf8Codec.class/instance/decoderFor..st similarity index 74% rename from repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st rename to repository/Grease-Squeak6-Core.package/GRSqueakUtf8Codec.class/instance/decoderFor..st index 203b901f..55d20732 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st +++ b/repository/Grease-Squeak6-Core.package/GRSqueakUtf8Codec.class/instance/decoderFor..st @@ -1,5 +1,5 @@ conversion decoderFor: aStream - ^ GRPharoUtf8CodecStream + ^ GRSqueakUtf8CodecStream on: aStream converter: UTF8TextConverter new \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st b/repository/Grease-Squeak6-Core.package/GRSqueakUtf8Codec.class/instance/encoderFor..st similarity index 74% rename from repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st rename to repository/Grease-Squeak6-Core.package/GRSqueakUtf8Codec.class/instance/encoderFor..st index d77ab435..a8883243 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st +++ b/repository/Grease-Squeak6-Core.package/GRSqueakUtf8Codec.class/instance/encoderFor..st @@ -1,5 +1,5 @@ conversion encoderFor: aStream - ^ GRPharoUtf8CodecStream + ^ GRSqueakUtf8CodecStream on: aStream converter: UTF8TextConverter new \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/instance/invalidUtf8.st b/repository/Grease-Squeak6-Core.package/GRSqueakUtf8Codec.class/instance/invalidUtf8.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/instance/invalidUtf8.st rename to repository/Grease-Squeak6-Core.package/GRSqueakUtf8Codec.class/instance/invalidUtf8.st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/instance/name.st b/repository/Grease-Squeak6-Core.package/GRSqueakUtf8Codec.class/instance/name.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/instance/name.st rename to repository/Grease-Squeak6-Core.package/GRSqueakUtf8Codec.class/instance/name.st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/instance/url.st b/repository/Grease-Squeak6-Core.package/GRSqueakUtf8Codec.class/instance/url.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/instance/url.st rename to repository/Grease-Squeak6-Core.package/GRSqueakUtf8Codec.class/instance/url.st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/properties.json b/repository/Grease-Squeak6-Core.package/GRSqueakUtf8Codec.class/properties.json similarity index 87% rename from repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/properties.json rename to repository/Grease-Squeak6-Core.package/GRSqueakUtf8Codec.class/properties.json index 7312da07..8c5f1edc 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoUtf8Codec.class/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRSqueakUtf8Codec.class/properties.json @@ -7,7 +7,7 @@ "commentStamp" : "pmm 2/20/2009 12:51", "instvars" : [ ], - "name" : "GRPharoUtf8Codec", + "name" : "GRSqueakUtf8Codec", "pools" : [ ], "super" : "GRCodec", diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/README.md b/repository/Grease-Squeak6-Core.package/GRSqueakUtf8CodecStream.class/README.md similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/README.md rename to repository/Grease-Squeak6-Core.package/GRSqueakUtf8CodecStream.class/README.md diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/class/initialize.st b/repository/Grease-Squeak6-Core.package/GRSqueakUtf8CodecStream.class/class/initialize.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/class/initialize.st rename to repository/Grease-Squeak6-Core.package/GRSqueakUtf8CodecStream.class/class/initialize.st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/instance/crlf.st b/repository/Grease-Squeak6-Core.package/GRSqueakUtf8CodecStream.class/instance/crlf.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/instance/crlf.st rename to repository/Grease-Squeak6-Core.package/GRSqueakUtf8CodecStream.class/instance/crlf.st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/instance/encodeDefault..st b/repository/Grease-Squeak6-Core.package/GRSqueakUtf8CodecStream.class/instance/encodeDefault..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/instance/encodeDefault..st rename to repository/Grease-Squeak6-Core.package/GRSqueakUtf8CodecStream.class/instance/encodeDefault..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/instance/encodeFast..st b/repository/Grease-Squeak6-Core.package/GRSqueakUtf8CodecStream.class/instance/encodeFast..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/instance/encodeFast..st rename to repository/Grease-Squeak6-Core.package/GRSqueakUtf8CodecStream.class/instance/encodeFast..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Squeak6-Core.package/GRSqueakUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st rename to repository/Grease-Squeak6-Core.package/GRSqueakUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st b/repository/Grease-Squeak6-Core.package/GRSqueakUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st rename to repository/Grease-Squeak6-Core.package/GRSqueakUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/instance/invalidUtf8.st b/repository/Grease-Squeak6-Core.package/GRSqueakUtf8CodecStream.class/instance/invalidUtf8.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/instance/invalidUtf8.st rename to repository/Grease-Squeak6-Core.package/GRSqueakUtf8CodecStream.class/instance/invalidUtf8.st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/instance/next..st b/repository/Grease-Squeak6-Core.package/GRSqueakUtf8CodecStream.class/instance/next..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/instance/next..st rename to repository/Grease-Squeak6-Core.package/GRSqueakUtf8CodecStream.class/instance/next..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/instance/next.st b/repository/Grease-Squeak6-Core.package/GRSqueakUtf8CodecStream.class/instance/next.st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/instance/next.st rename to repository/Grease-Squeak6-Core.package/GRSqueakUtf8CodecStream.class/instance/next.st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/instance/nextPut..st b/repository/Grease-Squeak6-Core.package/GRSqueakUtf8CodecStream.class/instance/nextPut..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/instance/nextPut..st rename to repository/Grease-Squeak6-Core.package/GRSqueakUtf8CodecStream.class/instance/nextPut..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/instance/nextPutAll..st b/repository/Grease-Squeak6-Core.package/GRSqueakUtf8CodecStream.class/instance/nextPutAll..st similarity index 100% rename from repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/instance/nextPutAll..st rename to repository/Grease-Squeak6-Core.package/GRSqueakUtf8CodecStream.class/instance/nextPutAll..st diff --git a/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/properties.json b/repository/Grease-Squeak6-Core.package/GRSqueakUtf8CodecStream.class/properties.json similarity index 74% rename from repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/properties.json rename to repository/Grease-Squeak6-Core.package/GRSqueakUtf8CodecStream.class/properties.json index 4c02a23b..e9d9750c 100644 --- a/repository/Grease-Squeak6-Core.package/GRPharoUtf8CodecStream.class/properties.json +++ b/repository/Grease-Squeak6-Core.package/GRSqueakUtf8CodecStream.class/properties.json @@ -8,8 +8,8 @@ "commentStamp" : "pmm 2/20/2009 12:27", "instvars" : [ ], - "name" : "GRPharoUtf8CodecStream", + "name" : "GRSqueakUtf8CodecStream", "pools" : [ ], - "super" : "GRPharoConverterCodecStream", + "super" : "GRSqueakConverterCodecStream", "type" : "normal" } diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoCodecTest.class/README.md b/repository/Grease-Squeak6-Core.package/PackageManifest.class/README.md similarity index 100% rename from repository/Grease-Tests-Squeak6-Core.package/GRPharoCodecTest.class/README.md rename to repository/Grease-Squeak6-Core.package/PackageManifest.class/README.md diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoCodecTest.class/methodProperties.json b/repository/Grease-Tests-Squeak6-Core.package/GRPharoCodecTest.class/methodProperties.json deleted file mode 100644 index 1937a26b..00000000 --- a/repository/Grease-Tests-Squeak6-Core.package/GRPharoCodecTest.class/methodProperties.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "assert:next:startingAt:gives:" : " 7/15/2024 14:23:54", - "assertEncodingIgnoresLanguageTat:" : " 7/15/2024 14:23:54", - "stripLeadingCharFrom:" : " 7/15/2024 14:23:54", - "testAllCodesIncludesIso88591" : " 7/15/2024 14:23:54", - "testGreaseNextPutAllStartingAt" : " 7/15/2024 14:23:54", - "testLanguageTag" : " 7/15/2024 14:23:54" } } diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoColorTest.class/methodProperties.json b/repository/Grease-Tests-Squeak6-Core.package/GRPharoColorTest.class/methodProperties.json deleted file mode 100644 index 521f441a..00000000 --- a/repository/Grease-Tests-Squeak6-Core.package/GRPharoColorTest.class/methodProperties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "expectedFailures" : " 7/15/2024 14:23:54", - "testAllColors" : " 7/15/2024 14:23:54", - "testColorAsHtmlColor" : " 7/15/2024 14:23:54", - "testFromSixDigit" : " 7/15/2024 14:23:54", - "testFromStringName" : " 7/15/2024 14:23:54", - "testFromStringSixDigit" : " 7/15/2024 14:23:54", - "testFromStringThreeDigit" : " 7/15/2024 14:23:54" } } diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoGenericCodecTest.class/instance/testNoAmbiguities.st b/repository/Grease-Tests-Squeak6-Core.package/GRPharoGenericCodecTest.class/instance/testNoAmbiguities.st deleted file mode 100644 index 28ee8c57..00000000 --- a/repository/Grease-Tests-Squeak6-Core.package/GRPharoGenericCodecTest.class/instance/testNoAmbiguities.st +++ /dev/null @@ -1,6 +0,0 @@ -tests -testNoAmbiguities - #('utf-8' 'UTF-8' 'utf8') do: [ :each | - self deny: (GRPharoGenericCodec supportsEncoding: each) ]. - GRPharoLatin1Codec supportedEncodingNames do: [ :each | - self deny: (GRPharoGenericCodec supportsEncoding: each) ] \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoGenericCodecTest.class/methodProperties.json b/repository/Grease-Tests-Squeak6-Core.package/GRPharoGenericCodecTest.class/methodProperties.json deleted file mode 100644 index ae96f140..00000000 --- a/repository/Grease-Tests-Squeak6-Core.package/GRPharoGenericCodecTest.class/methodProperties.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "testNoAmbiguities" : " 7/15/2024 14:23:54" } } diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoPlatformTest.class/methodProperties.json b/repository/Grease-Tests-Squeak6-Core.package/GRPharoPlatformTest.class/methodProperties.json deleted file mode 100644 index a9ca2aad..00000000 --- a/repository/Grease-Tests-Squeak6-Core.package/GRPharoPlatformTest.class/methodProperties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "testCompileIntoClassified" : " 7/15/2024 14:23:54", - "testFullName" : " 7/15/2024 14:23:54", - "testGreaseIntegerOnCharacter" : " 7/15/2024 14:23:54", - "testMessageSendValueWithPossibleArguments" : " 7/15/2024 14:23:54", - "testWriteToFileInFolderBinary" : " 7/15/2024 14:23:54", - "testWriteToFileInFolderText" : " 7/15/2024 14:23:54", - "writeToFile:" : " 7/15/2024 14:23:54" } } diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoColorTest.class/README.md b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakCodecTest.class/README.md similarity index 100% rename from repository/Grease-Tests-Squeak6-Core.package/GRPharoColorTest.class/README.md rename to repository/Grease-Tests-Squeak6-Core.package/GRSqueakCodecTest.class/README.md diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoCodecTest.class/instance/assert.next.startingAt.gives..st b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakCodecTest.class/instance/assert.next.startingAt.gives..st similarity index 100% rename from repository/Grease-Tests-Squeak6-Core.package/GRPharoCodecTest.class/instance/assert.next.startingAt.gives..st rename to repository/Grease-Tests-Squeak6-Core.package/GRSqueakCodecTest.class/instance/assert.next.startingAt.gives..st diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoCodecTest.class/instance/assertEncodingIgnoresLanguageTat..st b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakCodecTest.class/instance/assertEncodingIgnoresLanguageTat..st similarity index 100% rename from repository/Grease-Tests-Squeak6-Core.package/GRPharoCodecTest.class/instance/assertEncodingIgnoresLanguageTat..st rename to repository/Grease-Tests-Squeak6-Core.package/GRSqueakCodecTest.class/instance/assertEncodingIgnoresLanguageTat..st diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoCodecTest.class/instance/stripLeadingCharFrom..st b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakCodecTest.class/instance/stripLeadingCharFrom..st similarity index 100% rename from repository/Grease-Tests-Squeak6-Core.package/GRPharoCodecTest.class/instance/stripLeadingCharFrom..st rename to repository/Grease-Tests-Squeak6-Core.package/GRSqueakCodecTest.class/instance/stripLeadingCharFrom..st diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoCodecTest.class/instance/testAllCodesIncludesIso88591.st b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakCodecTest.class/instance/testAllCodesIncludesIso88591.st similarity index 100% rename from repository/Grease-Tests-Squeak6-Core.package/GRPharoCodecTest.class/instance/testAllCodesIncludesIso88591.st rename to repository/Grease-Tests-Squeak6-Core.package/GRSqueakCodecTest.class/instance/testAllCodesIncludesIso88591.st diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoCodecTest.class/instance/testGreaseNextPutAllStartingAt.st b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakCodecTest.class/instance/testGreaseNextPutAllStartingAt.st similarity index 100% rename from repository/Grease-Tests-Squeak6-Core.package/GRPharoCodecTest.class/instance/testGreaseNextPutAllStartingAt.st rename to repository/Grease-Tests-Squeak6-Core.package/GRSqueakCodecTest.class/instance/testGreaseNextPutAllStartingAt.st diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoCodecTest.class/instance/testLanguageTag.st b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakCodecTest.class/instance/testLanguageTag.st similarity index 100% rename from repository/Grease-Tests-Squeak6-Core.package/GRPharoCodecTest.class/instance/testLanguageTag.st rename to repository/Grease-Tests-Squeak6-Core.package/GRSqueakCodecTest.class/instance/testLanguageTag.st diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoColorTest.class/properties.json b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakCodecTest.class/properties.json similarity index 86% rename from repository/Grease-Tests-Squeak6-Core.package/GRPharoColorTest.class/properties.json rename to repository/Grease-Tests-Squeak6-Core.package/GRSqueakCodecTest.class/properties.json index 6b7f9b22..9b72396b 100644 --- a/repository/Grease-Tests-Squeak6-Core.package/GRPharoColorTest.class/properties.json +++ b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakCodecTest.class/properties.json @@ -7,7 +7,7 @@ "commentStamp" : "", "instvars" : [ ], - "name" : "GRPharoColorTest", + "name" : "GRSqueakCodecTest", "pools" : [ ], "super" : "TestCase", diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoGenericCodecTest.class/README.md b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakColorTest.class/README.md similarity index 100% rename from repository/Grease-Tests-Squeak6-Core.package/GRPharoGenericCodecTest.class/README.md rename to repository/Grease-Tests-Squeak6-Core.package/GRSqueakColorTest.class/README.md diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoColorTest.class/instance/expectedFailures.st b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakColorTest.class/instance/expectedFailures.st similarity index 100% rename from repository/Grease-Tests-Squeak6-Core.package/GRPharoColorTest.class/instance/expectedFailures.st rename to repository/Grease-Tests-Squeak6-Core.package/GRSqueakColorTest.class/instance/expectedFailures.st diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoColorTest.class/instance/testAllColors.st b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakColorTest.class/instance/testAllColors.st similarity index 100% rename from repository/Grease-Tests-Squeak6-Core.package/GRPharoColorTest.class/instance/testAllColors.st rename to repository/Grease-Tests-Squeak6-Core.package/GRSqueakColorTest.class/instance/testAllColors.st diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoColorTest.class/instance/testColorAsHtmlColor.st b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakColorTest.class/instance/testColorAsHtmlColor.st similarity index 100% rename from repository/Grease-Tests-Squeak6-Core.package/GRPharoColorTest.class/instance/testColorAsHtmlColor.st rename to repository/Grease-Tests-Squeak6-Core.package/GRSqueakColorTest.class/instance/testColorAsHtmlColor.st diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoColorTest.class/instance/testFromSixDigit.st b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakColorTest.class/instance/testFromSixDigit.st similarity index 100% rename from repository/Grease-Tests-Squeak6-Core.package/GRPharoColorTest.class/instance/testFromSixDigit.st rename to repository/Grease-Tests-Squeak6-Core.package/GRSqueakColorTest.class/instance/testFromSixDigit.st diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoColorTest.class/instance/testFromStringName.st b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakColorTest.class/instance/testFromStringName.st similarity index 100% rename from repository/Grease-Tests-Squeak6-Core.package/GRPharoColorTest.class/instance/testFromStringName.st rename to repository/Grease-Tests-Squeak6-Core.package/GRSqueakColorTest.class/instance/testFromStringName.st diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoColorTest.class/instance/testFromStringSixDigit.st b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakColorTest.class/instance/testFromStringSixDigit.st similarity index 100% rename from repository/Grease-Tests-Squeak6-Core.package/GRPharoColorTest.class/instance/testFromStringSixDigit.st rename to repository/Grease-Tests-Squeak6-Core.package/GRSqueakColorTest.class/instance/testFromStringSixDigit.st diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoColorTest.class/instance/testFromStringThreeDigit.st b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakColorTest.class/instance/testFromStringThreeDigit.st similarity index 100% rename from repository/Grease-Tests-Squeak6-Core.package/GRPharoColorTest.class/instance/testFromStringThreeDigit.st rename to repository/Grease-Tests-Squeak6-Core.package/GRSqueakColorTest.class/instance/testFromStringThreeDigit.st diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoCodecTest.class/properties.json b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakColorTest.class/properties.json similarity index 86% rename from repository/Grease-Tests-Squeak6-Core.package/GRPharoCodecTest.class/properties.json rename to repository/Grease-Tests-Squeak6-Core.package/GRSqueakColorTest.class/properties.json index 8248e999..3b3b1ed2 100644 --- a/repository/Grease-Tests-Squeak6-Core.package/GRPharoCodecTest.class/properties.json +++ b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakColorTest.class/properties.json @@ -7,7 +7,7 @@ "commentStamp" : "", "instvars" : [ ], - "name" : "GRPharoCodecTest", + "name" : "GRSqueakColorTest", "pools" : [ ], "super" : "TestCase", diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoPlatformTest.class/README.md b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakGenericCodecTest.class/README.md similarity index 100% rename from repository/Grease-Tests-Squeak6-Core.package/GRPharoPlatformTest.class/README.md rename to repository/Grease-Tests-Squeak6-Core.package/GRSqueakGenericCodecTest.class/README.md diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRSqueakGenericCodecTest.class/instance/testNoAmbiguities.st b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakGenericCodecTest.class/instance/testNoAmbiguities.st new file mode 100644 index 00000000..de47bc4c --- /dev/null +++ b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakGenericCodecTest.class/instance/testNoAmbiguities.st @@ -0,0 +1,6 @@ +tests +testNoAmbiguities + #('utf-8' 'UTF-8' 'utf8') do: [ :each | + self deny: (GRSqueakGenericCodec supportsEncoding: each) ]. + GRSqueakLatin1Codec supportedEncodingNames do: [ :each | + self deny: (GRSqueakGenericCodec supportsEncoding: each) ] \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoGenericCodecTest.class/properties.json b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakGenericCodecTest.class/properties.json similarity index 84% rename from repository/Grease-Tests-Squeak6-Core.package/GRPharoGenericCodecTest.class/properties.json rename to repository/Grease-Tests-Squeak6-Core.package/GRSqueakGenericCodecTest.class/properties.json index 27838258..ac8b2c1c 100644 --- a/repository/Grease-Tests-Squeak6-Core.package/GRPharoGenericCodecTest.class/properties.json +++ b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakGenericCodecTest.class/properties.json @@ -7,7 +7,7 @@ "commentStamp" : "", "instvars" : [ ], - "name" : "GRPharoGenericCodecTest", + "name" : "GRSqueakGenericCodecTest", "pools" : [ ], "super" : "TestCase", diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRSqueakPlatformTest.class/README.md b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakPlatformTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoPlatformTest.class/instance/testCompileIntoClassified.st b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakPlatformTest.class/instance/testCompileIntoClassified.st similarity index 100% rename from repository/Grease-Tests-Squeak6-Core.package/GRPharoPlatformTest.class/instance/testCompileIntoClassified.st rename to repository/Grease-Tests-Squeak6-Core.package/GRSqueakPlatformTest.class/instance/testCompileIntoClassified.st diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRSqueakPlatformTest.class/instance/testDeprecationExceptionSet.st b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakPlatformTest.class/instance/testDeprecationExceptionSet.st new file mode 100644 index 00000000..e43f8e40 --- /dev/null +++ b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakPlatformTest.class/instance/testDeprecationExceptionSet.st @@ -0,0 +1,10 @@ +tests +testDeprecationExceptionSet + | value | + value := [ + "intentially send Squeak instead of Grease deprecation message" + self deprecated: 'test'. + 'failed' ] + on: GRDeprecatedApiNotification, GRPlatform current deprecationExceptionSet + do: [ :e | 'passed' ]. + self assert: value = 'passed' \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoPlatformTest.class/instance/testFullName.st b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakPlatformTest.class/instance/testFullName.st similarity index 100% rename from repository/Grease-Tests-Squeak6-Core.package/GRPharoPlatformTest.class/instance/testFullName.st rename to repository/Grease-Tests-Squeak6-Core.package/GRSqueakPlatformTest.class/instance/testFullName.st diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoPlatformTest.class/instance/testGreaseIntegerOnCharacter.st b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakPlatformTest.class/instance/testGreaseIntegerOnCharacter.st similarity index 100% rename from repository/Grease-Tests-Squeak6-Core.package/GRPharoPlatformTest.class/instance/testGreaseIntegerOnCharacter.st rename to repository/Grease-Tests-Squeak6-Core.package/GRSqueakPlatformTest.class/instance/testGreaseIntegerOnCharacter.st diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoPlatformTest.class/instance/testMessageSendValueWithPossibleArguments.st b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakPlatformTest.class/instance/testMessageSendValueWithPossibleArguments.st similarity index 100% rename from repository/Grease-Tests-Squeak6-Core.package/GRPharoPlatformTest.class/instance/testMessageSendValueWithPossibleArguments.st rename to repository/Grease-Tests-Squeak6-Core.package/GRSqueakPlatformTest.class/instance/testMessageSendValueWithPossibleArguments.st diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoPlatformTest.class/instance/testWriteToFileInFolderBinary.st b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakPlatformTest.class/instance/testWriteToFileInFolderBinary.st similarity index 64% rename from repository/Grease-Tests-Squeak6-Core.package/GRPharoPlatformTest.class/instance/testWriteToFileInFolderBinary.st rename to repository/Grease-Tests-Squeak6-Core.package/GRSqueakPlatformTest.class/instance/testWriteToFileInFolderBinary.st index d9e95032..0195f248 100644 --- a/repository/Grease-Tests-Squeak6-Core.package/GRPharoPlatformTest.class/instance/testWriteToFileInFolderBinary.st +++ b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakPlatformTest.class/instance/testWriteToFileInFolderBinary.st @@ -1,3 +1,3 @@ tests testWriteToFileInFolderBinary - self writeToFile: #(80 104 39 110 103 108 117 105 32 109 103 108 119 39 110 97 102 104 32 67 116 104 117 108 104 117 32 82 39 108 121 101 104 32 119 103 97 104 39 110 97 103 108 32 102 104 116 97 103 110) asByteArray \ No newline at end of file + self writeToFile: #[80 104 39 110 103 108 117 105 32 109 103 108 119 39 110 97 102 104 32 67 116 104 117 108 104 117 32 82 39 108 121 101 104 32 119 103 97 104 39 110 97 103 108 32 102 104 116 97 103 110] \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoPlatformTest.class/instance/testWriteToFileInFolderText.st b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakPlatformTest.class/instance/testWriteToFileInFolderText.st similarity index 100% rename from repository/Grease-Tests-Squeak6-Core.package/GRPharoPlatformTest.class/instance/testWriteToFileInFolderText.st rename to repository/Grease-Tests-Squeak6-Core.package/GRSqueakPlatformTest.class/instance/testWriteToFileInFolderText.st diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoPlatformTest.class/instance/writeToFile..st b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakPlatformTest.class/instance/writeToFile..st similarity index 100% rename from repository/Grease-Tests-Squeak6-Core.package/GRPharoPlatformTest.class/instance/writeToFile..st rename to repository/Grease-Tests-Squeak6-Core.package/GRSqueakPlatformTest.class/instance/writeToFile..st diff --git a/repository/Grease-Tests-Squeak6-Core.package/GRPharoPlatformTest.class/properties.json b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakPlatformTest.class/properties.json similarity index 85% rename from repository/Grease-Tests-Squeak6-Core.package/GRPharoPlatformTest.class/properties.json rename to repository/Grease-Tests-Squeak6-Core.package/GRSqueakPlatformTest.class/properties.json index 560daf9e..f126228b 100644 --- a/repository/Grease-Tests-Squeak6-Core.package/GRPharoPlatformTest.class/properties.json +++ b/repository/Grease-Tests-Squeak6-Core.package/GRSqueakPlatformTest.class/properties.json @@ -7,7 +7,7 @@ "commentStamp" : "", "instvars" : [ ], - "name" : "GRPharoPlatformTest", + "name" : "GRSqueakPlatformTest", "pools" : [ ], "super" : "TestCase", From 3841b2589340dd6715d0ac16500d30ee64b30ed7 Mon Sep 17 00:00:00 2001 From: Philippe Marschall Date: Thu, 10 Jul 2025 15:51:17 +0200 Subject: [PATCH 244/254] Delete old Squeak code --- .../Grease-Squeak-Core.package/.filetree | 5 -- .../GRSqueakPlatform.class/README.md | 0 .../class/initialize.st | 4 -- .../instance/defaultDirectoryPathString.st | 3 -- .../instance/deleteFile.inFolder..st | 4 -- .../instance/directoriesIn..st | 9 ---- .../instance/doSilently..st | 3 -- .../instance/ensureExistenceOfFolder..st | 3 -- .../instance/fileExists..st | 3 -- .../instance/fileNameFor..st | 7 --- .../instance/fileStreamOn.do.binary..st | 13 ------ .../instance/filesIn..st | 9 ---- .../instance/integerAsByteArray..st | 7 --- .../instance/isDirectory..st | 3 -- .../instance/localNameOf..st | 3 -- .../instance/newTemporaryFileReference.st | 8 ---- .../instance/pathSeparator.st | 3 -- .../instance/sizeOfFile..st | 4 -- .../instance/write.toFile.inFolder..st | 15 ------ .../GRSqueakPlatform.class/properties.json | 11 ----- .../instance/greaseByteAt..st | 8 ---- .../instance/greaseBytesCount.st | 8 ---- .../LargeInteger.extension/properties.json | 3 -- .../ManifestGreaseSqueakCore.class/README.md | 1 - ...iciousTrueFalseOrNilRuleV1FalsePositive.st | 3 -- ...eSendsDifferentSuperRuleV1FalsePositive.st | 3 -- .../ruleSuperSendsRuleV1FalsePositive.st | 3 -- .../properties.json | 11 ----- .../Object.extension/instance/sizeInMemory.st | 23 ---------- .../Object.extension/properties.json | 3 -- .../instance/greaseByteAt..st | 14 ------ .../instance/greaseBytesCount.st | 25 ---------- .../instance/sizeInMemory.st | 4 -- .../SmallInteger.extension/properties.json | 3 -- .../monticello.meta/categories.st | 2 - .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 - .../properties.json | 1 - .../Grease-Squeak5-Core.package/.filetree | 5 -- .../Behavior.extension/instance/fullName.st | 5 -- .../Behavior.extension/properties.json | 3 -- .../instance/valueWithPossibleArguments..st | 11 ----- .../BlockClosure.extension/properties.json | 3 -- .../instance/tempVarRefs.st | 16 ------- .../instance/valueWithPossibleArguments..st | 3 -- .../BlockContext.extension/properties.json | 3 -- .../instance/greaseString.st | 4 -- .../ByteArray.extension/properties.json | 3 -- .../instance/greaseInteger.st | 4 -- .../Character.extension/properties.json | 3 -- .../Collection.extension/instance/any.st | 3 -- .../Collection.extension/properties.json | 3 -- .../Duration.extension/class/milliseconds..st | 3 -- .../instance/asMilliseconds.st | 3 -- .../instance/milliseconds.st | 3 -- .../Duration.extension/properties.json | 3 -- .../instance/greaseNext.putAll.startingAt..st | 3 -- .../properties.json | 3 -- .../GRDynamicVariable.class/README.md | 0 .../GRDynamicVariable.class/class/default.st | 3 -- .../class/defaultValue.st | 3 -- .../class/use.during..st | 5 -- .../GRDynamicVariable.class/properties.json | 11 ----- .../class/greaseSqueak5Core.st | 7 --- .../GRPackage.extension/properties.json | 3 -- .../README.md | 7 --- .../class/on.converter..st | 3 -- .../instance/greaseNext.putAll.startingAt..st | 3 -- .../instance/initializeOn.converter..st | 4 -- .../instance/next..st | 8 ---- .../instance/next.st | 6 --- .../instance/nextPut..st | 3 -- .../instance/nextPutAll..st | 3 -- .../properties.json | 13 ------ .../GRPharoGenericCodec.class/README.md | 0 .../class/basicForEncoding..st | 5 -- .../GRPharoGenericCodec.class/class/codecs.st | 8 ---- .../class/supportedEncodingNames.st | 8 ---- .../class/supportsEncoding..st | 4 -- .../instance/converter.st | 3 -- .../instance/decoderFor..st | 3 -- .../instance/encoderFor..st | 5 -- .../instance/initializeWithName..st | 7 --- .../instance/name.st | 3 -- .../GRPharoGenericCodec.class/instance/url.st | 5 -- .../GRPharoGenericCodec.class/properties.json | 14 ------ .../GRPharoLatin1Codec.class/README.md | 1 - .../class/basicForEncoding..st | 5 -- .../GRPharoLatin1Codec.class/class/codecs.st | 3 -- .../class/supportedEncodingNames.st | 3 -- .../class/supportsEncoding..st | 4 -- .../instance/decode..st | 5 -- .../instance/decoderFor..st | 4 -- .../instance/encoderFor..st | 4 -- .../instance/initializeWithName..st | 4 -- .../GRPharoLatin1Codec.class/instance/name.st | 3 -- .../GRPharoLatin1Codec.class/properties.json | 13 ------ .../GRPharoLatin1CodecStream.class/README.md | 1 - .../instance/next..st | 3 -- .../instance/next.st | 3 -- .../properties.json | 11 ----- .../GRPharoPlatform.class/README.md | 1 - .../GRPharoPlatform.class/class/initialize.st | 4 -- .../class/initializeUrlTable.st | 7 --- .../class/initializeXmlTable.st | 7 --- .../instance/addToShutDownList..st | 5 -- .../instance/addToStartUpList..st | 5 -- .../asMethodReturningByteArray.named..st | 6 --- ...sMethodReturningByteArrayLiteral.named..st | 10 ---- ...ethodReturningByteArrayWithCache.named..st | 10 ---- .../instance/base64Decode..st | 3 -- .../instance/base64Encode..st | 3 -- .../instance/bindingOf..st | 4 -- .../instance/compile.into.classified..st | 31 ------------- .../instance/contentsOfFile.binary..st | 12 ----- .../instance/deprecationExceptionSet.st | 3 -- .../instance/directoriesIn..st | 9 ---- .../instance/doSilently..st | 3 -- .../instance/ensureExistenceOfFolder..st | 4 -- .../instance/fileExists..st | 3 -- .../instance/filesIn..st | 9 ---- .../instance/isProcessTerminated..st | 4 -- .../GRPharoPlatform.class/instance/label.st | 3 -- .../instance/localNameOf..st | 3 -- .../instance/newRandom.st | 10 ---- .../GRPharoPlatform.class/instance/newline.st | 3 -- .../instance/openDebuggerOn..st | 18 -------- .../instance/pathSeparator.st | 3 -- .../instance/readWriteByteStream.st | 5 -- .../instance/readWriteCharacterStream.st | 5 -- .../instance/removeFromShutDownList..st | 5 -- .../instance/removeFromStartUpList..st | 5 -- .../instance/removeSelector.from..st | 3 -- .../instance/secureHashFor..st | 3 -- .../instance/semaphoreClass.st | 4 -- .../instance/stackDepth.st | 10 ---- .../instance/terminateProcess..st | 4 -- .../instance/thisContext.st | 4 -- .../instance/useByteArrayLiterals.st | 11 ----- .../instance/weakDictionaryOfSize..st | 3 -- .../instance/writeCharacterStreamOn..st | 4 -- .../GRPharoPlatform.class/properties.json | 14 ------ .../GRPharoRandomProvider.class/README.md | 0 .../class/initialize.st | 4 -- .../class/nextInt..st | 5 -- .../class/randomClass.st | 3 -- .../class/randomFrom..st | 11 ----- .../class/startUp.st | 4 -- .../class/unload.st | 3 -- .../properties.json | 14 ------ .../GRPharoUtf8Codec.class/README.md | 1 - .../class/basicForEncoding..st | 3 -- .../GRPharoUtf8Codec.class/class/codecs.st | 3 -- .../class/supportsEncoding..st | 3 -- .../instance/decode..st | 36 --------------- .../instance/decoderFor..st | 5 -- .../instance/encoderFor..st | 5 -- .../instance/invalidUtf8.st | 3 -- .../GRPharoUtf8Codec.class/instance/name.st | 3 -- .../GRPharoUtf8Codec.class/instance/url.st | 3 -- .../GRPharoUtf8Codec.class/properties.json | 11 ----- .../GRPharoUtf8CodecStream.class/README.md | 1 - .../class/initialize.st | 17 ------- .../instance/crlf.st | 4 -- .../instance/encodeDefault..st | 5 -- .../instance/encodeFast..st | 14 ------ .../instance/greaseNext.putAll.startingAt..st | 5 -- .../greaseNext.putAllFast.startingAt..st | 17 ------- .../instance/invalidUtf8.st | 3 -- .../instance/next..st | 46 ------------------- .../instance/next.st | 3 -- .../instance/nextPut..st | 11 ----- .../instance/nextPutAll..st | 5 -- .../properties.json | 14 ------ .../instance/customizeExplorerContents.st | 3 -- .../instance/explorerContents.st | 10 ---- .../instance/hasContentsInExplorer.st | 3 -- .../properties.json | 3 -- .../GRSqueakPlatform.class/README.md | 0 .../class/initialize.st | 4 -- .../instance/defaultDirectoryPathString.st | 3 -- .../instance/deleteFile..st | 3 -- .../instance/deleteFile.inFolder..st | 4 -- .../instance/directoriesIn..st | 9 ---- .../instance/doSilently..st | 3 -- .../instance/ensureExistenceOfFolder..st | 3 -- .../instance/fileExists..st | 3 -- .../instance/fileNameFor..st | 7 --- .../instance/filesIn..st | 9 ---- .../instance/integerAsByteArray..st | 7 --- .../instance/isDirectory..st | 3 -- .../instance/localNameOf..st | 3 -- .../instance/newTemporaryFile.st | 4 -- .../instance/newTemporaryFileNamed..st | 7 --- .../instance/pathSeparator.st | 3 -- .../instance/readFileStreamOn.do.binary..st | 13 ------ .../instance/sizeOfFile..st | 4 -- .../instance/write.toFile.inFolder..st | 11 ----- .../instance/writeFileStreamOn.do.binary..st | 8 ---- .../GRSqueakPlatform.class/properties.json | 11 ----- .../GRWorkingWriteStream.class/README.md | 1 - .../instance/reset.st | 3 -- .../properties.json | 11 ----- .../Interval.extension/instance/any.st | 6 --- .../Interval.extension/properties.json | 3 -- .../instance/greaseByteAt..st | 8 ---- .../instance/greaseBytesCount.st | 8 ---- .../properties.json | 3 -- .../instance/argumentCount.st | 3 -- .../instance/valueWithPossibleArguments..st | 7 --- .../MessageSend.extension/properties.json | 3 -- .../Number.extension/instance/milliseconds.st | 3 -- .../Number.extension/properties.json | 3 -- .../Object.extension/instance/greaseString.st | 3 -- .../Object.extension/instance/sizeInMemory.st | 23 ---------- .../Object.extension/properties.json | 3 -- .../Point.extension/instance/greaseString.st | 13 ------ .../Point.extension/properties.json | 3 -- .../instance/greaseUpToAll..st | 5 -- .../properties.json | 3 -- .../instance/encodeOn..st | 6 --- .../instance/greaseString.st | 5 -- .../ScaledDecimal.extension/properties.json | 3 -- .../instance/beginsWithSubCollection..st | 4 -- .../instance/endsWithSubCollection..st | 4 -- .../instance/greaseBeginsWith..st | 5 -- .../instance/greaseEndsWith..st | 5 -- .../instance/sorted.st | 3 -- .../properties.json | 3 -- .../instance/greaseByteAt..st | 14 ------ .../instance/greaseBytesCount.st | 25 ---------- .../instance/sizeInMemory.st | 4 -- .../SmallInteger.extension/properties.json | 3 -- .../instance/greaseNext.putAll.startingAt..st | 13 ------ .../SocketStream.extension/properties.json | 3 -- .../String.extension/instance/substrings..st | 3 -- .../String.extension/instance/trimBoth..st | 5 -- .../String.extension/instance/trimBoth.st | 5 -- .../String.extension/instance/trimLeft..st | 5 -- .../instance/trimLeft.right..st | 12 ----- .../String.extension/instance/trimLeft.st | 5 -- .../String.extension/instance/trimRight..st | 5 -- .../String.extension/instance/trimRight.st | 5 -- .../String.extension/properties.json | 3 -- .../instance/greaseAsMutator.st | 3 -- .../Symbol.extension/properties.json | 3 -- .../instance/greaseNext.putAll.startingAt..st | 4 -- .../WriteStream.extension/properties.json | 3 -- .../monticello.meta/categories.st | 1 - .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 - .../properties.json | 1 - .../.filetree | 4 -- .../GRSqueakPlatformTest.class/README.md | 0 .../instance/testCompileIntoClassified.st | 15 ------ .../instance/testDeprecationExceptionSet.st | 10 ---- .../instance/testFullName.st | 3 -- .../instance/testGreaseIntegerOnCharacter.st | 14 ------ ...stMessageSendValueWithPossibleArguments.st | 33 ------------- .../instance/testWriteToFileInFolderBinary.st | 3 -- .../instance/testWriteToFileInFolderText.st | 3 -- .../instance/writeToFile..st | 11 ----- .../methodProperties.json | 12 ----- .../properties.json | 14 ------ .../monticello.meta/categories.st | 1 - .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 - .../monticello.meta/version | 1 - .../properties.json | 2 - .../.filetree | 4 -- .../class/greaseTestsSqueak5Core.st | 9 ---- .../GRPackage.extension/properties.json | 2 - .../GRPharoCodecTest.class/README.md | 0 .../instance/assert.next.startingAt.gives..st | 7 --- .../assertEncodingIgnoresLanguageTat..st | 7 --- .../instance/stripLeadingCharFrom..st | 8 ---- .../instance/testAllCodesIncludesIso88591.st | 4 -- .../testGreaseNextPutAllStartingAt.st | 13 ------ .../instance/testLanguageTag.st | 16 ------- .../GRPharoCodecTest.class/properties.json | 14 ------ .../GRPharoColorTest.class/README.md | 0 .../instance/expectedFailures.st | 3 -- .../instance/testAllColors.st | 12 ----- .../instance/testColorAsHtmlColor.st | 19 -------- .../instance/testFromSixDigit.st | 6 --- .../instance/testFromStringName.st | 6 --- .../instance/testFromStringSixDigit.st | 6 --- .../instance/testFromStringThreeDigit.st | 6 --- .../GRPharoColorTest.class/properties.json | 14 ------ .../GRPharoGenericCodecTest.class/README.md | 0 .../instance/testNoAmbiguities.st | 6 --- .../properties.json | 14 ------ .../GRPharoPlatformTest.class/README.md | 0 .../instance/testCompileIntoClassified.st | 15 ------ .../instance/testFullName.st | 3 -- .../instance/testGreaseIntegerOnCharacter.st | 14 ------ ...stMessageSendValueWithPossibleArguments.st | 33 ------------- .../instance/testWriteToFileInFolderBinary.st | 3 -- .../instance/testWriteToFileInFolderText.st | 3 -- .../instance/writeToFile..st | 11 ----- .../GRPharoPlatformTest.class/properties.json | 14 ------ .../instance/testScaledDecimalGreaseString.st | 5 -- .../instance/writeToFile.withFileNameDo..st | 12 ----- .../GRPlatformTest.extension/properties.json | 2 - .../instance/testScaledDecimalPrinter.st | 19 -------- .../GRPrinterTest.extension/properties.json | 2 - .../instance/expectedFailures.st | 3 -- .../GRUtf8CodecTest.extension/properties.json | 2 - .../monticello.meta/categories.st | 1 - .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 - .../properties.json | 2 - 312 files changed, 1930 deletions(-) delete mode 100644 repository/Grease-Squeak-Core.package/.filetree delete mode 100644 repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/README.md delete mode 100644 repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/class/initialize.st delete mode 100644 repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/defaultDirectoryPathString.st delete mode 100644 repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/deleteFile.inFolder..st delete mode 100644 repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/directoriesIn..st delete mode 100644 repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/doSilently..st delete mode 100644 repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/ensureExistenceOfFolder..st delete mode 100644 repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/fileExists..st delete mode 100644 repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/fileNameFor..st delete mode 100644 repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/fileStreamOn.do.binary..st delete mode 100644 repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/filesIn..st delete mode 100644 repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/integerAsByteArray..st delete mode 100644 repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/isDirectory..st delete mode 100644 repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/localNameOf..st delete mode 100644 repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileReference.st delete mode 100644 repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/pathSeparator.st delete mode 100644 repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/sizeOfFile..st delete mode 100644 repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/write.toFile.inFolder..st delete mode 100644 repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/properties.json delete mode 100644 repository/Grease-Squeak-Core.package/LargeInteger.extension/instance/greaseByteAt..st delete mode 100644 repository/Grease-Squeak-Core.package/LargeInteger.extension/instance/greaseBytesCount.st delete mode 100644 repository/Grease-Squeak-Core.package/LargeInteger.extension/properties.json delete mode 100644 repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/README.md delete mode 100644 repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/class/ruleLiteralArrayContainsSuspiciousTrueFalseOrNilRuleV1FalsePositive.st delete mode 100644 repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/class/ruleSendsDifferentSuperRuleV1FalsePositive.st delete mode 100644 repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/class/ruleSuperSendsRuleV1FalsePositive.st delete mode 100644 repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/properties.json delete mode 100644 repository/Grease-Squeak-Core.package/Object.extension/instance/sizeInMemory.st delete mode 100644 repository/Grease-Squeak-Core.package/Object.extension/properties.json delete mode 100644 repository/Grease-Squeak-Core.package/SmallInteger.extension/instance/greaseByteAt..st delete mode 100644 repository/Grease-Squeak-Core.package/SmallInteger.extension/instance/greaseBytesCount.st delete mode 100644 repository/Grease-Squeak-Core.package/SmallInteger.extension/instance/sizeInMemory.st delete mode 100644 repository/Grease-Squeak-Core.package/SmallInteger.extension/properties.json delete mode 100644 repository/Grease-Squeak-Core.package/monticello.meta/categories.st delete mode 100644 repository/Grease-Squeak-Core.package/monticello.meta/initializers.st delete mode 100644 repository/Grease-Squeak-Core.package/monticello.meta/package delete mode 100644 repository/Grease-Squeak-Core.package/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/.filetree delete mode 100644 repository/Grease-Squeak5-Core.package/Behavior.extension/instance/fullName.st delete mode 100644 repository/Grease-Squeak5-Core.package/Behavior.extension/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/BlockClosure.extension/instance/valueWithPossibleArguments..st delete mode 100644 repository/Grease-Squeak5-Core.package/BlockClosure.extension/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/BlockContext.extension/instance/tempVarRefs.st delete mode 100644 repository/Grease-Squeak5-Core.package/BlockContext.extension/instance/valueWithPossibleArguments..st delete mode 100644 repository/Grease-Squeak5-Core.package/BlockContext.extension/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/ByteArray.extension/instance/greaseString.st delete mode 100644 repository/Grease-Squeak5-Core.package/ByteArray.extension/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/Character.extension/instance/greaseInteger.st delete mode 100644 repository/Grease-Squeak5-Core.package/Character.extension/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/Collection.extension/instance/any.st delete mode 100644 repository/Grease-Squeak5-Core.package/Collection.extension/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/Duration.extension/class/milliseconds..st delete mode 100644 repository/Grease-Squeak5-Core.package/Duration.extension/instance/asMilliseconds.st delete mode 100644 repository/Grease-Squeak5-Core.package/Duration.extension/instance/milliseconds.st delete mode 100644 repository/Grease-Squeak5-Core.package/Duration.extension/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRDelegatingStream.extension/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/GRDynamicVariable.class/README.md delete mode 100644 repository/Grease-Squeak5-Core.package/GRDynamicVariable.class/class/default.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRDynamicVariable.class/class/defaultValue.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRDynamicVariable.class/class/use.during..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRDynamicVariable.class/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/GRPackage.extension/class/greaseSqueak5Core.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPackage.extension/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/README.md delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/class/on.converter..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/instance/greaseNext.putAll.startingAt..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/instance/initializeOn.converter..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/instance/next..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/instance/next.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/instance/nextPut..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/instance/nextPutAll..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/README.md delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/class/basicForEncoding..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/class/codecs.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/class/supportedEncodingNames.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/class/supportsEncoding..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/instance/converter.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/instance/decoderFor..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/instance/encoderFor..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/instance/initializeWithName..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/instance/name.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/instance/url.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/README.md delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/class/basicForEncoding..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/class/codecs.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/class/supportedEncodingNames.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/class/supportsEncoding..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/instance/decode..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/instance/decoderFor..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/instance/encoderFor..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/instance/initializeWithName..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/instance/name.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoLatin1CodecStream.class/README.md delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoLatin1CodecStream.class/instance/next..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoLatin1CodecStream.class/instance/next.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoLatin1CodecStream.class/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/README.md delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/class/initialize.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/class/initializeUrlTable.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/class/initializeXmlTable.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/addToShutDownList..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/addToStartUpList..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArray.named..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayLiteral.named..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayWithCache.named..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/base64Decode..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/base64Encode..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/bindingOf..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/compile.into.classified..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/deprecationExceptionSet.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/directoriesIn..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/doSilently..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/fileExists..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/filesIn..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/isProcessTerminated..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/label.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/localNameOf..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/newRandom.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/newline.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/pathSeparator.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/readWriteByteStream.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/readWriteCharacterStream.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/removeFromShutDownList..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/removeFromStartUpList..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/removeSelector.from..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/secureHashFor..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/semaphoreClass.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/stackDepth.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/terminateProcess..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/thisContext.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/useByteArrayLiterals.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/weakDictionaryOfSize..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/writeCharacterStreamOn..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/README.md delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/class/initialize.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/class/nextInt..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/class/randomClass.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/class/randomFrom..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/class/startUp.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/class/unload.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/README.md delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/class/basicForEncoding..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/class/codecs.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/instance/decode..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/instance/invalidUtf8.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/instance/name.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/instance/url.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/README.md delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/class/initialize.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/crlf.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/encodeDefault..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/encodeFast..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/invalidUtf8.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/next..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/next.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/nextPut..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/nextPutAll..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/GRSmallDictionary.extension/instance/customizeExplorerContents.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRSmallDictionary.extension/instance/explorerContents.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRSmallDictionary.extension/instance/hasContentsInExplorer.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRSmallDictionary.extension/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/README.md delete mode 100644 repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/class/initialize.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/defaultDirectoryPathString.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/deleteFile..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/deleteFile.inFolder..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/directoriesIn..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/doSilently..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/ensureExistenceOfFolder..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/fileExists..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/fileNameFor..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/filesIn..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/integerAsByteArray..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/isDirectory..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/localNameOf..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/newTemporaryFile.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileNamed..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/pathSeparator.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/readFileStreamOn.do.binary..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/sizeOfFile..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/write.toFile.inFolder..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/writeFileStreamOn.do.binary..st delete mode 100644 repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/GRWorkingWriteStream.class/README.md delete mode 100644 repository/Grease-Squeak5-Core.package/GRWorkingWriteStream.class/instance/reset.st delete mode 100644 repository/Grease-Squeak5-Core.package/GRWorkingWriteStream.class/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/Interval.extension/instance/any.st delete mode 100644 repository/Grease-Squeak5-Core.package/Interval.extension/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/LargePositiveInteger.extension/instance/greaseByteAt..st delete mode 100644 repository/Grease-Squeak5-Core.package/LargePositiveInteger.extension/instance/greaseBytesCount.st delete mode 100644 repository/Grease-Squeak5-Core.package/LargePositiveInteger.extension/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/MessageSend.extension/instance/argumentCount.st delete mode 100644 repository/Grease-Squeak5-Core.package/MessageSend.extension/instance/valueWithPossibleArguments..st delete mode 100644 repository/Grease-Squeak5-Core.package/MessageSend.extension/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/Number.extension/instance/milliseconds.st delete mode 100644 repository/Grease-Squeak5-Core.package/Number.extension/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/Object.extension/instance/greaseString.st delete mode 100644 repository/Grease-Squeak5-Core.package/Object.extension/instance/sizeInMemory.st delete mode 100644 repository/Grease-Squeak5-Core.package/Object.extension/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/Point.extension/instance/greaseString.st delete mode 100644 repository/Grease-Squeak5-Core.package/Point.extension/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/PositionableStream.extension/instance/greaseUpToAll..st delete mode 100644 repository/Grease-Squeak5-Core.package/PositionableStream.extension/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/ScaledDecimal.extension/instance/encodeOn..st delete mode 100644 repository/Grease-Squeak5-Core.package/ScaledDecimal.extension/instance/greaseString.st delete mode 100644 repository/Grease-Squeak5-Core.package/ScaledDecimal.extension/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st delete mode 100644 repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st delete mode 100644 repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st delete mode 100644 repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st delete mode 100644 repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/instance/sorted.st delete mode 100644 repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/SmallInteger.extension/instance/greaseByteAt..st delete mode 100644 repository/Grease-Squeak5-Core.package/SmallInteger.extension/instance/greaseBytesCount.st delete mode 100644 repository/Grease-Squeak5-Core.package/SmallInteger.extension/instance/sizeInMemory.st delete mode 100644 repository/Grease-Squeak5-Core.package/SmallInteger.extension/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/SocketStream.extension/instance/greaseNext.putAll.startingAt..st delete mode 100644 repository/Grease-Squeak5-Core.package/SocketStream.extension/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/String.extension/instance/substrings..st delete mode 100644 repository/Grease-Squeak5-Core.package/String.extension/instance/trimBoth..st delete mode 100644 repository/Grease-Squeak5-Core.package/String.extension/instance/trimBoth.st delete mode 100644 repository/Grease-Squeak5-Core.package/String.extension/instance/trimLeft..st delete mode 100644 repository/Grease-Squeak5-Core.package/String.extension/instance/trimLeft.right..st delete mode 100644 repository/Grease-Squeak5-Core.package/String.extension/instance/trimLeft.st delete mode 100644 repository/Grease-Squeak5-Core.package/String.extension/instance/trimRight..st delete mode 100644 repository/Grease-Squeak5-Core.package/String.extension/instance/trimRight.st delete mode 100644 repository/Grease-Squeak5-Core.package/String.extension/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/Symbol.extension/instance/greaseAsMutator.st delete mode 100644 repository/Grease-Squeak5-Core.package/Symbol.extension/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/WriteStream.extension/instance/greaseNext.putAll.startingAt..st delete mode 100644 repository/Grease-Squeak5-Core.package/WriteStream.extension/properties.json delete mode 100644 repository/Grease-Squeak5-Core.package/monticello.meta/categories.st delete mode 100644 repository/Grease-Squeak5-Core.package/monticello.meta/initializers.st delete mode 100644 repository/Grease-Squeak5-Core.package/monticello.meta/package delete mode 100644 repository/Grease-Squeak5-Core.package/properties.json delete mode 100644 repository/Grease-Tests-Squeak-Core.package/.filetree delete mode 100644 repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/README.md delete mode 100644 repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testCompileIntoClassified.st delete mode 100644 repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testDeprecationExceptionSet.st delete mode 100644 repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testFullName.st delete mode 100644 repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testGreaseIntegerOnCharacter.st delete mode 100644 repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testMessageSendValueWithPossibleArguments.st delete mode 100644 repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testWriteToFileInFolderBinary.st delete mode 100644 repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testWriteToFileInFolderText.st delete mode 100644 repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/writeToFile..st delete mode 100644 repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/methodProperties.json delete mode 100644 repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/properties.json delete mode 100644 repository/Grease-Tests-Squeak-Core.package/monticello.meta/categories.st delete mode 100644 repository/Grease-Tests-Squeak-Core.package/monticello.meta/initializers.st delete mode 100644 repository/Grease-Tests-Squeak-Core.package/monticello.meta/package delete mode 100644 repository/Grease-Tests-Squeak-Core.package/monticello.meta/version delete mode 100644 repository/Grease-Tests-Squeak-Core.package/properties.json delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/.filetree delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPackage.extension/class/greaseTestsSqueak5Core.st delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPackage.extension/properties.json delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/README.md delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/instance/assert.next.startingAt.gives..st delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/instance/assertEncodingIgnoresLanguageTat..st delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/instance/stripLeadingCharFrom..st delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/instance/testAllCodesIncludesIso88591.st delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/instance/testGreaseNextPutAllStartingAt.st delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/instance/testLanguageTag.st delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/properties.json delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/README.md delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/instance/expectedFailures.st delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/instance/testAllColors.st delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/instance/testColorAsHtmlColor.st delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/instance/testFromSixDigit.st delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/instance/testFromStringName.st delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/instance/testFromStringSixDigit.st delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/instance/testFromStringThreeDigit.st delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/properties.json delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoGenericCodecTest.class/README.md delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoGenericCodecTest.class/instance/testNoAmbiguities.st delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoGenericCodecTest.class/properties.json delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/README.md delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/instance/testCompileIntoClassified.st delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/instance/testFullName.st delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/instance/testGreaseIntegerOnCharacter.st delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/instance/testMessageSendValueWithPossibleArguments.st delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/instance/testWriteToFileInFolderBinary.st delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/instance/testWriteToFileInFolderText.st delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/instance/writeToFile..st delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/properties.json delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPlatformTest.extension/instance/testScaledDecimalGreaseString.st delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPlatformTest.extension/instance/writeToFile.withFileNameDo..st delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPlatformTest.extension/properties.json delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPrinterTest.extension/instance/testScaledDecimalPrinter.st delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRPrinterTest.extension/properties.json delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRUtf8CodecTest.extension/instance/expectedFailures.st delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/GRUtf8CodecTest.extension/properties.json delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/monticello.meta/categories.st delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/monticello.meta/initializers.st delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/monticello.meta/package delete mode 100644 repository/Grease-Tests-Squeak5-Core.package/properties.json diff --git a/repository/Grease-Squeak-Core.package/.filetree b/repository/Grease-Squeak-Core.package/.filetree deleted file mode 100644 index 57a67973..00000000 --- a/repository/Grease-Squeak-Core.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/README.md b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/class/initialize.st b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/class/initialize.st deleted file mode 100644 index ae58f1b3..00000000 --- a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/class/initialize.st +++ /dev/null @@ -1,4 +0,0 @@ -class initialization -initialize - super initialize. - self select \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/defaultDirectoryPathString.st b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/defaultDirectoryPathString.st deleted file mode 100644 index 9121ad38..00000000 --- a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/defaultDirectoryPathString.st +++ /dev/null @@ -1,3 +0,0 @@ -file library -defaultDirectoryPathString - ^ FileDirectory default fullName \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/deleteFile.inFolder..st b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/deleteFile.inFolder..st deleted file mode 100644 index f2ba4102..00000000 --- a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/deleteFile.inFolder..st +++ /dev/null @@ -1,4 +0,0 @@ -file library -deleteFile: aFileName inFolder: aPathString - (FileDirectory on: aPathString) - deleteFileNamed: aFileName \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/directoriesIn..st b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/directoriesIn..st deleted file mode 100644 index be1b1351..00000000 --- a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/directoriesIn..st +++ /dev/null @@ -1,9 +0,0 @@ -file library -directoriesIn: aPathString - "Return a collection of absolute paths for all the files (no directories) in the directory given by aPathString - must not include file names that start with ." - | directory | - directory := FileDirectory default directoryNamed: aPathString. - ^ (directory directoryNames - reject: [ :each | each first = $. ]) - collect: [ :each | directory fullNameFor: each ] \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/doSilently..st b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/doSilently..st deleted file mode 100644 index d42119ee..00000000 --- a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/doSilently..st +++ /dev/null @@ -1,3 +0,0 @@ -private -doSilently: aBlock - ^SystemChangeNotifier uniqueInstance doSilently: aBlock \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/ensureExistenceOfFolder..st b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/ensureExistenceOfFolder..st deleted file mode 100644 index c918f1e9..00000000 --- a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/ensureExistenceOfFolder..st +++ /dev/null @@ -1,3 +0,0 @@ -file library -ensureExistenceOfFolder: aString - ^FileDirectory default assureExistenceOfPath: aString \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/fileExists..st b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/fileExists..st deleted file mode 100644 index e5d8ee83..00000000 --- a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/fileExists..st +++ /dev/null @@ -1,3 +0,0 @@ -file library -fileExists: aString - ^FileDirectory default fileExists: aString \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/fileNameFor..st b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/fileNameFor..st deleted file mode 100644 index 679781ba..00000000 --- a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/fileNameFor..st +++ /dev/null @@ -1,7 +0,0 @@ -file library -fileNameFor: aPathString - | path | - path := FileDirectory default fullPathFor: aPathString. - ^ (path size > 1 and: [ path endsWith: FileDirectory slash ]) - ifTrue: [ path allButLast: FileDirectory slash size ] - ifFalse: [ path ] \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/fileStreamOn.do.binary..st b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/fileStreamOn.do.binary..st deleted file mode 100644 index 2fd81137..00000000 --- a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/fileStreamOn.do.binary..st +++ /dev/null @@ -1,13 +0,0 @@ -file library -fileStreamOn: aString do: aBlock binary: aBoolean - ^ aBoolean - ifTrue: [ - FileStream fileNamed: aString do: [ :stream | - stream binary. - aBlock value: stream ] ] - ifFalse: [ - MultiByteFileStream fileNamed: aString do: [ :stream | - stream - ascii; - wantsLineEndConversion: true. - aBlock value: stream ] ] \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/filesIn..st b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/filesIn..st deleted file mode 100644 index 89667dbc..00000000 --- a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/filesIn..st +++ /dev/null @@ -1,9 +0,0 @@ -file library -filesIn: aPathString - "Return a collection of absolute paths for all the files (no directories) in the directory given by aPathString - must not include file names that start with ." - | directory | - directory := FileDirectory default directoryNamed: aPathString. - ^ (directory fileNames - reject: [ :each | each first = $. ]) - collect: [ :each | directory fullNameFor: each ] \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/integerAsByteArray..st b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/integerAsByteArray..st deleted file mode 100644 index 124003a4..00000000 --- a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/integerAsByteArray..st +++ /dev/null @@ -1,7 +0,0 @@ -encoding -integerAsByteArray: anInteger - | stream | - stream := ByteArray new writeStream. - anInteger greaseBytesCount to: 1 by: -1 do: [:digitIndex | - stream nextPut: (anInteger greaseByteAt: digitIndex)]. - ^ stream contents \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/isDirectory..st b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/isDirectory..st deleted file mode 100644 index 74d6fa61..00000000 --- a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/isDirectory..st +++ /dev/null @@ -1,3 +0,0 @@ -file library -isDirectory: aPathString - ^ (FileDirectory forFileName: aPathString) directoryEntry isDirectory \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/localNameOf..st b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/localNameOf..st deleted file mode 100644 index aea2f08c..00000000 --- a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/localNameOf..st +++ /dev/null @@ -1,3 +0,0 @@ -file library -localNameOf: aFilename - ^FileDirectory localNameFor: aFilename \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileReference.st b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileReference.st deleted file mode 100644 index ec935dad..00000000 --- a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileReference.st +++ /dev/null @@ -1,8 +0,0 @@ -file library -newTemporaryFileReference - "Create a new temporary file in the systems temp directory - and answer a reference to it. - It is the users responsibility to delete or move the file, - it will not be cleaned up automatically (unless the host system - has a policy for it)." - ^ FileDirectory default / UUID new asString \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/pathSeparator.st b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/pathSeparator.st deleted file mode 100644 index b9a34e3d..00000000 --- a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/pathSeparator.st +++ /dev/null @@ -1,3 +0,0 @@ -file library -pathSeparator - ^ FileDirectory pathNameDelimiter asString \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/sizeOfFile..st b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/sizeOfFile..st deleted file mode 100644 index 2beda3e4..00000000 --- a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/sizeOfFile..st +++ /dev/null @@ -1,4 +0,0 @@ -files -sizeOfFile: aString - - ^ aString asDirectoryEntry fileSize \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/write.toFile.inFolder..st b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/write.toFile.inFolder..st deleted file mode 100644 index 08d697b5..00000000 --- a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/write.toFile.inFolder..st +++ /dev/null @@ -1,15 +0,0 @@ -file library -write: aStringOrByteArray toFile: aFileNameString inFolder: aFolderString - "writes aStringOrByteArray to a file named aFilenameString in the folder aFolderString" - | folder stream fullFilePath | - folder := FileDirectory default directoryNamed: aFolderString. - fullFilePath := folder fullNameFor: aFileNameString. - stream := aStringOrByteArray isString - ifTrue: [ - (MultiByteFileStream forceNewFileNamed: fullFilePath) - ascii; - wantsLineEndConversion: true; - yourself ] - ifFalse: [ (FileStream forceNewFileNamed: fullFilePath) binary ]. - [ stream nextPutAll: aStringOrByteArray ] - ensure: [ stream close ] \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/properties.json b/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/properties.json deleted file mode 100644 index 5f39af5c..00000000 --- a/repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRPharoPlatform", - "category" : "Grease-Squeak-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRSqueakPlatform", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/LargeInteger.extension/instance/greaseByteAt..st b/repository/Grease-Squeak-Core.package/LargeInteger.extension/instance/greaseByteAt..st deleted file mode 100644 index 8f7cab92..00000000 --- a/repository/Grease-Squeak-Core.package/LargeInteger.extension/instance/greaseByteAt..st +++ /dev/null @@ -1,8 +0,0 @@ -*Grease-Squeak-Core -greaseByteAt: index - "Primitive. Answer the value of an indexable field in the receiver. LargePositiveInteger uses bytes of base two number, and each is a 'digit' base 256. Fail if the argument (the index) is not an Integer or is out of bounds. Essential. See Object documentation whatIsAPrimitive." - - - self greaseBytesCount < index - ifTrue: [^0] - ifFalse: [^super at: index] \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/LargeInteger.extension/instance/greaseBytesCount.st b/repository/Grease-Squeak-Core.package/LargeInteger.extension/instance/greaseBytesCount.st deleted file mode 100644 index fef20052..00000000 --- a/repository/Grease-Squeak-Core.package/LargeInteger.extension/instance/greaseBytesCount.st +++ /dev/null @@ -1,8 +0,0 @@ -*Grease-Squeak-Core -greaseBytesCount - "Primitive. Answer the number of indexable fields in the receiver. This - value is the same as the largest legal subscript. Essential. See Object - documentation whatIsAPrimitive." - - - self primitiveFailed \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/LargeInteger.extension/properties.json b/repository/Grease-Squeak-Core.package/LargeInteger.extension/properties.json deleted file mode 100644 index 029bc676..00000000 --- a/repository/Grease-Squeak-Core.package/LargeInteger.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "LargeInteger" -} \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/README.md b/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/README.md deleted file mode 100644 index 69df3dee..00000000 --- a/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/README.md +++ /dev/null @@ -1 +0,0 @@ -Please describe the package using the class comment of the included manifest class. The manifest class also includes other additional metadata for the package. These meta data are used by other tools such as the SmalllintManifestChecker and the critics Browser \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/class/ruleLiteralArrayContainsSuspiciousTrueFalseOrNilRuleV1FalsePositive.st b/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/class/ruleLiteralArrayContainsSuspiciousTrueFalseOrNilRuleV1FalsePositive.st deleted file mode 100644 index 30d0c795..00000000 --- a/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/class/ruleLiteralArrayContainsSuspiciousTrueFalseOrNilRuleV1FalsePositive.st +++ /dev/null @@ -1,3 +0,0 @@ -code-critics -ruleLiteralArrayContainsSuspiciousTrueFalseOrNilRuleV1FalsePositive - ^ #(#(#(#RGMetaclassDefinition #(#'ManifestGreaseSqueakCore class' #ManifestGreaseSqueakCore)) #'2023-10-29T14:22:04.342701+01:00') ) \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/class/ruleSendsDifferentSuperRuleV1FalsePositive.st b/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/class/ruleSendsDifferentSuperRuleV1FalsePositive.st deleted file mode 100644 index 590a0f54..00000000 --- a/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/class/ruleSendsDifferentSuperRuleV1FalsePositive.st +++ /dev/null @@ -1,3 +0,0 @@ -code-critics -ruleSendsDifferentSuperRuleV1FalsePositive - ^ #(#(#(#RGMethodDefinition #(#LargeInteger #greaseByteAt: #false)) #'2023-10-29T14:21:20.47823+01:00') ) \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/class/ruleSuperSendsRuleV1FalsePositive.st b/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/class/ruleSuperSendsRuleV1FalsePositive.st deleted file mode 100644 index fc987551..00000000 --- a/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/class/ruleSuperSendsRuleV1FalsePositive.st +++ /dev/null @@ -1,3 +0,0 @@ -code-critics -ruleSuperSendsRuleV1FalsePositive - ^ #(#(#(#RGMethodDefinition #(#LargeInteger #greaseByteAt: #false)) #'2023-10-29T14:20:58.840268+01:00') ) \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/properties.json b/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/properties.json deleted file mode 100644 index 4ca4e732..00000000 --- a/repository/Grease-Squeak-Core.package/ManifestGreaseSqueakCore.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "PackageManifest", - "category" : "Grease-Squeak-Core-Manifest", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "ManifestGreaseSqueakCore", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/Object.extension/instance/sizeInMemory.st b/repository/Grease-Squeak-Core.package/Object.extension/instance/sizeInMemory.st deleted file mode 100644 index aa28fb3b..00000000 --- a/repository/Grease-Squeak-Core.package/Object.extension/instance/sizeInMemory.st +++ /dev/null @@ -1,23 +0,0 @@ -*grease-squeak-core -sizeInMemory - "Answer the number of bytes consumed by this instance including object header." - | contentBytes | - - contentBytes := Smalltalk wordSize. "base header" - contentBytes := contentBytes + (self class instSize * Smalltalk wordSize). "instance vars" - - self class isVariable ifTrue:[ | bytesPerElement | "indexed elements" - bytesPerElement := self class isBytes ifTrue: [1] ifFalse: [4]. - contentBytes := (contentBytes + (self basicSize * bytesPerElement)). - "If we are not filling an ammount of bytes multiple of the wordSize, we do it" - (contentBytes \\ Smalltalk wordSize) = 0 ifFalse: [ - | extraBytesToFillAWord | - extraBytesToFillAWord := Smalltalk wordSize - (contentBytes \\ Smalltalk wordSize). - contentBytes := contentBytes + extraBytesToFillAWord. - ] - ]. - - contentBytes > 255 ifTrue: [ contentBytes := contentBytes + (2 * Smalltalk wordSize) ] - ifFalse: [ contentBytes := contentBytes + Smalltalk wordSize - ]. - ^contentBytes \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/Object.extension/properties.json b/repository/Grease-Squeak-Core.package/Object.extension/properties.json deleted file mode 100644 index f30a86e1..00000000 --- a/repository/Grease-Squeak-Core.package/Object.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "Object" -} \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/SmallInteger.extension/instance/greaseByteAt..st b/repository/Grease-Squeak-Core.package/SmallInteger.extension/instance/greaseByteAt..st deleted file mode 100644 index 6052de43..00000000 --- a/repository/Grease-Squeak-Core.package/SmallInteger.extension/instance/greaseByteAt..st +++ /dev/null @@ -1,14 +0,0 @@ -*Grease-Squeak-Core -greaseByteAt: n - "Answer the value of an apparent byte-indexable field in the receiver, - analogous to the large integers, which are organized as bytes." - - n = 1 - ifTrue: [ - "Negate carefully in case the receiver is SmallInteger minVal" - ^ self < 0 - ifTrue: [ -256 - self bitAnd: 255 ] - ifFalse: [ self bitAnd: 255 ] ]. - ^ self < 0 - ifTrue: [ (-256 - self bitShift: -8) + 1 byteAt: n - 1 ] - ifFalse: [ (self bitShift: 8 - (n bitShift: 3)) bitAnd: 255 ] \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/SmallInteger.extension/instance/greaseBytesCount.st b/repository/Grease-Squeak-Core.package/SmallInteger.extension/instance/greaseBytesCount.st deleted file mode 100644 index 4f61b909..00000000 --- a/repository/Grease-Squeak-Core.package/SmallInteger.extension/instance/greaseBytesCount.st +++ /dev/null @@ -1,25 +0,0 @@ -*Grease-Squeak-Core -greaseBytesCount - "Answer the number of indexable fields in the receiver. This value is the - same as the largest legal subscript. Included so that a SmallInteger can - behave like a LargePositiveInteger or LargeNegativeInteger." - - "32768 == (1 bitShift: 15)" - "32768 bytesCount >>> 2" - - "65536 == (1 bitShift: 16)" - "65536 bytesCount >>> 3" - - | value length | - length := 1. - value := self. - value >= 0 - ifTrue: - [[value > 255] whileTrue: - [value := value bitShift: -8. - length := length + 1]] - ifFalse: - [[value < -255] whileTrue: - [value := value bitShift: -8. - length := length + 1]]. - ^length \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/SmallInteger.extension/instance/sizeInMemory.st b/repository/Grease-Squeak-Core.package/SmallInteger.extension/instance/sizeInMemory.st deleted file mode 100644 index 27560ae1..00000000 --- a/repository/Grease-Squeak-Core.package/SmallInteger.extension/instance/sizeInMemory.st +++ /dev/null @@ -1,4 +0,0 @@ -*grease-squeak-core -sizeInMemory - "SmallInteger occupy 0 bytes since the only space occupied by a SmallInteger is the space of the slot containing it. There is no SmallInteger object beyond the slot. From another POV, it could be 4, the size of the slot. But we don't count the size of the slots, they are already counted in the containing object, that's why it should answer 0." - ^0. \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/SmallInteger.extension/properties.json b/repository/Grease-Squeak-Core.package/SmallInteger.extension/properties.json deleted file mode 100644 index ca9cd21f..00000000 --- a/repository/Grease-Squeak-Core.package/SmallInteger.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "SmallInteger" -} \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/monticello.meta/categories.st b/repository/Grease-Squeak-Core.package/monticello.meta/categories.st deleted file mode 100644 index bc6c762f..00000000 --- a/repository/Grease-Squeak-Core.package/monticello.meta/categories.st +++ /dev/null @@ -1,2 +0,0 @@ -SystemOrganization addCategory: #'Grease-Squeak-Core'! -SystemOrganization addCategory: #'Grease-Squeak-Core-Manifest'! diff --git a/repository/Grease-Squeak-Core.package/monticello.meta/initializers.st b/repository/Grease-Squeak-Core.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Squeak-Core.package/monticello.meta/package b/repository/Grease-Squeak-Core.package/monticello.meta/package deleted file mode 100644 index 23103bd1..00000000 --- a/repository/Grease-Squeak-Core.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'Grease-Squeak-Core') \ No newline at end of file diff --git a/repository/Grease-Squeak-Core.package/properties.json b/repository/Grease-Squeak-Core.package/properties.json deleted file mode 100644 index 6f31cf5a..00000000 --- a/repository/Grease-Squeak-Core.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/.filetree b/repository/Grease-Squeak5-Core.package/.filetree deleted file mode 100644 index 57a67973..00000000 --- a/repository/Grease-Squeak5-Core.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Behavior.extension/instance/fullName.st b/repository/Grease-Squeak5-Core.package/Behavior.extension/instance/fullName.st deleted file mode 100644 index d002f57c..00000000 --- a/repository/Grease-Squeak5-Core.package/Behavior.extension/instance/fullName.st +++ /dev/null @@ -1,5 +0,0 @@ -*grease-squeak5-core -fullName - "In VW, will include the namespace" - - ^ self name \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Behavior.extension/properties.json b/repository/Grease-Squeak5-Core.package/Behavior.extension/properties.json deleted file mode 100644 index c4116c4c..00000000 --- a/repository/Grease-Squeak5-Core.package/Behavior.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "Behavior" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/BlockClosure.extension/instance/valueWithPossibleArguments..st b/repository/Grease-Squeak5-Core.package/BlockClosure.extension/instance/valueWithPossibleArguments..st deleted file mode 100644 index a4e95b08..00000000 --- a/repository/Grease-Squeak5-Core.package/BlockClosure.extension/instance/valueWithPossibleArguments..st +++ /dev/null @@ -1,11 +0,0 @@ -*grease-squeak5-core -valueWithPossibleArguments: anArray - | args | - (anArray size == self numArgs) - ifTrue: [ ^ self valueWithArguments: anArray ]. - args := Array new: self numArgs. - args replaceFrom: 1 - to: (anArray size min: args size) - with: anArray - startingAt: 1. - ^ self valueWithArguments: args \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/BlockClosure.extension/properties.json b/repository/Grease-Squeak5-Core.package/BlockClosure.extension/properties.json deleted file mode 100644 index 2190e5e2..00000000 --- a/repository/Grease-Squeak5-Core.package/BlockClosure.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "BlockClosure" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/BlockContext.extension/instance/tempVarRefs.st b/repository/Grease-Squeak5-Core.package/BlockContext.extension/instance/tempVarRefs.st deleted file mode 100644 index b0652449..00000000 --- a/repository/Grease-Squeak5-Core.package/BlockContext.extension/instance/tempVarRefs.st +++ /dev/null @@ -1,16 +0,0 @@ -*grease-squeak5-core -tempVarRefs - | method scanner end tempVars byte type offset | - home ifNil: [ ^ false ]. - tempVars := Set new. - method := self method. - "Determine end of block from long jump preceding it" - end := (method at: startpc - 2) \\ 16 - 4 * 256 + (method at: startpc - 1) + startpc - 1. - scanner := InstructionStream new method: method pc: startpc. - [ scanner pc <= end ] whileTrue: [ - byte := scanner nextByte. - type := byte // 16. - offset := byte \\ 16. - type = 1 ifTrue: [ tempVars add: offset + 1 ]. - scanner nextInstruction ]. - ^ tempVars \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/BlockContext.extension/instance/valueWithPossibleArguments..st b/repository/Grease-Squeak5-Core.package/BlockContext.extension/instance/valueWithPossibleArguments..st deleted file mode 100644 index 6dd47063..00000000 --- a/repository/Grease-Squeak5-Core.package/BlockContext.extension/instance/valueWithPossibleArguments..st +++ /dev/null @@ -1,3 +0,0 @@ -*grease-squeak5-core -valueWithPossibleArguments: anArray - ^ self valueWithEnoughArguments: anArray \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/BlockContext.extension/properties.json b/repository/Grease-Squeak5-Core.package/BlockContext.extension/properties.json deleted file mode 100644 index fab3588c..00000000 --- a/repository/Grease-Squeak5-Core.package/BlockContext.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "BlockContext" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/ByteArray.extension/instance/greaseString.st b/repository/Grease-Squeak5-Core.package/ByteArray.extension/instance/greaseString.st deleted file mode 100644 index b434c0b4..00000000 --- a/repository/Grease-Squeak5-Core.package/ByteArray.extension/instance/greaseString.st +++ /dev/null @@ -1,4 +0,0 @@ -*grease-squeak5-core -greaseString - "ByteArrays should not automatically be converted to Strings. You should use a GRCodec for this." - ^ self printString \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/ByteArray.extension/properties.json b/repository/Grease-Squeak5-Core.package/ByteArray.extension/properties.json deleted file mode 100644 index f81bcb8d..00000000 --- a/repository/Grease-Squeak5-Core.package/ByteArray.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "ByteArray" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Character.extension/instance/greaseInteger.st b/repository/Grease-Squeak5-Core.package/Character.extension/instance/greaseInteger.st deleted file mode 100644 index 8644d7f2..00000000 --- a/repository/Grease-Squeak5-Core.package/Character.extension/instance/greaseInteger.st +++ /dev/null @@ -1,4 +0,0 @@ -*grease-squeak5-core -greaseInteger - "Answer an unicode code point of the receiver." - ^ self charCode \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Character.extension/properties.json b/repository/Grease-Squeak5-Core.package/Character.extension/properties.json deleted file mode 100644 index 5219281d..00000000 --- a/repository/Grease-Squeak5-Core.package/Character.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "Character" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Collection.extension/instance/any.st b/repository/Grease-Squeak5-Core.package/Collection.extension/instance/any.st deleted file mode 100644 index 8346cef3..00000000 --- a/repository/Grease-Squeak5-Core.package/Collection.extension/instance/any.st +++ /dev/null @@ -1,3 +0,0 @@ -*grease-squeak5-core -any - ^ self anyOne \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Collection.extension/properties.json b/repository/Grease-Squeak5-Core.package/Collection.extension/properties.json deleted file mode 100644 index 48f9f8d9..00000000 --- a/repository/Grease-Squeak5-Core.package/Collection.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "Collection" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Duration.extension/class/milliseconds..st b/repository/Grease-Squeak5-Core.package/Duration.extension/class/milliseconds..st deleted file mode 100644 index d39d06d1..00000000 --- a/repository/Grease-Squeak5-Core.package/Duration.extension/class/milliseconds..st +++ /dev/null @@ -1,3 +0,0 @@ -*grease-squeak5-core -milliseconds: anInteger - ^ self milliSeconds: anInteger \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Duration.extension/instance/asMilliseconds.st b/repository/Grease-Squeak5-Core.package/Duration.extension/instance/asMilliseconds.st deleted file mode 100644 index 12603071..00000000 --- a/repository/Grease-Squeak5-Core.package/Duration.extension/instance/asMilliseconds.st +++ /dev/null @@ -1,3 +0,0 @@ -*grease-squeak5-core -asMilliseconds - ^ self asMilliSeconds \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Duration.extension/instance/milliseconds.st b/repository/Grease-Squeak5-Core.package/Duration.extension/instance/milliseconds.st deleted file mode 100644 index cb0d9b06..00000000 --- a/repository/Grease-Squeak5-Core.package/Duration.extension/instance/milliseconds.st +++ /dev/null @@ -1,3 +0,0 @@ -*grease-squeak5-core -milliseconds - ^ nanos quo: NanosInMillisecond \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Duration.extension/properties.json b/repository/Grease-Squeak5-Core.package/Duration.extension/properties.json deleted file mode 100644 index d141a092..00000000 --- a/repository/Grease-Squeak5-Core.package/Duration.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "Duration" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Squeak5-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st deleted file mode 100644 index 3458fa4c..00000000 --- a/repository/Grease-Squeak5-Core.package/GRDelegatingStream.extension/instance/greaseNext.putAll.startingAt..st +++ /dev/null @@ -1,3 +0,0 @@ -*grease-squeak5-core -greaseNext: anInteger putAll: aCollection startingAt: startIndex - stream greaseNext: anInteger putAll: aCollection startingAt: startIndex \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRDelegatingStream.extension/properties.json b/repository/Grease-Squeak5-Core.package/GRDelegatingStream.extension/properties.json deleted file mode 100644 index 5ec29ea0..00000000 --- a/repository/Grease-Squeak5-Core.package/GRDelegatingStream.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "GRDelegatingStream" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRDynamicVariable.class/README.md b/repository/Grease-Squeak5-Core.package/GRDynamicVariable.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Squeak5-Core.package/GRDynamicVariable.class/class/default.st b/repository/Grease-Squeak5-Core.package/GRDynamicVariable.class/class/default.st deleted file mode 100644 index 28508572..00000000 --- a/repository/Grease-Squeak5-Core.package/GRDynamicVariable.class/class/default.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -default - ^ self defaultValue \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRDynamicVariable.class/class/defaultValue.st b/repository/Grease-Squeak5-Core.package/GRDynamicVariable.class/class/defaultValue.st deleted file mode 100644 index b0275614..00000000 --- a/repository/Grease-Squeak5-Core.package/GRDynamicVariable.class/class/defaultValue.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -defaultValue - ^ nil \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRDynamicVariable.class/class/use.during..st b/repository/Grease-Squeak5-Core.package/GRDynamicVariable.class/class/use.during..st deleted file mode 100644 index 1e03f82f..00000000 --- a/repository/Grease-Squeak5-Core.package/GRDynamicVariable.class/class/use.during..st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -use: anObject during: aBlock - ^ self - value: anObject - during: aBlock \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRDynamicVariable.class/properties.json b/repository/Grease-Squeak5-Core.package/GRDynamicVariable.class/properties.json deleted file mode 100644 index 1bebf7ef..00000000 --- a/repository/Grease-Squeak5-Core.package/GRDynamicVariable.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "DynamicVariable", - "category" : "Grease-Squeak5-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRDynamicVariable", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPackage.extension/class/greaseSqueak5Core.st b/repository/Grease-Squeak5-Core.package/GRPackage.extension/class/greaseSqueak5Core.st deleted file mode 100644 index 7df1921f..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPackage.extension/class/greaseSqueak5Core.st +++ /dev/null @@ -1,7 +0,0 @@ -*grease-squeak5-core -greaseSqueak5Core - ^ self new - name: 'Grease-Squeak5-Core'; - addDependency: 'Grease-Core'; - url: #greaseUrl; - yourself \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPackage.extension/properties.json b/repository/Grease-Squeak5-Core.package/GRPackage.extension/properties.json deleted file mode 100644 index ae522a7e..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPackage.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "GRPackage" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/README.md b/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/README.md deleted file mode 100644 index f25fd5b5..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/README.md +++ /dev/null @@ -1,7 +0,0 @@ -A GRPharoConverterCodecStream is a WACodec stream around a TextConverter. It is always in text mode. - -Instance Variables - converter: - -converter - - the TextConverter used to do the encoding conversion diff --git a/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/class/on.converter..st b/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/class/on.converter..st deleted file mode 100644 index de8cd791..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/class/on.converter..st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -on: aStream converter: aConverter - ^ self basicNew initializeOn: aStream converter: aConverter \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/instance/greaseNext.putAll.startingAt..st deleted file mode 100644 index 8321e299..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/instance/greaseNext.putAll.startingAt..st +++ /dev/null @@ -1,3 +0,0 @@ -streaming -greaseNext: anInteger putAll: aCollection startingAt: startIndex - self nextPutAll: (aCollection copyFrom: startIndex to: startIndex + anInteger - 1) \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/instance/initializeOn.converter..st b/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/instance/initializeOn.converter..st deleted file mode 100644 index c380485d..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/instance/initializeOn.converter..st +++ /dev/null @@ -1,4 +0,0 @@ -initialization -initializeOn: aStream converter: aConverter - self initializeOn: aStream. - converter := aConverter \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/instance/next..st b/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/instance/next..st deleted file mode 100644 index ef51837b..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/instance/next..st +++ /dev/null @@ -1,8 +0,0 @@ -streaming -next: anInteger - | writeStream | - writeStream := WriteStream on: (String new: anInteger). - anInteger timesRepeat: [ - writeStream nextPut: (self next - ifNil: [ ^ writeStream contents ]) ]. - ^ writeStream contents \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/instance/next.st b/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/instance/next.st deleted file mode 100644 index eee99a1a..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/instance/next.st +++ /dev/null @@ -1,6 +0,0 @@ -streaming -next - | character | - character := converter nextFromStream: stream. - ^ character isNil - ifFalse: [ character asCharacter ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/instance/nextPut..st b/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/instance/nextPut..st deleted file mode 100644 index e65f56c4..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/instance/nextPut..st +++ /dev/null @@ -1,3 +0,0 @@ -streaming -nextPut: aCharacter - converter nextPut: aCharacter asCharacter toStream: stream \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/instance/nextPutAll..st b/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/instance/nextPutAll..st deleted file mode 100644 index a30c4507..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/instance/nextPutAll..st +++ /dev/null @@ -1,3 +0,0 @@ -streaming -nextPutAll: aString - aString asString do: [ :each | self nextPut: each ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/properties.json b/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/properties.json deleted file mode 100644 index 6f58ab43..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoConverterCodecStream.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "pmm 9/14/2013 15:53", - "super" : "GRCodecStream", - "category" : "Grease-Squeak5-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "converter" - ], - "name" : "GRPharoConverterCodecStream", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/README.md b/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/class/basicForEncoding..st b/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/class/basicForEncoding..st deleted file mode 100644 index f6b18bd4..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/class/basicForEncoding..st +++ /dev/null @@ -1,5 +0,0 @@ -private -basicForEncoding: aString - (self supportsEncoding: aString) - ifFalse: [ self unsupportedEncoding: aString ]. - ^ self basicNew initializeWithName: aString \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/class/codecs.st b/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/class/codecs.st deleted file mode 100644 index 1ed0b26a..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/class/codecs.st +++ /dev/null @@ -1,8 +0,0 @@ -accessing -codecs - ^ (TextConverter allEncodingNames - select: [ :each | - "exclude UFT-8 which is handled by WAUtf8Codec" - self supportsEncoding: each ]) - collect: [ :each | - self basicForEncoding: each greaseString ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/class/supportedEncodingNames.st b/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/class/supportedEncodingNames.st deleted file mode 100644 index d1c6d00b..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/class/supportedEncodingNames.st +++ /dev/null @@ -1,8 +0,0 @@ -private -supportedEncodingNames - "answers the names of the encodings supported by this class" - - ^ (TextConverter allSubclasses gather: [ :class | class encodingNames ]) asSet asOrderedCollection - removeAllFoundIn: GRPharoLatin1Codec supportedEncodingNames; - removeAllFoundIn: UTF8TextConverter encodingNames; - yourself \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/class/supportsEncoding..st b/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/class/supportsEncoding..st deleted file mode 100644 index 43a27325..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/class/supportsEncoding..st +++ /dev/null @@ -1,4 +0,0 @@ -testing -supportsEncoding: aString - "Answer whether the the given encoding name is supported." - ^ self supportedEncodingNames includes: aString \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/instance/converter.st b/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/instance/converter.st deleted file mode 100644 index 02b8754b..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/instance/converter.st +++ /dev/null @@ -1,3 +0,0 @@ -private -converter - ^ TextConverter newForEncoding: self name \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/instance/decoderFor..st b/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/instance/decoderFor..st deleted file mode 100644 index be53dfea..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/instance/decoderFor..st +++ /dev/null @@ -1,3 +0,0 @@ -conversion -decoderFor: aStream - ^ self encoderFor: aStream \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/instance/encoderFor..st b/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/instance/encoderFor..st deleted file mode 100644 index 94f2fc13..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/instance/encoderFor..st +++ /dev/null @@ -1,5 +0,0 @@ -conversion -encoderFor: aStream - ^ GRPharoConverterCodecStream - on: aStream - converter: self converter \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/instance/initializeWithName..st b/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/instance/initializeWithName..st deleted file mode 100644 index fe95783c..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/instance/initializeWithName..st +++ /dev/null @@ -1,7 +0,0 @@ -initialization -initializeWithName: aString - self initialize. - name := aString. - urlCodec := (#('iso-8859-15' 'cp-1252') includes: aString) - ifFalse: [ GRCodec forEncoding: 'utf-8' ] - ifTrue: [ self ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/instance/name.st b/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/instance/name.st deleted file mode 100644 index 22077c20..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ name \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/instance/url.st b/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/instance/url.st deleted file mode 100644 index 232ad239..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/instance/url.st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -url - "RFC 3986: When a new URI scheme defines a component that represents textual data consisting of characters from the Universal Character Set [UCS], the data should first be encoded as octets according to the UTF-8 character encoding." - - ^ urlCodec \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/properties.json b/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/properties.json deleted file mode 100644 index d11ecb62..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoGenericCodec.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRCodec", - "category" : "Grease-Squeak5-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "name", - "urlCodec" - ], - "name" : "GRPharoGenericCodec", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/README.md b/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/README.md deleted file mode 100644 index 3f437d62..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/README.md +++ /dev/null @@ -1 +0,0 @@ -A GRPharoLatin1Codec is a WACodec optimized for ISO-8859-1 (direct byte to character mapping). \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/class/basicForEncoding..st b/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/class/basicForEncoding..st deleted file mode 100644 index f6b18bd4..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/class/basicForEncoding..st +++ /dev/null @@ -1,5 +0,0 @@ -private -basicForEncoding: aString - (self supportsEncoding: aString) - ifFalse: [ self unsupportedEncoding: aString ]. - ^ self basicNew initializeWithName: aString \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/class/codecs.st b/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/class/codecs.st deleted file mode 100644 index 7a96b703..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/class/codecs.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -codecs - ^ Array with: (self basicForEncoding: 'iso-8859-1') \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/class/supportedEncodingNames.st b/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/class/supportedEncodingNames.st deleted file mode 100644 index e5dca068..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/class/supportedEncodingNames.st +++ /dev/null @@ -1,3 +0,0 @@ -private -supportedEncodingNames - ^ #('iso-8859-1' 'ISO-8859-1' 'latin-1' 'latin1') \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/class/supportsEncoding..st b/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/class/supportsEncoding..st deleted file mode 100644 index 43a27325..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/class/supportsEncoding..st +++ /dev/null @@ -1,4 +0,0 @@ -testing -supportsEncoding: aString - "Answer whether the the given encoding name is supported." - ^ self supportedEncodingNames includes: aString \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/instance/decode..st b/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/instance/decode..st deleted file mode 100644 index 74b1f7bd..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/instance/decode..st +++ /dev/null @@ -1,5 +0,0 @@ -conversion -decode: aStringOrByteArray - "Overridden for efficiency." - - ^ aStringOrByteArray asString \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/instance/decoderFor..st b/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/instance/decoderFor..st deleted file mode 100644 index 256dbac4..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/instance/decoderFor..st +++ /dev/null @@ -1,4 +0,0 @@ -conversion -decoderFor: aReadStream - "wrap to avoid String vs ByteArray issues" - ^ GRPharoLatin1CodecStream on: aReadStream \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/instance/encoderFor..st b/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/instance/encoderFor..st deleted file mode 100644 index 20102849..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/instance/encoderFor..st +++ /dev/null @@ -1,4 +0,0 @@ -conversion -encoderFor: aWriteStream - "wrap to avoid String vs ByteArray issues" - ^ GRPharoLatin1CodecStream on: aWriteStream \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/instance/initializeWithName..st b/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/instance/initializeWithName..st deleted file mode 100644 index b0256973..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/instance/initializeWithName..st +++ /dev/null @@ -1,4 +0,0 @@ -initialization -initializeWithName: aString - self initialize. - name := aString \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/instance/name.st b/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/instance/name.st deleted file mode 100644 index 22077c20..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ name \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/properties.json b/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/properties.json deleted file mode 100644 index 33ac00e1..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoLatin1Codec.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRNullCodec", - "category" : "Grease-Squeak5-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "name" - ], - "name" : "GRPharoLatin1Codec", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoLatin1CodecStream.class/README.md b/repository/Grease-Squeak5-Core.package/GRPharoLatin1CodecStream.class/README.md deleted file mode 100644 index e1c2471b..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoLatin1CodecStream.class/README.md +++ /dev/null @@ -1 +0,0 @@ -A GRPharoLatin1CodecStream is a WACodecStream optimized for ISO-8859-1 (direct byte to character mapping). \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoLatin1CodecStream.class/instance/next..st b/repository/Grease-Squeak5-Core.package/GRPharoLatin1CodecStream.class/instance/next..st deleted file mode 100644 index a734bc76..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoLatin1CodecStream.class/instance/next..st +++ /dev/null @@ -1,3 +0,0 @@ -streaming -next: anInteger - ^ (stream next: anInteger) asString \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoLatin1CodecStream.class/instance/next.st b/repository/Grease-Squeak5-Core.package/GRPharoLatin1CodecStream.class/instance/next.st deleted file mode 100644 index 766a570d..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoLatin1CodecStream.class/instance/next.st +++ /dev/null @@ -1,3 +0,0 @@ -streaming -next - ^ Character codePoint: stream next \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoLatin1CodecStream.class/properties.json b/repository/Grease-Squeak5-Core.package/GRPharoLatin1CodecStream.class/properties.json deleted file mode 100644 index 812a948d..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoLatin1CodecStream.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRNullCodecStream", - "category" : "Grease-Squeak5-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRPharoLatin1CodecStream", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/README.md b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/README.md deleted file mode 100644 index e71bb46d..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/README.md +++ /dev/null @@ -1 +0,0 @@ -A GRPharoPlatform is the Pharo implementation of GRPlatform, the Grease class that provides functionality that can not be implemented in a platform independent way. diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/class/initialize.st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/class/initialize.st deleted file mode 100644 index 69106234..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/class/initialize.st +++ /dev/null @@ -1,4 +0,0 @@ -class initialization -initialize - self initializeXmlTable. - self initializeUrlTable \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/class/initializeUrlTable.st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/class/initializeUrlTable.st deleted file mode 100644 index 9abf56b7..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/class/initializeUrlTable.st +++ /dev/null @@ -1,7 +0,0 @@ -class initialization -initializeUrlTable - UrlTable := ByteArray new: 256. - 1 to: 256 do: [ :index | - ('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.~' includes: (Character codePoint: index - 1)) - ifTrue: [ UrlTable at: index put: 0 ] - ifFalse: [ UrlTable at: index put: 1 ] ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/class/initializeXmlTable.st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/class/initializeXmlTable.st deleted file mode 100644 index 830a5595..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/class/initializeXmlTable.st +++ /dev/null @@ -1,7 +0,0 @@ -class initialization -initializeXmlTable - XmlTable := ByteArray new: 256. - 1 to: 256 do: [ :index | - ('"<&>' includes: (Character codePoint: index - 1)) - ifTrue: [ XmlTable at: index put: 1 ] - ifFalse: [ XmlTable at: index put: 0 ] ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/addToShutDownList..st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/addToShutDownList..st deleted file mode 100644 index f8d3ad5f..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/addToShutDownList..st +++ /dev/null @@ -1,5 +0,0 @@ -startup -addToShutDownList: anObject - "Add anObject to the shutdown-list of the system. On shutdown the message #shutDown will be sent to anObject." - - Smalltalk addToShutDownList: anObject \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/addToStartUpList..st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/addToStartUpList..st deleted file mode 100644 index ecbbe65e..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/addToStartUpList..st +++ /dev/null @@ -1,5 +0,0 @@ -startup -addToStartUpList: anObject - "Add anObject to the startup-list of the system. On startup the message #startUp will be sent to anObject." - - Smalltalk addToStartUpList: anObject \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArray.named..st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArray.named..st deleted file mode 100644 index ba4a0727..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArray.named..st +++ /dev/null @@ -1,6 +0,0 @@ -file library -asMethodReturningByteArray: aByteArrayOrString named: aSymbol - "Generates the source of a method named aSymbol that returns aByteArrayOrString as a ByteArray" - ^ self useByteArrayLiterals - ifTrue: [ self asMethodReturningByteArrayLiteral: aByteArrayOrString named: aSymbol ] - ifFalse: [ self asMethodReturningByteArrayWithCache: aByteArrayOrString named: aSymbol ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayLiteral.named..st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayLiteral.named..st deleted file mode 100644 index 90bb405c..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayLiteral.named..st +++ /dev/null @@ -1,10 +0,0 @@ -private-file library -asMethodReturningByteArrayLiteral: aByteArrayOrString named: aSymbol - "Generates the source of a method named aSymbol that returns aByteArrayOrString as a byte array using VW/NewCompiler byte array literal syntax." - ^ String streamContents: [ :stream | - stream nextPutAll: aSymbol; nextPut: Character cr. - stream tab; nextPutAll: '^ #['. - aByteArrayOrString asByteArray - do: [ :each | each printOn: stream ] - separatedBy: [ stream space ]. - stream nextPutAll: ']' ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayWithCache.named..st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayWithCache.named..st deleted file mode 100644 index a1f9fe07..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/asMethodReturningByteArrayWithCache.named..st +++ /dev/null @@ -1,10 +0,0 @@ -private-file library -asMethodReturningByteArrayWithCache: aByteArrayOrString named: aSymbol - "Generates the source of a method named aSymbol that returns aByteArrayOrString as a byte array and caching this array in a literal array of size 1." - ^ String streamContents: [ :stream | - stream nextPutAll: aSymbol; nextPut: Character cr. - stream tab; nextPutAll: '^ #('. - aByteArrayOrString asByteArray - do: [ :each | each printOn: stream ] - separatedBy: [ stream space ]. - stream nextPutAll: ') asByteArray' ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/base64Decode..st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/base64Decode..st deleted file mode 100644 index 382a7f83..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/base64Decode..st +++ /dev/null @@ -1,3 +0,0 @@ -encoding -base64Decode: aString - ^ (Base64MimeConverter mimeDecodeToChars: aString readStream) contents \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/base64Encode..st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/base64Encode..st deleted file mode 100644 index 4cb93d20..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/base64Encode..st +++ /dev/null @@ -1,3 +0,0 @@ -encoding -base64Encode: aByteArray - ^ aByteArray base64Encoded \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/bindingOf..st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/bindingOf..st deleted file mode 100644 index 2c8a9b8d..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/bindingOf..st +++ /dev/null @@ -1,4 +0,0 @@ -bindings -bindingOf: aClass - "theoretically consider the environment of a class" - ^ aClass binding \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/compile.into.classified..st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/compile.into.classified..st deleted file mode 100644 index 7fde3ad8..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/compile.into.classified..st +++ /dev/null @@ -1,31 +0,0 @@ -file library -compile: aString into: aClass classified: aSymbol - "The trick here is to be as silently a possible so that the package is not marked dirty when running WAFileLibrary test. - This also makes running tests much faster." - | methodNode compiledMethod selector methodAndNode | - methodNode := aClass compilerClass new - compile: aString - in: aClass - notifying: nil - ifFail: [ GRError signal: 'syntax error' ]. - selector := methodNode selector. - methodAndNode := CompiledMethodWithNode - generateMethodFromNode: methodNode - trailer: aClass defaultMethodTrailer. - compiledMethod := methodAndNode method. - compiledMethod - putSource: aString - fromParseNode: methodAndNode node - inFile: 2 - withPreamble: [ :file | - aClass - printCategoryChunk: aSymbol asString - on: file priorMethod: (aClass compiledMethodAt: selector ifAbsent: [ nil ]). - file cr ]. - aClass - addSelectorSilently: selector - withMethod: compiledMethod. - SystemChangeNotifier uniqueInstance doSilently: [ - aClass organization - classify: selector - under: aSymbol ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st deleted file mode 100644 index e9f9d30b..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/contentsOfFile.binary..st +++ /dev/null @@ -1,12 +0,0 @@ -file library -contentsOfFile: aString binary: aBoolean - | stream | - stream := aBoolean - ifTrue: [ (FileDirectory default oldFileNamed: aString) - binary; - yourself ] - ifFalse: [ (MultiByteFileStream oldFileNamed: aString) - ascii; - wantsLineEndConversion: true; - yourself ]. - ^ [ stream contents ] ensure: [ stream close ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/deprecationExceptionSet.st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/deprecationExceptionSet.st deleted file mode 100644 index bb22f36e..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/deprecationExceptionSet.st +++ /dev/null @@ -1,3 +0,0 @@ -exceptions -deprecationExceptionSet - ^ Deprecation \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/directoriesIn..st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/directoriesIn..st deleted file mode 100644 index 3357dd27..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/directoriesIn..st +++ /dev/null @@ -1,9 +0,0 @@ -file library -directoriesIn: aPathString - "Answer a collection of absolute paths for all the directories (no files) in the directory given by aPathString - must not include directory names that start with ." - | directory | - directory := FileDirectory default directoryNamed: aPathString. - ^ (directory directoryNames - reject: [ :each | each first = $. ]) - collect: [ :each | directory fullNameFor: each ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/doSilently..st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/doSilently..st deleted file mode 100644 index 2a887759..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/doSilently..st +++ /dev/null @@ -1,3 +0,0 @@ -private -doSilently: aBlock - ^ SystemChangeNotifier uniqueInstance doSilently: aBlock \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st deleted file mode 100644 index 27973d2b..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/ensureExistenceOfFolder..st +++ /dev/null @@ -1,4 +0,0 @@ -file library -ensureExistenceOfFolder: aString - "creates a folder named aString in the image directory" - FileDirectory default assureExistenceOfPath: aString \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/fileExists..st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/fileExists..st deleted file mode 100644 index d558068e..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/fileExists..st +++ /dev/null @@ -1,3 +0,0 @@ -file library -fileExists: aString - ^ (FileDirectory on: aString) exists \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/filesIn..st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/filesIn..st deleted file mode 100644 index 89667dbc..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/filesIn..st +++ /dev/null @@ -1,9 +0,0 @@ -file library -filesIn: aPathString - "Return a collection of absolute paths for all the files (no directories) in the directory given by aPathString - must not include file names that start with ." - | directory | - directory := FileDirectory default directoryNamed: aPathString. - ^ (directory fileNames - reject: [ :each | each first = $. ]) - collect: [ :each | directory fullNameFor: each ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/isProcessTerminated..st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/isProcessTerminated..st deleted file mode 100644 index 03b50778..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/isProcessTerminated..st +++ /dev/null @@ -1,4 +0,0 @@ -processes -isProcessTerminated: aProcess - "Return a boolean indicating whether aProcess has been terminated." - ^ aProcess isTerminated \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/label.st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/label.st deleted file mode 100644 index f3b036e2..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/label.st +++ /dev/null @@ -1,3 +0,0 @@ -version info -label - ^ 'Pharo' \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/localNameOf..st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/localNameOf..st deleted file mode 100644 index f943c14d..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/localNameOf..st +++ /dev/null @@ -1,3 +0,0 @@ -file library -localNameOf: aFilename - ^ (FileDirectory on: aFilename) localName \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/newRandom.st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/newRandom.st deleted file mode 100644 index 9d90824d..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/newRandom.st +++ /dev/null @@ -1,10 +0,0 @@ -factory -newRandom - "Answers the random number generator to be used to create session and continuation keys. Make sure it is seeded. They only methods that will be sent to it are: - #nextInt: - should answer a random integer in the interval [1, anInteger] - #randomFrom: - should answer a random element from the given collection - - Make sure that both methods are safe under heavy concurrent load. - - Used by Gemstone/S traditional Randoms which cannot be persisted.." - ^ GRPharoRandomProvider \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/newline.st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/newline.st deleted file mode 100644 index f3752602..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/newline.st +++ /dev/null @@ -1,3 +0,0 @@ -file library -newline - ^ String with: Character cr \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st deleted file mode 100644 index b98446f9..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/openDebuggerOn..st +++ /dev/null @@ -1,18 +0,0 @@ -exceptions -openDebuggerOn: anError - | process | - process := Processor activeProcess. - "If we are running in the UI process, we don't want to suspend the active process. The - error was presumably triggered while stepping in the Debugger. If we simply immediately - signal an UnhandledError, the debugger will catch this and display the signaling context. - It isn't perfect or pretty but it works." - (ProcessBrowser isUIProcess: process) - ifTrue: [ - UnhandledError signalForException: anError ] - ifFalse: [ - WorldState addDeferredUIMessage: [ - process - debug: anError signalerContext - title: anError description - full: true ]. - process suspend ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/pathSeparator.st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/pathSeparator.st deleted file mode 100644 index b9a34e3d..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/pathSeparator.st +++ /dev/null @@ -1,3 +0,0 @@ -file library -pathSeparator - ^ FileDirectory pathNameDelimiter asString \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/readWriteByteStream.st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/readWriteByteStream.st deleted file mode 100644 index 35251d7b..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/readWriteByteStream.st +++ /dev/null @@ -1,5 +0,0 @@ -factory -readWriteByteStream - "ByteArray based read write stream" - - ^ RWBinaryOrTextStream on: (ByteArray new: 4096) \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/readWriteCharacterStream.st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/readWriteCharacterStream.st deleted file mode 100644 index 3f94c5af..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/readWriteCharacterStream.st +++ /dev/null @@ -1,5 +0,0 @@ -factory -readWriteCharacterStream - "String based read write stream" - - ^ ReadWriteStream on: (String new: 4096) \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/removeFromShutDownList..st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/removeFromShutDownList..st deleted file mode 100644 index 09cc5c70..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/removeFromShutDownList..st +++ /dev/null @@ -1,5 +0,0 @@ -startup -removeFromShutDownList: anObject - "Remove anObject from the shutdown list in the system." - - Smalltalk removeFromShutDownList: anObject \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/removeFromStartUpList..st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/removeFromStartUpList..st deleted file mode 100644 index ecd7d527..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/removeFromStartUpList..st +++ /dev/null @@ -1,5 +0,0 @@ -startup -removeFromStartUpList: anObject - "Remove anObject from the startup list in the system." - - Smalltalk removeFromStartUpList: anObject \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/removeSelector.from..st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/removeSelector.from..st deleted file mode 100644 index f9541b7e..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/removeSelector.from..st +++ /dev/null @@ -1,3 +0,0 @@ -file library -removeSelector: aSymbol from: aClass - aClass removeSelectorSilently: aSymbol \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/secureHashFor..st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/secureHashFor..st deleted file mode 100644 index b0c1e2b2..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/secureHashFor..st +++ /dev/null @@ -1,3 +0,0 @@ -cryptography -secureHashFor: aString - ^ SecureHashAlgorithm new hashMessage: aString \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/semaphoreClass.st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/semaphoreClass.st deleted file mode 100644 index ceccf9e3..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/semaphoreClass.st +++ /dev/null @@ -1,4 +0,0 @@ -factory -semaphoreClass - "used by Gemstone/S traditional Semaphores which cannot be persisted" - ^ Semaphore \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/stackDepth.st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/stackDepth.st deleted file mode 100644 index 7b994393..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/stackDepth.st +++ /dev/null @@ -1,10 +0,0 @@ -exceptions -stackDepth - - | depth current | - depth := 0. - current := thisContext. - [ current isNil ] whileFalse: [ - current := current sender. - depth := depth + 1 ]. - ^ depth - 1 \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/terminateProcess..st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/terminateProcess..st deleted file mode 100644 index a09b96e1..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/terminateProcess..st +++ /dev/null @@ -1,4 +0,0 @@ -processes -terminateProcess: aProcess - "Permanently terminate the process, unwinding first to execute #ensure: and #ifCurtailed: blocks." - aProcess terminate \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/thisContext.st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/thisContext.st deleted file mode 100644 index 97018fc5..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/thisContext.st +++ /dev/null @@ -1,4 +0,0 @@ -processes -thisContext - - ^ thisContext sender \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/useByteArrayLiterals.st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/useByteArrayLiterals.st deleted file mode 100644 index f65fb83a..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/useByteArrayLiterals.st +++ /dev/null @@ -1,11 +0,0 @@ -private-file library -useByteArrayLiterals - "whether ByteArray literals can/should be used" - | hasSettings | - hasSettings := Smalltalk at: #PragmaSetting ifAbsent: [ nil ]. - ^ hasSettings isNil - ifTrue: [ - (Smalltalk at: #Preferences) - valueOfFlag: #compileUseNewCompiler - ifAbsent: [ false ] ] - ifFalse: [ false ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/weakDictionaryOfSize..st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/weakDictionaryOfSize..st deleted file mode 100644 index b0ca3d82..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/weakDictionaryOfSize..st +++ /dev/null @@ -1,3 +0,0 @@ -factory -weakDictionaryOfSize: aNumber - ^ IdentityDictionary new: aNumber \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/writeCharacterStreamOn..st b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/writeCharacterStreamOn..st deleted file mode 100644 index d69ff426..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/instance/writeCharacterStreamOn..st +++ /dev/null @@ -1,4 +0,0 @@ -factory -writeCharacterStreamOn: aString - - ^ GRWorkingWriteStream on: aString \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/properties.json b/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/properties.json deleted file mode 100644 index debe249f..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoPlatform.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "pmm 2/1/2014 13:28", - "super" : "GRPlatform", - "category" : "Grease-Squeak5-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ - "UrlTable", - "XmlTable" - ], - "instvars" : [ ], - "name" : "GRPharoPlatform", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/README.md b/repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/class/initialize.st b/repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/class/initialize.st deleted file mode 100644 index 04ca54c3..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/class/initialize.st +++ /dev/null @@ -1,4 +0,0 @@ -private -initialize - Smalltalk addToStartUpList: self. - self startUp \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/class/nextInt..st b/repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/class/nextInt..st deleted file mode 100644 index 593aee36..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/class/nextInt..st +++ /dev/null @@ -1,5 +0,0 @@ -public -nextInt: anInteger - "Answer a random integer in the interval [1, anInteger]" - - ^ mutex critical: [ generator nextInt: anInteger ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/class/randomClass.st b/repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/class/randomClass.st deleted file mode 100644 index 85a2db91..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/class/randomClass.st +++ /dev/null @@ -1,3 +0,0 @@ -private -randomClass - ^ Random \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/class/randomFrom..st b/repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/class/randomFrom..st deleted file mode 100644 index a5fe470c..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/class/randomFrom..st +++ /dev/null @@ -1,11 +0,0 @@ -public -randomFrom: aCollection - | random count | - random := self nextInt: aCollection size. - ^ aCollection isSequenceable - ifTrue: [ aCollection at: random ] - ifFalse: [ - count := 1. - aCollection do: [ :ea | - count = random ifTrue: [ ^ ea ]. - count := count + 1 ] ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/class/startUp.st b/repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/class/startUp.st deleted file mode 100644 index a33a6ac9..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/class/startUp.st +++ /dev/null @@ -1,4 +0,0 @@ -initialization -startUp - generator := self randomClass new. - mutex := Semaphore forMutualExclusion \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/class/unload.st b/repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/class/unload.st deleted file mode 100644 index fd4cb930..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/class/unload.st +++ /dev/null @@ -1,3 +0,0 @@ -private -unload - GRPlatform current removeFromStartUpList: self \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/properties.json b/repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/properties.json deleted file mode 100644 index 179e4cfe..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoRandomProvider.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRObject", - "category" : "Grease-Squeak5-Core", - "classinstvars" : [ - "mutex", - "generator" - ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRPharoRandomProvider", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/README.md b/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/README.md deleted file mode 100644 index c6047951..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/README.md +++ /dev/null @@ -1 +0,0 @@ -A WAUtf8Codec is a WACodec optimized for UTF-8. \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/class/basicForEncoding..st b/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/class/basicForEncoding..st deleted file mode 100644 index d4c4a74b..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/class/basicForEncoding..st +++ /dev/null @@ -1,3 +0,0 @@ -private -basicForEncoding: aString - ^ self new \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/class/codecs.st b/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/class/codecs.st deleted file mode 100644 index 632b84fb..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/class/codecs.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -codecs - ^ Array with: self new \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st b/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st deleted file mode 100644 index dc3a8ade..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/class/supportsEncoding..st +++ /dev/null @@ -1,3 +0,0 @@ -testing -supportsEncoding: aString - ^ (#('utf-8' 'UTF-8') includes: aString) or: [ UTF8TextConverter encodingNames includes: aString ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/instance/decode..st b/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/instance/decode..st deleted file mode 100644 index b625727d..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/instance/decode..st +++ /dev/null @@ -1,36 +0,0 @@ -decoding -decode: aString - "Convert the given string from UTF-8 using the fast path if converting to Latin-1" - | outStream byte1 byte2 byte3 byte4 unicode stream | - stream := aString readStream. - outStream := WriteStream on: (String new: aString size). - [ stream atEnd not ] whileTrue: [ - byte1 := stream next asInteger. - unicode := byte1. - (byte1 bitAnd: 16rE0) = 192 ifTrue: [ "two bytes" - byte2 := stream next asInteger. - (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - unicode := ((byte1 bitAnd: 31) bitShift: 6) + (byte2 bitAnd: 63) ]. - (byte1 bitAnd: 16rF0) = 224 ifTrue: [ "three bytes" - byte2 := stream next asInteger. - (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - byte3 := stream next asInteger. - (byte3 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - unicode := ((byte1 bitAnd: 15) bitShift: 12) + ((byte2 bitAnd: 63) bitShift: 6) - + (byte3 bitAnd: 63) ]. - (byte1 bitAnd: 16rF8) = 240 ifTrue: [ "four bytes" - byte2 := stream next asInteger. - (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - byte3 := stream next asInteger. - (byte3 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - byte4 := stream next asInteger. - (byte4 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - unicode := ((byte1 bitAnd: 16r7) bitShift: 18) + - ((byte2 bitAnd: 63) bitShift: 12) + - ((byte3 bitAnd: 63) bitShift: 6) + - (byte4 bitAnd: 63) ]. - unicode ifNil: [ self invalidUtf8 ]. - unicode = 16rFEFF "ignore BOM" ifFalse: [ - outStream nextPut: (Character codePoint: unicode) ]. - unicode := nil ]. - ^ outStream contents \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st b/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st deleted file mode 100644 index 203b901f..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/instance/decoderFor..st +++ /dev/null @@ -1,5 +0,0 @@ -conversion -decoderFor: aStream - ^ GRPharoUtf8CodecStream - on: aStream - converter: UTF8TextConverter new \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st b/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st deleted file mode 100644 index d77ab435..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/instance/encoderFor..st +++ /dev/null @@ -1,5 +0,0 @@ -conversion -encoderFor: aStream - ^ GRPharoUtf8CodecStream - on: aStream - converter: UTF8TextConverter new \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/instance/invalidUtf8.st b/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/instance/invalidUtf8.st deleted file mode 100644 index e4481c22..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/instance/invalidUtf8.st +++ /dev/null @@ -1,3 +0,0 @@ -private -invalidUtf8 - ^ GRInvalidUtf8Error signal: 'Invalid UTF-8 input' \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/instance/name.st b/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/instance/name.st deleted file mode 100644 index 7886c830..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'utf-8' \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/instance/url.st b/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/instance/url.st deleted file mode 100644 index 4696d714..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/instance/url.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -url - ^ self \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/properties.json b/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/properties.json deleted file mode 100644 index a91d6cd3..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoUtf8Codec.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "pmm 2/20/2009 12:51", - "super" : "GRCodec", - "category" : "Grease-Squeak5-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRPharoUtf8Codec", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/README.md b/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/README.md deleted file mode 100644 index 08323f18..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/README.md +++ /dev/null @@ -1 +0,0 @@ -A WAUtf8CodecStream is a WACodecStream optimized for UTF-8 performance in the case where most of the characters are ASCII. diff --git a/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/class/initialize.st b/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/class/initialize.st deleted file mode 100644 index b8d03990..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/class/initialize.st +++ /dev/null @@ -1,17 +0,0 @@ -class initialization -initialize - (Smalltalk hasClassNamed: #UTF8TextConverter) "guard for Squeak 37" - ifFalse: [ ^ self ]. - - Latin1ToUtf8Map := ByteArray new: 256. - Latin1ToUtf8Encodings := Array new: 256. - 0 to: 255 do:[ :index | - | latin1 utf8 | - latin1 := String with: (Character codePoint: index). - utf8 := latin1 convertToWithConverter: UTF8TextConverter new. - latin1 = utf8 - ifTrue:[ - Latin1ToUtf8Map at: index + 1 put: 0 ] "no translation needed" - ifFalse:[ - Latin1ToUtf8Map at: index + 1 put: 1. "no translation needed" - Latin1ToUtf8Encodings at: index + 1 put: utf8 ] ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/crlf.st b/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/crlf.st deleted file mode 100644 index ba607092..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/crlf.st +++ /dev/null @@ -1,4 +0,0 @@ -streaming -crlf - stream nextPut: Character cr. - stream nextPut: Character lf \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/encodeDefault..st b/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/encodeDefault..st deleted file mode 100644 index cdd58a41..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/encodeDefault..st +++ /dev/null @@ -1,5 +0,0 @@ -private -encodeDefault: aString - "Convert the given string from UTF-8 using the fast path if converting to Latin-1" - 1 to: aString size by: 1 do: [ :index | - converter nextPut: (aString at: index) toStream: stream ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/encodeFast..st b/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/encodeFast..st deleted file mode 100644 index 9a8a0dc3..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/encodeFast..st +++ /dev/null @@ -1,14 +0,0 @@ -private -encodeFast: aByteString - "Convert the given string from UTF-8 using the fast path if converting to Latin-1" - | lastIndex nextIndex | - lastIndex := 1. - nextIndex := ByteString findFirstInString: aByteString inSet: Latin1ToUtf8Map startingAt: lastIndex. - nextIndex = 0 ifTrue: [ ^ stream nextPutAll: aByteString ]. - [ nextIndex > lastIndex ifTrue: [ - stream greaseNext: nextIndex - lastIndex putAll: aByteString startingAt: lastIndex ]. - stream nextPutAll: (Latin1ToUtf8Encodings at: (aByteString byteAt: nextIndex) + 1). - lastIndex := nextIndex + 1. - nextIndex := ByteString findFirstInString: aByteString inSet: Latin1ToUtf8Map startingAt: lastIndex. - nextIndex = 0 ] whileFalse. - stream greaseNext: aByteString size - lastIndex + 1 putAll: aByteString startingAt: lastIndex \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st deleted file mode 100644 index cd78fbe0..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/greaseNext.putAll.startingAt..st +++ /dev/null @@ -1,5 +0,0 @@ -streaming -greaseNext: anInteger putAll: aCollection startingAt: startIndex - aCollection isByteString - ifTrue: [ self greaseNext: anInteger putAllFast: aCollection startingAt: startIndex ] - ifFalse: [ super greaseNext: anInteger putAll: aCollection startingAt: startIndex ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st b/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st deleted file mode 100644 index a4c114cb..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/greaseNext.putAllFast.startingAt..st +++ /dev/null @@ -1,17 +0,0 @@ -private -greaseNext: anInteger putAllFast: aByteString startingAt: startIndex - | lastIndex nextIndex | - lastIndex := startIndex. - nextIndex := ByteString findFirstInString: aByteString inSet: Latin1ToUtf8Map startingAt: lastIndex. - nextIndex = 0 ifTrue: [ ^ stream greaseNext: anInteger putAll: aByteString startingAt: startIndex ]. - [ - nextIndex >= (startIndex + anInteger) ifTrue: [ - ^ stream greaseNext: startIndex + anInteger - lastIndex putAll: aByteString startingAt: lastIndex ]. - nextIndex > lastIndex ifTrue: [ - stream greaseNext: nextIndex - lastIndex putAll: aByteString startingAt: lastIndex ]. - stream nextPutAll: (Latin1ToUtf8Encodings at: (aByteString byteAt: nextIndex) + 1). - lastIndex := nextIndex + 1. - nextIndex := ByteString findFirstInString: aByteString inSet: Latin1ToUtf8Map startingAt: lastIndex. - (nextIndex = 0 or: [ nextIndex >= (startIndex + anInteger) ]) ] whileFalse. - lastIndex >= (startIndex + anInteger) ifFalse: [ - stream greaseNext: startIndex + anInteger - lastIndex putAll: aByteString startingAt: lastIndex ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/invalidUtf8.st b/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/invalidUtf8.st deleted file mode 100644 index e4481c22..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/invalidUtf8.st +++ /dev/null @@ -1,3 +0,0 @@ -private -invalidUtf8 - ^ GRInvalidUtf8Error signal: 'Invalid UTF-8 input' \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/next..st b/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/next..st deleted file mode 100644 index 116f524d..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/next..st +++ /dev/null @@ -1,46 +0,0 @@ -streaming -next: anInteger - "Convert the given string from UTF-8 using the fast path if converting to Latin-1" - | output byte1 byte2 byte3 byte4 unicode count alreadyWide | - output := ByteString new: anInteger. - count := 0. - alreadyWide := false. - [ count < anInteger and: [ stream atEnd not ] ] whileTrue: [ - byte1 := stream next. - unicode := byte1. - (byte1 bitAnd: 16rE0) = 192 ifTrue: [ "two bytes" - byte2 := stream next. - (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - unicode := ((byte1 bitAnd: 31) bitShift: 6) + (byte2 bitAnd: 63) ]. - (byte1 bitAnd: 16rF0) = 224 ifTrue: [ "three bytes" - byte2 := stream next. - (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - byte3 := stream next. - (byte3 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - unicode := ((byte1 bitAnd: 15) bitShift: 12) + ((byte2 bitAnd: 63) bitShift: 6) - + (byte3 bitAnd: 63). - alreadyWide ifFalse: [ - output := WideString withAll: output. - alreadyWide := true ] ]. - (byte1 bitAnd: 16rF8) = 240 ifTrue: [ "four bytes" - byte2 := stream next. - (byte2 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - byte3 := stream next. - (byte3 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - byte4 := stream next. - (byte4 bitAnd: 16rC0) = 16r80 ifFalse: [ self invalidUtf8 ]. - unicode := ((byte1 bitAnd: 16r7) bitShift: 18) + - ((byte2 bitAnd: 63) bitShift: 12) + - ((byte3 bitAnd: 63) bitShift: 6) + - (byte4 bitAnd: 63). - alreadyWide ifFalse: [ - output := WideString withAll: output. - alreadyWide := true ] ]. - unicode ifNil: [ self invalidUtf8 ]. - unicode = 16rFEFF "ignore BOM" ifFalse: [ - count := count + 1. - output at: count put: (Character codePoint: unicode) ]. - unicode := nil ]. - ^ count < anInteger - ifTrue: [ output first: count ] - ifFalse: [ output ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/next.st b/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/next.st deleted file mode 100644 index 4363f086..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/next.st +++ /dev/null @@ -1,3 +0,0 @@ -streaming -next - ^ (self next: 1) first \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/nextPut..st b/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/nextPut..st deleted file mode 100644 index ad2d94ab..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/nextPut..st +++ /dev/null @@ -1,11 +0,0 @@ -streaming -nextPut: aCharacter - | codePoint shouldEncode | - codePoint := aCharacter codePoint. - codePoint > 255 - ifTrue: [ ^ self nextPutAll: (String with: aCharacter) ]. - shouldEncode := Latin1ToUtf8Map at: codePoint + 1. - shouldEncode = 1 - ifTrue: [ stream nextPutAll: (Latin1ToUtf8Encodings at: codePoint + 1) ] - ifFalse: [ stream nextPut: aCharacter ] - \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/nextPutAll..st b/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/nextPutAll..st deleted file mode 100644 index b9136110..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/instance/nextPutAll..st +++ /dev/null @@ -1,5 +0,0 @@ -streaming -nextPutAll: aString - aString isByteString - ifTrue: [ self encodeFast: aString ] - ifFalse: [ self encodeDefault: aString ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/properties.json b/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/properties.json deleted file mode 100644 index 08f8b877..00000000 --- a/repository/Grease-Squeak5-Core.package/GRPharoUtf8CodecStream.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "pmm 2/20/2009 12:27", - "super" : "GRPharoConverterCodecStream", - "category" : "Grease-Squeak5-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ - "Latin1ToUtf8Encodings", - "Latin1ToUtf8Map" - ], - "instvars" : [ ], - "name" : "GRPharoUtf8CodecStream", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSmallDictionary.extension/instance/customizeExplorerContents.st b/repository/Grease-Squeak5-Core.package/GRSmallDictionary.extension/instance/customizeExplorerContents.st deleted file mode 100644 index d59e1d7f..00000000 --- a/repository/Grease-Squeak5-Core.package/GRSmallDictionary.extension/instance/customizeExplorerContents.st +++ /dev/null @@ -1,3 +0,0 @@ -*grease-squeak5-core -customizeExplorerContents - ^ true \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSmallDictionary.extension/instance/explorerContents.st b/repository/Grease-Squeak5-Core.package/GRSmallDictionary.extension/instance/explorerContents.st deleted file mode 100644 index c104c7b7..00000000 --- a/repository/Grease-Squeak5-Core.package/GRSmallDictionary.extension/instance/explorerContents.st +++ /dev/null @@ -1,10 +0,0 @@ -*grease-squeak5-core -explorerContents - | contents | - contents := OrderedCollection new. - self keysAndValuesDo: [ :key :value | - contents add: (ObjectExplorerWrapper - with: value - name: (key printString contractTo: 32) - model: self) ]. - ^ contents \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSmallDictionary.extension/instance/hasContentsInExplorer.st b/repository/Grease-Squeak5-Core.package/GRSmallDictionary.extension/instance/hasContentsInExplorer.st deleted file mode 100644 index ac2d59ee..00000000 --- a/repository/Grease-Squeak5-Core.package/GRSmallDictionary.extension/instance/hasContentsInExplorer.st +++ /dev/null @@ -1,3 +0,0 @@ -*grease-squeak5-core -hasContentsInExplorer - ^ true \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSmallDictionary.extension/properties.json b/repository/Grease-Squeak5-Core.package/GRSmallDictionary.extension/properties.json deleted file mode 100644 index 0d78b749..00000000 --- a/repository/Grease-Squeak5-Core.package/GRSmallDictionary.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "GRSmallDictionary" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/README.md b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/class/initialize.st b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/class/initialize.st deleted file mode 100644 index ae58f1b3..00000000 --- a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/class/initialize.st +++ /dev/null @@ -1,4 +0,0 @@ -class initialization -initialize - super initialize. - self select \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/defaultDirectoryPathString.st b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/defaultDirectoryPathString.st deleted file mode 100644 index 9121ad38..00000000 --- a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/defaultDirectoryPathString.st +++ /dev/null @@ -1,3 +0,0 @@ -file library -defaultDirectoryPathString - ^ FileDirectory default fullName \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/deleteFile..st b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/deleteFile..st deleted file mode 100644 index d03eee50..00000000 --- a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/deleteFile..st +++ /dev/null @@ -1,3 +0,0 @@ -files -deleteFile: aPathString - FileDirectory deleteFilePath: aPathString \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/deleteFile.inFolder..st b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/deleteFile.inFolder..st deleted file mode 100644 index f2ba4102..00000000 --- a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/deleteFile.inFolder..st +++ /dev/null @@ -1,4 +0,0 @@ -file library -deleteFile: aFileName inFolder: aPathString - (FileDirectory on: aPathString) - deleteFileNamed: aFileName \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/directoriesIn..st b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/directoriesIn..st deleted file mode 100644 index be1b1351..00000000 --- a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/directoriesIn..st +++ /dev/null @@ -1,9 +0,0 @@ -file library -directoriesIn: aPathString - "Return a collection of absolute paths for all the files (no directories) in the directory given by aPathString - must not include file names that start with ." - | directory | - directory := FileDirectory default directoryNamed: aPathString. - ^ (directory directoryNames - reject: [ :each | each first = $. ]) - collect: [ :each | directory fullNameFor: each ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/doSilently..st b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/doSilently..st deleted file mode 100644 index d42119ee..00000000 --- a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/doSilently..st +++ /dev/null @@ -1,3 +0,0 @@ -private -doSilently: aBlock - ^SystemChangeNotifier uniqueInstance doSilently: aBlock \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/ensureExistenceOfFolder..st b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/ensureExistenceOfFolder..st deleted file mode 100644 index c918f1e9..00000000 --- a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/ensureExistenceOfFolder..st +++ /dev/null @@ -1,3 +0,0 @@ -file library -ensureExistenceOfFolder: aString - ^FileDirectory default assureExistenceOfPath: aString \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/fileExists..st b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/fileExists..st deleted file mode 100644 index e5d8ee83..00000000 --- a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/fileExists..st +++ /dev/null @@ -1,3 +0,0 @@ -file library -fileExists: aString - ^FileDirectory default fileExists: aString \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/fileNameFor..st b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/fileNameFor..st deleted file mode 100644 index 679781ba..00000000 --- a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/fileNameFor..st +++ /dev/null @@ -1,7 +0,0 @@ -file library -fileNameFor: aPathString - | path | - path := FileDirectory default fullPathFor: aPathString. - ^ (path size > 1 and: [ path endsWith: FileDirectory slash ]) - ifTrue: [ path allButLast: FileDirectory slash size ] - ifFalse: [ path ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/filesIn..st b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/filesIn..st deleted file mode 100644 index 89667dbc..00000000 --- a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/filesIn..st +++ /dev/null @@ -1,9 +0,0 @@ -file library -filesIn: aPathString - "Return a collection of absolute paths for all the files (no directories) in the directory given by aPathString - must not include file names that start with ." - | directory | - directory := FileDirectory default directoryNamed: aPathString. - ^ (directory fileNames - reject: [ :each | each first = $. ]) - collect: [ :each | directory fullNameFor: each ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/integerAsByteArray..st b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/integerAsByteArray..st deleted file mode 100644 index 124003a4..00000000 --- a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/integerAsByteArray..st +++ /dev/null @@ -1,7 +0,0 @@ -encoding -integerAsByteArray: anInteger - | stream | - stream := ByteArray new writeStream. - anInteger greaseBytesCount to: 1 by: -1 do: [:digitIndex | - stream nextPut: (anInteger greaseByteAt: digitIndex)]. - ^ stream contents \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/isDirectory..st b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/isDirectory..st deleted file mode 100644 index 74d6fa61..00000000 --- a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/isDirectory..st +++ /dev/null @@ -1,3 +0,0 @@ -file library -isDirectory: aPathString - ^ (FileDirectory forFileName: aPathString) directoryEntry isDirectory \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/localNameOf..st b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/localNameOf..st deleted file mode 100644 index aea2f08c..00000000 --- a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/localNameOf..st +++ /dev/null @@ -1,3 +0,0 @@ -file library -localNameOf: aFilename - ^FileDirectory localNameFor: aFilename \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/newTemporaryFile.st b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/newTemporaryFile.st deleted file mode 100644 index 01578607..00000000 --- a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/newTemporaryFile.st +++ /dev/null @@ -1,4 +0,0 @@ -files -newTemporaryFile - - ^ self newTemporaryFileNamed: UUID new greaseString \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileNamed..st b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileNamed..st deleted file mode 100644 index 9e117ca4..00000000 --- a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileNamed..st +++ /dev/null @@ -1,7 +0,0 @@ -files -newTemporaryFileNamed: aName - - | file | - file := FileDirectory default / aName. - file exists ifTrue: [ GRError new signal: 'A (temporary) file with name ', aName, ' already exists.' ]. - ^ file pathName \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/pathSeparator.st b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/pathSeparator.st deleted file mode 100644 index b9a34e3d..00000000 --- a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/pathSeparator.st +++ /dev/null @@ -1,3 +0,0 @@ -file library -pathSeparator - ^ FileDirectory pathNameDelimiter asString \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/readFileStreamOn.do.binary..st b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/readFileStreamOn.do.binary..st deleted file mode 100644 index 9c82d3ff..00000000 --- a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/readFileStreamOn.do.binary..st +++ /dev/null @@ -1,13 +0,0 @@ -as yet unclassified -readFileStreamOn: aString do: aBlock binary: aBoolean - ^ aBoolean - ifTrue: [ - FileStream fileNamed: aString do: [ :stream | - stream binary. - aBlock value: stream ] ] - ifFalse: [ - MultiByteFileStream fileNamed: aString do: [ :stream | - stream - ascii; - wantsLineEndConversion: true. - aBlock value: stream ] ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/sizeOfFile..st b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/sizeOfFile..st deleted file mode 100644 index 2beda3e4..00000000 --- a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/sizeOfFile..st +++ /dev/null @@ -1,4 +0,0 @@ -files -sizeOfFile: aString - - ^ aString asDirectoryEntry fileSize \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/write.toFile.inFolder..st b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/write.toFile.inFolder..st deleted file mode 100644 index f06fa4d4..00000000 --- a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/write.toFile.inFolder..st +++ /dev/null @@ -1,11 +0,0 @@ -file library -write: aStringOrByteArray toFile: aFileNameString inFolder: aFolderString - | folder fullFilePath | - fullFilePath := FileDirectory default fullNameFor: aFolderString. - folder := FileDirectory on: fullFilePath. - (folder fileExists: aFileNameString) - ifTrue: [folder deleteFileNamed: aFileNameString]. - ^ self - writeFileStreamOn: (folder / aFileNameString) fullName - do: [:stream | stream nextPutAll: aStringOrByteArray] - binary: aStringOrByteArray isString not \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/writeFileStreamOn.do.binary..st b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/writeFileStreamOn.do.binary..st deleted file mode 100644 index 9207976d..00000000 --- a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/instance/writeFileStreamOn.do.binary..st +++ /dev/null @@ -1,8 +0,0 @@ -files -writeFileStreamOn: aString do: aBlock binary: aBoolean - | stream | - stream := aBoolean - ifTrue: [ (FileStream fileNamed: aString) binary ] - ifFalse: [ (MultiByteFileStream fileNamed: aString) ascii; wantsLineEndConversion: true; yourself ]. - [ aBlock value: stream ] - ensure: [ stream close ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/properties.json b/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/properties.json deleted file mode 100644 index 11b4a3aa..00000000 --- a/repository/Grease-Squeak5-Core.package/GRSqueakPlatform.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "GRPharoPlatform", - "category" : "Grease-Squeak5-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRSqueakPlatform", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRWorkingWriteStream.class/README.md b/repository/Grease-Squeak5-Core.package/GRWorkingWriteStream.class/README.md deleted file mode 100644 index 3f2ed8e8..00000000 --- a/repository/Grease-Squeak5-Core.package/GRWorkingWriteStream.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I'm a work around for bugs in the Pharo stream classes. \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRWorkingWriteStream.class/instance/reset.st b/repository/Grease-Squeak5-Core.package/GRWorkingWriteStream.class/instance/reset.st deleted file mode 100644 index 8232867f..00000000 --- a/repository/Grease-Squeak5-Core.package/GRWorkingWriteStream.class/instance/reset.st +++ /dev/null @@ -1,3 +0,0 @@ -positioning -reset - self resetToStart \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/GRWorkingWriteStream.class/properties.json b/repository/Grease-Squeak5-Core.package/GRWorkingWriteStream.class/properties.json deleted file mode 100644 index 8b6e98d9..00000000 --- a/repository/Grease-Squeak5-Core.package/GRWorkingWriteStream.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "pmm 8/25/2011 18:30", - "super" : "WriteStream", - "category" : "Grease-Squeak5-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "GRWorkingWriteStream", - "type" : "normal" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Interval.extension/instance/any.st b/repository/Grease-Squeak5-Core.package/Interval.extension/instance/any.st deleted file mode 100644 index 0ac76e9d..00000000 --- a/repository/Grease-Squeak5-Core.package/Interval.extension/instance/any.st +++ /dev/null @@ -1,6 +0,0 @@ -*grease-squeak5-core -any - "#first (used by SequenceableCollection>>anyOne) is an accessor of - Interval and does not error on an empty Interval." - - ^ self at: 1 \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Interval.extension/properties.json b/repository/Grease-Squeak5-Core.package/Interval.extension/properties.json deleted file mode 100644 index 534eb553..00000000 --- a/repository/Grease-Squeak5-Core.package/Interval.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "Interval" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/LargePositiveInteger.extension/instance/greaseByteAt..st b/repository/Grease-Squeak5-Core.package/LargePositiveInteger.extension/instance/greaseByteAt..st deleted file mode 100644 index c4560695..00000000 --- a/repository/Grease-Squeak5-Core.package/LargePositiveInteger.extension/instance/greaseByteAt..st +++ /dev/null @@ -1,8 +0,0 @@ -*Grease-Squeak5-Core -greaseByteAt: index - "Primitive. Answer the value of an indexable field in the receiver. LargePositiveInteger uses bytes of base two number, and each is a 'digit' base 256. Fail if the argument (the index) is not an Integer or is out of bounds. Essential. See Object documentation whatIsAPrimitive." - - - self greaseBytesCount < index - ifTrue: [^0] - ifFalse: [^super at: index] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/LargePositiveInteger.extension/instance/greaseBytesCount.st b/repository/Grease-Squeak5-Core.package/LargePositiveInteger.extension/instance/greaseBytesCount.st deleted file mode 100644 index c9172272..00000000 --- a/repository/Grease-Squeak5-Core.package/LargePositiveInteger.extension/instance/greaseBytesCount.st +++ /dev/null @@ -1,8 +0,0 @@ -*Grease-Squeak5-Core -greaseBytesCount - "Primitive. Answer the number of indexable fields in the receiver. This - value is the same as the largest legal subscript. Essential. See Object - documentation whatIsAPrimitive." - - - self primitiveFailed \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/LargePositiveInteger.extension/properties.json b/repository/Grease-Squeak5-Core.package/LargePositiveInteger.extension/properties.json deleted file mode 100644 index 4fea44e2..00000000 --- a/repository/Grease-Squeak5-Core.package/LargePositiveInteger.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "LargePositiveInteger" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/MessageSend.extension/instance/argumentCount.st b/repository/Grease-Squeak5-Core.package/MessageSend.extension/instance/argumentCount.st deleted file mode 100644 index f2a02dea..00000000 --- a/repository/Grease-Squeak5-Core.package/MessageSend.extension/instance/argumentCount.st +++ /dev/null @@ -1,3 +0,0 @@ -*grease-squeak5-core -argumentCount - ^ selector numArgs - self arguments size \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/MessageSend.extension/instance/valueWithPossibleArguments..st b/repository/Grease-Squeak5-Core.package/MessageSend.extension/instance/valueWithPossibleArguments..st deleted file mode 100644 index bc49f4c6..00000000 --- a/repository/Grease-Squeak5-Core.package/MessageSend.extension/instance/valueWithPossibleArguments..st +++ /dev/null @@ -1,7 +0,0 @@ -*grease-squeak5-core -valueWithPossibleArguments: anArray - "Evaluate the block represented by the receiver. - If the block requires one argument, use anArg, if it requires more than one, - fill up the rest with nils." - - ^ self valueWithEnoughArguments: anArray \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/MessageSend.extension/properties.json b/repository/Grease-Squeak5-Core.package/MessageSend.extension/properties.json deleted file mode 100644 index 00669b90..00000000 --- a/repository/Grease-Squeak5-Core.package/MessageSend.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "MessageSend" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Number.extension/instance/milliseconds.st b/repository/Grease-Squeak5-Core.package/Number.extension/instance/milliseconds.st deleted file mode 100644 index a121e755..00000000 --- a/repository/Grease-Squeak5-Core.package/Number.extension/instance/milliseconds.st +++ /dev/null @@ -1,3 +0,0 @@ -*grease-squeak5-core -milliseconds - ^ self milliSeconds \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Number.extension/properties.json b/repository/Grease-Squeak5-Core.package/Number.extension/properties.json deleted file mode 100644 index 71dace88..00000000 --- a/repository/Grease-Squeak5-Core.package/Number.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "Number" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Object.extension/instance/greaseString.st b/repository/Grease-Squeak5-Core.package/Object.extension/instance/greaseString.st deleted file mode 100644 index 58859d4f..00000000 --- a/repository/Grease-Squeak5-Core.package/Object.extension/instance/greaseString.st +++ /dev/null @@ -1,3 +0,0 @@ -*grease-squeak5-core -greaseString - ^ self asString \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Object.extension/instance/sizeInMemory.st b/repository/Grease-Squeak5-Core.package/Object.extension/instance/sizeInMemory.st deleted file mode 100644 index 223eef2e..00000000 --- a/repository/Grease-Squeak5-Core.package/Object.extension/instance/sizeInMemory.st +++ /dev/null @@ -1,23 +0,0 @@ -*grease-squeak5-core -sizeInMemory - "Answer the number of bytes consumed by this instance including object header." - | contentBytes | - - contentBytes := Smalltalk wordSize. "base header" - contentBytes := contentBytes + (self class instSize * Smalltalk wordSize). "instance vars" - - self class isVariable ifTrue:[ | bytesPerElement | "indexed elements" - bytesPerElement := self class isBytes ifTrue: [1] ifFalse: [4]. - contentBytes := (contentBytes + (self basicSize * bytesPerElement)). - "If we are not filling an ammount of bytes multiple of the wordSize, we do it" - (contentBytes \\ Smalltalk wordSize) = 0 ifFalse: [ - | extraBytesToFillAWord | - extraBytesToFillAWord := Smalltalk wordSize - (contentBytes \\ Smalltalk wordSize). - contentBytes := contentBytes + extraBytesToFillAWord. - ] - ]. - - contentBytes > 255 ifTrue: [ contentBytes := contentBytes + (2 * Smalltalk wordSize) ] - ifFalse: [ contentBytes := contentBytes + Smalltalk wordSize - ]. - ^contentBytes \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Object.extension/properties.json b/repository/Grease-Squeak5-Core.package/Object.extension/properties.json deleted file mode 100644 index f30a86e1..00000000 --- a/repository/Grease-Squeak5-Core.package/Object.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "Object" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Point.extension/instance/greaseString.st b/repository/Grease-Squeak5-Core.package/Point.extension/instance/greaseString.st deleted file mode 100644 index 314a4131..00000000 --- a/repository/Grease-Squeak5-Core.package/Point.extension/instance/greaseString.st +++ /dev/null @@ -1,13 +0,0 @@ -*grease-squeak5-core -greaseString - "Reimplemented because in Pharo 1.4 - (4 @ 2) greaseString - ansers '(4@2)'" - ^ String streamContents: [ :stream | - x printOn: stream. - stream nextPut: $@. - (y notNil and: [y negative]) - ifTrue: [ - "Avoid ambiguous @- construct" - stream space]. - y printOn: stream ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Point.extension/properties.json b/repository/Grease-Squeak5-Core.package/Point.extension/properties.json deleted file mode 100644 index c6cf8dd5..00000000 --- a/repository/Grease-Squeak5-Core.package/Point.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "Point" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/PositionableStream.extension/instance/greaseUpToAll..st b/repository/Grease-Squeak5-Core.package/PositionableStream.extension/instance/greaseUpToAll..st deleted file mode 100644 index d8667190..00000000 --- a/repository/Grease-Squeak5-Core.package/PositionableStream.extension/instance/greaseUpToAll..st +++ /dev/null @@ -1,5 +0,0 @@ -*grease-squeak5-core -greaseUpToAll: aCollection - "Needed for Seaside ports to other dialects where #upToAll: may have - different semantics" - ^ self upToAll: aCollection \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/PositionableStream.extension/properties.json b/repository/Grease-Squeak5-Core.package/PositionableStream.extension/properties.json deleted file mode 100644 index 8e090ee3..00000000 --- a/repository/Grease-Squeak5-Core.package/PositionableStream.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "PositionableStream" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/ScaledDecimal.extension/instance/encodeOn..st b/repository/Grease-Squeak5-Core.package/ScaledDecimal.extension/instance/encodeOn..st deleted file mode 100644 index d9384784..00000000 --- a/repository/Grease-Squeak5-Core.package/ScaledDecimal.extension/instance/encodeOn..st +++ /dev/null @@ -1,6 +0,0 @@ -*grease-squeak5-core -encodeOn: aDocument - "not the ideal package but we don't have a Seaside-Squeak-Core" - | converter | - converter := GRSignPrinter new, (GRNumberPrinter new precision: self scale). - converter print: self on: aDocument \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/ScaledDecimal.extension/instance/greaseString.st b/repository/Grease-Squeak5-Core.package/ScaledDecimal.extension/instance/greaseString.st deleted file mode 100644 index 0b2f0ada..00000000 --- a/repository/Grease-Squeak5-Core.package/ScaledDecimal.extension/instance/greaseString.st +++ /dev/null @@ -1,5 +0,0 @@ -*grease-squeak5-core -greaseString - | converter | - converter := GRSignPrinter new, (GRNumberPrinter new precision: self scale). - ^ converter print: self \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/ScaledDecimal.extension/properties.json b/repository/Grease-Squeak5-Core.package/ScaledDecimal.extension/properties.json deleted file mode 100644 index 75f85f87..00000000 --- a/repository/Grease-Squeak5-Core.package/ScaledDecimal.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "ScaledDecimal" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st b/repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st deleted file mode 100644 index c859698a..00000000 --- a/repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/instance/beginsWithSubCollection..st +++ /dev/null @@ -1,4 +0,0 @@ -*grease-squeak5-core -beginsWithSubCollection: aSequenceableCollection - "Some platforms implement #beginsWith: to answer true for an empty argument." - ^ self beginsWith: aSequenceableCollection \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st b/repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st deleted file mode 100644 index 922f9ad1..00000000 --- a/repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/instance/endsWithSubCollection..st +++ /dev/null @@ -1,4 +0,0 @@ -*grease-squeak5-core -endsWithSubCollection: aSequenceableCollection - "Some platforms implement #endsWith: to answer true for an empty argument." - ^ self endsWith: aSequenceableCollection \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st b/repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st deleted file mode 100644 index f23ab6a2..00000000 --- a/repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/instance/greaseBeginsWith..st +++ /dev/null @@ -1,5 +0,0 @@ -*grease-squeak5-core -greaseBeginsWith: aSequenceableCollection - - aSequenceableCollection isEmpty ifTrue: [ ^ true ]. - ^ self beginsWith: aSequenceableCollection \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st b/repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st deleted file mode 100644 index a66b574e..00000000 --- a/repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/instance/greaseEndsWith..st +++ /dev/null @@ -1,5 +0,0 @@ -*grease-squeak5-core -greaseEndsWith: aSequenceableCollection - - aSequenceableCollection isEmpty ifTrue: [ ^ true ]. - ^ self endsWith: aSequenceableCollection \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/instance/sorted.st b/repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/instance/sorted.st deleted file mode 100644 index 6d509580..00000000 --- a/repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/instance/sorted.st +++ /dev/null @@ -1,3 +0,0 @@ -*grease-squeak5-core -sorted - ^ self sorted: [ :a :b | a <= b ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/properties.json b/repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/properties.json deleted file mode 100644 index a68b7db6..00000000 --- a/repository/Grease-Squeak5-Core.package/SequenceableCollection.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "SequenceableCollection" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/SmallInteger.extension/instance/greaseByteAt..st b/repository/Grease-Squeak5-Core.package/SmallInteger.extension/instance/greaseByteAt..st deleted file mode 100644 index 0599d162..00000000 --- a/repository/Grease-Squeak5-Core.package/SmallInteger.extension/instance/greaseByteAt..st +++ /dev/null @@ -1,14 +0,0 @@ -*Grease-Squeak5-Core -greaseByteAt: n - "Answer the value of an apparent byte-indexable field in the receiver, - analogous to the large integers, which are organized as bytes." - - n = 1 - ifTrue: [ - "Negate carefully in case the receiver is SmallInteger minVal" - ^ self < 0 - ifTrue: [ -256 - self bitAnd: 255 ] - ifFalse: [ self bitAnd: 255 ] ]. - ^ self < 0 - ifTrue: [ (-256 - self bitShift: -8) + 1 byteAt: n - 1 ] - ifFalse: [ (self bitShift: 8 - (n bitShift: 3)) bitAnd: 255 ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/SmallInteger.extension/instance/greaseBytesCount.st b/repository/Grease-Squeak5-Core.package/SmallInteger.extension/instance/greaseBytesCount.st deleted file mode 100644 index bcc66a59..00000000 --- a/repository/Grease-Squeak5-Core.package/SmallInteger.extension/instance/greaseBytesCount.st +++ /dev/null @@ -1,25 +0,0 @@ -*Grease-Squeak5-Core -greaseBytesCount - "Answer the number of indexable fields in the receiver. This value is the - same as the largest legal subscript. Included so that a SmallInteger can - behave like a LargePositiveInteger or LargeNegativeInteger." - - "32768 == (1 bitShift: 15)" - "32768 bytesCount >>> 2" - - "65536 == (1 bitShift: 16)" - "65536 bytesCount >>> 3" - - | value length | - length := 1. - value := self. - value >= 0 - ifTrue: - [[value > 255] whileTrue: - [value := value bitShift: -8. - length := length + 1]] - ifFalse: - [[value < -255] whileTrue: - [value := value bitShift: -8. - length := length + 1]]. - ^length \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/SmallInteger.extension/instance/sizeInMemory.st b/repository/Grease-Squeak5-Core.package/SmallInteger.extension/instance/sizeInMemory.st deleted file mode 100644 index fdf1df95..00000000 --- a/repository/Grease-Squeak5-Core.package/SmallInteger.extension/instance/sizeInMemory.st +++ /dev/null @@ -1,4 +0,0 @@ -*grease-squeak5-core -sizeInMemory - "SmallInteger occupy 0 bytes since the only space occupied by a SmallInteger is the space of the slot containing it. There is no SmallInteger object beyond the slot. From another POV, it could be 4, the size of the slot. But we don't count the size of the slots, they are already counted in the containing object, that's why it should answer 0." - ^0. \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/SmallInteger.extension/properties.json b/repository/Grease-Squeak5-Core.package/SmallInteger.extension/properties.json deleted file mode 100644 index ca9cd21f..00000000 --- a/repository/Grease-Squeak5-Core.package/SmallInteger.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "SmallInteger" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/SocketStream.extension/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Squeak5-Core.package/SocketStream.extension/instance/greaseNext.putAll.startingAt..st deleted file mode 100644 index 51fa0666..00000000 --- a/repository/Grease-Squeak5-Core.package/SocketStream.extension/instance/greaseNext.putAll.startingAt..st +++ /dev/null @@ -1,13 +0,0 @@ -*grease-squeak5-core -greaseNext: anInteger putAll: aCollection startingAt: startIndex - "Put a String or a ByteArray onto the stream starting at the given position. - Currently a large collection will allocate a large buffer." - - | toPut | - anInteger = 0 ifTrue: [ - ^ aCollection ]. - toPut := binary ifTrue: [ aCollection asByteArray ] ifFalse: [ aCollection asString ]. - self adjustOutBuffer: anInteger. - outBuffer replaceFrom: outNextToWrite to: outNextToWrite + anInteger - 1 with: toPut startingAt: startIndex. - outNextToWrite := outNextToWrite + anInteger. - self checkFlush \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/SocketStream.extension/properties.json b/repository/Grease-Squeak5-Core.package/SocketStream.extension/properties.json deleted file mode 100644 index 797e09e5..00000000 --- a/repository/Grease-Squeak5-Core.package/SocketStream.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "SocketStream" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/String.extension/instance/substrings..st b/repository/Grease-Squeak5-Core.package/String.extension/instance/substrings..st deleted file mode 100644 index eaf7d43e..00000000 --- a/repository/Grease-Squeak5-Core.package/String.extension/instance/substrings..st +++ /dev/null @@ -1,3 +0,0 @@ -*grease-squeak5-core -substrings: separators - ^ self subStrings: separators \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/String.extension/instance/trimBoth..st b/repository/Grease-Squeak5-Core.package/String.extension/instance/trimBoth..st deleted file mode 100644 index 7f13e09e..00000000 --- a/repository/Grease-Squeak5-Core.package/String.extension/instance/trimBoth..st +++ /dev/null @@ -1,5 +0,0 @@ -*grease-squeak5-core -trimBoth: aBlock - "Trim characters satisfying the condition given in aBlock from both sides of the receiving string." - - ^ self trimLeft: aBlock right: aBlock \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/String.extension/instance/trimBoth.st b/repository/Grease-Squeak5-Core.package/String.extension/instance/trimBoth.st deleted file mode 100644 index 9e11a5c4..00000000 --- a/repository/Grease-Squeak5-Core.package/String.extension/instance/trimBoth.st +++ /dev/null @@ -1,5 +0,0 @@ -*grease-squeak5-core -trimBoth - "Trim separators from both sides of the receiving string." - - ^ self trimBoth: [ :char | char isSeparator ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/String.extension/instance/trimLeft..st b/repository/Grease-Squeak5-Core.package/String.extension/instance/trimLeft..st deleted file mode 100644 index 5671847f..00000000 --- a/repository/Grease-Squeak5-Core.package/String.extension/instance/trimLeft..st +++ /dev/null @@ -1,5 +0,0 @@ -*grease-squeak5-core -trimLeft: aBlock - "Trim characters satisfying the condition given in aBlock from the left side of the receiving string." - - ^ self trimLeft: aBlock right: [ :char | false ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/String.extension/instance/trimLeft.right..st b/repository/Grease-Squeak5-Core.package/String.extension/instance/trimLeft.right..st deleted file mode 100644 index eabf7e62..00000000 --- a/repository/Grease-Squeak5-Core.package/String.extension/instance/trimLeft.right..st +++ /dev/null @@ -1,12 +0,0 @@ -*grease-squeak5-core -trimLeft: aLeftBlock right: aRightBlock - "Trim characters satisfying the condition given in aLeftBlock from the left side and aRightBlock from the right sides of the receiving string." - - | left right | - left := 1. - right := self size. - [ left <= right and: [ aLeftBlock value: (self at: left) ] ] - whileTrue: [ left := left + 1 ]. - [ left <= right and: [ aRightBlock value: (self at: right) ] ] - whileTrue: [ right := right - 1 ]. - ^ self copyFrom: left to: right \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/String.extension/instance/trimLeft.st b/repository/Grease-Squeak5-Core.package/String.extension/instance/trimLeft.st deleted file mode 100644 index 3e588f1a..00000000 --- a/repository/Grease-Squeak5-Core.package/String.extension/instance/trimLeft.st +++ /dev/null @@ -1,5 +0,0 @@ -*grease-squeak5-core -trimLeft - "Trim separators from the left side of the receiving string." - - ^ self trimLeft: [ :char | char isSeparator ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/String.extension/instance/trimRight..st b/repository/Grease-Squeak5-Core.package/String.extension/instance/trimRight..st deleted file mode 100644 index b0ae73c0..00000000 --- a/repository/Grease-Squeak5-Core.package/String.extension/instance/trimRight..st +++ /dev/null @@ -1,5 +0,0 @@ -*grease-squeak5-core -trimRight: aBlock - "Trim characters satisfying the condition given in aBlock from the right side of the receiving string." - - ^ self trimLeft: [ :char | false ] right: aBlock \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/String.extension/instance/trimRight.st b/repository/Grease-Squeak5-Core.package/String.extension/instance/trimRight.st deleted file mode 100644 index dbaffc71..00000000 --- a/repository/Grease-Squeak5-Core.package/String.extension/instance/trimRight.st +++ /dev/null @@ -1,5 +0,0 @@ -*grease-squeak5-core -trimRight - "Trim separators from the right side of the receiving string." - - ^ self trimRight: [ :char | char isSeparator ] \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/String.extension/properties.json b/repository/Grease-Squeak5-Core.package/String.extension/properties.json deleted file mode 100644 index b20f2de3..00000000 --- a/repository/Grease-Squeak5-Core.package/String.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "String" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Symbol.extension/instance/greaseAsMutator.st b/repository/Grease-Squeak5-Core.package/Symbol.extension/instance/greaseAsMutator.st deleted file mode 100644 index 936381d3..00000000 --- a/repository/Grease-Squeak5-Core.package/Symbol.extension/instance/greaseAsMutator.st +++ /dev/null @@ -1,3 +0,0 @@ -*grease-squeak5-core -greaseAsMutator - ^ self asSimpleSetter \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/Symbol.extension/properties.json b/repository/Grease-Squeak5-Core.package/Symbol.extension/properties.json deleted file mode 100644 index 8c6bce81..00000000 --- a/repository/Grease-Squeak5-Core.package/Symbol.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "Symbol" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/WriteStream.extension/instance/greaseNext.putAll.startingAt..st b/repository/Grease-Squeak5-Core.package/WriteStream.extension/instance/greaseNext.putAll.startingAt..st deleted file mode 100644 index d428cd84..00000000 --- a/repository/Grease-Squeak5-Core.package/WriteStream.extension/instance/greaseNext.putAll.startingAt..st +++ /dev/null @@ -1,4 +0,0 @@ -*grease-squeak5-core -greaseNext: anInteger putAll: aCollection startingAt: startIndex - "Store the next anInteger elements from the given collection." - ^ self next: anInteger putAll: aCollection startingAt: startIndex \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/WriteStream.extension/properties.json b/repository/Grease-Squeak5-Core.package/WriteStream.extension/properties.json deleted file mode 100644 index 8688e80d..00000000 --- a/repository/Grease-Squeak5-Core.package/WriteStream.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "WriteStream" -} \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/monticello.meta/categories.st b/repository/Grease-Squeak5-Core.package/monticello.meta/categories.st deleted file mode 100644 index 00eecc3b..00000000 --- a/repository/Grease-Squeak5-Core.package/monticello.meta/categories.st +++ /dev/null @@ -1 +0,0 @@ -SystemOrganization addCategory: #'Grease-Squeak5-Core'! diff --git a/repository/Grease-Squeak5-Core.package/monticello.meta/initializers.st b/repository/Grease-Squeak5-Core.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Squeak5-Core.package/monticello.meta/package b/repository/Grease-Squeak5-Core.package/monticello.meta/package deleted file mode 100644 index a486f745..00000000 --- a/repository/Grease-Squeak5-Core.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'Grease-Squeak5-Core') \ No newline at end of file diff --git a/repository/Grease-Squeak5-Core.package/properties.json b/repository/Grease-Squeak5-Core.package/properties.json deleted file mode 100644 index 6f31cf5a..00000000 --- a/repository/Grease-Squeak5-Core.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak-Core.package/.filetree b/repository/Grease-Tests-Squeak-Core.package/.filetree deleted file mode 100644 index 8998102c..00000000 --- a/repository/Grease-Tests-Squeak-Core.package/.filetree +++ /dev/null @@ -1,4 +0,0 @@ -{ - "noMethodMetaData" : true, - "separateMethodMetaAndSource" : false, - "useCypressPropertiesFile" : true } diff --git a/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/README.md b/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testCompileIntoClassified.st b/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testCompileIntoClassified.st deleted file mode 100644 index 9af1697f..00000000 --- a/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testCompileIntoClassified.st +++ /dev/null @@ -1,15 +0,0 @@ -tests -testCompileIntoClassified - | source protocol selectors selector | - source := 'aMethod - ^ ''a result'''. - protocol := 'a-protocol'. - selector := #aMethod. - GRPlatform current - compile: source - into: self class - classified: protocol. - - [ self assert: (self class selectors includes: selector). - selectors := self class organization listAtCategoryNamed: protocol. - self assert: selectors = (Array with: selector) ] ensure: [ self class removeSelectorSilently: selector ] \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testDeprecationExceptionSet.st b/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testDeprecationExceptionSet.st deleted file mode 100644 index e43f8e40..00000000 --- a/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testDeprecationExceptionSet.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testDeprecationExceptionSet - | value | - value := [ - "intentially send Squeak instead of Grease deprecation message" - self deprecated: 'test'. - 'failed' ] - on: GRDeprecatedApiNotification, GRPlatform current deprecationExceptionSet - do: [ :e | 'passed' ]. - self assert: value = 'passed' \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testFullName.st b/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testFullName.st deleted file mode 100644 index 18bfc31b..00000000 --- a/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testFullName.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testFullName - self assert: Object fullName = 'Object' \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testGreaseIntegerOnCharacter.st b/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testGreaseIntegerOnCharacter.st deleted file mode 100644 index b62275e7..00000000 --- a/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testGreaseIntegerOnCharacter.st +++ /dev/null @@ -1,14 +0,0 @@ -tests -testGreaseIntegerOnCharacter - | character | - character := Character codePoint: 19982. - self assert: character greaseInteger = 19982. - character := Unicode value: 19982. - self assert: character greaseInteger = 19982. - LanguageEnvironment allSubclassesDo: [ :each | - (each class selectors includes: #leadingChar) ifTrue: [ - "fuck me gently with a chainsaw" - character := Character - leadingChar: each leadingChar - code: 19982. - self assert: character greaseInteger = 19982 ] ] \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testMessageSendValueWithPossibleArguments.st b/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testMessageSendValueWithPossibleArguments.st deleted file mode 100644 index 1f1bb911..00000000 --- a/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testMessageSendValueWithPossibleArguments.st +++ /dev/null @@ -1,33 +0,0 @@ -tests -testMessageSendValueWithPossibleArguments - | send | - send := MessageSend receiver: 1 selector: #+. - self assert: (send valueWithPossibleArguments: (Array with: 2)) = 3. - self assert: (send valueWithArguments: (Array with: 2)) = 3. - self assert: (send value: 2) = 3. - - send := MessageSend receiver: false selector: #not. - self assert: (send valueWithPossibleArguments: (Array with: 3)). - - send := MessageSend receiver: 1 selector: #+ arguments: #(2). - self assert: (send valueWithPossibleArguments: (Array with: 4)) = 3. - self assert: send value = 3. - - send := MessageSend receiver: Array selector: #with:with: arguments: #(1). - self assert: (send valueWithPossibleArguments: (Array with: 2)) size = 2. - - send := MessageSend receiver: Array selector: #with:with:. - self assert: (send value: 1 value: 2) size = 2. - - send := MessageSend - receiver: 1 - selector: #+. - self assert: send argumentCount = 1. - self assert: send arguments size = 0. - - send := MessageSend - receiver: 1 - selector: #+ - argument: 2. - self assert: send argumentCount isZero. - self assert: send arguments size = 1 diff --git a/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testWriteToFileInFolderBinary.st b/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testWriteToFileInFolderBinary.st deleted file mode 100644 index d9e95032..00000000 --- a/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testWriteToFileInFolderBinary.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testWriteToFileInFolderBinary - self writeToFile: #(80 104 39 110 103 108 117 105 32 109 103 108 119 39 110 97 102 104 32 67 116 104 117 108 104 117 32 82 39 108 121 101 104 32 119 103 97 104 39 110 97 103 108 32 102 104 116 97 103 110) asByteArray \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testWriteToFileInFolderText.st b/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testWriteToFileInFolderText.st deleted file mode 100644 index 0d513815..00000000 --- a/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/testWriteToFileInFolderText.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testWriteToFileInFolderText - self writeToFile: 'Ph''nglui mglw''nafh Cthulhu R''lyeh wgah''nagl fhtagn' \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/writeToFile..st b/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/writeToFile..st deleted file mode 100644 index f773658a..00000000 --- a/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/instance/writeToFile..st +++ /dev/null @@ -1,11 +0,0 @@ -private -writeToFile: aStringOrByteArray - | fileName directory | - fileName := 'GRPharoPlatformTest'. - directory := FileDirectory default. - [ GRPlatform current - write: aStringOrByteArray - toFile: fileName - inFolder: directory pathName - ] ensure: [ - directory deleteFileNamed: fileName ] \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/methodProperties.json b/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/methodProperties.json deleted file mode 100644 index 90be7d49..00000000 --- a/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/methodProperties.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "class" : { - }, - "instance" : { - "testCompileIntoClassified" : " 7/15/2024 14:23:50", - "testDeprecationExceptionSet" : "pmm 7/15/2024 14:27", - "testFullName" : " 7/15/2024 14:23:50", - "testGreaseIntegerOnCharacter" : " 7/15/2024 14:23:50", - "testMessageSendValueWithPossibleArguments" : " 7/15/2024 14:23:50", - "testWriteToFileInFolderBinary" : " 7/15/2024 14:23:50", - "testWriteToFileInFolderText" : " 7/15/2024 14:23:50", - "writeToFile:" : " 7/15/2024 14:23:50" } } diff --git a/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/properties.json b/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/properties.json deleted file mode 100644 index 286d9322..00000000 --- a/repository/Grease-Tests-Squeak-Core.package/GRSqueakPlatformTest.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Tests-Squeak-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRSqueakPlatformTest", - "pools" : [ - ], - "super" : "TestCase", - "type" : "normal" } diff --git a/repository/Grease-Tests-Squeak-Core.package/monticello.meta/categories.st b/repository/Grease-Tests-Squeak-Core.package/monticello.meta/categories.st deleted file mode 100644 index 7d76d30a..00000000 --- a/repository/Grease-Tests-Squeak-Core.package/monticello.meta/categories.st +++ /dev/null @@ -1 +0,0 @@ -SystemOrganization addCategory: #'Grease-Tests-Squeak-Core'! diff --git a/repository/Grease-Tests-Squeak-Core.package/monticello.meta/initializers.st b/repository/Grease-Tests-Squeak-Core.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Tests-Squeak-Core.package/monticello.meta/package b/repository/Grease-Tests-Squeak-Core.package/monticello.meta/package deleted file mode 100644 index eacb1dea..00000000 --- a/repository/Grease-Tests-Squeak-Core.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'Grease-Tests-Squeak-Core') \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak-Core.package/monticello.meta/version b/repository/Grease-Tests-Squeak-Core.package/monticello.meta/version deleted file mode 100644 index 63bcd48f..00000000 --- a/repository/Grease-Tests-Squeak-Core.package/monticello.meta/version +++ /dev/null @@ -1 +0,0 @@ -(name 'Grease-Tests-Squeak-Core-pmm.2' message 'Add test for deprecationExceptionSet' id '1764fd6f-559d-4a3f-b218-e77d9399ad2d' date '16 July 2024' time '9:16:34.038751 pm' author 'pmm' ancestors ((name 'Grease-Tests-Squeak-Core-cypress.1' message 'fabricated from a Cypress format repository' id 'f3482edf-64f3-4489-bab1-2084b41585e7' date '15 July 2024' time '2:23:50.812508 pm' author '' ancestors () stepChildren ())) stepChildren ()) \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak-Core.package/properties.json b/repository/Grease-Tests-Squeak-Core.package/properties.json deleted file mode 100644 index f037444a..00000000 --- a/repository/Grease-Tests-Squeak-Core.package/properties.json +++ /dev/null @@ -1,2 +0,0 @@ -{ - } diff --git a/repository/Grease-Tests-Squeak5-Core.package/.filetree b/repository/Grease-Tests-Squeak5-Core.package/.filetree deleted file mode 100644 index 8998102c..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/.filetree +++ /dev/null @@ -1,4 +0,0 @@ -{ - "noMethodMetaData" : true, - "separateMethodMetaAndSource" : false, - "useCypressPropertiesFile" : true } diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPackage.extension/class/greaseTestsSqueak5Core.st b/repository/Grease-Tests-Squeak5-Core.package/GRPackage.extension/class/greaseTestsSqueak5Core.st deleted file mode 100644 index a7966bb7..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPackage.extension/class/greaseTestsSqueak5Core.st +++ /dev/null @@ -1,9 +0,0 @@ -*grease-tests-squeak5-core -greaseTestsSqueak5Core - ^ self new - name: 'Grease-Tests-Squeak5-Core'; - description: 'Unit tests for the package Grease-Squeak5-Core.'; - addDependency: 'Grease-Squeak5-Core'; - addDependency: 'Grease-Tests-Core'; - url: #seasideUrl; - yourself \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPackage.extension/properties.json b/repository/Grease-Tests-Squeak5-Core.package/GRPackage.extension/properties.json deleted file mode 100644 index dd2faaf0..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPackage.extension/properties.json +++ /dev/null @@ -1,2 +0,0 @@ -{ - "name" : "GRPackage" } diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/README.md b/repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/instance/assert.next.startingAt.gives..st b/repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/instance/assert.next.startingAt.gives..st deleted file mode 100644 index 8ff0ff41..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/instance/assert.next.startingAt.gives..st +++ /dev/null @@ -1,7 +0,0 @@ -private -assert: aString next: anInteger startingAt: startIndex gives: anEncodedString - | actual | - actual := String streamContents: [ :stream | - ((GRCodec forEncoding: 'utf-8') encoderFor: stream) - greaseNext: anInteger putAll: aString startingAt: startIndex ]. - self assert: actual = anEncodedString \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/instance/assertEncodingIgnoresLanguageTat..st b/repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/instance/assertEncodingIgnoresLanguageTat..st deleted file mode 100644 index 622b446b..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/instance/assertEncodingIgnoresLanguageTat..st +++ /dev/null @@ -1,7 +0,0 @@ -private -assertEncodingIgnoresLanguageTat: aStringWithLanguageTag - | codec withLanguageTag withoutLanguageTag | - codec := GRCodec forEncoding: 'utf-8'. - withLanguageTag := codec encode: aStringWithLanguageTag. - withoutLanguageTag := codec encode: (self stripLeadingCharFrom: aStringWithLanguageTag). - self assert: withLanguageTag = withoutLanguageTag \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/instance/stripLeadingCharFrom..st b/repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/instance/stripLeadingCharFrom..st deleted file mode 100644 index 8f85d506..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/instance/stripLeadingCharFrom..st +++ /dev/null @@ -1,8 +0,0 @@ -private -stripLeadingCharFrom: aString - "strips the leadingChar from every character in the given string" - ^ String streamContents: [ :stream | - aString do: [ :each | - stream nextPut: (Character - leadingChar: 0 - code: each greaseInteger) ] ] \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/instance/testAllCodesIncludesIso88591.st b/repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/instance/testAllCodesIncludesIso88591.st deleted file mode 100644 index 3922305f..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/instance/testAllCodesIncludesIso88591.st +++ /dev/null @@ -1,4 +0,0 @@ -tests -testAllCodesIncludesIso88591 - self assert: (GRCodec allCodecs anySatisfy: [ :each | - each name = 'iso-8859-1' ]) \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/instance/testGreaseNextPutAllStartingAt.st b/repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/instance/testGreaseNextPutAllStartingAt.st deleted file mode 100644 index dba72236..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/instance/testGreaseNextPutAllStartingAt.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testGreaseNextPutAllStartingAt - | umlaut encodedUmlaut | - umlaut := String with: (Character codePoint: 228). - encodedUmlaut := String with: (Character codePoint: 195) with: (Character codePoint: 164). - self assert: 'ab' next: 1 startingAt: 1 gives: 'a'. - self assert: 'a', umlaut, 'b' next: 1 startingAt: 1 gives: 'a'. - self assert: 'ab', umlaut next: 1 startingAt: 1 gives: 'a'. - self assert: 'a', umlaut, 'b' next: 2 startingAt: 1gives: 'a', encodedUmlaut. - self assert: 'a', umlaut, 'b' next: 1 startingAt: 2 gives: encodedUmlaut. - self assert: 'a', umlaut, 'b' next: 2 startingAt: 2 gives: encodedUmlaut, 'b'. - self assert: 'a', umlaut, umlaut next: 2 startingAt: 2 gives: encodedUmlaut, encodedUmlaut. - self assert: 'ab', umlaut, 'b', umlaut next: 3 startingAt: 2 gives: 'b', encodedUmlaut, 'b' \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/instance/testLanguageTag.st b/repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/instance/testLanguageTag.st deleted file mode 100644 index 57a2a02c..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/instance/testLanguageTag.st +++ /dev/null @@ -1,16 +0,0 @@ -tests -testLanguageTag - "this makes sure the encoder doesn't fall on the nose with unicode" - "Make Japanese String from unicode. see http://www.unicode.org/charts/PDF/U3040.pdf" - | leading hiraA hiraO hiraAO | - leading := (Smalltalk classNamed: #JapaneseEnvironment) leadingChar. - hiraA := (Character - leadingChar: leading - code: 12354) greaseString. "HIRAGANA LETTER A" - hiraO := (Character - leadingChar: leading - code: 12362) greaseString. "HIRAGANA LETTER O" - hiraAO := hiraA , hiraO. - self assertEncodingIgnoresLanguageTat: hiraA. - self assertEncodingIgnoresLanguageTat: hiraO. - self assertEncodingIgnoresLanguageTat: hiraAO \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/properties.json b/repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/properties.json deleted file mode 100644 index 752708a7..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPharoCodecTest.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Tests-Squeak5-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRPharoCodecTest", - "pools" : [ - ], - "super" : "TestCase", - "type" : "normal" } diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/README.md b/repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/instance/expectedFailures.st b/repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/instance/expectedFailures.st deleted file mode 100644 index 197de855..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/instance/expectedFailures.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -expectedFailures - ^ #(testFromStringThreeDigit) \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/instance/testAllColors.st b/repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/instance/testAllColors.st deleted file mode 100644 index b483e1a5..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/instance/testAllColors.st +++ /dev/null @@ -1,12 +0,0 @@ -testing -testAllColors - | toTest | - toTest := #( - 16r000000 16r000001 16r000101 16r010101 16r010100 16r010000 16r001001 16r101001 - 16r001122 16r334455 16r667788 16r99AABB 16rCCDDEE 16rFF0011 - 16r123456 16r789ABC 16rDEFEDC - 16rFEFEEF 16rFEFEFF 16rFEFEFE 16rFFFEFE 16rFFFFFE 16rFFFFFF). - toTest do: [ :int | - | hex | - hex := int printPaddedWith: $0 to: 6 base: 16. - self assert: (Color fromString: hex) asHTMLColor asLowercase = ('#', hex) asLowercase ] \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/instance/testColorAsHtmlColor.st b/repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/instance/testColorAsHtmlColor.st deleted file mode 100644 index fcb5dcbb..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/instance/testColorAsHtmlColor.st +++ /dev/null @@ -1,19 +0,0 @@ -testing -testColorAsHtmlColor - "test for: - Color >> #hex - | aStream | - aStream := (String new: 6) writeStream. - aStream nextPutAll: (((self red * 255) asInteger printStringBase: 16) - padded: #left to: 2 with: $0). - aStream nextPutAll: (((self green * 255) asInteger printStringBase: 16) - padded: #left to: 2 with: $0). - aStream nextPutAll: (((self blue * 255) asInteger printStringBase: 16) - padded: #left to: 2 with: $0). - ^ aStream contents - - Color >> #asHTMLColor - ^ '#', self hex" - self assert: (#('#ffffff' '#FFFFFF' ) includes: Color white asHTMLColor). - self assert: (Color black asHTMLColor = '#000000'). - self assert: (#('#ff0000' '#FF0000' ) includes: Color red asHTMLColor) \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/instance/testFromSixDigit.st b/repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/instance/testFromSixDigit.st deleted file mode 100644 index 639a183a..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/instance/testFromSixDigit.st +++ /dev/null @@ -1,6 +0,0 @@ -testing -testFromSixDigit - self assert: (Color fromString: 'ff0000') = Color red. - self assert: (Color fromString: 'FF0000') = Color red. - self assert: (Color fromString: '#ff0000') = Color red. - self assert: (Color fromString: '#FF0000') = Color red diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/instance/testFromStringName.st b/repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/instance/testFromStringName.st deleted file mode 100644 index 821c945e..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/instance/testFromStringName.st +++ /dev/null @@ -1,6 +0,0 @@ -testing -testFromStringName - self assert: (Color fromString: 'red') = Color red. - self assert: (Color fromString: 'RED') = Color red. - self assert: (Color fromString: '#red') = Color red. - self assert: (Color fromString: '#RED') = Color red diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/instance/testFromStringSixDigit.st b/repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/instance/testFromStringSixDigit.st deleted file mode 100644 index e9b720fc..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/instance/testFromStringSixDigit.st +++ /dev/null @@ -1,6 +0,0 @@ -testing -testFromStringSixDigit - self assert: (Color fromString: 'ff0000') = Color red. - self assert: (Color fromString: 'FF0000') = Color red. - self assert: (Color fromString: '#ff0000') = Color red. - self assert: (Color fromString: '#FF0000') = Color red diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/instance/testFromStringThreeDigit.st b/repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/instance/testFromStringThreeDigit.st deleted file mode 100644 index 3ae0aeac..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/instance/testFromStringThreeDigit.st +++ /dev/null @@ -1,6 +0,0 @@ -testing -testFromStringThreeDigit - self assert: (Color fromString: 'f00') = Color red. - self assert: (Color fromString: 'F00') = Color red. - self assert: (Color fromString: '#f00') = Color red. - self assert: (Color fromString: '#F00') = Color red \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/properties.json b/repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/properties.json deleted file mode 100644 index 7500bb50..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPharoColorTest.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Tests-Squeak5-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRPharoColorTest", - "pools" : [ - ], - "super" : "TestCase", - "type" : "normal" } diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoGenericCodecTest.class/README.md b/repository/Grease-Tests-Squeak5-Core.package/GRPharoGenericCodecTest.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoGenericCodecTest.class/instance/testNoAmbiguities.st b/repository/Grease-Tests-Squeak5-Core.package/GRPharoGenericCodecTest.class/instance/testNoAmbiguities.st deleted file mode 100644 index 28ee8c57..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPharoGenericCodecTest.class/instance/testNoAmbiguities.st +++ /dev/null @@ -1,6 +0,0 @@ -tests -testNoAmbiguities - #('utf-8' 'UTF-8' 'utf8') do: [ :each | - self deny: (GRPharoGenericCodec supportsEncoding: each) ]. - GRPharoLatin1Codec supportedEncodingNames do: [ :each | - self deny: (GRPharoGenericCodec supportsEncoding: each) ] \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoGenericCodecTest.class/properties.json b/repository/Grease-Tests-Squeak5-Core.package/GRPharoGenericCodecTest.class/properties.json deleted file mode 100644 index f80e34e4..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPharoGenericCodecTest.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Tests-Squeak5-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRPharoGenericCodecTest", - "pools" : [ - ], - "super" : "TestCase", - "type" : "normal" } diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/README.md b/repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/instance/testCompileIntoClassified.st b/repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/instance/testCompileIntoClassified.st deleted file mode 100644 index 9af1697f..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/instance/testCompileIntoClassified.st +++ /dev/null @@ -1,15 +0,0 @@ -tests -testCompileIntoClassified - | source protocol selectors selector | - source := 'aMethod - ^ ''a result'''. - protocol := 'a-protocol'. - selector := #aMethod. - GRPlatform current - compile: source - into: self class - classified: protocol. - - [ self assert: (self class selectors includes: selector). - selectors := self class organization listAtCategoryNamed: protocol. - self assert: selectors = (Array with: selector) ] ensure: [ self class removeSelectorSilently: selector ] \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/instance/testFullName.st b/repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/instance/testFullName.st deleted file mode 100644 index 18bfc31b..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/instance/testFullName.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testFullName - self assert: Object fullName = 'Object' \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/instance/testGreaseIntegerOnCharacter.st b/repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/instance/testGreaseIntegerOnCharacter.st deleted file mode 100644 index b62275e7..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/instance/testGreaseIntegerOnCharacter.st +++ /dev/null @@ -1,14 +0,0 @@ -tests -testGreaseIntegerOnCharacter - | character | - character := Character codePoint: 19982. - self assert: character greaseInteger = 19982. - character := Unicode value: 19982. - self assert: character greaseInteger = 19982. - LanguageEnvironment allSubclassesDo: [ :each | - (each class selectors includes: #leadingChar) ifTrue: [ - "fuck me gently with a chainsaw" - character := Character - leadingChar: each leadingChar - code: 19982. - self assert: character greaseInteger = 19982 ] ] \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/instance/testMessageSendValueWithPossibleArguments.st b/repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/instance/testMessageSendValueWithPossibleArguments.st deleted file mode 100644 index 1f1bb911..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/instance/testMessageSendValueWithPossibleArguments.st +++ /dev/null @@ -1,33 +0,0 @@ -tests -testMessageSendValueWithPossibleArguments - | send | - send := MessageSend receiver: 1 selector: #+. - self assert: (send valueWithPossibleArguments: (Array with: 2)) = 3. - self assert: (send valueWithArguments: (Array with: 2)) = 3. - self assert: (send value: 2) = 3. - - send := MessageSend receiver: false selector: #not. - self assert: (send valueWithPossibleArguments: (Array with: 3)). - - send := MessageSend receiver: 1 selector: #+ arguments: #(2). - self assert: (send valueWithPossibleArguments: (Array with: 4)) = 3. - self assert: send value = 3. - - send := MessageSend receiver: Array selector: #with:with: arguments: #(1). - self assert: (send valueWithPossibleArguments: (Array with: 2)) size = 2. - - send := MessageSend receiver: Array selector: #with:with:. - self assert: (send value: 1 value: 2) size = 2. - - send := MessageSend - receiver: 1 - selector: #+. - self assert: send argumentCount = 1. - self assert: send arguments size = 0. - - send := MessageSend - receiver: 1 - selector: #+ - argument: 2. - self assert: send argumentCount isZero. - self assert: send arguments size = 1 diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/instance/testWriteToFileInFolderBinary.st b/repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/instance/testWriteToFileInFolderBinary.st deleted file mode 100644 index d9e95032..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/instance/testWriteToFileInFolderBinary.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testWriteToFileInFolderBinary - self writeToFile: #(80 104 39 110 103 108 117 105 32 109 103 108 119 39 110 97 102 104 32 67 116 104 117 108 104 117 32 82 39 108 121 101 104 32 119 103 97 104 39 110 97 103 108 32 102 104 116 97 103 110) asByteArray \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/instance/testWriteToFileInFolderText.st b/repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/instance/testWriteToFileInFolderText.st deleted file mode 100644 index 0d513815..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/instance/testWriteToFileInFolderText.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testWriteToFileInFolderText - self writeToFile: 'Ph''nglui mglw''nafh Cthulhu R''lyeh wgah''nagl fhtagn' \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/instance/writeToFile..st b/repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/instance/writeToFile..st deleted file mode 100644 index f773658a..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/instance/writeToFile..st +++ /dev/null @@ -1,11 +0,0 @@ -private -writeToFile: aStringOrByteArray - | fileName directory | - fileName := 'GRPharoPlatformTest'. - directory := FileDirectory default. - [ GRPlatform current - write: aStringOrByteArray - toFile: fileName - inFolder: directory pathName - ] ensure: [ - directory deleteFileNamed: fileName ] \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/properties.json b/repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/properties.json deleted file mode 100644 index 3ceb357c..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPharoPlatformTest.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "category" : "Grease-Tests-Squeak5-Core", - "classinstvars" : [ - ], - "classvars" : [ - ], - "commentStamp" : "", - "instvars" : [ - ], - "name" : "GRPharoPlatformTest", - "pools" : [ - ], - "super" : "TestCase", - "type" : "normal" } diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPlatformTest.extension/instance/testScaledDecimalGreaseString.st b/repository/Grease-Tests-Squeak5-Core.package/GRPlatformTest.extension/instance/testScaledDecimalGreaseString.st deleted file mode 100644 index 569e9ce3..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPlatformTest.extension/instance/testScaledDecimalGreaseString.st +++ /dev/null @@ -1,5 +0,0 @@ -*grease-tests-squeak5-core -testScaledDecimalGreaseString - self assert: 123.4s1 greaseString = '123.4'. - self assert: 123.4s2 greaseString = '123.40'. - self assert: 123s0 greaseString = '123' \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPlatformTest.extension/instance/writeToFile.withFileNameDo..st b/repository/Grease-Tests-Squeak5-Core.package/GRPlatformTest.extension/instance/writeToFile.withFileNameDo..st deleted file mode 100644 index f048cc47..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPlatformTest.extension/instance/writeToFile.withFileNameDo..st +++ /dev/null @@ -1,12 +0,0 @@ -*grease-tests-squeak5-core -writeToFile: aStringOrByteArray withFileNameDo: aBlock - | fileName directory | - fileName := 'GRSqueakPlatformTest'. - directory := FileDirectory default. - [ GRPlatform current - write: aStringOrByteArray - toFile: fileName - inFolder: directory fullName. - aBlock value: directory fullName,GRPlatform current pathSeparator,fileName - ] ensure: [ - directory deleteFileNamed: fileName ] \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPlatformTest.extension/properties.json b/repository/Grease-Tests-Squeak5-Core.package/GRPlatformTest.extension/properties.json deleted file mode 100644 index ab3f269a..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPlatformTest.extension/properties.json +++ /dev/null @@ -1,2 +0,0 @@ -{ - "name" : "GRPlatformTest" } diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPrinterTest.extension/instance/testScaledDecimalPrinter.st b/repository/Grease-Tests-Squeak5-Core.package/GRPrinterTest.extension/instance/testScaledDecimalPrinter.st deleted file mode 100644 index aeee46dd..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPrinterTest.extension/instance/testScaledDecimalPrinter.st +++ /dev/null @@ -1,19 +0,0 @@ -*grease-tests-squeak5-core -testScaledDecimalPrinter - | converter | - converter := GRNumberPrinter new precision: 2. - self assert: (converter print: 1.009s3) = '1.01'. - self assert: (converter print: 1.01s2) = '1.01'. - self assert: (converter print: 1.019s3) = '1.02'. - self assert: (converter print: 1.25s2) = '1.25'. - self assert: (converter print: 1.254s3) = '1.25'. - self assert: (converter print: 1.256s3) = '1.26'. - self assert: (converter print: 1.009s3) = '1.01'. - self assert: (converter print: 0.9s1) = '0.90'. - self assert: (converter print: 0.99s2) = '0.99'. - self assert: (converter print: 0.999s3) = '1.00'. - self assert: (converter print: 0.9999s4) = '1.00'. - self assert: (converter print: -0.9s1) = '0.90'. - self assert: (converter print: -0.99s2) = '0.99'. - self assert: (converter print: -0.999s3) = '1.00'. - self assert: (converter print: -0.9999s4) = '1.00' \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRPrinterTest.extension/properties.json b/repository/Grease-Tests-Squeak5-Core.package/GRPrinterTest.extension/properties.json deleted file mode 100644 index 125a8c96..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRPrinterTest.extension/properties.json +++ /dev/null @@ -1,2 +0,0 @@ -{ - "name" : "GRPrinterTest" } diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRUtf8CodecTest.extension/instance/expectedFailures.st b/repository/Grease-Tests-Squeak5-Core.package/GRUtf8CodecTest.extension/instance/expectedFailures.st deleted file mode 100644 index 6be346ad..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRUtf8CodecTest.extension/instance/expectedFailures.st +++ /dev/null @@ -1,3 +0,0 @@ -*grease-tests-squeak5-core -expectedFailures - ^ #(testCodecUtf8ShortestForm) \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak5-Core.package/GRUtf8CodecTest.extension/properties.json b/repository/Grease-Tests-Squeak5-Core.package/GRUtf8CodecTest.extension/properties.json deleted file mode 100644 index 8b1a3361..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/GRUtf8CodecTest.extension/properties.json +++ /dev/null @@ -1,2 +0,0 @@ -{ - "name" : "GRUtf8CodecTest" } diff --git a/repository/Grease-Tests-Squeak5-Core.package/monticello.meta/categories.st b/repository/Grease-Tests-Squeak5-Core.package/monticello.meta/categories.st deleted file mode 100644 index ea0af9be..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/monticello.meta/categories.st +++ /dev/null @@ -1 +0,0 @@ -SystemOrganization addCategory: #'Grease-Tests-Squeak5-Core'! diff --git a/repository/Grease-Tests-Squeak5-Core.package/monticello.meta/initializers.st b/repository/Grease-Tests-Squeak5-Core.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29b..00000000 diff --git a/repository/Grease-Tests-Squeak5-Core.package/monticello.meta/package b/repository/Grease-Tests-Squeak5-Core.package/monticello.meta/package deleted file mode 100644 index 335d47b8..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'Grease-Tests-Squeak5-Core') \ No newline at end of file diff --git a/repository/Grease-Tests-Squeak5-Core.package/properties.json b/repository/Grease-Tests-Squeak5-Core.package/properties.json deleted file mode 100644 index f037444a..00000000 --- a/repository/Grease-Tests-Squeak5-Core.package/properties.json +++ /dev/null @@ -1,2 +0,0 @@ -{ - } From bb712dd83ad9cb7371d53823ae83e266d711c2a5 Mon Sep 17 00:00:00 2001 From: Philippe Marschall Date: Thu, 10 Jul 2025 16:26:28 +0200 Subject: [PATCH 245/254] Fixup --- .../PackageManifest.class/properties.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 repository/Grease-Squeak6-Core.package/PackageManifest.class/properties.json diff --git a/repository/Grease-Squeak6-Core.package/PackageManifest.class/properties.json b/repository/Grease-Squeak6-Core.package/PackageManifest.class/properties.json new file mode 100644 index 00000000..9bda5689 --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/PackageManifest.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "Grease-Squeak6-Core", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "PackageManifest", + "pools" : [ + ], + "super" : "Object", + "type" : "normal" } From 88c9fd5898bafb10e1037fc95b82080d493a892c Mon Sep 17 00:00:00 2001 From: Philippe Marschall Date: Thu, 10 Jul 2025 17:00:15 +0200 Subject: [PATCH 246/254] Fixup 2 --- .../GRSqueakLatin1Codec.class/instance/encoderFor..st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakLatin1Codec.class/instance/encoderFor..st b/repository/Grease-Squeak6-Core.package/GRSqueakLatin1Codec.class/instance/encoderFor..st index 20102849..1a17fd93 100644 --- a/repository/Grease-Squeak6-Core.package/GRSqueakLatin1Codec.class/instance/encoderFor..st +++ b/repository/Grease-Squeak6-Core.package/GRSqueakLatin1Codec.class/instance/encoderFor..st @@ -1,4 +1,4 @@ conversion encoderFor: aWriteStream "wrap to avoid String vs ByteArray issues" - ^ GRPharoLatin1CodecStream on: aWriteStream \ No newline at end of file + ^ GRSqueakLatin1CodecStream on: aWriteStream \ No newline at end of file From 93871a5dbe7206e62ea8c565dc7e5d48b44a7d2c Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 13 Jul 2025 16:47:55 +0200 Subject: [PATCH 247/254] revert Squeak filetree artefact changes --- repository/BaselineOfGrease.package/.filetree | 5 +++-- .../BaselineOfGrease.package/monticello.meta/categories.st | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/repository/BaselineOfGrease.package/.filetree b/repository/BaselineOfGrease.package/.filetree index 8998102c..57a67973 100644 --- a/repository/BaselineOfGrease.package/.filetree +++ b/repository/BaselineOfGrease.package/.filetree @@ -1,4 +1,5 @@ { - "noMethodMetaData" : true, "separateMethodMetaAndSource" : false, - "useCypressPropertiesFile" : true } + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/repository/BaselineOfGrease.package/monticello.meta/categories.st b/repository/BaselineOfGrease.package/monticello.meta/categories.st index aad806f8..f7c53ae3 100644 --- a/repository/BaselineOfGrease.package/monticello.meta/categories.st +++ b/repository/BaselineOfGrease.package/monticello.meta/categories.st @@ -1 +1 @@ -SystemOrganization addCategory: #BaselineOfGrease! +self packageOrganizer ensurePackage: #BaselineOfGrease withTags: #()! From c5d70682ebaba9efb45c1a257163b9af5b7fa3dd Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 13 Jul 2025 17:05:27 +0200 Subject: [PATCH 248/254] Grease version 1.19.0 --- .../Grease-Core.package/GRPlatform.class/instance/version.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/version.st b/repository/Grease-Core.package/GRPlatform.class/instance/version.st index a4bed8ce..61899e24 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/version.st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/version.st @@ -2,5 +2,5 @@ version info version "Answer the Grease version" - ^ (GRVersion major: 1 minor: 18 revision: 3) + ^ (GRVersion major: 1 minor: 19 revision: 0) yourself \ No newline at end of file From a1954f83a831eeba17db71842483308dcddd9bc9 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Thu, 24 Jul 2025 16:43:44 +0300 Subject: [PATCH 249/254] sourcecodestring retrieval across dialects (#189) --- .../instance/compile.into.classified..st | 2 +- .../GRPlatform.class/instance/removeSelector.from..st | 2 +- .../GRPlatform.class/instance/sourceCodeStringOf..st | 5 +++++ .../instance/sourceCodeStringOf..st | 5 +++++ .../instance/sourceCodeStringOf..st | 5 +++++ .../instance/sourceCodeStringOf..st | 5 +++++ .../instance/sourceCodeStringOf..st | 5 +++++ .../instance/sourceCodeStringOf..st | 5 +++++ .../instance/testCompileAsciiString.st | 2 +- .../instance/testCompileUnicodeString.st | 2 +- .../instance/testSourceCodeStringOf.st | 11 +++++++++++ 11 files changed, 45 insertions(+), 4 deletions(-) create mode 100644 repository/Grease-Core.package/GRPlatform.class/instance/sourceCodeStringOf..st create mode 100644 repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/sourceCodeStringOf..st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/sourceCodeStringOf..st create mode 100644 repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/sourceCodeStringOf..st create mode 100644 repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/sourceCodeStringOf..st create mode 100644 repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/sourceCodeStringOf..st create mode 100644 repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testSourceCodeStringOf.st diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/compile.into.classified..st b/repository/Grease-Core.package/GRPlatform.class/instance/compile.into.classified..st index 419d7169..0f0bbaf0 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/compile.into.classified..st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/compile.into.classified..st @@ -1,4 +1,4 @@ -file library +meta-object-protocol compile: aString into: aClass classified: aSymbol "The trick here is to be as silently a possible so that the package is not marked dirty when running WAFileLibrary test. This also makes running tests much faster." diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/removeSelector.from..st b/repository/Grease-Core.package/GRPlatform.class/instance/removeSelector.from..st index 2c0c7aed..5e1bfedd 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/removeSelector.from..st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/removeSelector.from..st @@ -1,3 +1,3 @@ -file library +meta-object-protocol removeSelector: aSymbol from: aClass self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/sourceCodeStringOf..st b/repository/Grease-Core.package/GRPlatform.class/instance/sourceCodeStringOf..st new file mode 100644 index 00000000..76902771 --- /dev/null +++ b/repository/Grease-Core.package/GRPlatform.class/instance/sourceCodeStringOf..st @@ -0,0 +1,5 @@ +meta-object-protocol +sourceCodeStringOf: aCompiledMethod + "Return a String with the source code for a compiled method." + + self subclassResponsibility \ No newline at end of file diff --git a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/sourceCodeStringOf..st b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/sourceCodeStringOf..st new file mode 100644 index 00000000..d34a7e25 --- /dev/null +++ b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/sourceCodeStringOf..st @@ -0,0 +1,5 @@ +meta-object-protocol +sourceCodeStringOf: aCompiledMethod + "Return a String with the source code for a compiled method." + + ^ self convertToSmalltalkNewlines: aCompiledMethod _sourceString \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/sourceCodeStringOf..st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/sourceCodeStringOf..st new file mode 100644 index 00000000..3ed3d44c --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/sourceCodeStringOf..st @@ -0,0 +1,5 @@ +meta-object-protocol +sourceCodeStringOf: aCompiledMethod + "Return a String with the source code for a compiled method." + + ^ self convertToSmalltalkNewlines: aCompiledMethod sourceCode \ No newline at end of file diff --git a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/sourceCodeStringOf..st b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/sourceCodeStringOf..st new file mode 100644 index 00000000..3ed3d44c --- /dev/null +++ b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/sourceCodeStringOf..st @@ -0,0 +1,5 @@ +meta-object-protocol +sourceCodeStringOf: aCompiledMethod + "Return a String with the source code for a compiled method." + + ^ self convertToSmalltalkNewlines: aCompiledMethod sourceCode \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/sourceCodeStringOf..st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/sourceCodeStringOf..st new file mode 100644 index 00000000..3ed3d44c --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/sourceCodeStringOf..st @@ -0,0 +1,5 @@ +meta-object-protocol +sourceCodeStringOf: aCompiledMethod + "Return a String with the source code for a compiled method." + + ^ self convertToSmalltalkNewlines: aCompiledMethod sourceCode \ No newline at end of file diff --git a/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/sourceCodeStringOf..st b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/sourceCodeStringOf..st new file mode 100644 index 00000000..6131cf3d --- /dev/null +++ b/repository/Grease-Squeak6-Core.package/GRSqueakPlatform.class/instance/sourceCodeStringOf..st @@ -0,0 +1,5 @@ +meta-object-protocol +sourceCodeStringOf: aCompiledMethod + "Return a String with the source code for a compiled method." + + ^ self convertToSmalltalkNewlines: aCompiledMethod getSourceFromFile \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testCompileAsciiString.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testCompileAsciiString.st index 6b5d9978..cac5ef2b 100644 --- a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testCompileAsciiString.st +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testCompileAsciiString.st @@ -1,4 +1,4 @@ -tests-file library +tests-mop testCompileAsciiString | selector expected source | diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testCompileUnicodeString.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testCompileUnicodeString.st index a02b1ac5..116559bd 100644 --- a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testCompileUnicodeString.st +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testCompileUnicodeString.st @@ -1,4 +1,4 @@ -tests-file library +tests-mop testCompileUnicodeString | selector expected source | selector := #stringMethod. diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testSourceCodeStringOf.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testSourceCodeStringOf.st new file mode 100644 index 00000000..64a5c334 --- /dev/null +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testSourceCodeStringOf.st @@ -0,0 +1,11 @@ +tests-mop +testSourceCodeStringOf + + | sourceCodeString | + sourceCodeString := GRPlatform current sourceCodeStringOf: GRPlatform >> #sourceCodeStringOf:. + self + assert: sourceCodeString + equals: 'sourceCodeStringOf: aCompiledMethod + "Return a String with the source code for a compiled method." + + self subclassResponsibility' \ No newline at end of file From e03e7dc13637a82f5a563e5fbda48d0a5ec95aa7 Mon Sep 17 00:00:00 2001 From: Patrik Date: Fri, 12 Sep 2025 14:28:23 +0200 Subject: [PATCH 250/254] Pointing to current URLs and fixing typo --- .../Grease-Core.package/GRPackage.class/instance/greaseUrl.st | 3 ++- .../GRPackage.class/instance/seasideAddonsUrl.st | 3 ++- .../GRPackage.class/instance/seasideLGPLUrl.st | 3 ++- .../GRPackage.class/instance/seasideUrl.st | 3 ++- .../GRPackageTest.class/instance/testDescription.st | 4 ++-- 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/repository/Grease-Core.package/GRPackage.class/instance/greaseUrl.st b/repository/Grease-Core.package/GRPackage.class/instance/greaseUrl.st index eeb82dc0..29d3253c 100644 --- a/repository/Grease-Core.package/GRPackage.class/instance/greaseUrl.st +++ b/repository/Grease-Core.package/GRPackage.class/instance/greaseUrl.st @@ -1,3 +1,4 @@ accessing-repositories greaseUrl - ^ 'http://smalltalkhub.com/mc/Seaside/Grease11/main' \ No newline at end of file + "The original URL: http://smalltalkhub.com/mc/Seaside/Grease11/main" + ^ 'https://github.com/SeasideSt/Grease' \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPackage.class/instance/seasideAddonsUrl.st b/repository/Grease-Core.package/GRPackage.class/instance/seasideAddonsUrl.st index 4318263e..9c8af671 100644 --- a/repository/Grease-Core.package/GRPackage.class/instance/seasideAddonsUrl.st +++ b/repository/Grease-Core.package/GRPackage.class/instance/seasideAddonsUrl.st @@ -1,3 +1,4 @@ accessing-repositories seasideAddonsUrl - ^ 'http://smalltalkhub.com/mc/Seaside/Seaside30Addons/main' \ No newline at end of file + "The original URL http://smalltalkhub.com/mc/Seaside/Seaside30Addons/main" + ^ 'https://github.com/SeasideSt/Seaside' \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPackage.class/instance/seasideLGPLUrl.st b/repository/Grease-Core.package/GRPackage.class/instance/seasideLGPLUrl.st index 7ee4f19a..5e015008 100644 --- a/repository/Grease-Core.package/GRPackage.class/instance/seasideLGPLUrl.st +++ b/repository/Grease-Core.package/GRPackage.class/instance/seasideLGPLUrl.st @@ -1,3 +1,4 @@ accessing-repositories seasideLGPLUrl - ^ 'http://smalltalkhub.com/mc/Seaside/Seaside30LGPL/main' \ No newline at end of file + "The original URL: http://smalltalkhub.com/mc/Seaside/Seaside31/main" + ^ 'https://github.com/SeasideSt/Seaside' \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPackage.class/instance/seasideUrl.st b/repository/Grease-Core.package/GRPackage.class/instance/seasideUrl.st index bca3c123..1981c392 100644 --- a/repository/Grease-Core.package/GRPackage.class/instance/seasideUrl.st +++ b/repository/Grease-Core.package/GRPackage.class/instance/seasideUrl.st @@ -1,3 +1,4 @@ accessing-repositories seasideUrl - ^ 'http://smalltalkhub.com/mc/Seaside/Seaside31/main' \ No newline at end of file + "The original URL: http://smalltalkhub.com/mc/Seaside/Seaside31/main" + ^ 'https://github.com/SeasideSt/Seaside' \ No newline at end of file diff --git a/repository/Grease-Tests-Core.package/GRPackageTest.class/instance/testDescription.st b/repository/Grease-Tests-Core.package/GRPackageTest.class/instance/testDescription.st index 2b2644b9..ef7be170 100644 --- a/repository/Grease-Tests-Core.package/GRPackageTest.class/instance/testDescription.st +++ b/repository/Grease-Tests-Core.package/GRPackageTest.class/instance/testDescription.st @@ -1,5 +1,5 @@ tests testDescription self assert: package description isNil. - package description: 'A hopeless pacakge'. - self assert: package description = 'A hopeless pacakge' \ No newline at end of file + package description: 'A hopeless package'. + self assert: package description = 'A hopeless package' \ No newline at end of file From 803ca9d782438a0b1e2bcf50989510a030e19be3 Mon Sep 17 00:00:00 2001 From: Patrik Date: Fri, 19 Sep 2025 13:22:26 +0200 Subject: [PATCH 251/254] List all platforms grease can be run on --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c4fa80b6..c9d2d025 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Grease is widely adopted. Implementations exist already for all platforms that s ## Platform compatibility -The latest Grease version is supported on the Pharo and GemStone/S platforms and versions tested in the SmalltalkCI workflow in Github Actions: [![smalltalkCI](https://github.com/SeasideSt/Grease/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/SeasideSt/Grease/actions/workflows/ci.yml) [![codecov](https://codecov.io/gh/SeasideSt/Grease/branch/master/graph/badge.svg?token=75NIYAHAGI)](https://codecov.io/gh/SeasideSt/Grease) +The latest Grease version is supported on the Pharo, GemStone/S, Squeak, and VAST (not part of this repository) platforms and versions tested in the SmalltalkCI workflow in Github Actions: [![smalltalkCI](https://github.com/SeasideSt/Grease/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/SeasideSt/Grease/actions/workflows/ci.yml) [![codecov](https://codecov.io/gh/SeasideSt/Grease/branch/master/graph/badge.svg?token=75NIYAHAGI)](https://codecov.io/gh/SeasideSt/Grease) ## Installation From 2d98f90eb17ae449c162b877b9fbadcbd54011b7 Mon Sep 17 00:00:00 2001 From: Patrik Date: Fri, 5 Sep 2025 12:29:18 +0200 Subject: [PATCH 252/254] Adding platform identification --- .../GRPlatform.class/instance/isGemStone.st | 4 ++++ .../GRPlatform.class/instance/isPharo.st | 4 ++++ .../GRPlatform.class/instance/isSmalltalkX.st | 4 ++++ .../GRPlatform.class/instance/isSqueak.st | 4 ++++ .../GRPlatform.class/instance/isVAST.st | 4 ++++ .../GRGemStonePlatform.class/instance/isGemStone.st | 4 ++++ .../GRPharoPlatform.class/instance/isPharo.st | 4 ++++ .../GRPharoPlatform.class/instance/isPharo.st | 4 ++++ .../GRPharoPlatform.class/instance/isPharo.st | 4 ++++ .../GRPharoPlatform.class/instance/isPharo.st | 4 ++++ .../instance/testIsGemStone.st | 7 +++++++ .../instance/testIsGemStone.st | 7 +++++++ .../GRPharoPlatformTest.class/instance/testIsPharo.st | 7 +++++++ 13 files changed, 61 insertions(+) create mode 100644 repository/Grease-Core.package/GRPlatform.class/instance/isGemStone.st create mode 100644 repository/Grease-Core.package/GRPlatform.class/instance/isPharo.st create mode 100644 repository/Grease-Core.package/GRPlatform.class/instance/isSmalltalkX.st create mode 100644 repository/Grease-Core.package/GRPlatform.class/instance/isSqueak.st create mode 100644 repository/Grease-Core.package/GRPlatform.class/instance/isVAST.st create mode 100644 repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/isGemStone.st create mode 100644 repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/isPharo.st create mode 100644 repository/Grease-Pharo60-Core.package/GRPharoPlatform.class/instance/isPharo.st create mode 100644 repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/isPharo.st create mode 100644 repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/isPharo.st create mode 100644 repository/Grease-Tests-GemStone-Core.package/GRGemStonePlatformTest.class/instance/testIsGemStone.st create mode 100644 repository/Grease-Tests-GemStone32-Core.package/GRGemStonePlatformTest.class/instance/testIsGemStone.st create mode 100644 repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/testIsPharo.st diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/isGemStone.st b/repository/Grease-Core.package/GRPlatform.class/instance/isGemStone.st new file mode 100644 index 00000000..3a57672e --- /dev/null +++ b/repository/Grease-Core.package/GRPlatform.class/instance/isGemStone.st @@ -0,0 +1,4 @@ +testing +isGemStone + + ^ false \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/isPharo.st b/repository/Grease-Core.package/GRPlatform.class/instance/isPharo.st new file mode 100644 index 00000000..b2f9f340 --- /dev/null +++ b/repository/Grease-Core.package/GRPlatform.class/instance/isPharo.st @@ -0,0 +1,4 @@ +testing +isPharo + + ^ false \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/isSmalltalkX.st b/repository/Grease-Core.package/GRPlatform.class/instance/isSmalltalkX.st new file mode 100644 index 00000000..8605e96f --- /dev/null +++ b/repository/Grease-Core.package/GRPlatform.class/instance/isSmalltalkX.st @@ -0,0 +1,4 @@ +testing +isSmalltalkX + + ^ false \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/isSqueak.st b/repository/Grease-Core.package/GRPlatform.class/instance/isSqueak.st new file mode 100644 index 00000000..34e2f234 --- /dev/null +++ b/repository/Grease-Core.package/GRPlatform.class/instance/isSqueak.st @@ -0,0 +1,4 @@ +testing +isSqueak + + ^ false \ No newline at end of file diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/isVAST.st b/repository/Grease-Core.package/GRPlatform.class/instance/isVAST.st new file mode 100644 index 00000000..8e022384 --- /dev/null +++ b/repository/Grease-Core.package/GRPlatform.class/instance/isVAST.st @@ -0,0 +1,4 @@ +testing +isVAST + + ^ false \ No newline at end of file diff --git a/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/isGemStone.st b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/isGemStone.st new file mode 100644 index 00000000..e947f21e --- /dev/null +++ b/repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/isGemStone.st @@ -0,0 +1,4 @@ +testing +isGemStone + + ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/isPharo.st b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/isPharo.st new file mode 100644 index 00000000..17945cf1 --- /dev/null +++ b/repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/isPharo.st @@ -0,0 +1,4 @@ +testing +isPharo + + ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo60-Core.package/GRPharoPlatform.class/instance/isPharo.st b/repository/Grease-Pharo60-Core.package/GRPharoPlatform.class/instance/isPharo.st new file mode 100644 index 00000000..17945cf1 --- /dev/null +++ b/repository/Grease-Pharo60-Core.package/GRPharoPlatform.class/instance/isPharo.st @@ -0,0 +1,4 @@ +testing +isPharo + + ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/isPharo.st b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/isPharo.st new file mode 100644 index 00000000..17945cf1 --- /dev/null +++ b/repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/isPharo.st @@ -0,0 +1,4 @@ +testing +isPharo + + ^ true \ No newline at end of file diff --git a/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/isPharo.st b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/isPharo.st new file mode 100644 index 00000000..17945cf1 --- /dev/null +++ b/repository/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/isPharo.st @@ -0,0 +1,4 @@ +testing +isPharo + + ^ true \ No newline at end of file diff --git a/repository/Grease-Tests-GemStone-Core.package/GRGemStonePlatformTest.class/instance/testIsGemStone.st b/repository/Grease-Tests-GemStone-Core.package/GRGemStonePlatformTest.class/instance/testIsGemStone.st new file mode 100644 index 00000000..c3aa2463 --- /dev/null +++ b/repository/Grease-Tests-GemStone-Core.package/GRGemStonePlatformTest.class/instance/testIsGemStone.st @@ -0,0 +1,7 @@ +*Grease-Tests-Pharo-Core +testIsGemStone + self assert: GRPlatform current isGemStone. + self deny: GRPlatform current isPharo. + self deny: GRPlatform current isSqueak. + self deny: GRPlatform current isVAST. + self deny: GRPlatform current isSmalltalkX diff --git a/repository/Grease-Tests-GemStone32-Core.package/GRGemStonePlatformTest.class/instance/testIsGemStone.st b/repository/Grease-Tests-GemStone32-Core.package/GRGemStonePlatformTest.class/instance/testIsGemStone.st new file mode 100644 index 00000000..c3aa2463 --- /dev/null +++ b/repository/Grease-Tests-GemStone32-Core.package/GRGemStonePlatformTest.class/instance/testIsGemStone.st @@ -0,0 +1,7 @@ +*Grease-Tests-Pharo-Core +testIsGemStone + self assert: GRPlatform current isGemStone. + self deny: GRPlatform current isPharo. + self deny: GRPlatform current isSqueak. + self deny: GRPlatform current isVAST. + self deny: GRPlatform current isSmalltalkX diff --git a/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/testIsPharo.st b/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/testIsPharo.st new file mode 100644 index 00000000..da5e9af5 --- /dev/null +++ b/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/testIsPharo.st @@ -0,0 +1,7 @@ +*Grease-Tests-Pharo-Core +testIsPharo + self assert: GRPlatform current isPharo. + self deny: GRPlatform current isGemStone. + self deny: GRPlatform current isSqueak. + self deny: GRPlatform current isVAST. + self deny: GRPlatform current isSmalltalkX \ No newline at end of file From da4f617b00992b7c2c89d6cce7ccffa16e63191d Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Tue, 18 Nov 2025 13:19:45 +0100 Subject: [PATCH 253/254] 1.19.1 --- .../Grease-Core.package/GRPlatform.class/instance/version.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/Grease-Core.package/GRPlatform.class/instance/version.st b/repository/Grease-Core.package/GRPlatform.class/instance/version.st index 61899e24..72943d47 100644 --- a/repository/Grease-Core.package/GRPlatform.class/instance/version.st +++ b/repository/Grease-Core.package/GRPlatform.class/instance/version.st @@ -2,5 +2,5 @@ version info version "Answer the Grease version" - ^ (GRVersion major: 1 minor: 19 revision: 0) + ^ (GRVersion major: 1 minor: 19 revision: 1) yourself \ No newline at end of file From 3cc491aaca9ac463c2c086c4ca17df4577e7f090 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Thu, 11 Dec 2025 14:24:24 +0100 Subject: [PATCH 254/254] Fix test on Windows platforms (make it cross-platform) --- .../GRPlatformTest.class/instance/testSourceCodeStringOf.st | 5 +++-- .../GRPharoPlatformTest.class/instance/testIsPharo.st | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testSourceCodeStringOf.st b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testSourceCodeStringOf.st index 64a5c334..13d1e453 100644 --- a/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testSourceCodeStringOf.st +++ b/repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testSourceCodeStringOf.st @@ -5,7 +5,8 @@ testSourceCodeStringOf sourceCodeString := GRPlatform current sourceCodeStringOf: GRPlatform >> #sourceCodeStringOf:. self assert: sourceCodeString - equals: 'sourceCodeStringOf: aCompiledMethod + equals: (GRPlatform current convertToSmalltalkNewlines: +'sourceCodeStringOf: aCompiledMethod "Return a String with the source code for a compiled method." - self subclassResponsibility' \ No newline at end of file + self subclassResponsibility') \ No newline at end of file diff --git a/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/testIsPharo.st b/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/testIsPharo.st index da5e9af5..1677c4d6 100644 --- a/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/testIsPharo.st +++ b/repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/testIsPharo.st @@ -1,4 +1,4 @@ -*Grease-Tests-Pharo-Core +tests testIsPharo self assert: GRPlatform current isPharo. self deny: GRPlatform current isGemStone.