- 06 Nov, 2014 - 2 commits
-
-
Andras Becsi authored
GpuCommandBufferStub::OnRetireSyncPoint is also called as a result of shutdown destruction where there is a race condition between the ramp-down of the GLContext and the DestroyGLFence() and GLFence::CreateWithoutFlush() calls. This would result in sporadic shutdown crashes or asserts when a page is closed while browsing WebGL content like fishgl.com. Avoid the additional calls if there is no current context. Task-number: QTBUG-42295 Change-Id: I5aed0df7adca9c95eda71925399d39fd770fffa1 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
Jocelyn Turcotte authored
NSAutoreleasePool init and dray must be symetrical and we can't guarantee that for ContentMainRunner as well as Chromium can since we initialize the ContentMainRunner on-demand but destroy it with the QCoreApplication's destruction. We also don't need to use it since any allocation that ContentMainRunnerImpl::autorelease_pool_ would cover is already covered at the bottom of the stack by the QCocoaAutoReleasePool in QCocoaEventDispatcher::processEvents. Change-Id: I2874916420457e3d36d08fb9fca0d919f374f592 Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- 05 Nov, 2014 - 1 commit
-
-
Andras Becsi authored
https://code.google.com/p/chromium/issues/detail?id=403869 Cherry-pick https://codereview.chromium.org/471893003 Author: brettw@chromium.org Parse shmmax as a uint64 A recent Linux kernel change changed this to a number larger than 63 bits which causes us to compute 0 size. I kept the size_t overflow check for cases where size_t is 32-bits. BUG=403869 R=jamesr@chromium.org Change-Id: I2ed233ec7d98484e3b25534df3a087d4f8ea26b4 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289903 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- 29 Oct, 2014 - 2 commits
-
-
Zeno Albisser authored
The compiler shipping with newer SDKs is more restrictive with regards to type conversion. It is not accepted anymore to pass nil (nullptr) for NSUInteger or BOOL. Change-Id: I15fbfe480aab42e505cec0c6fa47feed718f31c1 Reviewed-by:
Michael Bruning <michael.bruning@digia.com> Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
Zeno Albisser authored
RenderThemeChromiumMac.mm: There is no implicit conversion from int to NSControlSize anymore. ScrollAnimatorMac.mm updated as done in WebKit: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164767 268f45cc-cd09-0410-ab3c-d52691b4dbfc ScrollbarThemeMacOverlayAPI.mm updated as done in WebKit: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161397 268f45cc-cd09-0410-ab3c-d52691b4dbfc WebScrollbarTheme.mm: Avoid compiler warning and error about comparing/passing different enums. Change-Id: I6d9f864427a32192049792bb7395ae0abe1a07d6 Reviewed-by:
Michael Bruning <michael.bruning@digia.com> Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- 16 Oct, 2014 - 2 commits
-
-
Jarred Nicholls authored
cl.exe does not like long relative include paths. In shadow builds that result in large relative paths, some of the IDL binding include paths are too long and often completely incorrect, specifically for IDL files that are generated and are not sourced in the Blink repository. This patch resolves that problem and makes the paths minimal for generated IDL bindings, preventing the cl.exe fatal C1001 crash. Change-Id: I912e2c8d2c4a6de79693c63ff5313958360cb42b Reviewed-by:
Michael Bruning <michael.bruning@digia.com>
-
Zeno Albisser authored
This is needed for the raspberry PI. Change-Id: I0c46643a2877fccfadb7d0381788e440d901a6fa Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- 14 Oct, 2014 - 1 commit
-
-
Andras Becsi authored
Change-Id: I1ffb47a299e5b17e3c2c463f592603170fc444f4 Reviewed-by:
Pierre Rossi <pierre.rossi@gmail.com>
-
- 13 Oct, 2014 - 2 commits
-
-
Jarred Nicholls authored
The bison script for compiling grammars suffers from the MAX_PATH IOError issue on Windows. This occurs when doing a shadow build that results in large relative paths in the generated GYP actions. Change-Id: Ic875a818ee0cda85efcb3ccebaf885872aed8746 Reviewed-by:
Michael Bruning <michael.bruning@digia.com> Reviewed-by:
Jarred Nicholls <jarred.nicholls@gmail.com>
-
Andras Becsi authored
Change-Id: I5471953dbe08ee5afb92d24baeb94863fb8de98e Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com> Reviewed-by:
Pierre Rossi <pierre.rossi@gmail.com>
-
- 03 Oct, 2014 - 2 commits
-
-
Zeno Albisser authored
Change-Id: I35a7c9cddea306577fc268c8b026e262796e1e22 Reviewed-by:
Pierre Rossi <pierre.rossi@gmail.com>
-
Zeno Albisser authored
This is needed in order to get things like IDS_WEB_FONT_FAMILY declared. Change-Id: I766d50320dd7affea1c6a5ad5af1e8c30531d7ad Reviewed-by:
Pierre Rossi <pierre.rossi@gmail.com>
-
- 02 Oct, 2014 - 1 commit
-
-
Michael Brüning authored
Fixes the redefinition of pointer types to appropriate values on 64 Bit Windows. Change-Id: Ia1735a5ae5c9dc12dab80e7670dea8270ebf089f Reviewed-by:
Jani Heikkinen <jani.heikkinen@digia.com> Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
- 26 Sep, 2014 - 2 commits
-
-
Michael Brüning authored
This works around the per-se disabling of hardware acceleration on older versions of Windows when the Gallium llvmpipe driver is used. Change-Id: I23dca61cf2309ad6f73279bb001358385866e438 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
Michael Brüning authored
This should prevent the .gitattributes file ending up in the src snapshot. Task-number: QTBUG-41607 Change-Id: I1735331dcbb5f57d30951f942e18bd9c40c803df Reviewed-by:
Simon Hausmann <simon.hausmann@digia.com>
-
- 25 Sep, 2014 - 2 commits
-
-
Allan Sandfeld Jensen authored
Uses a similar trick to QtWebKit and moves linking of libudev to runtime this ensures we can link against either libudev.so.0 or libudev.so.1 depending on which version the system has available. Change-Id: I398af64b213b82f4d56d5591437dc6f9af4ad7ce Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
Zeno Albisser authored
This causes compilation failures due to a bug in Mac OSX 10.9 and potentially other SDKs. Enum CBPeripheralAuthorizationStatus is marked unavailable on OSX in these SDKs. Removing the include has been confirmed to work for us on newer OSX versions. Change-Id: I7c09564f591a1993ab82f36e2fc35a35c3484d43 Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- 24 Sep, 2014 - 2 commits
-
-
Kai Koehne authored
Change-Id: I004dc2a75f9ab27939f65cb784b56ca1ef86db28 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
Allan Sandfeld Jensen authored
This patch makes webfonts to read the fontconfig defaults for their size and font style. Change-Id: I80ffd8e2ff27d438c60457ca2b1836999e528783 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- 23 Sep, 2014 - 1 commit
-
-
Jarred Nicholls authored
The scripts for generating and aggregating the v8 bindings all suffer from an IOError on Windows when doing a shadow build that results in very large relative paths being used in the generated GYP actions. Change-Id: I86f57fc94e8ff633e2499a08b8cafa7df9b39210 Reviewed-by:
Michael Bruning <michael.bruning@digia.com> Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- 22 Sep, 2014 - 1 commit
-
-
bungeman authored
If there is an error while trying to determine the metrics, we need to bail instead of potentially using uninitialized data. R=reed@google.com, mtklein@google.com Author: bungeman@google.com Review URL: https://codereview.chromium.org/511783003 Change-Id: I03abc22567396b7e174380e10fc0007523355473 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- 11 Sep, 2014 - 1 commit
-
-
Jocelyn Turcotte authored
ld expects the -l switches to appear after the dependent object on the command line. It works if we use QT_PRIVATE to trigger Qt being added to the link line since it would be appended to LIBS_PRIVATE as well. But QT will append to LIBS, which is listed first in the Makefile and would cause undefined symbol errors by following .o files. Fix the issue by adding .o files to OBJECTS instead of LIBS_PRIVATE. This will only work if all Qt-dependent code is listed in the top-level gyp file, but we've been keeping it layered that way since the beginning and it should be acceptable to require it. Change-Id: I3b655ce8d6525fb986ca87fb9c2863a239ebf991 Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- 10 Sep, 2014 - 2 commits
-
-
Michael Brüning authored
The script for aggregating the generated bindings suffered from the same error on Windows as the other generator python scripts. This should be fixed up when taking the next snapshot with the commit 8f5515e8 . Change-Id: Icd08dfa4bb09da806e9946b10af9984011dde463 Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
Jocelyn Turcotte authored
Change-Id: I172b552f0df8923d795a3c6f84c4fb4e1e780788 Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- 05 Sep, 2014 - 1 commit
-
-
Jocelyn Turcotte authored
Running python down into the WebKit directory structure and referring a file relatively to the build directory can easily spill over the 260 char limit on Windows. Resolve the absolute path using join and normpath to work around the issue. Change-Id: I6e89aad542761adcbd821b05f0cc6e9d489dced5 Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- 03 Sep, 2014 - 2 commits
-
-
Zeno Albisser authored
This patch has been cherry-picked from upstream chromium, as the GUARDED_BY annotation broke Qt builds on OSX with older Xcode / clang versions. Review URL: https://webrtc-codereview.appspot.com/14769004 Change-Id: Ib77d997f0c628e3bb378a06c427fbe938cd7dbc0 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
Jocelyn Turcotte authored
Qt currently only use LF in its sources like git normally recommends and QtWebEngine should do the same to avoid edge cases in the packaging process. take_snapshot will normally take care of this for future branches. Change-Id: I47c4ef2db89361819ded864e3ba95e161ad10a92 Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- 02 Sep, 2014 - 1 commit
-
-
Michael Brüning authored
The previous logic led to problems when running 64 bit builds in a native 64 bit shell as the cross compiler was always given priority. Change-Id: Id6a29147c461e8542f65a568ff5956d4fdb3c642 Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
- 01 Sep, 2014 - 1 commit
-
-
Jocelyn Turcotte authored
Chromium is always producing and consuming the textures on the GPU thread, switching the GL context accordingly, and are using sync points to externally know when it is correct to send the consumming GL commands down the pipe of their respective GL context. Since Qt is consuming those textures in a different thread, synchronizing when commands are handed down to GL isn't always enough. The GL driver could decide to do additional scheduling and end up executing Qt's consuming GL commands before Chromium's producing ones even if they were sent to their respective context in the right order. To prevent this, convert each sync point into a real GL fence sync and allow Qt to communicate the dependency between consuming and producing commands down to GL even across threads. gfx::GLFence can now be converted to a POD TransferableFence to allow waiting for or destroying the sync using a QOpenGLContext, which gl_fence.cc wouldn't be able to use through Chromium's GL function table. Change-Id: I8a9e2de6ed84b2e16f5504c5d66dc3580b87140a Reviewed-by:
Andras Becsi <andras.becsi@digia.com> Reviewed-by:
Michael Bruning <michael.bruning@digia.com>
-
- 26 Aug, 2014 - 1 commit
-
-
Zeno Albisser authored
This patch can be removed again as soon as we do not need to support XCode <= 5.0 anymore. Change-Id: Icdcca203f28555029a16ce7f8a806f2844ecb0b4 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- 22 Aug, 2014 - 1 commit
-
-
Allan Sandfeld Jensen authored
This patch applies the Qt scroll animation configuration from WebKit. This makes the scrolling more responsive and smooth when used with touchpad scroll gestures or free spinning scroll wheels. Change-Id: I2f17185f3e95c6bc84608cc4c3945dba2d67faa8 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- 20 Aug, 2014 - 2 commits
-
-
Pierre Rossi authored
Adding the -S argument to skip import site seems to be causing some issues on our CI for now. Change-Id: I551c85b580ce1e148517202c884ae95df5adc841 Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
Allan Sandfeld Jensen authored
Skia freetype will enforce slight hinting in SkTypeface_FreeType::onFilterRec when subpixel positioning is enabled. To avoid overriding medium hinting with slight, we should not enable subpixel positioning for medium hinting similar to how it is avoided for full hinting as well. Change-Id: I4a229cf2b8827c11f33789d1c35c2d0eaeaed0ae Reviewed-by:
Pierre Rossi <pierre.rossi@gmail.com>
-
- 18 Aug, 2014 - 1 commit
-
-
Jocelyn Turcotte authored
Just having the conditions match triggers pkg-config to be run which will fail the build even if we won't need the library. Change-Id: Ic8556f3019ff6c5e76d609e9f67d68ec2a9a392e Reviewed-by:
Pierre Rossi <pierre.rossi@gmail.com>
-
- 14 Aug, 2014 - 2 commits
-
-
Jocelyn Turcotte authored
Including the gyp files forces the resources to be available in the snapshot to allow grit to succeed. Add a wrapping condition that explicitly includes supported components in Qt builds. Change-Id: I17d477f2bc26b35a0031830af087c81854951389 Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
Jocelyn Turcotte authored
This also removes the cacheinvalidation directory that is excluded in the last version of take_snapshot.py. Change-Id: I4ebdbe108c13bdd76b977d1e8d24f54ca6796f01 Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- 12 Aug, 2014 - 4 commits
-
-
Jocelyn Turcotte authored
ATL currently isn't distributed with MSVS Express, only with the Professional version. Chromium requires downloading the WDK iso for express users just to be able to use the ATL version that was shipped with it. We can avoid the extra dependency for now by cutting off all the accessibility code, which is currently the only part of the content layer depending on ATL. We will use the Qt accessibility code anyway. Change-Id: Iec25231250ccfc9405fdf342752733814888f348 Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
Jocelyn Turcotte authored
We want to use this option to prevent gyp from detecting the MSVC toolchain by itself. We already require the environment to be setup according to the desired toolchain for Qt, and we should respect it when it's time to build QtWebEngine through gyp. win_tool.py currently expects the environment.<arch> file to be present. Fix the issue by copying in this file the whole environment at the gyp invocation time instead of from an invocation of the setup script when ninja_use_custom_environment_files isn't used. Change-Id: Iade4c488e1af5cab8306e9070c73d42ec67a955a Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
Jocelyn Turcotte authored
Since we have little chance of introducing warnings in Chromium code and that we allow building the code on more various toolchains, avoid breaking the build for warnings. We already disable them on os_posix==1 and OS!="mac" by overriding the werror% gyp variable in qtwebengine_extras.gypi. Change-Id: Ic233bcd018a9a78a508772dea126435e2226b721 Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
Jocelyn Turcotte authored
Qt will always use QLibraryInfo to determine where this file was installed, regardless of the platform. Change-Id: I79374655356d872b2bc766ec8a33fcba343e9c95 Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-