Author: adwol Date: Wed Jun 6 09:51:23 2012 GMT Module: packages Tag: HEAD ---- Log message: - restored url paste without http:// or similar prefix via middle mouse button click (http://shallowsky.com/blog/tech/web/firefox4-content-load.html) - rel 2
---- Files affected: packages/iceweasel: iceweasel.spec (1.183 -> 1.184) , iceweasel-middle_click_paste.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/iceweasel/iceweasel.spec diff -u packages/iceweasel/iceweasel.spec:1.183 packages/iceweasel/iceweasel.spec:1.184 --- packages/iceweasel/iceweasel.spec:1.183 Tue Jun 5 21:55:21 2012 +++ packages/iceweasel/iceweasel.spec Wed Jun 6 11:51:17 2012 @@ -32,7 +32,7 @@ Summary(pl.UTF-8): Iceweasel - przeglÄ…darka WWW Name: iceweasel Version: 13.0 -Release: 1 +Release: 2 License: MPL 1.1 or GPL v2+ or LGPL v2.1+ Group: X11/Applications/Networking Source0: ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/source/firefox-%{version}.source.tar.bz2 @@ -53,6 +53,7 @@ Patch8: %{name}-pld-branding.patch Patch9: %{name}-no-subshell.patch Patch10: system-cairo.patch +Patch11: %{name}-middle_click_paste.patch URL: http://www.pld-linux.org/Packages/Iceweasel BuildRequires: GConf2-devel >= 1.2.1 BuildRequires: OpenGL-devel @@ -180,6 +181,7 @@ %patch8 -p1 %patch9 -p2 %patch10 -p2 +%patch11 -p2 # config/rules.mk is patched by us and js/src/config/rules.mk # is supposed to be exact copy @@ -575,6 +577,11 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.184 2012/06/06 09:51:17 adwol +- restored url paste without http:// or similar prefix via middle mouse + button click (http://shallowsky.com/blog/tech/web/firefox4-content-load.html) +- rel 2 + Revision 1.183 2012/06/05 19:55:21 baggins - rel 1 ================================================================ Index: packages/iceweasel/iceweasel-middle_click_paste.patch diff -u /dev/null packages/iceweasel/iceweasel-middle_click_paste.patch:1.1 --- /dev/null Wed Jun 6 11:51:23 2012 +++ packages/iceweasel/iceweasel-middle_click_paste.patch Wed Jun 6 11:51:17 2012 @@ -0,0 +1,18 @@ +--- iceweasel-13.0/mozilla/browser/base/content/browser.js.orig 2012-06-06 11:12:17.021562264 +0200 ++++ iceweasel-13.0/mozilla/browser/base/content/browser.js 2012-06-06 11:21:37.000000000 +0200 +@@ -5953,12 +5953,9 @@ + + let mayInheritPrincipal = { value: false }; + let url = getShortcutOrURI(clipboard, mayInheritPrincipal); +- try { +- makeURI(url); +- } catch (ex) { +- // Not a valid URI. +- return; +- } ++ var URIFixup = Components.classes["@mozilla.org/docshell/urifixup;1"].getService(Components.interfaces.nsIURIFixup); ++ url = URIFixup.createFixupURI(url, 1).spec; ++ // 1 is FIXUP_FLAG_ALLOW_KEYWORD_LOOKUP + + try { + addToUrlbarHistory(url); ================================================================ ---- CVS-web: http://cvs.pld-linux.org/packages/iceweasel/iceweasel.spec?r1=1.183&r2=1.184 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit