| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: I38e65848da7c92adc6be87175ca9da3fe496a3dd
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
| |
Change-Id: I7ce92ba0edc4b196ca05224729d3eb31748a7780
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Includes:
* Flagging out unsupprted API from PDF viewer JavaScript files
* Correctly excluding apps_shim build files in no-extension builds
* Flagging out the extensions update method
* Miscellaneous adaptations
Change-Id: Ie4d95c1ca991bce8f064a99fc78d1e1ed9626d2d
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-59999
Change-Id: I67b67aa88e1ef985441d8b3bd86d02ee265b38cf
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
| |
This just cleans dependencies for ffmpeg.
I should be now enough to unset media_use_ffmpeg,
use_webaudio_ffmpeg to skip ffmpeg.
Change-Id: I3b5b5a88b368f927413c605ec7ee7ff6687352e8
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
| |
Add missing return.
Change-Id: Iff84856946842e68a7dd1783a0b4eae976529f81
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
| |
Target attribute avx2 doesn't seem to work on older Apple
clangs.
Change-Id: If56fbb2e6ef72786527f2507ae70d01ba5182b35
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
| |
Doesn't build with older MSVC 2017 versions.
Reverts https://webrtc-review.googlesource.com/86544
Change-Id: Ieb80a6717929d153e39a2f04cb8a85631a03bc7a
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
| |
The check for adding the logic and for adding the sources didn't match.
Change-Id: I843a8e24fbf666c8ce1340d1ae0d21fc5b66101a
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
| |
Fix build for x86 as well.
Change-Id: I3338ad68634766ae3d8222a18346007c4bcbfae8
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The render process requires access to the Qt resources directory
(for ICU data files for example).
Pass the Qt prefix path to the sandbox rules, to allow file read
access.
Change-Id: I2364ef4711d225aae2d14da78e33c609f4f8b5bd
Fixes: QTBUG-73089
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This class exposes Wait()-Set() logic to synchronize events.
- There is a bug in checking EventWrapper::Wait() as it returns [1,2]. Negating
these values cause us to always pass timeout checks.
- There is a general problem in this class with waiter. There are 2 scenarios:
1) Lock()-Unlock()-DisplaysReconfigured()
In this scenario, Wait() in DisplaysReconfigured() immediately passes as event
is already signaled. Next Lock() call won't continue until Set() is called in
DisplaysReconfigured(). This blocks capture thread from accessing display until
reconfiguration completes.
2) Lock()-DisplaysReconfigured()-Unlock()
In this scenario, Wait() in DisplaysReconfigured() passes when Unlock() called.
Capture thread accesses display while reconfiguration happens. Note that we are
only delaying the OS delegate thread here. As an experiment, adding Sleep() in
DisplaysReconfigured() results in no change, because it looks like OS uses this
thread for only delegates but not for the actual display switch.
Overall, (1) doesnt seem necessary as (2) already accesses display while
reconfiguration happens. (2) doesn't seem necessary as blocking system delegate
thread doesn't help. Therefore, I changed the class to only protect from race
condition on |desktop_configuration_|.
Bug: chromium:796889
Change-Id: I5a70c4efff999204eab8b1cfd66cbfe953b26467
Reviewed-on: https://webrtc-review.googlesource.com/c/108560
Commit-Queue: Emircan Uysaler <emircan@webrtc.org>
Reviewed-by: Tommi <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25437}
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
| |
Change-Id: If47d9bb5b77a369442b4df576629512fc8635144
Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
|
|
|
|
|
|
|
| |
Fixups for building Chromium 71 on MSVC.
Change-Id: If8b364890c826a398a72604c00dd211f16de533a
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
|
|
|
|
|
|
|
|
|
| |
VideoCaptureDeviceFactoryMac needs a CFRunLoop-enabled thread, which the Qt main
thread by default is not.
Change-Id: I4a1b0f5f10bdd202d8b956a081551681cb874910
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
|
|
|
|
|
|
|
| |
We don't use toolkit_views on any platform
Change-Id: If56aada46ab540523d80675ed983c4104a6743b3
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
|
|
|
|
|
|
|
| |
Qt platform does not override default allocator. Fixes crash on macOS.
Change-Id: I82d1fd165d83e678d9e370fc060819e2baa8dd57
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
| |
Always inline BasicStringPiece constructor to avoid linker errors with
GCC 8.2.
Task-number: QTBUG-71689
Change-Id: Ib573b035c19fa1e359935e83277ec9e174998bf8
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
We are missing build flag when compilng wake lock,
which creates missmach in PowerSaveBlocer class size.
Done-With: Kirill Burtsev<kirill.burtsev@qt.io>
Change-Id: Id27c1a5da34c92961d614f54feae1858ffcb6e1d
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
|
|
|
|
|
|
|
|
|
| |
Remove old sqlite source code to avoid future
misreference (src is using currently sqlite-src-3250200)
Task-number: QTBUG-72632
Change-Id: I0300f4ff1b458d4e35e5eb01cc10603fbcc042f8
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Jumbo patch that includes all the patches needed to enable the
extension system for the Qt build. Currently used for conveniently
moving the code around, but may become the actual change to get it
merged upstream.
Change-Id: Ie1920b31f9bbf40c8753cada2716d7f9fcb39280
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
| |
Fixes new asserts and build issues from the Chromium 71 code.
Change-Id: I102539873f82bfd446cf034a2d97eb40d2dfb1f5
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
| |
We don't use it, and the code is terrible at cross platform support,
and handling it takes up most of the adaption time.
Change-Id: I1ac3165f736dea9ce9b9c26aa9afbac9355305c3
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
| |
Accesses details only defined in the source file. Likely only
build for Google due to accidentently ending up in the same jumbo
file.
Change-Id: Ia6f6fc9ef973c79001a90f11e1f8e1b2958e2559
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
|
|
|
|
|
| |
Change-Id: I2d30b238a3430312d779fbf338ae87274324eb05
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
| |
Re-enable custom scheme handling like for Android webview
Change-Id: Icebfb1d96042e49b4923ea81ddbff1d5a3477337
Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
|
|
|
|
|
|
|
|
| |
We do not support loading the chrome://tracing WebUI and therefore
we shouldn't bundle those resources in our library.
Change-Id: If3aa4c676b22a55e772f19487e21b4cd48babe65
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is needed to fetch the MessageLoop, the MailboxManager and the
SyncPointManager of the GPU in-process host.
And fetch the right shared context for the in GPU thread.
Change-Id: I7f38e32b2df11da5b046f16643841d34260c11fb
Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
| |
Returns the top level frame URL. Used instead of site_for_cookies()
in case of cross-origin iframe navigations.
Task-number: QTBUG-70790
Change-Id: Icec4beddd70b20120d53e17a35385d83d1276ac2
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
| |
Only depend on use_xscrnsaver, not on using the X11 backend.
Change-Id: I64d63332d98cd83fcaf47515a3e8048aac22c737
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
|
| |
Fixes builing zlib without thump.
Also fixes bogus check for thumb in zlib
Change-Id: I5548b5a8ae351ae872e02441d869b3cd7bc5d426
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
|
|
|
|
|
| |
Change-Id: I25a4e5185566a542e909971c8479cc053ac457a1
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
|
|
|
|
|
|
|
|
| |
Adds assert.
Task-number: QTBUG-68090
Change-Id: I7aa153df99002ecd7b28081f2cfdb6b768cdcc49
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
| |
This drops requirement for png being needed by
host tools (imagediff).
Task-number: QTBUG-68090
Change-Id: Ib11c37c7404a66fe9455433676d6fd80222604c0
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Starting with Qt 5.11, on Windows, when the main
WebEngine process crashed, the child render process would stay alive
and use a whole CPU core trying to do something.
What happened was that an existing layer tree frame sink was
invalidated, and a request to create a new one was issued via
RequestNewLayerTreeFrameSink, which failed due to the main process
being dead, which scheduled a new request, and so on, which caused
the child process main thread message loop to never exit.
In Qt 5.10, this did not happen, because when the first request to
create the sink failed, a new "software sink" was successfully created
that did not depend on the host GPU process thread
(see RenderThreadImpl::RequestNewLayerTreeFrameSink in
render_thread_impl.cc).
Thus the message loop ran out of tasks to execute, and could
gracefully quit.
The "software sink" code branch was removed in Qt 5.11+.
Thus the hacky fix is to try and create the sink only a certain amount
of times, and stop scheduling new requests after that.
Task-number: QTBUG-69030
Change-Id: Iefd302aac48aa8729d8289490ddb310a5037ad96
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Certain UI controls weren't displayed correctly (like select fields,
radio boxes, checkboxes) when the macOS sandbox was enabled.
These were fixed for the second version of the sandbox "V2", but
WebEngine does not currently work with it (missing code and
additional rules to allow accessing Qt files).
Backport the necessary sandbox permission rules from the "V2"
version to the "V1" version, to allow correctly drawing the previously
mentioned UI controls.
Task-number: QTBUG-70715
Change-Id: I329433a311de58ea97e4e719e8c330568d578fa8
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
| |
Change-Id: Ie30a7514b1538b243f3bfe16709fcc9c8209fc12
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
The compiler somehow gets confused about which division
operator to use when accessing a bitset.
Output the flags as a simple int, instead of a bitset when building
with MSVC.
Change-Id: Ib95ea5c2da0b3806cb2138454a47825fd7c59c1a
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
| |
Change-Id: Ib269a80077834c1aff73be75e16e2338c52e23a9
Fixes: QTBUG-71457
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
|
|
|
|
|
|
|
|
| |
Tries to use the new bezier curves to approximate our old smooth
scrolling behavior.
Change-Id: I3b319025fb0339ec95c0a29525f2dde0631866ed
Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
The BUILD.gn file for the power_save_blocker service included
//ui/gfx/x as a dependency outside without checking for X11
actually being used.
Change-Id: Ibbbe36018146c6a77e6752ab4dd9b23b4bb3a78f
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
|
| |
The "X11" implementation can use both dbus and XSS, and
detects the latter at runtime, while the ozone implementation
is just a stub doing nothing.
Change-Id: I434fab0ec19a12845781f6ccece4a21813b5bca6
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Add logic to disable the use of the libXss library, while still being
able to suspend power save via the GNOME or freedesktop dbus interfaces.
Change-Id: I97c6f03ba654ba30ad91709028bb0859b8a66de7
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-71219
Change-Id: I0c5853a110e704016e3bd41c7f54f9a5e57094ae
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
| |
Suppress and fix many clang, GCC and MSVC warnings
"cause the night is crap and full of warnings"
Change-Id: I09882f850bac97c04a3d772e5f6386ce896c57b9
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-69281
Change-Id: I0d8fe59caeb418533e4764f7f17a8bfe3ff0c72d
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-69281
Change-Id: I6ff926a0036c1df840c35192da71363ac240ce57
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
| |
The real maximum deeper in Chromium is (1<<29), but better not
push the limit too much.
Task-number: QTBUG-69904
Change-Id: Ie44d444471678cf8281ef7c6fc75fbad0eb8b8bc
Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Windows MSVC2017 32bit release builds of WebEngine, printing to
a QPrinter instance only printed partial page content.
This ended up being a compiler / optimizer bug triggered in the
FX_atof function in
src/3rdparty/chromium/third_party/pdfium/core/fxcrt/fx_string.cpp
which resulted in returning float numbers without any digits past
the decimal point. Because of that, many size / offset calcuations
were wrong.
The fix is to remove a redundant 'strc[cc] == "."' check, which is
implcitly present in a previous if condition. This in turn stops
the compiler from generating incorrect code, and thus parsing
the digits past the decimal point.
Task-number: QTBUG-69639
Change-Id: I7908318b6e7ca58e81d951af784ed8dcd901e12c
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Windows when using ANGLE (thus implicitly using kDisableGpu switch)
you get a bunch of errors that aren't really relevant. Like:
ERROR:gpu_process_host.cc(473)]
!GpuDataManagerImpl::GpuProcessStartAllowed()
ERROR:gpu_process_transport_factory.cc(1017)]
Lost UI shared context.
Reduce the message level to warnings, and switch to DLOG.
Task-number: QTBUG-69491
Change-Id: I7f92f8e84147d75af00c23b5316ef60927eed44b
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|