summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Update with change that went into qtdeclarativeFrederik Gladhorn2018-09-051-4/+4
| | | | | | Change-Id: Idacc3f77ed0dfcae7d3340262d89d3cf8052e9dd Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Move xmllistmodel to xmlpatternsFrederik Gladhorn2018-08-288-0/+1609
| | | | | Change-Id: Ida2a23ae93b8625638397ee7ae10f32b9dcd2043 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Remove forward declaration of non existing classJędrzej Nowacki2018-08-162-4/+0
| | | | | | | | QAbstractMessageHandler and QAbstractUriResolver have no private classes, there is no need to declare fake ones. Change-Id: Ibe18d7bec21ecf5df1d5f0068185e568b96460fd Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Fix a cyclic reference that resulted in a memory leakErik Verbruggen2018-07-163-6/+6
| | | | | | | | | | | An element in a complex type would refer to its parenty by a QExplicitlySharedDataPointer, resulting in a reference cycle where none of the items woulf reach a zero refcount, resulting in a leak. Task-number: QTBUG-62691 Change-Id: I469c8cb38cc89ed778dac7534690a5d343b4bf25 Reviewed-by: Andy Shaw <andy.shaw@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Change QSourceLocation::operator!=() to test for inequalityPaul Colby2018-04-271-4/+5
| | | | | | | | | | | | | | [ChangeLog][QSourceLocation] Corrected QSourceLocation::operator!=() to test for non-equality, where prior to this it was incorrectly testing for equality instead. Also, corrected the QSourceLocation::operator!=() documentation which was erroneously referencing an unrelated QXmlName class, and updated the QSourceLocation::operator==() documentation to be consistent with the rest of the class, as well as broader Qt documentation conventions. Change-Id: Ia74f84e965f45fd2da3aa42c9c59eba7014b6edb Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
* Fix developer build with new GCCv5.11.0-beta4Allan Sandfeld Jensen2018-04-131-3/+4
| | | | | | | | Avoid casting to a possibly null QXmlNodeModelIndex as that now can cause -Wunitialized warnings. Change-Id: Id53d213f90e9845f6e4b4e9ada5945726750ec86 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
* Doc: Fix qdoc/clang diagnostic warningsPaul Wicking2018-03-132-17/+17
| | | | | | | | Update templated function doc signatures to include correct return type. Change-Id: Iaca1ae3ebccf09b328e0cb66c27787df5052f9a0 Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Martin Smith <martin.smith@qt.io>
* Fix typosJarek Kobus2018-02-142-5/+5
| | | | | Change-Id: I29f89ddf8e2ff9ef47a6f27897e458d042293979 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Merge remote-tracking branch 'origin/5.10' into 5.11Liang Qi2018-02-125-90/+51
|\ | | | | | | Change-Id: Ic4b4cabff030fe494e2f446d99127847c6ba421a
| * Merge remote-tracking branch 'origin/5.9' into 5.105.10Liang Qi2018-01-293-88/+49
| |\ | | | | | | | | | Change-Id: I09553d29eab1e65fc3e51d72ff6ea6682794d312
| | * Improve documentation for w3c's xml.xsd fileKai Koehne2018-01-263-88/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the qt_attribution.json setup, instead of hardcoding the license in the documentation. Also update the license to the latest W3C one, that supersedes the old license even for exising documents. [Third-Party Code] Update license of w3c'c xml.xsd file. Change-Id: I59a8a6f9d97ad89e530eb4cd30b1f4e1a725fcf4 Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
| | * Fix license headersJani Heikkinen2018-01-061-14/+20
| | | | | | | | | | | | | | | | | | | | | | | | - Replace old header.LGPL21 usage with header.LGPL one - Remove unnecessary license files Change-Id: Ie5ac3785daa1805aef8eb2c5176c95c51523259a Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| * | Fix access after free in evaluation cacheAllan Sandfeld Jensen2018-01-252-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | If a let expression is compressed away to just its value, let the value keep a reference to the variable declaration. Task-number: QTBUG-63613 Change-Id: I544ca682627c0fc0fe13984602aefbaaf3df4533 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* | | Merge remote-tracking branch 'origin/5.10' into devLiang Qi2018-01-162-23/+27
|\ \ \ | |/ / | | | | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I6f68767536130d88d48c12e578eb7cd7cd19a40c
| * | Fix license headersJani Heikkinen2018-01-151-14/+20
| | | | | | | | | | | | | | | | | | | | | | | | old header.LGPL21 was still used in one src file. Replace that one with correct header.LGPL one. Remove also unnecessary license files. Change-Id: I02126d6114ca04dffbd488610195919b67fdd96c Reviewed-by: Liang Qi <liang.qi@qt.io>
| * | Significantly improve memory usage in XsdStateMachine::toDFAViktor Engelmann2018-01-041-9/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now mark DFA state sets immediately when they are enqueued and check for that mark before enqueing them. This way, we save a lot of memory when a set has many states and is encountered often. In the referenced bug report, there were 60000 copies of a set with 40000 entries, wasting tens of gigabytes of memory. Task-number: QTBUG-65067 Change-Id: Iec3a04c8badfac29faefbba22c2942ed104effbb Reviewed-by: Kari Hormi <kari.hormi@qt.io> Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
* | | Raise minimum supported MSVC version to 2015Friedemann Kleint2018-01-051-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | Remove code for older versions and streamline #ifdefs. Task-number: QTBUG-51673 Change-Id: Ic6c735aa46b7c80f82d741d67e72706c9c983eb6 Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
* | | type: Add missing override and remove redundant virtualAlexander Volkov2017-11-2726-697/+697
| | | | | | | | | | | | | | | Change-Id: I1c8c39947c9c6f54f6232d2a9cad5d5a41b4bd49 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
* | | api: Add missing override and remove redundant virtualAlexander Volkov2017-11-2712-91/+91
| | | | | | | | | | | | | | | Change-Id: Ic43bbe7d5ee372fbe70ee39040fb97fb0302fc07 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
* | | Merge remote-tracking branch 'origin/5.10' into devLiang Qi2017-11-2025-91/+244
|\ \ \ | |/ / | | | | | | Change-Id: I5164e541f99e42d78d12fbdeea98ecc6db117637
| * | Merge remote-tracking branch 'origin/5.9' into 5.10Liang Qi2017-11-153-9/+11
| |\ \ | | |/ | | | | | | Change-Id: Idcfaa401ee18ab56f63d2089eca666be12abadcd
| | * Fix clazy-temporary-iteratorFriedemann Kleint2017-11-143-9/+11
| | | | | | | | | | | | | | | Change-Id: I512ffb927cfa161fc810c846a7b57b02601b14b9 Reviewed-by: Sérgio Martins <sergio.martins@kdab.com>
| * | Merge remote-tracking branch 'origin/5.9' into 5.10v5.10.0-beta4Liang Qi2017-10-3021-73/+233
| |\ \ | | |/ | | | | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I03793037d5cb382a3ea411286633903e4fee60ce
| | * Fix outdated FDL license headerKai Koehne2017-10-175-25/+25
| | | | | | | | | | | | | | | Change-Id: I50ac50f96c8ac4bf7023b9488e6a634d3f71e583 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
| | * Fix outdated BSD license headerKai Koehne2017-10-1716-48/+208
| | | | | | | | | | | | | | | Change-Id: I90b4636aeaf7465f5938ff3454d735cf67816d98 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
| * | remove wince leftoversGatis Paeglis2017-09-191-9/+0
| |/ | | | | | | | | Change-Id: I0579f73576722ebe68c3574f48934b15997aa035 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* | Replace Q_NULLPTR with nullptrKevin Funk2017-09-264-4/+4
|/ | | | | Change-Id: Iae074eb184283d09528ada65ec2d8d252639720d Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* qxquerytokenizer.cpp: Fix -Wimplicit-fallthroughFriedemann Kleint2017-06-201-20/+0
| | | | | | | | | | | Remove the Q_ASSERT following the return statements in the switch. Fixes numerous warnings: parser\qxquerytokenizer.cpp:825:28: warning: this statement may fall through [-Wimplicit-fallthrough=] Q_ASSERT(false); Change-Id: I921b4a61f7751f7a55c708ed182806e76e7d75e7 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Fix compilation error with ICC 17: it doesn't like auto and commaThiago Macieira2017-06-201-4/+12
| | | | | | | | | | | The error is a warning upgraded via -Werror and the message doesn't even make sense to me: error #3373: nonstandard use of "auto" to both deduce the type from an initializer and to announce a trailing return type Intel-Issue-ID: 6000164202 Change-Id: I73fa1e59a4844c43a109fffd148caf09a1952e92 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Fix GCC 7 warning about fallthroughThiago Macieira2017-06-121-1/+1
| | | | | Change-Id: Ia53158e207a94bf49489fffd14c738808be5a6b9 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Add section and update purpose of features.xml-schemaStephan Binner2017-05-081-1/+2
| | | | | Change-Id: Ica28866669aea9e1fb4d0d586bbcce87dd6afa95 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
* Make features.xml-schema publicFeatureStephan Binner2017-05-031-1/+1
| | | | | | | | QXmlSchema[Validator] are in public Qt API Change-Id: I6103f1e7d88bf878776556793f78607e741dfee1 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* QXmlName: Add copy constructor and use default for copy/assignmentv5.9.0-beta3Friedemann Kleint2017-04-202-5/+10
| | | | | | | | | | | | | | Fix Clang warning: 95:15: warning: definition of implicit copy constructor for 'QXmlName' is deprecated because it has a user-declared copy assignment operator qmetatype.h:1684:83: note: in instantiation of member function 'QtMetaTypePrivate::QMetaTypeFunctionHelper<QXmlName, true>::Construct' requested here qmetatype.h:1712:12: note: in instantiation of function template specialization 'qRegisterNormalizedMetaType<QXmlName>' requested here 134:1: note: in instantiation of function template specialization 'qRegisterMetaType<QXmlName>' requested here qmetatype.h:1848:34: note: expanded from macro 'Q_DECLARE_METATYPE' qmetatype.h:1860:35: note: expanded from macro 'Q_DECLARE_METATYPE_IMPL' qmetatype.h:765:32: note: implicit copy constructor for 'QXmlName' first required here Change-Id: I5e194201278d2a5d613eac9dc9cd7b36679697b3 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
* Merge remote-tracking branch 'origin/5.8' into 5.9v5.9.0-beta2Liang Qi2017-04-1218-106/+28
|\ | | | | | | Change-Id: Iad56858cfdc688957e7a8426f908ab0a641a3312
| * Cleanup implicit fallthroughs in xmlpatterns5.8Allan Sandfeld Jensen2017-03-3018-106/+23
| | | | | | | | | | | | | | Use Q_FALLTHOUGH instead of comments, and use it consistently. Change-Id: Ieaf4867b612e624774011275b90cdd3678a29fe9 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
| * Mark missing implicit fallthroughsAllan Sandfeld Jensen2017-03-292-0/+5
| | | | | | | | | | Change-Id: I92ab00eb63a5baac80c0ecc328141396bf7331bd Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
* | Fix gcc 7 buildVille Voutilainen2017-04-121-0/+3
| | | | | | | | | | | | | | | | | | We seem to get something that looks very much like a false positive for a maybe-uninitialized value. Disable -Wmaybe-uninitialized in the offending header file. Change-Id: If79bc7798df50f4dd0dcf63399213b4e4a7cdbd3 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* | Build fix for -no-feature-timezonev5.9.0-beta1Paul Olav Tvete2017-03-161-0/+4
| | | | | | | | | | Change-Id: I54b491fce5b38e0a10c939ec4cc69474ff594e1e Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* | Merge remote-tracking branch 'origin/5.8' into 5.9Liang Qi2017-03-101-7/+7
|\ \ | |/ | | | | Change-Id: I5b9e062ecc418e499805e3e62964993a87016bdc
| * Fix previous fix for trailing 0 handlingKarim Pinter2017-02-081-7/+7
| | | | | | | | | | | | | | | | | | | | | | The previous fix, 82c5cc6532ac5d0323ecda94b6767e1fdaef2639, wasn't handling properly double conversion to string, this change is rather going through the characters instead. It also adds new test cases. Task-number: QTBUG-58245 Change-Id: I1563d541b0c9fef1254b5fb728308fb2517ed3aa Reviewed-by: Andy Shaw <andy.shaw@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* | Fix script to regenerate files using qtokenautomatonFriedemann Kleint2017-02-171-3/+3
| | | | | | | | | | | | | | Amends 973105d9fb3372910255825e7395fb1156e24c02. Change-Id: Ife3c926e9259e48b1e4c433311f78b80cc69220a Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* | Merge remote-tracking branch 'origin/5.8' into devv5.9.0-alpha1Liang Qi2017-01-2512-27/+92
|\ \ | |/ | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I1e57330ccf8e964fa41637849b4958dea64360fd
| * fractionDigits doesn't count the trailing 0s anymoreKarim Pinter2017-01-201-6/+7
| | | | | | | | | | | | | | | | | | fractionDigits were counting also the trailing 0s, which is against the standard https://www.w3.org/TR/xmlschema-2/#rf-fractionDigits Task-number: QTBUG-58245 Change-Id: I9175d4870de82e25c4df2317394ccfba8048fb48 Reviewed-by: Andy Shaw <andy.shaw@qt.io>
| * Merge remote-tracking branch 'origin/5.7' into 5.8v5.8.0-rc1Liang Qi2016-11-266-15/+15
| |\ | | | | | | | | | Change-Id: Ib366f5432976104caca78f57e02990e6b91c61e2
| | * Merge remote-tracking branch 'origin/5.6' into 5.75.7Liang Qi2016-11-246-15/+15
| | |\ | | | | | | | | | | | | Change-Id: I71b83950080f0bd18f2bafbb675816a50fa06a28
| | | * Fix memory leakAlbert Astals Cid2016-11-026-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can't have the ExpressionVariableReference/TemplateParameterReference holding a Ptr of VariableDeclaration because the VariableDeclaration holds a Ptr of them (in the references member) so they were referencing eachother and the reference count never reaches 0. Task-number: QTBUG-32745 Change-Id: I4cda6d9eccad123984f4ad35db3e56da01d4d5b1 Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
| * | | configure.json: Remove depends-listv5.8.0-beta1Friedemann Kleint2016-10-251-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Amends 5a160606aefa5b07909faba55af53d1c95368486. Change-Id: I4dd6523f4015922e4c5c76c5bf907e3f6c5b3b43 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
| * | | Add feature xml-schemaFriedemann Kleint2016-10-253-4/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix build warnings about missing qfeatures. Change-Id: I577b78fcf2037877f15d87006e279e61e4d86945 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
| * | | Add script to regenerate files using qtokenautomatonFriedemann Kleint2016-09-222-2/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add script and update README of qtokenautomaton accordingly. Change-Id: If18167a413280c4b65d8fff49eb0aa3cf05eb23e Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
* | | | qatomiccomparatorlocators.cpp: Fix signedness comparison warningsFriedemann Kleint2017-01-162-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix numerous warnings: qtxmlpatterns/src/xmlpatterns/type/qatomiccomparatorlocators.cpp:61:57: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] if(((validOps) & AtomicComparator::Operator(op)) == op) Task-number: QTBUG-58173 Change-Id: Ic256d51e9a3306b960afecf8eb7b48e451c89144 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>