Age | Commit message (Collapse) | Author |
|
am: 2f3177dd77
Change-Id: I4cdd8f37dbd65a394536e914271370c760009015
|
|
Bug: 33166666
Test: gerrit uploader
Change-Id: I3b67679f938195070751fbe040d16729059b917d
|
|
|
|
|
|
* 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: 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
|
|
af51830641
am: 08f5e00131
Change-Id: I5372ae8c1d5214656419fac978e5a79d0b83807a
|
|
da5396314d am: 58001e8487 am: 6131e83b0e
am: 5073ba27ba
Change-Id: I9eaf36e07c0237e3cac841ebec4def70fcedafca
|
|
a81f29220e am: 5064360808
am: 2df0672a05
Change-Id: I2f38d6d7c4ca4d2abe43054e73fbb1d9907478fc
|
|
5080b3e615 am: 1ef7e7e521
am: 0895fb57db
Change-Id: I4604948b2d13425903c958c8744bd5873f8ec3a2
|
|
am: ec070ad406
Change-Id: Ibf2e4d08d503237449b822fd551f133f7b5e49c4
|
|
am: af51830641
Change-Id: I6d6561355ed16203878e08284bc39e99ac8e00b9
|
|
da5396314d am: 58001e8487
am: 6131e83b0e
Change-Id: Ied131619313f3bb7d57ce48d5d415a30864b3ba6
|
|
a81f29220e
am: 5064360808
Change-Id: Ica35477e4cc1b7ff03f9f58ea0b90aba7187ba28
|
|
5080b3e615
am: 1ef7e7e521
Change-Id: Ida188aed3c0ac2be12553e394ac0b55b19bc9b40
|
|
am: 7227f0fb33
Change-Id: I63be7b80bc8492a178161c281a08ab688a7d5982
|
|
Change-Id: I50eb4a662df62db5d494601c99db09ceb78603fa
|
|
am: fb0738b3b9
Change-Id: I090392601f7f66fd28bd14ef8ad03d012038a62b
|
|
da5396314d
am: 58001e8487
Change-Id: If861f40c5889007ef9bbab85de41415a4955a2e4
|
|
am: a81f29220e
Change-Id: Ie04b861d7eb2f67e80b6fa3339ac95b8527ed9c1
|
|
am: 5080b3e615
Change-Id: I882c37f9b174d5803e7ffdb32ed40dc0fa9ac775
|
|
am: bc2bcecae5
Change-Id: I477ee6ed52d0402e89746e56e27a9879c0670d8b
|
|
am: a13888fd0e
Change-Id: Ic83b24c95827a49ccfedc20949fb6feaaba314d9
|
|
am: da5396314d
Change-Id: I010cf04e962b99703d187e041177c7fdc95bd5e2
|
|
am: 122c10b47a
Change-Id: I07a13d23af595f1c799bd5cc6f259318da021eab
|
|
am: 6a3b2e5128
Change-Id: I9337c8f74367da172b04d9c17b51efcdf6d5e254
|
|
am: 1cbf73c952
Change-Id: I46bd1c7f6f43c12b81c416d6826fd8a0d239bdb6
|
|
Test: make -j librxcpp-tests librxcpp-tests-upstream # and run
Change-Id: I5e6451f9631d9e99865942506eab21bac5a44be9
|
|
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
|
|
RxCpp tests are written with Catch2 test framework (external/catch2)
and with this and the previous commit all tests are passing.
Test: make librxcpp-tests # and then run the tests on host
Change-Id: If5598b7d9112f046ea40ead88827316c3dc44c9a
|
|
Change-Id: Id623455d32e9323355744a240c2813d0411d1dac
|
|
Add required metadata files for AOSP usage.
Removed .gitmodules for catch2 (see external/catch2).
Merge remote-tracking branch 'aosp/upstream-master' into master
Change-Id: Ic0d4e31dfb6d55c82f181993c66831c93dbb381f
|
|
|
|
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
|
|
|
|
|
|
|
|
|