Files
swift-nio/NOTICE.txt
T
Albert Aleksieiev a59293cbcd add Android support (#609)
### Motivation:

make swift-nio compatible with Android, and pass all test in Android.

### Modifications:

* add missed `ifaddrs` implementation
* add missed thread related functions - `CNIOLinux_pthread_getname_np`, `CNIOLinux_pthread_setaffinity_np` and `CNIOLinux_pthread_getaffinity_np`
* fix types incositency between Linux and Android, e.g. `Epoll.swift` class
* make bytes counter explicitely 64bits to avoid overflow on 32bit, in `PendingWritesManager.swift` and `PendingDatagramWritesState.swift`
* fix issue with Unix domain socket, first byte need to be zero in Android
* several incosistency fixes between Linux and Android api.

### Result:

now swift-nio works on Android. All tests passed!
2018-09-27 11:32:43 +01:00

78 lines
2.5 KiB
Plaintext

The SwiftNIO Project
====================
Please visit the SwiftNIO web site for more information:
* https://github.com/apple/swift-nio
Copyright 2017, 2018 The SwiftNIO Project
The SwiftNIO Project licenses this file to you under the Apache License,
version 2.0 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at:
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
under the License.
Also, please refer to each LICENSE.<component>.txt file, which is located in
the 'license' directory of the distribution file, for the license terms of the
components that this product depends on.
-------------------------------------------------------------------------------
This product is heavily influenced by Netty.
* LICENSE (Apache License 2.0):
* https://github.com/netty/netty/blob/4.1/LICENSE.txt
* HOMEPAGE:
* https://netty.io
---
This product contains a derivation of the Tony Stone's 'process_test_files.rb'.
* LICENSE (Apache License 2.0):
* https://www.apache.org/licenses/LICENSE-2.0
* HOMEPAGE:
* https://codegists.com/snippet/ruby/generate_xctest_linux_runnerrb_tonystone_ruby
---
This product contains NodeJS's http-parser.
* LICENSE (MIT):
* https://github.com/nodejs/http-parser/blob/master/LICENSE-MIT
* HOMEPAGE:
* https://github.com/nodejs/http-parser
---
This product contains "cpp_magic.h" from Thomas Nixon & Jonathan Heathcote's uSHET
* LICENSE (MIT):
* https://github.com/18sg/uSHET/blob/master/LICENSE
* HOMEPAGE:
* https://github.com/18sg/uSHET
---
This product contains "sha1.c" and "sha1.h" from FreeBSD (Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project)
* LICENSE (BSD-3):
* https://opensource.org/licenses/BSD-3-Clause
* HOMEPAGE:
* https://github.com/freebsd/freebsd/tree/master/sys/crypto
---
This product contains "ifaddrs-android.c" and "ifaddrs-android.h" from dxr.mozilla.org. Webrtc is the owner, but we use edited version from mozilla repo (Copyright (c) 2011, The WebRTC project authors. All rights reserved)
* LICENSE (BSD):
* https://webrtc.googlesource.com/src/+/master/LICENSE
* HOMEPAGE:
* https://webrtc.googlesource.com/