aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge stage-aosp-master into pi-dev-plus-aospandroid-mainline-10.0.0_r9android-mainline-10.0.0_r8android-mainline-10.0.0_r7android-mainline-10.0.0_r6android-mainline-10.0.0_r5android-mainline-10.0.0_r4android-mainline-10.0.0_r11android-mainline-10.0.0_r10android-10.0.0_r9android-10.0.0_r8android-10.0.0_r7android-10.0.0_r45android-10.0.0_r44android-10.0.0_r43android-10.0.0_r42android-10.0.0_r41android-10.0.0_r40android-10.0.0_r39android-10.0.0_r38android-10.0.0_r37android-10.0.0_r36android-10.0.0_r35android-10.0.0_r34android-10.0.0_r33android-10.0.0_r32android-10.0.0_r31android-10.0.0_r30android-10.0.0_r29android-10.0.0_r28android-10.0.0_r27android-10.0.0_r26android-10.0.0_r25android-10.0.0_r24android-10.0.0_r23android-10.0.0_r22android-10.0.0_r21android-10.0.0_r20android-10.0.0_r19android-10.0.0_r18android-10.0.0_r16android-10.0.0_r15android-10.0.0_r14android-10.0.0_r13android-10.0.0_r12ndk-sysroot-r21android10-qpr3-s1-releaseandroid10-qpr3-releaseandroid10-qpr2-s4-releaseandroid10-qpr2-s3-releaseandroid10-qpr2-s2-releaseandroid10-qpr2-s1-releaseandroid10-qpr2-releaseandroid10-qpr1-releaseandroid10-qpr1-mainline-releaseandroid10-qpr1-d-releaseandroid10-qpr1-c-s1-releaseandroid10-qpr1-c-releaseandroid10-qpr1-b-s1-releaseandroid10-qpr1-b-releaseandroid10-mainline-tzdata-releaseandroid10-mainline-resolv-releaseandroid10-mainline-networking-releaseandroid10-mainline-media-releaseandroid10-devandroid10-d4-s1-releaseandroid10-d4-releaseandroid10-c2f2-s2-releaseandroid10-c2f2-s1-releaseandroid10-c2f2-releaseXin Li2019-02-250-0/+0
|\ | | | | | | | | | | am: a44cd39d10 Change-Id: If7e797f4c45828b24607ca0ed275dcc9a932063d
| * Merge stage-aosp-master into pi-dev-plus-aospXin Li2019-02-250-0/+0
| |\ | | | | | | | | | | | | Bug: 126125118 Change-Id: Ia076fe8c5ebdebd19025bbf4fcd6c6ec607810ac
| | * Merge "DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master" into ↵Xin Li2019-02-210-0/+0
| | |\ | | | | | | | | | | | | stage-aosp-master
| | | * DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-masterXin Li2019-02-200-0/+0
| | | |\ | | | | | | | | | | | | | | | | | | | | Bug: 120848293 Change-Id: I1892413ed7341790edd8c4684e7754ee2514d0d1
* | | | | operators: Add ref_count(other) operator overload. am: 671e288a8a am: b03d6248d9Igor Murashkin2019-02-207-15/+393
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 8ca4201d67 Change-Id: I511597fbf53554f316eeb63cc52de72af8d38675
| * | | | operators: Add ref_count(other) operator overload. am: 671e288a8aIgor Murashkin2019-02-207-15/+393
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | am: b03d6248d9 Change-Id: Ib568d8afa9507d682c9fce59e55de9ee6cc956c0
| | * | | operators: Add ref_count(other) operator overload.Igor Murashkin2019-02-207-15/+393
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 671e288a8a Change-Id: I8092157c7f15c43ebbafd43624142b8adac2da19
| | | * | | operators: Add ref_count(other) operator overload.android-q-preview-6android-q-preview-5android-q-preview-4android-q-preview-2.5android-q-preview-1Igor Murashkin2019-02-207-15/+393
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | android: Merge branch 'upstream-master' into master am: bf1edc83fb am: ↵Igor Murashkin2019-02-2051-128/+312
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7db9c5ce02 am: 6cce4d0f33 Change-Id: Idb7ab1e6972d67e51f939e728e5719a18646812c
| * | | | | android: Merge branch 'upstream-master' into master am: bf1edc83fbIgor Murashkin2019-02-2051-128/+312
| |\| | | | | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | am: 7db9c5ce02 Change-Id: I3939bf64f3bb5584008d8e27cfefc34011121f7b
| | * | | android: Merge branch 'upstream-master' into masterIgor Murashkin2019-02-2051-128/+312
| | |\| | | | | |/ | | |/| | | | | | | | | | | | | am: bf1edc83fb Change-Id: Iacc8716fc9e9d6dcbaffe0c3d1b789d9a449cf5f
| | | * android: Merge branch 'upstream-master' into masterIgor Murashkin2019-02-2051-128/+312
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | Updates to aac2fc97bc5fe680446afb5ae81bef0a9c0fbf8a in upstream. Change-Id: Ic56ec9d83b5611e734dfdbebec7c3538388f5c82
| | | | * rxcpp: Fix data race in composite_subscriptionIgor Murashkin2019-02-121-7/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | composite_subscription_inner had missing checks which could lead to add/remove/clear racing against unsubscribe. (See the issue for more details). Fixes: #475
| | | | * cmake: Fix 'make' generator targetsIgor Murashkin2019-02-111-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | | | * README: fix cmake generation snippet for clang/linuxIgor Murashkin2019-02-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clang should be told to use libc++, otherwise it will try to use libstdc++ which may be missing on some systems. Resolves: #478
| | | | * Fix url to Doxygen binary tarball.Björn Esser2019-02-111-1/+1
| | | | | | | | | | | | | | | | | | | | The files hosted on SourceForge are not going to fade away.
| | | | * Fix 'Wcatch-value'.Björn Esser2019-02-111-2/+2
| | | | | | | | | | | | | | | | | | | | This warning is reported by GCC 9.
| | | | * make ci more reliableKirk Shoop2018-10-281-1/+1
| | | | |
| | | | * fixes for replay and moved-from container not being emptyKirk Shoop2018-10-282-12/+19
| | | | |
| | | | * Add support for compiling rxcpp with -fno-exceptions (#456)iam2018-10-27105-323/+577
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| | | | * Update ide build to Visual Studio 2017Zou Wei2018-10-241-3/+3
| | | | |
| | | | * Fix doc target missing declarations errorsGeorg Sauthoff2018-10-1920-18/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | android: Add default code reviewers into OWNERS am: 2f3177dd77 am: 87fa2a6f58Chih-Hung Hsieh2019-01-091-0/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 476dcf0c69 Change-Id: If777e3e25b1da4c4ed315de85779fd0894130178
| * | | | android: Add default code reviewers into OWNERS am: 2f3177dd77Chih-Hung Hsieh2019-01-091-0/+3
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 87fa2a6f58 Change-Id: I4410cde7a1935b4ace1f93874c1a13afd3b25993
| | * | | android: Add default code reviewers into OWNERSChih-Hung Hsieh2019-01-091-0/+3
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | am: 2f3177dd77 Change-Id: I4cdd8f37dbd65a394536e914271370c760009015
| | | * | android: Add default code reviewers into OWNERSChih-Hung Hsieh2019-01-091-0/+3
| | |/ / | | | | | | | | | | | | | | | | | | | | Bug: 33166666 Test: gerrit uploader Change-Id: I3b67679f938195070751fbe040d16729059b917d
* | | | Remove dangling reference to a deleted submodule. am: c2b0d0c812 am: a83ddb5e6cJaewoong Jung2018-09-261-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | am: b5aa3253e8 Change-Id: I32ac663b5ea075925f922dbf6c50bfad022b095b
| * | | Remove dangling reference to a deleted submodule. am: c2b0d0c812Jaewoong Jung2018-09-261-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | am: a83ddb5e6c Change-Id: I168a8d701cdb5da988a5ace457d6fd11232c41e8
| | * | Remove dangling reference to a deleted submodule.android-wear-8.0.0_r2Jaewoong Jung2018-09-261-0/+0
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | am: c2b0d0c812 Change-Id: I9b49ccf77de84938a487600f433ae8305e1826db
| | | * | Remove dangling reference to a deleted submodule.master-cuttlefish-testing-releaseJaewoong Jung2018-09-251-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: TreeHugger Issue: 109878533 Change-Id: I7fa307094c15eba99cfbbe04092b36ca789fce1c
* | | | | Merge remote-tracking branch 'upstream-master' into master am: 62eaa9fe03 ↵Igor Murashkin2018-08-1012-99/+187
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 012a858d2a am: 14ec7d62d8 am: 7a4063f839 Change-Id: I9fb2fceb00fbdc36640c57803c8b12cc1a2a3203
| * | | | Merge remote-tracking branch 'upstream-master' into master am: 62eaa9fe03 ↵Igor Murashkin2018-08-1012-99/+187
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 012a858d2a am: 14ec7d62d8 Change-Id: I6dcb593cea23aad5c8a7ed068d5004decba944f0
| | * | | Merge remote-tracking branch 'upstream-master' into master am: 62eaa9fe03Igor Murashkin2018-08-1012-99/+187
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 012a858d2a Change-Id: Ie6ef41ebab9ad8007c08c4ac85dbc1d1d309b234
| | | * | | Merge remote-tracking branch 'upstream-master' into masterIgor Murashkin2018-08-1012-99/+187
| | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 62eaa9fe03 Change-Id: Ifeeb0a27eb6962e1fd165224570115918f8fb4c0
| | | | * | Merge remote-tracking branch 'upstream-master' into masterIgor Murashkin2018-08-1012-99/+187
| | | | |\| | | | | | | | | | | | | | | | | | | Change-Id: I50eb4a662df62db5d494601c99db09ceb78603fa
| | | | | * fix #390Yatao Li2018-08-061-4/+4
| | | | | |
| | | | | * fix blocking_observable::subscribeKirk Shoop2018-08-052-41/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 (#448)Kirk Shoop2018-07-101-1/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 (#447)Diorcet Yann2018-07-102-33/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * group_by support DurationSelector * remove unused names
| | | | | * Remove static from observe_on_run_loopAndrei Lebedev2018-07-081-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | - Different run loops can be used with factory calls
| | | | | * Update README.mdupstream-master.backupKirk Shoop2018-05-281-2/+2
| | | | | |
| | | | | * Replace commented out noexcept with macroAndrei Lebedev2018-05-111-1/+1
| | | | | |
| | | | | * Replace shared_ptr with move ctorAndrei Lebedev2018-05-111-2/+9
| | | | | |
| | | | | * Fix exit_recursed_scope_type dtor cleaning requestor earlyAndrei Lebedev2018-05-111-2/+2
| | | | | |
| | | | | * Remove unused variable and captures in doxygen/buffer.cppAndrei Lebedev2018-05-101-4/+2
| | | | | |
| | | | | * Update README.mdKirk Shoop2018-05-041-1/+1
| | | | | |
| | | | | * Update README.mdKirk Shoop2018-05-041-8/+8
| | | | | |
| | | | | * Update README.mdKirk Shoop2018-05-041-3/+5
| | | | | |
| | | | | * Fix '-Wignored-qualifiers'Björn Esser2018-05-031-1/+1
| | | | | |
* | | | | | android: Add nortti/noexcept test targets am: a13888fd0e am: fb0738b3b9 am: ↵Igor Murashkin2018-08-101-6/+21
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | af51830641 am: 08f5e00131 Change-Id: I5372ae8c1d5214656419fac978e5a79d0b83807a