Swiftpack.co - Swift Packages by armadsen

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

Packages published by armadsen

armadsen/ORSSerialPort wip-syncserialportdemo
Serial port library for Objective-C and Swift macOS apps
⭐️ 741
🕓 1 year ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
2.1.0
4 years ago
Version 2.1 is a semi-major update to ORSSerialPort. It includes enhancements including minor new API, support for installation using Swift Package Manager, modernized Swift code, and other updates and bug fixes. **Important**: This release of ORSSerialPort removes support for deploying on Mac OS X 10.7 Lion, and requires Mac OS X 10.8 Mountain Lion. If you need to support 10.7, please continue using ORSSerialPort 2.0.2. See below for a comprehensive list of changes: ### CHANGED - Updated Swift examples to Swift 4.2 and otherwise modernized them - Updated all projects to more recent Xcode versions ### ADDED - Support for configuring number of data bits via `numberOfDataBits` property (credit: stbraun) - Support for Swift Package Manager ### FIXED - Race condition when changing delegate - Issue where certain API would fail after unplugging then replugging a port (credit: KevinVitale) **Note:** Now that ORSSerialPort can be installed using the Swift Package Manager, I intend to deprecate support for CocoaPods and Carthage in the future. In the upcoming Xcode 11, SwiftPM packages can be managed directly in Xcode with no need for third-party dependency management tools. This is true even for pure Objective-C apps (despite SwiftPM's name). Please consider switching to using SwiftPM for management of ORSSerialPort. Formal deprecation of CocoaPods and Carthage, along with removal of support for them will be clearly communicated well in advance, so this only serves as a very early notice that that's coming.
2.0.2
8 years ago
This is a minor bug fix update to ORSSerialPort containing the following changes: **CHANGED** - Refactored packet descriptor buffer parsing to pave the way for future improvements (thanks @nathanntg!) - Clarified distinction between packet parsing API and request/response API in documentation for `ORSSerialPacketDescriptor`. - Refactored modem line control code (see Issue #86 and commit 6fc0c9e) **FIXED** - Fixed error building framework project in Xcode 4.6 on 10.7.5 - Fixed bug where PacketParsingDemo and RequestResponseDemo apps didn't work on 10.11 - Fixed incorrect nullability annotation on `ORSSerialRequest`'s `responseDescriptor` property Complete changes for this release can be viewed [here](https://github.com/armadsen/ORSSerialPort/compare/2.0.1...2.0.2).
2.0.1
8 years ago
This is a minor bug fix update to ORSSerialPort containing the following changes: **ADDED** - Added CHANGELOG.md file - Travis CI now builds and tests changes to ORSSerialPort's public repository **FIXED** - Fixed error when building framework project (tests target specifically) in versions of Xcode released before support for nullability annotations were introduced. Complete changes for this release can be viewed [here](https://github.com/armadsen/ORSSerialPort/compare/2.0.0...2.0.1).
2.0.0
8 years ago
Version 2.0.0 is a major update to ORSSerialPort. It includes enhancements including a new packet parsing API, bug fixes, performance improvements, and additional example code. It is mostly API compatible with previous releases, requiring no code changes on the part of most users. The exception is that the methods for creating an `ORSSerialRequest` object have changed slightly. The old methods are deprecated, but still available. _Important note_: Due to a [change](https://github.com/armadsen/ORSSerialPort/issues/52) to the underlying system API used by ORSSerialPort, as of this release, it only supports deploying to OS X 10.7 or later. If you require support for OS X 10.6, use version [1.8.2](https://github.com/armadsen/ORSSerialPort/releases/tag/1.8.2). The requirements for building ORSSerialPort (Xcode 4.4+ on 10.7+) have not changed. Changes include: - Full featured support for parsing incoming data into packets. See the [documentation](https://github.com/armadsen/ORSSerialPort/wiki/Packet-Parsing-API) for details. (Issue #55) - Support for canceling pending requests. (Issue #57) - Switched to using a dispatch source for reading from the underlying serial device. (Issue #52) - Objective-C generics annotation for nicer usability from Swift 2.0. (Issue #58) - All Swift example code has been updated to Swift 2.0. (Issue #60) - Added some unit tests. (More [coming](https://github.com/armadsen/ORSSerialPort/issues/65) in version 2.1.) - A few minor bug fixes. Complete changes can be viewed [here](https://github.com/armadsen/ORSSerialPort/pull/81/commits).
1.8.2
8 years ago
Version 1.8.2 is a minor bug fix release of ORSSerialPort. It includes the following changes: - Fixed a minor memory leak when targeting OS X 10.6 or 10.7. - Added missing license to header comments in several files.
1.8.1
8 years ago
Version 1.8.1 is a minor bug fix and enhancement release of ORSSerialPort. It includes the following changes: - Made it so that ORSSerialPort once again builds in older versions of Xcode (tested on 5.1.1). - Improvements to the ORSSerialPortDemo app (added ability to automatically append line endings, better UI layout). - Fixed build errors and warnings in Swift RequestResponseDemo project with latest version of Xcode (6.4).
1.8.0
9 years ago
Version 1.8.0 is a semi-major update to ORSSerialPort. It includes enhancements including new API, better Swift support, and additional example code. For Objective-C projects, it should be fully API compatible with previous releases, requiring no code changes on the part of the end user. However, new warnings may be emitted for certain improper uses of ORSSerialPort API. **Important note:** Due the addition of nullability annotations, existing Swift code which uses ORSSerialPort may need to be updated when updating to 1.8.0. These updates should be quite minor, and the compiler should do a good job of reporting what needs to be changed. Changes include: - Support for non-standard baud rates (see #49 and #45) - Nullability annotations for better Swift interoperability (see #42) - Swift version of CommandLineDemo app. Complete changes can be viewed [here](https://github.com/armadsen/ORSSerialPort/pull/53).
1.7.1
9 years ago
Version 1.7.1 is a minor bug fix release of ORSSerialPort. It includes the following fixes: - Fixes a deadlock that could cause some USB serial adapter drivers to hang on close (see #25). - ORSSerial.framework and Objective-C examples can now be built on 10.7 using Xcode 4.6.
1.7.0
9 years ago
Version 1.7.0 is a semi-major update to ORSSerialPort. It includes bug fixes, and enhancements including new API. It should be fully API compatible with previous releases, requiring no code changes on the part of the end user. Changes include: - Much better documentation, including [programming guides](https://github.com/armadsen/ORSSerialPort/wiki). - [API](https://github.com/armadsen/ORSSerialPort/blob/b69e9a896b89e9129b674bf2e95810c1d370b68e/Source/ORSSerialPort.h#L294) for retrieving queued requests from a port - [Example app](https://github.com/armadsen/ORSSerialPort/tree/master/Examples/RequestResponseDemo) for the request/response API in both Objective-C and Swift - More explicit [behavior](https://github.com/armadsen/ORSSerialPort/blob/b69e9a896b89e9129b674bf2e95810c1d370b68e/Source/ORSSerialPort.h#L535-L538) related to pending and queued requests when a port is closed - ORSSerialPort's delegate is now weak when targeting 10.8 or higher (remains unsafe_retained for older targets) - Fix for ORSSerialPortManager's automatic close-on-sleep behavior failing in ORSSerial.framework - Other bug fixes and minor enhancements. Complete changes can be found [here](https://github.com/armadsen/ORSSerialPort/pull/44).
ORSSerialPort 1.0.2
10 years ago
Fixes a bug that caused a compilation error in 1.0.1.
macOS

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics