Peter Van der Beken
70530ae566
Bug 868929 - Convert ImageDocument to WebIDL, consolidate PostCreateWrapper call into nsIDocument::WrapObject. r=bz.
...
--HG--
rename : content/html/document/src/ImageDocument.cpp => content/html/document/src/ImageDocument.h
extra : rebase_source : 79780765f9e6be8846774344e0218631903478d4
2013-05-06 15:42:00 +02:00
David Zbarsky
8cdcfa8969
Bug 866450 Part 1: Fix rooting hazards under content/ and dom/ r=bz
2013-05-02 05:12:45 -04:00
Ed Morley
cd58a5c447
Backed out changeset ad10907da2d4 (bug 866450) for B2G build failures
2013-05-02 11:58:05 +01:00
David Zbarsky
1527681014
Bug 866450 Part 1: Fix rooting hazards under content/ and dom/ r=bz
2013-05-02 05:12:45 -04:00
Aryeh Gregor
f0404a303a
Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger
2013-04-22 14:15:59 +03:00
Boris Zbarsky
c62295c2f9
Bug 864727 part 6. Make all the WrapNode methods take a handle for the scope object. r=ms2ger
2013-04-25 12:29:54 -04:00
David Zbarsky
9e176d3804
[Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger
2013-04-21 21:25:28 -04:00
Gabor Krizsanits
66e6c6755e
Bug 820170 - Wrapping nodes into documents compartment. r=bholley
2013-04-17 10:11:53 +02:00
Mike Shal
df7deac25b
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Ms2ger
c16f555360
Backout changeset baf184596a7b for build errors on a CLOSED TREE.
2013-04-16 19:07:38 +02:00
Gabor Krizsanits
8749ed3364
Bug 820170 - Wrapping nodes into documents compartment. r=bholley
2013-04-16 11:31:26 +02:00
Jeff Walden
763718651b
Bug 858677 - Fix up code not built by SpiderMonkey to use the newly-changed deletion signatures. r=bholley, r=billm
2013-04-05 21:22:55 -07:00
Ms2ger
230059c152
Bug 861098 - Remove more classinfo; r=bz
2013-04-13 09:08:49 +02:00
Ryan VanderMeulen
7b5cb126eb
Backed out changeset 8ce65f4eb1ba (bug 820170) for suspicion of causing bug 860903 on a CLOSED TREE.
2013-04-12 13:57:46 -04:00
bindarel@yahoo.com
8e4f1e5f73
Bug 796005 - Add telemetry for XUL cache being disabled, r=smaug
...
--HG--
extra : rebase_source : f279b78ceb93a46a8f6535713f96c366ca0e13fe
2013-04-12 17:41:02 +03:00
Michael Harrison
3553c073a7
Bug 855402. Don't try to write to the startup cache if there isn't one, and definitely don't start _thinking_ we've written to it. r=ehsan
2013-04-11 14:32:12 -04:00
Gabor Krizsanits
35c3d355eb
Bug 820170 - Wrapping nodes into documents compartment. r=bholley, r=enn
2013-04-11 11:59:42 +02:00
Aryeh Gregor
b26de96c21
Bug 857102 part 3 - Make various GetNodeInfo callers infallible; r=bz
2013-04-04 15:01:11 +03:00
Aryeh Gregor
5925b452a5
Bug 857102 part 2 - Make NS_NewTextNode and nsIDocument::CreateTextNode infallible; r=bz
2013-04-04 15:01:08 +03:00
Aryeh Gregor
8813767de7
Bug 857102 part 1 - Make nsNodeInfoManager::GetNodeInfo infallible; r=bz
2013-04-04 15:00:07 +03:00
Gabor Krizsanits
2662f735eb
Bug 820170 - nsIGlobalObject. r=bholley
2013-04-04 11:27:06 +02:00
matekm
c262c00c9c
Bug 784739 - Switch from NULL to nullptr in content/; r=ehsan
...
--HG--
extra : rebase_source : cfdb682506acc14ec811e21ae42f067950e1ff0c
2013-04-02 21:14:24 -04:00
Kyle Machulis
72a717a860
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Terrence Cole
1ffd59927b
Bug 855145 - DeMACROize the JS tracing interfaces; r=billm,mccr8
...
--HG--
extra : rebase_source : 915c80052b4412f653033eb5fc4d4f96c5d49bd5
2013-03-26 15:10:34 -07:00
Boris Zbarsky
24422ccd0d
Bug 848332 part 2. Switch XMLDocument to WebIDL. r=peterv
2013-03-26 11:31:54 -04:00
Boris Zbarsky
81ed36b9a0
Bug 848796 part 3. Convert XULDocument to WebIDL. r=peterv
2013-03-26 11:31:54 -04:00
Boris Zbarsky
0790ddb12c
Bug 848796 part 2. Add WebIDL API for XULDocument. r=peterv
2013-03-26 11:31:53 -04:00
Boris Zbarsky
2b73279554
Bug 848796 part 1. Rename nsXULDocument to mozilla::dom::XULDocument. r=ms2ger
...
--HG--
rename : content/xul/document/src/nsXULDocument.cpp => content/xul/document/src/XULDocument.cpp
rename : content/xul/document/src/nsXULDocument.h => content/xul/document/src/XULDocument.h
2013-03-26 11:31:53 -04:00
Terrence Cole
69963fe3b1
Bug 851340 - Make the rooting of scripts in nsXULPrototypeCache more efficient; r=smaug
2013-03-19 10:20:21 -07:00
Ehsan Akhgari
335b4926a6
Bug 853569 - Fix nsTArray::SetCapacity callers in nsXULContentSink to not look at the return value; r=bzbarsky
...
--HG--
extra : rebase_source : 1916e6aa6752fa72cd81f64084bcb525a9ca5155
2013-03-21 14:54:36 -04:00
Mike Shal
e3efc3a646
Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps
2013-03-21 08:41:00 -07:00
Boris Zbarsky
5128da2a7a
Bug 848386 part 4. Rename nsXMLDocument to mozilla::dom::XMLDocument. r=peterv
...
--HG--
rename : content/xml/document/src/nsXMLDocument.cpp => content/xml/document/src/XMLDocument.cpp
rename : content/xml/document/src/nsXMLDocument.h => content/xml/document/src/XMLDocument.h
2013-03-20 12:22:26 -04:00
Gregory Szorc
89e86f9b21
Bug 844654 - Part 3: Remove now empty Makefile.in files; rs=khuey
...
--HG--
extra : rebase_source : 8de9c7f68a953e574dda22f8c14c2b2ca60444f9
2013-03-19 18:49:07 -07:00
Mike Shal
7ecea60097
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Ms2ger
93257af4d7
Merge m-c to m-i.
2013-03-17 13:22:37 +01:00
Ms2ger
669cc4360c
Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey
2013-03-17 08:55:16 +01:00
Ms2ger
26be5f64e2
Bug 845374 - Part c: Stop including nsHtml5StringParser.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:09 +01:00
Bill McCloskey
c7ddf51a4f
Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley)
2013-03-16 20:36:37 -07:00
Bill McCloskey
68c2630106
Bug 846890 - Fix leak from cycle between parser and XULContentSinkImpl (r=smaug)
2013-03-08 18:53:00 -08:00
Gregory Szorc
74dc48b41e
Bug 818246 - Part 5: Move XPIDLSRCS into moz.build (manual); r=glandium
2013-03-12 10:20:41 -07:00
Gregory Szorc
c865547d94
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
Bill McCloskey
7401ed1cc2
Back out bug 846890 for reftest orange
2013-03-08 21:27:25 -08:00
Bill McCloskey
bd8b5542d6
Bug 846890 - Fix leak from cycle between parser and XULContentSinkImpl (r=smaug)
2013-03-08 18:53:00 -08:00
Gregory Szorc
0c8ee65118
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
72ed2beb7b
Bug 784841 - Part 18g: Convert /content; r=glandium
2013-02-25 12:47:19 -08:00
Bobby Holley
7b9176007d
Bug 834732 - Audit callers of GetNativeContext and use AutoPushJSContext where appropriate. r=mrbkap
2013-02-26 11:04:13 -08:00
Trevor Saunders
c4d231052a
bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz
2013-02-12 17:02:51 -05:00
Masatoshi Kimura
96d5342345
Bug 830665 - Use the latest JS version by default in XUL. r=jonas
2013-02-08 20:49:28 +09:00
Josh Matthews
046e3e7e12
Bug 829360 - Keep non-browser windows from extending the lifetime of the private session. r=bz
2013-02-04 23:22:51 +00:00
Masatoshi Kimura
76afb28c30
Bug 826166 - Remove an ability to set higher JS versions via language attribute. r=jonas
2013-02-05 06:37:21 +09:00
Nicholas Nethercote
d9f49c3dc8
Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
...
Ding dong! The witch is dead!
2013-01-24 21:24:57 -08:00
Phil Ringnalda
15ecedac46
Back out 66882ea6f8c7 (bug 788293) and 32f09cb3c7b6 (bug 834090) for bustage
...
CLOSED TREE
2013-01-31 22:29:30 -08:00
Nicholas Nethercote
e4944dd40a
Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
...
Ding dong! The witch is dead!
--HG--
extra : rebase_source : 7574f5620e303c25120fcfc8ceb2099ad75c8f1b
2013-01-24 21:24:57 -08:00
Boris Zbarsky
12de7c3472
Bug 835417 part 1. Mark Node.namespaceURI as not throwing, since [Constant] things aren't allowed to throw (though we were not enforcing that). r=peterv
2013-01-29 17:53:52 -05:00
Steve Fink
9effec722d
Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
2012-12-31 12:40:21 -08:00
Steve Fink
d8da3e7b9a
Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!)
2013-01-18 13:20:21 -08:00
Steve Fink
0dee2fb42d
Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
...
--HG--
extra : rebase_source : c8806b27677594925ad0e6b54c47af5cf17e1153
2012-12-31 12:40:21 -08:00
Bobby Holley
746d5bebee
Bug 824864 - Remove unused optional arguments from nsIScriptContext::ExecuteScript. r=bz
...
This lets us get rid of a bunch of junk.
2013-01-16 18:50:26 -08:00
Trevor Saunders
83bcbe0d6b
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Ehsan Akhgari
1fc28fc2a4
Merge mozilla-central into mozilla-inbound
2013-01-05 16:00:35 -05:00
Andrew McCreight
62132fce09
Bug 827020 - Add null check to nsXULPrototypeDocument::TraceProtos. r=smaug
2013-01-05 11:16:06 -08:00
Robert O'Callahan
970988bc3c
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
...
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Phil Ringnalda
d44dff5096
Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
...
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
0bda13504b
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
...
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
Ehsan Akhgari
8dfd0eb1e5
Bug 815847 - Part 3: Avoid double-caching XUL prototypes which are loaded at around the same time; r=bsmedberg
2013-01-03 17:32:11 -05:00
Ehsan Akhgari
8bceb50f29
Bug 815847 - Part 2: Waste less memory in nsXULPrototypeCache::mCacheURITable; r=bsmedberg
2013-01-03 17:23:20 -05:00
Ehsan Akhgari
5c7cbd45e5
Bug 815847 - Part 1: Remove nsXULPrototypeCache::gStartupCache; r=bsmedberg
...
There is no good reason why this variable should be used.
2013-01-03 16:38:08 -05:00
Robert O'Callahan
943cb99eff
Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
...
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.
--HG--
rename : view/public/nsIView.h => view/public/nsView.h
2013-01-04 02:23:11 +13:00
Andrew McCreight
77fe39495b
Bug 785493, part 2 - mark XUL protos of live docs black during GC. r=smaug
2012-08-24 13:22:23 -07:00
Andrew McCreight
b4ffef6b04
Bug 824958 - Eliminate nsXULPrototypeScript::ScriptObjectHolder and make field private. r=smaug
2012-08-24 13:22:23 -07:00
Boris Zbarsky
53a5112fb0
Bug 804631. Add the WebIDL API for Document. r=peterv
...
I'm not entirely happy with the XPath bits. If we had an
nsXPathEvaluator member, or if the WebIDL API were on
nsIDOMXPathEvaluator or something, all that stuff would need a lot
less code...
2012-12-22 00:27:27 -08:00
Boris Zbarsky
04ee3d8061
Bug 817473 part 1. Make nsIDOMXULDocument inherit from nsIDOMDocument, so that XUL documents end up with Document.prototype and Node.prototype on their proto chain. r=peterv
2012-12-06 15:21:18 -05:00
Trevor Saunders
b6cf9728ce
bug 801466 - part 3.1 remove some prmem usage from dom/ and content/ r=mounir
2012-12-05 02:55:37 -05:00
Ed Morley
21aa12ebe9
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-11-15 16:17:36 +00:00
Olli Pettay
d39a545e92
Bug 749448 - Remove XTF, r=bz
2012-11-15 14:27:13 +02:00
Benoit Jacob
986ee1a065
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Ms2ger
b903541457
Bug 807410 - Part b: Pass the "GC on destruction" flag to the nsJSContext constructor; r=jst
2012-11-04 09:05:23 +01:00
Ms2ger
af22942dae
Bug 807410 - Part a: Pass the global object to the nsJSContext constructor; r=jst
2012-11-04 09:04:04 +01:00
Jet Villegas
a55ebc12a4
Bug 806068 part 2: Change in-tree usage of -moz-initial to initial. r=dholbert
2012-10-30 16:57:36 +01:00
Peter Van der Beken
2d58c35ce6
Fix for bug 778152 (Content window does not have an XMLHttpRequest property when accessed via an Xray wrapper in a subscript) - rename ProtoOrIfaceArray. r=bz.
...
--HG--
extra : rebase_source : c426270fc1ebee818629bd94dfc8d11af59bfc00
2012-10-09 20:50:27 +02:00
Matt Joras
d09815e06d
Bug 798033 - Removes 'using namespace' from /content headers - r=bsmedberg
2012-10-27 13:24:04 -04:00
Phil Ringnalda
82b21e4b5e
Back out c25bc74b7fd3 (bug 798033) for build bustage
2012-10-26 19:05:18 -07:00
Matt Joras
3d08b27e9d
Bug 798033 - Removes 'using namespace' from /content headers - r=bsmedberg
2012-10-14 00:04:51 -05:00
Bobby Holley
867be47a78
Bug 797821 - Don't pass XPCONNECT_GLOBAL_FLAGS for xbl and xul document gSharedGlobalClass. r=mrbkap
...
A lot of these flags don't make sense in this context.
2012-10-25 17:01:08 +02:00
Bobby Holley
6e408995a1
Bug 797821 - Stop making nsXBLDocumentInfo and nsXULPrototypeDocument globals with XPConnect. r=mrbkap
...
We already weren't creating a scope for them. They're generally pretty isolated
and are just used for holding functions that get cloned into other scopes.
Apparently mccr8 once found an edge from an nsXULPrototypeDocument scope into
another scope, but I don't think that should really break anything.
2012-10-25 17:01:07 +02:00
Bobby Holley
115b01b88b
Bug 797821 - Stop passing wantXrays directly to CreateGlobalObject. r=mrbkap
...
This can happen after the fact where it needs to.
2012-10-25 17:01:07 +02:00
Bobby Holley
c563a12b76
Bug 797821 - Simplify the call signature for XPC::CreateGlobalObject. r=mrbkap
2012-10-25 17:01:07 +02:00
Bobby Holley
2539ad261e
Bug 789224 - Remove signed script security checks. r=mrbkap
2012-10-22 08:29:55 +02:00
Bobby Holley
66fe81e49a
Bug 789224 - Remove miscellaneous UniversalXPConnect checks sprinkled throughout gecko. r=mrbkap
2012-10-22 08:29:55 +02:00
Ms2ger
9de4e445fb
Bug 793116 - Remove nsISupports argument to xpc_CreateGlobalObject; r=bholley
2012-10-02 10:24:11 +02:00
Isaac Aggrey
481e7dfb0b
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Ehsan Akhgari
8cc30b88b2
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
L. David Baron
6521fcaca1
Rename nsIPresShell::InitialReflow to Initialize since it doesn't actually perform reflow. (Bug 788956) r=roc
2012-09-06 21:16:09 -07:00
Makoto Kato
1356f06137
Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza
2012-09-06 11:41:02 +09:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Andrew McCreight
71d9aa2a7e
Bug 782735 - turn nsNodeInfoManager into a non-leaking native CC class. r=smaug
2012-08-24 09:50:06 -07:00
Andrew McCreight
a9920e291d
Bug 782485 - turn nsXULPrototypeNode into a native CC class. r=smaug
2012-08-24 09:50:06 -07: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
Ian Melven
01a802da01
Bug 341604 - modify CheckMayLoad to allow sandboxed workers to load blob and data URIs r=jst
2012-08-20 11:34:33 -07:00
Aryeh Gregor
4e199a1679
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Honza Bambas
15daadba69
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
Ms2ger
f37eda9fb5
Bug 672814 - Part b: Introduce nsContentUtils::IsJavascriptMIMEType; r=bz
2012-08-04 09:43:59 +02:00
Ms2ger
78e3c35a3c
Bug 672814 - Part a: Move nsJSRuntime::ParseVersion to nsContentUtils; r=bz
2012-08-04 09:43:59 +02:00
Mike Hommey
70d7c821af
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ed Morley
f4181983a1
Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE
2012-08-04 18:05:15 +01:00
Ms2ger
a5868b4e65
Bug 672814 - Part b: Introduce nsContentUtils::IsJavascriptMIMEType; r=bz
2012-08-04 09:43:59 +02:00
Ms2ger
2304ff656b
Bug 672814 - Part a: Move nsJSRuntime::ParseVersion to nsContentUtils; r=bz
2012-08-04 09:43:59 +02:00
Aryeh Gregor
b6b1141edf
Bug 778681 part 2 - Convert nsXULDocument::mUnloadedOverlays from nsCOMArray to nsTArray; r=bz
2012-07-30 16:48:02 +03:00
Aryeh Gregor
c81630fddb
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Ehsan Akhgari
3ad40dbf10
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Aryeh Gregor
587e4453db
Bug 777292 - Don't use |= on nsresult; r=ehsan
2012-07-27 17:03:08 +03:00
Olli Pettay
aa64d464e5
Bug 765163 - Implement code generator for simple DOM events, r=jst,khuey
2012-07-20 19:42:08 +03:00
Nathan Froyd
bfff055672
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
David Zbarsky
d2ee12f6f9
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Bill McCloskey
3a7ad02866
Bug 766717 - nsNodeInfoManager needs to be able to add itself to the purple buffer (r=smaug)
2012-06-26 13:35:29 -07:00
Jonathan Watt
970e60a384
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Chris Jones
f35f128a34
Bug 757137, part 2: Test. r=bz
2012-06-20 12:25:23 -07:00
Ryan VanderMeulen
5f2a19ee6e
Revert c39d36167b99 due to a horribly munged backout.
2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
6d6c4efbab
Backout the bug 754202 backout due to orange.
2012-06-10 19:37:47 -04:00
Olli Pettay
e160cfea86
Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst
2012-06-10 21:14:30 +03:00
Jason Orendorff
e2d3e44740
Bug 753885 - Part 1: Rename JSOPTION_XML to JSOPTION_MOAR_XML, and other cleanups. r=Waldo.
2012-05-30 15:05:58 -05:00
Shriram Kunchanapalli
5b9a95ea6a
Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt
2012-05-30 18:43:39 +01:00
Daniel Holbert
5f471bc3f6
Bug 757949: In nsXULDocument::PrepareToWalk, range-check IndexOf() return-value _before_ converting it to be unsigned. r=bz
2012-05-24 10:46:47 -07:00
Neil Deakin
403c3ccc83
Bug 757485, remove nsIXBLService and use nsXBLService directly, r=bz
2012-05-23 14:46:04 -04:00
Nils Maier
eb4ff8a701
Bug 754771 - Add identifying information to all system compartments. r=bz
2012-05-16 19:42:10 +02:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Brian Hackett
d55ff730fa
Use handles in API object hooks where possible, bug 750733. r=billm
2012-05-19 15:03:45 -07:00
Brian Hackett
66d81d0a7e
Backed out changeset 5fc7462dd394 for android orange.
2012-05-19 11:52:55 -07:00
Brian Hackett
7235558c07
Use handles in API object hooks where possible, bug 750733. r=billm
2012-05-19 09:48:09 -07:00
Benjamin Smedberg
eaa4878487
Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
...
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Ms2ger
ba51dd062a
Bug 754968 - Part c: Make BindingUtils.h not require private xpconnect headers; r=bholley
2012-05-18 10:29:40 +02:00
Mark Capella
dd4dbf0fab
Bug 749367 - script type=texttemplate content parsed as JavaScript (+E4X), r=jst, f=ms2ger, mbrubeck, jdm
2012-05-09 07:24:24 -07:00
Ms2ger
7139d571ce
Bug 745568 - Fix nsXULDocument::CloneNode; r=smaug
2012-05-05 11:00:05 +02:00
Ms2ger
92edad47c8
Bug 745211 - Remove SetScriptContext from nsIScriptGlobalObject; r=mrbkap
2012-05-05 11:00:04 +02:00
Steve Fink
c50109b8cd
Bug 730208 - UnmarkGray the global object held by nsXULPDGlobalObject to avoid it getting used to create black -> gray edges. r=smaug
...
--HG--
extra : rebase_source : fd4b5cd7787e1af157cce4f505422238660a5a65
2012-03-20 21:29:47 -07:00
Boris Zbarsky
2299a42041
Bug 742217. Reduce the use of nested namespaces in our binding code. r=peterv,bent
...
In the new setup, all per-interface DOM binding files are exported into
mozilla/dom. General files not specific to an interface are also exported into
mozilla/dom.
In terms of namespaces, most things now live in mozilla::dom. Each interface
Foo that has generated code has a mozilla::dom::FooBinding namespace for said
generated code (and possibly a mozilla::bindings::FooBinding_workers if there's
separate codegen for workers).
IDL enums are a bit weird: since the name of the enum and the names of its
entries all end up in the same namespace, we still generate a C++ namespace
with the name of the IDL enum type with "Values" appended to it, with a
::valuelist inside for the actual C++ enum. We then typedef
EnumFooValues::valuelist to EnumFoo. That makes it a bit more difficult to
refer to the values, but means that values from different enums don't collide
with each other.
The enums with the proto and constructor IDs in them now live under the
mozilla::dom::prototypes and mozilla::dom::constructors namespaces respectively.
Again, this lets us deal sanely with the whole "enum value names are flattened
into the namespace the enum is in" deal.
The main benefit of this setup (and the reason "Binding" got appended to the
per-interface namespaces) is that this way "using mozilla::dom" should Just
Work for consumers and still allow C++ code to sanely use the IDL interface
names for concrete classes, which is fairly desirable.
--HG--
rename : dom/bindings/Utils.cpp => dom/bindings/BindingUtils.cpp
rename : dom/bindings/Utils.h => dom/bindings/BindingUtils.h
2012-05-03 00:35:38 -04:00
Bill McCloskey
9bf329bcdd
Bug 750424 - Make nsXULPrototypeNode an nsISupports (r=smaug)
2012-04-30 15:54:16 -07:00
Honza Bambas
9b81f3b6e2
Bug 700493 - Stop overlay load after document went away, r=bz
2012-04-25 14:50:20 +02:00
Matt Brubeck
0d23bfe194
Back out bug 730208 and bug 747543 because of xpcshell test failures
2012-04-24 20:47:16 -07:00
Steve Fink
f7e9952e1d
Bug 730208 - UnmarkGray the global object held by nsXULPDGlobalObject to avoid it getting used to create black -> gray edges. r=smaug
...
--HG--
extra : rebase_source : 08ec063f13679b0a0a32c1b56415f6192a657280
2012-03-20 21:29:47 -07:00
Mark Capella
260d060e01
Bug 744332 - Remove nsXULPrototypeScript::ScriptObjectHolder::mLangID. r=jst, f=Ms2ger
2012-04-24 18:31:28 -04:00
Mark Capella
cd7e385481
Bug 741580 - Remove nsXULPrototype Element mScriptTypeID, r=ms2ger,jst
2012-04-05 12:20:44 -07:00
Igor Bukanov
2d04a4fe3d
Bug 737365 - stop using the cx during finalization, part 1.
...
This part changes the signatures for various finalization API to take
not JSContext* but rather either JSFreeOp structure or its
library-private counterpart FreeOp. These structures wrap parameters
that are passed to the finalizers removing most of explicit dependencies
on JSContext in the finalization code.
2012-03-19 15:34:55 +01:00
Ryan VanderMeulen
503ea93a8c
Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst
2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
dcbb9c3017
Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt
2012-02-18 19:17:01 +05:30
Ms2ger
5b2f043624
Bug 738759 - Add nsContentUtils::CheckSameOrigin overload taking two nsINodes; r=jst
2012-04-03 09:25:38 +02:00
Mark Capella
62db5d9389
Bug 738380 - Remove nsINode::{GetScriptTypeID, SetScriptTypeID}, nsIScriptContext::GetScriptTypeID, nsIScriptRuntime::GetScriptTypeID; r=jst
2012-04-01 14:47:48 +02:00
Peter Van der Beken
ed510d3506
Fix for bug 740069 (Generate JS bindings in C++ with a python script for DOM objects on the main thread and in workers. Infrastructure and new bindings for XMLHttpRequest). Patch by bent/bz/bholley/jst/khuey/peterv, r=bent/bz/bholley/jlebar/khuey/peterv/sicking/smaug.
...
--HG--
rename : js/xpconnect/tests/mochitest/test_bug462428.html => dom/bindings/test/test_lookupGetter.html
2012-03-30 21:42:20 -07:00
Marco Bonardo
932988efc9
Merge central to inbound
2012-03-30 12:27:55 +02:00
Ms2ger
2754f9e3ff
Bug 738654 - Part b: RemoveChildAt can't fail; r=sicking
2012-03-29 23:09:07 +02:00
Matias Juntunen
9f2f5d2bad
Bug 729048 - Part 3: Replace call to nsParserService::CheckQName with nsContentUtils::CheckQName in nsXULDocument.cpp. r=hsivonen
2012-03-29 17:31:40 -04:00
Irving Reid
fc6142736f
Bug 738662 - Add tracing/warning information to help debug XUL overlay problems. r=bz,enn
2012-03-26 15:40:52 -04:00
Phil Ringnalda
16b8634b73
Back out b00bf7f3869c (bug 737976) for apparently causing mochitest-1 leaks on a CLOSED TREE
2012-03-28 22:43:09 -07:00
Kyle Huey
33073664dc
Bug 737976: Remove nsINodeInfo. rs=bent
2012-03-28 19:07:37 -07:00
Igor Bukanov
fba835a226
bug 737624 - memory-only encoding/decoding of scripts and functions. r=:luke
...
The patch shrinks the API presented in jsxdrapi.h down to 4 functions to
encode/decode scripts and interpreted functions to/from the memory. The
newly introduced implementation header vm/Xdr.h replaces the former
JSXDRState with the template class XDRState parametrized by the enum
type with two constants, XDR_ENCODE and XDR_DECODE. This way a compiler
can fully eliminate the former runtime checks for the decoding/encoding
mode. As a drawback this required to explicitly instantiate the xdr
implementation as I do not want to put all the xdr code to header files.
The memory-only XDR allows to avoid coping filename and to-be-atomized
chars to a temporary buffer as the code can just access the buffer
directly. Another change is that new XDRScript takes as a parameter its
parent script. This allowed to avoid keeping filename in XDRState and
simplify the filename management.
Another change is the removal of JS_HAS_HDR. As CloneScript uses XDR to
copy a script, JS_HAS_XDR cannot be disabled.
--HG--
rename : js/src/jsxdrapi.cpp => js/src/vm/Xdr.cpp
extra : rebase_source : f8f1536a86b7c3fe7296a16b6677bd21664af98a
2012-02-20 11:58:00 +01:00
Dão Gottwald
5e96f96042
Backed out changeset 30798fdc5bad
2012-03-24 12:33:30 +01:00
Igor Bukanov
63cd1dc8b0
bug 737624 - memory-only encoding/decoding of scripts and functions. r=:luke
...
The patch shrinks the API presented in jsxdrapi.h down to 4 functions to
encode/decode scripts and interpreted functions to/from the memory. The
newly introduced implementation header vm/Xdr.h replaces the former
JSXDRState with the template class XDRState parametrized by the enum
type with two constants, XDR_ENCODE and XDR_DECODE. This way a compiler
can fully eliminate the former runtime checks for the decoding/encoding
mode. As a drawback this required to explicitly instantiate the xdr
implementation as I do not want to put all the xdr code to header files.
The memory-only XDR allows to avoid coping filename and to-be-atomized
chars to a temporary buffer as the code can just access the buffer
directly. Another change is that new XDRScript takes as a parameter its
parent script. This allowed to avoid keeping filename in XDRState and
simplify the filename management.
Another change is the removal of JS_HAS_HDR. As CloneScript uses XDR to
copy a script, JS_HAS_XDR cannot be disabled.
--HG--
rename : js/src/jsxdrapi.cpp => js/src/vm/Xdr.cpp
2012-02-20 11:58:00 +01:00
Ms2ger
01a1c4d2d2
Backed out changeset f33e1e959036; r=bustage
2012-03-24 11:04:34 +01:00
Igor Bukanov
5a94b9c481
bug 737624 - memory-only encoding/decoding of scripts and functions. r=:luke
...
The patch shrinks the API presented in jsxdrapi.h down to 4 functions to
encode/decode scripts and interpreted functions to/from the memory. The
newly introduced implementation header vm/Xdr.h replaces the former
JSXDRState with the template class XDRState parametrized by the enum
type with two constants, XDR_ENCODE and XDR_DECODE. This way a compiler
can fully eliminate the former runtime checks for the decoding/encoding
mode. As a drawback this required to explicitly instantiate the xdr
implementation as I do not want to put all the xdr code to header files.
The memory-only XDR allows to avoid coping filename and to-be-atomized
chars to a temporary buffer as the code can just access the buffer
directly. Another change is that new XDRScript takes as a parameter its
parent script. This allowed to avoid keeping filename in XDRState and
simplify the filename management.
Another change is the removal of JS_HAS_HDR. As CloneScript uses XDR to
copy a script, JS_HAS_XDR cannot be disabled.
--HG--
rename : js/src/jsxdrapi.cpp => js/src/vm/Xdr.cpp
2012-02-20 11:58:00 +01:00
Mark Capella
8721036540
Bug 734023 - Remove language arguments from nsIScriptGlobalObject methods, r=jst, f=ms2ger
2012-03-23 18:13:29 +01:00
Henri Sivonen
31192f4b01
Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug.
2012-03-22 16:42:42 +02:00
Nathan Froyd
70907fb5f2
Bug 732167 - Eliminate duplicate headers in content. r=mounir
2012-03-06 13:55:37 -05:00
Ms2ger
1c8f3fe8f8
Bug 734473 - Remove nsIScriptContext::FinalizeContext; r=jst
2012-03-11 09:51:22 +01:00
Henri Sivonen
60b9bb42d0
Bug 650784 part 0 - Fold nsParserUtils into nsContentUtils. r=smaug.
2012-02-27 13:57:48 +02:00
Igor Bukanov
1013be2159
bug 726944 - Remove JSClass::xdrObject and related functionality. r=luke
2012-02-13 09:02:21 +01:00
Igor Bukanov
3638c8cf65
bug 724310 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
...
--HG--
extra : rebase_source : b78519db2ff008eb5143676d2db47935f0e89f45
2012-02-05 21:07:23 +01:00
Igor Bukanov
55704654e7
backout merge for bug 724310. r=irc
2012-02-09 21:28:22 +01:00
Igor Bukanov
ca990d2064
bug 723517 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
...
--HG--
extra : rebase_source : c461dfc0e0e0462ab262cc01c2a771d3bb0971cc
2012-02-05 21:07:23 +01:00
Panagiotis Koutsourakis
9c7dfb9706
Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
...
Files named Makefile.in containing the expression
DIRS += <foo>
or
DIRS = <foo>
inside the conditional expression
ifdef ENABLE_TESTS
...
endif
are changed to
TEST_DIRS += tests
outside any conditional expression.
The files
./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in
contain the string
ifdef ENABLE_TESTS
but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Henri Sivonen
3bd56d1ff6
Bug 714777 - Refactor fragment parsing out of nsHtml5Parser. r=smaug.
2012-01-20 13:16:27 +02:00
Ms2ger
d8739c7ff6
Bug 677079 - Part g: Expose VersionSetXML in jsfriendapi.h; r=bhackett
2012-01-15 09:13:08 +01:00
Bobby Holley
9adc1c9d8a
Bug 713747 - Remove usage of UniversalFoo in gecko. r=bz
2011-12-30 09:35:39 -08:00
Olli Pettay
fb75702799
Bug 713865 - Don't traverse XBL and XUL protos so much, r=bent
2011-12-29 16:34:05 +02:00
Masatoshi Kimura
4eadc7baec
Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug
2011-12-15 14:47:03 +00:00
Ms2ger
5107b701c2
Bug 705434 - Remove dead code: nsXULDocument::ContextStack::IsInsideXULTemplate; r=jst
2011-12-03 22:50:17 +01:00
Ms2ger
0ac11f32f0
Bug 698261 - Remove the aElementType argument of NS_NewElement; r=bz
2011-11-16 08:50:19 +01:00
Ms2ger
a4e37b2f13
Bug 696660 - Outparamdel nsIScriptRuntime::CreateContext; r=mrbkap
2011-11-16 08:50:19 +01:00
Ed Morley
7ea8e12caa
Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail
2011-11-05 18:35:59 +00:00
Rail Aliiev
ac65d0d88e
Bug 616542 - Shorten file path length of mochitest; r=ted
2011-11-04 21:13:42 +00:00
Ms2ger
85b04a3e8e
Bug 697210 - Part c: Remove nsIDocument::CreateElem's aDocumentDefaultType argument; r=bz
2011-10-29 22:21:20 +02:00
Ms2ger
0acf27c125
Bug 697210 - Part a: Make nsIDocument::GetDefaultNamespaceID non-virtual and have it return mDefaultElementType; r=bz
2011-10-29 22:20:37 +02:00
Ms2ger
68ad7e544d
Bug 694867 - Part e: Pass JSScript to nsXULDocument::ExecuteScript; r=volkmar
2011-10-29 22:14:26 +02:00
Ms2ger
e8c4b3139e
Bug 694867 - Part d: Store a JSScript in nsXULPrototypeCache; r=volkmar
2011-10-29 22:14:13 +02:00
Ms2ger
86cdbf903c
Bug 694867 - Part c: Return a JSScript from nsXULPrototypeCache::GetScript; r=volkmar
2011-10-29 22:13:55 +02:00
Ms2ger
fb9a3df8f4
Bug 694867 - Part b: Pass a JSScript to nsXULPrototypeScript::Set; r=volkmar
2011-10-29 22:13:31 +02:00
Ms2ger
a8dba5714a
Bug 694769 - Remove nsIScriptContext::GetScriptGlobal in favour of GetGlobalJSObject; r=smaug
2011-10-29 22:09:04 +02:00
Ms2ger
36940470e1
Bug 694759 - Make nsIScriptContext::GetNativeGlobal return JSObject; r=jst
2011-10-29 22:06:17 +02:00
Olli Pettay
5a92aedb22
Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 2, r=jst
...
--HG--
extra : rebase_source : 53dc2ec386f6e4147587e6be3c53d297ad71d57a
2011-10-18 14:19:44 +03:00
Olli Pettay
2c2da3099f
Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
...
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03: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
Jeff Walden
b5e57820bf
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
d0532c3e95
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
0f30b277bf
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Andreas Gal
7d5b52f0f1
Bug 648801 (new DOM list bindings) - Cache prototypes and pick up function value from the proto slot instead of caching it locally. r=bz/jst/mrbkap.
...
--HG--
extra : rebase_source : 56a04a93973f479998d40eb22b015e940419c5e5
2011-05-24 12:45:39 +02: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
David Zbarsky
98b91d54fa
Bug 682367 - Call nsINode::GetChildAt less. r=smaug
2011-09-27 09:54:58 +02:00
Ms2ger
09c97f4a38
Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst
2011-09-18 11:22:17 +02:00