Package: qtpim-opensource-src / 5.0~git20201102.f9a8f0fc+dfsg1-6

Metadata

Package Version Patches format
qtpim-opensource-src 5.0~git20201102.f9a8f0fc+dfsg1-6 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0010 Use QRegularExpression instead of the deprecated QRe.patch | (download)

src/versit/qversitreader_p.cpp | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 [patch 10/32] use qregularexpression instead of the deprecated
 QRegExp

0011 Remove usage of deprecated QLatin1Literal.patch | (download)

src/versit/qversitcontactimporter_p.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch 11/32] remove usage of deprecated qlatin1literal

0012 Fix QList from QSet conversions.patch | (download)

src/contacts/qcontactmanagerenginev2wrapper_p.cpp | 4 2 + 2 - 0 !
src/imports/contacts/details/qdeclarativecontactaddress_p.h | 2 1 + 1 - 0 !
src/imports/contacts/details/qdeclarativecontactfamily_p.h | 2 1 + 1 - 0 !
src/imports/contacts/details/qdeclarativecontactonlineaccount_p.h | 4 2 + 2 - 0 !
src/imports/contacts/details/qdeclarativecontactorganization_p.h | 2 1 + 1 - 0 !
src/imports/contacts/details/qdeclarativecontactphonenumber_p.h | 2 1 + 1 - 0 !
src/imports/contacts/qdeclarativecontactfetchhint.cpp | 5 3 + 2 - 0 !
src/imports/organizer/qdeclarativeorganizeritemfetchhint.cpp | 2 1 + 1 - 0 !
src/versitorganizer/qversitorganizerexporter_p.cpp | 9 4 + 5 - 0 !
tests/auto/contacts/qcontactmanager/tst_qcontactmanager.cpp | 18 10 + 8 - 0 !
tests/auto/organizer/qorganizermanager/tst_qorganizermanager.cpp | 20 11 + 9 - 0 !
11 files changed, 37 insertions(+), 33 deletions(-)

 [patch 12/32] fix qlist-from-qset conversions

0013 Remove usage of deprecated QtAlgorithms.patch | (download)

src/plugins/organizer/memory/qorganizeritemmemorybackend.cpp | 3 2 + 1 - 0 !
src/versit/doc/snippets/qtversitdocsample/qtversitdocsample.cpp | 3 2 + 1 - 0 !
tests/auto/contacts/qcontactmanager/tst_qcontactmanager.cpp | 5 3 + 2 - 0 !
tests/auto/organizer/qorganizermanager/tst_qorganizermanager.cpp | 5 3 + 2 - 0 !
tests/benchmark/contacts/detailsbenchmark/tst_detailsbenchmark.cpp | 5 3 + 2 - 0 !
5 files changed, 13 insertions(+), 8 deletions(-)

 [patch 13/32] remove usage of deprecated qtalgorithms

0014 Add missing include.patch | (download)

src/plugins/versit/backuphandler/backupvcardhandler.cpp | 1 1 + 0 - 0 !
src/versit/qvcard21writer.cpp | 1 1 + 0 - 0 !
src/versit/qvcard30writer.cpp | 1 1 + 0 - 0 !
3 files changed, 3 insertions(+)

 [patch 14/32] add missing include

0015 Remove usage of deprecated API from the declarative .patch | (download)

src/imports/contacts/plugin.cpp | 3 1 + 2 - 0 !
src/imports/contacts/qdeclarativecontactmodel.cpp | 12 7 + 5 - 0 !
src/imports/contacts/qdeclarativecontactmodel_p.h | 2 2 + 0 - 0 !
src/imports/contacts/qdeclarativecontactrelationshipmodel.cpp | 20 12 + 8 - 0 !
src/imports/contacts/qdeclarativecontactrelationshipmodel_p.h | 2 1 + 1 - 0 !
src/imports/organizer/plugin.cpp | 2 1 + 1 - 0 !
src/imports/organizer/qdeclarativeorganizermodel.cpp | 12 7 + 5 - 0 !
src/imports/organizer/qdeclarativeorganizermodel_p.h | 2 2 + 0 - 0 !
8 files changed, 33 insertions(+), 22 deletions(-)

 [patch 15/32] remove usage of deprecated api from the declarative
 plugins

