Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slime portability split #176

Merged
merged 9 commits into from
Apr 20, 2024
Merged
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
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,15 @@ jobs:
strategy:
fail-fast: false
matrix:
smalltalk: [ Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.7.0, GemStone64-3.6.6, GemStone64-3.5.7, Squeak64-5.3 ]
smalltalk: [ Pharo64-12, Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0, Pharo64-7.0, GemStone64-3.7.0, GemStone64-3.6.6, GemStone64-3.5.7, Squeak64-5.3 ]
experimental: [ false ]
include:
- smalltalk: Pharo64-12
experimental: true
- smalltalk: Squeak64-6.0
experimental: true
continue-on-error: ${{ matrix.experimental }}
name: ${{ matrix.smalltalk }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-image: ${{ matrix.smalltalk }}
Expand All @@ -29,6 +27,6 @@ jobs:
shell: bash
timeout-minutes: 20
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
name: ${{ matrix.smalltalk }}
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ baselineCommon: spec
group: 'Slime' with: #('Core');
group: 'Slime Tests' with: #('Core Tests');
group: 'Tests' with: #('Core Tests' 'Slime Tests');
group: 'default' with: #('Slime') ]
group: 'default' with: #('Slime');
group: 'Development' with: #('default') ]
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,12 @@ baselinePharo: spec
requires: #('Grease-Pharo100-Core');
includes: #('Grease-Tests-Pharo-Core') ];
package: 'Grease-Pharo100-Core' with: [ spec requires: #('Grease-Core') ];
package: 'Grease-Pharo110-Slime' with: [ spec requires: #('Grease-Core') ];
package: 'Grease-Tests-Pharo-Slime' with: [ spec requires: #('Grease-Pharo110-Slime') ].
package: 'Grease-Pharo110-Slime-Core' with: [ spec requires: #('Grease-Core') ];
package: 'Grease-Pharo110-Slime-Portability' with: [ spec requires: #('Grease-Pharo110-Slime-Core') ];
package: 'Grease-Tests-Pharo-Slime' with: [ spec requires: #('Grease-Pharo110-Slime-Portability') ].

spec
group: 'Slime' with: #('Grease-Pharo110-Slime');
group: 'Slime Tests' with: #('Grease-Tests-Pharo-Slime') ]
group: 'Slime' with: #('Grease-Pharo110-Slime-Core');
group: 'Slime Portability' with: #('Slime' 'Grease-Pharo110-Slime-Portability');
group: 'Slime Tests' with: #('Grease-Pharo110-Slime-Portability' 'Grease-Tests-Pharo-Slime');
group: 'Development' with: #('Slime Portability') ]
Original file line number Diff line number Diff line change
@@ -1 +1 @@
SystemOrganization addCategory: #BaselineOfGrease!
self packageOrganizer ensurePackage: #BaselineOfGrease withTags: #()!
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
private
encoding
supportsUnicode
"dynamically try to figure out whether the current dialect supports Unicode"

^ [
String
with: (Character value: 16r1F1F3)
with: (Character value: 16r1F1F1).
with: (Character codePoint: 16r1F1F3)
with: (Character codePoint: 16r1F1F1).
true
] on: Error
do: [ :error | false ]
6 changes: 1 addition & 5 deletions repository/Grease-Core.package/monticello.meta/categories.st
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
SystemOrganization addCategory: #'Grease-Core'!
SystemOrganization addCategory: #'Grease-Core-Collections'!
SystemOrganization addCategory: #'Grease-Core-Exceptions'!
SystemOrganization addCategory: #'Grease-Core-Text'!
SystemOrganization addCategory: #'Grease-Core-Utilities'!
self packageOrganizer ensurePackage: #'Grease-Core' withTags: #(#Collections #Exceptions #Text #Utilities)!
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commentStamp" : "",
"super" : "GRReSlimeParseTreeLintRule",
"category" : "Grease-Pharo110-Slime",
"category" : "Grease-Pharo110-Slime-Core",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commentStamp" : "JohanBrichau 3/11/2024 21:53",
"commentStamp" : "",
"super" : "ReAbstractRule",
"category" : "Grease-Pharo110-Slime",
"category" : "Grease-Pharo110-Slime-Core",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commentStamp" : "",
"super" : "ReNodeMatchRule",
"category" : "Grease-Pharo110-Slime",
"category" : "Grease-Pharo110-Slime-Core",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commentStamp" : "",
"super" : "ReNodeRewriteRule",
"category" : "Grease-Pharo110-Slime",
"category" : "Grease-Pharo110-Slime-Core",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commentStamp" : "JohanBrichau 3/11/2024 21:54",
"super" : "RBBlockLintRule",
"category" : "Grease-Pharo110-Slime",
"category" : "Grease-Pharo110-Slime-Core",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commentStamp" : "JohanBrichau 3/11/2024 21:54",
"super" : "RBParseTreeLintRule",
"category" : "Grease-Pharo110-Slime",
"category" : "Grease-Pharo110-Slime-Core",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commentStamp" : "JohanBrichau 3/11/2024 21:54",
"super" : "RBTransformationRule",
"category" : "Grease-Pharo110-Slime",
"category" : "Grease-Pharo110-Slime-Core",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
self packageOrganizer ensurePackage: #'Grease-Pharo110-Slime-Core' withTags: #()!
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(name 'Grease-Pharo110-Slime-Core')
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"separateMethodMetaAndSource" : false,
"noMethodMetaData" : true,
"useCypressPropertiesFile" : true
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commentStamp" : "",
"super" : "GRReSlimeTransformationRule",
"category" : "Grease-Pharo110-Slime",
"category" : "Grease-Pharo110-Slime-Portability",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commentStamp" : "",
"super" : "GRReSlimeTransformationRule",
"category" : "Grease-Pharo110-Slime",
"category" : "Grease-Pharo110-Slime-Portability",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commentStamp" : "",
"super" : "GRReSlimeTransformationRule",
"category" : "Grease-Pharo110-Slime",
"category" : "Grease-Pharo110-Slime-Portability",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commentStamp" : "",
"super" : "GRReSlimeTransformationRule",
"category" : "Grease-Pharo110-Slime",
"category" : "Grease-Pharo110-Slime-Portability",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commentStamp" : "",
"super" : "GRReSlimeTransformationRule",
"category" : "Grease-Pharo110-Slime",
"category" : "Grease-Pharo110-Slime-Portability",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commentStamp" : "",
"super" : "GRReSlimeTransformationRule",
"category" : "Grease-Pharo110-Slime",
"category" : "Grease-Pharo110-Slime-Portability",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commentStamp" : "",
"super" : "GRReSlimeTransformationRule",
"category" : "Grease-Pharo110-Slime",
"category" : "Grease-Pharo110-Slime-Portability",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commentStamp" : "",
"super" : "GRReSlimeTransformationRule",
"category" : "Grease-Pharo110-Slime",
"category" : "Grease-Pharo110-Slime-Portability",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commentStamp" : "",
"super" : "GRReSlimeBlockLintRule",
"category" : "Grease-Pharo110-Slime",
"category" : "Grease-Pharo110-Slime-Portability",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commentStamp" : "",
"super" : "GRReSlimeBlockLintRule",
"category" : "Grease-Pharo110-Slime",
"category" : "Grease-Pharo110-Slime-Portability",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commentStamp" : "",
"super" : "GRReSlimeBlockLintRule",
"category" : "Grease-Pharo110-Slime",
"category" : "Grease-Pharo110-Slime-Portability",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commentStamp" : "",
"super" : "GRReSlimeTransformationRule",
"category" : "Grease-Pharo110-Slime",
"category" : "Grease-Pharo110-Slime-Portability",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commentStamp" : "pmm 9/12/2009 10:37",
"super" : "GRReSlimeTransformationRule",
"category" : "Grease-Pharo110-Slime",
"category" : "Grease-Pharo110-Slime-Portability",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commentStamp" : "",
"super" : "GRUsesNotPortableClassRule",
"category" : "Grease-Pharo110-Slime",
"category" : "Grease-Pharo110-Slime-Portability",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commentStamp" : "",
"super" : "GRUsesNotPortableClassRule",
"category" : "Grease-Pharo110-Slime",
"category" : "Grease-Pharo110-Slime-Portability",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commentStamp" : "pmm 8/17/2014 11:24",
"super" : "GRReSlimeTransformationRule",
"category" : "Grease-Pharo110-Slime",
"category" : "Grease-Pharo110-Slime-Portability",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commentStamp" : "",
"super" : "GRReSlimeParseTreeLintRule",
"category" : "Grease-Pharo110-Slime",
"category" : "Grease-Pharo110-Slime-Portability",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commentStamp" : "",
"super" : "GRReSlimeParseTreeLintRule",
"category" : "Grease-Pharo110-Slime",
"category" : "Grease-Pharo110-Slime-Portability",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commentStamp" : "",
"super" : "GRReSlimeBlockLintRule",
"category" : "Grease-Pharo110-Slime",
"category" : "Grease-Pharo110-Slime-Portability",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
self packageOrganizer ensurePackage: #'Grease-Pharo110-Slime-Portability' withTags: #()!
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(name 'Grease-Pharo110-Slime-Portability')
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ }

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ tests-file library
testCompileAsciiString
| selector expected source |

self supportsUnicode ifFalse: [
GRPlatform current supportsUnicode ifFalse: [
^ self ].

selector := #stringMethod.
Expand Down
Loading