Skip to content

Commit

Permalink
Fix GRDynamicVariable in Pharo 5
Browse files Browse the repository at this point in the history
  • Loading branch information
Johan Brichau committed Nov 24, 2018
1 parent 4d3a0de commit eca45ab
Show file tree
Hide file tree
Showing 62 changed files with 280 additions and 317 deletions.
5 changes: 2 additions & 3 deletions repository/Grease-Pharo30-Core.package/.filetree
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"separateMethodMetaAndSource" : false,
"noMethodMetaData" : true,
"useCypressPropertiesFile" : true
}
"separateMethodMetaAndSource" : false,
"useCypressPropertiesFile" : true }
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"class" : {
},
"instance" : {
"fixCallbackTemps" : "lr 4/8/2009 13:33",
"valueWithPossibleArguments:" : "lr 4/8/2009 13:36"
},
"class" : { }
}
"valueWithPossibleArguments:" : "lr 4/8/2009 13:36" } }
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
{
"name" : "BlockClosure"
}
"name" : "BlockClosure" }
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"class" : {
},
"instance" : {
"greaseString" : "jf 9/30/2009 01:10"
},
"class" : { }
}
"greaseString" : "jf 9/30/2009 01:10" } }
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
{
"name" : "ByteArray"
}
"name" : "ByteArray" }
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"class" : {
},
"instance" : {
"greaseInteger" : "jf 9/30/2009 01:04"
},
"class" : { }
}
"greaseInteger" : "jf 9/30/2009 01:04" } }
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
{
"name" : "Character"
}
"name" : "Character" }
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"class" : {
},
"instance" : {
"any" : "jf 2/6/2010 00:41"
},
"class" : { }
}
"any" : "jf 2/6/2010 00:41" } }
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
{
"name" : "Collection"
}
"name" : "Collection" }
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"class" : {
"milliseconds:" : "jf 2/6/2010 00:12" },
"instance" : {
"asMilliseconds" : "jf 2/5/2010 23:58",
"milliseconds" : "jf 2/6/2010 00:02"
},
"class" : {
"milliseconds:" : "jf 2/6/2010 00:12"
}
}
"milliseconds" : "jf 2/6/2010 00:02" } }
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
{
"name" : "Duration"
}
"name" : "Duration" }
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"class" : {
},
"instance" : {
"greaseNext:putAll:startingAt:" : "pmm 12/28/2010 22:13"
},
"class" : { }
}
"greaseNext:putAll:startingAt:" : "pmm 12/28/2010 22:13" } }
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
{
"name" : "GRDelegatingStream"
}
"name" : "GRDelegatingStream" }
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
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 ]
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"instance" : {
"default" : "JohanBrichau 7/23/2017 17:56"
},
"class" : {
"defaultValue" : "JohanBrichau 7/23/2017 17:55",
"use:during:" : "MaxLeske 5/16/2017 21:54"
}
}
"use:during:" : "MaxLeske 5/16/2017 21:54" },
"instance" : {
"default" : "JohanBrichau 7/23/2017 17:56",
"value:during:" : "JohanBrichau 11/24/2018 12:31" } }
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
{
"commentStamp" : "MaxLeske 5/16/2017 22:05",
"super" : "DynamicVariable",
"category" : "Grease-Pharo30-Core",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
"instvars" : [ ],
"classinstvars" : [
],
"classvars" : [
],
"commentStamp" : "MaxLeske 5/16/2017 22:05",
"instvars" : [
],
"name" : "GRDynamicVariable",
"type" : "normal"
}
"pools" : [
],
"super" : "DynamicVariable",
"type" : "normal" }
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"instance" : { },
"class" : {
"greasePharo30Core" : "pmm 9/12/2013 16:00"
}
}
"greasePharo30Core" : "pmm 9/12/2013 16:00" },
"instance" : {
} }
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
{
"name" : "GRPackage"
}
"name" : "GRPackage" }
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
{
"class" : {
"on:converter:" : "pmm 10/30/2010 18:58" },
"instance" : {
"nextPut:" : "pmm 4/10/2010 13:30",
"greaseNext:putAll:startingAt:" : "pmm 12/28/2010 22:12",
"nextPutAll:" : "lr 2/7/2009 12:54",
"initializeOn:converter:" : "pmm 10/30/2010 18:58",
"next" : "pmm 4/10/2010 13:32",
"next:" : "lr 2/7/2009 12:57",
"initializeOn:converter:" : "pmm 10/30/2010 18:58"
},
"class" : {
"on:converter:" : "pmm 10/30/2010 18:58"
}
}
"nextPut:" : "pmm 4/10/2010 13:30",
"nextPutAll:" : "lr 2/7/2009 12:54" } }
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"commentStamp" : "pmm 6/25/2012 20:22",
"super" : "GRCodecStream",
"category" : "Grease-Pharo30-Core",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
"classinstvars" : [
],
"classvars" : [
],
"commentStamp" : "pmm 6/25/2012 20:22",
"instvars" : [
"converter"
],
"converter" ],
"name" : "GRPharoConverterCodecStream",
"type" : "normal"
}
"pools" : [
],
"super" : "GRCodecStream",
"type" : "normal" }
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
{
"class" : {
"basicForEncoding:" : "pmm 6/28/2009 15:43",
"codecs" : "pmm 8/16/2010 00:19",
"supportedEncodingNames" : "lr 7/25/2011 19:46",
"supportsEncoding:" : "pmm 6/28/2009 16:43" },
"instance" : {
"converter" : "lr 7/25/2011 19:51",
"decoderFor:" : "lr 2/7/2009 12:52",
"url" : "lr 2/7/2009 12:36",
"encoderFor:" : "jf 9/30/2009 00:46",
"initializeWithName:" : "pmm 8/16/2010 11:52",
"name" : "lr 2/7/2009 10:16"
},
"class" : {
"codecs" : "pmm 8/16/2010 00:19",
"supportsEncoding:" : "pmm 6/28/2009 16:43",
"basicForEncoding:" : "pmm 6/28/2009 15:43",
"supportedEncodingNames" : "lr 7/25/2011 19:46"
}
}
"name" : "lr 2/7/2009 10:16",
"url" : "lr 2/7/2009 12:36" } }
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"commentStamp" : "",
"super" : "GRCodec",
"category" : "Grease-Pharo30-Core",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
"classinstvars" : [
],
"classvars" : [
],
"commentStamp" : "",
"instvars" : [
"name",
"urlCodec"
],
"urlCodec" ],
"name" : "GRPharoGenericCodec",
"type" : "normal"
}
"pools" : [
],
"super" : "GRCodec",
"type" : "normal" }
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
{
"class" : {
"basicForEncoding:" : "pmm 8/16/2010 00:36",
"codecs" : "lr 7/25/2011 19:46",
"supportedEncodingNames" : "lr 7/25/2011 19:46",
"supportsEncoding:" : "pmm 8/16/2010 00:36" },
"instance" : {
"decoderFor:" : "pmm 8/16/2010 00:32",
"decode:" : "pmm 8/16/2010 09:20",
"initializeWithName:" : "pmm 8/25/2016 11:00",
"decoderFor:" : "pmm 8/16/2010 00:32",
"encoderFor:" : "pmm 8/16/2010 00:32",
"name" : "pmm 8/16/2010 00:32"
},
"class" : {
"codecs" : "lr 7/25/2011 19:46",
"supportsEncoding:" : "pmm 8/16/2010 00:36",
"basicForEncoding:" : "pmm 8/16/2010 00:36",
"supportedEncodingNames" : "lr 7/25/2011 19:46"
}
}
"initializeWithName:" : "pmm 8/25/2016 11:00",
"name" : "pmm 8/16/2010 00:32" } }
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"commentStamp" : "<historical>",
"super" : "GRNullCodec",
"category" : "Grease-Pharo30-Core",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
"classinstvars" : [
],
"classvars" : [
],
"commentStamp" : "<historical>",
"instvars" : [
"name"
],
"name" ],
"name" : "GRPharoLatin1Codec",
"type" : "normal"
}
"pools" : [
],
"super" : "GRNullCodec",
"type" : "normal" }
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"class" : {
},
"instance" : {
"next:" : "lr 7/25/2011 19:50",
"next" : "pmm 8/16/2010 09:16"
},
"class" : { }
}
"next" : "pmm 8/16/2010 09:16",
"next:" : "lr 7/25/2011 19:50" } }
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
{
"commentStamp" : "<historical>",
"super" : "GRNullCodecStream",
"category" : "Grease-Pharo30-Core",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
"instvars" : [ ],
"classinstvars" : [
],
"classvars" : [
],
"commentStamp" : "<historical>",
"instvars" : [
],
"name" : "GRPharoLatin1CodecStream",
"type" : "normal"
}
"pools" : [
],
"super" : "GRNullCodecStream",
"type" : "normal" }
Loading

0 comments on commit eca45ab

Please sign in to comment.