0016 More QDateTime QDate QDate startOfDay fixes.patch | (download)

tests/auto/contacts/qcontactdetail/tst_qcontactdetail.cpp | 2 1 + 1 - 0 !
tests/auto/organizer/qorganizeritem/tst_qorganizeritem.cpp | 4 2 + 2 - 0 !
tests/auto/organizer/qorganizeritemdetail/tst_qorganizeritemdetail.cpp | 2 1 + 1 - 0 !
tests/auto/organizer/qorganizermanager/tst_qorganizermanager.cpp | 4 2 + 2 - 0 !
4 files changed, 6 insertions(+), 6 deletions(-)

 [patch 16/32] more qdatetime(qdate) -> qdate::startofday() fixes

0017 Adjust unit test to account for QList index from int.patch | (download)

tests/auto/contacts/qcontactmanagerfiltering/unittest/tst_qcontactmanagerfiltering.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch 17/32] adjust unit test to account for qlist index from int to
 qsizetype change

0018 Remove invalid method overload which confuses the QM.patch | (download)

src/imports/organizer/qdeclarativeorganizermodel.cpp | 20 0 + 20 - 0 !
src/imports/organizer/qdeclarativeorganizermodel_p.h | 1 0 + 1 - 0 !
2 files changed, 21 deletions(-)

 [patch 18/32] remove invalid method overload which confuses the qml
 engine

Related to QTBUG-87616

0019 Specify enum flag type properly in unit test.patch | (download)

tests/auto/contacts/qcontactfilter/tst_qcontactfilter.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch 19/32] specify enum flag type properly in unit test

0020 Remove unused method in unit test.patch | (download)

tests/auto/contacts/qcontactmanagerfiltering/unittest/tst_qcontactmanagerfiltering.cpp | 5 0 + 5 - 0 !
1 file changed, 5 deletions(-)

 [patch 20/32] remove unused method in unit test

0021 Update qHash methods to return size_t instead of uin.patch | (download)

src/contacts/qcontact.cpp | 4 2 + 2 - 0 !
src/contacts/qcontact.h | 2 1 + 1 - 0 !
src/contacts/qcontactactiondescriptor.cpp | 4 2 + 2 - 0 !
src/contacts/qcontactactiondescriptor.h | 4 2 + 2 - 0 !
src/contacts/qcontactactiontarget.cpp | 4 2 + 2 - 0 !
src/contacts/qcontactactiontarget.h | 2 1 + 1 - 0 !
src/contacts/qcontactcollection.cpp | 4 2 + 2 - 0 !
src/contacts/qcontactcollection.h | 4 2 + 2 - 0 !
src/contacts/qcontactcollectionid.cpp | 2 1 + 1 - 0 !
src/contacts/qcontactcollectionid.h | 2 1 + 1 - 0 !
src/contacts/qcontactdetail.cpp | 4 2 + 2 - 0 !
src/contacts/qcontactdetail.h | 2 1 + 1 - 0 !
src/contacts/qcontactid.cpp | 2 1 + 1 - 0 !
src/contacts/qcontactid.h | 2 1 + 1 - 0 !
src/contacts/qcontactrelationship.cpp | 2 1 + 1 - 0 !
src/contacts/qcontactrelationship.h | 2 1 + 1 - 0 !
src/organizer/qorganizercollection.cpp | 4 2 + 2 - 0 !
src/organizer/qorganizercollection.h | 4 2 + 2 - 0 !
src/organizer/qorganizercollectionid.cpp | 2 1 + 1 - 0 !
src/organizer/qorganizercollectionid.h | 2 1 + 1 - 0 !
src/organizer/qorganizeritem.cpp | 4 2 + 2 - 0 !
src/organizer/qorganizeritem.h | 2 1 + 1 - 0 !
src/organizer/qorganizeritemdetail.cpp | 4 2 + 2 - 0 !
src/organizer/qorganizeritemdetail.h | 4 2 + 2 - 0 !
src/organizer/qorganizeritemid.cpp | 2 1 + 1 - 0 !
src/organizer/qorganizeritemid.h | 2 1 + 1 - 0 !
src/organizer/qorganizerrecurrencerule.cpp | 20 10 + 10 - 0 !
src/organizer/qorganizerrecurrencerule.h | 4 2 + 2 - 0 !
src/versit/qversitdocument.cpp | 4 2 + 2 - 0 !
src/versit/qversitdocument.h | 2 1 + 1 - 0 !
src/versit/qversitproperty.cpp | 4 2 + 2 - 0 !
src/versit/qversitproperty.h | 2 1 + 1 - 0 !
tests/auto/contacts/qcontactmanager/tst_qcontactmanager.cpp | 2 1 + 1 - 0 !
33 files changed, 57 insertions(+), 57 deletions(-)

 [patch 21/32] update qhash methods to return size_t instead of uint

