| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| | |
am: a44cd39d10
Change-Id: If7e797f4c45828b24607ca0ed275dcc9a932063d
|
| |\
| | |
| | |
| | |
| | | |
Bug: 126125118
Change-Id: Ia076fe8c5ebdebd19025bbf4fcd6c6ec607810ac
|
| | |\
| | | |
| | | |
| | | | |
stage-aosp-master
|
| | | |\
| | | | |
| | | | |
| | | | |
| | | | | |
Bug: 120848293
Change-Id: I1892413ed7341790edd8c4684e7754ee2514d0d1
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 8ca4201d67
Change-Id: I511597fbf53554f316eeb63cc52de72af8d38675
|
| |\| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: b03d6248d9
Change-Id: Ib568d8afa9507d682c9fce59e55de9ee6cc956c0
|
| | |\ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
am: 671e288a8a
Change-Id: I8092157c7f15c43ebbafd43624142b8adac2da19
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The existing `connectable_observable.ref_count()` operator calls
connect on the source when it's subscribed to.
Generalize this by allowing an optional parameter `other`, i.e.
`observable.ref_count(connectable_observable other)` to be used as the
connect target.
Useful for implementing diamond graphs while retaining composability:
```
A
/ \
B C
\ /
D
|
E
auto A = ... | publish();
auto B = A | ...;
auto C = A | ...;
auto D = B | merge(C) | ref_count(A);
auto E = D | ...;
E | subscribe(...);
```
Resolves: https://github.com/ReactiveX/RxCpp/issues/484
Pull request: https://github.com/ReactiveX/RxCpp/pull/485
(Need to merge this into AOSP now because it's blocking an android
change).
(cherry picked from commit 77a5b21ac18d4e42a8402176a9b3baf583b7414e)
Change-Id: I9139dbce2c3b0ba4f4ca59b8300d2b4ceaef4855
|
|\| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
7db9c5ce02
am: 6cce4d0f33
Change-Id: Idb7ab1e6972d67e51f939e728e5719a18646812c
|
| |\| | | |
| | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | | |
am: 7db9c5ce02
Change-Id: I3939bf64f3bb5584008d8e27cfefc34011121f7b
|
| | |\| |
| | | |/
| | |/|
| | | |
| | | |
| | | | |
am: bf1edc83fb
Change-Id: Iacc8716fc9e9d6dcbaffe0c3d1b789d9a449cf5f
|
| | | |\
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Updates to aac2fc97bc5fe680446afb5ae81bef0a9c0fbf8a in upstream.
Change-Id: Ic56ec9d83b5611e734dfdbebec7c3538388f5c82
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
composite_subscription_inner had missing checks which could lead to add/remove/clear
racing against unsubscribe.
(See the issue for more details).
Fixes: #475
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Remove 'RxCpp' library target when it's used outside of
Visual Studio. This was supposed to be a virtual target,
not an actual one that builds libRxCpp.so.
The build never worked because it was missing setting the
compiler/linker flags from shared.cmake
Resolves: #477
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
clang should be told to use libc++, otherwise it will
try to use libstdc++ which may be missing on some systems.
Resolves: #478
|
| | | | |
| | | | |
| | | | |
| | | | | |
The files hosted on SourceForge are not going to fade away.
|
| | | | |
| | | | |
| | | | |
| | | | | |
This warning is reported by GCC 9.
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* Minor compilation/test fixes for compiling on android
Change-Id: Id623455d32e9323355744a240c2813d0411d1dac
* Rx: Add support for compiling code without exceptions (-fno-exceptions)
std::exception_ptr usage is replaced with rxcpp::util::error_ptr
which will typedef to std::exception_ptr when exceptions are enabled.
When exceptions are disabled this will typedef to an internal error
type that can retain the "what" error message.
Additionally std::current_exception() and similar usages are replaced
with rxu::current_exception which uses error_ptr instead.
Lastly all try/catch/throw keywords are replaced with either
RXCPP_TRY, RXCPP_CATCH, rxu::throw_exception or similar.
Note that try/catch/throw keywords cause a compilation error with
-fno-exceptions. Trying to access most of the std::*exception* functions
will call std::terminate at runtime.
Tests using exceptions must be disabled by passing --nothrow to the
check2 test runner.
Change-Id: I0b95ae2e323653a17c3b733d165ecf87a014c315
* update to catch2 and add RX_USE_EXCEPTIONS cmake option
* fix bugs in doxygen examples
* replace [[noreturn]] with RXCPP_NORETURN
* removes support for VS 2013
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Building the docs (e.g. with `ninja doc`) failed with GCC (e.g. GCC 7.3
under Fedora 27) with some missing declaration errors.
Example:
../Rx/v2/examples/doxygen/main.cpp:7:13: error: no previous
declaration for ‘std::__cxx11::string get_pid()’
[-Werror=missing-declarations]
Thus, this change adds a shared declaration for `get_pid()` that is
included by all users/the file where it's defined such that
accidental deviation in the signature are immediately noticed (as
compile error).
Similarly, the visibility of the example `less()` is changed to static
as it's only locally used.
With those changes the doc target succeeds again.
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 476dcf0c69
Change-Id: If777e3e25b1da4c4ed315de85779fd0894130178
|
| |\| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 87fa2a6f58
Change-Id: I4410cde7a1935b4ace1f93874c1a13afd3b25993
|
| | |\| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 2f3177dd77
Change-Id: I4cdd8f37dbd65a394536e914271370c760009015
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 33166666
Test: gerrit uploader
Change-Id: I3b67679f938195070751fbe040d16729059b917d
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: b5aa3253e8
Change-Id: I32ac663b5ea075925f922dbf6c50bfad022b095b
|
| |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: a83ddb5e6c
Change-Id: I168a8d701cdb5da988a5ace457d6fd11232c41e8
|
| | |\ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: c2b0d0c812
Change-Id: I9b49ccf77de84938a487600f433ae8305e1826db
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Test: TreeHugger
Issue: 109878533
Change-Id: I7fa307094c15eba99cfbbe04092b36ca789fce1c
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 012a858d2a am: 14ec7d62d8
am: 7a4063f839
Change-Id: I9fb2fceb00fbdc36640c57803c8b12cc1a2a3203
|
| |\| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 012a858d2a
am: 14ec7d62d8
Change-Id: I6dcb593cea23aad5c8a7ed068d5004decba944f0
|
| | |\ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
am: 012a858d2a
Change-Id: Ie6ef41ebab9ad8007c08c4ac85dbc1d1d309b234
|
| | | |\| |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
am: 62eaa9fe03
Change-Id: Ifeeb0a27eb6962e1fd165224570115918f8fb4c0
|
| | | | |\|
| | | | | |
| | | | | |
| | | | | | |
Change-Id: I50eb4a662df62db5d494601c99db09ceb78603fa
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
removes spinning from blocking submit. ran all perf tests on osx without issue.
should fix #430 and help with #451
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* adding test for nocompare observe_on notification uses SFINAE to compile for value_types that do not have operator==
* use as_dynamic to avoid vc 2013 bug
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* group_by support DurationSelector
* remove unused names
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- Different run loops can be used with factory calls
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
|\| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
af51830641
am: 08f5e00131
Change-Id: I5372ae8c1d5214656419fac978e5a79d0b83807a
|