X Tutup
Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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.
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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" : [ ],
Expand Down
5 changes: 3 additions & 2 deletions repository/Grease-Squeak-Core.package/.filetree
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"noMethodMetaData" : true,
"separateMethodMetaAndSource" : false,
"useCypressPropertiesFile" : true }
"noMethodMetaData" : true,
"useCypressPropertiesFile" : true
}
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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"
}
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
{
"name" : "Object" }
"name" : "Object"
}
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
{
"name" : "SmallInteger" }
"name" : "SmallInteger"
}
3 changes: 1 addition & 2 deletions repository/Grease-Squeak-Core.package/properties.json
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
{
}
{ }
X Tutup