summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Fix deprecation warning about Qt algorithms in tool xmlpatternsv5.13.0-alpha1Friedemann Kleint2019-02-053-19/+10
| | | | | | | | | | | | | | | | Use std::sort and implement operator< for class QApplicationArgument, fixing: qapplicationargumentparser.cpp:301:7: warning: ‘template<class T> class qLess’ is deprecated [-Wdeprecated-declarations] from qapplicationargumentparser.cpp:29: qapplicationargumentparser.cpp: In member function ‘void QApplicationArgumentParserPrivate::displayHelp() const’: qapplicationargumentparser.cpp:337:15: warning: ‘void qSort(Container&) [with Container = QList<QApplicationArgument>]’ is deprecated: Use std::sort [-Wdeprecated-declarations] from qapplicationargumentparser.cpp:29: qapplicationargumentparser.cpp:356:19: warning: ‘void qSort(Container&) [with Container = QList<QApplicationArgument>]’ is deprecated: Use std::sort [-Wdeprecated-declarations] from qapplicationargumentparser.cpp:29: Change-Id: I63d8dd5a83f3478b2c70b5b288d9ddb3e5ad5a76 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Win: Show proper descriptions for toolsKai Koehne2017-09-212-0/+2
| | | | | | Task-number: QTBUG-61970 Change-Id: Ia328bb40e8a5f607d5e1ba33f4386ad250fbbd7d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
* Fix QRegExp includesSamuel Gaist2017-03-011-0/+1
| | | | | | | | This patch adds missing QRegExp includes in preparation for the qtbase include cleanup. Change-Id: Iad019a697d785e351f639b685a5d8c6a86e1f161 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
* Add feature xml-schemaFriedemann Kleint2016-10-251-2/+2
| | | | | | | Fix build warnings about missing qfeatures. Change-Id: I577b78fcf2037877f15d87006e279e61e4d86945 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Merge remote-tracking branch 'origin/5.6' into 5.7Liang Qi2016-08-051-1/+1
|\ | | | | | | Change-Id: Id00802d52ac29efcabb422f0e48f20dcf9044d38
| * xmlpatterns: don't use fromLocalFile() on relative pathsv5.6.25.6.2David Faure2016-07-311-1/+1
| | | | | | | | | | | | | | | | Creating a URL like "file:fileToOpen=globals.gccxml" makes no sense, and breaks QUrl::resolved since qtbase commit 8a33077. Change-Id: Icab4fac92db2e7c3d922f548462c3345b8addd83 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* | Updated license headersAntti Kokko2016-01-218-136/+96
|/ | | | | | | | | | | From Qt 5.7 -> tools & applications are lisenced under GPL v3 with some exceptions, see http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/ Updated license headers to use new GPL-EXCEPT header instead of LGPL21 one (in those files which will be under GPL 3 with exceptions) Change-Id: I1ddbce303f8c450d5bf1b553ab53843a83046bb5 Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
* Fixing WEC2013 build of QtXmlPatternsBjoern Breitmeyer2015-08-031-1/+1
| | | | | Change-Id: I54541c588dfa76180ffdf99ac0ed2f6cdc8cfdc4 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
* Update copyright headersJani Heikkinen2015-02-178-56/+56
| | | | | | | | | Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Change-Id: I1dc468d4e08c2dfdc4643410220f18bc8ec450b9 Reviewed-by: Antti Kokko <antti.kokko@theqtcompany.com>
* Update license headers and add new license filesAntti Kokko2014-08-248-152/+88
| | | | | | | | | - Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 & LICENSE.GPLv2 - Removed LICENSE.GPL Change-Id: If9208b9c90bcea35bbfe6b9c10db7803e97767e0 Reviewed-by: Jani Heikkinen <jani.heikkinen@digia.com>
* whitespace fixesOswald Buddenhagen2014-01-222-6/+6
| | | | | | | | remove trailing spaces & expand tabs Change-Id: Ic958087d8c50f3c51d767f5191e54c4079cc74a2 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Minor optimization, use QStringRef over QStringJędrzej Nowacki2014-01-151-3/+3
| | | | | | | That way we avoid some unnecessary memory allocations Change-Id: I597443393671d57b1a47b37eb15c3eca54ee4168 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* make it possible to disable XML schema usagePeter Hartmann2013-11-151-1/+8
| | | | | | | | | | | | | | | | | | | | | | | Removing XML schema functionality reduces the size of libQt5XmlPatterns.so considerably: Linux desktop release mode: with XML schema: 4.3 MB without XML schema: 3.2 MB BlackBerry10 release mode: with XML schema: 2.6 MB without XML schema: 1.9 MB XML schema might not be used, especially on a mobile / embedded device, as opposed to the rest of xmlpatterns (e.g. XPath through QML XmlListModel). Task-number: QTBUG-28068 Change-Id: I5024a822179e7241e592f079efe3adef8f661c70 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Fix compilation with mingw.org headersKai Koehne2013-10-231-0/+3
| | | | | | | | | -std=c++11 sets __STRICT_ANSI__, and the stdio.h from mingw.org doesn't declare e.g. _fileno then. Change-Id: Iaa29e4f2b04bcae73b8706aff1be83913bcf6a52 Reviewed-by: Jonathan Liu <net147@gmail.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Android: Skip tools built for target architecturev5.2.0-beta1Eskil Abrahamsen Blomfeldt2013-10-111-1/+1
| | | | | | | | | | Android apps require packaging to be usable, so they need to be built individually, not as part of the subdirs build. The build would fail during make install due to this. Task-number: QTBUG-34023 Change-Id: If7627dcdc15334f82c454c6a2a19501fcc6bc970 Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
* Merge remote-tracking branch 'origin/stable' into devFrederik Gladhorn2013-02-182-29/+4
|\ | | | | | | Change-Id: Iafbd5b538ebe0254d5fcea0fad0e58f8b66c1084
| * use qt_tool.prf for xmlpatterns toolsOswald Buddenhagen2013-02-062-29/+4
| | | | | | | | | | Change-Id: I254cc020c81bcf7d2803ef686b9f450be4d09a39 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* | Merge remote-tracking branch 'origin/stable' into devFrederik Gladhorn2013-02-058-8/+8
|\ \ | |/ | | | | Change-Id: I0e2f2023d576e479246ed86c6a95eba3c8b9d93b
| * Update copyright year in Digia's license headersSergio Ahumada2013-01-108-8/+8
| | | | | | | | | | | | Change-Id: I5b7d4c1de139bebfff1b67d216c579835431e5d6 Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* | Remove QT_{BEGIN,END}_HEADER macro usageSergio Ahumada2013-01-283-7/+2
|/ | | | | | | | | The macro was made empty in qtbase/ba3dc5f3b56d1fab6fe37fe7ae08096d7dc68bcb and is no longer necessary or used. Discussed-on: http://lists.qt-project.org/pipermail/development/2013-January/009284.html Change-Id: I74e76ed86361fbbf8957bf7a0540f2bd3350eb0a Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-248-192/+192
| | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: I34508f293d75832657f79479e2a8c184e873e154 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* fix abuse of QUrl c'torOswald Buddenhagen2012-06-281-8/+2
| | | | | | | | the code didn't work particularly well with absolute windows paths ... Change-Id: Idd30cf20c24d9a3dc1aa1a173a0018f364ef1233 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Simplify a type information access.Jędrzej Nowacki2012-05-221-6/+3
| | | | | Change-Id: Ife446a14400f5fcb0704f9571015e26f2f6b101a Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
* Change remaining uses of {to,from}Ascii to {to,from}Latin1 [other]Thiago Macieira2012-05-031-1/+1
| | | | | | | | | | This operation should be a no-op anyway, since at this point in time, the fromAscii and toAscii functions simply call their fromLatin1 and toLatin1 counterparts. Task-number: QTBUG-21872 Change-Id: Ib84e307f486cb3049f0b61a667caa40799394f86 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* Don't use the QRegExp methods that modify the objectThiago Macieira2012-04-241-1/+1
| | | | | | | | | | | | | | QRegExp matching methods modify the object, which we don't want to. In particular, when we receive a QRegExp from the user or we store in a context that might require thread-safety, make sure we make a copy before using it. QRegularExpression has no such shortcoming. Task-number: QTBUG-25064 Change-Id: I2c4d5f4b60d6b3569568103cd7107cd2adaa3ae8 Reviewed-by: Giuseppe D'Angelo <dangelog@gmail.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* Untagged the following classes as they are not part of the QtXMLPatterns moduleArnab Datta2012-03-292-2/+0
| | | | | Change-Id: I7398c2f6ef5244e568a997bca5c141292df20aaa Reviewed-by: Geir Vattekar <geir.vattekar@nokia.com>
* Tagged the following files as part of the QtXmlPatterns moduleArnab Datta2012-03-162-0/+2
| | | | | Change-Id: Ib63e31c1105779f01764f32936007216c79655e6 Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
* Remove the usage of deprecated qdoc macros.Casper van Donderen2012-03-052-21/+21
| | | | | | | | | | QDoc now has support for Doxygen style commands for italics, bold and list items. This change applies that change in QDoc to the actual documentation. Task-number: QTBUG-24578 Change-Id: I453169a7222ee741f8d9a10b6c063be5d15f1b76 Reviewed-by: Honglei Zhang <honglei.zhang@nokia.com>
* Fix QUrl handling after QUrl changes.David Faure2012-02-022-2/+2
| | | | | | | | | toString() is fine for most usages but here the result is made part of XML bits, so toEncoded() is necessary so that '<' and '>' are percent-encoded. Change-Id: I41832cefe3ae12cab13531f17095d0804a2e86d9 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Purge the Symbian support from this moduleHolger Hans Peter Freyther2012-01-312-2/+0
| | | | | | | | | | This continues were 70e6c71f7e8e4c12672075e7477f4f1d99f320e6 stopped and removes Symbian support from the .pro files and the examples. Change-Id: I760645d6e19cccb50d505340c3a08bacc7190105 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
* Remove "All rights reserved" line from license headers.Jason McDonald2012-01-318-8/+8
| | | | | | | | | | | As in the past, to avoid rewriting various autotests that contain line-number information, an extra blank line has been inserted at the end of the license text to ensure that this commit does not change the total number of lines in the license header. Change-Id: Ie14feff161cca83c53750e22a6204d34c3cba52c Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update obsolete contact address.Jason McDonald2012-01-238-8/+8
| | | | | | | | Replace Nokia contact email address with Qt Project website. Change-Id: I4a78fc4951be48d46135f4a5e0072bd1a8061ea9 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update copyright year in license headers.Jason McDonald2012-01-098-8/+8
| | | | | | Change-Id: Iba74aff1aba680f7b56314f3acae3478be9d3e56 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Respect $$QT.xmlpatterns.binsRohan McGovern2011-08-102-2/+2
| | | | | | | | | | A module's tools should build directly into $$QT.<module>.bins, just like its libraries and plugins. Change-Id: I5a630ed3e64dd6aee2a8d3bc9f2ff3246c203bc6 Reviewed-on: http://codereview.qt.nokia.com/2800 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
* Update licenseheader text in source files for qtxmlpatterns Qt moduleJyri Tahtela2011-05-248-136/+136
| | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* Use private headersMarius Storm-Olsen2011-05-021-1/+1
|
* Initial import from the monolithic Qt.Qt by Nokia2011-04-2711-0/+2290
This is the beginning of revision history for this module. If you want to look at revision history older than this, please refer to the Qt Git wiki for how to use Git history grafting. At the time of writing, this wiki is located here: http://qt.gitorious.org/qt/pages/GitIntroductionWithQt If you have already performed the grafting and you don't see any history beyond this commit, try running "git log" with the "--follow" argument. Branched from the monolithic repo, Qt master branch, at commit 896db169ea224deb96c59ce8af800d019de63f12