summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Disable c++1z as it breaks compilation with libc++5Tobias C. Berner2017-07-031-0/+3
| | | | | | | | Change-Id: I7efa59433cd06ee8ff43d231e6ff1d4712fe65aa Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Doc: Fix copyright line for JavaScriptCorev5.9.15.9.1Kai Koehne2017-06-081-2/+1
| | | | | | | | The 1984 and later copyrights are all for the FSF from the Bison output files. Change-Id: I857995eda4ed92ef6196ae47e308d385a67edd79 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* MSVC: Disable warning C4577Friedemann Kleint2017-03-221-1/+1
| | | | | | | | | | | | | Otherwise, the build fails with: warning C4577: 'noexcept' used with no exception handling mode specified; termination on exception is not guaranteed. Specify /EHsc since Qt Script does not specify an exception mode. Task-number: QTBUG-59645 Change-Id: I5cb38286cab2f9b449f6f8d7ab3fe9ee898587e4 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Liang Qi <liang.qi@qt.io>
* Remove uses of QString::nullMarc Mutz2017-03-101-16/+16
| | | | | | | It's going to be deprecated. Change-Id: I8c126427c8d888a7d0c8bf12a5a5aade31cb6afd Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
* Merge remote-tracking branch 'origin/5.8.0' into 5.8Liang Qi2017-01-261-1/+1
|\ | | | | | | Change-Id: Ie2fd8a4163d05cf2976e129b4fb35a2d1d023f0a
| * Doc: Fix name of license filev5.8.0-rc1v5.8.05.8.0Kai Koehne2016-12-071-1/+1
| | | | | | | | | | Change-Id: I0acd5d4b3a1819c9ff23008432410d2c6d83b1c5 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* | No need to define c99 math functions in c++11 modeJulien Gueytat2017-01-221-1/+1
| | | | | | | | | | Change-Id: I1fda733135714a6b4733b04e6ae40354deb6c818 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Port to new feature systemFriedemann Kleint2016-12-022-4/+4
|/ | | | | | | | | Build tools depending on feature 'textedit'. Fix warnings qtscript/src/scripttools/scripttools.pro:1: Cannot find feature qfeatures Change-Id: I96b403668164c4821cdebf1b13043e9f92c129ea Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Document 3rd party libraryv5.8.0-beta1Kai Koehne2016-10-242-2/+60
| | | | | | | | | Also use \badcode .. \encode instead of \legalese, because the latter does not stand out. Change-Id: I2dd2d1bf68706cce98e9864fb6980afb96b2ec03 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
* Remove ce-compat filesKai Koehne2016-10-203-715/+0
| | | | | | | | We do not support Windows CE anymore, and this is one less 3rd party license we do not need to document. Change-Id: I006d6c9bebd74421965c41e48a92bd9df66f6bd0 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Eradicate Q_FOREACH loops and mark the module as Q_FOREACH-freeMarc Mutz2016-09-231-1/+1
| | | | | | Change-Id: I13a4ce5c268da2b97cbae6612d240398b17186ef Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Merge remote-tracking branch 'origin/5.6' into 5.7Edward Welbourne2016-07-265-31/+5
|\ | | | | | | | | | | | | | | | | Conflicts: src/3rdparty/javascriptcore/JavaScriptCore/wtf/MathExtras.h One side narrowed a QNX define to Dinkum; the other wanted the same kludges applied for Intel. Combine their changes to the condition. Change-Id: Id44102e53a0f96b7318437fb47fa76d8bc1119f3
| * Fix usage of deprecated QStyleOptionViewItemV3v5.6.25.6.2Joerg Bornemann2016-07-051-9/+1
| | | | | | | | | | Change-Id: Ie8223958c2e281bd00bacf80c22cc3f7282b42db Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
| * Remove superfluous NDEBUG defineJoerg Bornemann2016-07-041-2/+0
| | | | | | | | | | | | | | This is already added in WebKit.pri. Change-Id: I6bb2bd9ed20c5cc661847404bc1862314f97a799 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
| * Remove superfluous include pathsJoerg Bornemann2016-07-041-16/+0
| | | | | | | | | | | | | | Remove include paths that are already added by JavaScriptCore.pri. Change-Id: I862a806007e8bc6202785a86b014735402830195 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
| * Update the detection of MSVC versions to be forward-compatibleThiago Macieira2016-07-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Qt 5.8 may deprecate the win32-msvc20xx mkspecs, so use the MSVC_VER variable to detect which version of MSVC it is. This commit removes the detection for win32-icc, as it really depended on what version of MSVC headers it was targeting. With Qt prior to 5.8, it was not possible to detect it anyway, so the rule was broken anyway (ICC prior to 16 only worked with MSVC <= 2013, but ICC 17 will work with 2015). Change-Id: Ib57b52598e2f452985e9fffd1459e682978341f5 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| * Switch to debug_thread_t typeJames McDonnell2016-06-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | Switch from "struct _debug_thread_info" to debug_thread_t. For QNX 7.0, debug_thread_t becomes the architecture independent type. The original type becomes the 32-bit specific version. The type can be changed now because the two types are interchangeable on QNX 6.6.0. Change-Id: I515b2aca73370200cd0401af0f26fc1653a07421 Reviewed-by: Dan Cape <dcape@qnx.com> Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
| * Make some QNX only code Dinkum specificJames McDonnell2016-06-141-1/+1
| | | | | | | | | | | | | | The undefines won't be needed for QNX 7.0 with GNU libc++. Change-Id: I01bc306c5ebb0cb7f508bb7ee2994589f2936201 Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
| * Compile Fix for OpenBSD in C++11 modeRalf Nolden2016-06-021-1/+1
| | | | | | | | | | | | | | | | | | | | Add a __cplusplus condition to an already existing OpenBSD defined part to activate the code only on older gcc compilers. See commit 32e0c5f96dac3f8afe187259929dd87012e1a464 in qtdeclarative. Change-Id: Ia7846f9058ee94bad160651347c128015e21698e Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Fix build with the Intel compilerThiago Macieira2016-07-251-1/+1
|/ | | | | | | | ICC's supplied math.h has #defines for isnan and signbit. So work around that. Change-Id: I149e0540c00745fe8119fffd1463d7473c4c1f8a Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
* Purge sRGB chunks from PNGs.Edward Welbourne2016-03-315-0/+0
| | | | | | | | | Subjects each *.png file that matched grep -law "sRGB" to: pngcrush -ow -brute -rem allb -reduce (A couple of them needed -force, but did get smaller.) Change-Id: I216fe2a8163fab11f8b8e8ca0fa92c00a94d68bf Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
* Purge sRGB chunks from PNGs in documentation.Edward Welbourne2016-03-221-0/+0
| | | | | | | | Subjects each *.png file that matched grep -law "sRGB" to: pngcrush -ow -brute -rem allb -reduce -force Change-Id: I3316ed3782abeca59df16f1aa517c134ecb5fa97 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
* Make more ctors explicitMarc Mutz2016-03-062-2/+2
| | | | | | | | | | | Added explicit where it was missing. This is not a source- incompatible change, because code that breaks by this is a bug. Let's not have this sitting around in an LTS. One is even a protected ctor. Change-Id: I114b26332ba0e2752f5d02ebcd6090fc2b562b40 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Make public headers compile with -Wzero-as-null-pointer-constantMarc Mutz2016-03-064-8/+8
| | | | | | | | | | | ... or equivalent. QtBase 5.6 headers already compile that way, so let the other modules follow suit. Change-Id: I7e007ee907c479320a885af329745563c080467d Task-number: QTBUG-45291 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* consistently put {qt,qml}_{module,plugin} at the end of project filesOswald Buddenhagen2016-02-253-8/+8
| | | | | | | | this fixes static builds by ensuring that all dependencies are exported. Task-number: QTBUG-51071 Change-Id: I0cb70c7954b4f23778279d9c6bd8c558b6825d98 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Use build-in time functions of WEC2013v5.6.0-rc1v5.6.05.6.0Andreas Holzammer2016-02-032-0/+7
| | | | | | | | | | Time functions are supported with WEC2013 and do not need to be implemented. Task-number: QTBUG-50851 Change-Id: I4344b85808bd34467f239bf299b82e969544b7cb Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com> Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Doc: corrected invalid qdoc \relates statementNico Vertriest2016-01-251-2/+0
| | | | | | Change-Id: I6a73ed6b4eeb241be574f0ddc041f554e120003b Task-number: QTBUG-43810 Reviewed-by: Martin Smith <martin.smith@theqtcompany.com>
* Fix build with clang/c++1z due to register keywordSergio Martins2016-01-241-1/+1
| | | | | | | dtoa.cpp:794:5: error: ISO C++1z does not allow 'register' storage class specifier [-Wregister] Change-Id: I800ba0eb11fb55db8600a0eb937689e082c41c31 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Merge remote-tracking branch 'origin/5.5' into 5.6v5.6.0-beta1Liang Qi2015-11-171-1/+1
|\ | | | | | | Change-Id: I9eb3f1cd57dd247570b7922ed387d7b72d053558
| * Doc: corrected link to external source5.5Nico Vertriest2015-10-301-1/+1
| | | | | | | | | | | | | | | | Link to manual Javascript available online. Task-number: QTBUG-48258 Change-Id: I5bf2e8af2f1f5d795a47f82ffe553c174726854b Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* | doc: Remove uses of \mainclassMartin Smith2015-06-054-5/+0
| | | | | | | | | | | | | | | | This qdoc command is deprecated. Change-Id: I50ebdbfb6d0c445ae4ead0556b9b1b1b0259f860 Task-number: QTBUG-46476 Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* | Merge remote-tracking branch 'origin/5.5' into devLiang Qi2015-06-033-2/+4
|\ \ | |/ | | | | Change-Id: Ic481818c49a01be005daa3860764e24e73d06627
| * Fix build with MSVC2015.v5.5.0-rc1v5.5.05.5.0Friedemann Kleint2015-05-263-2/+4
| | | | | | | | | | | | | | | | | | - Remove os-win32 from the include path since the system headers are now sufficient. - Introduce some #if depending on version for traits and snprintf(). Change-Id: I290b2260e3c1595a7940c76ec2d9a4372709b156 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.5' into devLiang Qi2015-03-171-0/+4
|\ \ | |/ | | | | Change-Id: Icbbf8cc78ef730c6ea6fbc02136a2d0a8f9690c5
| * Merge remote-tracking branch 'origin/5.4' into 5.5Frederik Gladhorn2015-03-031-0/+4
| |\ | | | | | | | | | Change-Id: I09519da51f8c3cbc927f64f9b1bd7de14b8a1854
| | * Detect PowerPC little-endian architecturev5.4.25.4.2Dmitry Shachnev2015-03-011-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Cherry-picked from commit 405022cf7bba9bb702b9385dbcb983c789c838b1 in qtwebkit. Change-Id: I3be3719d26e47b182612f254f7117125a8be7f4a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | | Use QByteArray::toDouble() instead of qstrtod.Erik Verbruggen2015-02-271-3/+1
|/ / | | | | | | | | | | | | No need to use a secretly exported symbol. Change-Id: I3336d57def315e1de1a25dfecbadcaf2459fc039 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* | Fix BSD license headerSergio Ahumada2015-02-191-2/+2
| | | | | | | | | | Change-Id: Id8f996f28618845a8b253f5162bec7df98921ef0 Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
* | Fixed license headersJani Heikkinen2015-02-1719-57/+57
| | | | | | | | | | Change-Id: I99e62a707fe649403214436a4b9aad8fd82015ee Reviewed-by: Iikka Eklund <iikka.eklund@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.4' into devFrederik Gladhorn2015-02-138-15/+79
|\ \ | |/ | | | | Change-Id: Ic32f5bd17782285305aaa01694f1a78851b882eb
| * Doc: Moved the example documentation to correct locationsNico Vertriest2015-01-198-15/+79
| | | | | | | | | | | | | | | | | | | | And fix the \snippet commands to use the correct paths. Also edited dependencies qdocconf files Task-number: QTBUG-43810 Change-Id: I3c2fb6d2a48900a9b5651225381707c9ec25065a Reviewed-by: Martin Smith <martin.smith@digia.com> Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* | Update copyright headersJani Heikkinen2015-02-12247-1481/+1465
| | | | | | | | | | | | | | | | | | 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: Iffc10aac2cdaf7c7ceba051ec447f15758c3d8e0 Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
* | Merge remote-tracking branch 'origin/5.4' into devFrederik Gladhorn2015-01-191-1/+1
|\ \ | |/ | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I7b5322df40680614250e1e6327879ff683c03df5
| * Disable pthread_np.h on BSD w/ GNU libcv5.4.15.4.1Pino Toscano2015-01-121-1/+1
| | | | | | | | | | | | | | | | pthread_np.h exists on BSD userlands only, so do not enable it on BSD kernels with GNU libc/userland (e.g. GNU/kFreeBSD). Change-Id: Ic9bb2221531322ce425543c85155cfafc5294c41 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
* | Replace Q_STATIC_GLOBAL_OPERATOR with its expansionThiago Macieira2015-01-071-3/+2
|/ | | | | | | | This existed to work around compiler bugs with RVCT. Let's assume anyone still using RVCT is using a newer version. Change-Id: Ic1c1a8b13e0e1d4393c701a6c308df37e80da555 Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
* Merge remote-tracking branch 'origin/5.4.0' into 5.4Frederik Gladhorn2014-12-171-1/+3
|\ | | | | | | Change-Id: Ia7239e9362ee936303aaa084cba0fd67c5576c48
| * Fix aliasing issues when compiler with non g++ makespecsv5.4.05.4.0Simon Hausmann2014-11-291-1/+3
| | | | | | | | | | | | | | | | | | As it turns out, need -fno-strict-aliasing. It should not only be applied when the mkspec happens to have g++ in its name, we also need it for qnx (qcc) and any other compiler that pretends to be gcc (sets QMAKE_COMPILER to gcc). Change-Id: Id4d152e4fcaa06ecd8acb47a3d8a41997ba82b75 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | Fix clang C++11 buildNobuaki Sukegawa2014-12-011-1/+1
|/ | | | | | | | | | clang with "-std=c++11" does not allow implicit conversion from false to null pointer. Although clang with C++03 and gcc with C++03/11 treat it as warning, not error, the conversion was in fact invalid. Change-Id: I92629f9e313d0a00c4d39ce2e539ed140707ad5c Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
* Disable jitted Regexp for Mingw 64 bitv5.4.0-rc1Kai Koehne2014-11-111-0/+3
| | | | | | | | | | | Work around bugs in either the jitted code, or the gcc compiler for Windows that lead to incorrect JavaScript evaluations, most notably in RegExp. This greatly reduces also the number of autotest failures. Task-number: QTBUG-40814 Change-Id: I3045738c8e97b7fc4c12238f1163dd2b844ef877 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com> Reviewed-by: Ray Donnelly <mingw.android@gmail.com>
* Fix intel cc buildAllan Sandfeld Jensen2014-10-281-5/+3
| | | | | | | | | | | The Intel compiler gets confused by the choice between std::signbit() and signbit() so we need to remove the using declaration and make the std namespace explicit to help it a little. Change-Id: I0242de9497723cbb2f497f683b41b41fabef0b4c Task-number: QTBUG-42235 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>