0022 Mark virtual methods with override keyword.patch | (download)

src/contacts/engines/qcontactinvalidbackend_p.h | 4 2 + 2 - 0 !
src/contacts/filters/qcontactactionfilter_p.h | 8 4 + 4 - 0 !
src/contacts/filters/qcontactchangelogfilter_p.h | 8 4 + 4 - 0 !
src/contacts/filters/qcontactcollectionfilter_p.h | 8 4 + 4 - 0 !
src/contacts/filters/qcontactdetailfilter_p.h | 8 4 + 4 - 0 !
src/contacts/filters/qcontactdetailrangefilter_p.h | 8 4 + 4 - 0 !
src/contacts/filters/qcontactidfilter_p.h | 8 4 + 4 - 0 !
src/contacts/filters/qcontactintersectionfilter_p.h | 8 4 + 4 - 0 !
src/contacts/filters/qcontactinvalidfilter.cpp | 12 6 + 6 - 0 !
src/contacts/filters/qcontactrelationshipfilter_p.h | 8 4 + 4 - 0 !
src/contacts/filters/qcontactunionfilter_p.h | 8 4 + 4 - 0 !
src/contacts/qcontactdetail_p.h | 12 6 + 6 - 0 !
src/contacts/qcontactfilter_p.h | 4 2 + 2 - 0 !
src/contacts/qcontactmanager.h | 4 2 + 2 - 0 !
src/contacts/qcontactmanagerenginefactory.h | 6 3 + 3 - 0 !
src/contacts/requests/qcontactrequests_p.h | 22 11 + 11 - 0 !
src/organizer/filters/qorganizeritemcollectionfilter_p.h | 8 4 + 4 - 0 !
src/organizer/filters/qorganizeritemdetailfieldfilter_p.h | 8 4 + 4 - 0 !
src/organizer/filters/qorganizeritemdetailfilter_p.h | 8 4 + 4 - 0 !
src/organizer/filters/qorganizeritemdetailrangefilter_p.h | 8 4 + 4 - 0 !
src/organizer/filters/qorganizeritemidfilter_p.h | 8 4 + 4 - 0 !
src/organizer/filters/qorganizeritemintersectionfilter_p.h | 8 4 + 4 - 0 !
src/organizer/filters/qorganizeriteminvalidfilter.cpp | 12 6 + 6 - 0 !
src/organizer/filters/qorganizeritemunionfilter_p.h | 8 4 + 4 - 0 !
src/organizer/qorganizeritemfilter_p.h | 4 2 + 2 - 0 !
src/organizer/qorganizermanagerenginefactory.h | 6 3 + 3 - 0 !
src/organizer/requests/qorganizeritemrequests_p.h | 22 11 + 11 - 0 !
src/versit/qvcard21writer_p.h | 4 2 + 2 - 0 !
src/versit/qvcard30writer_p.h | 4 2 + 2 - 0 !
src/versit/qversitcontacthandler.h | 10 5 + 5 - 0 !
src/versit/qversitreader_p.h | 2 1 + 1 - 0 !
src/versit/qversitresourcehandler.h | 4 2 + 2 - 0 !
src/versit/qversitwriter_p.h | 2 1 + 1 - 0 !
33 files changed, 131 insertions(+), 131 deletions(-)

 [patch 22/32] mark virtual methods with override keyword

