Commit Graph

76 Commits

Author SHA1 Message Date
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
Masatoshi Kimura
d6147c4165 Bug 691690 - Part 1: Add UTF-8 flag to createFixupURI. r=bz 2011-10-19 16:39:07 +09:00
Ehsan Akhgari
92064e6d3f 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
d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Daniel Holbert
46861b7709 Bug 666901 followup: remove now-unused variable 'rv'. r=masayuki 2011-08-24 19:28:07 -07:00
Masayuki Nakano
d3e078cfbc Bug 666901 docshell should use mozilla::Preferences r=bz 2011-06-25 10:55:46 +09:00
Ed Morley
97cc9c4eea Bug 655756 - Remove final XP_MAC remnants; r=josh 2011-05-10 20:24:48 +02:00
Mitchell Field
a6788f0842 Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras 2011-02-20 06:10:24 +11:00
Gavin Sharp
ca80c4b703 Bug 608198: nsDefaultURIFixup::KeywordToURI should always strip leading "?" from keywords, r=bz, a=blocking 2010-10-31 16:01:28 -04:00
Ian Neal
1a7c1b888b Bug 589613 - [SeaMonkey 2.1, mochitest-browser-chrome] browser_Services.js | Services.search exists
r=gavin a=NPOTB
2010-09-18 13:42:07 +01:00
Gavin Sharp
b117494ed3 Backed out changeset 2a216165e361 (bug 589613), a=shutuphook 2010-09-11 13:46:39 -04:00
Ian Neal
f95a154eae Bug 589613 - [SeaMonkey 2.1, mochitest-browser-chrome] browser_Services.js | Services.search exists
r/a=gavin
2010-09-10 13:29:15 +01:00
Gavin Sharp
138d201223 Bug 591371: use originalDefaultEngine for keyword search and about:home, r=jrmuizel, a=blocker
--HG--
extra : rebase_source : 44727c4806b8810f7cdf12219ee717f00ac6e855
2010-08-27 16:39:20 -04:00
Gavin Sharp
b5c57641d4 Bug 587719: look for special application/x-moz-keyword-url URL type for keyword searches, to allow keyword-search-specific URLs, r=jrmuizel/Pike, a=beltzner
--HG--
extra : rebase_source : 615d18f0086f2d2caf026ce6a48d69b0b89c7a8d
2010-08-16 13:47:39 -04:00
Gavin Sharp
1c1f4fa927 Bug 586821 - Add affiliate URL queries to location bar search r,a=jst
--HG--
rename : toolkit/components/search/nsIBrowserSearchService.idl => netwerk/base/public/nsIBrowserSearchService.idl
extra : rebase_source : 77a06966db94e05fafdcb152bb6d5f40bef350ee
2010-08-14 18:15:21 +02:00
Boris Zbarsky
36651912c4 Bug 550458. Treat quotes the same as spaces for determining whether a string should be passed to keyword.URL. r=jst 2010-03-08 19:30:02 -05:00
mconnor@steelgryphon.com
8dd327f60e backing out bug 393246 for final to resolve bug 432836, a=schrep 2008-05-09 17:53:37 -07:00
reed@reedloden.com
19a507b921 Bug 393246 - "CreateFixupURI should use UTF-8, not the system charset" [p=dao@mozilla.com (Dão Gottwald) r+sr=biesi a1.9=beltzner] 2008-03-18 12:29:16 -07:00
gavin%gavinsharp.com
b0de55cc73 Bug 212852: Browser assumes ftp protocol for URL's beginning with 'ftp' and written without protocol in address field, patch by Magnus Melin <mkmelin+mozilla@iki.fi>, r=biesi, sr=darin 2006-12-16 14:32:19 +00:00
gavin%gavinsharp.com
350e03f0a3 Bug 323798: Keyword URL Needs to be localized, r=axel, sr=bzbarsky 2006-07-26 01:19:42 +00:00
brettw%gmail.com
a1da3222e2 Bug 245597 (for (pkasting@google.com) r=darin sr=bz Keyword search should be activated for anything that isn't parseable as a URI 2006-06-15 21:15:28 +00:00
bzbarsky%mit.edu
e80a83a9fd Remove the keyword: protocol handler. Expose the functionality on nsIURIFixup
instead.  Bug 337339 and bug 264830, r=biesi, sr=darin
2006-05-16 03:02:28 +00:00
bzbarsky%mit.edu
0d74057281 Don't do URI fixup if NS_NewURI throws some random error. Bug 335193, r=biesi, sr+branch181=darin 2006-04-25 01:53:06 +00:00
cbiesinger%web.de
f075dc72a5 bug 330727 add BeOS to XP_UNIX ifdef to allow entering local paths in the
urlbar directly
r=sergei_d sr=darin
2006-03-17 16:42:42 +00:00
cbiesinger%web.de
c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
cbiesinger%web.de
54e4962198 Bug 261608 only search for colon in the first word of a string when checking
whether we have a url or keyword
patch by Jeff Walden (remove +bmo to email) <jwalden+bmo@mit.edu> r=caillon
sr=darin

no tp affect - checking in again
2004-12-04 22:38:54 +00:00
cbiesinger%web.de
1ced84d884 backing out Bug 261608 to see whether it fixes the Tp regression 2004-12-04 20:32:08 +00:00
cbiesinger%web.de
8ace54dc3d Bug 261608 only search for colon in the first word of a string when checking
whether we have a url or keyword
patch by Jeff Walden (remove +bmo to email) <jwalden+bmo@mit.edu> r=caillon
sr=darin
2004-12-04 17:47:14 +00:00
cbiesinger%web.de
cdfb55dbc0 bug 267079 don't use EqualsIgnoreCase for a string not containing characters;
and replace the deprecated .Mid with StringTail. r=bzbarsky sr=darin
2004-11-06 17:28:22 +00:00
dveditz%cruzio.com
bbf0339719 bug 157354 suppress display of user:pass (pref controlled) to help with spoofing; r=caillon,sr=bz,a=asa 2004-09-09 14:27:52 +00:00
roc+%cs.cmu.edu
0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
gerv%gerv.net
9d2ee4928c Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
bzbarsky%mit.edu
f06faf1267 Make URI fixup work with UTF8 strings, mostly... Bug 211181, r=adamlock, sr=darin 2003-07-02 00:39:51 +00:00
alecf%flett.org
2751c6b097 fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
2003-06-11 18:16:03 +00:00
dwitte%stanford.edu
270d3909ca bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
seawood%netscape.com
80e1b303cc Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
timeless%mozdev.org
697618b07d Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
dbaron%dbaron.org
098bd15103 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 19:35:36 +00:00
caillon%returnzero.com
9e32208e77 182725 - nsIPref is deprecated - use nsIPrefBranch and nsIPrefService
r=adamlock sr=peterv
2002-11-30 15:22:31 +00:00
bzbarsky%mit.edu
9d79b70a36 Fix bug 181472 -- uri fixup should do the PossiblyHostPortUrl check before
calling NS_NewURI if the protocol handler is the external protocol handler.
r=adamlock, sr=darin
2002-11-25 23:36:37 +00:00
locka%iol.ie
9afdf9165d Fixup host:port urls that have no spec and cleanup some string calling convention mess. b=155344 r=andreas.otte@debitel.net sr=darin@netscape.com 2002-09-30 22:38:31 +00:00
locka%iol.ie
a591cb1c83 Make backslash to forward slash fixup smarter. b=127831 r=andreas.otte@debitel.net sr=darin@netscape.com 2002-09-30 21:55:36 +00:00
caillon%returnzero.com
a5cd43f732 Add a method on the fixup object to strip off wyciwyg from nsIURIs
Fixes bug 164006, wyciwyg: should not appear in tab title
r=jag sr=bzbarsky
2002-09-11 01:44:13 +00:00