Commit Graph

839 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
52aff8ddeb ConstructDocElementFrame can return null if the XBL hasn't loaded yet. Handle
that XBL loading later by changing how XBL triggers the frame construction and
making it possible to recreate the doc element hierarchy even if there is no
doc element frame.  Bug 366207, r=sicking, sr=roc
2007-01-13 03:32:31 +00:00
Olli.Pettay%helsinki.fi
19bd510245 Bug 363702, Merge nsXBLWindowHandler to nsXBLWindowKeyHandler, r+sr=jst 2007-01-09 07:33:18 +00:00
graydon%mozilla.com
6e0ce81dab Bug 366166: fix for critical crasher caused by XPCOM cycle collector.
r/sr=sicking
2007-01-09 01:44:16 +00:00
graydon%mozilla.com
4525ab79d9 Bug 333078: XPCOM cycle collector
r=brendan, sicking, bz, dbaron, bsmedberg
2007-01-04 22:31:26 +00:00
gavin%gavinsharp.com
c4510f381e Bug 365381: treat <method><body/></method> XBL as 'function () {}' instead of ignoring it, r+sr=bzbarsky 2007-01-04 18:56:00 +00:00
Olli.Pettay%helsinki.fi
d62c7822f7 Bug 364398, r+sr=sicking 2007-01-03 05:37:03 +00:00
timeless%mozdev.org
4e651390ef Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
Olli.Pettay%helsinki.fi
66febe5c53 Bug 363817, nsVoidArray mAttachedStack to nsTArray<nsRefPtr<nsXBLBinding> >, r+sr=jst 2006-12-14 21:32:10 +00:00
bzbarsky%mit.edu
50917c013e Go into an error state if we get a handler with a command in non-chrome XBL.
Bug 362716, r+sr=sicking
2006-12-07 02:34:57 +00:00
vladimir%pobox.com
82a10357c9 backing out bug 333078, xpcom cycle collector due to perf issues 2006-11-22 23:18:16 +00:00
vladimir%pobox.com
3748c8bf4f b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many 2006-11-22 19:23:02 +00:00
cvshook%sicking.cc
636e4e6e5f Don't return nsDerivedSafe when .get() is explicitly used on nsCOMPtr and nsRefPtr. r/sr=dbaron 2006-11-21 21:28:14 +00:00
Olli.Pettay%helsinki.fi
98aa97e3b7 Bug 359494, Make nsXBLWindowHandler to use nsISupportsWeakReference, not nsIBoxObject, r+sr=bz 2006-11-15 06:11:42 +00:00
mats.palmgren%bredband.net
ec8d1d8cb7 XBL needs simple defense against infinite recursion. b=55070 r+sr=bzbarsky 2006-11-09 01:58:12 +00:00
Olli.Pettay%helsinki.fi
7be259f51c Bug 359242, remove nsXBLWindowDragHandler, r=sicking, sr=neil 2006-11-08 11:03:13 +00:00
Olli.Pettay%helsinki.fi
1d9f4e0046 Bug 292833, crash if i press any function key after i removed a parent of an xbl binding, where the binding has a keyset. r+sr=bz 2006-11-04 09:15:32 +00:00
cvshook%sicking.cc
f5194fd473 Bug 358106: Make ranges use nsIMutationObserver rather than their own notification system. r/sr=jst 2006-11-03 21:51:01 +00:00
mats.palmgren%bredband.net
eb0a8a1381 Detect and refuse to load some forms of recursive XBL bindings. b=350754 r+sr=bzbarsky 2006-10-08 10:18:41 +00:00
Olli.Pettay%helsinki.fi
3be921f2d7 Bug 350030, Change insertion point lists from nsVoidArray to something which is not manually refcounted, r=jst, sr=bz 2006-09-18 21:35:21 +00:00
cvshook%sicking.cc
9241f85443 Bug 352583: Add functions to nsContentUtils for getting and setting the text content of a node. Use those functions rather than the multiple instances of such code we have now. r/sr=jst 2006-09-15 19:54:45 +00:00
peterv%propagandism.org
25c4d90938 Fix for bug 347523 (nsXBLBinding should use importNode instead of cloneNode). r/sr=bz. 2006-09-12 12:49:04 +00:00
bzbarsky%mit.edu
7fc60a8e53 Just make all document mutation observers get notified through the binding
manager, to resolve issues with them depending on insertion points.  Bug 348573
follow, r+sr=sicking
2006-08-31 03:17:45 +00:00
bzbarsky%mit.edu
3514212c00 Allow nsIExpatSink implementations to control whether the expat driver logs
parse errors to the console.  Bug 342164, patch by Alex Vincent
<ajvincent@gmail.com>, r+sr=bzbarsky
2006-08-25 16:34:57 +00:00
Olli.Pettay%helsinki.fi
9c434eeeee Bug 205735, Browser freeze/crash on this page after few clicks, xbl implementation issue - M17x FF10 [@ nsXBLPrototypeHandler::GetEventName] [@ nsXBLInsertionPoint::GetDefaultContent], r=jst, sr=sicking 2006-08-24 07:43:44 +00:00
brendan%mozilla.org
27e3eb7623 Use JSCLASS_GLOBAL_FLAGS for other global classes, and fix JS standard class init API to init the Block class (348786, r=mrbkap). 2006-08-15 23:56:08 +00:00
bzbarsky%mit.edu
1a3d59e096 Make it possible for document observers who need to worry about XBL to observe
the binding manager and make presshell do that.  Bug 348573, r+sr=sicking
2006-08-15 22:41:58 +00:00
uriber%gmail.com
5da1c164f2 Added bindings for shift-PgUp/Dn, removed bindings for [shift-]option-up/down. bug=299565 r=sfraser sr=bzbarsky 2006-08-15 15:26:47 +00:00
peterv%propagandism.org
d3eca9f89d Backing out to fix orange. 2006-08-10 13:45:40 +00:00
peterv%propagandism.org
3742cca7e7 Fix for bug 347523 (nsXBLBinding should use importNode instead of cloneNode). r/sr=sicking. 2006-08-10 13:05:00 +00:00
cvshook%sicking.cc
3a9a287253 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst 2006-07-19 04:36:36 +00:00
uriber%gmail.com
d5ca8e945a Add bindings for option-delete to delete next word. bug=285529 r=aaronlev sr=bzbarsky 2006-07-18 07:39:03 +00:00
cvshook%sicking.cc
2c39937d84 Bug 342062: Add nsIMutationObserver which has the ability to get notifications for just mutations happening in a subtree under a given node. r/sr=bz 2006-07-02 07:23:10 +00:00
Olli.Pettay%helsinki.fi
a2dcf7bbd1 Bug 342347, <xul:key disabled="true" command="foo"/> doesn't honor disabled attribute, r=me, r=bryner 2006-06-24 22:49:09 +00:00
peterv%propagandism.org
090f2dd5c1 Fix for bug 337704 (Clean up files moved from xmlextras). r/sr=bz. 2006-06-15 20:30:44 +00:00
mhammond%skippinet.com.au
0f241835df Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan. 2006-06-13 03:07:47 +00:00
mrbkap%gmail.com
98997f8669 Checking in Ben Turner <bent.mozilla@gmail.com> and timeless's patch to make Gecko use the JS engine's request model to help multithreaded embedders avoid GC races and crashes. bug 176182, r=mrbkap assumed-rs=brendan 2006-06-12 22:39:55 +00:00
bzbarsky%mit.edu
86f924a271 Add XXX comment for the time being, since I can't tell what this code _should_ do. 2006-06-02 04:24:53 +00:00
dbaron%dbaron.org
508bbd5015 Report exceptions immediately since constructors and destructors are not called from JS and don't propagate the error status. b=339022 r=bzbarsky sr=brendan 2006-06-01 21:51:07 +00:00
bryner%brianryner.com
6fb8bf0b4f Make command= event retargeting dispatch a new event rather than reusing the old one. Add a new interface for command events that supports a sourceEvent property for accessing the original event. Bug 336696, r=neil sr=jst. 2006-05-22 20:37:32 +00:00
bryner%brianryner.com
a5e5a4579c backing out 336696, I checked in the wrong version of the patch 2006-05-22 18:03:16 +00:00
bryner%brianryner.com
87831f25b1 Make command= event retargeting dispatch a new event rather than reusing the old one. Add a new interface for command events that supports a sourceEvent property for accessing the original event. Bug 336696, r=neil sr=jst. 2006-05-22 16:18:45 +00:00
cvshook%sicking.cc
114883abc4 Bug 337543: Use nsINode more. r/sr+peterv 2006-05-19 10:01:22 +00:00
bryner%brianryner.com
6ae01bf56d fixing indentation per bzbarsky's suggestion (bug 331290) 2006-05-17 02:42:18 +00:00
neil%parkwaycc.co.uk
f78fa5c6bd Only create key handlers for <key> elements b=336740 r=bryner sr=bz 2006-05-12 22:58:10 +00:00
bryner%brianryner.com
a0c06b2893 Fix for broken keyboard shortcuts: skip over key elements where there's no oncmmand= on the key or on its command element (bug 336740). r=neil, sr=bzbarsky. 2006-05-07 03:07:02 +00:00
cvshook%sicking.cc
d3ec0aa5c5 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
bryner%brianryner.com
9c0686cc5d Invoke <key> element commands using command events rather than compiling and executing the script directly, for consistency with click-invoked commands (bug 331290). r+sr=bzbarsky. 2006-05-05 05:25:19 +00:00
bzbarsky%mit.edu
0c3706888c Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking 2006-04-27 18:21:11 +00:00
leon.sha%sun.com
0960e6fd1d Bug 333896
Convert GetAttr calls to AttrValueIs and FindAttrValueIn.
Patch by alfred.peng@sun.com.
roc: review+
roc: superreview+
2006-04-24 05:40:11 +00:00
bzbarsky%mit.edu
fbcb90fe19 Don't reenter frame construction from anonymous content creation. Bug 334430,
r+sr=sicking
2006-04-19 15:07:19 +00:00