Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
eef7478
GREmptyStatementRule is superseded in Pharo by ReMultiplePeriodsTermi…
Sep 11, 2023
8bd356e
Literal byte arrays are accepted in Pharo, GemStone and VAST
Sep 11, 2023
b6ee952
Merge branch 'master' into slime-renovation
Dec 31, 2023
1a385fc
First couple of Slime rules and tests converted to Reraku critiques
Jan 7, 2024
98f2c5c
Correct baseline typo
Jan 7, 2024
171232f
Remove obsolete tests from older Slime test package as well
Jan 7, 2024
d6705ff
Fix another baseline typo
Jan 7, 2024
81bec5c
ported rules: invalid object initialization and non-portable messages
Jan 7, 2024
2800c45
Ported Slime rule for referencing/using a non-portable class
Jan 7, 2024
1c02177
Block and Parens formatting rules moved to the PharoWithStyle project…
Jan 7, 2024
18a37b0
Moved the return and temps formatting rules to the PharoWithStyle pro…
Jan 7, 2024
e34bcc2
Two more Slime rules ported
Jan 7, 2024
002bf2e
Ported ANSI Booleans transformation Slime rule
Jan 7, 2024
1ec525d
fix
Jan 7, 2024
59552a5
Ported all transformation Slime rules
Jan 7, 2024
1031a70
Change class names back to previous class names (i.e. 'GRReXXX' to 'G…
Jan 7, 2024
bfea7ea
Fix ANSI characters Slime rule
Jan 13, 2024
4990652
Fix ANSIStrings Slime rule
Jan 13, 2024
8f6c9b8
test with smalltalkCI fork for Pharo12 fix
Jan 14, 2024
52ba234
try again to run against smalltalk-CI branch
Jan 14, 2024
4e5cec2
try new fix branch for SmalltalkCI
Jan 14, 2024
59b1042
Merge pull request #167 from SeasideSt/slime-renovation
Jan 14, 2024
64ac15d
Fixes Slime test for empty statements (will work correctly after fix …
Jan 14, 2024
c4074b0
Add Pharo110 to GRPackage resolution
Jan 14, 2024
55f34f4
fix resolveWith: older version package names are used in later Pharo …
Jan 14, 2024
9aac9aa
gemstone 3.6.7 is no longer available for download, switching back to…
Jan 14, 2024
5eb55c9
Merge branch 'master' into fix-testEmptyStatements
Jan 15, 2024
b073206
Mark testEmptyStatements as fixed in Pharo 12 but breaking in earlier…
Jan 27, 2024
d8f5204
Merge 5eb55c9ca0481edc98c9685a62a2ba1b496d6b60
Jan 27, 2024
c53e80a
Merge pull request #168 from SeasideSt/fix-testEmptyStatements
Jan 27, 2024
933bc73
Fix GRAnsiCharacterRule: should only match character literals
Jan 28, 2024
788fa15
Added support for newTemporaryFileReference in GemStone versions high…
Feb 3, 2024
4d9ea9f
Deprecate existing `newTemporaryFileReference` in favour of `newTempo…
Feb 4, 2024
0176ed2
added temporary file creation methods to older Pharo versions
Feb 4, 2024
c83bb49
added new temporary file creation methods to GemStone
Feb 4, 2024
acf5760
moved method to GemStone-Core package and implemented missing deleteF…
Feb 4, 2024
602230d
added file methods for Squeak 6
Feb 4, 2024
454b8de
Also add temporary file creation methods to Squeak 5
Feb 4, 2024
34bd7c3
added deleteFile: to Squeak
Feb 4, 2024
f7d355f
fix missing method in Squeak 6
Feb 4, 2024
f20c01f
Test unique name of two generated temporary files
Feb 4, 2024
e628eef
Fix writeFileStreamOn:do:binary: in Squeak
Feb 4, 2024
17da932
Refactor test for write:toFile:inFolder:
Feb 4, 2024
22b0950
Merge e628eef8cf0b2226cdddf2148a430efba02c3aa6
Feb 4, 2024
2816e8e
throw error when creating a duplicate temporary file
Feb 4, 2024
e1a14c9
error when creating a duplicate temporary file name on GemStone, olde…
Feb 4, 2024
14e6afb
use GRPlatform current pathSeparator in the filename generation for t…
Feb 4, 2024
5ae43f8
revert changes for categories in Squeak packages
Feb 4, 2024
1a66633
Merge pull request #169 from SeasideSt/temporaryfiles-gemstone
Feb 4, 2024
9b35324
version 1.16
Feb 4, 2024
ee685e4
revert using special branch of SmalltalkCI
Feb 4, 2024
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
Prev Previous commit
Next Next commit
Fix writeFileStreamOn:do:binary: in Squeak
  • Loading branch information
Johan Brichau committed Feb 4, 2024
commit e628eef8cf0b2226cdddf2148a430efba02c3aa6
Original file line number Diff line number Diff line change
@@ -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 ]
Original file line number Diff line number Diff line change
@@ -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 ]