Commit Graph

118 Commits

Author SHA1 Message Date
Gijs Kruitbosch
acb006debe 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
aff56ac9f2 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
c7d764da67 Backed out changeset 3cc898b3ef5d (bug 1057166) for build bustage
--HG--
extra : rebase_source : 724c8cb9e4c021a523a58af7e2f53a23aaa1901a
2014-10-01 11:46:28 +01:00
Gijs Kruitbosch
22e6962ade 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
f2be657c11 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
1493d8720a 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
e310a71f9c 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
d2e661077b Backed out changeset 7f58c77bb165 (bug 1057186) for xpshell bustage 2014-09-07 21:00:33 +05:30
Blair McBride
fc48882068 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
8ae8897e9d 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
8ee4903e6b 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
415e2f4067 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
1340beff86 Bug 1047393 - fix crash in nsIURIFixup, r=gavin
--HG--
extra : rebase_source : 054a4d4e0f0893f7497390071cc3a1c59f8af575
2014-08-04 16:44:33 +01:00
Gijs Kruitbosch
98f4f1ce42 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
343ce35d7f 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
789560010d 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
952b834c76 Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
5f1fde8824 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
fdcbca4082 Bug 910010 - Implementation of PFileDescriptorSet - part 1, r=khuey 2014-03-25 18:37:13 +00:00
Ehsan Akhgari
d91d200572 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
1b83407ce9 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
ecf0de8875 Bug 393246 - Make URL fixup not query for Windows legacy encoding. r=bzbarsky. 2013-12-03 10:36:13 +02:00
Christian Legnitto
3948d15ac9 Bug 935377 - Firefox should fix common scheme typos, r=bz 2013-11-17 12:16:45 -08:00
Michael Comella
1908d15a04 Bug 915355 - Part 1: Add comment clarifying a keyword-search event. r=gavin 2013-09-27 09:38:25 -07:00
Ehsan Akhgari
8c43a4f37f Bug 919505 - Minimize the #includes in dom/ipc; r=jst 2013-09-23 17:30:40 -04:00
Ehsan Akhgari
1bbecd33dc 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
14d0dced66 Bug 905761 - Proxy nsDefaultURIFixup::KeywordToURI to the parent. r=smaug 2013-08-16 13:59:31 -04:00
Mike de Boer
d9866baf99 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
d3d9294eac 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
015433b7eb 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
f76da1286d Bug 738818 part 2: remove keyword.URL, r=gavin, sr=bz 2013-03-21 11:51:27 +01:00
Mike de Boer
1eec33d031 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
b5220914bd 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
2c2f0b79b2 Bug 738818 part 2: remove keyword.URL, r=gavin, sr=bz 2013-03-21 11:51:27 +01:00
Mike de Boer
019c7db2a8 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
c97c97b484 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
3b61721a12 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
128e526c18 No bug - Fix nsIURI typos in comments. r=me 2013-01-17 22:05:28 -08:00
Mats Palmgren
b7ae90666d 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
b261e2e176 Back out ded200210541 (bug 693808) since it caused bug 809745 2012-11-16 13:00:02 -06:00
Gavin Sharp
2b2e7edf42 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
1c17e4d326 Bug 693808 - Make number keywords in locationbar be searched as normal terms. r=jst 2012-11-01 19:23:14 -04:00
Randell Jesup
65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
e368dc9c85 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
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Geoff Lankow
5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Gavin Sharp
14d06b5477 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
c7ed634880 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
Masatoshi Kimura
59ad76d69d Bug 647403 - Add a pref for CreateFixupURI to use UTF-8; r=bz 2011-11-09 16:02:14 +01:00