summaryrefslogtreecommitdiff
path: root/Rx
AgeCommit message (Collapse)Author
2018-08-10Merge remote-tracking branch 'upstream-master' into masterIgor Murashkin
Change-Id: I50eb4a662df62db5d494601c99db09ceb78603fa
2018-08-09Rx: Add support for compiling code without exceptions (-fno-exceptions)Igor Murashkin
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
2018-08-09Minor compilation/test fixes for compiling on androidIgor Murashkin
Change-Id: Id623455d32e9323355744a240c2813d0411d1dac
2018-08-05fix blocking_observable::subscribeKirk Shoop
removes spinning from blocking submit. ran all perf tests on osx without issue. should fix #430 and help with #451
2018-07-10adding test for nocompare observe_on (#448)Kirk Shoop
* 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
2018-07-10group_by support DurationSelector (#447)Diorcet Yann
* group_by support DurationSelector * remove unused names
2018-07-08Remove static from observe_on_run_loopAndrei Lebedev
- Different run loops can be used with factory calls
2018-05-11Replace commented out noexcept with macroAndrei Lebedev
2018-05-11Replace shared_ptr with move ctorAndrei Lebedev
2018-05-11Fix exit_recursed_scope_type dtor cleaning requestor earlyAndrei Lebedev
2018-05-10Remove unused variable and captures in doxygen/buffer.cppAndrei Lebedev
2018-05-03Fix '-Wignored-qualifiers'Björn Esser
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-09-16Fix rxcpp::observable<>::range<T>() when T is unsigned typeAndrei Lebedev
2017-09-16Fix rxcpp::observable<>::from<T>() when T is non-default constructableAndrei Lebedev
2017-09-13remove unused localKirk Shoop
2017-09-13Fix clang-trunk -Wunused-lambda-capture warningsEric Niebler
2017-09-01shutdown event loop threads (#394)Kirk Shoop
attempt to fix #393 use event_loop lifetime to unsubscribe from new_thread workers tested with all the perf tests, but messing with thread lifetime can break existing code.
2017-07-24Typo in rx-never documentationDaniel Rees
changed "rx-naver.hpp" to "rx-never.hpp"
2017-07-21std::unexpected has been deprecatedKirk Shoop
2017-07-14fix timeout when no items are emitted (#387)Grigoriy Chudnov
2017-06-15disambiguate onerror from onnext (#383)Kirk Shoop
2017-06-05Add get_subscription() for subject (#381)ZINEKS
2017-04-26subscribe in reverse order to observables (#375)Michael Maier
2017-04-10fix async lifetime in window_toggle (#372)Kirk Shoop
2017-04-10Kirkshoop/filterimprovement (#371)Kirk Shoop
* filter: mutable predicate and value forwarding * add as_const to protect predicate from stealing
2017-04-09fixed https://github.com/Reactive-Extensions/RxCpp/issues/366Anatoly Shirokov
2017-02-25Factor out commonalities between repeat and retry into a separate file (#363)elelel
This reverts commit ad430c5bae364cf267f2b4a5cab703eb5672afbe. * Retry operator: remove old comment * Complete the error-reporting templates rollback * Rename retry/repeat common file * Fix filename in doxygen comment block
2017-02-24Retry operator argument semantics fix (#362)elelel
* Fix retry operator's argument semantics * Rephrase comments in tries parameter desc
2017-02-23Retry: subscription lifetime; repeat: generic naming (#360)elelel
2017-02-24fix iterator_type::value_type errorKirk Shoop
#355 reported that range-v3 ranges failed due to an errant `&` in the `iterator_type`
2017-02-23Retry(0)/Retry() operator fix (#358)elelel
* Change retry description to conform with other Rx implementations * Retry operator common state * Repeat operator: finite case * Retry operator: infinite case * Fix misc dev-stage errors * Retry: tests and fixes
2017-02-20Work-around for VS2017RC error C2672 building doc (#357)aargor
When building RxCPP with the latest VS2017 RC, the compiler emits error C2672 on compiling a method. There was some off-line discussion (Kirk Shoop was included) about the legitimacy of the error. In either case, I'd anticipate that the error could hit in VS2017RTW, so I'm offering this PR. The change is very targeted -- a natural question is if this error could arise in the methods around retry. For that and further discussion, I have to point you to my colleagues participating in the off-line discussion; for this particular patch all I could do was confirm the latest RC still needs it to build.
2017-02-20Rewrite repeat operator to handle 0 case correctly and not rely on magic ↵elelel
numbers (#356) * Sketch interface for finite/inifinite variants * CRTP deriving finite/infinite from base * Fully rewrite repeat implementation * Fix description and comments in repeat * Test repeat(0) case * Make 0 handling with completion when the input sequence complete * Return immidiately empty sequence instead on first on_completed * Return immidiately empty sequence instead on first on_completed * Update param description for repeat 0 case * repeat(0): never call on.next(), but call on.completed() * Test: no subscriptions are made when repeat(0)
2017-02-14Update rx-includes.hppfreezestudio
vector include in #line144
2017-02-07test has_observers()Kirk Shoop
2017-02-03move sources docs out of observableKirk Shoop
shift tests to include aliases
2017-02-01add aliases and fix docsKirk Shoop
added aliases for some operators transform (map) merge_transform (flat_map) concat_transform (concat_map) switch_on_error (on_error_resume_next) accumulate (reduce)
2017-01-31doc updateGrigoriy Chudnov
2017-01-28decouple ref_count from connectable_observableGrigoriy Chudnov
2017-01-27decouple connect_forever from connectable_observableGrigoriy Chudnov
2017-01-26decouple publish, publish_synchronized, multicast from observable (#338)Grigoriy Chudnov
* decouple publish, publish_synchronized, multicast from observable * decouple publish, publish_synchronized, multicast from observable - restore include structure
2017-01-26Add callback for when a task is added to a run-loop schedule (#337)Stuart Dootson
* Add callback for when a task is added to a run-loop schedule * Provide wakeup time in 'new task' callback Modified callback to provide new wakeup time as a callback parameter, so that it can schedule an event to wake the thread owning the run loop, rather than (as was the case) having to iterate through the dispatch loop.
2017-01-24decouple replay from observableGrigoriy Chudnov
2017-01-24decouple observe_on from observable (#335)Grigoriy Chudnov
* decouple observe_on from observable * decouple observe_on from observable - fix msvc
2017-01-22decouple subscribe_on from observableGrigoriy Chudnov
2017-01-21decouple start_with from observable - fix msvc2013Grigoriy Chudnov
2017-01-21decouple start_with from observable - fix exampleGrigoriy Chudnov
2017-01-21decouple start_with from observableGrigoriy Chudnov