Commit Graph

57 Commits

Author SHA1 Message Date
freak4pc
f92f8b7240 Remove unneeded underscores from variable names 2020-10-06 20:36:28 +03:00
freak4pc
bd6a0b666d Remove all unneeded single-line returns
(cherry picked from commit 0bab5e2545)
2020-10-06 20:36:28 +03:00
freak4pc
6225dc2eae Remove additional scoped imports 2020-10-06 20:36:28 +03:00
Keith Smiley
a1a2f00c7a Remove scoped imports for library evolution
In order to support `-enable-library-evolution` and `swiftinteface`
files, we have to use non-scoped imports. I've filed an upstream bug to
track this https://bugs.swift.org/browse/SR-11782

This is a step towards https://github.com/ReactiveX/RxSwift/issues/2026
2020-10-06 20:36:28 +03:00
freak4pc
4acff281e9 Omit return for single-expression methods 2020-10-06 20:36:28 +03:00
antonnazarov
60a80f0e55
Reduce fileprivate usage 2020-02-08 18:33:29 +02:00
freak4pc
991e955297 Update E to Element in RxSwift 2019-04-23 14:24:43 +02:00
freak4pc
c551f3f089 Remove DeprecationWarner 2019-04-09 18:46:04 +02:00
freak4pc
9a39952e78 Update RxExample project 2019-04-07 10:17:49 +02:00
Keith Smiley
36104a939d Stop assigning threadDictionary on Linux
As of this change https://github.com/apple/swift-corelibs-foundation/pull/1762/files which is part of Swift 5, you can no longer assign the entire threadDictionary, instead you need to mutate it
2019-04-03 09:10:27 +02:00
Krunoslav Zaher
30cf72a533 Remove RxAtomic dependency and implement atomic operations by using a NSLock. 2019-03-31 21:49:57 +02:00
Alan Zeino
bd084821c3 Fix Swift 5 compiler #ifdefs 2019-03-26 23:22:15 +01:00
Alan Zeino
9aac55ff34 Update for Swift 5 compiler and Xcode 10.2 2019-03-20 07:48:35 +02:00
Richard Yu
b8b9c67e1d Addressing PR comments 2019-03-09 14:20:34 +01:00
Richard Yu
a2b2bec028 Fixed typo 2019-03-09 14:20:34 +01:00
Richard Yu
0687a7a698 Fixing check to see if queue is on main thread. 2019-03-09 14:20:34 +01:00
Richard Yu
5a66602312 Fixing check to see if queue is on main thread. 2019-03-09 14:20:34 +01:00
Krunoslav Zaher
65efb404c8 Merge branch 'LucianoPAlmeida-no-sanitize-thread-atomic' into merge_luciano 2019-01-31 14:37:09 +01:00
freak4pc
2b58d5370a for_where: Use for/where instead of internal if where possible 2019-01-30 20:19:57 +01:00
freak4pc
6748801a87 redundant_optional_initialization: Remove redundant initialization with nil 2019-01-30 20:19:57 +01:00
Krunoslav Zaher
ba930dca0c
Replaces instance methods with static methods. 2019-01-29 23:48:01 +01:00
Luciano Almeida
958b9d7c38 Clean up and fixing paths of files. 2019-01-28 22:00:05 -02:00
Luciano Almeida
b95cbf0c87 Workarounf package-spm 2019-01-28 08:25:17 -02:00
Luciano Almeida
a25f31b5e1 Fixing comments new file. 2019-01-27 18:40:42 -02:00
Luciano Almeida
faefc0f9ac Removing inline attributes. 2019-01-27 17:22:04 -02:00
Luciano Almeida
d54de85f27 Fixing SPM build 2019-01-27 17:12:46 -02:00
Luciano Almeida
403cc940d8 Another approach abstracting atomic to static functions and a final class Box. 2019-01-27 13:03:56 -02:00
Luciano Almeida
b51493faba Removing swift3 compile checks. 2018-12-21 16:08:10 +01:00
Krunoslav Zaher
761001436d Fix deprecated atomic APIs. 2018-10-31 09:06:56 +01:00
jin_ai_yuan
7d8743d82e Update Bag.swift comment
There is maybe a mistake in comments at line 28. Please check it.
2018-04-13 09:19:53 +02:00
Shai Mishali
443c8ae2fc Exclude DeprecationWarner from validate-header test 2018-01-21 20:15:02 +01:00
Shai Mishali
e4fb946cd5 Switched to a Set and separate enum cases with no associated value 2018-01-21 20:15:02 +01:00
Shai Mishali
b68d67923c Added DeprecationWarner.Kind enum and a recursive lock 2018-01-21 20:15:02 +01:00
Shai Mishali
f315349362 Added soft deprecation warnings to RxTest. Moved to DeprecationWarner. 2018-01-21 20:15:02 +01:00
beeth0ven
8c1f1de7ee Remove unnecessary in Bag 2017-10-21 16:44:07 +02:00
Krunoslav Zaher
4b7d1efb25
Merge branch 'master' into swift4.0 2017-08-16 22:45:31 +02:00
Alan Zeino
23bfb5b9ad Update RxSwift for Xcode 9b4 2017-07-31 14:31:13 -07:00
Vladimir
16eabd5ea4
Add swift 4 support 2017-06-16 13:37:22 +02:00
Krunoslav Zaher
db883ab96f
Makes imports more specific. 2017-04-29 21:29:59 +02:00
Krunoslav Zaher
c731bedbd7
Adds additional resource cleanup tests. 2017-02-05 23:22:55 +01:00
Krunoslav Zaher
dd02c8008a
Removes custom recursive lock implementation because benchmark shows it doesn't significantly improve performance. 2017-01-30 23:01:55 +01:00
Krunoslav Zaher
0b66f666ba
Removes unnecessary import Foundation statements. 2017-01-29 03:05:26 +01:00
Krunoslav Zaher
03988f1b11 [Fix] Linux. 2017-01-22 22:57:20 +01:00
Krunoslav Zaher
bdcced7f61 Adds RecursiveLock tests. 2017-01-22 19:21:15 +01:00
Krunoslav Zaher
617f207b01 Adds RecursiveLock tests. 2017-01-22 18:58:17 +01:00
Krunoslav Zaher
25f7eee53a [Fix] Linux. 2017-01-21 22:05:28 +01:00
Krunoslav Zaher
c1c0a42a66 Optimizes Bag. 2017-01-21 20:21:09 +01:00
Krunoslav Zaher
e8821d2a97 Replaces NSRecursiveLock with RecursiveLock. 2017-01-21 20:21:09 +01:00
Krunoslav Zaher
9ba39d92b0 Optimizations. 2017-01-21 19:57:09 +01:00
Krunoslav Zaher
f3819415c3 Improves hiding of Bag as implementation detail. 2016-11-06 17:55:14 +01:00