0023 Fix calendardemo example.patch | (download)

examples/organizer/calendardemo/src/calendardemo.cpp | 6 3 + 3 - 0 !
examples/organizer/calendardemo/src/monthpage.cpp | 4 2 + 2 - 0 !
2 files changed, 5 insertions(+), 5 deletions(-)

 [patch 23/32] fix calendardemo example

0024 Make the tests pass on big endian systems.patch | (download)

tests/auto/contacts/qcontactfilter/tst_qcontactfilter.cpp | 2 2 + 0 - 0 !
tests/auto/organizer/qorganizeritemfilter/tst_qorganizeritemfilter.cpp | 2 2 + 0 - 0 !
2 files changed, 4 insertions(+)

 [patch 24/32] make the tests pass on big endian systems

Make sure the generated item IDs are the same as on little endian
systems, e.g. 05000000 and not 00000005.

0025 Add dependencies.yaml for CI.patch | (download)

dependencies.yaml | 7 7 + 0 - 0 !
1 file changed, 7 insertions(+)

 [patch 25/32] add dependencies.yaml for ci

0026 Bump sha1s in dependencies.yaml.patch | (download)

dependencies.yaml | 7 5 + 2 - 0 !
1 file changed, 5 insertions(+), 2 deletions(-)

 [patch 26/32] bump sha1s in dependencies.yaml

0027 Fix some deprecated QChar constructor issues in unit.patch | (download)

tests/auto/contacts/qcontactmanagerfiltering/unittest/tst_qcontactmanagerfiltering.cpp | 6 4 + 2 - 0 !
1 file changed, 4 insertions(+), 2 deletions(-)

 [patch 27/32] fix some deprecated qchar constructor issues in unit
 tests

0028 Ensure we throw away the BOM in the qversitreader te.patch | (download)

tests/auto/versit/qversitreader/tst_qversitreader.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch 38/44] ensure we throw away the bom in the qversitreader test

The BOM will only be emitted from the very first call to
encoder->fromUnicode(), and thus since we compare the output from
one invocation to the output of another, we need to ensure that
the BOM is not included in the result of either.

However, previously we attempted to do this by passing a null
QString into fromUnicode(), however it seems that now it ignores
such input.  Hence, we need to give it some dummy input in the
first call to fromUnicode() to force it to "spend" its BOM output.

0029 Add label group field to display label detail.patch | (download)

src/contacts/details/qcontactdetails.cpp | 41 35 + 6 - 0 !
src/contacts/details/qcontactdisplaylabel.h | 6 5 + 1 - 0 !
tests/auto/contacts/qcontactdetails/tst_qcontactdetails.cpp | 5 5 + 0 - 0 !
3 files changed, 45 insertions(+), 7 deletions(-)

 [patch 28/32] add label group field to display label detail

Modern UIs often display contacts in sections grouped by the first
letter of their first (or last, depending on platform and locale
preferences) name.

This commit adds a label group field to the display label detail
which allows a locale-specific label group to be stored for each
contact and exposed to clients.

0030 Provide interface for accessing all extended metadat.patch | (download)

