Commit Graph
75 Commits
Author SHA1 Message Date
Trevor Saunders c55a85644c bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05: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
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
Benoit Jacob c995bc9e1e Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
Bobby Holley 23af94cca4 Bug 800915 - Remove the cx parameter and simplify various APIs. r=sfink,bz
If callers want to throw, it's now their responsibility.
2012-11-14 09:56:26 -08: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
Masatoshi Kimura 2f40de714f Bug 801402 - Use EncodingUtils::FindEncodingForLabel from DOM. r=sicking 2012-11-07 18:04:22 -05:00
Isaac Aggrey 990e90e88a Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Ehsan Akhgari 977d242f0b Bug 791367 - nsDOMFileReader::ReadFileContent opens a channel without associating it with a load group; r=smaug,khuey 2012-09-17 11:24:39 -04:00
Makoto Kato 8696ddea08 Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Randell Jesup 3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Kyle Huey 5cc0526d33 Bug 687332: Part 2 - Move event handlers off of DOM objects and keep track of them solely in the event listener manager. r=smaug,bz 2012-08-30 20:45:16 -07:00
Ben Turner 6bf060bde4 Bug 786003 - 'Fix file handle leak in nsDOMFileReader, add tests to IndexedDB'. r=jst. 2012-08-28 07:59:18 -07: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 691ef24b2a Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Aryeh Gregor 8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ryan VanderMeulen 4c71ae6d9a Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen 202bd53a55 Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Ryan VanderMeulen f7bfb2c7b3 Merge the last PGO-green inbound changeset to m-c 2012-06-10 18:21:22 -04:00
Olli Pettay 2146ee62af Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
Andrew McCreight aa1604c864 Bug 754478 - clean up cycle collector JS tracing callbacks. r=bent 2012-05-15 09:56:39 -07:00
Jan Varga 141d5b92c8 Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg 1b35f3cc7d Bug 755323 - Uploading large files with DOM File or FileReader will abort the browser from string OOM part 1 (ignoring the data: URI case for now), r=bz 2012-05-18 12:42:01 -04:00
Tom Schuster 12330004a5 Bug 711843 - Update JSAPI for typed arrays, remove uses of jstypedarray.h outside the engine [r=Waldo,bz,Ms2ger,bholley,bjacob,philikon,evilpie,bent,yourmama] [a=mfinkle thanks to gkw] 2012-01-14 09:43:00 -08:00
Mark Hammond 40218a00a2 Bug 738535 - JS_WrapValue the FileReader's array buffer result. r=khuey 2012-03-24 11:04:55 +11:00
Olli Pettay d9f2f97682 Bug 734057 - Make nsDOMEventTargetHelper to not have strong pointer to window, r=jst,bent 2012-03-13 02:56:07 +02:00
Ms2ger b7e0fb5391 Bug 732769 - Remove FileError; r=sicking 2012-03-11 09:47:38 +01:00
Makoto Kato 46842c9bf0 Bug 590390 - deCOM nsICharsetAlias. r=smontagu 2012-03-05 12:57:51 +09:00
Edmund Wong 594bfeb166 Bug 693172 - Moved all subclasses of nsDOMEventTargetWrapperCache to nsDOMEventTargetHelper and then merged the classes. r=smaug 2012-02-08 10:53:33 +08:00
Masatoshi Kimura cef8e27e66 Bug 716570 - Rename blob URI scheme from "moz-filedata" to "blob" per spec. r=sicking 2012-01-12 11:36:03 +01:00
Ms2ger 881df3d516 Bug 711240 - Part b: Expose xpc_qsStringToJsval publicly; r=bholley 2011-12-24 09:27:04 +01: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
Bobby Holley ec90124839 Bug 691411 - Move js/src/xpconnect to js/xpconnect and rename source files while we're at it. r=khuey, sr=mrbkap 2011-10-14 10:52:47 -07:00
Peter Van der Beken 22f5dbe67d Stop including nsDOMClassInfo.h all over the place. 2011-10-03 21:11:31 +02:00
Kyle Huey 986f34e775 Merge backout. 2011-09-29 15:19:28 -04:00
Kyle Huey 95b1c76ca2 Back out the code changes from Bug 687332 until we figure out a compat story. 2011-09-29 15:18:58 -04:00
Kyle Huey 970d5947cd Bug 687332: Fix an opt-only linking error by including the header that has the body of the inline function in question. 2011-09-29 12:06:36 -04:00
Kyle Huey 2343674213 Bug 687332: Move inline event listeners on FileReader to the event listener manager. r=smaug 2011-09-29 12:06:35 -04:00
Kyle Huey 72aa408c50 Bug 657994: Factor out common bits of FileReader. r=smaug 2011-09-29 12:06:35 -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
Shawn Gong 6b694cdeda Fixed bug 632255: implemented FileReader.readAsArrayBuffer() API. r=sicking 2011-06-30 17:50:44 -07:00
Mounir Lamouri 1b561ac490 Bug 658037 (1/2) - r=bz 2011-06-21 18:52:22 +02:00
Masayuki Nakano f8ce34e081 Bug 659821 Replace nsContentUtils::GetLocalizedStringPref() with Preferences::GetLocalizedC?String() r=roc 2011-05-27 13:53:03 +09:00
Mounir Lamouri a1c8d73be6 Back out bug 632255 and bug 658683 due to oranges on Windows Mochitest-1. 2011-05-24 15:45:53 +02:00
Shawn Gong 720094d6a5 Bug 632255 - Implemented readAsArrayBuffer() for FileReader. r=sicking,bent. Additional fixes by sicking, r=peterv. a=sheriff. 2011-05-23 18:02:56 -07:00
Jonas Sicking deb451c8e7 back out probably cause of orange. a=backout 2011-05-23 20:21:10 -07:00
Shawn Gong 23f4ee8ffc Bug 632255 - Implemented readAsArrayBuffer() for FileReader. r=sicking,bent a=LandingQueue 2011-05-23 18:02:56 -07:00
Kyle Huey 0cb542c3a8 Bug 657964: FileReader should throw when abort() is called and readystate is not LOADING. r=sicking 2011-05-23 13:04:45 -07:00