Olli Pettay
ac6b89bfdb
Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst
2012-06-10 21:14:30 +03:00
Jason Orendorff
80dda6d7a5
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
52a4aa2063
Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt
2012-05-30 18:43:39 +01:00
Daniel Holbert
b00a95f670
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
b9d2d5f9e3
Bug 757485, remove nsIXBLService and use nsXBLService directly, r=bz
2012-05-23 14:46:04 -04:00
Nils Maier
35431284b1
Bug 754771 - Add identifying information to all system compartments. r=bz
2012-05-16 19:42:10 +02:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Brian Hackett
c07eaa0e3e
Use handles in API object hooks where possible, bug 750733. r=billm
2012-05-19 15:03:45 -07:00
Brian Hackett
9ae1966596
Backed out changeset 5fc7462dd394 for android orange.
2012-05-19 11:52:55 -07:00
Brian Hackett
a863456144
Use handles in API object hooks where possible, bug 750733. r=billm
2012-05-19 09:48:09 -07:00
Benjamin Smedberg
4f91700da9
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
5623a92079
Bug 754968 - Part c: Make BindingUtils.h not require private xpconnect headers; r=bholley
2012-05-18 10:29:40 +02:00
Neil Deakin
190b083ef5
Bug 665677, remove frequently failing test as what it is testing is already done within the main focus test, f=masayuki
2012-05-16 19:55:08 -04:00
Mark Capella
d3f72cbbfb
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
a0ea869bab
Bug 745568 - Fix nsXULDocument::CloneNode; r=smaug
2012-05-05 11:00:05 +02:00
Ms2ger
ba6a163e0e
Bug 745211 - Remove SetScriptContext from nsIScriptGlobalObject; r=mrbkap
2012-05-05 11:00:04 +02:00
Steve Fink
5d3c80097a
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
32c7f6e634
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
ef6f92f4b9
Bug 750424 - Make nsXULPrototypeNode an nsISupports (r=smaug)
2012-04-30 15:54:16 -07:00
Kyle Huey
cad1dae76e
Merge m-i to m-c.
2012-04-25 20:22:53 -07:00
Olli Pettay
babbc77a31
Bug 740063 - Add nsINode::AsDOMNode(), r=jst
...
--HG--
extra : rebase_source : a838243c11e212ec419df1dd1a219e955c4edc2d
2012-04-25 16:47:30 +03:00
Matt Brubeck
d5da39b00f
Back out bug 730208 and bug 747543 because of xpcshell test failures
2012-04-24 20:47:16 -07:00
Honza Bambas
084e5d1783
Bug 700493 - Stop overlay load after document went away, r=bz
2012-04-25 14:50:20 +02:00
Masayuki Nakano
ba56663cd3
Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug
2012-04-25 12:00:02 +09:00
Steve Fink
55246c9838
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
329ec5f3aa
Bug 744332 - Remove nsXULPrototypeScript::ScriptObjectHolder::mLangID. r=jst, f=Ms2ger
2012-04-24 18:31:28 -04:00
Phil Ringnalda
e72580eefe
Bug 742455 - disable crashtests on Windows that are taking down the whole suite more often than not, a=test-only
2012-04-20 22:39:39 -07:00
Tom Schuster
fef9c89dba
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
Andrew McCreight
8370160730
Bug 744297 - initialize return value in nsXULPrototypeElement::Deserialize. r=bz
2012-04-11 07:48:14 -07:00
Mark Capella
0934514a16
Bug 741580 - Remove nsXULPrototype Element mScriptTypeID, r=ms2ger,jst
2012-04-05 12:20:44 -07:00
Igor Bukanov
83623b313c
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
e30ff35d31
Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst
2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
05c95fc3b7
Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt
2012-02-18 19:17:01 +05:30
Rafael Ávila de Espíndola
70d45d3be8
Bug 739674 - test_tmpl_storage_bad_parameters_2.xul (and others) don't close their database. r=enndeakin.
2012-04-03 17:12:31 -04:00
Ms2ger
6ffad56f22
Bug 738759 - Add nsContentUtils::CheckSameOrigin overload taking two nsINodes; r=jst
2012-04-03 09:25:38 +02:00
Mark Capella
3519b46a3e
Bug 738380 - Remove nsINode::{GetScriptTypeID, SetScriptTypeID}, nsIScriptContext::GetScriptTypeID, nsIScriptRuntime::GetScriptTypeID; r=jst
2012-04-01 14:47:48 +02:00
Peter Van der Beken
c2e642fbcc
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
31496b4a78
Merge central to inbound
2012-03-30 12:27:55 +02:00
Ms2ger
6f4de79d23
Bug 738996 - Remove agnostic Hold/DropScriptObject nsContentUtils functions; r=mrbkap
2012-03-29 23:09:11 +02:00
Ms2ger
968425f97e
Bug 738654 - Part b: RemoveChildAt can't fail; r=sicking
2012-03-29 23:09:07 +02:00
Matias Juntunen
800a01a2e1
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
2804f5e3ca
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
0abdfa04b8
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
c3096d813b
Bug 737976: Remove nsINodeInfo. rs=bent
2012-03-28 19:07:37 -07:00
Igor Bukanov
7296e0408c
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
766a2b3244
Backed out changeset 30798fdc5bad
2012-03-24 12:33:30 +01:00
Igor Bukanov
f8a4496d31
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
8775c56114
Backed out changeset f33e1e959036; r=bustage
2012-03-24 11:04:34 +01:00
Igor Bukanov
8e97874303
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
1e7fdd17b2
Bug 734023 - Remove language arguments from nsIScriptGlobalObject methods, r=jst, f=ms2ger
2012-03-23 18:13:29 +01:00
Andrew McCreight
9c5ab91ad1
Bug 737060 - don't traverse nsXULTemplateBuilder with observed document. r=bent
2012-03-22 08:37:18 -07:00
Henri Sivonen
f2d3f89eb7
Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug.
2012-03-22 16:42:42 +02:00
Nathan Froyd
70cbaa6b9e
Bug 732167 - Eliminate duplicate headers in content. r=mounir
2012-03-06 13:55:37 -05: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
Ms2ger
51265ab0b6
Bug 734473 - Remove nsIScriptContext::FinalizeContext; r=jst
2012-03-11 09:51:22 +01:00
Masatoshi Kimura
0fc58c6dd5
Bug 705110 - Suppress warning spam on DOMAttrModified event. r=smaug
2012-02-27 18:57:28 -05:00
Henri Sivonen
c8d46ba72d
Bug 650784 part 0 - Fold nsParserUtils into nsContentUtils. r=smaug.
2012-02-27 13:57:48 +02:00
Andrew McCreight
8cd569208b
Bug 729401 - use global before we null it out in ~nsXULTemplateBuilder. r=bent
2012-02-24 08:49:23 -08:00
Matthew Schranz
7e8fb26c1e
Bug 698381 - Make Node.cloneNode aDeep argument optional, default to true. r=smaug
2012-02-23 14:23:30 +01:00
Igor Bukanov
87ee03b495
bug 726944 - Remove JSClass::xdrObject and related functionality. r=luke
2012-02-13 09:02:21 +01:00
Brian Birtles
b01aa376a5
Bug 629200 part 3 - Make AfterSetAttr take an nsAttrValue; r=bz
2012-02-14 11:00:56 +09:00
Brian Birtles
6d87e35dd1
Bug 629200 part 2 - Make BeforeSetAttr take an nsAttrValue; r=bz
2012-02-14 11:00:56 +09:00
Igor Bukanov
18e6a2e079
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
eb3cfce3dc
backout merge for bug 724310. r=irc
2012-02-09 21:28:22 +01:00
Igor Bukanov
efe64d22c0
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
791aa57b19
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
Andrew McCreight
8a73fee0b0
Bug 720292 - add more cycle collector edge names. r=smaug
2012-01-23 15:25:53 -08:00
Henri Sivonen
9b60bd476a
Bug 714777 - Refactor fragment parsing out of nsHtml5Parser. r=smaug.
2012-01-20 13:16:27 +02:00
Ms2ger
2d806d1221
Bug 677079 - Part g: Expose VersionSetXML in jsfriendapi.h; r=bhackett
2012-01-15 09:13:08 +01:00
Ehsan Akhgari
21790739ea
Bug 717154 - Make sure the focus handler is only run once in order to avoid the intermittent orange; r=bzbarsky
2012-01-11 13:11:22 -05:00
Bobby Holley
9fb9ba7af0
Bug 713747 - Remove usage of UniversalFoo in gecko. r=bz
2011-12-30 09:35:39 -08:00
Olli Pettay
0184684bb9
Bug 713865 - Don't traverse XBL and XUL protos so much, r=bent
2011-12-29 16:34:05 +02:00
Ms2ger
a69df32e9b
Bug 698420 - Make nsScriptObjectHolder typesafe; r=bz
2011-12-18 11:05:12 +01:00
Matthew Schranz
91b4e4faac
Bug 334573 - Renamed all references of nsPLDOMEvent to nsAsyncDOMEvent. r=sicking
...
--HG--
rename : content/events/public/nsPLDOMEvent.h => content/events/public/nsAsyncDOMEvent.h
rename : content/events/src/nsPLDOMEvent.cpp => content/events/src/nsAsyncDOMEvent.cpp
2011-12-17 01:02:05 -05:00
Masatoshi Kimura
ef45bcacdc
Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug
2011-12-15 14:47:03 +00:00
Jan Bambach
2cd6ae449b
Bug 707677 - Use defaultPrevented instead of the deprecated getPreventDefault() in front-end code. r=dao
2011-12-08 10:21:32 +01:00
Masayuki Nakano
a35dc03152
Bug 665677 test_bug330705-2.xul should ensure that the first box gets focus before doing test r=smaug
2011-12-08 09:58:26 +09:00
Ms2ger
1b17785dc8
Bug 705434 - Remove dead code: nsXULDocument::ContextStack::IsInsideXULTemplate; r=jst
2011-12-03 22:50:17 +01:00
Ms2ger
0f691c2c0a
Bug 705433 - Remove dead code: TestNode::HasAncestor; r=jst
2011-12-03 22:50:17 +01:00
Ms2ger
549b6c1e76
Bug 698406 - Make nsXULPrototypeAttribute::mEventHandler a JSObject; r=sicking
2011-11-26 11:18:51 +01:00
Ms2ger
4f03fe78ee
Bug 696604 - Remove nsIScriptContext::CompileScript's aScopeObject parameter; r=peterv
2011-11-16 08:50:19 +01:00
Ms2ger
8c93cf88ec
Bug 698261 - Remove the aElementType argument of NS_NewElement; r=bz
2011-11-16 08:50:19 +01:00
Ms2ger
ceb7aaabe0
Bug 696660 - Outparamdel nsIScriptRuntime::CreateContext; r=mrbkap
2011-11-16 08:50:19 +01:00
Ed Morley
6a998be2c5
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
364e83c545
Bug 616542 - Shorten file path length of mochitest; r=ted
2011-11-04 21:13:42 +00:00
Ms2ger
d0aac143b2
Bug 697210 - Part c: Remove nsIDocument::CreateElem's aDocumentDefaultType argument; r=bz
2011-10-29 22:21:20 +02:00
Ms2ger
c4bb29bcff
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
27ea1b560a
Bug 694867 - Part e: Pass JSScript to nsXULDocument::ExecuteScript; r=volkmar
2011-10-29 22:14:26 +02:00
Ms2ger
be67644abb
Bug 694867 - Part d: Store a JSScript in nsXULPrototypeCache; r=volkmar
2011-10-29 22:14:13 +02:00
Ms2ger
2e196a5c20
Bug 694867 - Part c: Return a JSScript from nsXULPrototypeCache::GetScript; r=volkmar
2011-10-29 22:13:55 +02:00
Ms2ger
3a06735007
Bug 694867 - Part b: Pass a JSScript to nsXULPrototypeScript::Set; r=volkmar
2011-10-29 22:13:31 +02:00
Ms2ger
835b0c80ca
Bug 694867 - Part a: Pass a JSScript to nsIScriptContext::Serialize and store a JSScript in nsXULPrototypeScript::ScriptObjectHolder::mObject; r=volkmar
2011-10-29 22:12:47 +02:00
Ms2ger
424e3da2cb
Bug 694769 - Remove nsIScriptContext::GetScriptGlobal in favour of GetGlobalJSObject; r=smaug
2011-10-29 22:09:04 +02:00
Ms2ger
9ce40d6af3
Bug 694759 - Make nsIScriptContext::GetNativeGlobal return JSObject; r=jst
2011-10-29 22:06:17 +02:00
Mark Banner
cbd25443a2
Bug 693949 - Drop nsCStringArray. r=bsmedberg
2011-10-28 08:35:45 +01:00
Timothy Nikkel
09778341dc
Bug 658005. Part 2. Add a frame visibility API that takes into account everything we need, and use it. r=roc
2011-10-26 18:57:55 -05:00
Olli Pettay
e5b7e8ee46
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
a86b1a4d43
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
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
Jeff Walden
b7753477cf
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
eb2cb918a4
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab
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
ed242eb6a7
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
Peter Van der Beken
c119510fb8
Stop including nsDOMClassInfo.h all over the place.
...
--HG--
extra : rebase_source : 24bd6a84238834f8ca50990a91849dff2c5040ba
2011-10-03 21:11:31 +02:00
Ed Morley
72ed7305fc
Bug 689884 - Deleted the now unused Makefiles from the tree; r=khuey
2011-10-06 17:15:07 +01:00
Ed Morley
918444551f
Bug 689884 - Skip Makefiles that are no-op or else only |DIRS = a_single_subdir|; r=khuey
2011-10-06 17:15:07 +01: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
095402dd70
Bug 689564. Only forward event attributes on body/frameset to the window if we also forward the corresponding on* property. r=smaug
2011-09-28 11:54:50 -04:00
David Zbarsky
f28bcb747a
Bug 682367 - Call nsINode::GetChildAt less. r=smaug
2011-09-27 09:54:58 +02:00
Ms2ger
7b7048fda0
Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst
2011-09-18 11:22:17 +02:00
Ehsan Akhgari
c28978e1f3
Bug 686342 - Uninitialize the XUL template builder when XPCOM is being destroyed; r=bzbarsky
2011-09-13 12:49:59 -04:00
Graeme McCutcheon
879f63c2f1
Bug 682338 - Focus context menu's target on platforms where the context menu is shown on mousedown, not where it's shown on mouseup. r=enndeakin
2011-08-26 18:56:16 +01:00
Marco Castelluccio
7cb0506077
Bug 682744 - Sprinkle some do_QueryObject fairy dust around the tree; r=khuey
2011-08-30 22:45:31 +01:00
Peter Van der Beken
c7c99a0fea
Fix for bug 678528 (Traverse mChildNodes (and consolidate node CC code)). r=jst.
2011-08-28 16:07:24 +02:00
Marco Bonardo
40c1e206de
Merge mozilla-central and mozilla-inbound
2011-08-27 10:40:12 +02:00
David Zbarsky
0f136718bb
Bug 682366 - Remove nsINode::ChildIterator r=smaug
2011-08-27 00:23:02 +01:00
Ms2ger
6aeeb50315
Bug 672054 - Part b: Remove nsIDOMNSMouseEvent; r=smaug
2011-08-26 09:43:56 +02:00
Ms2ger
b12351fbda
Bug 672054 - Part a: Remove nsIDOMNSUIEvent; r=smaug
2011-08-26 09:43:49 +02:00
Marco Castelluccio
1d98c5c4d4
Bug 650494 - Remove nsIXULPrototypeCache; r=khuey,smaug
2011-08-26 20:50:23 +01:00
Boris Zbarsky
8bdd1a64af
Bug 659350 part 5. The guts of the change to move from storing inline event handlers on the JSObject to storing them in the event listener manager directly, so we can easily set/read them via IDL.
...
The changes here are as follows:
1) nsIJSEventListener now stores the handler. This is guaranteed to be already bound properly, if needed, before being set in the nsIJSEventListener.
2) The old classinfo glue to deal with on* properties is gone.
3) IDL-based methods for on* properties have been added.
2011-08-24 15:49:25 -04:00
Boris Zbarsky
eb5b744132
Bug 659350 part 4. Change some tests that depend on the old behavior where inline event handlers hang directly off the JSObject to not depend on it. r=smaug
2011-08-24 15:49:25 -04:00
Olli Pettay
883279b75a
Bug 680687, Follow COM rules - keep strong ref to object, r=jst
2011-08-23 15:57:29 +03:00
Jan Varga
bd7b514f07
A followup for bug 617528 - implement the HTML5 "context menu" feature (contextmenu attribute). Merged "generated" and "ident" XUL attribute into "generateditemid" and renamed PageMenu.init() to PageMenu.maybeBuildAndAttachMenu(). r=enn
2011-08-18 18:37:26 +02:00
Malini Das
02665c9658
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain 1/1. r=jmaher, a=test-only
2011-08-12 12:21:42 -04:00
Malini Das
e306b1b5aa
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only
2011-08-12 12:21:36 -04:00
Ms2ger
9414376b01
Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar
2011-08-11 15:29:50 +02:00
Ehsan Akhgari
e48161b8ff
Bug 677661 - Remove nsTPtrArray and add a SafeElementAt(index_type) API to nsTArray when it's instantiated with a pointer type; r=sicking
2011-08-10 01:36:00 -04:00
Justin Wood
f20a7276c2
Merge from m-c
2011-08-09 06:31:01 -04:00
Jan Varga
5020b003ce
Bug 617528 Part 2 - Core implementation r=smaug
...
--HG--
rename : content/html/content/test/test_bug418756.html => content/html/content/test/test_checked.html
2011-08-08 19:31:32 +02:00
Neil Rashbrook
4a4e8db2f1
Bug 675191 Don't write a cached dynamic overlay back to cache again r=Enn
2011-08-07 14:04:47 +01:00
Boris Zbarsky
74709c94d5
Bug 671635. Set chrome margins off a scriptrunner. r=smaug
2011-08-03 14:32:32 -04:00
Boris Zbarsky
f34542d2df
Bug 675267. Remove some target arguments from nsEventListenerManager APIs, since we have a perfectly good mTarget. r=smaug
2011-07-29 15:37:17 -04:00
Marco Bonardo
225034df61
Merge last green changeset from mozilla-inbound to mozilla-central
2011-07-21 14:32:10 +02:00
arno renevier
5388ac92cf
Bug 669299 - Remove unneeded nsPrintfCString.h includes. r=bsmedberg
2011-07-21 04:37:31 +02:00
Mounir Lamouri
2e1dfaef9e
Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst
2011-07-20 12:18:54 -07:00
Michael Wu
9e2c6a0264
Bug 664898 - Cleanup startup cache api, r=taras
2011-07-20 00:39:09 -07:00
Ehsan Akhgari
ee5215c7a6
Revert to changeset e0ce7821fce1 because the latest push broke all of the builds DONTBUILD
2011-07-19 16:25:54 -04:00
Mounir Lamouri
5937d63965
Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst
2011-07-19 11:22:43 -07:00
Mounir Lamouri
b088e154d6
Backed out bug 669310, bug 668013, bug 667887 and bug 669886 due to build bustage.
2011-07-19 10:49:48 -07:00
Mounir Lamouri
d2f5a3b4c3
Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst
2011-07-18 17:05:10 -07:00
Yu-Hsun Lin
b3ee61fe21
Bug 486081. Remove nsTime. r=roc
...
Use TimeStamp/TimeDuration instead.
2011-07-19 11:20:50 -04:00
Matheus Kerschbaum
55aebc79d4
Bug 579571 - Remove --enable-timeline support. r=tglek
2011-07-17 12:07:42 +02:00
Ms2ger
36c532ffa2
Bug 670235 - Remove nsIDOMWindowInternal; r=sicking
2011-07-15 12:31:34 +02:00
Matt Brubeck
214dcfc0fc
Merge last green changeset on m-c to mozilla-inbound
2011-08-08 14:21:41 -07:00
Jonas Sicking
5491caaaf4
Bug 661297 Part 1: Remove Add/RemoveEventListenerByIID API. r=smaug
2011-08-08 11:26:26 -07:00
Neil Deakin
34d82c8060
Bug 670148, remove nsIMenuFrame, r=roc
2011-07-11 10:05:07 -04:00
Neil Deakin
fb8acde484
Bug 663728, use ids of nodes in xml datasources, r=jonas
2011-07-04 10:39:06 -04:00
Olli Pettay
2d2630f2b5
Bug 664452, unlink XUL some more, r=peterv
...
--HG--
extra : rebase_source : e17e5ed7c6a5d6565758ce2835df559b6abdcf32
2011-07-01 17:02:04 +03:00
Jonas Sicking
6c6cdfc752
Bug 665609: Remove Add/RemoveEventListenerByIID API usage from nsXULPopupListener. r=smaug. Also r=ms2ger on killing NS_NewXULPopupListener.
2011-06-27 12:25:55 -07:00
Jonas Sicking
5e5e6bd544
Bug 658714 Part 10: Remove nsIDOM3EventTarget/nsIDOMEventGroup. r=smaug
2011-06-23 19:18:02 -07:00