Commit Graph

69 Commits

Author SHA1 Message Date
Gijs Kruitbosch
0f75b032ec Bug 1083634 - entering a trailing slash after a domain should not do a search. r=smaug r=Unfocused 2014-12-22 00:03:26 +00:00
Gijs Kruitbosch
ea842a7fa1 Bug 1088050 - Add a pref to disable search for single-word hosts. r=smaug
--HG--
extra : rebase_source : 129691497ef6fe5b7168391ec08097eb9b22bc3c
2014-11-16 23:01:59 +00:00
Gijs Kruitbosch
44b9bce3a0 Bug 1057166 - move FHR reporting out of docshell and fix test to work in e10s, r=bz
--HG--
extra : rebase_source : d5b9122803f306ab08deb85b953bbc7129e182f0
2014-09-11 14:50:55 +01:00
Gijs Kruitbosch
d8e3e20495 Backed out changeset 3cc898b3ef5d (bug 1057166) for build bustage
--HG--
extra : rebase_source : 724c8cb9e4c021a523a58af7e2f53a23aaa1901a
2014-10-01 11:46:28 +01:00
Gijs Kruitbosch
9db078a24b Bug 1057166 - move FHR reporting out of docshell and fix test to work in e10s, r=bz 2014-09-11 14:50:55 +01:00
Alex Bardas
47710df06a Bug 1067168 - Ipv4 with trailing slash input in locationbar should open the address, not perform a search. r=smaug 2014-09-16 13:20:00 -04:00
Alex Bardas
471899a543 Bug 494092 - Make default uri fixup more permissive, taking into account ipv4, ipv6, asciihost and improve test base. r=smaug 2014-09-10 12:42:00 -04:00
Blair McBride
08350ab349 Bug 1057186 - Add a way to specify that nsDefaultURIFixup should obey the domain whitelist when not using keyword searches. r=smaug
--HG--
extra : transplant_source : %92E.%2CV%E0%80%A4%B6%1B%E8D%91%0Ft%F3%5D%13%88%96
2014-08-29 15:25:02 +12:00
Nigel Babu
3dc03ef4b4 Backed out changeset 7f58c77bb165 (bug 1057186) for xpshell bustage 2014-09-07 21:00:33 +05:30
Blair McBride
d641de1dca Bug 1057186 - Add a way to specify that nsDefaultURIFixup should obey the domain whitelist when not using keyword searches. r=smaug
--HG--
extra : transplant_source : %D5%AC%02%CE34%F8%D8.%7E%87%9AZ%C0%B5%21%16%F5H%D3
2014-08-29 15:25:02 +12:00
Alex Bardas
d956f98bcb Bug 1042521 - Use original input when calling KeywordToURI and do not trim the input before calling urifixup in tests. r=Gijs 2014-08-29 11:13:00 +02:00
Alex Bardas
2e4e8405f4 Bug 1042521: Drop some cases when backslashes from urlbar input were converted to slashes on windows, r=bz
--HG--
extra : rebase_source : ae7fea31c3b7b682874b765d272344ecf0c96aad
2014-08-25 14:54:00 +01:00
Gijs Kruitbosch
e465af2764 Bug 1047600 - duff protocol should never keyword search, r=smaug
--HG--
extra : rebase_source : 602b5f9c89ede5e717658ad21e698260c2e2f808
2014-08-06 12:36:27 +01:00
Gijs Kruitbosch
da3a22f361 Bug 1047393 - fix crash in nsIURIFixup, r=gavin
--HG--
extra : rebase_source : 054a4d4e0f0893f7497390071cc3a1c59f8af575
2014-08-04 16:44:33 +01:00
Gijs Kruitbosch
02d9143ece Bug 1042519 - test. should result in a keyword lookup instead of an error page, r=bz,mak
Also taking the opportunity to rework the nsIURIFixupInfo interface to use more sensible booleans, and the relevant test to specify outcomes directly, instead of trying to use the same logic as the implementation to infer them from the input.

