Commit Graph

  • 1a905cbd4f
    Use std::shared_ptr for PromiseValue<T>::m_data instead of QSharedPoitner<T> (#60) master Egor Krugletsov 2024-08-24 10:01:08 +03:00
  • 14031392ac Use GitHub actions instead of Travis Simon Brunel 2024-08-20 20:59:47 +02:00
  • f382ad25fc Bump version to 0.7.0 v0.7.0 Simon Brunel 2023-03-05 15:13:39 +01:00
  • ac9b936959 Upgrade npm dependencies Simon Brunel 2023-03-05 15:13:18 +01:00
  • 21faa67b58 Configure AppVeyor to run Qt 6.x tests Simon Brunel 2022-06-30 23:17:02 +02:00
  • 9f01c130cd Add support for Qt 6 Simon Brunel 2022-06-26 18:10:20 +02:00
  • 461f09bef8
    Remove QPromiseError; fix include order to compile on GCC 9 (#45) Dmitriy Purgin 2021-03-20 09:25:41 +01:00
  • bac405febf
    Fix a typo in then.md (#43) Dmitriy Purgin 2021-01-23 13:41:38 +01:00
  • 0c3955cca5
    Implement QPromise<T>::convert<U>() (#41) Dmitriy Purgin 2020-11-22 17:26:06 +01:00
  • 60b36e7a70
    Fix Clang/GCC warnings and update compile options (#39) Sören Sprößig 2020-10-26 21:51:52 +01:00
  • f7639e921e Bump version to 0.6.0 v0.6.0 Simon Brunel 2020-10-01 23:00:38 +02:00
  • 1752255e7b Upgrade npm dependencies for security fixes Simon Brunel 2020-10-01 22:54:58 +02:00
  • 13b4bb65d2 Fix CMake FetchContent documentation GIT_TAG Simon Brunel 2020-10-01 22:48:20 +02:00
  • b7ecd95b04
    Fix deprecations and compile warnings (#34) Peter Würtz 2020-04-02 13:39:03 +02:00
  • 88289a7635 Fix npm security warning (docs only) Simon Brunel 2020-03-22 16:58:16 +01:00
  • 6deec9f51f Fix support for auto args in constructor callbacks Simon Brunel 2020-03-22 16:50:26 +01:00
  • d43657fbd5 Use clang-format for code style consistency Simon Brunel 2020-03-21 14:23:40 +01:00
  • b99e468c84
    More verbose description of throwing an exception from a QtConcurrent thread (#31) Dmitriy Purgin 2020-02-18 22:31:41 +01:00
  • be5455a8c8 Use C++11 curly braces initialization Simon Brunel 2020-02-17 20:02:26 +01:00
  • 0bfdddd887 Use QSharedPointer::create and std::make_shared Simon Brunel 2020-02-16 11:42:57 +01:00
  • 2c1e631aed Include Qt classes by module and remove unnecessary comments Simon Brunel 2020-02-11 21:21:18 +01:00
  • d5a82518f9 Simplify tests directory structure Simon Brunel 2020-02-08 10:02:13 +01:00
  • 1ad99391a3
    std::chrono overloads for .timeout() and .delay() (#30) Dmitriy Purgin 2020-02-11 22:07:05 +01:00
  • 78417b5813 Fix support for std::function as continuation handler Simon Brunel 2020-02-06 22:31:36 +01:00
  • 58738a5604 Simplify license notice in source files Simon Brunel 2020-02-06 22:31:29 +01:00
  • 7ee51de987
    Fix Google Analytics plugin docs config Simon Brunel 2020-01-24 04:58:32 +01:00
  • 6639ea52db Migrate to CMake to build the entire project Simon Brunel 2020-01-11 19:10:19 +01:00
  • 7f9013a878 Add CMake support and enhance the getting started docs Simon Brunel 2020-01-09 20:41:09 +01:00
  • cc29ef3512 Fix docs C++ snippet for the .fail() args Simon Brunel 2020-01-04 13:05:09 +01:00
  • 3c1461b8d0 Enhance the documentation and add markdown lint Simon Brunel 2019-12-21 10:27:26 +01:00
  • 815dc443b9 Add MIT license header to all source files Simon Brunel 2019-12-20 21:42:19 +01:00
  • 67837827b1 Bump version to 0.5.0 v0.5.0 Simon Brunel 2019-03-31 22:14:45 +02:00
  • e3f0f054af Implement QPromise<Sequence<T>>::reduce(reducer, initialValue) Simon Brunel 2019-02-25 10:07:06 +01:00
  • cbf4cc7867 Rename qPromiseAll() helper to QtPromise::all() Simon Brunel 2019-03-05 17:37:41 +01:00
  • 963ec621e1 Rename qPromise() helper to QtPromise::resolve() Simon Brunel 2019-02-25 20:03:19 +01:00
  • 1f30224578 Add support for creating promises from Qt signals (#25) Simon Brunel 2019-03-04 13:58:01 +01:00
  • 47b90fb532 Fix Gcov warning 'version 409*, prefer version 408*' Simon Brunel 2019-02-24 18:26:20 +01:00
  • 63acdfaab9 Make docs formatting consistent (no explicit word wrap) Simon Brunel 2019-02-23 14:32:02 +01:00
  • 700098ef7b Reorganize exceptions and add unit tests Simon Brunel 2019-02-23 11:42:02 +01:00
  • 6110cd40d3 Test LTS and latest Qt versions in AppVeyor Simon Brunel 2018-09-09 20:51:11 +02:00
  • a6d883acbd Update LICENSE year and cleanup a few comments Simon Brunel 2019-02-18 20:30:41 +01:00
  • 9119cc72f6 Add documentation for built-in exceptions Simon Brunel 2019-02-01 16:06:29 +01:00
  • fa5a4192ff Allow undefined rejection reason Simon Brunel 2019-01-31 17:59:39 +01:00
  • 16229fc2c9 Integrate DocSearch (Algolia) Simon Brunel 2018-09-10 12:36:31 +02:00
  • 22faef4ac3 Bump version to 0.4.0 v0.4.0 Simon Brunel 2018-09-09 21:27:33 +02:00
  • eebcb4f364 Migrate documentation to VuePress Simon Brunel 2018-09-07 17:50:09 +02:00
  • 051fed5fbc Implement QPromise<Sequence<T>>::each(functor) Simon Brunel 2018-05-25 08:55:20 +02:00
  • f610826ef0 Implement QtPromise::attempt(functor, args...) Simon Brunel 2018-05-21 21:33:05 +02:00
  • 4fa7a37750 Implement QPromise<Sequence<T>>::filter(filterer) Simon Brunel 2018-05-17 21:04:37 +02:00
  • 69c07855f4
    Implement QPromise<Sequence<T>>::map(mapper) (#15) Simon Brunel 2018-05-26 11:40:51 +02:00
  • 4cfe2e54f4 Move resolver related classes in a separate file. Simon Brunel 2018-05-21 09:25:14 +02:00
  • 54d88f16a3 Reorganize helpers unit tests Simon Brunel 2018-05-22 09:52:05 +02:00
  • bdf3619469 Add AppVeyor configuration file for running MSVC tests (#19) Peter Würtz 2018-05-23 18:31:35 +02:00
  • 8da467e9da Relax timing constraints when checking timeout in tst_timeout Peter Würtz 2018-05-18 00:23:24 +02:00
  • efb6001b9d Upgrade TravisCI environment to Qt 5.6 and GCC 4.9 Peter Würtz 2018-05-17 21:57:07 +02:00
  • 5523597e7c - wip - feat/cast Simon Brunel 2018-02-28 09:37:29 +01:00
  • 26a2110a14 Fix GCC -Wold-style-cast warnings Simon Brunel 2018-05-10 11:50:06 +02:00
  • fa987a5044 Cleanup promise captured in resolve/reject Simon Brunel 2018-05-07 10:46:00 +02:00
  • 7b0cba5b9d Allow QSharedPointer as rejection reason Simon Brunel 2018-04-28 17:54:09 +02:00
  • 2c8ed6e676 Remove extra space between closing angle brackets Simon Brunel 2018-05-06 15:59:23 +02:00
  • d128a5fa8d Clarify QPromise::all fulfillment values order Simon Brunel 2018-04-30 19:02:13 +02:00
  • dcbb2ef860 Fix clang "unused type alias 'FType'" warning Simon Brunel 2018-04-26 16:06:10 +02:00
  • 50bae380be Implement QPromise::tapFail(handler) Simon Brunel 2018-03-13 22:52:08 +01:00
  • 50216b65da - wip - wip/qtqmlpromise Simon Brunel 2017-09-16 17:56:01 +02:00
  • d279fb4391 Bump version to 0.3.0 v0.3.0 Simon Brunel 2018-03-01 22:32:46 +01:00
  • 313d3882d7 Fix dispatching when app (or thread) terminated Simon Brunel 2018-02-24 12:31:03 +01:00
  • f794916be6 Enhance QPromise<T>::wait documentation Simon Brunel 2018-02-17 13:00:21 +01:00
  • 9d2a4ca00f Add QPromise<T>::timeout documentation Simon Brunel 2018-02-17 12:59:05 +01:00
  • 4af2740d80 Enable QPromise<T>::resolve() by reference Simon Brunel 2018-02-14 22:36:22 +01:00
  • 18739bd8e0 New documentation based on GitBook CLI Simon Brunel 2018-02-11 16:19:03 +01:00
  • c34316243e Make QPromise::all accept more container types Simon Brunel 2018-02-09 23:18:05 +01:00
  • d306423159 Add QPromise assignment and equality operators Simon Brunel 2017-09-18 23:33:44 +02:00
  • d3b69f1248 Split QPromise tests per feature in separate .pro Simon Brunel 2017-09-18 23:33:44 +02:00
  • 36a0eed12a Move tests under their own qtpromise sub folder Simon Brunel 2017-09-19 09:39:13 +02:00
  • 931d5d5b13 Fix MSVC 2013 compilation issues Simon Brunel 2017-09-04 00:20:53 +02:00
  • 0682269d8f Bump version to 0.2.0 v0.2.0 Simon Brunel 2017-09-02 12:36:44 +02:00
  • 18324d3f44 Implement QPromise::timeout(msec, error) Simon Brunel 2017-09-02 12:23:42 +02:00
  • b47ca0569e Implement QPromise::delay(msec) Simon Brunel 2017-08-24 18:28:44 +02:00
  • c55fa03e7b Implement QPromise::tap(handler) Simon Brunel 2017-08-23 18:12:57 +02:00
  • 25d2bad54f Enhance QPromise::finally implementation Simon Brunel 2017-08-23 10:56:39 +02:00
  • 49a1d6a57b Avoid value copy when fulfilled from promise Simon Brunel 2017-08-22 21:52:28 +02:00
  • c4aab4ef36 Fix circular reference memory leaks Simon Brunel 2017-08-21 18:05:41 +02:00
  • 5d6bcc40ec Fix helpers multiple defined symbols Simon Brunel 2017-08-11 23:13:44 +02:00
  • cba11e6341 Add qpm package.json and docs v0.1.0 Simon Brunel 2017-06-10 11:27:38 +02:00
  • 5e754d1b08 Minor code style cleanup Simon Brunel 2017-06-10 10:06:25 +02:00
  • da3ae12c02 More QPromise<T/void> unit tests Simon Brunel 2017-06-10 09:58:22 +02:00
  • 81625e1964 Add multithreading support Simon Brunel 2017-06-04 18:22:24 +02:00
  • 2d9961de82 Add usage and API documentation (basic) Simon Brunel 2017-06-04 10:29:41 +02:00
  • 9bbef41a50 C++11 optimizations and (basic) benchmark Simon Brunel 2017-06-03 10:04:28 +02:00
  • a8ad3619b9 Setup Travis CI builds and code coverage Simon Brunel 2017-05-26 10:29:58 +02:00
  • 4919a68959 Enhance QFuture integration and add unit tests Simon Brunel 2017-05-25 18:00:17 +02:00
  • 596855f579 Move helpers in separate file and add unit tests Simon Brunel 2017-05-25 09:19:36 +02:00
  • ce3ed72dd4 Promise creation from callback only (resolver) Simon Brunel 2017-05-20 09:40:42 +02:00
  • 6a642446df Initial implementation Simon Brunel 2017-05-14 19:03:01 +02:00