src/contacts/qcontactcollection.cpp | 8 8 + 0 - 0 !
src/contacts/qcontactcollection.h | 1 1 + 0 - 0 !
src/organizer/qorganizercollection.cpp | 8 8 + 0 - 0 !
src/organizer/qorganizercollection.h | 1 1 + 0 - 0 !
tests/auto/contacts/qcontactcollection/tst_qcontactcollection.cpp | 2 2 + 0 - 0 !
tests/auto/organizer/qorganizercollection/tst_qorganizercollection.cpp | 2 2 + 0 - 0 !
6 files changed, 22 insertions(+)

 [patch 29/32] provide interface for accessing all extended metadata
 from collections

Task-number: QTBUG-75550
0031 Accessors should be const.patch | (download)

src/contacts/qcontactmanager.cpp | 4 2 + 2 - 0 !
src/contacts/qcontactmanager.h | 4 2 + 2 - 0 !
src/contacts/qcontactmanagerengine.cpp | 4 2 + 2 - 0 !
src/contacts/qcontactmanagerengine.h | 4 2 + 2 - 0 !
src/organizer/qorganizermanager.cpp | 4 2 + 2 - 0 !
src/organizer/qorganizermanager.h | 4 2 + 2 - 0 !
src/organizer/qorganizermanagerengine.cpp | 4 2 + 2 - 0 !
src/organizer/qorganizermanagerengine.h | 4 2 + 2 - 0 !
src/plugins/contacts/memory/qcontactmemorybackend.cpp | 4 2 + 2 - 0 !
src/plugins/contacts/memory/qcontactmemorybackend_p.h | 4 2 + 2 - 0 !
src/plugins/organizer/memory/qorganizeritemmemorybackend.cpp | 4 2 + 2 - 0 !
src/plugins/organizer/memory/qorganizeritemmemorybackend_p.h | 4 2 + 2 - 0 !
src/plugins/organizer/skeleton/qorganizerskeleton.cpp | 4 2 + 2 - 0 !
src/plugins/organizer/skeleton/qorganizerskeleton_p.h | 4 2 + 2 - 0 !
14 files changed, 28 insertions(+), 28 deletions(-)

 [patch 30/32] accessors should be const

0032 Enforce detail access constraints in contact operati.patch | (download)

src/contacts/qcontact.cpp | 41 31 + 10 - 0 !
src/contacts/qcontact.h | 10 8 + 2 - 0 !
src/plugins/contacts/memory/qcontactmemorybackend.cpp | 6 3 + 3 - 0 !
tests/auto/contacts/qcontact/tst_qcontact.cpp | 38 37 + 1 - 0 !
4 files changed, 79 insertions(+), 16 deletions(-)

 [patch 31/32] enforce detail access constraints in contact operations
 by default

Previously, Irremovable constraints were enforced but ReadOnly
constraints were not, for in-memory contact detail operations.

While it is simple to work around any constraints simply by recreating
an identical contact (including id) in-memory, and then saving the
modified detail into that contact, we should enforce the constraints
consistently, and provide API to allow the user to ignore the
constraints for the in-memory operations if they desire (thus leaving
enforcement up to the backend).

0033 Set PLUGIN_CLASS_NAME in .pro files.patch | (download)

src/plugins/contacts/memory/memory.pro | 1 1 + 0 - 0 !
src/plugins/contacts/serviceactionmanager/serviceactionmanager.pro | 1 1 + 0 - 0 !
src/plugins/organizer/memory/memory.pro | 1 1 + 0 - 0 !
src/plugins/organizer/skeleton/skeleton.pro | 1 1 + 0 - 0 !
src/plugins/versit/backuphandler/backuphandler.pro | 1 1 + 0 - 0 !
src/plugins/versit/vcardpreserver/vcardpreserver.pro | 1 1 + 0 - 0 !
6 files changed, 6 insertions(+)

 [patch 32/32] set plugin_class_name in .pro files

