qtwebkit-opensource-src.git
18 months agofix JSCore segmentation fault on 64-bit big endian systems
Debian Qt/KDE Maintainers [Tue, 21 May 2024 16:02:42 +0000 (19:02 +0300)]
fix JSCore segmentation fault on 64-bit big endian systems

Origin: backport, https://github.com/webkit/webkit/commit/3fdde71c7d95d758
Reviewed-by: Frank Heimes <frank.heimes@canonical.com>
Last-Update: 2021-11-24

In CodeBlock.cpp the code preparing the operands of op_get_from_scope writes
the property offset as pointer size (hence 64 bit) value:

2141: instructions[i + 6].u.pointer = reinterpret_cast<void*>(op.operand);

while the same slot is accessed later by the jitted code as 32 bit integer:

macro getProperty(slow)
   loadisFromInstruction(6, t1)

This fails on big endian targets since the integer access takes the higher
part of the 64 bit value.

Gbp-Pq: Name jscore_big_endian.diff

18 months agoremove invalid g_object declarations to fix build with glib ≥ 2.68
Debian Qt/KDE Maintainers [Tue, 21 May 2024 16:02:42 +0000 (19:02 +0300)]
remove invalid g_object declarations to fix build with glib ≥ 2.68

Origin: https://build.opensuse.org/package/view_file/KDE:Qt5/libqt5-qtwebkit/0001-Remove-invalid-g_object-declarations-to-fix-build-wi.patch
Forwarded: https://github.com/qtwebkit/qtwebkit/pull/1058
Last-Update: 2021-04-07

Gbp-Pq: Name glib_2.68.diff

18 months agofix compilation with Python 3.9: avoid passing encoding to json.load()
Debian Qt/KDE Maintainers [Tue, 21 May 2024 16:02:42 +0000 (19:02 +0300)]
fix compilation with Python 3.9: avoid passing encoding to json.load()

Origin: upstream, https://github.com/qtwebkit/qtwebkit/commit/78360c01c796b626
Last-Update: 2020-11-23

Gbp-Pq: Name python_3.9.diff

18 months agodo not attempt rendering PDF with Qt image plugin
Debian Qt/KDE Maintainers [Tue, 21 May 2024 16:02:42 +0000 (19:02 +0300)]
do not attempt rendering PDF with Qt image plugin

Origin: upstream, https://github.com/qtwebkit/qtwebkit/commit/0443d42b04e0f99c
Last-Update: 2020-09-13

Qt 5.15 added Qt PDF module which comes with imageformat plugin, which
allows rendering first page of PDF document as image.

Gbp-Pq: Name no_pdf_image_plugin.diff

18 months agolet Bison generate the header directly
Dmitry Shachnev [Tue, 21 May 2024 16:02:42 +0000 (19:02 +0300)]
let Bison generate the header directly

Forwarded: https://github.com/qtwebkit/qtwebkit/pull/1012
Last-Update: 2020-08-04

Starting with Bison 3.7, the generated C++ file #include's the header
by default, instead of duplicating it. So we should not delete it.

Remove the code to add #ifdef guards to the header, since Bison adds
them itself since version 2.6.3.

Gbp-Pq: Name bison_3.7.diff

18 months agoadd support for riscv64 architecture
William Grant [Tue, 21 May 2024 16:02:42 +0000 (19:02 +0300)]
add support for riscv64 architecture

Forwarded: https://github.com/qtwebkit/qtwebkit/pull/982
Last-Update: 2020-04-28

Gbp-Pq: Name support_riscv64.diff

18 months agoLocally define PATH_MAX is not available
Pino Toscano [Tue, 21 May 2024 16:02:42 +0000 (19:02 +0300)]
Locally define PATH_MAX is not available

Forwarded: no
Last-Update: 2017-11-20

The code unconditionally uses PATH_MAX, which is POSIX-optional.

This fixes the build on platforms without it, such as GNU/Hurd.

Gbp-Pq: Name path_max.diff

18 months agoreduce the number of exported symbols in libQt5WebKit.so.5
Dmitry Shachnev [Tue, 21 May 2024 16:02:42 +0000 (19:02 +0300)]
reduce the number of exported symbols in libQt5WebKit.so.5

Forwarded: not-needed
Last-Update: 2017-08-27

Gbp-Pq: Name reduce_exports.diff

18 months agoqtwebkit-opensource-src (5.212.0~alpha4-37) unstable; urgency=medium
Dmitry Shachnev [Tue, 21 May 2024 16:02:42 +0000 (19:02 +0300)]
qtwebkit-opensource-src (5.212.0~alpha4-37) unstable; urgency=medium

  * Update debian/libqt5webkit5.symbols for sh4.
  * Upload to unstable.

[dgit import unpatched qtwebkit-opensource-src 5.212.0~alpha4-37]

18 months agoImport qtwebkit-opensource-src_5.212.0~alpha4-37.debian.tar.xz
Dmitry Shachnev [Tue, 21 May 2024 16:02:42 +0000 (19:02 +0300)]
Import qtwebkit-opensource-src_5.212.0~alpha4-37.debian.tar.xz

[dgit import tarball qtwebkit-opensource-src 5.212.0~alpha4-37 qtwebkit-opensource-src_5.212.0~alpha4-37.debian.tar.xz]

5 years agoImport qtwebkit-opensource-src_5.212.0~alpha4.orig.tar.xz
Dmitry Shachnev [Thu, 12 Mar 2020 13:11:29 +0000 (16:11 +0300)]
Import qtwebkit-opensource-src_5.212.0~alpha4.orig.tar.xz

[dgit import orig qtwebkit-opensource-src_5.212.0~alpha4.orig.tar.xz]