Commit Graph

145 Commits

Author SHA1 Message Date
Bobby Holley
4ce5d3c3c4 Bug 850247 - Make nsRequestObserverProxy hold onto its context. r=mcmanus
Both the consumers just do this manually. The context here is sometimes an
XPCWrappedJS, so passing it around with nsCOMPtrs off-main-thread can't
happen anymore.

We add assertions in OnStartRequest/OnStopRequest to catch any consumers
that might try to change contexts midstream.
2013-03-19 09:04:57 -07:00
Jan Varga
44a05811fc Bug 847099 - Intermittent test_readonly_lockedfiles.html | Assertion count {2,4} is greater than expected range (Didn't find the locked file we were looking for!: 'mLockedFileQueues.Length()...) followed by a timeout in test_add_put.html et al (bug 783913). r=bent 2013-03-18 04:53:24 +01:00
Ms2ger
7bcafadd47 Bug 824986 - Move DOMRequest and subclasses to Paris bindings; r=khuey 2013-03-17 09:51:36 +01:00
Gregory Szorc
94e8454958 Merge mozilla-central into build-system
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Mike Shal
e3d8d5c262 Bug 818246 - Part 9: Move XPIDL_FLAGS to moz.build; r=gps 2013-03-11 22:05:00 -07:00
Mike Shal
e9f8bc0fbd Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
7bb3ee056b Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Ms2ger
0b1de39abe Bug 825285 - Part b: Move ArchiveReader to Paris bindings, remove XPCOM goop; r=khuey 2013-03-10 08:57:14 +01:00
Ms2ger
c25af951b4 Bug 825285 - Part a: Don't pass around ArchiveReaderOptions; r=khuey 2013-03-10 08:54:42 +01:00
Olli Pettay
e5921ddec1 Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
Masatoshi Kimura
e5e5a90814 Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz 2013-03-12 08:03:47 +09:00
Trevor Saunders
71febd8be7 bug 846619 - ArchiveZipFile should use inherited cc nsISupports macros since it inherits from nsDOMFileCC r=smaug 2013-02-28 18:09:59 -05:00
Gregory Szorc
f0b7e3972c Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Gregory Szorc
faf262c4ee Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
e2966f651c Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Jonathan Griffin
59f7607781 Bug 831367 - Simplify SpecialPowersAPI.bindDOMWindowUtils(), r=ted 2013-02-22 14:18:38 -08:00
Bobby Holley
440bea3fd7 Bug 843711 - Fix up new |Components| culprits in test suite. r=mccr8 2013-02-25 10:43:03 -08:00
Peter Van der Beken
410cee5e49 Fix for bug 844225 (Remove some DOMCI and quickstubs). r=bz. 2013-01-10 10:54:46 +01:00
Bobby Holley
d1a3436036 Bug 834732 - Audit callers of GetNativeContext and use AutoPushJSContext where appropriate. r=mrbkap 2013-02-26 11:04:13 -08:00
Olli Pettay
29c93f77f6 Bug 839528 - Change the namespace of xpidl dictionary helpers, r=khuey 2013-02-11 21:37:50 +02:00
Doug Turner
4b5aa24eca Backout part of Bug 726593 (cset 48918f0df283) that uses bug 757511. r=bsmith 2013-01-22 21:25:38 -08:00
Masatoshi Kimura
b5e27745c8 Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09:00
Ms2ger
e1d87b9f1f Bug 823107 - Make nsIDOMEvent::SetTrusted return void; r=smaug 2012-12-22 09:18:08 +01:00
Jan Varga
812af47d24 Bug 787804 - Rewrite quota handling (eliminate test_quota.c). r=bent,asuth,vladan 2012-12-17 20:25:10 +01:00
Trevor Saunders
f1b73ccb3d bug 801466 - part 3.1 remove some prmem usage from dom/ and content/ r=mounir 2012-12-05 02:55:37 -05:00
Trevor Saunders
4d16e0db71 backout 2bb432c47170 for debug asserts 2012-12-05 04:19:33 -05:00
Trevor Saunders
bd2d1feb84 bug 801466 - part 3 1/2 remove some prmem usage from dom/ and docshell/ r=mounir 2012-12-05 02:55:37 -05:00
Ms2ger
95bf651fec Bug 803825 - Part b: Paris bindings for FileHandle; r=khuey 2012-12-02 09:58:57 +01:00
Ms2ger
db0b04ce1b Bug 814898 - Part a: Cleanup CC goop in dom/file; r=mccr8 2012-12-02 09:53:35 +01:00
Benoit Jacob
a1d7e0f511 Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
Bobby Holley
46b9d205df 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
Andrea Marchesini
10c8366adf Bug 795930 - Hide ArchiveReader feature behind a pref (disabled by default), r=mounir
--HG--
extra : rebase_source : fc267035c0eb85bb08b9da91bf79ecbb816da1b3
2012-11-08 15:57:17 +00:00
Mounir Lamouri
2c4f8c0fac Backed out changeset 3566ba4296f7 because of wrong bug number.
--HG--
extra : rebase_source : c5d189308a555c7235d6cd405aa44d36c9b7db9a
2012-11-08 15:56:48 +00:00
Andrea Marchesini
2751e6fb32 Bug 809567 - Hide ArchiveReader feature behind a pref (disabled by default), r=mounir 2012-11-08 15:54:26 +00:00
Ehsan Akhgari
ac35497057 Bug 579517 follow-up: Remove NSPR types that crept in 2012-11-07 20:34:50 -05:00
Masatoshi Kimura
2d3be47cd4 Bug 801402 - Use FindEncodingForLabel from OS.File. r=sicking 2012-11-07 18:04:21 -05:00
Andrea Marchesini
427b72affd Bug 781425 - Part 2: getFiles(). r=khuey, r=mounir 2012-11-06 18:23:13 -05:00
Andrea Marchesini
6a0fe78592 Bug 781425 - Part 1: Enconding and dictionary. r=mounir, sr=sicking 2012-11-06 18:23:13 -05:00
Andrea Marchesini
d8a1911a95 Bug 805712 - Try to fix Intermittent test_archivereader_zip_in_zip.html r=mounir 2012-10-30 11:31:34 +01:00
Andrew Quartey
1d28872093 Bug 792581 - part 20: Replace LL_UI2L macro with int64_t cast. r=ehsan 2012-10-25 19:25:57 -04:00
Nathan Froyd
27b9179800 Bug 720768 - add nsDOMEventTargetHelper::DispatchTrustedEvent; r=mounir, sr=smaug 2012-09-27 16:11:31 -04:00
Isaac Aggrey
e496b51126 Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan 2012-09-28 14:55:23 -05:00
Isaac Aggrey
997db4d142 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Andrea Marchesini
5ddac65899 Bug 793311 - Crash in nsDOMFileFile::nsDOMFileFile. r=khuey 2012-09-25 11:04:25 -04:00
Bobby Holley
9f03f90fb7 Bug 792036 - Automated fixups. r=mccr8
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components |  xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Kyle Huey
b7dbdde7ab Bug 793434. r=smaug 2012-09-22 12:45:03 -07:00
Nathan Froyd
9a8267f275 Bug 786703 - fix dom/ build failures from introducing PARALLEL_DIRS; r=glandium 2012-09-11 07:47:42 -04:00
Ms2ger
358f7a91f3 Bug 782040 - Move ProgressEvent to event impl codegen; r=smaug 2012-09-06 09:14:49 +02:00
Kyle Huey
c25f8e64ef 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
Andrea Marchesini
a8265b9cdc Bug 784190 - Fix Cycle collection casting in DOMRequest, r=mccr8 2012-08-27 09:44:25 -07:00
Nathan Froyd
2d595e5d44 Bug 783357 - part 1: add XPIDL_FLAGS to make idl dependencies more explicit; r=khuey 2012-08-24 16:01:30 -04:00
Luke Wagner
94264a0bc8 Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07: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
f638ada4c3 Bug 783863 - ArchiveInputStream::Tell incorrectly uses mStatus as an nsresult; r=baku 2012-08-21 14:56:39 +03:00
Andrea Marchesini
eedd4662ef Bug 781153 - ArchiveReader doesn't support zip-in-zip archives, r=jst 2012-08-17 18:04:03 -07: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
Wes Johnston
fe19c64718 backout c030a8af8abd and dd0c287660e9 CLOSED TREE 2012-08-08 14:07:39 -07:00
Wes Johnston
b259068928 Bug 780718 - Return false from DOMRequestService is preventDefault was called on events. r=sicking 2012-08-08 12:35:15 -07:00
Andrea Marchesini
b85de665f6 Bug 780145 - ArchiveReader doesn't unzip large files, r=jst 2012-08-08 11:11:15 -07:00
Wes Johnston
3a191aa6b7 Backout 81a090e983d2, 8236b3579bf3, 2012-08-07 10:08:41 -07:00
Wes Johnston
48eba85f08 Bug 780718 - Return false from DOMRequestService is preventDefault was called on events. r=sicking 2012-08-06 15:26:02 -07:00
Ms2ger
a45a0051cf Bug 743573 - Fix a number of build warnings in dom/; r=mounir 2012-08-07 09:06:29 +02:00
Aryeh Gregor
f41637535d Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz 2012-08-06 15:02:08 +03:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Mike Hommey
4e998b1d36 Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE 2012-08-04 10:38:41 +02:00
Mike Hommey
17fb6cad2d Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 08:48:56 +02:00
Eric Faust
0a5b0eec6b Bug 742188 - Implement ToInt64 and ToUint64 per the WebIDL standard. (r=jorendorff) 2012-08-03 15:15:04 -07:00
Jan Varga
05726a5a1a Bug 778023 - Need to figure out how cycle collected DOM files are supposed to play with workers. r=bent. Make worker.postMessage() to just throw for now. 2012-08-02 07:34:26 +02:00
Eric Faust
012112cde8 Bug 752223 - Implement JS_NumberValue(), replacing JS_NewNumberValue(). (r=luke) 2012-08-01 17:59:47 -07:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
David Zbarsky
57bca7e537 Fix virtual destructor warnings under dom/file, no bug, blanket r=bz 2012-07-28 17:33:58 -07:00
Andrea Marchesini
001d00e5ff Bug 772434 - Blob support for Zip file contents, r=jst 2012-07-27 17:21:34 -07:00
Olli Pettay
e9cea4305c Bug 765163 - Implement code generator for simple DOM events, r=jst,khuey 2012-07-20 19:42:08 +03:00
David Zbarsky
88371b030a [Bug 774505] Don't include Layers.h everywhere r=cjones 2012-07-18 12:31:40 -04:00
Jan Varga
994c586c3d Bug 771498 - FileHandle: getFile() should return a DOMRequest (instead of a FileRequest). r=sicking 2012-07-10 07:07:01 +02:00
Nathan Froyd
a7eb97f896 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Ben Turner
798ac10ab8 Bug 758357 - Only show prompt after 50mb of quota was reached. r=sicking 2012-07-05 14:11:48 -07:00
Chris Pearce
0ecfc439b7 Bug 758357 - Backout 6763477075a4 for causing bug 770085. r=backout 2012-07-02 16:49:07 +12:00
David Zbarsky
ae718ee1c0 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Jonas Sicking
4f8adcd92b Attempt at fixing orange due to setting wrong permission in test. Bug 758357 2012-06-30 20:58:13 +02:00
Kyle Huey
3b3b755501 Bug 726378: Unprefix IndexedDB. r=sicking 2012-06-29 09:48:35 -07:00
Ben Turner
401cf770e8 Bug 765839 - 'Enable IndexedDB OOP test suite'. r=khuey.
--HG--
extra : transplant_source : %3Bb4%A4%99fC%9Cg%86%9B%1F3%C6%0F%01T%1C%3C%AE
2012-06-19 18:50:39 -07:00
Ryan VanderMeulen
7511d396e5 Merge m-c to inbound. 2012-06-18 20:59:17 -04:00
Jan Varga
1ac8eec4a0 Bug 763388 - Remove enablePrivilege calls from IndexedDB and FileHandle tests. r=bent 2012-06-18 19:09:26 +02:00
Landry Breuil
2178eb5000 Bug 761159 - Fix build on OpenBSD, use correct int64_t type. r=janv 2012-06-17 17:49:35 +02:00
Jan Varga
187e9d7f9c Bug 761159 - FileHandle: Better handling of the end of file state. r=sicking 2012-06-17 05:36:54 +02:00
Ryan VanderMeulen
891e38e528 Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
f497d31a0a Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Olli Pettay
ac6b89bfdb Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
Jan Varga
5caecbc614 Bug 763157 - FileHandle: Fix the assertion in FileHelper::~FileHelper. r=bent 2012-06-09 22:56:38 +02:00
Ehsan Akhgari
d8df82ca0f 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 (dom parts); r=bzbarsky 2012-06-14 22:31:55 -04:00
Landry Breuil
3982ee42b1 Bug 761123 - Remove extra semicolon at end of NS_IMPL_EVENT_HANDLER() decl. r=janv 2012-06-04 16:57:25 +02:00
Jan Varga
8214c76cd8 Bug 761076 - FileHandle: Add optional location parameter to LockedFile.truncate(). r=sicking 2012-06-04 14:31:22 +02:00
Jan Varga
6e3e5ab48b Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02:00