Ms2ger
5e1bd894df
No bug - Fix some style issues in DOM code.
2013-11-11 09:04:41 +01:00
Bobby Holley
c3012b9053
Bug 911864 - Make in-content XBL event handlers allowuntrusted=false by default. r=smaug
2013-11-01 15:31:58 +01:00
Nicholas Nethercote
191ed08f6a
Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
...
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Trevor Saunders
d4ba8df0bc
bug 846185 - don't call into js when creating accessibles r=surkov, smaug
2013-07-19 00:13:35 -04:00
Nicholas Nethercote
42ccf38dcd
Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
...
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Jon Coppeard
11678aa48c
Bug 903352 - Handlify remaining PropertyDescriptor APIs r=terrence r=bholley r=smaug
2013-08-12 12:09:14 +01:00
Boris Zbarsky
60d5133416
Bug 890193. Make the XML prettyprinter actually drop its binding when it unhooks, and remove the now-dead concept of "style binding" in the process. r=mrbkap
2013-07-11 11:58:28 -04:00
Blake Kaplan
ea4da60962
Bug 891088 - Rename nsXBLChildrenElement -> mozilla::dom::XBLChildrenElement. r=peterv
...
--HG--
rename : content/xbl/src/nsXBLChildrenElement.cpp => content/xbl/src/XBLChildrenElement.cpp
rename : content/xbl/src/nsXBLChildrenElement.h => content/xbl/src/XBLChildrenElement.h
2013-07-01 15:09:37 -07:00
Blake Kaplan
55ee93f1af
Bug 653881 - Rework XBL insertion points and clean up related code to more closely follow the Web Components model. Instead of maintaining a hashtable of insertion points in bindings (and removing insertions points from the tree) leave the insertion points in the tree as explicit placeholders and teach all other relevant code how to walk the explicit children of elements via two iterators (ExplicitChildIterator and FlattenedChildIterator). Note that this patch does not maintain 100% compatibility with the previous code: there are bug fixes and behavior changes included. For example, by having explicit insertion points in the bindings, it is now easier to handle dynamic changes to the bound element correctly (as well as, eventually, handling dynamic changes to the binding correctly). Patch originally by sicking. r=bzbarsky
...
--HG--
extra : rebase_source : 6926ae8ea57b20f4067b16bd3d7bd85bda854756
2013-05-01 15:50:08 -07:00
Tom Schuster
ec87b7de30
Bug 855411 - Root various things. r=bz,terrence
2013-04-05 15:21:03 +02:00
Tom Schuster
556e3087f2
Bug 855411 - Root LookupMember. r=bz,terrence
2013-04-05 15:21:01 +02:00
Tom Schuster
4a0f5a6352
Bug 855411 - Root Init{JS}Class. r=bz,terrence
2013-04-05 15:21:01 +02:00
Bobby Holley
b1f783c725
Bug 839792 - Do XBL lookups on the shadow prototype. r=bz
2013-02-13 19:16:19 +01:00
Bobby Holley
dc7e7a50d2
Bug 821850 - Dynamically waive Xray for field access by XBL script on bound nodes. r=bz
2013-02-08 14:24:22 +00:00
Bobby Holley
e47fde05d0
Bug 821850 - Add API to lookup implementation members on XBL bindings. r=bz
2013-02-08 14:24:21 +00:00
Bobby Holley
3d089c3644
Bug 821850 - Store a strong ref to the JSClass in nsXBLBinding. r=bz
2013-02-08 14:24:20 +00:00
Bobby Holley
8dfc5ae9df
Bug 821850 - Make DoInitJSClass unconditionally fill in aClassObject. r=bz
...
Right now, DoInitJSClass only returns non-null if the class object is new
(and thus needs to have members installed on it). The code then goes and
unconditionally tries to install the members, null-checking and aborting
each time.
Instead, let's use an explicit boolean and one early return. This lets us
get a reference to our JSClass no matter what, which we need.
2013-02-08 14:24:20 +00:00
Steve Fink
57a2c2471b
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
380ecf9335
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
01f8a5b4d8
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
Olli Pettay
69e091e8e4
Bug 733305, add a way to hide XBL, r=bz, a=abillings
...
--HG--
extra : rebase_source : df18273ecdbf013138e8e6f1f4ef8082ac4f410c
2012-10-10 22:04:42 +03: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
Ryan VanderMeulen
891e38e528
Revert c39d36167b99 due to a horribly munged backout.
2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
f497d31a0a
Backout the bug 754202 backout due to orange.
2012-06-10 19:37:47 -04:00
Jignesh Kakadiya
26fd21bca3
Bug 756579 - nsXBLBinding::GetInsertionPointsFor is now infallible.
2012-06-09 15:15:12 -07:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Nathan Froyd
149185edba
Bug 746285 - pack nsXBLBinding more carefully for 64-bit; r=bz
2012-04-17 15:23:11 -04:00
Ms2ger
8f74350508
Bug 698382 - Give nsXBLProtoImpl::InitTargetObjects and nsXBLPrototypeBinding::InitClass a JSObject outparam; r=jst
2011-11-16 08:50:20 +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
Timothy Nikkel
2323e2a038
Bug 502937. Part 2.5. Provide an API to get the flattened tree parent of an nsIContent. r=bzbarsky
2010-04-16 13:15:28 -05:00
Daniel Holbert
b8718e9faa
Bug 551298, patch D: Use NS_INLINE_DECL_REFCOUNTING in /content/ directory. r=sicking
2010-04-01 11:05:40 -07:00
Daniel Holbert
97158792ab
Backed out changeset 13819d2e9bd8 (Bug 551298) due to Linux debug mochitest-5 orange
2010-04-01 09:37:26 -07:00
Daniel Holbert
e6c10e8d77
Bug 551298, patch D: Use NS_INLINE_DECL_REFCOUNTING in /content/ directory. r=sicking
2010-04-01 08:08:51 -07:00
Boris Zbarsky
e168ed8802
Bug 502567. Get rid of the silly ShouldBuildChildFrames check. r=neil
2009-10-07 21:00:38 -04:00
Boris Zbarsky
e753880b7c
Bug 307394 part 2. Fix the indexing in ContentInserted to work correctly even when XBL is around. r+sr=dbaron. Also fixes bug 232990, bug 261826 , bug 272646, bug 386310, bug 468546
2009-01-29 14:46:20 -05:00
Boris Zbarsky
7011c1e34c
Bug 307394 part 1. Create a non-COM way to get at XBL child nodes, and put an IndexOf() method on nsINodeList. r+sr=peterv
2009-01-29 14:46:18 -05:00
Olli Pettay
8ce81994af
Bug 472212, r+sr=bz
2009-01-06 21:37:28 +02:00
jonas@sicking.cc
da4cab3b75
Bug 401155: Make it safe to create a wrapper for an object at any time by making sure wrapping doesn't write script. Also set up a service that tries to keep track of when it's safe to execute script. r=bz sr=jst
2008-03-14 16:08:57 -07:00
jonas@sicking.cc
47a2cff0da
Back out due to failed mochitest
2008-03-10 19:18:15 -07:00
jonas@sicking.cc
4b8f2cdf7a
Bug 401155: Make sure plugins and XBL constructors not execute when creating a script wrapper if it's not safe to execute scripts. r=bz sr=jst.
2008-03-10 17:49:19 -07:00
jonas@sicking.cc
3d2ceca667
Bug 345711: Don't call nsXBLBinding::InstallImplementation while in reflow as that can cause duplicated frames for plugins and other badness. r=bz/jst sr=jst
2007-10-26 17:14:43 -07:00
jonas@sicking.cc
adbcc231ed
backing out due to test failure
2007-10-19 18:22:48 -07:00
jonas@sicking.cc
cb77212ea7
Bug 345711: Call InstallImplementation when it's safe, rather tha directly from LoadBindings. r/sr=jst
2007-10-19 17:48:09 -07:00
Olli.Pettay@helsinki.fi
045c845b71
Bug 378866, r=peterv,sicking, sr=sicking, a=blocking1.9+
2007-10-12 04:07:29 -07:00
bzbarsky@mit.edu
b25b785ddc
Relanding bug 372769 with some cycle collection changes to fix leaks. r=mrbkap, sr=sicking, with r=sicking on the leak fixes.
2007-09-28 06:45:01 -07:00
bzbarsky@mit.edu
5ae0b67801
Backing out bug 372769 due to leaks.
2007-09-26 07:39:31 -07:00
bzbarsky@mit.edu
ee86dfedb4
Do lazy evaluation of XBL fields. Bug 372769, r=mrbkap, sr=sicking
2007-09-26 06:55:06 -07:00
peterv@propagandism.org
98955fbcad
Fix for bug 368774 (Make cycle collector work with refcounted non-XPCOM objects). r=dbaron, sr=sicking.
2007-05-24 07:10:02 -07:00
jonas@sicking.cc
0b6e5dff7a
Bug 380872: Call BindToTree on anonymous children too when BindToTree is called on an element. r/sr=bz
2007-05-21 15:26:48 -07:00