Commit Graph

162 Commits

Author SHA1 Message Date
Blair McBride
519eac8625 Bug 1057186 - Add a way to specify that nsDefaultURIFixup should obey the domain whitelist when not using keyword searches. r=smaug 2014-08-29 15:25:02 +12:00
Nigel Babu
da0857ddd3 Backed out changeset 7f58c77bb165 (bug 1057186) for xpshell bustage 2014-09-07 21:00:33 +05:30
Blair McBride
b3eac23c1f Bug 1057186 - Add a way to specify that nsDefaultURIFixup should obey the domain whitelist when not using keyword searches. r=smaug 2014-08-29 15:25:02 +12:00
Alex Bardas
49f0e89c67 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
1733d12a93 Bug 1042521: Drop some cases when backslashes from urlbar input were converted to slashes on windows, r=bz 2014-08-25 14:54:00 +01:00
Gijs Kruitbosch
90da134097 Bug 1047600 - duff protocol should never keyword search, r=smaug 2014-08-06 12:36:27 +01:00
Gijs Kruitbosch
1b0e601222 Bug 1047393 - fix crash in nsIURIFixup, r=gavin 2014-08-04 16:44:33 +01:00
Gijs Kruitbosch
4a801680c6 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.
2014-07-25 11:46:07 +01:00
Gijs Kruitbosch
5367622c27 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
5dcaddb118 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
d4ab56898a Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
eeb9aaaa94 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
95913f6157 Bug 910010 - Implementation of PFileDescriptorSet - part 1, r=khuey 2014-03-25 18:37:13 +00:00
Ehsan Akhgari
860f2c1f29 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
68bfe70f09 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
32ac7f4d2e Bug 393246 - Make URL fixup not query for Windows legacy encoding. r=bzbarsky. 2013-12-03 10:36:13 +02:00
Christian Legnitto
6794ac6321 Bug 935377 - Firefox should fix common scheme typos, r=bz 2013-11-17 12:16:45 -08:00
Michael Comella
18ca5c8c26 Bug 915355 - Part 1: Add comment clarifying a keyword-search event. r=gavin 2013-09-27 09:38:25 -07:00
Ehsan Akhgari
9ad38c5057 Bug 919505 - Minimize the #includes in dom/ipc; r=jst 2013-09-23 17:30:40 -04:00
Ehsan Akhgari
72f9dd261a Bug 912129 - Minimize the #includes in docshell/base; r=bzbarsky 2013-09-03 16:17:26 -04:00
Tom Schuster
9f6e43f932 Bug 905761 - Proxy nsDefaultURIFixup::KeywordToURI to the parent. r=smaug 2013-08-16 13:59:31 -04:00
Mike de Boer
98420b2ef8 Bug 862401: make sure nsDefaultURIFixup::KeywordToURI propagates POST data. sr=bz, r=gavin 2013-05-01 13:04:21 +02:00
Mike Kaply
7e4775facf Bug 865218: Allow application/x-moz-keywordsearch to work again. r=gavin 2013-05-01 22:49:14 -05:00
Margaret Leibovic
e1156bea14 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
d9f5637228 Bug 738818 part 2: remove keyword.URL, r=gavin, sr=bz 2013-03-21 11:51:27 +01:00
Mike de Boer
e0fc8480a3 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
62ee4376d7 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
6a0392635e Bug 738818 part 2: remove keyword.URL, r=gavin, sr=bz 2013-03-21 11:51:27 +01:00
Mike de Boer
7c2f007f23 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
ac1fc0b61f 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
63ca703368 Bug 587780 - Part 3 - Switch consumers from using a special content-type to the purpose argument. r=rnewman,gavin 2012-04-04 02:50:39 -07:00
Frank Yan
7e74d3d481 No bug - Fix nsIURI typos in comments. r=me 2013-01-17 22:05:28 -08:00
Mats Palmgren
7532b4e736 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
4b12480204 Back out ded200210541 (bug 693808) since it caused bug 809745 2012-11-16 13:00:02 -06:00
Gavin Sharp
a883c5fdec 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
c1788d16f3 Bug 693808 - Make number keywords in locationbar be searched as normal terms. r=jst 2012-11-01 19:23:14 -04:00
Randell Jesup
3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
243c878d26 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
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Geoff Lankow
7a64448b03 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Gavin Sharp
b0524955b2 Bug 738804: back out keyword.URL prompting code while we investigate other larger changes, r=fryn 2012-03-23 16:27:54 -07:00
Gavin Sharp
8fc351ee09 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-02-22 16:35:56 -08:00
Masatoshi Kimura
43b1ec40ee Bug 647403 - Add a pref for CreateFixupURI to use UTF-8; r=bz 2011-11-09 16:02:14 +01:00
Masatoshi Kimura
8729e3fbb6 Bug 691690 - Part 1: Add UTF-8 flag to createFixupURI. r=bz 2011-10-19 16:39:07 +09:00
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Daniel Holbert
7339980715 Bug 666901 followup: remove now-unused variable 'rv'. r=masayuki 2011-08-24 19:28:07 -07:00
Masayuki Nakano
128640d8a5 Bug 666901 docshell should use mozilla::Preferences r=bz 2011-06-25 10:55:46 +09:00
Ed Morley
5939100a93 Bug 655756 - Remove final XP_MAC remnants; r=josh 2011-05-10 20:24:48 +02:00