1 |
pacho 10/07/05 21:43:04 |
2 |
|
3 |
Added: epiphany-2.30.2-uri-crash.patch |
4 |
epiphany-2.30.2-history-embed.patch |
5 |
epiphany-2.30.2-referer-downloads.patch |
6 |
epiphany-2.30.2-favicons-completion.patch |
7 |
epiphany-2.30.2-leave-fullscreen.patch |
8 |
Log: |
9 |
Revision bump to include some upstream fixes. |
10 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.1 www-client/epiphany/files/epiphany-2.30.2-uri-crash.patch |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/epiphany/files/epiphany-2.30.2-uri-crash.patch?rev=1.1&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/epiphany/files/epiphany-2.30.2-uri-crash.patch?rev=1.1&content-type=text/plain |
17 |
|
18 |
Index: epiphany-2.30.2-uri-crash.patch |
19 |
=================================================================== |
20 |
From 6a4715b8a9df0bc16394c890cd734bc0601bfd03 Mon Sep 17 00:00:00 2001 |
21 |
From: Gustavo Noronha Silva <gns@×××××.org> |
22 |
Date: Mon, 17 May 2010 15:17:46 +0000 |
23 |
Subject: Fix crash when trying to load URIs with no path |
24 |
|
25 |
Trying to load file:, for instance, will crash Epiphany. This commit |
26 |
fixes this. See http://bugs.debian.org/554595. |
27 |
--- |
28 |
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c |
29 |
index 2e08480..d8604cb 100644 |
30 |
--- a/embed/ephy-web-view.c |
31 |
+++ b/embed/ephy-web-view.c |
32 |
@@ -2688,7 +2688,7 @@ ephy_web_view_can_go_up (EphyWebView *view) |
33 |
return FALSE; |
34 |
} |
35 |
|
36 |
- result = (uri->fragment || uri->query || strlen (uri->path) > 1); |
37 |
+ result = uri->fragment || uri->query || (uri->path && (strlen (uri->path) > 1)); |
38 |
soup_uri_free (uri); |
39 |
|
40 |
return result; |
41 |
-- |
42 |
cgit v0.8.3.1 |
43 |
|
44 |
|
45 |
|
46 |
1.1 www-client/epiphany/files/epiphany-2.30.2-history-embed.patch |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/epiphany/files/epiphany-2.30.2-history-embed.patch?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/epiphany/files/epiphany-2.30.2-history-embed.patch?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: epiphany-2.30.2-history-embed.patch |
52 |
=================================================================== |
53 |
From be3c8f50cefef8ea3f34854c0254b3bdaa851958 Mon Sep 17 00:00:00 2001 |
54 |
From: Mario Sanchez Prada <msanchez@××××××.com> |
55 |
Date: Tue, 20 Apr 2010 20:15:25 +0000 |
56 |
Subject: Allow not copying history when creating a new embed |
57 |
|
58 |
Just added a new flag and check it before copying the history |
59 |
|
60 |
Bug #611400 |
61 |
|
62 |
Signed-off-by: Xan Lopez <xan@×××××.org> |
63 |
--- |
64 |
diff --git a/src/ephy-shell.c b/src/ephy-shell.c |
65 |
index e276731..fc4caf9 100644 |
66 |
--- a/src/ephy-shell.c |
67 |
+++ b/src/ephy-shell.c |
68 |
@@ -435,6 +435,7 @@ ephy_shell_new_tab_full (EphyShell *shell, |
69 |
gboolean open_page = FALSE; |
70 |
gboolean jump_to; |
71 |
gboolean active_is_blank = FALSE; |
72 |
+ gboolean copy_history = TRUE; |
73 |
GtkWidget *nb; |
74 |
int position = -1; |
75 |
gboolean is_empty = FALSE; |
76 |
@@ -443,6 +444,7 @@ ephy_shell_new_tab_full (EphyShell *shell, |
77 |
if (flags & EPHY_NEW_TAB_OPEN_PAGE) open_page = TRUE; |
78 |
if (flags & EPHY_NEW_TAB_IN_NEW_WINDOW) in_new_window = TRUE; |
79 |
if (flags & EPHY_NEW_TAB_IN_EXISTING_WINDOW) in_new_window = FALSE; |
80 |
+ if (flags & EPHY_NEW_TAB_DONT_COPY_HISTORY) copy_history = FALSE; |
81 |
|
82 |
in_new_window = in_new_window && !eel_gconf_get_boolean (CONF_LOCKDOWN_FULLSCREEN); |
83 |
g_return_val_if_fail (open_page == (gboolean)(request != NULL), NULL); |
84 |
@@ -493,11 +495,11 @@ ephy_shell_new_tab_full (EphyShell *shell, |
85 |
ephy_embed_container_add_child (EPHY_EMBED_CONTAINER (window), embed, position, jump_to); |
86 |
} |
87 |
|
88 |
- if (previous_embed != NULL) |
89 |
- { |
90 |
+ if (copy_history && previous_embed != NULL) |
91 |
+ { |
92 |
ephy_web_view_copy_back_history (ephy_embed_get_web_view (previous_embed), |
93 |
ephy_embed_get_web_view (embed)); |
94 |
- } |
95 |
+ } |
96 |
|
97 |
ephy_gui_window_update_user_time (GTK_WIDGET (window), user_time); |
98 |
|
99 |
diff --git a/src/ephy-shell.h b/src/ephy-shell.h |
100 |
index c87a43b..895c91d 100644 |
101 |
--- a/src/ephy-shell.h |
102 |
+++ b/src/ephy-shell.h |
103 |
@@ -69,6 +69,7 @@ typedef enum |
104 |
|
105 |
/* The way to load */ |
106 |
EPHY_NEW_TAB_FROM_EXTERNAL = 1 << 12, |
107 |
+ EPHY_NEW_TAB_DONT_COPY_HISTORY = 1 << 13, |
108 |
|
109 |
} EphyNewTabFlags; |
110 |
|
111 |
-- |
112 |
cgit v0.8.3.1 |
113 |
|
114 |
|
115 |
|
116 |
1.1 www-client/epiphany/files/epiphany-2.30.2-referer-downloads.patch |
117 |
|
118 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/epiphany/files/epiphany-2.30.2-referer-downloads.patch?rev=1.1&view=markup |
119 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/epiphany/files/epiphany-2.30.2-referer-downloads.patch?rev=1.1&content-type=text/plain |
120 |
|
121 |
Index: epiphany-2.30.2-referer-downloads.patch |
122 |
=================================================================== |
123 |
From b30cf3d0e24c51b0f77979af49f200bbac5bd050 Mon Sep 17 00:00:00 2001 |
124 |
From: Mario Sanchez Prada <msanchez@××××××.com> |
125 |
Date: Wed, 14 Apr 2010 16:06:36 +0000 |
126 |
Subject: Send 'Referer' on headers sent for context menu HTTP downloads |
127 |
|
128 |
Make sure the EphyEmbedPersist object is created specifying the |
129 |
EphyEmbed object, and create the network request inside of it |
130 |
using the URL from the associated web view as 'Referer' |
131 |
|
132 |
Bug #136292 |
133 |
|
134 |
Signed-off-by: Xan Lopez <xan@×××××.org> |
135 |
--- |
136 |
diff --git a/embed/ephy-embed-persist.c b/embed/ephy-embed-persist.c |
137 |
index 44910fe..8ee3df3 100644 |
138 |
--- a/embed/ephy-embed-persist.c |
139 |
+++ b/embed/ephy-embed-persist.c |
140 |
@@ -763,7 +763,36 @@ ephy_embed_persist_save (EphyEmbedPersist *persist) |
141 |
*/ |
142 |
g_object_ref (persist); |
143 |
|
144 |
- request = webkit_network_request_new (priv->source); |
145 |
+ if (priv->embed) |
146 |
+ { |
147 |
+ EphyWebView *web_view; |
148 |
+ SoupMessage *msg; |
149 |
+ gchar *referer; |
150 |
+ |
151 |
+ /* Get the webview associated to the embed */ |
152 |
+ web_view = ephy_embed_get_web_view (priv->embed); |
153 |
+ |
154 |
+ /* Create the request with a SoupMessage to allow |
155 |
+ setting the 'Referer' as got from the embed */ |
156 |
+ msg = soup_message_new (SOUP_METHOD_GET, priv->source); |
157 |
+ request = WEBKIT_NETWORK_REQUEST ( |
158 |
+ g_object_new (WEBKIT_TYPE_NETWORK_REQUEST, |
159 |
+ "message", msg, |
160 |
+ NULL)); |
161 |
+ |
162 |
+ /* Add the referer to the request headers */ |
163 |
+ referer = ephy_web_view_get_location (web_view, FALSE); |
164 |
+ soup_message_headers_append (msg->request_headers, |
165 |
+ "Referer", referer); |
166 |
+ g_free (referer); |
167 |
+ g_object_unref (msg); |
168 |
+ } |
169 |
+ else |
170 |
+ { |
171 |
+ /* Create a normal network request otherwise */ |
172 |
+ request = webkit_network_request_new (priv->source); |
173 |
+ } |
174 |
+ |
175 |
priv->download = webkit_download_new (request); |
176 |
g_object_unref (request); |
177 |
|
178 |
diff --git a/src/popup-commands.c b/src/popup-commands.c |
179 |
index 8930d83..c620d08 100644 |
180 |
--- a/src/popup-commands.c |
181 |
+++ b/src/popup-commands.c |
182 |
@@ -237,6 +237,7 @@ save_property_url (GtkAction *action, |
183 |
ephy_embed_persist_set_persist_key |
184 |
(persist, CONF_STATE_SAVE_DIR); |
185 |
ephy_embed_persist_set_source (persist, location); |
186 |
+ ephy_embed_persist_set_embed (persist, embed); |
187 |
|
188 |
g_signal_connect (persist, "completed", |
189 |
G_CALLBACK (save_property_url_completed_cb), NULL); |
190 |
-- |
191 |
cgit v0.8.3.1 |
192 |
|
193 |
|
194 |
|
195 |
1.1 www-client/epiphany/files/epiphany-2.30.2-favicons-completion.patch |
196 |
|
197 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/epiphany/files/epiphany-2.30.2-favicons-completion.patch?rev=1.1&view=markup |
198 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/epiphany/files/epiphany-2.30.2-favicons-completion.patch?rev=1.1&content-type=text/plain |
199 |
|
200 |
Index: epiphany-2.30.2-favicons-completion.patch |
201 |
=================================================================== |
202 |
From 0739487127652cf544257e7a0d48caa580f98ad2 Mon Sep 17 00:00:00 2001 |
203 |
From: Diego Escalante Urrelo <descalante@××××××.com> |
204 |
Date: Tue, 20 Apr 2010 22:18:12 +0000 |
205 |
Subject: ephy-location-entry: reenable favicons in completion |
206 |
|
207 |
Favicons in the completion popup were hidden because of an ugly flashing. It |
208 |
turns out it is caused by gtk_entry_set_icon_from_* functions. They queue a |
209 |
resize if the GtkEntry is visible, hence we see this ugly flash which is |
210 |
actually the completion obeying to the resize. |
211 |
|
212 |
The side effect is that when you start typying a new address in the location |
213 |
entry, the favicon of the current location will still be displayed. The |
214 |
previous behaviour was to set a 'text/html' icon when the user edited the |
215 |
location entry. Note that such icon will disappear as soon as you activate the |
216 |
location entry. |
217 |
|
218 |
Bug #616345 |
219 |
--- |
220 |
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c |
221 |
index cf34789..1f03810 100644 |
222 |
--- a/lib/widgets/ephy-location-entry.c |
223 |
+++ b/lib/widgets/ephy-location-entry.c |
224 |
@@ -466,8 +466,6 @@ editable_changed_cb (GtkEditable *editable, |
225 |
g_regex_unref (quote_regex); |
226 |
} |
227 |
|
228 |
- update_favicon (entry); |
229 |
- |
230 |
g_signal_emit (entry, signals[USER_CHANGED], 0); |
231 |
} |
232 |
|
233 |
@@ -1253,16 +1251,11 @@ ephy_location_entry_set_completion (EphyLocationEntry *entry, |
234 |
g_signal_connect_after (completion, "action-activated", |
235 |
G_CALLBACK (action_activated_after_cb), entry); |
236 |
|
237 |
- /* FIXME: this works fine, but the favicons seem to be |
238 |
- * added-removed the view constantly, and the visual effect is |
239 |
- * very ugly */ |
240 |
-#if 0 |
241 |
cell = gtk_cell_renderer_pixbuf_new (); |
242 |
gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (completion), |
243 |
cell, FALSE); |
244 |
gtk_cell_layout_add_attribute (GTK_CELL_LAYOUT (completion), |
245 |
cell, "pixbuf", favicon_col); |
246 |
-#endif |
247 |
|
248 |
cell = gtk_cell_renderer_text_new (); |
249 |
g_object_set (cell, |
250 |
-- |
251 |
cgit v0.8.3.1 |
252 |
|
253 |
|
254 |
|
255 |
1.1 www-client/epiphany/files/epiphany-2.30.2-leave-fullscreen.patch |
256 |
|
257 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/epiphany/files/epiphany-2.30.2-leave-fullscreen.patch?rev=1.1&view=markup |
258 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/epiphany/files/epiphany-2.30.2-leave-fullscreen.patch?rev=1.1&content-type=text/plain |
259 |
|
260 |
Index: epiphany-2.30.2-leave-fullscreen.patch |
261 |
=================================================================== |
262 |
From 7f5202b49a8015bc09faa6e10c9f78c3e97ab83b Mon Sep 17 00:00:00 2001 |
263 |
From: Diego Escalante Urrelo <descalante@××××××.com> |
264 |
Date: Mon, 01 Mar 2010 03:05:43 +0000 |
265 |
Subject: ephy-toolbar: fix leave-fullscreen item visibility |
266 |
|
267 |
We were explicitely setting the separator and toolbar visibility but not the |
268 |
exit_button item. This meant the fixed_toolbar was shown but the exit_button |
269 |
remained hidden. |
270 |
|
271 |
Bug #611445 |
272 |
--- |
273 |
diff --git a/src/ephy-toolbar.c b/src/ephy-toolbar.c |
274 |
index a721831..9bb1e61 100644 |
275 |
--- a/src/ephy-toolbar.c |
276 |
+++ b/src/ephy-toolbar.c |
277 |
@@ -135,6 +135,7 @@ ephy_toolbar_update_fixed_visibility (EphyToolbar *toolbar) |
278 |
|
279 |
show = priv->leave_fullscreen_visible; |
280 |
g_object_set (priv->sep_item, "visible", show, NULL); |
281 |
+ g_object_set (priv->exit_button, "visible", show, NULL); |
282 |
g_object_set (priv->fixed_toolbar, "visible", show, NULL); |
283 |
} |
284 |
|
285 |
-- |
286 |
cgit v0.8.3.1 |