webkit2gtk3/fix-warnings.patch
Dominique Leuenberger 0801e8e3e4 Accepting request 921030 from GNOME:Next
Sub the new stable - supersede

- Update to version 2.34.0:
  + Fix another regression in JavaScriptCore on 32bit systems.

- Update to version 2.33.91:
  + Use the right display refresh monitor for animations in
    accelerated compositng mode.
  + Fix several issues in JavaScriptCore on 32bit systems.
  + Prefer python3 over python2 in CMake.

- Update to version 2.33.90:
  + Show TLS protocol version and ciphersuite name in the
    inspector when building with libsoup3.
  + Add multi-track support to media backend.
  + Avoid strong alias computations in font fallback code.
  + Fix deadlock tearing down pipeline when using fallback sink.
  + Fix the build with gtk-doc enabled.
  + Fix several crashes and rendering issues.
- Add fix-warnings.patch: silence return-type warnings.

- Add a 3rd flavor: gtk3 with libsoup2 (which retains compatibility
  to the olderversions, identified as API version 4.0).

- Add _multibuild file and enable build of webkit2gtk4.

- Update to version 2.33.3:
  + Add support for display capture.
  + Add new API to access/modify capture devices states.
  + Add new API to configure the memory pressure handler.
  + Add support for client side certifiates authentication.
  + Add support color-schemes CSS property.

OBS-URL: https://build.opensuse.org/request/show/921030
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/webkit2gtk3?expand=0&rev=313
2021-09-27 06:26:36 +00:00

53 lines
1.9 KiB
Diff

From bca7975b39efea16e6e669853fe897d0d6bd89f7 Mon Sep 17 00:00:00 2001
From: "commit-queue@webkit.org"
<commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Fri, 3 Sep 2021 12:07:18 +0000
Subject: [PATCH] Silence more -Wreturn-type warnings
https://bugs.webkit.org/show_bug.cgi?id=229858
Unreviewed.
Patch by Michael Catanzaro <mcatanzaro@gnome.org> on 2021-09-03
* runtime/TemporalDuration.cpp:
(JSC::propertyName):
* runtime/TemporalObject.cpp:
(JSC::roundNumberToIncrement):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@281986 268f45cc-cd09-0410-ab3c-d52691b4dbfc
---
Source/JavaScriptCore/ChangeLog | 12 ++++++++++++
Source/JavaScriptCore/runtime/TemporalDuration.cpp | 2 ++
Source/JavaScriptCore/runtime/TemporalObject.cpp | 2 ++
3 files changed, 16 insertions(+)
diff --git a/Source/JavaScriptCore/runtime/TemporalDuration.cpp b/Source/JavaScriptCore/runtime/TemporalDuration.cpp
index 67ad4e819ff4..0da24a52557e 100644
--- a/Source/JavaScriptCore/runtime/TemporalDuration.cpp
+++ b/Source/JavaScriptCore/runtime/TemporalDuration.cpp
@@ -42,6 +42,8 @@ static PropertyName propertyName(VM& vm, unsigned index)
JSC_TEMPORAL_UNITS(JSC_TEMPORAL_DURATION_PROPERTY_NAME)
#undef JSC_TEMPORAL_DURATION_PROPERTY_NAME
}
+
+ RELEASE_ASSERT_NOT_REACHED();
}
const ClassInfo TemporalDuration::s_info = { "Object", &Base::s_info, nullptr, nullptr, CREATE_METHOD_TABLE(TemporalDuration) };
diff --git a/Source/JavaScriptCore/runtime/TemporalObject.cpp b/Source/JavaScriptCore/runtime/TemporalObject.cpp
index 9535719f7ec1..e9b872d2418a 100644
--- a/Source/JavaScriptCore/runtime/TemporalObject.cpp
+++ b/Source/JavaScriptCore/runtime/TemporalObject.cpp
@@ -328,6 +328,8 @@ double roundNumberToIncrement(double x, double increment, RoundingMode mode)
case RoundingMode::HalfExpand:
return std::round(quotient) * increment;
}
+
+ RELEASE_ASSERT_NOT_REACHED();
}
} // namespace JSC
--
2.32.0