Skip to content

Commit 14419f2

Browse files
committed
Update for 1.8.9 release
1 parent 0347179 commit 14419f2

File tree

40 files changed

+78
-42
lines changed

40 files changed

+78
-42
lines changed

.github/workflows/linux_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: Build ShapeScript for Linux
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
with:
1818
ref: ${{ github.event.inputs.ref }}
1919
- name: Build it
@@ -22,7 +22,7 @@ jobs:
2222
SWIFTFORMAT_BIN_PATH=`swift build --configuration release --show-bin-path`
2323
mv $SWIFTFORMAT_BIN_PATH/shapescript "${HOME}/shapescript"
2424
- name: 'Upload Artifact'
25-
uses: actions/upload-artifact@v3
25+
uses: actions/upload-artifact@v4
2626
with:
2727
name: shapescript_linux
2828
path: ~/shapescript

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## [1.8.9](https://github.com/nicklockwood/ShapeScript/releases/tag/1.8.9) (2025-05-10)
4+
5+
- Bumped Euclid to version 0.7.12 (fixes crash when extruding single-point paths)
6+
37
## [1.8.8](https://github.com/nicklockwood/ShapeScript/releases/tag/1.8.8) (2025-04-15)
48

59
- Added support for partial ranges like `values[from 5]`

ShapeScript.podspec.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ShapeScript",
3-
"version": "1.8.8",
3+
"version": "1.8.9",
44
"license": {
55
"type": "MIT",
66
"file": "LICENSE.md"
@@ -10,7 +10,7 @@
1010
"authors": "Nick Lockwood",
1111
"source": {
1212
"git": "https://github.com/nicklockwood/ShapeScript.git",
13-
"tag": "1.8.8"
13+
"tag": "1.8.9"
1414
},
1515
"source_files": ["ShapeScript", "LRUCache/Sources", "SVGPath/Sources"],
1616
"requires_arc": true,

ShapeScript.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1360,7 +1360,7 @@
13601360
"$(inherited)",
13611361
"@executable_path/../Frameworks",
13621362
);
1363-
MARKETING_VERSION = 1.8.8;
1363+
MARKETING_VERSION = 1.8.9;
13641364
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptViewer;
13651365
PRODUCT_MODULE_NAME = Viewer;
13661366
PRODUCT_NAME = "ShapeScript Viewer";
@@ -1389,7 +1389,7 @@
13891389
"$(inherited)",
13901390
"@executable_path/../Frameworks",
13911391
);
1392-
MARKETING_VERSION = 1.8.8;
1392+
MARKETING_VERSION = 1.8.9;
13931393
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptViewer;
13941394
PRODUCT_MODULE_NAME = Viewer;
13951395
PRODUCT_NAME = "ShapeScript Viewer";
@@ -1421,7 +1421,7 @@
14211421
"$(inherited)",
14221422
"@executable_path/Frameworks",
14231423
);
1424-
MARKETING_VERSION = 1.8.8;
1424+
MARKETING_VERSION = 1.8.9;
14251425
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptViewer;
14261426
PRODUCT_MODULE_NAME = Viewer;
14271427
PRODUCT_NAME = ShapeScript;
@@ -1456,7 +1456,7 @@
14561456
"$(inherited)",
14571457
"@executable_path/Frameworks",
14581458
);
1459-
MARKETING_VERSION = 1.8.8;
1459+
MARKETING_VERSION = 1.8.9;
14601460
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptViewer;
14611461
PRODUCT_MODULE_NAME = Viewer;
14621462
PRODUCT_NAME = ShapeScript;
@@ -1627,7 +1627,7 @@
16271627
"@executable_path/../Frameworks",
16281628
"@loader_path/Frameworks",
16291629
);
1630-
MARKETING_VERSION = 1.8.8;
1630+
MARKETING_VERSION = 1.8.9;
16311631
MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
16321632
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++14";
16331633
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptLib;
@@ -1664,7 +1664,7 @@
16641664
"@executable_path/../Frameworks",
16651665
"@loader_path/Frameworks",
16661666
);
1667-
MARKETING_VERSION = 1.8.8;
1667+
MARKETING_VERSION = 1.8.9;
16681668
MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
16691669
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++14";
16701670
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptLib;

ShapeScript/Interpreter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import Foundation
1111

1212
// MARK: Public interface
1313

14-
public let version = "1.8.8"
14+
public let version = "1.8.9"
1515