This resolves the erronous generation of Qt5Contacts_.cmake,
Qt5Organizer_.cmake & Qt5Versit_.cmake by setting proper names to the
plugins.

1001_fix qtdatetime null comparison.patch | (download)

tests/auto/contacts/qcontactmanager/tst_qcontactmanager.cpp | 4 1 + 3 - 0 !
1 file changed, 1 insertion(+), 3 deletions(-)

 fix unit test tst_qcontactmanager::comparevariant_data
1002_Avoid crash while parsing vcards from different threads.patch | (download)

src/versit/qversitreader_p.cpp | 12 12 + 0 - 0 !
1 file changed, 12 insertions(+)

 avoid crash while parsing vcards from different threads.
1003_adapt_to_json_parser_change.patch | (download)

tests/auto/versit/qversitcontactimporter/tst_qversitcontactimporter.cpp | 25 19 + 6 - 0 !
1 file changed, 19 insertions(+), 6 deletions(-)

 adapt to json parser behavior change in qt 5.15
 QJsonValue will expose input like "2.0" as an integral type as
 the value can be perfectly expressed as an integral.
 .
 See the discussion in https://bugreports.qt.io/browse/QTBUG-87443.
2000_revert_module_version.patch | (download)

.qmake.conf | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 revert module version zeroing
 Trying to revert the zeroing since the crash seems to be related to 
 the version number. 


0034_QVersitOrganizer__ensure_VTIMEZONE_subDocument_is_parsed_before_any_other_one.patch | (download)

src/versitorganizer/qversitorganizerimporter.cpp | 3 3 + 0 - 0 !
src/versitorganizer/qversitorganizerimporter_p.cpp | 9 9 + 0 - 0 !
src/versitorganizer/qversitorganizerimporter_p.h | 1 1 + 0 - 0 !
3 files changed, 13 insertions(+)

 qversitorganizer: ensure vtimezone subdocument is parsed before any other one
0035_QVersitOrganizer__encode_decode_LOCATION_and_GEO_iCal_properties.patch | (download)

src/versitorganizer/qversitorganizerdefs_p.h | 3 2 + 1 - 0 !
src/versitorganizer/qversitorganizerexporter_p.cpp | 26 26 + 0 - 0 !
src/versitorganizer/qversitorganizerexporter_p.h | 5 5 + 0 - 0 !
src/versitorganizer/qversitorganizerimporter_p.cpp | 31 31 + 0 - 0 !
src/versitorganizer/qversitorganizerimporter_p.h | 3 3 + 0 - 0 !
tests/auto/versitorganizer/qversitorganizerexporter/tst_qversitorganizerexporter.cpp | 25 25 + 0 - 0 !
tests/auto/versitorganizer/qversitorganizerimporter/tst_qversitorganizerimporter.cpp | 31 31 + 0 - 0 !
7 files changed, 123 insertions(+), 1 deletion(-)

 qversitorganizer: encode/decode location and geo ical properties
0036_QVersitOrganizer__encode_decode_ATTENDEE_iCal_property,_minimal_support.patch | (download)

src/versitorganizer/qversitorganizerexporter_p.cpp | 57 57 + 0 - 0 !
src/versitorganizer/qversitorganizerexporter_p.h | 4 4 + 0 - 0 !
src/versitorganizer/qversitorganizerimporter_p.cpp | 70 70 + 0 - 0 !
src/versitorganizer/qversitorganizerimporter_p.h | 3 3 + 0 - 0 !
tests/auto/versitorganizer/qversitorganizerexporter/tst_qversitorganizerexporter.cpp | 15 15 + 0 - 0 !
tests/auto/versitorganizer/qversitorganizerimporter/tst_qversitorganizerimporter.cpp | 17 17 + 0 - 0 !
6 files changed, 166 insertions(+)

 qversitorganizer: encode/decode attendee ical property, minimal support