Releases: KDAB/KDBindings
v1.1.0
With this release KDBindings gains an important feature: The ability to use Signals and slots over multiple threads.
To easily integrate this with any event loop and framework, the ConnectionEvaluator can be used to precisely control when the slots of a connection are executed.
To react to new slot invocations, users may subclass the ConnectionEvaluator and override the onInvocationAdded function.
Highlighted changes
- Feature: ConnectionEvaluator for deferred Signal/Slot evaluation and easy integration into multi-threaded environments (#48)
- The ConnectionEvaluator can be subclassed to react to new slot invocations (#86)
- Feature: Add ScopedConnection for RAII-style connection management (#31)
- Feature: Define a preprocessor flag for enabling warnings on unused ConnectionHandle by @phyBrackets in #71
- Use ConnectionHandle::release to intentionally silence the warning when the ConnectionHandle is not needed (#92)
- Feature: Connect reflective - Allow slots to access their own ConnectionHandle in #70
Other Changes
- Make KDBINDINGS_DECLARE_FUNCTION callable outside of within KDBinding… by @lemirep in #38
- Typo: Not sorted, but assorted examples by @ivan-cukic in #39
- Add GitHub Actions by @dantti in #42
- Fix clang-tidy failures by @LeonMatthesKDAB in #49
- Add clang-tidy fixes to main by @LeonMatthesKDAB in #50
- Avoid error in presence of Windows min/max macros by @MiKom in #52
- Fix CI: Link to Pthread library explicitly by @LeonMatthesKDAB in #54
- Fix CI staticcheck warnings by @LeonMatthesKDAB in #53
- Modify the copyright line to show the file creation year only by @winterz in #51
- Standardize project to KDAB copyright policy (port from 1.0 branch) by @LeonMatthesKDAB in #56
- CI: Use presets for testing by @LeonMatthesKDAB in #59
- CI: Add static checks by @dantti in #58
- CI: Avoid duplicated CI jobs by @dantti in #60
- Add CMake presets for static checks by @LeonMatthesKDAB in #61
- Remove appveyor.yml by @dantti in #62
- Add pre-commit by @dantti in #66
- Fail CI if clazy fails by @LeonMatthesKDAB in #73
- Has binding by @seanharmer in #75
- ci: Use windows-2019 instead of -latest by @LeonMatthesKDAB in #77
- ci: Revert to Windows-latest by @LeonMatthesKDAB in #80
- fix: KDBINDINGS_WARN_UNUSED on templated connect by @LeonMatthesKDAB in #81
- fix: Rename CMake KDBINDINGS_ENABLE_WARN_UNUSED by @LeonMatthesKDAB in #83
- #79: Qt compatibility - Add KDBindings_QT_NO_EMIT by @LeonMatthesKDAB in #82
- Add a missing include in connection_evaluator.h by @MiKom in #84
- Allow having bindings referencing const Properties by @phyBrackets in #72
- Small documentation fixes by @LeonMatthesKDAB in #87
- Fix reflective lifetime issues by @LeonMatthesKDAB in #88
- Add noexcept specifiers where appropriate by @LeonMatthesKDAB in #91
- Use doxygen-awesome.css instead of doxybook by @dantti in #90
- Follow up on mkdocs deprecation by @LeonMatthesKDAB in #93
- Deploy doxygen docs to GitHub pages by @dantti in #89
- REUSE compliance by @winterz in #94
- cmake-lint and cmake-format the project by @winterz in #95
New Contributors
- @ivan-cukic made their first contribution in #39
- @dantti made their first contribution in #42
- @MiKom made their first contribution in #52
- @winterz made their first contribution in #51
- @phyBrackets made their first contribution in #71
Full Changelog: v1.0.3...v1.1.0
KDBindings 1.1.0 - Beta 2
With this second Beta release, we address some issues found in Beta 1.
Specifically, the ConnectionEvaluator included no way to react to incoming connections in user code (see #85 ).
This forced users to continually evaluate the slots in the ConnectionEvaluator so that they didn't miss newly queued invocations.
We have addressed this in #86 by creating a protected method in the ConnectionEvaluator. Sublclasses can override this method to be notified of newly queued invocations and react accordingly. Thank you to @MiKom for requesting and prototyping this feature.
Other changes in this release include
- Has binding by @seanharmer in #75
- Define a preprocessor flag for enabling warnings on unused ConnectionHandle by @phyBrackets in #71
- #79: Qt compatibility - Add KDBindings_QT_NO_EMIT by @LeonMatthesKDAB in #82
- Allow having bindings referencing const Properties by @phyBrackets in #72
- Small documentation fixes by @LeonMatthesKDAB in #87
- Connect reflective: Allow slots to access their own ConnectionHandle by @LeonMatthesKDAB in #70
- feat: Allow subclassing ConnectionEvaluator by @LeonMatthesKDAB in #86
New Contributors
- @phyBrackets made their first contribution in #71
Full Changelog: v1.1.0-beta.1...v1.1.0-beta.2
v1.0.5
What's Changed
- v1.0.5: Backport Windows
interface
fix to 1.0 by @LeonMatthesKDAB in #67
Full Changelog: v1.0.4...v1.0.5
KDBindings 1.1.0 - Beta 1
With this release KDBindings gains an important feature: The ability to use Signals and slots over multiple threads.
To easily integrate this with any event loop and framework, the ConnectionEvaluator can be used to precisely control when the slots of a connection are executed.
As there is still some discussion over what the best behavior for disconnecting such a connection is, this is a beta release for now.
What's Changed
- Feature: ConnectionEvaluator for deferred Signal/Slot evaluation and easy integration into multi-threaded environments (#48)
- Feature: Add ScopedConnection for RAII-style connection management (#31)
New Contributors
- @Waqar144 made their first contribution in #31
- @iamsergio made their first contribution in #34
- @tokoe-kdab made their first contribution in #40
- @dantti made their first contribution in #42
- @MiKom made their first contribution in #52
Full Changelog: v1.0.4...v1.1.0-beta.1
KDBindings 1.0.4
We forgot to announce versions 1.0.2 and 1.0.3, so I'll include what has changed in these versions as well!
What's Changed
- Make KDBINDINGS_DECLARE_FUNCTION callable outside of within KDBinding… by @lemirep in #38
- Typo: Not sorted, but assorted examples by @ivan-cukic in #39
- Fix clang-tidy failures by @LeonMatthesKDAB in #49
- Modify the copyright line to show the file creation year only by @winterz in #51
- 1.0 backport: Avoid error in presence of Windows min/max macros by @LeonMatthesKDAB in #63
New Contributors
- @ivan-cukic made their first contribution in #39
- @winterz made their first contribution in #51
Full Changelog: v1.0.1...v1.0.4