Skip to content

Commit 578943d

Browse files
committed
Update for 1.6.4 release
1 parent 49f89f8 commit 578943d

8 files changed

Lines changed: 22 additions & 12 deletions

File tree

CHANGELOG.md

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

3+
## [1.6.4](https://github.com/nicklockwood/ShapeScript/releases/tag/1.6.4) (2023-02-28)
4+
5+
- The `bounds` and `polygons` members now correctly take object transform into account
6+
- ShapeScript Viewer for iPad now supports multiple viewer/editor windows
7+
- Fixed some bugs and improved editing experience for source editor on iOS
8+
- Fixed bug where iOS editor would sometimes close spontaneously while editing
9+
- Added `shapescript:` URL scheme and improved URL handling
10+
- Bumped Euclid to version 0.6.10
11+
312
## [1.6.3](https://github.com/nicklockwood/ShapeScript/releases/tag/1.6.3) (2023-01-31)
413

514
- iOS Viewer now supports editing `.shape` files directly inside the app

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![Platforms](https://img.shields.io/badge/platforms-iOS%20|%20Mac%20|%20tvOS%20|%20Linux-lightgray.svg)]()
44
[![Swift 5.1](https://img.shields.io/badge/swift-5.1-red.svg?style=flat)](https://developer.apple.com/swift)
55
[![License](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://opensource.org/licenses/MIT)
6-
[![Twitter](https://img.shields.io/badge/twitter-@nicklockwood-blue.svg)](http://twitter.com/nicklockwood)
6+
[![Mastodon](https://img.shields.io/badge/mastodon-@nicklockwood@mastodon.social-636dff.svg)](https://mastodon.social/@nicklockwood)
77

88
![Screenshot](Screenshot.jpg?raw=true)
99

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.6.3",
3+
"version": "1.6.4",
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.6.3"
13+
"tag": "1.6.4"
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
@@ -1135,7 +1135,7 @@
11351135
"$(inherited)",
11361136
"@executable_path/../Frameworks",
11371137
);
1138-
MARKETING_VERSION = 1.6.3;
1138+
MARKETING_VERSION = 1.6.4;
11391139
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptViewer;
11401140
PRODUCT_MODULE_NAME = Viewer;
11411141
PRODUCT_NAME = "ShapeScript Viewer";
@@ -1163,7 +1163,7 @@
11631163
"$(inherited)",
11641164
"@executable_path/../Frameworks",
11651165
);
1166-
MARKETING_VERSION = 1.6.3;
1166+
MARKETING_VERSION = 1.6.4;
11671167
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptViewer;
11681168
PRODUCT_MODULE_NAME = Viewer;
11691169
PRODUCT_NAME = "ShapeScript Viewer";
@@ -1193,7 +1193,7 @@
11931193
"$(inherited)",
11941194
"@executable_path/Frameworks",
11951195
);
1196-
MARKETING_VERSION = 1.6.3;
1196+
MARKETING_VERSION = 1.6.4;
11971197
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptViewer;
11981198
PRODUCT_MODULE_NAME = Viewer;
11991199
PRODUCT_NAME = ShapeScript;
@@ -1225,7 +1225,7 @@
12251225
"$(inherited)",
12261226
"@executable_path/Frameworks",
12271227
);
1228-
MARKETING_VERSION = 1.6.3;
1228+
MARKETING_VERSION = 1.6.4;
12291229
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptViewer;
12301230
PRODUCT_MODULE_NAME = Viewer;
12311231
PRODUCT_NAME = ShapeScript;
@@ -1388,7 +1388,7 @@
13881388
"@executable_path/../Frameworks",
13891389
"@loader_path/Frameworks",
13901390
);
1391-
MARKETING_VERSION = 1.6.3;
1391+
MARKETING_VERSION = 1.6.4;
13921392
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptLib;
13931393
PRODUCT_NAME = ShapeScript;
13941394
SKIP_INSTALL = YES;
@@ -1419,7 +1419,7 @@
14191419
"@executable_path/../Frameworks",
14201420
"@loader_path/Frameworks",
14211421
);
1422-
MARKETING_VERSION = 1.6.3;
1422+
MARKETING_VERSION = 1.6.4;
14231423
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptLib;
14241424
PRODUCT_NAME = ShapeScript;
14251425
SKIP_INSTALL = YES;

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.6.3"
14+
public let version = "1.6.4"
1515

1616
public protocol EvaluationDelegate: AnyObject {
1717
func resolveURL(for path: String) -> URL

ShapeScript/Types.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ extension Value {
452452
return try .string(context?.resolveFont(name) ?? name)
453453
}
454454
case (.string, .number):
455-
return Double(self.stringValue).map { .number($0) }
455+
return Double(stringValue).map { .number($0) }
456456
case (.string, .boolean):
457457
switch stringValue.lowercased() {
458458
case "true": return .boolean(true)

Viewer/iOS/SceneDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
1717
options connectionOptions: UIScene.ConnectionOptions
1818
) {
1919
window?.backgroundColor = .black
20-
20+
2121
self.scene(scene, openURLContexts: connectionOptions.urlContexts)
2222
}
2323

docs/1.6.4

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1.6.3

0 commit comments

Comments
 (0)