-
Notifications
You must be signed in to change notification settings - Fork 92
Add serde
support for cxx-qt-lib using proxy types and deriving
#1154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jnbooth
wants to merge
35
commits into
KDAB:main
Choose a base branch
from
jnbooth:serde-containers
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 26 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
15c5917
cxx-qt-lib: deserialize QString from &str rather than String
jnbooth ffe93e3
cxx-qt-lib: (de)serialize QByteArray as &[u8]
jnbooth 831332d
cxx-qt-lib: (de)serialize QUrl as &str
jnbooth a70d176
cxx-qt-lib: (de)serialize QDate, QDateTime, and QTime as ISO 8601
jnbooth 2c5153a
cxx-qt-lib: (de)serialize QColor as hex code
jnbooth ad439e4
cxx-qt-lib: derive Deserialize and Serialize where possible
jnbooth 525e761
cxx-qt-lib: deref QPolygon(F) as QList<QPoint(F)>
jnbooth b50c61c
cxx-qt-lib: add QSet::reserve
jnbooth 87c5f8d
cxx-qt-lib: (de)serialize lists
jnbooth fc31d9b
add serde notes to CHANGELOG.md
jnbooth 1b6d208
cxx-qt-lib: fix documentation typo
jnbooth 6f59bea
cxx-qt-lib: use QVector rather than QList for QPolygon(F)
jnbooth cf2976f
cxx-qt-lib: format qpolygon/f files
jnbooth 205ad64
cxx-qt-lib: fix FFI name
jnbooth 7b37fe1
cxx-qt-lib: fix QColor serialization alpha check
jnbooth 6509fdd
cxx-qt-lib: replace explicit Deref with **self
jnbooth 8c881b7
cxx-qt-lib: move serde_impl from src/core to src
jnbooth a061037
implement std::fmt::Debug for lists
jnbooth ea17206
cxx-qt-lib: deserialize QByteArray and QString from bytes
jnbooth 41ff1ae
cxx-qt-lib: better deserialization for QUrl and QColor via QString
jnbooth 9d1afba
cxx-qt-lib: serde unit tests
jnbooth fd34a21
cxx-qt-lib: use debug_set instead of debug_list for QSet
jnbooth cae4be5
Merge branch 'main' into serde-containers
jnbooth 1e9a400
cxx-qt-lib: don't implement serde for QDateTime on emscripten
jnbooth c5ae04e
Merge remote-tracking branch 'origin/main' into serde-containers
jnbooth d15945d
cxx-qt-lib: (de)serialization for QUuid
jnbooth 636e4e7
cxx-qt-lib: expand CHANGELOG.md
jnbooth 0169819
cxx-qt-lib: set copyright header in serde_impl to 2025
jnbooth f160d57
cxx-qt-lib: (de)serialize QFont as QString
jnbooth fd3cc14
cxx-qt-lib: rename to_format to format
jnbooth cb0f343
cxx-qt-lib: rename format to format_enum
jnbooth 7f79cde
cxx-qt-lib: fix QFont serialization equality matching on Qt5
jnbooth cb42efa
cxx-qt-lib: use serde(from =, into =)
jnbooth 08eba31
Revert "cxx-qt-lib: use serde(from =, into =)"
jnbooth 8985a10
Merge remote-tracking branch 'origin/main' into serde-containers
jnbooth File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.