Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package epiphany for openSUSE:Factory 
checked in at 2023-04-03 17:46:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/epiphany (Old)
 and      /work/SRC/openSUSE:Factory/.epiphany.new.9019 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "epiphany"

Mon Apr  3 17:46:30 2023 rev:199 rq:1076883 version:44.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/epiphany/epiphany.changes        2023-03-24 
15:19:41.322658816 +0100
+++ /work/SRC/openSUSE:Factory/.epiphany.new.9019/epiphany.changes      
2023-04-03 17:46:37.312636303 +0200
@@ -1,0 +2,9 @@
+Sun Apr  2 16:36:30 UTC 2023 - Bjørn Lie <bjorn....@gmail.com>
+
+- Update to version 44.1:
+  + Fix crash restoring session with view-source URI without host
+    component.
+  + Fix criticals when running search provider.
+  + Increase file descriptor soft limit.
+
+-------------------------------------------------------------------

Old:
----
  epiphany-44.0.tar.xz

New:
----
  epiphany-44.1.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ epiphany.spec ++++++
--- /var/tmp/diff_new_pack.z0kqN7/_old  2023-04-03 17:46:38.217282164 +0200
+++ /var/tmp/diff_new_pack.z0kqN7/_new  2023-04-03 17:46:38.225323461 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           epiphany
-Version:        44.0
+Version:        44.1
 Release:        0
 Summary:        GNOME Web Browser
 License:        GPL-3.0-or-later

++++++ epiphany-44.0.tar.xz -> epiphany-44.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/epiphany-44.0/NEWS new/epiphany-44.1/NEWS
--- old/epiphany-44.0/NEWS      2023-03-17 17:32:33.000000000 +0100
+++ new/epiphany-44.1/NEWS      2023-04-02 16:14:45.000000000 +0200
@@ -1,3 +1,10 @@
+44.1 - April 2, 2023
+====================
+
+ * Fix crash restoring session with view-source URI without host component 
(#1987)
+ * Fix criticals when running search provider (#2006)
+ * Increase file descriptor soft limit (#2010)
+
 44.0 - March 17, 2023
 =====================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/epiphany-44.0/data/org.gnome.Epiphany.appdata.xml.in.in 
new/epiphany-44.1/data/org.gnome.Epiphany.appdata.xml.in.in
--- old/epiphany-44.0/data/org.gnome.Epiphany.appdata.xml.in.in 2023-03-17 
17:32:33.000000000 +0100
+++ new/epiphany-44.1/data/org.gnome.Epiphany.appdata.xml.in.in 2023-04-02 
16:14:45.000000000 +0200
@@ -55,6 +55,7 @@
     <display_length compare="ge">360</display_length>
   </requires>
   <releases>
+    <release date="2023-04-02" version="44.1"/>
     <release date="2023-03-17" version="44.0"/>
     <release date="2023-03-03" version="44~rc"/>
     <release date="2023-02-11" version="44~beta"/>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/epiphany-44.0/lib/contrib/gnome-languages.c 
new/epiphany-44.1/lib/contrib/gnome-languages.c
--- old/epiphany-44.0/lib/contrib/gnome-languages.c     2023-03-17 
17:32:33.000000000 +0100
+++ new/epiphany-44.1/lib/contrib/gnome-languages.c     2023-04-02 
16:14:45.000000000 +0200
@@ -705,8 +705,8 @@
         name = NULL;
         if (language != NULL) {
                 const char *translated_name;
-                locale_t loc;
-                locale_t old_locale;
+                locale_t loc = (locale_t) 0;
+                locale_t old_locale = (locale_t) 0;
 
                 if (locale != NULL) {
                         loc = newlocale (LC_MESSAGES_MASK, locale, (locale_t) 
0);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/epiphany-44.0/meson.build 
new/epiphany-44.1/meson.build
--- old/epiphany-44.0/meson.build       2023-03-17 17:32:33.000000000 +0100
+++ new/epiphany-44.1/meson.build       2023-04-02 16:14:45.000000000 +0200
@@ -1,6 +1,6 @@
 project('epiphany', 'c',
   license: 'GPL3+',
-  version: '44.0',
+  version: '44.1',
   meson_version: '>= 0.59.0',
   default_options: ['c_std=gnu11',
                     'warning_level=2']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/epiphany-44.0/src/ephy-main.c 
new/epiphany-44.1/src/ephy-main.c
--- old/epiphany-44.0/src/ephy-main.c   2023-03-17 17:32:33.000000000 +0100
+++ new/epiphany-44.1/src/ephy-main.c   2023-04-02 16:14:45.000000000 +0200
@@ -42,6 +42,7 @@
 #include <signal.h>
 #include <string.h>
 #include <stdlib.h>
+#include <sys/resource.h>
 
 static gboolean open_in_new_window = FALSE;
 
@@ -163,6 +164,28 @@
   return retval;
 }
 
+static void
+maximize_fd_limit (void)
+{
+  /* We need a relatively high number of file descriptors per web process. The
+   * default limit of 1024 will be exceeded with relatively small numbers of
+   * open tabs. Let's increase as far as we can. Note this code cannot safely
+   * go into WebKit because it will break applications that use select().
+   *
+   * https://gitlab.gnome.org/GNOME/epiphany/-/issues/2010
+   */
+  struct rlimit rlim;
+
+  if (getrlimit (RLIMIT_NOFILE, &rlim) == -1) {
+    g_warning ("Failed to read file descriptor limit: %s", g_strerror (errno));
+    return;
+  }
+
+  rlim.rlim_cur = rlim.rlim_max;
+  if (setrlimit (RLIMIT_NOFILE, &rlim) == -1)
+    g_warning ("Failed to set file descriptor limit: %s", g_strerror (errno));
+}
+
 int
 main (int   argc,
       char *argv[])
@@ -411,6 +434,8 @@
     gtk_window_set_default_icon_name (APPLICATION_ID);
   }
 
+  maximize_fd_limit ();
+
   _ephy_shell_create_instance (mode);
 
   if (search_term) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/epiphany-44.0/src/ephy-session.c 
new/epiphany-44.1/src/ephy-session.c
--- old/epiphany-44.0/src/ephy-session.c        2023-03-17 17:32:33.000000000 
+0100
+++ new/epiphany-44.1/src/ephy-session.c        2023-04-02 16:14:45.000000000 
+0200
@@ -37,7 +37,6 @@
 #include "ephy-shell.h"
 #include "ephy-string.h"
 #include "ephy-tab-view.h"
-#include "ephy-view-source-handler.h"
 #include "ephy-window.h"
 
 #include <glib/gi18n.h>
@@ -892,7 +891,8 @@
         if (g_uri_get_host (uri) != NULL ||
             strcmp (g_uri_get_scheme (uri), "data") == 0 ||
             strcmp (g_uri_get_scheme (uri), "file") == 0 ||
-            strcmp (g_uri_get_scheme (uri), "ephy-reader") == 0)
+            strcmp (g_uri_get_scheme (uri), "ephy-reader") == 0 ||
+            strcmp (g_uri_get_scheme (uri), "view-source") == 0)
           sane = TRUE;
       }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/epiphany-44.0/src/search-provider/ephy-search-provider-main.c 
new/epiphany-44.1/src/search-provider/ephy-search-provider-main.c
--- old/epiphany-44.0/src/search-provider/ephy-search-provider-main.c   
2023-03-17 17:32:33.000000000 +0100
+++ new/epiphany-44.1/src/search-provider/ephy-search-provider-main.c   
2023-04-02 16:14:45.000000000 +0200
@@ -48,8 +48,6 @@
     return 1;
   }
 
-  _ephy_shell_create_instance (EPHY_EMBED_SHELL_MODE_SEARCH_PROVIDER);
-
   search_provider = ephy_search_provider_new ();
   status = g_application_run (G_APPLICATION (search_provider), argc, argv);
   g_object_unref (search_provider);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/epiphany-44.0/src/search-provider/ephy-search-provider.c 
new/epiphany-44.1/src/search-provider/ephy-search-provider.c
--- old/epiphany-44.0/src/search-provider/ephy-search-provider.c        
2023-03-17 17:32:33.000000000 +0100
+++ new/epiphany-44.1/src/search-provider/ephy-search-provider.c        
2023-04-02 16:14:45.000000000 +0200
@@ -49,10 +49,10 @@
 };
 
 struct _EphySearchProviderClass {
-  GApplicationClass parent_class;
+  EphyEmbedShellClass parent_class;
 };
 
