Commit Graph

  • e35e81d99c
    Merge 166ec94f27 into 1a905cbd4f Felix Hufnagel 2024-08-24 09:12:36 +0200
  • 1a905cbd4f
    Use std::shared_ptr for PromiseValue<T>::m_data instead of QSharedPoitner<T> (#60) master Egor Krugletsov 2024-08-24 10:01:08 +0300
  • 0bc9d4d312 Use std::shared_ptr for PromiseValue<T>::m_data instead of QSharedPoitner<T> Egor Krugletsov 2024-06-27 18:09:07 +0300
  • 14031392ac Use GitHub actions instead of Travis Simon Brunel 2024-08-20 20:59:47 +0200
  • 166ec94f27
    Update qpromise_p.h Felix Hufnagel 2023-10-17 16:36:44 +0200
  • 627e55a2af
    Merge 9bb107d7f4 into f382ad25fc Fish 2023-03-21 02:48:43 -0700
  • f382ad25fc Bump version to 0.7.0 v0.7.0 Simon Brunel 2023-03-05 15:13:39 +0100
  • ac9b936959 Upgrade npm dependencies Simon Brunel 2023-03-05 15:13:18 +0100
  • 21faa67b58 Configure AppVeyor to run Qt 6.x tests Simon Brunel 2022-06-30 23:17:02 +0200
  • 9f01c130cd Add support for Qt 6 Simon Brunel 2022-06-26 18:10:20 +0200
  • 1e9726f1ae
    Merge pull request #1 from ilyaBykonya/features/convert-predicate ilyaBykonya 2022-06-17 15:57:51 +0300
  • b3b5cbccb2 Convert predicate ilyaBykonya 2022-06-17 15:57:00 +0300
  • 9bb107d7f4 Brings conan package management to qtpromise. I have uploaded it to personal conan-repository(https://fish.jfrog.io/artifactory/api/conan/fish-conan), dependence: QtPromise/master TODO: 1, Need to add test_package for testing 2, Need to upload to conan-center, better with ci/cd yuailong 2021-07-07 16:27:13 +0800
  • 2bfcc17116 Brings conan package management to qtpromise. I have uploaded it to personal conan-repository(https://fish.jfrog.io/artifactory/api/conan/fish-conan), dependence: QtPromise/master TODO: 1, Need to add test_package for testing 2, Need to upload to conan-center, better with ci/cd yuailong 2021-07-07 16:27:13 +0800
  • e748957ce4
    Merge 36fa94a9ac into 461f09bef8 Marc 2021-06-16 04:26:05 +0000
  • 36fa94a9ac project: cmake: add option to explicity enable/disable building tests Marc Reilly 2021-06-16 12:13:05 +1000
  • c181965a1c Add project install/export in CMakeLists.txt Marc Reilly 2021-06-12 11:20:38 +1000
  • 461f09bef8
    Remove QPromiseError; fix include order to compile on GCC 9 (#45) Dmitriy Purgin 2021-03-20 09:25:41 +0100
  • 12f27cbcfd Remove QPromiseError; fix include order to compile on GCC 9 Ryan Henderson 2021-03-19 14:44:56 +0100
  • bac405febf
    Fix a typo in then.md (#43) Dmitriy Purgin 2021-01-23 13:41:38 +0100
  • ae0ddfa0c1
    Fixed a typo in then.md Dmitriy Purgin 2021-01-18 14:48:13 +0100
  • 0c3955cca5
    Implement QPromise<T>::convert<U>() (#41) Dmitriy Purgin 2020-11-22 17:26:06 +0100
  • d2cfb7bb98 Added test to reject conversion of non-Qt types Dmitriy Purgin 2020-11-22 08:51:06 +0100
  • dd8d1bbfe5 Typos fixed, elaborated on converting constructors Dmitriy Purgin 2020-11-22 08:50:40 +0100
  • 30fc5c3661 conversion exception example consistent with other examples Dmitriy Purgin 2020-11-15 13:27:00 +0100
  • 00995e5e74 convert tests: remove constexpr for compatibility with MSVC2013 Dmitriy Purgin 2020-11-15 13:07:09 +0100
  • 09976d21ce as<U> renamed to convert<U> and moved to QPromise; added support for generic conversion using QVariant Dmitriy Purgin 2020-11-15 12:53:43 +0100
  • b1964d9818 Added static_assert if QPromise<void>::as() is called Dmitriy Purgin 2020-11-07 11:31:03 +0100
  • da38f29df1 Added docs for QPromise::as Dmitriy Purgin 2020-11-07 11:30:44 +0100
  • b2baacb3d5 Do not name unused parameter Dmitriy Purgin 2020-11-07 10:29:34 +0100
  • 9fc303df62 Removed void -> QVariant cast; added test for the conversion exception Dmitriy Purgin 2020-11-07 10:03:58 +0100
  • 33c4239bf2 Explicit initial value type in waitForValue() for MSVC2013 compatibility Dmitriy Purgin 2020-11-05 23:15:10 +0100
  • 534299348e More unit tests added Dmitriy Purgin 2020-11-05 23:04:22 +0100
  • 16374a992e Convertors moved to qpromise_p.h; Convertors return lambda functions instead of chaining a promise Dmitriy Purgin 2020-11-05 23:04:04 +0100
  • 0d186d1176 Initial implementation of QPromise<T>::as<U>() with static_cast<> support, constructor conversion, QVariant support Dmitriy Purgin 2020-10-29 23:52:48 +0100
  • 60b36e7a70
    Fix Clang/GCC warnings and update compile options (#39) Sören Sprößig 2020-10-26 21:51:52 +0100
  • 6628ea800e Moved ifdef macros to test method bodies Dmitriy Purgin 2020-10-26 09:52:03 +0100
  • 4b938a9317 Added CMake option to disable QPromise<void>(QPromise<U>&&); fixed compiler detection Dmitriy Purgin 2020-10-26 09:36:17 +0100
  • 957634fd63 Disable conversion to void promise if on MSVC 2013 Dmitriy Purgin 2020-10-26 09:25:34 +0100
  • 797e2e0f62 Try to replace {} init with () for delegating constructor to work on MSVC2013 Dmitriy Purgin 2020-10-26 08:59:38 +0100
  • 6e1e6b9821 SFINAE check removed from QPromiseBase<void>(QPromiseBase<U>&&) due to incompatibility with MSVC Dmitriy Purgin 2020-10-26 08:05:47 +0100
  • a47059a0f7 Ignore fulfillment value by constructing QPromise<void> from QPromise<T> Dmitriy Purgin 2020-10-25 22:45:54 +0100
  • b549f38fc4 gcc: for now disable -Wshadow (many findings in code) and -Wuseless-cast (findings in moc generated code) Sören Sprößig 2020-10-24 21:19:48 +0200
  • 8f28b698d0 gcc: fix CI/CD by using flags only if supported by GCC version Soeren SPROESSIG 2020-10-24 10:46:19 +0200
  • 2d3c9d716d gcc: add new flags from Simon's review Soeren SPROESSIG 2020-10-24 10:36:36 +0200
  • 4c9ebe0cb7 clang: add specific flags for Clang Sören Sprößig 2020-10-23 21:09:32 +0200
  • 538146a25d gcc: add "-Wshadow" to GCC flags Sören Sprößig 2020-10-23 21:08:13 +0200
  • d805a0ab41 Remove not required NO_RETURN macro (use Q_NORETURN) instead Sören Sprößig 2020-10-23 21:00:29 +0200
  • e92bf19421 fix MSVC 2013: don't use noreturn from N2671 Soeren SPROESSIG 2020-10-21 11:22:12 +0200
  • cd1b4e77cc gcc: don't shadow lambda parameter with caught exception [-Wshadow] Soeren SPROESSIG 2020-10-21 11:07:12 +0200
  • 4d2d41a46f clang: signal that rethrow() will not return [-Wmissing-noreturn] Sören Sprößig 2020-10-21 10:20:53 +0200
  • d9ba06a210 clang: as Event inherits QEvent, mark dtor as "override" [-Wsuggest-destructor-override] Sören Sprößig 2020-10-21 10:20:33 +0200
  • f7639e921e Bump version to 0.6.0 v0.6.0 Simon Brunel 2020-10-01 23:00:38 +0200
  • 1752255e7b Upgrade npm dependencies for security fixes Simon Brunel 2020-10-01 22:54:58 +0200
  • 13b4bb65d2 Fix CMake FetchContent documentation GIT_TAG Simon Brunel 2020-10-01 22:48:20 +0200
  • 125aec3e47
    Bump websocket-extensions from 0.1.3 to 0.1.4 dependabot[bot] 2020-06-07 15:40:33 +0000
  • b7ecd95b04
    Fix deprecations and compile warnings (#34) Peter Würtz 2020-04-02 13:39:03 +0200
  • 7c52de3b6a Replace QSharedPointer with std::shared_ptr (GCC warning: unititialized value). Peter Würtz 2020-03-27 15:09:52 +0100
  • 89be8acc55 QLinkedList is deprecated in Qt 5.15. Peter Würtz 2020-04-01 13:07:25 +0200
  • d38c685652 Use RVO instead of std::move (GCC warning: redundant-move). Peter Würtz 2020-04-01 13:09:52 +0200
  • 4f2a424a19 Use std::invoke_result, fallback to std::result_of on C++11/14. ARGOS8 2020-03-27 14:38:23 +0100
  • 88289a7635 Fix npm security warning (docs only) Simon Brunel 2020-03-22 16:58:16 +0100
  • 6deec9f51f Fix support for auto args in constructor callbacks Simon Brunel 2020-03-22 16:50:26 +0100
  • d43657fbd5 Use clang-format for code style consistency Simon Brunel 2020-03-21 14:23:40 +0100
  • b99e468c84
    More verbose description of throwing an exception from a QtConcurrent thread (#31) Dmitriy Purgin 2020-02-18 22:31:41 +0100
  • fd9c235169 More verbose description of throwing an exception from a QtConcurrent thread Dmitriy Purgin 2020-02-18 21:24:59 +0100
  • be5455a8c8 Use C++11 curly braces initialization Simon Brunel 2020-02-17 20:02:26 +0100
  • 0bfdddd887 Use QSharedPointer::create and std::make_shared Simon Brunel 2020-02-16 11:42:57 +0100
  • 2c1e631aed Include Qt classes by module and remove unnecessary comments Simon Brunel 2020-02-11 21:21:18 +0100
  • d5a82518f9 Simplify tests directory structure Simon Brunel 2020-02-08 10:02:13 +0100
  • 1ad99391a3
    std::chrono overloads for .timeout() and .delay() (#30) Dmitriy Purgin 2020-02-11 22:07:05 +0100
  • 559d973765 Removed outdated comment Dmitriy Purgin 2020-02-11 21:51:54 +0100
  • 63f26e646e __cplusplus macro test removed in qpromise.h Dmitriy Purgin 2020-02-11 21:27:28 +0100
  • cfd1910f90 __cplusplus macro tests removed; indentation fixed Dmitriy Purgin 2020-02-11 21:15:59 +0100
  • 1590971890 std::chrono overload definitions of delay() and timeout() moved to .inl Dmitriy Purgin 2020-02-11 21:15:23 +0100
  • 287d457092 docs: redundant description removed; added horizontal ruler for std::chrono overloads Dmitriy Purgin 2020-02-11 21:14:28 +0100
  • 5baef7e6f1 __has_include replaced with __cplusplus version checks Dmitriy Purgin 2020-02-10 21:55:50 +0100
  • d2a35b0a55 Docs for std::chrono overloads of delay and timeout Dmitriy Purgin 2020-02-10 21:40:43 +0100
  • c6a9286f3a Merge branch 'master' of https://github.com/dpurgin/qtpromise Dmitriy Purgin 2020-02-10 21:24:53 +0100
  • 38f0b8095d Added std::chrono overloads to .timeout() and .delay() Dmitriy Purgin 2020-02-10 21:24:39 +0100
  • 78417b5813 Fix support for std::function as continuation handler Simon Brunel 2020-02-06 22:31:36 +0100
  • 58738a5604 Simplify license notice in source files Simon Brunel 2020-02-06 22:31:29 +0100
  • 7ee51de987
    Fix Google Analytics plugin docs config Simon Brunel 2020-01-24 04:58:32 +0100
  • 6639ea52db Migrate to CMake to build the entire project Simon Brunel 2020-01-11 19:10:19 +0100
  • 7f9013a878 Add CMake support and enhance the getting started docs Simon Brunel 2020-01-09 20:41:09 +0100
  • cc29ef3512 Fix docs C++ snippet for the .fail() args Simon Brunel 2020-01-04 13:05:09 +0100
  • 3c1461b8d0 Enhance the documentation and add markdown lint Simon Brunel 2019-12-21 10:27:26 +0100
  • 815dc443b9 Add MIT license header to all source files Simon Brunel 2019-12-20 21:42:19 +0100
  • 67837827b1 Bump version to 0.5.0 v0.5.0 Simon Brunel 2019-03-31 22:14:45 +0200
  • e3f0f054af Implement QPromise<Sequence<T>>::reduce(reducer, initialValue) Simon Brunel 2019-02-25 10:07:06 +0100
  • cbf4cc7867 Rename qPromiseAll() helper to QtPromise::all() Simon Brunel 2019-03-05 17:37:41 +0100
  • 963ec621e1 Rename qPromise() helper to QtPromise::resolve() Simon Brunel 2019-02-25 20:03:19 +0100
  • 1f30224578 Add support for creating promises from Qt signals (#25) Simon Brunel 2019-03-04 13:58:01 +0100
  • a13c3efffd Adjust proposal based on Slack exchange with Peter Simon Brunel 2019-01-09 16:25:26 +0100
  • ad2212edf6 QtPromise::connect for creating promises from signals Peter Würtz 2018-02-08 16:55:53 +0100
  • 47b90fb532 Fix Gcov warning 'version 409*, prefer version 408*' Simon Brunel 2019-02-24 18:26:20 +0100
  • 63acdfaab9 Make docs formatting consistent (no explicit word wrap) Simon Brunel 2019-02-23 14:32:02 +0100
  • 700098ef7b Reorganize exceptions and add unit tests Simon Brunel 2019-02-23 11:42:02 +0100
  • 6110cd40d3 Test LTS and latest Qt versions in AppVeyor Simon Brunel 2018-09-09 20:51:11 +0200
  • a6d883acbd Update LICENSE year and cleanup a few comments Simon Brunel 2019-02-18 20:30:41 +0100