Compare commits

...
This repository has been archived on 2026-09-10. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

11 commits

Author SHA1 Message Date
Daiki Ueno
f7ebb406f9 Update to -0.18. 2010-09-06 10:31:25 +09:00
Ben Boeckel
ae7697fd06 Merge branch 'master' into f12 2010-08-20 23:28:55 -04:00
Ben Boeckel
d1294c31e3 Merge branch 'master' into f12
Conflicts:
	uzbl.spec
2010-08-06 18:44:38 -04:00
Fedora Release Engineering
ea8a73b847 dist-git conversion 2010-07-29 14:51:52 +00:00
1ac6f8cec2 new upstream snapshot. 2010-06-30 07:37:46 +00:00
5e5e393756 new upstream snapshot 2010-05-31 01:06:54 +00:00
7e401f7181 don't strip uzbl-core with the install command (closes #580250). 2010-04-08 08:35:30 +00:00
6d826a97e4 - split out uzbl-tabbed as a seperate package to avoid dependency on pygtk2
(partially merged a patch from Ben Boeckel <mathstuf@gmail.com>).
- new upstream snapshot.
2010-04-05 01:39:32 +00:00
fd8eefa712 Add dist number to Release. 2010-03-26 03:07:30 +00:00
d60f413fd5 Import uzbl. 2010-03-26 02:39:37 +00:00
0b0acf13d8 Initialize branch F-12 for uzbl 2010-03-25 20:59:32 +00:00
3 changed files with 49 additions and 1 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
uzbl-afc0f873e.tar.gz
/uzbl-afc0f873e.tar.gz

View file

@ -0,0 +1,42 @@
From c202a6b79eb3658c12ba2077cb175a2fe5ae30a1 Mon Sep 17 00:00:00 2001
From: Daiki Ueno <ueno@unixuser.org>
Date: Thu, 2 Sep 2010 12:35:41 +0900
Subject: [PATCH] Fix crash on "Open Image in New Window" (FS#231).
- create_web_view_js2_cb(): don't destroy web_view if uri is not a
"javascript:" URI.
- create_web_view_js_cb(): fix g_object_connect() call which must terminate
with a NULL signal name.
---
src/callbacks.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/callbacks.c b/src/callbacks.c
index d2352b2..37f392a 100644
--- a/src/callbacks.c
+++ b/src/callbacks.c
@@ -703,11 +703,10 @@ create_web_view_js2_cb (WebKitWebView* web_view, GParamSpec param_spec) {
if (strncmp(uri, "javascript:", strlen("javascript:")) == 0) {
eval_js(uzbl.gui.web_view, (gchar*) uri + strlen("javascript:"), NULL, "javascript:");
+ gtk_widget_destroy(GTK_WIDGET(web_view));
}
else
send_event(NEW_WINDOW, uri, NULL);
-
- gtk_widget_destroy(GTK_WIDGET(web_view));
}
@@ -717,7 +716,7 @@ create_web_view_js_cb (WebKitWebView* web_view, gpointer user_data) {
(void) user_data;
g_object_connect (web_view, "signal::notify::uri",
- G_CALLBACK(create_web_view_js2_cb), NULL);
+ G_CALLBACK(create_web_view_js2_cb), NULL, NULL);
return TRUE;
}
--
1.7.2.2

View file

@ -4,7 +4,7 @@ Name: uzbl
Summary: Lightweight WebKit browser following the UNIX philosophy
Group: Applications/Internet
Version: 0
Release: 0.17.20100626git%{uzblcommit}%{?dist}
Release: 0.18.20100626git%{uzblcommit}%{?dist}
License: GPLv3
URL: http://www.uzbl.org
# The source for this package was pulled from upstream's vcs. Use the
@ -19,6 +19,7 @@ Source1: %{name}.desktop
Patch0: %{name}-makefile.patch
# Security bug (RHBZ#621965)
Patch1: 0001-Don-t-shell-interpret-SELECTED_URI-fixes-FS-240.patch
Patch2: 0001-Fix-crash-on-Open-Image-in-New-Window-FS-231.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: webkitgtk-devel
@ -81,6 +82,7 @@ multiple uzbl-browser instances without getting lost.
%setup -q -n %{name}-%{uzblcommit}
%patch0 -p1
%patch1 -p1
%patch2 -p1
mkdir -p icons/hicolor/32x32/apps
mv examples/data/uzbl.png icons/hicolor/32x32/apps
@ -141,6 +143,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_bindir}/uzbl-tabbed
%changelog
* Mon Sep 6 2010 Daiki Ueno <dueno@redhat.com> - 0-0.18.20100626gitafc0f873e
- add patch to avoid crash on "Open Image in New Window" (#584733)
* Fri Aug 20 2010 Ben Boeckel <mathstuf@gmail.com> - 0-0.17.20100626gitafc0f873e
- Add Requires: on xclip