Commit Graph

103 Commits

Author SHA1 Message Date
Ehsan Akhgari
8cca5e4ac6 Bug 813438 - Part 1: Implement NS_SniffContent; r=bzbarsky 2012-11-20 19:19:53 -05:00
Ed Morley
66e54e6f57 Backout 231cce402e46, 383b6031c417, 8a518d6c8b60 & 4f55f76e34ee (bug 813438) for bustage 2012-11-22 17:49:58 +00:00
Ehsan Akhgari
b68fb31c87 Bug 813438 - Part 1: Implement NS_SniffContent; r=bzbarsky 2012-11-20 19:19:53 -05:00
Josh Matthews
5faa109e12 Bug 804655 - Part 2: Wrap up interface aggregator callbacks with a target thread on which they should be released. r=mayhemer 2012-11-14 16:00:44 +00:00
Julian Reschke
178fe898ac Bug 776339 - Remove support of Content-Disposition 'name' parameter. r=jduell, sr=biesi 2012-11-03 09:24:26 -04:00
Ben Turner
1493ea2ca6 Bug 786295 - 'Delete IndexedDB related to an app when uninstalled'. r=bz+khuey+sicking. 2012-10-23 09:31:19 -07:00
Jason Duell
d8a4aa9db2 Bug 802885 - Disable offline cache entries for private channels under e10s r=jdm 2012-10-17 22:00:16 -07:00
Makoto Kato
402f21ecf3 Bug 801483 - make nsBufferedInputStream::Init fallible. r=bsmith 2012-10-16 17:38:20 +09:00
Jason Duell
882da84a9a Bug 786299 - Delete app-cache related to an app when uninstalled. r=honza,jduell 2012-10-02 17:39:09 -07:00
Jason Duell
5edf32906a Bug 796164 - Change NECKO_UNKNOWN_APP_ID to UINT32_MAX. r=ehsan 2012-10-01 21:44:29 -07:00
Ed Morley
024d4659cf Backout bec7e68cad9a & a6228bc28958 (bug 786299) for Windows compilation errors on a CLOSED TREE 2012-09-29 01:44:30 +01:00
Jason Duell
223a507caf Bug 786299 - Part 2: Delete app-cache related to an app when uninstalled. r=honza 2012-09-28 16:13:17 -07:00
Isaac Aggrey
997db4d142 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Mounir Lamouri
fdba5f54e7 Bug 794023 - Use std::numeric_limits for NECKO_UNKNOWN_APP. f=ehsan r=jduell
--HG--
extra : rebase_source : bfd9374dd9f53f2e98bcefb33c6dfa355a07948e
2012-09-28 11:04:32 +01:00
Patrick McManus
b0eb649bd8 bug 769764 move proxy resolution to separate thread and remove sync api r=biesi sr=josh 2012-09-14 16:27:46 -04:00
Jason Duell
e8292ead1f Bug 756648 - Implement "cookie jars" for apps. r=biesi,smaug
--HG--
rename : netwerk/test/unit_ipc/test_cookie_wrap.js => netwerk/test/unit_ipc/test_cookie_header_wrap.js
2012-09-18 12:04:04 -04:00
Ehsan Akhgari
c4c18521be Bug 741059 - Part 1: Add APIs to nsIChannel to allow callers to override the private bit on the channel; r=jduell
This is probably the worst patch that I have ever written!