--HG--
extra : rebase_source : 43b54b9ff412c05dc3fd2575a80919fc085d2d49
2014-07-25 11:46:07 +01:00
Gijs Kruitbosch
bb26ac0825 Bug 693808 - part 1: entering numbers+Enter in the location bar should bring search results immediately if domain is not whitelisted, r=bz 2014-04-24 23:42:00 +01:00
Gijs Kruitbosch
6e7a53cb8b Bug 982428 - allow fixing up URIs with schemes that we can't handle, r=bz 2014-06-19 19:22:45 +01:00
Birunthan Mohanathas
6f68094e30 Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Andrea Marchesini
4fad1489fb Bug 910010 - Implementation of PFileDescriptorSet - part 1, r=khuey 2014-03-25 18:37:13 +00:00
Ehsan Akhgari
b870bb3fe9 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Ehsan Akhgari
ebd358dfd7 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Henri Sivonen
e1039e6e8b Bug 393246 - Make URL fixup not query for Windows legacy encoding. r=bzbarsky. 2013-12-03 10:36:13 +02:00
Christian Legnitto
7ffe6af0ab Bug 935377 - Firefox should fix common scheme typos, r=bz 2013-11-17 12:16:45 -08:00
Michael Comella
023676024d Bug 915355 - Part 1: Add comment clarifying a keyword-search event. r=gavin 2013-09-27 09:38:25 -07:00
Ehsan Akhgari
671bbdc894 Bug 919505 - Minimize the #includes in dom/ipc; r=jst 2013-09-23 17:30:40 -04:00
Ehsan Akhgari
77dc953fd1 Bug 912129 - Minimize the #includes in docshell/base; r=bzbarsky
--HG--
extra : rebase_source : b0c00f4b1c1f0c3c0754ff9fa8cb9bd28b78b1fd
2013-09-03 16:17:26 -04:00
Tom Schuster
d5223db06f Bug 905761 - Proxy nsDefaultURIFixup::KeywordToURI to the parent. r=smaug 2013-08-16 13:59:31 -04:00
Mike de Boer
cf90490fe7 Bug 862401: make sure nsDefaultURIFixup::KeywordToURI propagates POST data. sr=bz, r=gavin
--HG--
rename : browser/base/content/test/browser_keywordSearch.js => browser/base/content/test/browser_keywordSearch_postData.js
rename : content/base/test/bug435425.sjs => browser/base/content/test/print_postdata.sjs
2013-05-01 13:04:21 +02:00
Mike Kaply
d6ae2da7d3 Bug 865218: Allow application/x-moz-keywordsearch to work again. r=gavin
--HG--
extra : rebase_source : 7c9d9498a061a7b7a91a35e3d10a22d94cf3d449
2013-05-01 22:49:14 -05:00
Margaret Leibovic
5939abd93c Bug 823230 - (Part 1) Pass search term along with "keyword-search" notification. r=gavin 2013-04-10 11:02:04 -07:00
Mike de Boer
ee3088104f Bug 738818 part 2: remove keyword.URL, r=gavin, sr=bz 2013-03-21 11:51:27 +01:00
Mike de Boer
9b701a78f4 Bug 738818 part 1: replace originalDefaultEngine with defaultEngine and make defaultEngine a settable. r=gavin 2013-04-09 17:04:22 -07:00
Phil Ringnalda
44417e0b7c Back out ec6dd0cc8053:3c55e92d87a6 (bug 738818) for being on top of bustage, and b50153f9e011 (bug 819493) for bustage
CLOSED TREE
2013-04-09 21:14:56 -07:00
Mike de Boer
9fdfa69f4a Bug 738818 part 2: remove keyword.URL, r=gavin, sr=bz 2013-03-21 11:51:27 +01:00
Mike de Boer
5f809e9eca Bug 738818 part 1: replace originalDefaultEngine with defaultEngine and make defaultEngine a settable. r=gavin 2013-04-09 17:04:22 -07:00
Gregory Szorc
436a1df10c Bug 840177 - Part 5: Add observer notification for keyword searches; r=gavin
The intent is for this to be captured by Firefox Health Report.
2013-02-14 14:47:47 -08:00
Matthew Noorenberghe
195ad79959 Bug 587780 - Part 3 - Switch consumers from using a special content-type to the purpose argument. r=rnewman,gavin
--HG--
extra : rebase_source : 0803327b33f416fb0c679015495d376f6bce19a0
2012-04-04 02:50:39 -07:00
Frank Yan
9d69e4094a No bug - Fix nsIURI typos in comments. r=me 2013-01-17 22:05:28 -08:00
Mats Palmgren
6c53161814 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Gavin Sharp
deaa3cbc7b Back out ded200210541 (bug 693808) since it caused bug 809745 2012-11-16 13:00:02 -06:00
Gavin Sharp
3187753491 Bug 718088: offer to re-set keyword.URL if it has a non-default value, r=bz on the docshell parts, r=fryn on the rest, ui-r=limi. 2012-11-06 09:14:35 -08:00
Abhishek Rajput
71c8561c7e Bug 693808 - Make number keywords in locationbar be searched as normal terms. r=jst 2012-11-01 19:23:14 -04:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Gavin Sharp
d52625521a Bug 738804: back out keyword.URL prompting code while we investigate other larger changes, r=fryn
--HG--
extra : transplant_source : %F0G%AD%A1%89%C6%93%BB%CB/t%9E%DE%14%E9%7D2%91%EFF
2012-03-23 16:27:54 -07:00
Gavin Sharp
7ab87937cc Bug 718088: offer to re-set keyword.URL if it has a non-default value, r=bz on the docshell parts, r=fryn on the rest, ui-r=limi
--HG--
extra : transplant_source : F%5E%C6ge%1B%5B%14%0C%20%C4%C7%82%DA%D9%96%C0%86%A5%C6
2012-02-22 16:35:56 -08:00