Commit Graph

115 Commits

Author SHA1 Message Date
Nicholas Nethercote
d7fc3db766 Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8. 2013-08-27 16:24:51 -07:00
Jonathan Watt
bd37682237 Bug 912385 - Include a trailing slash in File.path. r=sicking 2013-08-27 09:30:28 +01:00
Jonathan Watt
03acd5704d Bug 894840, part 5 - Add a 'path' property to the File objects in the input.files FileList, and set it when a directory is picked. r=khuey 2013-08-23 08:41:17 +01:00
Mike Hommey
0dc9c0ef85 Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8 2013-08-02 10:29:05 +09:00
Joshua Cranmer
52f9f7fffb Bug 884061 - Part 3d: Use NS_DECL_THREADSAFE_ISUPPORTS in content/, r=smaug 2013-07-18 21:21:19 -05:00
Randy Lin
5378d3d67d Bug 803414 - Part 2: Add DOMTemporaryFileBlob and TemporaryFileInputStream. r=roc 2013-07-02 11:00:37 +08:00
David Rajchenbach-Teller
bb7daa1fda Bug 887288 - Make nsDOMMemoryFileDataOwnerMemoryReporter thread-safe. r=khuey 2013-07-01 09:55:04 -04:00
Justin Lebar
049f09e089 Bug 832609 - Make memory reporter for blobs threadsafe. r=khuey 2013-05-24 13:10:48 -04:00
Boris Zbarsky
ebafdd1727 Bug 864727 part 5. Make all the WrapObject methods take a handle for the scope object. r=ms2ger 2013-04-25 12:29:54 -04:00
David Zbarsky
96800c4570 Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger 2013-04-24 00:22:37 -04:00
Nicholas Nethercote
2748d6af62 Bug 859657 (part 2) - Remove nsIMemoryMultiReporter.explicitNonHeap because it's more trouble than it's worth; also remove the "explicit" single reporter. r=jlebar. 2013-04-11 20:52:32 -07:00
Masatoshi Kimura
7878ea38fd Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz 2013-03-12 08:03:47 +09:00
Peter Van der Beken
6b2f4ca983 Fix for bug 844225 (Remove some DOMCI and quickstubs). r=bz. 2013-01-10 10:54:46 +01:00
Peter Van der Beken
d318971ada Fix for bug 839529 (Remove various CC participants that don't do anything). r=smaug. 2013-02-07 10:19:08 +00:00
Trevor Saunders
1f2fdae37e bug 829288 - remove extra ';'s in content/ r=ehsan 2013-01-10 02:32:03 -05:00
Nicholas Nethercote
8a28a2740d Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar. 2012-12-23 16:59:51 -08:00
Doug Turner
ad523aeba3 Bug 824160 - Assertion in SetMysteryBlobInfo. GetMozLastModifiedDate should return modification date even if it is presently unknown. r=bent a=blocking-basecamp 2012-12-27 11:28:43 -08:00
Kyle Huey
ba78d4ac6d Bug 811615: Enable chrome code to create a new File object by wrapping an existing Blob and provide a custom name/type. r=sicking a=basecamp-blocking 2012-12-11 13:21:03 -08:00
Ed Morley
bc4e62101e Backout 194d8f675d2d & 251a18603db4 (bug 811615) for xpcshell and mochitest failures 2012-12-11 13:09:38 +00:00
Trevor Saunders
f59ecbf4ab bug 801466 - part 3.2 remove some usage of prmem in content/ r=mounir, khuey 2012-12-05 17:20:57 -05:00
Kyle Huey
d6104e66a2 Bug 811615: Enable chrome code to create a new File object by wrapping an existing Blob and provide a custom name/type. r=sicking a=basecamp-blocking 2012-12-11 03:54:08 -08:00
Ehsan Akhgari
cfae119983 Backed out changeset 8c95cee5cd9e (bug 801466) because of test failures in mochitest-1 2012-12-06 01:09:30 -05:00
Trevor Saunders
2f59b788ca bug 801466 - part 3.2 remove some usage of prmem in content/ r=mounir, khuey 2012-12-05 17:20:57 -05:00
David Zbarsky
52f036fec6 No bug, Fix virtual dtor warning, blanket r=bz 2012-11-14 21:38:25 -05:00
Robert O'Callahan
7bf10781dc Bug 792675. Part 4: Refactor nsBlobURI/nsBlobProtocolHandler to nsHostObjectURI/nsHostObjectProtocolHandler. r=sicking
The code to handle MediaStream URIs is almost the same as for Blobs, so share it.
nsHostObjectProtocolHandler is modified a bit to simplify method names. Also
we make nsHostObjectProtocolHandler::AddDataEntry take responsibility for
generating the URI to avoid duplicating that code later.
We need separate subclasses for each kind of host object protocol handler,
but we don't need separate subclasses for each kind of host object URI.
2012-09-25 15:24:44 +12:00
Justin Lebar
ffeb801a48 Bug 806243 - Fix blob memory reporter's SHA1s on 32-bit by passing a correct format string to nsPrintfCString. r=njn 2012-11-02 15:06:03 -04:00
Nikhil Marathe
c965b19536 Bug 804174 - Inline CallerHasUniversalXPConnect with IsCallerChrome. r=mccr8 2012-10-25 16:10:53 -07:00
Justin Lebar
11cdcc9e06 Bug 803684 - Add a memory reporter for in-memory file data. r=khuey,njn 2012-10-24 22:06:31 -04:00
Justin Lebar
f58e936cc4 Back out 37e8ef1c7353 (bug 803684) due to Windows red. 2012-10-24 13:38:35 -04:00
Justin Lebar
795f0612c8 Bug 803684 - Add a memory reporter for in-memory file data. r=khuey,njn 2012-10-24 12:40:35 -04:00
Peter Van der Beken
7cda84f5e5 Fix for bug 801083 (Remove old proxy-based list bindings). r=bz. 2012-10-13 14:50:24 +02:00
Doug Turner
033a6852d2 Bug 793955, 802867 - DeviceStorage files returned by DeviceStorage.get() don't always have lastModifiedDate. r=bent. a=blocking-basecamp 2012-10-18 11:29:32 -07:00
Tomas Dainovec
9c959a4867 Bug 793459: File.lastModifiedDate should return the current date if no lastModifiedDate is available. r=khuey 2012-10-04 15:38:18 +01:00
Peter Van der Beken
8eb9b454dc Fix for bug 791774 (Hook DOM lists up to the new DOM bindings). r=bz. 2012-06-13 17:18:30 +02:00
Isaac Aggrey
990e90e88a Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Josh Matthews
7025f01426 Bug 783878 - Part 1: Make nsXMLHttpRequest aware of the length of uploads. r=sicking 2012-09-19 18:15:32 -04:00
Peter Van der Beken
817be9d200 Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz. 2012-09-05 22:49:53 +02:00
Randell Jesup
3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Landry Breuil
195915de31 Bug 785738 Part 3: use PRTime instead of int64_t where appropriate; r=ehsan 2012-08-30 09:10:35 +02:00
Ben Turner
e28e39b6c7 Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey. 2012-08-23 12:33:46 -07:00
Peter Van der Beken
2e8d72e06f Fix for bug 768692 (Move DOM list binding generation to the new DOM binding codegen). r=bzbarsky. 2012-05-22 15:46:20 +02: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
Ben Turner
c8df603ac2 Bug 781256 - 'Share FileDescriptors across processes in preparation for OS-level sandbox'. r=khuey+cjones. 2012-08-16 00:02:32 -04:00
Aryeh Gregor
691ef24b2a Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Ben Turner
fc986c0f3a Bug 780048 - 'Some input stream types cannot be transferred via IPC'. r=khuey. 2012-08-03 13:37:58 -07:00
Ed Morley
dbfffbd403 Backout 21d92e8dd85a (bug 780048) for bustage 2012-08-03 21:26:23 +01:00
Ben Turner
620bb60b66 Bug 780048 - 'Some input stream types cannot be transferred via IPC'. r=khuey. 2012-08-03 13:10:15 -07:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
David Zbarsky
9050aef271 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Ehsan Akhgari
b7f60d20d1 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (content parts); r=bzbarsky 2012-06-18 22:30:09 -04:00