Skip to content

Commit 2a708df

Browse files
committed
Merge extracted and rewritten history from the Squot repository
2 parents 024ebcb + bce61a3 commit 2a708df

File tree

1,357 files changed

+8743
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,357 files changed

+8743
-2
lines changed

.smalltalk.ston

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
SmalltalkCISpec {
2+
#loading : [
3+
SCIMetacelloLoadSpec {
4+
#baseline : 'FileSystem',
5+
#directory : 'src',
6+
#load : [ 'tests' ],
7+
#platforms : [ #squeak ],
8+
#useLatestMetacello : true
9+
}
10+
]
11+
}

.squot

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
OrderedDictionary {
2+
'src\/FS-Core.package' : #SquotCypressCodeSerializer,
3+
'src\/FS-Memory.package' : #SquotCypressCodeSerializer,
4+
'src\/FS-Disk.package' : #SquotCypressCodeSerializer,
5+
'src\/FS-AnsiStreams.package' : #SquotCypressCodeSerializer,
6+
'src\/FS-FileDirectory-Adapters.package' : #SquotCypressCodeSerializer,
7+
'src\/FS-Help.package' : #SquotCypressCodeSerializer,
8+
'src\/FS-Tests-Core.package' : #SquotCypressCodeSerializer,
9+
'src\/FS-Tests-Memory.package' : #SquotCypressCodeSerializer,
10+
'src\/FS-Tests-Disk.package' : #SquotCypressCodeSerializer,
11+
'src\/FS-Tests-AnsiStreams.package' : #SquotCypressCodeSerializer,
12+
'src\/BaselineOfFileSystem.package' : #SquotCypressCodeSerializer
13+
}

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
sudo: false
2+
language: smalltalk
3+
smalltalk: Squeak-trunk
4+
os:
5+
- linux
6+
- osx

LICENSE

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
1+
The original FileSystem was released under the MIT license according to
2+
http://www.squeaksource.com/fs.html.
3+
The additions and changes provided here are also released under the MIT license
4+
as described below.
5+
6+
=======================================================
7+
Changes and additions to FileSystem since November 2016
8+
=======================================================
9+
110
MIT License
211

3-
Copyright (c) 2019 Jakob Reschke
12+
Copyright (c) 2016 Jakob Reschke, Software Architecture Group (Hasso Plattner Institute)
413

514
Permission is hereby granted, free of charge, to any person obtaining a copy
615
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,25 @@
1-
# Squeak-FileSystem
1+
# FileSystem [![Build Status][travis_badge]][travis]
22
FileSystem is a Smalltalk API for accessing files and directories. This is an implementation for Squeak/Smalltalk.
3+
4+
The FileSystem API was proposed as an alternative to the FileDirectory API for file system access in Squeak. It was first implemented as a library package for Squeak. Later it was adopted by Pharo as the main file system access library, while Squeak stayed with FileDirectory.
5+
6+
This is a descendant of the last version of FileSystem that was made available for Squeak. It is not entirely compatible with Pharo's implementation. Most notably, most classes were not renamed to drop the package prefix "FS".
7+
8+
The old Monticello repository on which this is based is still available at http://www.squeaksource.com/fs.html.
9+
10+
The current package contains some experiments, such as keeping alternative FileStream classes (which were abandoned in Pharo) composed with Traits.
11+
12+
## Installation instructions
13+
14+
Install the latest [Metacello](//github.com/dalehenrich/metacello-work) first.
15+
Then, use the following snippet to load:
16+
17+
```smalltalk
18+
Metacello new
19+
baseline: 'FileSystem';
20+
repository: 'github://j4yk/Squeak-FileSystem:master/src';
21+
load.
22+
```
23+
24+
[travis]: https://travis-ci.org/j4yk/Squeak-FileSystem
25+
[travis_badge]: https://travis-ci.org/j4yk/Squeak-FileSystem.svg?branch=master

appveyor.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
environment:
2+
CYG_ROOT: C:\cygwin
3+
CYG_BASH: C:\cygwin\bin\bash
4+
CYG_CACHE: C:\cygwin\var\cache\setup
5+
CYG_EXE: C:\cygwin\setup-x86.exe
6+
CYG_MIRROR: http://cygwin.mirror.constant.com
7+
SCI_RUN: /cygdrive/c/smalltalkCI-master/run.sh
8+
matrix:
9+
- SMALLTALK: Squeak-trunk
10+
11+
platform:
12+
- x86
13+
14+
install:
15+
- '%CYG_EXE% -dgnqNO -R "%CYG_ROOT%" -s "%CYG_MIRROR%" -l "%CYG_CACHE%" -P unzip'
16+
- ps: Start-FileDownload "https://github.com/hpi-swa/smalltalkCI/archive/master.zip" "C:\smalltalkCI.zip"
17+
- 7z x C:\smalltalkCI.zip -oC:\ -y > NULL
18+
19+
build: false
20+
21+
test_script:
22+
- '%CYG_BASH% -lc "cd $APPVEYOR_BUILD_FOLDER; exec 0</dev/null; $SCI_RUN"'
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"noMethodMetaData" : true,
3+
"separateMethodMetaAndSource" : false,
4+
"useCypressPropertiesFile" : true }
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
SquotTrackedObjectMetadata {
2+
#objectClassName : #PackageInfo,
3+
#objectsReplacedByNames : true,
4+
#serializer : #SquotCypressCodeSerializer
5+
}

src/BaselineOfFileSystem.package/BaselineOfFileSystem.class/README.md

Whitespace-only changes.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
baseline
2+
baseline: spec
3+
<baseline>
4+
spec
5+
for: #common
6+
do: [spec
7+
package: 'FS-Core';
8+
9+
package: 'FS-Disk'
10+
with: [spec requires: #('FS-Core')];
11+
12+
package: 'FS-Memory'
13+
with: [spec requires: #('FS-Core')];
14+
15+
package: 'FS-AnsiStreams'
16+
with: [spec requires: #('FS-Core')];
17+
18+
package: 'FS-Tests-Core';
19+
20+
package: 'FS-Tests-Disk'
21+
with: [spec requires: #('FS-Tests-Core')];
22+
23+
package: 'FS-Tests-Memory'
24+
with: [spec requires: #('FS-Tests-Core')];
25+
26+
package: 'FS-Tests-AnsiStreams'
27+
with: [spec requires: #('FS-Tests-Core')];
28+
29+
package: 'FS-FileDirectory-Adapters'
30+
with: [spec requires: #('FS-Core')].
31+
32+
spec
33+
group: 'default' with: #('FS-Core' 'FS-Disk' 'FS-Memory' 'FS-AnsiStreams' 'FS-FileDirectory-Adapters');
34+
group: 'tests' with: #('default' 'FS-Tests-Core' 'FS-Tests-Disk' 'FS-Tests-Memory' 'FS-Tests-AnsiStreams')]

0 commit comments

Comments
 (0)