X Tutup
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
2ba142c
pharo10:
Jan 24, 2022
7a35c98
ping the CI for PR#134
Mar 19, 2022
4a8e347
Fix test for GRPharoGenericCodec to be skipped in Pharo10
Mar 19, 2022
db79fe7
Merge pull request #134 from SeasideSt/pharo10
Mar 19, 2022
94f262d
rename package Pharo10 to Pharo100 to avoid confusion with Pharo1
Mar 19, 2022
fec1cf4
Merge pull request #135 from SeasideSt/pharo100
Mar 19, 2022
9c769b6
Seems like the package named Pharo10 was not removed previously... ic…
Mar 20, 2022
a97cf61
Merge fec1cf49e3977d1d8e3ec83487281a45976654b5
Mar 20, 2022
9cfcb6a
remove package Pharo10 still did not work?
Mar 20, 2022
9167782
remove obsolete Pharo packages
Mar 20, 2022
1604506
Added GsContext>>tempNamed: (for compatibility with the test in Pharo…
Mar 20, 2022
3fc0427
version 1.8.1
Mar 20, 2022
3898940
fix grpackage methods for pharo100 (useless?)
Mar 26, 2022
27f6852
Set an expected failure for testReadWriteEmptyFileInFolderBinary unti…
Apr 3, 2022
b2fcc52
fix expectedFailures...
Apr 3, 2022
9c3b895
increase version number to v1.8.2
Apr 3, 2022
c753fef
Merge pull request #136 from SeasideSt/grpackage-pharo100
Apr 3, 2022
74f54ab
move pharo 10 out of the 'experimental' list for the CI build, move a…
Apr 3, 2022
3c4fa03
Move all codecs in Pharo10 to use Zinc
Apr 9, 2022
1d8daee
make thisContext test work for Squeak
Apr 9, 2022
aa57cee
Merge pull request #137 from SeasideSt/grpackage-pharo100
Apr 9, 2022
269986e
CI updates: move Squeak back
Apr 9, 2022
fd607d1
Added #binaryWriteStreamFor:do: and #newTemporaryFileReference to GRP…
theseion May 20, 2020
4a73973
Add methods used for streaming to Pharo 100 platform
theseion Jun 4, 2022
8b34088
Add methods for streaming to Pharo 9 platform
theseion Jun 4, 2022
47808cb
Remove #binaryWriteStreamFor:do:
theseion Jun 5, 2022
c5c7167
Removed #binaryWriteStreamFor:do: from Pharo 10
theseion Jun 5, 2022
3899a41
Removed #binaryWriteStreamFor:do: from Pharo 7
theseion Jun 5, 2022
a248d08
Removed #binaryWriteStreamFor:do: from Squeak
theseion Jun 5, 2022
ce61d53
Removing expected failure since https://github.com/svenvc/zinc/issues…
Jun 6, 2022
5ad8d0b
Merge pull request #138 from theseion/file-utilities-for-streaming-up…
Jun 6, 2022
514c8cd
More file ops (#139)
Jul 23, 2022
bef0ac1
added Pharo11 as experimental to CI builds, dropping tests and suppor…
Jul 23, 2022
52103f6
Remove pharo5.x from BaselineOfGrease
Jul 23, 2022
2a4832c
declare Grease version 1.10
Jul 23, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ 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: Squeak64-trunk
- smalltalk: Pharo64-11
experimental: true
- smalltalk: Pharo64-10
- smalltalk: Squeak64-trunk
experimental: true
continue-on-error: ${{ matrix.experimental }}
name: ${{ matrix.smalltalk }}
Expand Down
Original file line number Diff line number Diff line change
@@ -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'
Expand Down Expand Up @@ -66,13 +55,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') ].

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
accessing
position: anInteger
^ stream position: anInteger
Original file line number Diff line number Diff line change
Expand Up @@ -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 ] ] ] ] ] ] ] ] ] ] ] ]
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 ] ] ] ] ] ] ] ] ] ] ] ] ]
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
file library
files
contentsOfFile: aString binary: aBoolean
self subclassResponsibility
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
files
deleteFile: aPathString
self subclassResponsibility
Original file line number Diff line number Diff line change
@@ -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 ."
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
file library
files
ensureExistenceOfFolder: aString
"Create a folder named aString in the image directory."
self subclassResponsibility
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
file library
files
fileExists: aString
self subclassResponsibility
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
file library
files
fileStreamOn: aString do: aBlock binary: aBoolean
self
greaseDeprecatedApi: 'GRPlatform>>#fileStreamOn:do:binary:'
Expand Down
Original file line number Diff line number Diff line change
@@ -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 ."
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
file library
files
localNameOf: aFilename
"Answer the local name of a file identified by an absolute file path.

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
files
newTemporaryFileReferenceNamed: aName
self subclassResponsibility
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
file library
files
pathSeparator
"Answer the path separator as a String, eg. '/' on Unix and '\' on Windows."
self subclassResponsibility
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
file library
files
readFileStreamOn: aString do: aBlock binary: aBoolean
self subclassResponsibility
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ version info
version
"Answer the Grease version"

^ (GRVersion major: 1 minor: 8 revision: 0)
^ (GRVersion major: 1 minor: 10 revision: 0)
yourself
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
file library
files
writeFileStreamOn: aString do: aBlock binary: aBoolean
self subclassResponsibility
Original file line number Diff line number Diff line change
@@ -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

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
X Tutup