summaryrefslogtreecommitdiff
path: root/projects
AgeCommit message (Collapse)Author
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-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
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
2017-12-13Add: Skip_while operator (#418)Martin Kodovský
* #378 adding skip_while operator * #378 adding tests + fixing CMakeLists.txt * #378 test completion * #378 fix includes * #378 fix assignment in a condition * #378 fix assignment in a condition 2
2017-12-09Add rx-merge-delay-error operator (#417)Martin Kodovský
* Add rx-merge-delay-error operator * fix of msvc2013 compilation * fix #417 comments Added RXCPP_NOEXCEPT macro; Added doxygen scenarios for composite_exception and merge_delay_error; Fixed composing exception in merge_delay_error operator; Modified test for merge_delay_operator * #417 fix composite_exception example * #417 fix merge_delay_error doxygen example * fix: samples add among others in project doxygen CMakeLists.txt * fix: composite_exception.cpp example
2017-07-24Add 'include' to the install path of the headersPeter Majchrak
2017-03-22release rxcpp 4.0.0Kirk Shoop
2016-12-31travisci fixesKirk Shoop
2016-12-21take_while snippet (#299)Rafał Borowiak
* Implementation of take_while operator and tests * Refactored tests and changed documentation * Removed 'noexcept' specifier from helper class in take_while test * Removed 'const' specifier from not_equal_to helper class in take_while test in order to get rid of MSVC assignment operator warning. * decouple take_while from observable * Added take_while snippet. * Fixed CMakeLists closing parenthesis.
2016-12-13add support for C++ coroutines (#286)Kirk Shoop
* add support for C++ coroutines * add tests and docs * address feedback and fix lifetime issue
2016-12-08rcxpp nuget 3.0.1Kirk Shoop
2016-10-13add support for `make install`Kirk Shoop
use ``` cmake -DCMAKE_INSTALL_PREFIX=<path> . make install ```
2016-08-31add sequence_equal operatorGrigoriy Chudnov
2016-07-17add switch_if_empty, default_if_emptyGrigoriy Chudnov
2016-06-07add time_interval operatorGrigoriy Chudnov
2016-05-25add skip_last operatorGrigoriy Chudnov
2016-05-18add take_last operatorGrigoriy Chudnov
2016-04-21add timestamp operatorGrigoriy Chudnov
2016-04-14add all operatorGrigoriy Chudnov
2016-04-12add with_latest_fromKirk Shoop
copied from combine_latest
2016-04-12add timeout operatorGrigoriy Chudnov
2016-03-28add contains operatorGrigoriy Chudnov
2016-03-28add exists operatorGrigoriy Chudnov
2016-03-15add debounce operatorGrigoriy Chudnov
2016-03-09fix build errorKirk Shoop
remove biicode references
2016-03-07missing oxygen outputKirk Shoop
2016-03-05add delay operatorKirk Shoop
2016-03-04add ignore_elements operatorGrigoriy Chudnov
2016-03-01add sample operatorGrigoriy Chudnov
2016-02-10fix file nameGrigoriy Chudnov
2016-02-10add element_atGrigoriy Chudnov
2016-02-02Merge pull request #191 from kirkshoop/distinctKirk Shoop
Distinct done and merged! thanks to @gchudnov!
2016-01-26add distinct operatorGrigoriy Chudnov
2016-01-19report doc usageKirk Shoop
2015-07-23small ci changesKirk Shoop
2015-07-23publish to biicodeKirk Shoop
2015-07-09adds on_error_resume_next operatorKirk Shoop
2015-07-09added tap operatorKirk Shoop
2015-07-07add lines from bytes exampleKirk Shoop
2015-06-23Merge pull request #154 from kirkshoop/runloopKirk Shoop
add run loop scheduler
2015-06-23add run-loop schedulerKirk Shoop
2015-06-19install better doxygen, deploy github releasesKirk Shoop
2015-06-18Add doxy examples for replay operatorValery Kopylov
2015-06-16Add replay operator with testsValery Kopylov
2015-06-09Modified CMake files to put all examples below one folderdaixtrose
This commit leads to crazy build problems
2015-06-09Rethrow source exceptions on blocking_observable aggregate methodsValery Kopylov
+add docs for them
2015-06-08Added RxCpp source files to solutiondaixtrose
Modified CmakeLists.txt such that the Visual Studio solution now has an extra project "RxCpp" containing a virtual folder "src"
2015-06-04only publish docs if the GH_TOKEN is availableKirk Shoop
2015-06-04fix broken doxygenKirk Shoop
2015-06-04CMake - require 3.2 and refactorKirk Shoop
NOTE: binaries have moved! OSX <build>/test/rxcppv2_test <build>/examples/pythagorian/pythagorian Windows <build>\test\Debug\rxcppv2_test.exe <build>\examples\pythagorian\Debug\pythagorian.exe NOTE: cmake can be run in the root! This will make a dir named build with the binaries cmake . cmake --build .