1616
public func evaluate(
1717
_ program: Program,
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// ShapeScript document
2+
3+
define myPath {
4+
path {
5+
point -3/2 1/2
6+
arc
7+
point -3/2 -1/2
8+
point -3/2 1/2
9+
}
10+
}
11+
group {
12+
color green
13+
myPath
14+
translate 3
15+
extrude myPath
16+
}

Viewer/Mac/WhatsNew.rtf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ What's New in ShapeScript?\
1111
\
1212
\pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0
1313

14+
\f1\b\fs28 \cf2 ShapeScript 1.8.9 \'97 2025-05-10\
15+
\
16+
\pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0
17+
\cf2 \kerning1\expnd0\expndtw0 \'95
18+
\f0\b0 \expnd0\expndtw0\kerning0
19+
Bumped Euclid to version 0.7.12 (fixes crash when extruding single-point paths) .\
20+
\
1421
\f1\b\fs28 \cf2 ShapeScript 1.8.8 \'97 2025-04-15\
1522
\
1623
\pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0

Viewer/iOS/WhatsNew.rtf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@
55
\paperw11900\paperh16840\margl1440\margr1440\vieww24140\viewh18420\viewkind0
66
\deftab720
77

8+
\f0\b \cf2 ShapeScript 1.8.9 \'97 2025-05-10\
9+
\
10+
\pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0
11+
\cf2 \kerning1\expnd0\expndtw0
12+
\f1\b0 \expnd0\expndtw0\kerning0 \'95
13+
\f1\b0 \expnd0\expndtw0\kerning0
14+
Bumped Euclid to version 0.7.12 (fixes crash when extruding single-point paths) .\
15+
\
816
\f0\b \cf2 ShapeScript 1.8.8 \'97 2025-04-15\
917
\
1018
\pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0

docs/1.5.10/ios/lights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ debug light {
167167
position -0.75 0 0
168168
orientation -0.15 0 0.5
169169
}
170-
```swift
170+
```
171171

172172
![Debugging a spotlight](../../images/spotlight-debug.png)
173173

docs/1.5.10/mac/lights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ debug light {
167167
position -0.75 0 0
168168
orientation -0.15 0 0.5
169169
}
170-
```swift
170+
```
171171

172172
![Debugging a spotlight](../../images/spotlight-debug.png)
173173

docs/1.5.14/ios/lights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ debug light {
167167
position -0.75 0 0
168168
orientation -0.15 0 0.5
169169
}
170-
```swift
170+
```
171171

172172
![Debugging a spotlight](../../images/spotlight-debug.png)
173173

docs/1.5.14/mac/lights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ debug light {
167167
position -0.75 0 0
168168
orientation -0.15 0 0.5
169169
}
170-
```swift
170+
```
171171

172172
![Debugging a spotlight](../../images/spotlight-debug.png)
173173

docs/1.5.6/ios/lights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ debug light {
167167
position -0.75 0 0
168168
orientation -0.15 0 0.5
169169
}
170-
```swift
170+
```
171171

172172
![Debugging a spotlight](../../images/spotlight-debug.png)
173173

docs/1.5.6/mac/lights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ debug light {
167167
position -0.75 0 0
168168
orientation -0.15 0 0.5
169169
}
170-
```swift
170+
```
171171

172172
![Debugging a spotlight](../../images/spotlight-debug.png)
173173

docs/1.6.0/ios/lights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ debug light {
167167
position -0.75 0 0
168168
orientation -0.15 0 0.5
169169
}
170-
```swift
170+
```
171171

172172
![Debugging a spotlight](../../images/spotlight-debug.png)
173173

docs/1.6.0/mac/lights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ debug light {
167167
position -0.75 0 0
168168
orientation -0.15 0 0.5
169169
}
170-
```swift
170+
```
171171

172172
![Debugging a spotlight](../../images/spotlight-debug.png)
173173

docs/1.6.12/ios/lights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ debug light {
167167
position -0.75 0 0
168168
orientation -0.15 0 0.5
169169
}
170-
```swift
170+
```
171171

172172
![Debugging a spotlight](../../images/spotlight-debug.png)
173173

docs/1.6.12/mac/lights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ debug light {
167167
position -0.75 0 0
168168
orientation -0.15 0 0.5
169169
}
170-
```swift
170+
```
171171

172172
![Debugging a spotlight](../../images/spotlight-debug.png)
173173

docs/1.6.3/ios/lights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ debug light {
167167
position -0.75 0 0
168168
orientation -0.15 0 0.5
169169
}
170-
```swift
170+
```
171171

172172
![Debugging a spotlight](../../images/spotlight-debug.png)
173173

docs/1.6.3/mac/lights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ debug light {
167167
position -0.75 0 0
168168
orientation -0.15 0 0.5
169169
}
170-
```swift
170+
```
171171

172172
![Debugging a spotlight](../../images/spotlight-debug.png)
173173

docs/1.6.7/ios/lights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ debug light {
167167
position -0.75 0 0
168168
orientation -0.15 0 0.5
169169
}
170-
```swift
170+
```
171171

172172
![Debugging a spotlight](../../images/spotlight-debug.png)
173173

docs/1.6.7/mac/lights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ debug light {
167167
position -0.75 0 0
168168
orientation -0.15 0 0.5
169169
}
170-
```swift
170+
```
171171

172172
![Debugging a spotlight](../../images/spotlight-debug.png)
173173

docs/1.7.1/ios/lights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ debug light {
169169
position -0.75 0 0
170170
orientation -0.15 0 0.5
171171
}
172-
```swift
172+
```
173173

174174
![Debugging a spotlight](../../images/spotlight-debug.png)
175175

docs/1.7.1/mac/lights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ debug light {
169169
position -0.75 0 0
170170
orientation -0.15 0 0.5
171171
}
172-
```swift
172+
```
173173

174174
![Debugging a spotlight](../../images/spotlight-debug.png)
175175

docs/1.8.0/ios/lights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ debug light {
180180
position -0.75 0 0
181181
orientation -0.15 0 0.5
182182
}
183-
```swift
183+
```
184184

185185
![Debugging a spotlight](../../images/spotlight-debug.png)
186186

docs/1.8.0/mac/lights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ debug light {
180180
position -0.75 0 0
181181
orientation -0.15 0 0.5
182182
}
183-
```swift
183+
```
184184

185185
![Debugging a spotlight](../../images/spotlight-debug.png)
186186

docs/1.8.1/ios/lights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ debug light {
180180
position -0.75 0 0
181181
orientation -0.15 0 0.5
182182
}
183-
```swift
183+
```
184184

185185
![Debugging a spotlight](../../images/spotlight-debug.png)
186186

docs/1.8.1/mac/lights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ debug light {
180180
position -0.75 0 0
181181
orientation -0.15 0 0.5
182182
}
183-
```swift
183+
```
184184

185185
![Debugging a spotlight](../../images/spotlight-debug.png)
186186

docs/1.8.4/ios/lights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ debug light {
180180
position -0.75 0 0
181181
orientation -0.15 0 0.5
182182
}
183-
```swift
183+
```
184184

185185
![Debugging a spotlight](../../images/spotlight-debug.png)
186186

docs/1.8.4/mac/lights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ debug light {
180180
position -0.75 0 0
181181
orientation -0.15 0 0.5
182182
}
183-
```swift
183+
```
184184

185185
![Debugging a spotlight](../../images/spotlight-debug.png)
186186

docs/1.8.6/ios/lights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ debug light {
180180
position -0.75 0 0
181181
orientation -0.15 0 0.5
182182
}
183-
```swift
183+
```
184184

185185
![Debugging a spotlight](../../images/spotlight-debug.png)
186186

docs/1.8.6/mac/lights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ debug light {
180180
position -0.75 0 0
181181
orientation -0.15 0 0.5
182182
}
183-
```swift
183+
```
184184

185185
![Debugging a spotlight](../../images/spotlight-debug.png)
186186

docs/1.8.7/ios/lights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ debug light {
180180
position -0.75 0 0
181181
orientation -0.15 0 0.5
182182
}
183-
```swift
183+
```
184184

185185
![Debugging a spotlight](../../images/spotlight-debug.png)
186186

docs/1.8.7/mac/lights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ debug light {
180180
position -0.75 0 0
181181
orientation -0.15 0 0.5
182182
}
183-
```swift
183+
```
184184

185185
![Debugging a spotlight](../../images/spotlight-debug.png)
186186

docs/1.8.8/ios/lights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ debug light {
180180
position -0.75 0 0
181181
orientation -0.15 0 0.5
182182
}
183-
```swift
183+
```
184184

185185
![Debugging a spotlight](../../images/spotlight-debug.png)
186186

0 commit comments

Comments
 (0)