We add a setPrivate method to nsIPrivateBrowsingChannel which will be
implemented by channels who care about private browsing.  This allows the
client to explicitly override the private bit on the channel.
NS_UsePrivateBrowsing is also taught about this override bit using the
internal nsIPrivateBrowsingChannel::IsPrivateModeOverriden API.  This patch
implements the new API for HTTP, FTP and wyciwyg channels.  This also
modifies the IPC implementations of these channels to correctly transfer that
bit to the parent process if it has been set in the child process channel.
2012-09-04 20:37:45 -04:00
Ed Morley
946a13d148 Backout 6d71ff5b4b36 (bug 347307), 75a3c47a3fe7 (bug 507578), 828f91de7143 (bug 769764) for near permaorange OS X 10.8 leaks 2012-09-17 16:54:09 +01:00
Patrick McManus
cafe3619a5 bug 769764 move proxy resolution to separate thread and remove sync api r=biesi sr=josh 2012-09-14 16:27:46 -04:00
Ed Morley
1525bc6440 Backout 3182f9d08c2d (bug 347307), 2a30593cca79 (bug 507578), b87b27f5a417 (bug 769764) for m-oth permaorange in browser_463205.js 2012-09-13 22:42:29 +01:00
Patrick McManus
22205a5249 bug 769764 move proxy resolution to separate thread and remove sync api r=biesi sr=josh 2012-09-13 15:22:56 -04:00
Aryeh Gregor
6f8af2d67d Bug 782594 - Don't use the same variable for nsresult and uint32_t; r=bz 2012-08-14 12:10:42 +03: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
0923bf00ef Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Honza Bambas
541453729c Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
Jason Duell
148b915638 Bug 780818 - Remove getExtendedOrigin from nsILoadContext. r=smaug, sr=sicking 2012-08-07 22:09:28 -07:00
Jason Duell
a04e7b8f68 Bug 776174 - e10s: cleanup IPC nsILoader code. r=smaug, r=jdm 2012-08-06 21:47:48 -07:00
Ehsan Akhgari
b40b21d633 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor
bcce1c96d2 Bug 777292 - Don't use |= on nsresult; r=ehsan 2012-07-27 17:03:08 +03:00
Jason Duell
c95f8eff2b Bug 776176 - e10s: propagate GetExtendedOrigin from child to parent process. r=jdm 2012-07-23 11:12:03 -07:00
Jason Duell
297baa7909 Bug 775119 - e10s: implement nsILoadContext in ParentChannels, remove PrivateBrowsingConsumer r=jdm 2012-07-22 15:35:33 -07: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
Jan Varga
8e48ae3754 Bug 757507 - Implement read-write file streams. r=biesi 2012-05-23 06:23:11 +02:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Jason Duell
0b7f920e84 Bug 737164 - Make ReadInputStreamToString fallible. r=bsmedberg 2012-05-14 14:35:49 -07:00
Jason Duell
fab2921731 Backed out changeset a88c34de5d01 2012-05-11 14:32:58 -07:00
Jason Duell
d4eb008dc4 Bug 737164. Make ReadInputStreamToString fallible. r=bsmedberg 2012-05-11 14:16:09 -07:00
Brian R. Bondy
796c450e07 Bug 670514 - Arbitrary File + Directory read via .lnk files on Windows Share. r=bz 2012-05-03 15:23:28 -04:00
Justin Lebar
0dbaf73150 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Patrick McManus
aae44a93b0 bug 694576 r=bz 2011-12-22 21:21:20 -05:00
Brandon Sterne
63741ed1d2 Bug 702439 - allow subframes of CSP documents to run javascript: URLs, r=bz 2011-12-05 09:42:08 -08:00
Phil Ringnalda
6f32587c3d Back out dcf31efc8c12 and 79c9926f0f45 (bug 702439) to investigate the effects on the browser-chrome leak 2011-12-02 19:43:24 -08:00
Brandon Sterne
f4a2fb1971 Bug 702439 - allow subframes of CSP documents to run javascript: URLs, r=bz 2011-12-02 16:07:30 -08:00
Ehsan Akhgari
2a602a5685 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
d8e503c38b 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
Boris Zbarsky
a1f21e752a Bug 444641 part 1. Factor out IsAboutBlank into nsNetUtil.h. r=jduell,jst 2011-09-20 17:00:41 -04:00
Jason Duell
170b20b5fc Bug 686558 - Get rid of gcc warning about "enumeral mismatch" in nsNetUtil.h. r=bz 2011-09-13 15:15:28 -07:00
julian.reschke@greenbytes.de
d194959f71 Bug 272541: Empty disposition type treated as 'attachment'. r=jduell 2011-09-12 20:14:16 -07:00