summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-11-13observable: Fix dangling use in #as_blocking am: f2bfb6033a am: 37d2a9fffbr_aml_301500702android-mainline-12.0.0_r55android-mainline-11.0.0_r9android-mainline-11.0.0_r8android-mainline-11.0.0_r7android-mainline-11.0.0_r6android-mainline-11.0.0_r5android-mainline-11.0.0_r45android-mainline-11.0.0_r44android-mainline-11.0.0_r43android-mainline-11.0.0_r42android-mainline-11.0.0_r41android-mainline-11.0.0_r40android-mainline-11.0.0_r4android-mainline-11.0.0_r39android-mainline-11.0.0_r38android-mainline-11.0.0_r37android-mainline-11.0.0_r36android-mainline-11.0.0_r35android-mainline-11.0.0_r34android-mainline-11.0.0_r33android-mainline-11.0.0_r32android-mainline-11.0.0_r31android-mainline-11.0.0_r30android-mainline-11.0.0_r3android-mainline-11.0.0_r29android-mainline-11.0.0_r28android-mainline-11.0.0_r27android-mainline-11.0.0_r26android-mainline-11.0.0_r25android-mainline-11.0.0_r24android-mainline-11.0.0_r23android-mainline-11.0.0_r22android-mainline-11.0.0_r21android-mainline-11.0.0_r20android-mainline-11.0.0_r2android-mainline-11.0.0_r19android-mainline-11.0.0_r18android-mainline-11.0.0_r17android-mainline-11.0.0_r16android-mainline-11.0.0_r15android-mainline-11.0.0_r14android-mainline-11.0.0_r13android-mainline-11.0.0_r12android-mainline-11.0.0_r10android-mainline-11.0.0_r1android-11.0.0_r9android-11.0.0_r8android-11.0.0_r7android-11.0.0_r48android-11.0.0_r47android-11.0.0_r46android-11.0.0_r45android-11.0.0_r44android-11.0.0_r43android-11.0.0_r42android-11.0.0_r41android-11.0.0_r40android-11.0.0_r39android-11.0.0_r38android-11.0.0_r37android-11.0.0_r36android-11.0.0_r35android-11.0.0_r34android-11.0.0_r33android-11.0.0_r32android-11.0.0_r31android-11.0.0_r30android-11.0.0_r29android-11.0.0_r28android-11.0.0_r27android-11.0.0_r26android-11.0.0_r24android-11.0.0_r23android-11.0.0_r22android-11.0.0_r21android-11.0.0_r20android-11.0.0_r19android-11.0.0_r18android-11.0.0_r16android-11.0.0_r15android-11.0.0_r14android-11.0.0_r13android-11.0.0_r12android-11.0.0_r11android-11.0.0_r10android11-qpr3-s1-releaseandroid11-qpr3-releaseandroid11-qpr2-releaseandroid11-qpr1-s2-releaseandroid11-qpr1-s1-releaseandroid11-qpr1-releaseandroid11-qpr1-d-s1-releaseandroid11-qpr1-d-releaseandroid11-qpr1-c-releaseandroid11-mainline-tethering-releaseandroid11-mainline-sparse-2021-jan-releaseandroid11-mainline-sparse-2020-dec-releaseandroid11-mainline-releaseandroid11-mainline-permission-releaseandroid11-mainline-os-statsd-releaseandroid11-mainline-networkstack-releaseandroid11-mainline-media-swcodec-releaseandroid11-mainline-media-releaseandroid11-mainline-extservices-releaseandroid11-mainline-documentsui-releaseandroid11-mainline-conscrypt-releaseandroid11-mainline-cellbroadcast-releaseandroid11-mainline-captiveportallogin-releaseandroid11-devandroid11-d2-releaseandroid11-d1-s7-releaseandroid11-d1-s6-releaseandroid11-d1-s5-releaseandroid11-d1-s1-releaseandroid11-d1-releaseandroid11-d1-b-releaseIgor Murashkin
am: 68b9bbe785 Change-Id: I49129dd47fd96e1de0c8caf7cdb48760ade71f86
2019-11-13observable: Fix dangling use in #as_blocking am: f2bfb6033aandroid-r-preview-4android-r-preview-3android-r-preview-2Igor Murashkin
am: 37d2a9fffb Change-Id: Ib28c57e817c0d46aee32825de6d5d5da43203e46
2019-11-13observable: Fix dangling use in #as_blockingandroid-r-preview-1Igor Murashkin
am: f2bfb6033a Change-Id: I0f973d19e1b928aab55583ea49476742bb23a776
2019-11-12schedulers: Fix std::thread clean-up race in newthread am: 96616d3ccb am: ↵Igor Murashkin
b33827d11a am: a7ed673121 Change-Id: Id414a136f660dcf882a045ae79da53212a73b77d
2019-11-12schedulers: Fix std::thread clean-up race in newthread am: 96616d3ccbIgor Murashkin
am: b33827d11a Change-Id: Ie78ab34b8d1ec1eb849a054fd0bf05fab1244906
2019-11-12schedulers: Fix std::thread clean-up race in newthreadIgor Murashkin
am: 96616d3ccb Change-Id: Ief506d7f844ffb0d49c97c67b774b1cd6f06b967
2019-11-11observable: Fix dangling use in #as_blockingIgor Murashkin
Using rxcpp::subscriber by-reference in a lambda in the as_blocking operator would occasionally cause #on_error to crash in std::shared_ptr::get Bug: 143900063 Change-Id: Ie5b06b1c7872b08f256af569b408ea987d80fae7
2019-11-11schedulers: Fix std::thread clean-up race in newthreadIgor Murashkin
In rare situations the old lifetime.add callback would cause std::system_error to be thrown after unsubscribing due to the std::thread being non-joinable. Bug: 143745681 Change-Id: If64f3eef678ba5246baaca5be06e9d13c799922c
2019-02-25Merge stage-aosp-master into pi-dev-plus-aospq_tzdata_aml_297100400q_tzdata_aml_297100300q_tzdata_aml_297100000q_tzdata_aml_296200000q_tzdata_aml_295600118q_tzdata_aml_295600110q_tzdata_aml_295500002q_tzdata_aml_295500001q_tzdata_aml_294400310android-mainline-12.0.0_r54android-mainline-12.0.0_r111android-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_r13android-mainline-10.0.0_r12android-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_r12q_tzdata_aml_297100000ndk-sysroot-r21android12-mainline-tzdata-releaseandroid10-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-releaseandroid10-android13-mainline-tzdata-releaseXin Li
am: a44cd39d10 Change-Id: If7e797f4c45828b24607ca0ed275dcc9a932063d
2019-02-25Merge stage-aosp-master into pi-dev-plus-aospXin Li
Bug: 126125118 Change-Id: Ia076fe8c5ebdebd19025bbf4fcd6c6ec607810ac
2019-02-21Merge "DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master" into ↵Xin Li
stage-aosp-master
2019-02-20operators: Add ref_count(other) operator overload. am: 671e288a8a am: b03d6248d9Igor Murashkin
am: 8ca4201d67 Change-Id: I511597fbf53554f316eeb63cc52de72af8d38675
2019-02-20android: Merge branch 'upstream-master' into master am: bf1edc83fb am: ↵Igor Murashkin
7db9c5ce02 am: 6cce4d0f33 Change-Id: Idb7ab1e6972d67e51f939e728e5719a18646812c
2019-02-20operators: Add ref_count(other) operator overload. am: 671e288a8aIgor Murashkin
am: b03d6248d9 Change-Id: Ib568d8afa9507d682c9fce59e55de9ee6cc956c0
2019-02-20android: Merge branch 'upstream-master' into master am: bf1edc83fbIgor Murashkin
am: 7db9c5ce02 Change-Id: I3939bf64f3bb5584008d8e27cfefc34011121f7b
2019-02-20operators: Add ref_count(other) operator overload.Igor Murashkin
am: 671e288a8a Change-Id: I8092157c7f15c43ebbafd43624142b8adac2da19
2019-02-20android: Merge branch 'upstream-master' into masterIgor Murashkin
am: bf1edc83fb Change-Id: Iacc8716fc9e9d6dcbaffe0c3d1b789d9a449cf5f
2019-02-20DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-masterXin Li
Bug: 120848293 Change-Id: I1892413ed7341790edd8c4684e7754ee2514d0d1
2019-02-20operators: Add ref_count(other) operator overload.android-q-preview-6android-q-preview-5android-q-preview-4android-q-preview-2.5android-q-preview-1Igor Murashkin
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
2019-02-20android: Merge branch 'upstream-master' into masterIgor Murashkin
Updates to aac2fc97bc5fe680446afb5ae81bef0a9c0fbf8a in upstream. Change-Id: Ic56ec9d83b5611e734dfdbebec7c3538388f5c82
2019-02-12rxcpp: Fix data race in composite_subscriptionIgor Murashkin
composite_subscription_inner had missing checks which could lead to add/remove/clear racing against unsubscribe. (See the issue for more details). Fixes: #475
2019-02-11cmake: Fix 'make' generator targetsIgor Murashkin
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
2019-02-11README: fix cmake generation snippet for clang/linuxIgor Murashkin
clang should be told to use libc++, otherwise it will try to use libstdc++ which may be missing on some systems. Resolves: #478
2019-02-11Fix url to Doxygen binary tarball.Björn Esser
The files hosted on SourceForge are not going to fade away.
2019-02-11Fix 'Wcatch-value'.Björn Esser
This warning is reported by GCC 9.
2019-01-09android: Add default code reviewers into OWNERS am: 2f3177dd77 am: 87fa2a6f58Chih-Hung Hsieh
am: 476dcf0c69 Change-Id: If777e3e25b1da4c4ed315de85779fd0894130178
2019-01-09android: Add default code reviewers into OWNERS am: 2f3177dd77Chih-Hung Hsieh
am: 87fa2a6f58 Change-Id: I4410cde7a1935b4ace1f93874c1a13afd3b25993
2019-01-09android: Add default code reviewers into OWNERSChih-Hung Hsieh
am: 2f3177dd77 Change-Id: I4cdd8f37dbd65a394536e914271370c760009015
2019-01-09android: Add default code reviewers into OWNERSChih-Hung Hsieh
Bug: 33166666 Test: gerrit uploader Change-Id: I3b67679f938195070751fbe040d16729059b917d
2018-10-28make ci more reliableKirk Shoop
2018-10-28fixes for replay and moved-from container not being emptyKirk Shoop
2018-10-27Add support for compiling rxcpp with -fno-exceptions (#456)iam
* 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
2018-10-24Update ide build to Visual Studio 2017Zou Wei
2018-10-19Fix doc target missing declarations errorsGeorg Sauthoff
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.
2018-09-26Remove dangling reference to a deleted submodule. am: c2b0d0c812 am: a83ddb5e6cJaewoong Jung
am: b5aa3253e8 Change-Id: I32ac663b5ea075925f922dbf6c50bfad022b095b
2018-09-26Remove dangling reference to a deleted submodule. am: c2b0d0c812Jaewoong Jung
am: a83ddb5e6c Change-Id: I168a8d701cdb5da988a5ace457d6fd11232c41e8
2018-09-26Remove dangling reference to a deleted submodule.android-wear-8.0.0_r2Jaewoong Jung
am: c2b0d0c812 Change-Id: I9b49ccf77de84938a487600f433ae8305e1826db
2018-09-25Remove dangling reference to a deleted submodule.master-cuttlefish-testing-releaseJaewoong Jung
Test: TreeHugger Issue: 109878533 Change-Id: I7fa307094c15eba99cfbbe04092b36ca789fce1c
2018-08-10Merge remote-tracking branch 'upstream-master' into master am: 62eaa9fe03 ↵Igor Murashkin
am: 012a858d2a am: 14ec7d62d8 am: 7a4063f839 Change-Id: I9fb2fceb00fbdc36640c57803c8b12cc1a2a3203
2018-08-10Merge remote-tracking branch 'upstream-master' into master am: 62eaa9fe03 ↵Igor Murashkin
am: 012a858d2a am: 14ec7d62d8 Change-Id: I6dcb593cea23aad5c8a7ed068d5004decba944f0
2018-08-10Merge remote-tracking branch 'upstream-master' into master am: 62eaa9fe03Igor Murashkin
am: 012a858d2a Change-Id: Ie6ef41ebab9ad8007c08c4ac85dbc1d1d309b234
2018-08-10Merge remote-tracking branch 'upstream-master' into masterIgor Murashkin
am: 62eaa9fe03 Change-Id: Ifeeb0a27eb6962e1fd165224570115918f8fb4c0
2018-08-10android: Add nortti/noexcept test targets am: a13888fd0e am: fb0738b3b9 am: ↵Igor Murashkin
af51830641 am: 08f5e00131 Change-Id: I5372ae8c1d5214656419fac978e5a79d0b83807a
2018-08-10Rx: Add support for compiling code without exceptions (-fno-exceptions) am: ↵Igor Murashkin
da5396314d am: 58001e8487 am: 6131e83b0e am: 5073ba27ba Change-Id: I9eaf36e07c0237e3cac841ebec4def70fcedafca
2018-08-10android: Add build targets librxcpp and librxcpp-tests am: 122c10b47a am: ↵Igor Murashkin
a81f29220e am: 5064360808 am: 2df0672a05 Change-Id: I2f38d6d7c4ca4d2abe43054e73fbb1d9907478fc
2018-08-10Minor compilation/test fixes for compiling on android am: 6a3b2e5128 am: ↵Igor Murashkin
5080b3e615 am: 1ef7e7e521 am: 0895fb57db Change-Id: I4604948b2d13425903c958c8744bd5873f8ec3a2
2018-08-10android: Import RxCpp from upstream am: 1cbf73c952 am: bc2bcecae5 am: 7227f0fb33Igor Murashkin
am: ec070ad406 Change-Id: Ibf2e4d08d503237449b822fd551f133f7b5e49c4
2018-08-10android: Add nortti/noexcept test targets am: a13888fd0e am: fb0738b3b9Igor Murashkin
am: af51830641 Change-Id: I6d6561355ed16203878e08284bc39e99ac8e00b9
2018-08-10Rx: Add support for compiling code without exceptions (-fno-exceptions) am: ↵Igor Murashkin
da5396314d am: 58001e8487 am: 6131e83b0e Change-Id: Ied131619313f3bb7d57ce48d5d415a30864b3ba6
2018-08-10android: Add build targets librxcpp and librxcpp-tests am: 122c10b47a am: ↵Igor Murashkin
a81f29220e am: 5064360808 Change-Id: Ica35477e4cc1b7ff03f9f58ea0b90aba7187ba28