Providing protobuf and gRPC support for Qt.
Go to file
Mårten Nordheim 81d3e8eb8c Protobuf: store and re-emit unknown fields
Use the unknownEntries variable we so cleverly added in
QProtobufMessagePrivate to store the data for the unknown fields.

By using a bytes-to-count mapping we can easily store multiple repeated
entries of a message, which could happen in a repeated list with
multiple identical entries. Since we don't know if a field is actually
marked as _repeated_ or not (since it's an unknown field) we just have
to assume it is.

Fixes: QTBUG-101966
Change-Id: I1ebde5fdaebe2987a68de1632f136bb6606e718a
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2022-12-07 12:29:45 +01:00
LICENSES Long live qtprotobufgen 2022-11-08 10:33:39 +01:00
cmake Enable qtprotobufgen feature when cross-compiling 2022-11-24 10:20:31 +01:00
coin Long live qtprotobufgen 2022-11-08 10:33:39 +01:00
src Protobuf: store and re-emit unknown fields 2022-12-07 12:29:45 +01:00
tests Protobuf: store and re-emit unknown fields 2022-12-07 12:29:45 +01:00
.cmake.conf Mark the module free of qAsConst() 2022-12-05 10:45:01 +01:00
.gitignore Long live qtprotobufgen 2022-11-08 10:33:39 +01:00
CMakeLists.txt Long live qtprotobufgen 2022-11-08 10:33:39 +01:00
configure.cmake Long live qtprotobufgen 2022-11-08 10:33:39 +01:00
dependencies.yaml Update dependencies on 'dev' in qt/qtgrpc 2022-12-05 05:57:27 +00:00
qt_cmdline.cmake Long live qtprotobufgen 2022-11-08 10:33:39 +01:00
sync.profile Long Live QProtobuf 2022-11-08 10:33:41 +01:00