Skip to content

Commit a78bb48

Browse files
committed
Minor fixes in (lispkit draw). First release for Swift 4.2.
1 parent 7f059ec commit a78bb48

File tree

11 files changed

+18
-14
lines changed

11 files changed

+18
-14
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 1.5.3 (2018-10-21)
4+
- Migrated project to Xcode 10.0 and ported code to Swift 4.2
5+
- Small bug fixes in library `(lispkit draw)`
6+
- Fixed serious hashing bug (crashing LispKit)
7+
- New SRFI library: SRFI 14, SRFI 16
8+
39
## 1.5.2 (2018-09-16)
410
- Several substantial extensions of library `(lispkit draw)`
511
- Support for turtle graphics via library `(lispkit draw turtle)`

Cartfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github "objecthub/swift-numberkit" ~> 2.2.4
1+
github "objecthub/swift-numberkit" ~> 2.2.5
22
github "objecthub/swift-commandlinekit" ~> 0.2.5

Cartfile.resolved

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
github "objecthub/swift-commandlinekit" "0.2.5"
2-
github "objecthub/swift-numberkit" "2.2.4"
2+
github "objecthub/swift-numberkit" "2.2.5"

Package.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ let package = Package(
3737
.executable(name: "LispKitRepl", targets: ["LispKitRepl"])
3838
],
3939
dependencies: [
40-
.package(url: "https://github.com/objecthub/swift-numberkit.git", from: "2.2.2"),
41-
.package(url: "https://github.com/objecthub/swift-commandlinekit.git", from: "0.2.3")
40+
.package(url: "https://github.com/objecthub/swift-numberkit.git", from: "2.2.5"),
41+
.package(url: "https://github.com/objecthub/swift-commandlinekit.git", from: "0.2.5")
4242
],
4343
targets: [
4444
.target(name: "LispKit",

Sources/LispKit/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.5.2</string>
18+
<string>1.5.3</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

Sources/LispKit/Primitives/DrawingLibrary.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ public final class DrawingLibrary: NativeLibrary {
768768
return .object(ImmutableBox(nsimage))
769769
}
770770

771-
private func saveBitmap(bitmap: Expr, filename: Expr, format: Expr) throws -> Expr {
771+
private func saveBitmap(filename: Expr, bitmap: Expr, format: Expr) throws -> Expr {
772772
guard case .symbol(let sym) = format else {
773773
throw RuntimeError.eval(.invalidImageFileType, format)
774774
}

Sources/LispKit/Resources/Examples/Turtle.scm

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
;;;
1010
;;; Author: Matthias Zenger
1111
;;; Copyright © 2018 Matthias Zenger. All rights reserved.
12-
;;; Original copyright © 1994-03-06 Matthias Zenger
12+
;;; Original copyright © 1994-03-06, Matthias Zenger.
1313
;;;
1414
;;; Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
1515
;;; except in compliance with the License. You may obtain a copy of the License at
@@ -103,4 +103,3 @@
103103
(display filename)
104104
(newline)
105105
(save-drawings filename pages "Demo of library (lispkit draw turtle)")))
106-

Sources/LispKit/Resources/Libraries/lispkit/object.sld

-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@
169169
;;; either express or implied. See the License for the specific language governing permissions
170170
;;; and limitations under the License.
171171

172-
173172
(define-library (lispkit object)
174173

175174
;; Procedural object interface

Sources/LispKitRepl/AppInfo.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// LispKit
44
//
55
// Created by Matthias Zenger on 05/05/2016.
6-
// Copyright © 2016, 2017 ObjectHub. All rights reserved.
6+
// Copyright © 2016-2018 ObjectHub. All rights reserved.
77
//
88
// Licensed under the Apache License, Version 2.0 (the "License");
99
// you may not use this file except in compliance with the License.
@@ -32,7 +32,7 @@ public struct AppInfo {
3232
// Version of the application
3333
public static let version =
3434
(Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String) ??
35-
"2.0.1"
35+
"2.0.2"
3636

3737
// Copyright message
3838
public static let copyright =

Sources/LispKitRepl/Info.plist

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
<key>CFBundlePackageType</key>
1616
<string>APPL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.0.1</string>
18+
<string>2.0.2</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>2.0.0</string>
22+
<string>2.0.2</string>
2323
<key>LSMinimumSystemVersion</key>
2424
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
2525
<key>NSHumanReadableCopyright</key>

Sources/LispKitRepl/main.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ var cmdLineArgs = flags.parameters.isEmpty ? [CommandLine.arguments.first!] : fl
123123
#if SPM
124124
let context = Context(console: console,
125125
implementationName: "LispKit",
126-
implementationVersion: "1.5.2",
126+
implementationVersion: "1.5.3",
127127
commandLineArguments: cmdLineArgs,
128128
includeInternalResources: false,
129129
includeDocumentPath: searchDocs.wasSet ? "LispKit" : nil)

0 commit comments

Comments
 (0)