- 16 Dec, 2015 - 1 commit
-
-
Renato Araujo Oliveira Filho authored
Create a mutex to control access to static variables to ensure they are modified in a thread-safe manner Change-Id: I8b8cba23c807522e4251ea7fb14563eea8d5c1b3 Reviewed-by:
Christopher Adams <chris.adams@jollamobile.com> Reviewed-by:
Konstantin Ritt <ritt.ks@gmail.com>
-
- 12 Nov, 2015 - 2 commits
-
-
Chris Adams authored
Some functions take JS Date parameters which can be either intended to be QDate or QDateTime values. Previously these functions had always assumed that the Date parameter was a fully-specified datetime and performed a toUtc() conversion before extracting the date part. For example, new Date("January 1, 1986") would be converted to a QDateTime and then have the local-to-UTC timezone transformation applied, which could result in an incorrect date. This commit ensures that in those cases, we detect whether the Date was most likely constructed as a date-only Date, and in those cases we immediately extract the date part without performing a toUtc() conversion. Change-Id: I8f76cccc2fc27df2115965c78288e16185b1a0c8 Reviewed-by:
Matthew Vogt <matthew.vogt@qinetic.com.au> Reviewed-by:
Renato Araujo Oliveira Filho <renato.filho@canonical.com> Reviewed-by:
Alex Blasche <alexander.blasche@theqtcompany.com>
-
Chris Adams authored
This commit improves the API of various detail leaf classes by adding support for more commonly-required fields. It also fixes the QContactGender class so that the enum definitions are sensible and consistent with the rest of the API. Finally, it adds support for providing per-detail provenance information, to enable the Aggregate/Facet contact story. Change-Id: Idf465f99963d372ec4f0d439cf9f3be8a7823202 Reviewed-by:
Alex Blasche <alexander.blasche@theqtcompany.com> Reviewed-by:
Matthew Vogt <matthew.vogt@qinetic.com.au>
-
- 29 Oct, 2015 - 1 commit
-
-
Christian Stromme authored
Make sure we don't try to move contacts to an invalid index when updating the contacts. This change protects against moving contacts, in the declarative contact model, to an invalid index. In most cases this will never happen, but if the pending contacts list contains duplicates, then it's possible that the index, used to move existing contacts, is out of range. The worst case scenario with this change, is that a contact will be moved more then once, that is, once for each duplicate. Change-Id: I567ea5d9a195819550c98b0da9f45aa613cb3a79 Reviewed-by:
Renato Araujo Oliveira Filho <renato.filho@canonical.com> Reviewed-by:
Christopher Adams <chris.adams@jollamobile.com>
-
- 12 Oct, 2015 - 1 commit
-
-
Chris Adams authored
This commit improves the performance of QContactDetail by avoiding use of QMap<int, QVariant> to store data, as the memory footprint of this storage container is prohibitively large. Instead, all details' fields are now backed by specific data members and the QMap is only used in fallback or extension cases. According to the tests/benchmarks/contacts/detailsbenchmark results, this commit reduces memory usage by about 35% and reduces runtime by about 35% also. Change-Id: Ie73d124563ebf4b46d35810116110322af2208c4 Reviewed-by:
Matthew Vogt <matthew.vogt@qinetic.com.au>
-
- 18 Sep, 2015 - 2 commits
-
-
Thiago Macieira authored
LGPLv3 refers to it but does not include it in its body. Change-Id: Ib056b47dde3341ef9a52ffff13eed18cf3504738 Reviewed-by:
Lars Knoll <lars.knoll@theqtcompany.com>
-
Oswald Buddenhagen authored
Change-Id: I675ed69841325f5cea7a7c2752ae99031130d1ff
-
- 02 Sep, 2015 - 3 commits
-
-
Chris Adams authored
This commit provides a microbenchmark to aid analysis of potential optimizations to the QContactDetail implementation. Change-Id: I565e7754039f140506e4ded29441d7b9ff482be7 Reviewed-by:
Matthew Vogt <matthew.vogt@qinetic.com.au>
-
Chris Adams authored
This commit ensures that we check the sorting semantics of each manager under test prior to verifying the sorting results, so that we enforce consistency but not necessarily ICU-compliance or ASCII-compliance. Change-Id: I76d5067a5ec1196b2d60a43c9b3c7c470e47f3ea Reviewed-by:
Robin Burchell <robin.burchell@viroteck.net>
-
Chris Adams authored
Otherwise the qversitcontactplugins test can fail on some platforms due to the plugins not being loaded correctly. Change-Id: I4758d7d8128f23e33ca4e822403e21257c3a6be3 Reviewed-by:
Matthew Vogt <matthew.vogt@qinetic.com.au>
-
- 23 Apr, 2015 - 3 commits
-
-
Stephan Binner authored
Change-Id: I3e8b0c4a69423348d29532b583d512eb1e9bc050 Reviewed-by:
Matthew Vogt <matthew.vogt@qinetic.com.au> Reviewed-by:
Alex Blasche <alexander.blasche@theqtcompany.com>
-
Stephan Binner authored
add #include for Q_DECLARE_INTERFACE definition Change-Id: I169e2554bf609fb542c6ea20dd8786f3f6ae7e27 Reviewed-by:
Alex Blasche <alexander.blasche@theqtcompany.com>
-
Alex Blasche authored
Change-Id: I9f3b541758faac0165a9d746f15e8f5b37f7dd3c Reviewed-by:
Stephan Binner <stephan.binner@basyskom.com> Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
-
- 16 Apr, 2015 - 9 commits
-
-
Renato Araujo Oliveira Filho authored
Allow filter OrganizerItem details fetched on a qml model query. Change-Id: I169cf511cd3073dbc0162e6228b900efb1e98250 Reviewed-by:
Christopher Adams <chris.adams@jollamobile.com>
-
Matt Vogt authored
Includes the following changes: - QDeclarativeContactExtendedDetail::setData now unboxes values from QJSValue - QDeclarativeOrganizerItemExtendedDetail::setData now unboxes values from QJSValue - QDeclarativeOrganizerRecurrenceRule is now reset when assigned a null void * - Correct tst_QVersitContactExporter logic, since QVariantHash is now a supported type for QJsonValue export - Correct tst_QVersitOrganizerExporter logic, since QVariantHash is now a supported type for QJsonValue export - Correct expected output when compring debug output involving QVariant data Change-Id: I67b6b71226c4b4c928c0c26681b24813de525545 Reviewed-by:
Alex Blasche <alexander.blasche@theqtcompany.com>
-
Alex Blasche authored
This change should have really been part of I4a4c08123be144a0f3c2c9ce987f5ce1e9ff8bb4 but resolving the conflicts across 300+ files is no fun. Change-Id: Ic14b52c6e27c1924419446b7f876954dc7bf1450 Reviewed-by:
Matthew Vogt <matthew.vogt@qinetic.com.au>
-
Alex Blasche authored
Change-Id: I6acf22c6a4e7624e45f01aafb1450bfd72669098 Reviewed-by:
Konstantin Ritt <ritt.ks@gmail.com>
-
Alex Blasche authored
QtProject is no more. Change-Id: I2b1d6ff8ed40deec419c51757a539b40cc78b42f Reviewed-by:
Matthew Vogt <matthew.vogt@qinetic.com.au>
-
Alex Blasche authored
Change-Id: I47a0d1af400a80497f414c1f32dee29a36fa0ff1 Reviewed-by:
Matthew Vogt <matthew.vogt@qinetic.com.au>
-
Alex Blasche authored
1.) Use QtCompany in each header and update copyright year 2.) All tests are LGPLv21 (some test files were BSD) 3.) Convert doc snippet to BSD (some were LGPL) 4,) Convert example code from FDL to BSD Change-Id: I4a4c08123be144a0f3c2c9ce987f5ce1e9ff8bb4 Reviewed-by:
Matthew Vogt <matthew.vogt@qinetic.com.au>
-
Alex Blasche authored
Change-Id: If0db05ccc420e58f33283d382f11dd9a66a36679 Reviewed-by:
Matthew Vogt <matthew.vogt@qinetic.com.au>
-
Alex Blasche authored
The stable branches are no longer. Change-Id: I45654b499409f3b1f5892d3b3287163817a3bef6 Reviewed-by:
Christopher Adams <chris.adams@jollamobile.com>
-
- 12 Feb, 2015 - 3 commits
-
-
Konstantin Ritt authored
This assumes the id of a default collection is known at the engine initialization time, but makes it possible to defer fetching the default collection's content up until it is needed. This also greatly simplifies the initialization process for the async-only engines. Change-Id: I5116ffdd22d7fa6cc5f8a8eed7f94518e6db7089 Reviewed-by:
Christopher Adams <chris.adams@jollamobile.com>
-
Konstantin Ritt authored
A fixup for 86aa5627 Change-Id: Ife24e013231b81c11437d3a1268d1b6de4be93fd Reviewed-by:
Matthew Vogt <matthew.vogt@qinetic.com.au>
-
Konstantin Ritt authored
Change-Id: I56ce29162b13af56f06e11065748532de9e35dd0 Reviewed-by:
Matthew Vogt <matthew.vogt@qinetic.com.au>
-
- 06 Feb, 2015 - 1 commit
-
-
Renato Araujo Oliveira Filho authored
The QContactCollection class represents a collection of contacts in a manager. This class was implemented based on QOrganizerCollection. Change-Id: I5377f9043a66726182b7a0ed7f40733ffe08b619 Reviewed-by:
Matthew Vogt <matthew.vogt@qinetic.com.au> Reviewed-by:
Christopher Adams <chris.adams@jollamobile.com>
-
- 13 Jan, 2015 - 1 commit
-
-
Dmitry Shachnev authored
That header is needed because we use Q_DECLARE_METATYPE macro. Change-Id: I3a9fc388d6793f047783e752e6750483d75b8277 Reviewed-by:
Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
-
- 05 Jan, 2015 - 2 commits
-
-
Matt Vogt authored
Use the same coding style when escaping and unescaping characters in both the URI and the local ID components. Change-Id: I690c3d840368a7795e7fe092910255960cbacdde Reviewed-by:
Christopher Adams <chris.adams@jollamobile.com>
-
Matt Vogt authored
The PIM ID objects compose two elements: the URI of the manager that owns them, and a local component meaningful only to that manager. The URI is composed from human-readable elements and benefits from a string representation, but the local element has no requirement on readability, and can consume less storage by using a binary representation. Change-Id: I56d553f6d9debf0486310688006b0be8728c1c90 Reviewed-by:
Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by:
Christopher Adams <chris.adams@jollamobile.com>
-
- 28 Dec, 2014 - 1 commit
-
-
Zhang Xingtao authored
Change-Id: If2334079e4494d60bec1b616102175f531343bd9 Reviewed-by:
Konstantin Ritt <ritt.ks@gmail.com>
-
- 08 Dec, 2014 - 1 commit
-
-
Alejandro Exojo authored
Change-Id: Ib9207074048c0368977f5e3db276f1ec8c7d2eaf Reviewed-by:
Mitch Curtis <mitch.curtis@digia.com>
-
- 20 Nov, 2014 - 2 commits
-
-
Renato Araujo Oliveira Filho authored
Does not update declarative contact model when the manager change if the property autoUpdate is marked as false. Change-Id: Ib6fa1ab3dcf127ab6c3ffa9a4c8dbfa91354e35b Reviewed-by:
Alex Blasche <alexander.blasche@theqtcompany.com> Reviewed-by:
Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by:
Christopher Adams <chris.adams@jollamobile.com>
-
Renato Araujo Oliveira Filho authored
Create a ContactExporterResourceHandler which store the contact binary data into a temporary file while converting to QContact. Change-Id: Ia532f43a08e871efb290c675c81dc03b09c96658 Reviewed-by:
Alex Blasche <alexander.blasche@theqtcompany.com>
-
- 26 Aug, 2014 - 1 commit
-
-
Renato Araujo Oliveira Filho authored
The ids can be used to know which items was successful imported/inserted into the model. Change-Id: I3fd66377d53844dfd8ad377304893c7f3413ad1a Reviewed-by:
Alex Blasche <alexander.blasche@digia.com>
-
- 08 Aug, 2014 - 1 commit
-
-
Matt Vogt authored
When deserializing ID objects, construct the resulting objects from cached instances of the manager URI string so that the resulting ID objects can share a string data representation. Change-Id: If3091bfc42e61938a823a9d2bfc68d0dafec0977 Reviewed-by:
Christopher Adams <chris.adams@jollamobile.com> Reviewed-by:
Konstantin Ritt <ritt.ks@gmail.com>
-
- 06 Aug, 2014 - 1 commit
-
-
Matt Vogt authored
For each of QContactId, QOrganizerItemId and QOrganizerCollectionId the following are true: - null values compare less-than non-null values - null values compare equal - null values convert to empty string representation This changes also removes the distinction between non-valid and null QContactId values. Change-Id: I6d343728873a49a4dfba0109110980c36eb91b90 Reviewed-by:
Konstantin Ritt <ritt.ks@gmail.com>
-
- 04 Aug, 2014 - 1 commit
-
-
Matt Vogt authored
The Landline sub type of QContactPhoneNumber should not be exported as ISDN, as this is a more specific annotation. Instead, export Landline simply as TYPE=VOICE. A new sub type value is defined for importing TEL records that claim ISDN type. Change-Id: Id5afc25597527f4e36dbb23897dce508876642a0 Reviewed-by:
Renato Araujo Oliveira Filho <renato.filho@canonical.com> Reviewed-by:
Christopher Adams <chris.adams@jollamobile.com>
-
- 01 Aug, 2014 - 2 commits
-
-
Matt Vogt authored
Allow the various instances of string objects containing manager URIs to be shared, by returning a fixed instance from which they can be copied. Change-Id: Id2522c35a1aa009667348a61409cfd87837be9cf Reviewed-by:
Konstantin Ritt <ritt.ks@gmail.com>
-
Konstantin Ritt authored
Simplify contact and organizer IDs to simply contain a manager URI that identifies the owner of the identified object, and an engine- specific string that identifies the object to that manager. Change-Id: Ic14c419df264e91c61e0f3d474d846289e1aaa82 Reviewed-by:
Christopher Adams <chris.adams@jollamobile.com> Reviewed-by:
Konstantin Ritt <ritt.ks@gmail.com>
-
- 18 Jul, 2014 - 1 commit
-
-
Matt Vogt authored
Add a parameter to the contactsChanged and itemsChanged signals, which allow a manager to optionally report the extent of changes involved in a contact or organizer item modification. If no changes are explicitly reported by the manager, the receiver must assume that any or all details of the contacts or organizer items may have been modified. Change-Id: Ie8a0d051c3f82a5911dea68213d78c2b173e762e Reviewed-by:
Alex Blasche <alexander.blasche@digia.com> Reviewed-by:
Christopher Adams <chris.adams@jollamobile.com>
-