Skip to content

Commit

Permalink
Reorganized for 1.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Balancingrock committed Aug 16, 2019
1 parent 7b0d89b commit 279e571
Show file tree
Hide file tree
Showing 21 changed files with 1,490 additions and 1,525 deletions.
2 changes: 1 addition & 1 deletion .jazzy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ module: SwifterSockets
hide_documentation_coverage: true
xcodebuild_arguments: [-target, SwifterSockets]
github_url: https://github.com/Balancingrock/SwifterSockets
output: ~/Documents/Websites/sf/projects/swiftersockets/reference
output: ~/Documents/Websites/swiftfire.nl/projects/swiftersockets/reference
clean: true
theme: fullwidth
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:4.0
// swift-tools-version:5.0

import PackageDescription

Expand All @@ -9,7 +9,7 @@ let package = Package(
name: "SwifterSockets", targets: ["SwifterSockets"])
],
dependencies: [
.package(url: "https://github.com/Balancingrock/BRUtils", from: "0.13.0")
.package(url: "https://github.com/Balancingrock/BRUtils", from: "1.0.0")
],
targets: [
.target(
Expand Down
157 changes: 3 additions & 154 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Extend the dependency of your project package with:
.package(url: "https://github.com/Balancingrock/SwifterSockets", from: <version-number>)
]

The _<version-number>_ must be replaced with the version number that must be used, for example: "0.11.0".
The _<version-number>_ must be replaced with the version number that must be used, for example: "1.0.0".

## Use as a framework

Expand All @@ -66,157 +66,6 @@ Note: Planned releases are for information only, they are subject to change with
- No new features planned. Features and bugfixes will be made on an ad-hoc basis as needed to support Swiftfire development.
- For feature requests and bugfixes please contact [email protected]

#### 1.0.0 (Planned)
#### 1.0.0 (Current)

- The current verion will be upgraded to 1.0.0 status when the full set necessary for Swiftfire 1.0.0 has been completed.

#### 0.12.0 (Current)

- Updated the package dependency for Swift 5

#### 0.11.0

- Migration to SPM 4

#### 0.10.11

- Migration to Swift 4, minor adjustments.

#### 0.10.10

- Upgraded BRUtils to 0.10.0

#### 0.10.9

- Upgraded BRUtils to 0.9.0

#### 0.10.8

- Upgraded BRUtils to 0.5.0
- Made incrementUsageCount and decrementUsageCount public.

#### 0.10.7

- Bugfix: Closing a connection of a connection object could crash an application (rare, only observed once).
- Bugfix: There was a conditon that would prevent the release of connection objects causing a server to run out of connection objects (common when a server ran for several days without restarts)

#### 0.10.6

- Updated the references captured by closures.
- In transmitterClosed the inerface is immediately set to 'nil' to prevent errors in an SSL connectionon closing.
- Renamed 'abortConnection' to 'connectionWasClosed'.
- Added sorting to the connection pool.
- Added closing of the socket on transmitterClosed.

#### 0.10.5

- Added affectInactivityDetection parameter (default = true) to the transfer calls.

#### 0.10.4

- Bugfix: The sQueue in SwifterSocket.Connection could be deallocated before its processes were complete.

#### 0.10.3

- BRUtils update to 0.2.0

#### 0.10.2

- Moved Result type to BRUtils

#### 0.10.1

- Compile time improvement

#### v0.10.0

- Added a result function to process Result<T> results

#### 0.9.15

- Added inactivity detection for Connections.

#### 0.9.14

- More access level updates
- Added buffer pointer to transfer protocol
- Added buffered transmissions to Connections
- Moved some protocols from the general area to specific files
- Added connection pool manager

#### 0.9.13

- Re-evaluated open/public access
- Added logId fo the InterfaceAccess protocol
- Updated comments

#### 0.9.12

- Improved documentation for reference manual generation

#### 0.9.11

- Comment changes

#### 0.9.10

- Added xcode project for framework generation

#### 0.9.9

- Fixed some access control levels

#### 0.9.8

- Major redesign to support SecureSockets the SSL complement to SwifterSockets. The old interfaces have changed and the thread related operations have been replaced by the new approach to use Connection objects rather than directly interfacing with the threads.

#### 0.9.7

- Upgraded to Xcode 8 beta 6 (Swift 3)

#### 0.9.6

- Upgraded to Xcode 8 beta 3 (swift 3)

#### 0.9.5

- Fixed a bug where accepting an IPv6 connection would fill an IPv4 sockaddr structure.
- Added SocketAddress enum adopted from Marco Masser: http://blog.obdev.at/representing-socket-addresses-in-swift-using-enums

#### 0.9.4

- Header update to include new website: [swiftfire.nl](http://swiftfire.nl)

#### 0.9.3

- Changed target to framework
- Made the necessary interfaces public
- Removed the dependency on SwifterLog to prevent cross-usage
- Added tags to mark releases
- Removed other not used files/directories

#### 0.9.2

- Upgraded to Swift 2.2.
- Added closeSocket call.
- Added 'logUnixSocketCalls' (needs [SwifterLog](https://github.com/Swiftrien/SwifterLog)).
- Added note on buffer capture to transmitAsync:buffer.
- Added SERVER_CLOSED and CLIENT_CLOSED to TransmitResult.
- Changed DataEndDetector from a class to a protocol.
- Added SERVER_CLOSED to ReceiveResult.
- Replaced error numbers in the receiver functions with #file.#function.#line
- Added CLOSED AcceptResult.
- Fixed a bug that missed the error return from the select call in the accept functions.


#### 0.9.1

- Changed type of object in 'synchronized' from AnyObject to NSObject
- Added EXC_BAD_INSTRUCTION info to fd_set
- TransmitTelemetry and ReceiveTelemetry now inherit from NSObject
- Replaced (UnsafePointer<UInt8>, length) with UnsafeBufferPointer<UInt8>
- Added note on DataEndDetector that it can be used to receive the data also.

#### 0.9.0

- Initial release
- Restructured for Swiftfire 1.0.0
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
// =====================================================================================================================
//
// File: SwifterSockets.Client.swift
// File: ConnectToTipServer.swift
// Project: SwifterSockets
//
// Version: 0.10.2
// Version: 1.0.0
//
// Author: Marinus van der Lugt
// Company: http://balancingrock.nl
// Website: http://swiftfire.nl/pages/projects/swiftersockets/
// Blog: http://swiftrien.blogspot.com
// Git: https://github.com/Swiftrien/SwifterSockets
// Website: http://swiftfire.nl/
// Git: https://github.com/Balancingrock/Swiftfire
//
// Copyright: (c) 2014-2017 Marinus van der Lugt, All rights reserved.
// Copyright: (c) 2014-2019 Marinus van der Lugt, All rights reserved.
//
// License: Use or redistribute this code any way you like with the following two provision:
//
Expand All @@ -22,24 +21,13 @@
//
// I also ask you to please leave this header with the source code.
//
// I strongly believe that voluntarism is the way for societies to function optimally. Thus I have choosen to leave it
// up to you to determine the price for this code. You pay me whatever you think this code is worth to you.
// Like you, I need to make a living:
//
// - You can send payment via paypal to: [email protected]
// - You can send payment (you choose the amount) via paypal to: [email protected]
// - Or wire bitcoins to: 1GacSREBxPy1yskLMc9de2nofNv2SNdwqH
//
// I prefer the above two, but if these options don't suit you, you might also send me a gift from my amazon.co.uk
// wishlist: http://www.amazon.co.uk/gp/registry/wishlist/34GNMPZKAQ0OO/ref=cm_sw_em_r_wsl_cE3Tub013CKN6_wb
//
// If you like to pay in another way, please contact me at [email protected]
//
// (It is always a good idea to visit the website/blog/google to ensure that you actually pay me and not some imposter)
//
// For private and non-profit use the suggested price is the price of 1 good cup of coffee, say $4.
// For commercial use the suggested price is the price of 1 good meal, say $20.
//
// You are however encouraged to pay more ;-)
//
// Prices/Quotes for support, modifications or enhancements can be obtained from: [email protected]
//
// =====================================================================================================================
Expand All @@ -48,21 +36,7 @@
//
// History
//
// 0.10.2 - Added BRUtils for the Result type
// 0.9.13 - Comment section update
// 0.9.12 - Documentation updated to accomodate the documentation tool 'jazzy'
// 0.9.11 - Comment change
// 0.9.9 - Updated access control
// 0.9.8 - Redesign of SwifterSockets to support HTTPS connections.
// 0.9.7 - Upgraded to Xcode 8 beta 6
// 0.9.6 - Upgraded to Xcode 8 beta 3 (Swift 3)
// 0.9.4 - Header update
// 0.9.3 - Adding Carthage support: Changed target to Framework, added public declarations, removed SwifterLog.
// 0.9.2 - Added support for logUnixSocketCalls
// - Moved closing of sockets to SwifterSockets.closeSocket
// - Upgraded to Swift 2.2
// 0.9.1 - Replaced (UnsafePointer<UInt8>, length) with UnsafeBufferPointer<UInt8>
// 0.9.0 - Initial release
// 1.0.0 - Removed older history
// =====================================================================================================================


Expand Down
Loading

0 comments on commit 279e571

Please sign in to comment.