-G_DEFINE_TYPE (EphySearchProvider, ephy_search_provider, G_TYPE_APPLICATION)
+G_DEFINE_TYPE (EphySearchProvider, ephy_search_provider, EPHY_TYPE_EMBED_SHELL)
 
 #define INACTIVITY_TIMEOUT 60 * 1000 /* One minute, in milliseconds */
 
@@ -431,5 +431,6 @@
 
   return g_object_new (EPHY_TYPE_SEARCH_PROVIDER,
                        "application-id", app_id,
+                       "mode", EPHY_EMBED_SHELL_MODE_SEARCH_PROVIDER,
                        NULL);
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/epiphany-44.0/src/search-provider/ephy-search-provider.h 
new/epiphany-44.1/src/search-provider/ephy-search-provider.h
--- old/epiphany-44.0/src/search-provider/ephy-search-provider.h        
2023-03-17 17:32:33.000000000 +0100
+++ new/epiphany-44.1/src/search-provider/ephy-search-provider.h        
2023-04-02 16:14:45.000000000 +0200
@@ -22,6 +22,8 @@
 
 #include "ephy-shell-search-provider-generated.h"
 
+#include "ephy-embed-shell.h"
+
 #include <glib-object.h>
 #include <gio/gio.h>
 
@@ -29,7 +31,7 @@
 
 #define EPHY_TYPE_SEARCH_PROVIDER (ephy_search_provider_get_type ())
 
-G_DECLARE_FINAL_TYPE (EphySearchProvider, ephy_search_provider, EPHY, 
SEARCH_PROVIDER, GApplication)
+G_DECLARE_FINAL_TYPE (EphySearchProvider, ephy_search_provider, EPHY, 
SEARCH_PROVIDER, EphyEmbedShell)
 
 EphySearchProvider *ephy_search_provider_new (void);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/epiphany-44.0/src/window-commands.c 
new/epiphany-44.1/src/window-commands.c
--- old/epiphany-44.0/src/window-commands.c     2023-03-17 17:32:33.000000000 
+0100
+++ new/epiphany-44.1/src/window-commands.c     2023-04-02 16:14:45.000000000 
+0200
@@ -1067,7 +1067,7 @@
   adw_about_window_set_version (dialog, VERSION);
   adw_about_window_set_copyright (dialog,
                                   "Copyright © 2002–2004 Marco Pesenti 
Gritti\n"
-                                  "Copyright © 2003–2021 The GNOME Web 
Developers");
+                                  "Copyright © 2003–2023 The GNOME Web 
Developers");
   adw_about_window_set_developer_name (dialog, _("The GNOME Project"));
 
   adw_about_window_set_debug_info (dialog, debug_info);

Reply via email to