Commit Graph

65 Commits

Author SHA1 Message Date
Nick Hurley
6e789d3d04 Bug 536324 part 2 - Change implementers of nsIChannel. r=sworkman 2012-10-22 10:51:07 -07:00
Tom Schuster
bd15ca1e96 Bug 795442 - Allow nsIChannel.contentDispositionFilename to be writable. r=jduell, sr=biesi 2012-10-02 09:43:00 -07: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
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Makoto Kato
a5bb627fef Bug 703882 - crash nsExternalAppHandler::nsExternalAppHandler. r=bz 2012-01-16 12:55:13 +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
Nick Hurley
924d548d31 bug 589292 - add contentDisposition{Filename} props to nsIChannel. r=honzab sr=bzbarsky 2011-09-09 15:41:04 -07:00
Dan Witte
f9582851af Back out Bug 536324 part 2. 2010-08-30 13:20:39 -07:00
Dan Witte
3784e67919 Back out Bug 589292. 2010-08-30 13:20:38 -07:00
Dan Witte
0f002d9441 Bug 589292 - e10s necko: add contentDisposition prop to nsIChannel. r=jduell, sr=biesi, a=beta5+ 2010-08-25 17:51:21 -07:00
Dan Witte
454e26f2b0 Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 2: contentLength implementors. r=jduell, a=beta5+ 2010-08-21 00:31:11 -07:00
Saint Wesonga
4bd9280674 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Dão Gottwald
b2124655df Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga
8952503f91 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Ian
f2cd72a0db Bug 251475. Make sure channels don't return null for the originalURI. Initial work by Daniel Kraft <domob@daniel-kraft.net> and Brandon Ferguson <bnferguson@gmail.com>. r+sr=bzbarsky. 2008-10-15 16:05:23 -04:00
bzbarsky@mit.edu
502c4c7607 Fix leak bug 391978. r=biesi, sr=dmose, a=sayrer 2007-11-08 22:13:26 -08:00
dmose@mozilla.org
4ad19860ce Fix for protocol handling dialog throwing exception when a web handler is selected (bug 392957), r=biesi, sr=mconnor, a=bz 2007-09-02 21:44:25 -07:00
sdwilsh@shawnwilsher.com
ea36e2eef8 Bug 389870 - When previous action was to use a local helper app, the protocol never works again. r=cbiesinger, sr=dmose, a=schrep 2007-07-27 13:20:54 -07:00
dmose@mozilla.org
2b71ae690f nsExternalHelperAppService::ExternalProtocolHandlerExists (almost) always sets aHandlerExists to PR_TRUE, enabling gnomevfs protocols, patch by Karl Tomlinson <mozbugs@karlt.net, r+sr=biesi,dmose; a=roc 2007-07-27 11:31:13 -07:00
sdwilsh@shawnwilsher.com
d09c917fe3 Bug 385065 - protocol handling dialog. r=cbiesinger (forgot to fix two nits) 2007-07-25 23:44:43 -07:00
sdwilsh@shawnwilsher.com
ca6da5a72e Bug 385065 - protocol handling dialog. toolkit: r=mano; uriloader: r=cbiesinger, sr=dmose general: ui-r=beltzner 2007-07-25 21:24:25 -07:00
bzbarsky@mit.edu
5fda0c5d00 Add a flag that allows protocol handlers to indicate that they don't return any
data.  Bug 379819, patch by Ryan Jones <sciguyryan@gmail.com>, r=me, sr=biesi
2007-07-25 10:21:41 -07:00
dmose@mozilla.org
ec036ba262 Refactor nsIMIMEInfo and nsExternalHelperAppService to support local and web-based protocol handlers (bug 384374), r=biesi, sr=sicking 2007-07-05 12:31:44 -07:00
dmose@mozilla.org
10f8641377 Fix web based protocol handlers to work from link clicks in addition to the URL bar (bug 383396), r=biesi, sr=sicking 2007-06-15 14:43:51 -07:00
sdwilsh@shawnwilsher.com
ab1be9a46d Bug 383807 - Explain why we are not checking the result of new in nsExternalProtocolHander.cpp. Patch by Ryan Jones <sciguyryan@gmail.com>. r=cbiesinger, sr=dmose 2007-06-12 11:31:54 -07:00
dmose@mozilla.org
12f5a83e26 Implement backend changes for web-based protocol handlers a la WhatWG HTML5 draft (bug 380415). r=cbiesinger@gmx.at, sr=jonas@sicking.cc 2007-05-25 08:17:44 -07:00
gijskruitbosch@gmail.com
3e830ee3c0 Bug 229168 - Save Page (with mms:// embedded media) invokes Windows Media Playerp=sciguyryan@gmail.com (Ryan Jones)r=silver@warwickcompsoc.co.uk (James Ross)r+sr=cbiesinger@gmx.at (Christian Biesinger) 2007-04-15 05:31:18 -07:00
bzbarsky%mit.edu
0a3a624149 Make it possible for protocol handlers to configure how CheckLoadURI should
treat them via their protocol flags.  Remove the protocol list we used before.
Bug 120373, r=dveditz, sr=darin
2006-11-10 23:49:08 +00:00
timeless%mozdev.org
27eaab5dcd Bug 337917 Make consumers stop using cids from other modules 2006-06-18 21:18:22 +00:00
darin%meer.net
0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
bzbarsky%mit.edu
722b5218b2 Add an interface for nested URIs (like jar:, view-source:, etc) to implement
and use it in various places.  Create null principals if asked for a codebase
principal for a codebase that doesn't have an inherent security context (eg
data: or javascript:).  Bug 334407, r=biesi,dveditz, sr=darin
2006-05-02 18:54:19 +00:00
dbaron%dbaron.org
7b6c6f51b5 Make nsIChannel implementations follow the rules that prevent them from leaking due to cycles with their notification callbacks. b=303043 r=biesi sr=darin 2005-08-12 22:53:22 +00:00
bryner%brianryner.com
29c70cffe8 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin. 2004-11-24 22:48:45 +00:00
darin%meer.net
f103a62f64 fixes bug 261083 "Channels do not uniformly query their notification callbacks" r=biesi sr=bzbarsky 2004-11-15 20:16:52 +00:00
dveditz%cruzio.com
430d42c69d bug 263546: move external protocol warning down a level, r=jsr,sr=darin 2004-10-25 07:46:01 +00:00
cbiesinger%web.de
b84daa8a30 add a way to get an application description for a given externally-handled
scheme, and use it in the confirmation dialog that asks whether to launch such
links.
bug 258802
windows and cross-platform part: r=ere sr=neil,bz
linux part: r=bz sr=bryner
2004-10-16 13:46:17 +00:00
cbiesinger%web.de
759a1ad735 fixing bustage 2004-10-03 17:19:08 +00:00
cbiesinger%web.de
dd29323495 259084 some cleanup after bug 173010 r=bz sr=darin 2004-10-03 17:06:57 +00:00
dveditz%cruzio.com
3ea4400949 bug 173010 prompt before launching external protocol handler,r=mscott,sr=darin/jst 2004-09-10 23:24:49 +00:00
bzbarsky%mit.edu
3f371fd3be Setting location to a mailto: URI should not throw if there is a system mailto:
handler.  Bug 236589, r=biesi, sr=darin
2004-07-29 23:58:59 +00:00
bzbarsky%mit.edu
a5ebcc2be2 Fix problem with the external protocol channel that makes it return a null
originalURI and cause crashes.  Bug 241300, r=biesi, sr=darin
2004-07-15 20:20:50 +00:00
bzbarsky%mit.edu
bb3844e6d4 Blocked protocols should still allow URI creation; they should just fail
channel creation.  Bug 244220, r+sr=darin
2004-05-21 00:28:52 +00:00
gerv%gerv.net
f7f3cb2736 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 16:52:41 +00:00
cavin%netscape.com
32e275f48d Fix for 183111. Added nsIExternalProtocolHandler interface and method handlerExists in netwerk/bae/public to be used by mozTXTToHTMLConv. Also treated 0xA0 as space in mozTXTToHTMLConv. r=darin, sr=sspitzer. 2003-02-27 22:46:42 +00:00
dbaron%dbaron.org
b9083989bb Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
timeless%mozdev.org
1b458bbbad Bug 186723 external protocol handler NewURI doesn't check to see if SetSpec failed..
patch by andersma@luther.edu r=timeless sr=darin
2003-01-08 20:32:14 +00:00
bzbarsky%mit.edu
ab75327f3e Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst 2002-11-20 00:44:26 +00:00