summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* configure and mkspecs: Don't try to find xcrun with xcrunwip/naclGabriel de Dietrich2016-10-312-2/+2
| | | | | | | | Since Xcode 8 (beta 2) that tool is no longer available through xcrun. We resort to xcodebuild instead. Change-Id: If9d7b535c1cbac2caae0112b2003283aeff34fb9 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
* Skip xmlpatterns again.Morten Johan Sørvig2016-10-311-1/+1
| | | | | | | (Does not build) Change-Id: Ia1a600290465b6c987f1ad8e377591084aec9896 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
* Remove extra semicolon.Morten Johan Sørvig2016-05-031-1/+1
| | | | | | | Compile with -Wpedantic. Change-Id: I368b984b3bc5542ad9ae940541d3d390a06b4fe4 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
* Add mkspecs for the PNaCl-native compilersMorten Johan Sørvig2016-05-028-13/+255
| | | | | | | | | | | | | | | | | | | | These are the native code producing compilers in the PNaCl toolchain. Create mkspec naming scheme extending pnacl-newlib-clang: pnacl-newlib-clang-x86_32 pnacl-newlib-clang-x86_64 pnacl-newlib-clang-arm Update nacl-configure to accept a pnacl variant ./nacl-configure mac_pnacl release x86_64 README.md: Bump required and tested SDK version to pepper_47. Change build instructions to mention nacl-x86_64 instead of x86_newlib. Change-Id: I9854041778b71660b0d9d68396f772dd7b9e4c4b Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
* Work around eager emscripten optimizer.Morten Johan Sørvig2016-05-021-0/+1
| | | | | | | | | Add INCLUDE_FULL_LIBRARY linker flag to make sure requestAnimationFrame etc gets included in the.js ‘binary’. Change-Id: Iaef51dce283147c9b164c76b726a601e404ac98c Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
* Update support for EmscriptenSvenn-Arne Dragly2016-05-0238-110/+1000
| | | | | | Change-Id: I5d696f0dbc188acb4faad83240f7b1aa7177dc48 Reviewed-by: Svenn-Arne Dragly <s@dragly.com> Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
* Pepper: Fix crash in didChangeFocusDaiwei Li2016-02-251-4/+5
| | | | | | | | It's possible for didChangeFocus to get called before a pepper top level window has been created. Change-Id: Iee5e27a812e57f356f8b8e244cde9701025e5f33 Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
* nacl-configure: Don't skip xmlpatternsDaiwei Li2016-02-231-5/+5
| | | | | | | qtxmlpatterns compiles/works on nacl Change-Id: I4448ab9a03d0a52c591d0491ac8ca0a49e8a068f Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
* QPepperEventDispatcher: Fix a hangDaiwei Li2016-02-231-2/+3
| | | | | | | | | There are some events that don't get processed by a call to QEventDispatcherQPA::processEvents. If no events were processed, we should stop trying to call processEvents. Change-Id: I6bef9e362686ae04740c001e6153e94907e433fb Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
* Make sure nacl-configure is run with a compatible shellDaiwei Li2016-02-231-0/+1
| | | | | Change-Id: I23a4e97a8b1e05e6c5cb1afcfca3476b7208172c Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
* nacldeployqt: whitespace fixupsMorten Johan Sørvig2016-02-221-4/+4
| | | | | Change-Id: I7d4237f640b9d7f6165c955f7a0fafb97061c94a Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
* nacldeployqt: add “compress” optionMorten Johan Sørvig2016-02-221-5/+32
| | | | | | | Runs pnacl-compress. Change-Id: Ia5a1ccefcc879b7df27b8a8cb4fa7ccec2bd544f Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
* qtloader.js: Document how relative paths workMorten Johan Sørvig2016-02-221-1/+2
| | | | | Change-Id: I12025c2ef03f588bb6d23453ea3009c21cb08472 Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
* qtlaoder.js: Support adding Init() arguments.Morten Johan Sørvig2016-02-121-2/+14
| | | | | | | | | | | | This is useful for sending arguments to the application at startup. QtLoader users can now add key/value pairs to config.environment. QtLoader will forward these as attributes on the embed element. Finally the key/value pairs will end up as arguments to pp::Instance::Init() Change-Id: Ic7ca434e9c097cd624b25692c250daa46a257c2f Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
* Display error message on non-ChromeMorten Johan Sørvig2016-02-121-10/+15
| | | | | Change-Id: Ie2c2626917d0d15b2d339dbcf140807b27921319 Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
* Fix qtloader.js undefined variable errorMorten Johan Sørvig2016-02-111-1/+1
| | | | | Change-Id: I3fb0f6c334b7b3ce95a6de9879ce35ea0167f69d Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
* Remove PNaCl QUnicodeTables workaround.Morten Johan Sørvig2016-02-071-32/+0
| | | | | | | | | | The bug is no longer present on current versions of the toolchain (tested: pepper_42). This was also causing QChar::toLower() and QML compilation errors. Change-Id: I9fda442d9ec954ceaa5bf63312bcc1d656e2e543 Task-number: QTBUG-50302 Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
* Update Readme.me for dev update.Morten Johan Sørvig2016-01-281-1/+1
| | | We are synching dev to 5.6.
* Compile on emscriptenMorten Johan Sørvig2016-01-281-5/+1
|
* Update README for 5.6 branchMorten Johan Sørvig2016-01-271-4/+9
|
* Compile after merge.Morten Johan Sørvig2016-01-272-2/+3
|
* Merge remote-tracking branch 'gerrit/5.6' into nacl-5.6Morten Johan Sørvig2016-01-27266-3719/+5003
|\
| * Use QFile::exists(f) instead of QFile(f).exists().Anton Kudryavtsev2016-01-272-4/+4
| | | | | | | | | | | | | | It's faster. Change-Id: Ie57619b4e0c53975aa955c83c833c34e1446e4c8 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
| * QFont*: Optimize by caching the QFontCache::instance() resultKonstantin Ritt2016-01-262-11/+17
| | | | | | | | | | | | | | | | | | | | The QFontCache instance is stored in QThreadStorage and thus calling QFontCache::instance() isn't really cheap; avoid calling it multiple times where possible. Change-Id: I1b7a83089698a06c49dac08b2a3a8e9c3c75a500 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
| * QWindowsVistaStyle: Reorder the if statement so the variable is checked firstAndy Shaw2016-01-261-1/+1
| | | | | | | | | | | | | | | | Since the likelyhood that decoration_size is greater than 0 then we can save time with explicitly ensuring that it does not call the functions. Change-Id: Iaf991a6c77bbc4908c459307ca7e645cf3b3ca20 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
| * on failure to load platform plugin, show the path(s) checkedShawn Rutledge2016-01-261-1/+1
| | | | | | | | | | | | | | The error message was not informative enough to troubleshoot. Change-Id: Ib21fce238c80b31d21939d139fc173b48eb5ceb8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
| * add QDebug operator for QActionShawn Rutledge2016-01-262-1/+30
| | | | | | | | | | Change-Id: Ie2554323a619ef1c3f9579862eff8fe704079ba5 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
| * Deduplicate and clarify the code a bitKonstantin Ritt2016-01-261-2/+5
| | | | | | | | | | | | | | | | | | Makes it clear that the engine for font with no Latin WS support won't be cached as "shared" engine and thus shouldn't be normally expected in the cache, so don't even try to find it there. Change-Id: I9e6275b4919607f4057a193b446825c98932bd23 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
| * Avoid needless string comparisonKonstantin Ritt2016-01-261-2/+3
| | | | | | | | | | | | | | by inlining and reordering the condition. Change-Id: I68a91e75071975a4cc26333094db3433afbaeb72 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
| * QStringBuilder: fix appending QLatin1String to QByteArrayMarc Mutz2016-01-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old code did the equivalent of strcpy(), thus stopping at the first NUL byte, ignoring the QLatin1String's size(). That is not acceptable, for two reasons: 1. Appending QLatin1String to a QString uses the size(), too. 2. The QConcatenable claims an ExactSize = true, so it cannot go and write less data than it's own size() said it would. Even worse, it will happily write _more_ data, too, if the QLatin1String is not properly zero-terminated. This change has low risk, because the equivalent change to the QString branch has been applied between 5.2 and 5.3 (in fd0f1bc3), with no complaints from the user base. It is also in a branch that is very unlikely to be taken: Since QConcatenable<QLatin1String> is setting ConvertTo to QString, any QStringBuilder expression containing it will only implicitly convert to QString, not QByteArray. In fact, I don't even know how to make it invoke the changed code in normal operation... Change-Id: I486a76352af7f318ba05da845d3afee7d826c92a Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
| * Cocoa: Support high-dpi DnD pixmaps.Morten Johan Sørvig2016-01-261-1/+3
| | | | | | | | | | | | | | | | | | | | Set the NSImage size (which is in points/device independent pixels) to inform Cocoa DnD about the intended image visual size. Change-Id: I6fadd77f4e0173e8e9773725fab3b35f70a055ff Task-id: QTBUG-44179 Reviewed-by: Andy Shaw <andy.shaw@theqtcompany.com>
| * Add DST-change test for a date derived via .toLocalTime().Edward Welbourne2016-01-261-0/+24
| | | | | | | | | | | | | | | | | | Uses a time derived via .toUTC() to ensure the .toLocalTime() comes out at the time we expect. Task-number: QTBUG-49008 Change-Id: I2005127929c7eab1b7a3cbaba8d21df8c9585d17 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
| * Test .addDays() and .addMonths() are sensible around DST changes.Edward Welbourne2016-01-261-2/+40
| | | | | | | | | | | | Task-number: QTBUG-49008 Change-Id: Ie3bf9dfeb67c96b18320e18c14b9680f03cb98e9 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
| * Diaglib: Improve output of widgets.Friedemann Kleint2016-01-264-4/+44
| | | | | | | | | | | | | | | | | | - Make it possible to pass an optional root widget to dumpAllWidgets(). - Add option to output size constraints of widgets/windows. - Output normal geometry of top levels. Change-Id: Ib48809d070c5721fe4688a2ad39cb99f286618de Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
| * Install the static qtfreetype libLaszlo Agocs2016-01-261-1/+2
| | | | | | | | | | | | | | | | | | | | Modules relying on font support via platformsupport (Qt Wayland) need the static libqtfreetype.a. Add CONFIG+=installed to get it copied during make install. Task-number: QTBUG-50659 Change-Id: Ie6252e7f2dda1dc3da97fee258b9d53b7ca349c0 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
| * winrt: fix typoMaurice Kalinowski2016-01-261-1/+1
| | | | | | | | | | Change-Id: I621043b6be797e250fd2cd17de22a18d8773b01c Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
| * winrt: update version settings in default manifestMaurice Kalinowski2016-01-261-1/+1
| | | | | | | | | | | | | | | | 10240 describes the first official non-preview Windows 10 SDK. 10586 was the SDK for the first November update. Change-Id: Ieb61b944295946eab594b3c7bf234155a67b752e Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
| * winrt: Add mobile schema to default manifestMaurice Kalinowski2016-01-261-1/+2
| | | | | | | | | | | | | | | | This allows users to add mobile specific features. Also it implicitly enables support for continuum on Windows 10 Mobile. Change-Id: I965123722f46df6e84fd279c3bfce478c1172632 Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
| * Handle native views visibility properly.BogDan Vatra2016-01-264-1/+26
| | | | | | | | | | | | | | | | Hide the native view in constructor and in destructor. Task-number: QTBUG-40159 Change-Id: I200b28af9ac2928c38299b71395a97e39f1bbe6d Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
| * Doc: Added brief statement to XML examplesNico Vertriest2016-01-262-0/+3
| | | | | | | | | | | | Task-number: QTBUG-50261 Change-Id: I0ba4bd630746612d0f1f1632e87c6fdd6aef160f Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
| * Doc: removed double occurrence of systray.qdocNico Vertriest2016-01-262-186/+6
| | | | | | | | | | | | Task-number: QTBUG-50287 Change-Id: Iaf8602fc338dadcc0998f33d41ad9fbc827589e2 Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
| * Doc: Added brief statement for examples overview pageNico Vertriest2016-01-262-0/+3
| | | | | | | | | | | | Task-number: QTBUG-50261 Change-Id: Ia0daf0c5c7fc0b2e54904f0b7fe6ebe1220e5c4d Reviewed-by: Martin Smith <martin.smith@theqtcompany.com>
| * Android: Probe for virtual keyboard heightBogDan Vatra2016-01-261-7/+49
| | | | | | | | | | | | | | | | | | | | | | | | Knowing the real virtual keyboard height will be easier for us to decide if we pan or resize the current view. The virtual keyboard is re-shown if current virtual keyboard height is different from previous one. Task-number: QTBUG-43739 Change-Id: I1bb41a70cced4c1d0e5f05a6c554831459b7a917 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
| * Call out to QtDBus message spies in the main threadThiago Macieira2016-01-253-13/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Whenever there are spies installed, we call out to the main thread to call to the kded/kiod message spies. This allows the spy code to do just about anything, where previously it was restricted in what it could do to avoid deadlocking or triggering assertions if it recursed back into QDBusConnection code in the manager thread. After the spies are done, the message is re-inserted into the QDBusConnection processing pipeline. This commit moves the spy handling to after the check for disabled dispatching, as doing otherwise would mean the message could get postponed again for no good reason. It's also possible that the main thread isn't done installing the hooks, so waiting until the dispatching is enabled is a good idea. For simplicity, this commit also restricts spying to method calls only. Signals are no longer spyable. Change-Id: I3d11545be52c43119f0fffff142b0e9d447415c2 Reviewed-by: David Faure <david.faure@kdab.com>
| * Repaint QOpenGLWidget when screen changesDyami Caliri2016-01-241-0/+3
| | | | | | | | | | | | | | | | | | Commit 5c7f000cd4c9e3769e8cd4085cf0beee104f9886 greatly reduces the number of repaints for QOpenGLWidget. Unfortunately, this included when the widget changes screens. Change-Id: Iaabcb94925e4519cb5d8561b47aaddcfdc7b01ac Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
| * Fix tlw source rect transformation for backingstore blit.Dyami Caliri2016-01-241-1/+1
| | | | | | | | | | | | | | | | | | The srcRect is already in device window coordinates. Converting it again via deviceRect(QRect, QWindow) causes it to be overly large. Task-number: QTBUG-50613 Change-Id: Iaae390499c0d1add842bde6eec22fb07c8de663b Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
| * Q*Application: don't allocate memory just to compare C stringsMarc Mutz2016-01-233-37/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of creating a QByteArray, possibly normalizing a leading '--' (one allocation, plus possibly one copy), simply use the old 'ol str(n)cmp, skipping the first character if the argument starts with '--'. It also fixes parsing of -stylesheet and other options which were erroneously parsed using indexOf() != -1, when they should have used startsWith(). Also saves 504/742/522b in text size for QtCore/QtGui/QtWidgets, resp., on optimized GCC 5.3 Linux AMD64 builds. Change-Id: Ida868badac3fb9b77285417ee537c861ccc4fc06 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
| * Android: Fix compile on arm64BogDan Vatra2016-01-231-0/+3
| | | | | | | | | | | | | | | | | | Workaround Bionic bug. Check https://code.google.com/p/android/issues/detail?id=194631 for more info. Change-Id: Ib1abae37c94d4e76bb3bd633985c84128659bf4c Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
| * Speed up QObject::connect with function pointersSimon Hausmann2016-01-221-0/+1
| | | | | | | | | | | | | | | | | | When resolving the signal/slot of connect(&Foo::bar, ...) we place a meta-call to map the address to the method index. Once we have found the index, we don't need to continue but can return the result right away. Change-Id: I67bb22df394d7c22dc1731367c0961b958ed77b3 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
| * QNX: Fix -developer-buildRafael Roquetto2016-01-221-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -developer-build enables -Werror=undef, which uncovered a bug inside qcompilerdetection.h. According to the Dinkum headers, it is necessary to account for three different states concerning the values of the _HAS_* macros: 1. undefined 2. 0 3. 1 Therefore, it is necessary to check both whether it is defined and if it is not 0. Only checking whether a given macro is 0 will generate a trap by -Werror=undef. (__GLIBCXX__ is the sole exception). Change-Id: Ib95e485698ee38858a1671d930d7e960b75bb041 Reviewed-by: James McDonnell <jmcdonnell@qnx.com> Reviewed-by: Dan Cape <dcape@qnx.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>