L. David Baron
ff3df34b87
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
c28c020a8f
Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza
2012-09-06 11:41:02 +09:00
Aryeh Gregor
7d5372098e
Bug 782594 - Return 0 from nsXULTreeBuilder::CompareResults on error; r=bz
2012-08-09 11:36:41 +03:00
Aryeh Gregor
920c5474b3
Bug 782594 - Use NS_FAILED instead of boolean test (content/, js/xpconnect/, layout/); r=bz
2012-08-07 17:58:47 +03:00
Randell Jesup
eedf93a21d
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Ryan VanderMeulen
df8b5323ba
Merge the last PGO-green inbound changeset to m-c.
2012-08-30 21:54:09 -04:00
Kyle Huey
75454be03c
Bug 786048: Rename 'JSEventListener' to 'EventHandler' to better match the spec's terminology. r=smaug
2012-08-30 09:25:10 -07:00
Landry Breuil
e8c0d2f987
Bug 785738 Part 4: Use PRTime where appropriate under rdf/. r=ehsan
2012-08-30 09:10:40 +02:00
Andrew McCreight
ae88d3a894
Bug 782735 - turn nsNodeInfoManager into a non-leaking native CC class. r=smaug
2012-08-24 09:50:06 -07:00
Andrew McCreight
471b1a13bf
Bug 782485 - turn nsXULPrototypeNode into a native CC class. r=smaug
2012-08-24 09:50:06 -07:00
Andrew McCreight
62325fa9f3
Bug 750570, part 4 - Switch most native CC classes to use the purple buffer. r=smaug
...
This patch actually converts over most of the existing native CC classes
to use the participant. This is done by converting them to use
the newly generalized nsCycleCollectingAutoRefCnt instead of their usual
ref count.
This is mostly a matter of defining new macros defining AddRef() and Release()
for native CC classes with the CC ref count.
nsTimeout is left as a legacy native CC class because it is a weird class,
but hopefully eventually it too can be converted over. See bug 774874.
2012-08-24 09:50:06 -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
Ian Melven
06019be17e
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
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
David Zbarsky
b462ec011a
Bug 773842 - Fix build warnings under content/ r=mounir
2012-08-10 14:01:16 -04:00
Ms2ger
17e25febb8
Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg
2012-08-09 09:09:42 +02:00
Ms2ger
3f950b5744
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Benjamin Peterson
b97eb065c8
Bug 779724 - Use finer-grain source controls in the browser. r=jorendorff, sr=jst
2012-08-07 10:39:47 -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
David Zbarsky
d50e4a7565
[Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc
2012-08-05 23:00:56 -04:00
Ms2ger
c7a5b33778
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Ms2ger
1c0d6a2933
Bug 672814 - Part b: Introduce nsContentUtils::IsJavascriptMIMEType; r=bz
2012-08-04 09:43:59 +02:00
Ms2ger
c6bffb8f7c
Bug 672814 - Part a: Move nsJSRuntime::ParseVersion to nsContentUtils; r=bz
2012-08-04 09:43:59 +02:00
Mike Hommey
6173fa297f
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ed Morley
bba173e66e
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
babf67cce2
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Ms2ger
94472714fc
Bug 672814 - Part b: Introduce nsContentUtils::IsJavascriptMIMEType; r=bz
2012-08-04 09:43:59 +02:00
Ms2ger
fe9aa1e2db
Bug 672814 - Part a: Move nsJSRuntime::ParseVersion to nsContentUtils; r=bz
2012-08-04 09:43:59 +02:00
Aryeh Gregor
4cd4d55f74
Bug 778681 part 5 - Convert nsXULTemplateQueryProcessorRDF::mBindingDependencies from nsCOMArray to nsTArray; r=bz
2012-07-30 16:48:02 +03:00
Aryeh Gregor
cc5b835612
Bug 778681 part 3 - Convert nsXULTemplateQueryProcessorRDF::mQueries from nsCOMArray to nsTArray; r=bz
2012-07-30 16:48:02 +03:00
Aryeh Gregor
50c29f19f4
Bug 778681 part 2 - Convert nsXULDocument::mUnloadedOverlays from nsCOMArray to nsTArray; r=bz
2012-07-30 16:48:02 +03:00
Neil Deakin
91964d02eb
Bug 582719, use nsQueryFrame for menus and popups rather than GetType, r=neil
2012-07-30 20:43:28 -04:00
Aryeh Gregor
903f6c9c84
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Ehsan Akhgari
b40b21d633
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Aryeh Gregor
bcce1c96d2
Bug 777292 - Don't use |= on nsresult; r=ehsan
2012-07-27 17:03:08 +03:00
Ryan VanderMeulen
a2282bd7e8
Merge m-c to inbound.
2012-07-20 20:19:31 -04:00
Olli Pettay
cf203e6e6c
Bug 775972 - crash in nsGenericElement::BindToTree, r=bz
2012-07-21 00:55:19 +03:00
Olli Pettay
e9cea4305c
Bug 765163 - Implement code generator for simple DOM events, r=jst,khuey
2012-07-20 19:42:08 +03:00
Olli Pettay
9590583311
Bug 773945, remove nsXULElement::mPrototype, part 6, r=bz
2012-07-19 12:21:40 +03:00
Olli Pettay
d0359571b1
Bug 773945, remove nsXULElement::mPrototype, part 5, r=bz
2012-07-19 12:18:01 +03:00
Olli Pettay
e84fb0914b
Bug 773945, remove nsXULElement::mPrototype, part 4, r=bz
2012-07-19 12:14:27 +03:00
Olli Pettay
1561080c51
Bug 773945, remove nsXULElement::mPrototype, part 3, r=bz
2012-07-14 18:28:54 +03:00
Olli Pettay
c50f03fc47
Bug 773945, remove nsXULElement::mPrototype, part 2, r=bz
2012-07-19 11:31:47 +03:00
Olli Pettay
bca8bf5697
Bug 773945, remove nsXULElement::mPrototype, part 1, r=bz
2012-07-14 14:28:35 +03:00
Ryan VanderMeulen
2661c4efbe
Merge m-c to inbound.
2012-07-20 17:37:53 -04:00
Benjamin Peterson
7243e1144c
Bug 761723 - Load chrome source code when it's needed for Function.prototype.toSource(). r=bz
...
--HG--
extra : rebase_source : d8b058ff15515ad3fcce7e8ebffa016dbf1d2df4
2012-07-20 20:19:42 +02:00
Ryan VanderMeulen
7faaa873f9
Merge m-c to inbound.
2012-07-14 08:48:58 -04:00
Boris Zbarsky
79d455ef13
Bug 558516. Make getAttribute faster in the cases when we have no prefix and are in the right case. r=smaug
2012-07-13 19:29:14 -04:00
Olli Pettay
7db906c14c
Bug 773803 - Remove nsIScriptObjectOwner, r=bz
...
--HG--
rename : dom/base/nsIScriptObjectOwner.h => dom/base/nsIScriptEventHandlerOwner.h
2012-07-14 01:23:59 +03: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
Mark Capella
fc1d905831
Bug 704311 - Element CopyInnerTo shouldn't be const, r=jst, f=ms2ger
2012-07-09 08:36:05 -04:00
L. David Baron
1de6e6c5f1
Back out changeset d49beb57db23 (bug 558516) for causing all Mac builds to crash in nsXULElement::GetAttrValue and for causing a single mochitest-1 failure.
2012-07-13 18:01:25 -07:00
Boris Zbarsky
38d44f587c
Bug 558516. Make getAttribute faster in the cases when we have no prefix and are in the right case. r=smaug
2012-07-13 19:29:14 -04:00
David Zbarsky
ae718ee1c0
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Bill McCloskey
2fab59d87e
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
6380335603
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Chris Jones
7fcb563c65
Bug 757137, part 2: Test. r=bz
2012-06-20 12:25:23 -07:00
Bobby Holley
4c113368e0
Bug 765168 - Remove js context parameter from XHR.send call chain. r=smaug
2012-06-20 12:18:39 +02:00
Mike Hommey
90d687d851
Merge last PGO green changeset from mozilla-inbound to mozilla-central
2012-06-20 10:53:31 +02:00
Mike Hommey
c533a83b6c
Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo
2012-06-04 08:30:26 +02:00
Ehsan Akhgari
7a041e9a4b
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
...
--HG--
extra : rebase_source : e25a064995914ca4f7b1db16b5725eb440d3e531
2012-06-18 22:30:09 -04:00
Mike Hommey
311cae060f
Backout changeset a81526647059 and 560c492f81ad (bug 616262) because of Windows Moth perma-orange
2012-06-15 15:50:24 +02:00
Mike Hommey
88257ed076
Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo
2012-06-04 08:30:26 +02:00
Michael Wu
ea17443d61
Bug 759013 - Convert more makefiles to use TEST_DIRS, r=khuey
2012-05-27 23:25:22 -04:00
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
Jonas Sicking
864793d608
Bug 658714 Part 9: Don't use EventGroups for system-group. r=smaug
2011-06-23 19:18:02 -07:00
Jonas Sicking
26f99e3cdb
Bug 658714 Part 7: DeCOMtaminate nsEventListenerManager. r=smaug
2011-06-23 19:18:01 -07:00
Jonas Sicking
6a04ff1d9f
Bug 658714 Part 6: Fixups after search'n'replace s/nsPIDOMEventTarget/nsIDOMEventTarget/. r=smaug
2011-06-23 19:18:01 -07:00
Jonas Sicking
e3f6b769a1
Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug
2011-06-23 19:18:00 -07:00
Igor Bazarny
39a01edf21
bug 570341 Initial implementation of web timing specification
...
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Ed Morley
bf14db12d1
Bug 665390 - Remove unused variable 'count' from nsXULPrototypeCache::WritePrototype; r=jst
2011-06-21 17:37:44 +02:00
Michael Wu
7bcc18e13a
Bug 654489 - Remove fastload, r=bsmedberg
2011-06-17 15:53:52 -07:00
Michael Wu
cb74e9abab
Bug 592943 - (5/5) switch nsXULPrototypeCache to use startupCache instead of fastload, Patch by Benedict Hsieh, r=jst,glandium
2010-08-12 12:42:36 -07:00
Jonas Sicking
5f95458332
Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz
2011-06-14 00:56:49 -07:00
Ms2ger
a2b407958f
Bug 660433 - Remove nsIDOMNSHTMLTextAreaElement; f=volkmar r=peterv
2011-06-11 09:52:24 +02:00
Joel Maher
9ba59becc7
Bug 659263 - move content/xul/*.xul tests from mochitest-plain to mochitest-chrome. r=bzbarsky, a=test-only
...
--HG--
rename : content/xul/templates/tests/bug441785-1.rdf => content/xul/templates/tests/chrome/bug441785-1.rdf
rename : content/xul/templates/tests/bug441785-2.rdf => content/xul/templates/tests/chrome/bug441785-2.rdf
rename : content/xul/templates/tests/test_bug441785.xul => content/xul/templates/tests/chrome/test_bug441785.xul
rename : content/xul/templates/tests/test_sortservice.xul => content/xul/templates/tests/chrome/test_sortservice.xul
2011-06-09 11:10:12 -04:00
Dominic Fandrey
0ab2f46136
Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-06-02 14:56:50 +02:00
Boris Zbarsky
76f757828a
Bug 598833 part 12. Add dom::Element::UpdateState and use it in various places where elements update their own state. r=smaug,sdwilsh,mounir
2011-05-31 21:46:57 -04:00
Boris Zbarsky
18cce8e61c
Bug 657353 part 2. Switch content state updates away from calling Begin/EndUpdate. r=sicking
2011-05-31 17:38:25 -04:00
Masayuki Nakano
85c451e309
Bug 660121 Remove all pref related methods from nsContentUtils r=roc
2011-05-29 08:42:57 +09:00
Ms2ger
b171b9ae5c
Bug 658906 - Remove nsIDOMNSDocument; r=sicking
2011-05-28 09:43:53 +02:00
Michael Wu
d064b6eefe
Backed out changeset eaa69ae330ab (bug 592943) for extensions bustage
2011-05-28 00:15:25 -07:00
Michael Wu
d00ebe95b3
Bug 592943 - (3/3) switch nsXULPrototypeCache to use startupCache instead of fastload, Patch by Benedict Hsieh, r=jst
2010-08-12 12:42:36 -07:00
Gavin Sharp
1735d86199
Bug 650244: adjust template console tests to avoid failing when other things happen to spam the console; r=ehsan
2011-05-26 13:22:27 -04:00
Jonas Sicking
b35fd6c424
Bug 659530: Clean up and remove unused code that we no longer need with the safer mutation events implementation. r=smaug
2011-05-25 10:58:23 -07:00
Masayuki Nakano
060287addd
Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc
2011-05-25 15:31:59 +09:00
Daniel Holbert
ff123ba64d
Bug 308590 patch 5: Clean up QIs to nsIURL that are really checks for "Does this support GetRef/SetRef", now that nsIURI supports GetRef/SetRef too. r=bz
2011-05-21 18:12:46 -07:00
Craig Topper
1ff7cbe0ed
Bug 657548 part 1. Remove some duplicate and unused CIDs from nsContentCID.h and nsLayoutCID.h. r=jst
2011-05-16 22:25:39 -07:00
Ed Morley
d260544670
Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg
2011-05-17 16:01:36 +02:00
Jonas Sicking
0e17979856
Bug 650493 Part 1: Simplify mutation events by firing all but DOMNodeRemoved off of script runners, and DOMNodeRemoved before starting any update batches or aquiring any state. r=smaug/peterv
2011-05-09 12:33:03 -07:00
Craig Topper
cc15a2a6e3
Bug 648925 - Part 1: Change uses of nsICSSRule to css::Rule. r=bzbarsky
2011-04-07 18:23:46 -07:00
Boris Zbarsky
4ad0368a58
Bug 614171 part 3. deCOM qualified name getters a bit. r=sicking
2011-05-05 12:26:33 -04:00
Ms2ger
941e819c63
Bug 616684 - Remove support for DOM Views; r=sicking,ehsan
2011-04-24 08:54:25 +02:00
Jacek Caban
a1030aed6c
Bug 651887 - Use macro for NodeWillBeDestroyed in nsXULTreeBuilder
...
r=bzbarsky
--HG--
extra : rebase_source : 261c3e5a407009cc0a72f27c4a645d9360e9b289
2011-04-26 11:45:23 +00:00
Olli Pettay
5c6ac73f77
Bug 652970 - nsXULDocument doesn't unlink enough, r=peterv
...
--HG--
extra : rebase_source : 75d7a69aeec165fbddef66da67161fc65eb2777d
2011-04-27 18:44:24 +03:00
Peter Van der Beken
2f1dbc28dd
Fix for bug ug 652135 (Add more CC edge names). r=dbaron.
...
--HG--
extra : rebase_source : a29d880341d333f6082f640ea467928b621b5b82
2011-02-02 16:30:03 +01:00
Ehsan Akhgari
6e524be572
Bug 651001 - Test for bug 583948 uses flaky timeouts; r=sicking
2011-04-26 16:23:28 -04:00
Ehsan Akhgari
d2a61eb331
Backout changeset 13f6847dd840 (bug 616684) because it changes code semantics in a bad way, which results in problems like the crash in bug 652580, possibly among others
2011-04-25 17:05:17 -04:00
Ms2ger
295bf7256b
Bug 616684 - Remove support for DOM Views; r=sicking
2011-04-24 08:54:25 +02:00
Mounir Lamouri
db44db0ebe
Merge cedar with mozilla-central.
2011-04-22 15:25:11 +02:00
L. David Baron
25d74a36a4
Remove null-checks of nsCSSParser, since construction is infallible. (Bug 542058, patch 1) r=bzbarsky
...
Note that many callers already skipped the null-checks.
2011-04-21 20:17:31 -07:00
David Zbarsky
5ecf0a2bd3
Bug 610305: decom nsEventStateManager r=smaug
2011-04-21 19:35:52 +02:00
Mounir Lamouri
b4cf8cd184
Backed out changeset c1a7c1bc1aeb due to busted build.
2011-04-20 22:26:06 +02:00
David Zbarsky
c4d29900ed
Bug 610305: decom nsEventStateManager r=smaug
2011-04-20 21:42:33 +02:00
Ian Neal
fb7ad30b42
Bug 335375 - changing accesskey on a <broadcaster> via an overlay doesn't propagate to its <toolbarbutton> r=neil/smaug
2011-04-19 18:21:26 +01:00
Ian Neal
eb2a5b0b63
Bug 335375 - changing accesskey on a <broadcaster> via an overlay doesn't propagate to its <toolbarbutton> - mochitest r=neil/smaug
2011-04-19 18:21:24 +01:00
Ehsan Akhgari
6d481177f9
Bug 649012 - Revert test_bug583948.xul since the new version fails on Linux64
2011-04-18 20:15:53 -04:00
Ehsan Akhgari
6d0857c194
Bug 649012 - Fix some flaky mochitests which rely on non-zero timeout values; rs=ted
...
--HG--
extra : rebase_source : 88fc16ca38ded79ca87bb861dc4cef92a69dd548
2011-04-16 19:39:34 -04:00
Ehsan Akhgari
c5b0c5daca
Bug 649012 - Fix some flaky mochitests which rely on non-zero timeout values; rs=ted
2011-04-15 18:26:50 -04:00
Ms2ger
6ee0b2b1da
Bug 589894 - Fix a number of build warnings in content/; r=smaug
2011-04-14 14:04:12 +02:00
Ms2ger
5d712a77e7
Bug 620000 - Remove nsXULPDGlobalObject::OnFinalize's language id parameter; r=jst
2011-04-14 14:04:08 +02:00
Ms2ger
c9e6bb1fa3
Bug 587345 - deAgnostify nsXULPDGlobalObject some; r=jst
2011-04-12 14:31:55 +02:00
Peter Van der Beken
afdf1551f1
Fix for bug 584048 (Clean up cycle collection code) - remove NS_IMPL_CYCLE_COLLECTING_ADDREF_AMBIGUOUS/NS_IMPL_CYCLE_COLLECTING_RELEASE_AMBIGUOUS. r=bent.
2011-03-06 12:11:31 +01:00
Peter Van der Beken
122342da0b
Fix for bug 584048 (Clean up cycle collection code) - move unlinking of JS members from root into unlink. r=bent.
2010-11-08 16:02:49 +01:00
Boris Zbarsky
8578808ee1
Bug 581177 part 5. Make 'may have style' into a boolean flag. r=sicking
2011-04-07 19:29:50 -07:00
Boris Zbarsky
2d8a1be03f
Bug 581177 part 4. Make 'has id' into a boolean flag. r=sicking
2011-04-07 19:29:50 -07:00
Boris Zbarsky
038d06b0fa
Bug 581177 part 1. Separate mFlags and mSlots into separate members. Stop storing flags in slots. r=sicking
2011-04-07 19:29:49 -07:00
Olli Pettay
4a2e725c92
Bug 646875 - Remove unused mTooltipNode; r=enndeakin
2011-03-31 09:53:00 -07:00
Peter Van der Beken
461d7b63ae
Fix for bug 617247 (Don't call HoldScriptObject if we don't have a script object). r=sicking.
...
--HG--
extra : rebase_source : cba480742dc8a2fe356b6b65c10ea1e0b6023730
2011-03-24 11:53:28 +01:00
Shawn Wilsher
db69572e5f
Bug 645101 - Stop using [deprecated] Storage methods (nsXULTemplateQueryProcessorStorage)
...
r=sicking
2011-03-31 10:19:31 -07:00
Ehsan Akhgari
ca0a27ab24
Merge cedar into mozilla-central
2011-03-29 10:39:07 -04:00
Boris Zbarsky
0a7e20bbec
Bug 313351. ContentStatesChanged should take only one argument. r=dbaron
2011-03-28 23:32:11 -04:00
Jonas Sicking
0647926fda
Bug 644476 Part 1: Remove nsIXMLHttpRequest.openRequest now that it's equivalent to nsIXMLHttpRequest.open. r=smaug
2011-03-28 13:05:52 -07:00
timeless@mozdev.org
41f1725f80
Bug 615437 warning: comparison between signed and unsigned integer expressions in nsXULCommandDispatcher::UpdateCommands
...
r=neil
2011-03-28 17:26:33 -04:00
timeless@mozdev.org
833ff23b21
Bug 620179 crash [@ TestNode::Constrain] if cantHandleYet
...
r=enn
2011-03-26 00:39:29 -04:00
Neil Rashbrook
7b8d25a7b1
Bug 611503 Fix broken consumers of nsTDependentString on an nsTAString r=dwitte
2011-03-25 11:43:15 +00:00
L. David Baron
802da587ae
Merge layout work from projects/birch, part 2.
2011-03-23 17:39:29 -07:00
Craig Topper
72d7c1f754
Bug 576831 part 4. Remove nsICSSStyleRule and use mozilla::css::StyleRule instead. r=bzbarsky
...
--HG--
rename : layout/style/nsCSSStyleRule.cpp => layout/style/StyleRule.cpp
rename : layout/style/nsICSSStyleRule.h => layout/style/StyleRule.h
2011-03-10 21:48:57 -05:00
Jonas Sicking
0b970c20dc
Bug 637214 the continuing saga. Add removable script blockers in a few more places, create an auto helper for that. r=bzbarsky, a=blocker
2011-03-02 09:36:19 -05:00
Vivien Nicolas
edaa05f5dd
Add start/end attributes support to StackFrame [r=enndeakin,a=blocking-fennec]
2011-02-28 19:06:29 +01:00
timeless@mozdev.org
d890c10426
Bug 620434 useless null check of result in nsXULTreeBuilder::ReplaceMatch
...
r=enn a=beltzner
2011-02-22 13:04:47 +01:00
Peter Van der Beken
d78216fbaf
Fix for bug 633738 (quora.com bloats out of control (part 3)) - make nsHTMLEditor participate in CC, clear editor from SHistory if we're not storing anything else. r=jst, a=jst.
2011-02-16 13:07:47 +01:00
Chris Leary
7cd988f331
Merge tracemonkey and mozilla-central. (a=blockers)
2011-02-11 09:56:19 -08:00
Mehdi Mulani
86a8f731a1
Bug 632994 - When previewing personas, tab bar jitters. r=bz a=blocking2.0
2011-02-09 16:45:54 -08:00
Jim Blandy
b775bfcb46
Bug 537873: Add 'strict' argument to setters defined throughout Firefox. r=brendan
...
This should take care of all setters defined outside SpiderMonkey proper. Very mechanical.
2011-02-09 11:31:40 -08:00
Mounir Lamouri
5ae90e4e44
Bug 627328 - ###!!! ASSERTION: This is unsafe! Fix the caller!: 'Error' when changing a personas. r=bz a=blocking-final
2011-02-04 13:59:33 +01:00
Mounir Lamouri
79f8245813
Backing out d3f9af8a4997. a=orange
2011-02-04 01:41:43 +01:00
Mounir Lamouri
6d93bfc668
Bug 627328 - ###!!! ASSERTION: This is unsafe! Fix the caller!: 'Error' when changing a personas. r=bz a=blocking-final
2011-02-04 00:10:01 +01:00
Johnny Stenback
2d6f6cb266
Fixing bug 606058. Given XUL overlay documents the principals of the containing document. r=bzbarsky@mit.edu, a=blocker
2011-01-06 18:07:46 -08:00
timeless@mozdev.org
6c576c123a
Bug 620184 remove null checks from GetDOMSlots() and rename it to DOMSlots() because it is infallible in m-c, r+a=sicking
2010-12-21 17:04:00 -08:00
Mihai Sucan
176912a7c2
Bug 606498 - Make sure the new nsIScriptError2 is used in all possible places- part 2; r=bzbarsky,dbaron,mrbkap sr=jst a=blocking2.0
2010-12-20 12:21:58 -04:00
Neil Deakin
4e4e275d9e
Bug 608687, clear mRoot after uninitializing so that template generated content gets removed, r=smaug,a=blocking
2010-12-07 14:02:03 -05:00
Ehsan Akhgari
fad07dc686
Back out changeset 05369f93c49a (bug 587345) because it breaks the build
2011-03-22 14:54:24 -04:00
Ms2ger
0878988dbb
Bug 587345 - deAgnostify nsXULPDGlobalObject some; r=jst
2011-03-22 14:18:17 -04:00
Ehsan Akhgari
47b89f43e8
Bug 640652 - When unsetting an attribute on a XUL element, don't let the script blocker to be removed when the document nested update count is 0, since that can trigger XBL bindings, which may run scripts to do things which would lead into crashes; r=sicking a=sayrer
...
--HG--
extra : rebase_source : e79c187d59225cbc432db5b4b1629d78075477b6
2011-03-11 01:04:44 -05:00
Johnny Stenback
92240116f9
Backed out changeset 312bbc3ed894 due to oranges. a=backout
2010-11-19 23:15:46 -08:00
Johnny Stenback
619bcc3e0d
Fixing bug 606058. Given XUL overlay documents the principals of the containing document. r=bzbarsky@mit.edu, a=blocker
2010-10-20 18:44:07 -07:00
Neil Deakin
eb0e7659b9
Bug 611313 - Initialize with an empty datasource for template tests so that sync and async loading attempts don't conflict; r=afrosdwilsh a=orange-fix
2010-11-19 12:39:40 -05:00