jst%mozilla.jstenback.com
792744ce69
Landing the split window work, bug 296639. This change doesn't have full reviews yet, bzbarsky@mit.edu and shaver@mozilla.org have done partial reviews, but there's still more to look at. Given the current time constraint this is landed with reviews and followup changes that result to come after the initial checkin. a=drivers
...
git-svn-id: svn://10.0.0.236/trunk@176884 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-30 20:57:07 +00:00
bzbarsky%mit.edu
aba621f2dc
Preserve XPCNativeWrappers when "expando" properties are set on them. Bug
...
295937, r=shaver, sr+a=brendan
git-svn-id: svn://10.0.0.236/trunk@176280 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 21:40:33 +00:00
timeless%mozdev.org
a05b91a4b9
Bug 289645 nsXBLPrototypeHandler::ExecuteHandler doesn't null/rv check
...
patch by b.jacques@planet.nl r=bz sr=bz a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176184 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-17 18:50:36 +00:00
bzbarsky%mit.edu
4af0d1dbfb
Make sure to notify XPConnect if an XBL constructor or destructor throws an
...
exception so they get reported in a timely manner. Bug 299741, r+sr=jst, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@175693 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-06 15:46:12 +00:00
cvshook%sicking.cc
57bf09cc27
Bug 296764: Move html keybindings to chrome to make sure they work even with js turned off
...
r=bsmedberg sr=jst a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@175355 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 22:41:59 +00:00
bryner%brianryner.com
3274ca4c10
Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver.
...
git-svn-id: svn://10.0.0.236/trunk@174651 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-15 23:52:46 +00:00
peterv%propagandism.org
a22cce94f5
Fix for bug 297311 (consistent crash when trying to call xmlDocument.replaceChild(newChild, xmlDocument.documentElement) on XML document rendered in a frame). r/sr=bz, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@174560 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-14 12:30:17 +00:00
bzbarsky%mit.edu
be0542ab2a
Make sure to propagate back the result of InstallImplementation and bail
...
if it fails. Bug 292944, r+sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@174477 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-11 21:30:20 +00:00
bzbarsky%mit.edu
e01bd5e327
Make sure to call ScriptEvaluated when doing all evaluations, to call it
...
_after_ we've popped the JSContext from the stack, and to handle multiple
termination functions being posted from a single script evaluation. Fixes
leaks when closing windows or tabs with still-loading documents. Bug 295983,
r+sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@174364 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-09 15:42:19 +00:00
bzbarsky%mit.edu
d599723a09
Make sure to call ScriptEvaluated after running XBL constructors/destructors.
...
Bug 295124, r+sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@174363 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-09 15:39:07 +00:00
bzbarsky%mit.edu
daf93216cf
Be smarter about XBL constructors and such. Bug 292591, r=sicking, sr=dveditz,
...
a=shaver
git-svn-id: svn://10.0.0.236/trunk@174102 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-03 01:54:50 +00:00
bzbarsky%mit.edu
64573ba918
Hold a ref to the binding we're tearing down so it doesn't die before we're
...
done with it. Bug 292717, r+sr=jst, a=shaver
git-svn-id: svn://10.0.0.236/trunk@173965 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 19:27:43 +00:00
bzbarsky%mit.edu
c0cfcc4420
Pass the document URI for the <key>'s or <command>'s document as the script
...
filename when compiling the <key>'s handler. Bug 295160, r+sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@173745 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-24 17:30:07 +00:00
timeless%mozdev.org
4a138c6985
Bug 294831 JS OOM crash [@ nsXBLPrototypeBinding::InitClass]
...
r=bz sr=bz a=asa
git-svn-id: svn://10.0.0.236/trunk@173617 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-20 01:05:55 +00:00
bzbarsky%mit.edu
f5287400e2
Use the document as the context, not the node, since trying to JS-wrap the node
...
will reenter XBL loading. Bug 293778, r+sr=jst, a=shaver
git-svn-id: svn://10.0.0.236/trunk@173439 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-14 02:55:41 +00:00
bzbarsky%mit.edu
132d180765
Do content policy checks on XBL binding loads. Bug 292589, r+sr=jst, a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@173270 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-10 21:07:00 +00:00
bryner%brianryner.com
189a661d09
Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@173044 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-04 20:22:32 +00:00
bzbarsky%mit.edu
546bd6461b
Remove unneeded layout flushes in XUL/XBL. Bug 290005, r=roc, sr=jst, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@172820 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 20:23:26 +00:00
bzbarsky%mit.edu
d58b32a8ae
Improve error-reporting for XBL content sink. Bug 290870, r+sr=bryner, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@172580 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-21 21:31:05 +00:00
bzbarsky%mit.edu
62937cbc08
Create CSSLoaders when the document object is created and deCOMify the getter.
...
Bug 290068, r=sicking, sr=peterv, a=brendan
git-svn-id: svn://10.0.0.236/trunk@172416 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 01:27:11 +00:00
bzbarsky%mit.edu
2537c02af3
Remove code that just duplicates what SetAnonymousContentFor(content, nsnull)
...
will do anyway. Bug 289391, r=sicking, sr=peterv, a=brendan
git-svn-id: svn://10.0.0.236/trunk@172411 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 23:01:30 +00:00
bzbarsky%mit.edu
e2e0f7bfab
Remove unused aDeep args from AppendChildTo and InsertChildAt. Bug 289316,
...
r=sicking, sr=peterv, a=brendan
git-svn-id: svn://10.0.0.236/trunk@172410 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 22:58:35 +00:00
bzbarsky%mit.edu
2ed6c9fac8
Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
...
BindToTree and UnbindFromTree methods. Bug 286000, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@171749 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 23:54:35 +00:00
neil%parkwaycc.co.uk
fec5d215eb
Bustage fix for b=225563 (patch hunk inadvertently excluded)
...
git-svn-id: svn://10.0.0.236/trunk@171384 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 13:32:47 +00:00
neil%parkwaycc.co.uk
d1fbcc24a5
Bustage fix for b=225563 (patch hunk inadvertently excluded)
...
git-svn-id: svn://10.0.0.236/trunk@171383 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 12:53:52 +00:00
neil%parkwaycc.co.uk
c82cb0c74e
Implement group="system" for XBL handlers so that we don't try to handle events if <a> <textarea> or <xul:button> have already processed them r=jst sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@171381 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 12:26:02 +00:00
dbaron%dbaron.org
8bfdc8e8be
Change how we preserve XPConnect wrappers on which JS properties have been set or that are otherwise needed by XBL: instead of rooting those wrappers until the document stops being displayed, mark them from GC hooks only if the nodes are reachable (via DOM node traversal, optimizing based on symmetry of reachability between DOM nodes) from the document or from nodes already marked. b=283129 r=jst sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@171344 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-29 23:26:56 +00:00
bzbarsky%mit.edu
c8940f23bc
Relanding, since this did not affect the orange. Still bug 282537.
...
git-svn-id: svn://10.0.0.236/trunk@170387 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-08 18:10:38 +00:00
bzbarsky%mit.edu
88eb5df673
Backing out bug 282537 patch to see whether it fixes the orange.
...
git-svn-id: svn://10.0.0.236/trunk@170382 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-08 17:05:34 +00:00
bzbarsky%mit.edu
656b9526f2
Don't add entries for <xbl:children> tags to our attr change table, since those
...
are removed from the anonymous content. Bug 282537, r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@170350 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-08 02:31:27 +00:00
bzbarsky%mit.edu
fd4731c636
Fix GetImmediateChild to only get kids in the XBL namespace, and consolidate
...
some code. Bug 284342, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@170074 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-02 03:20:00 +00:00
bzbarsky%mit.edu
77cb09d7fb
Stash our bindings in an array before destroying them, in case someone decides
...
to try to add a binding to the hashtable from a binding destructor. Bug
283698, r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@169947 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-27 17:24:53 +00:00
bryner%brianryner.com
165fa3ff89
Remove nsIXBLBinding (bug 194834). r+sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@169873 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 22:07:01 +00:00
bzbarsky%mit.edu
f16e852429
XBL should not treat <children> in other namespaces as magical; only
...
<xbl:children> is. Bug 282735, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@169718 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-24 04:23:55 +00:00
bsmedberg%covad.net
b6fcc19b80
Bug 278534, try #2 - Make tooklit chrome registry use plaintext manifests instead of an RDF cache (get rid of contents.rdf!) r=darin/dveditz/ben
...
git-svn-id: svn://10.0.0.236/trunk@169615 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-22 21:49:45 +00:00
bsmedberg%covad.net
b28a40ed78
Backout bug 278534 due to tinderbox orange.
...
git-svn-id: svn://10.0.0.236/trunk@169510 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-20 01:47:13 +00:00
bsmedberg%covad.net
63797e23b3
From bug 278534 - binding manager headers don't declare all the types they use, and mis-use the chrome registry. r=build-bustage, I will get ex-post-facto review on this.
...
git-svn-id: svn://10.0.0.236/trunk@169495 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 16:38:47 +00:00
bryner%brianryner.com
066919535f
Guarantee that a document's binding manager is non-null. Bug 282792, r+sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@169489 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 10:31:27 +00:00
mrbkap%gmail.com
fd2fe9656b
bug 281336: Don't rely on the aIsCompiled flag to tell us if we've compiled our getter and setter, since if one of them was successfully compiled and the other wasn't, then the parameter is incorrect. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@168929 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 19:38:10 +00:00
bzbarsky%mit.edu
efc0b7b7b4
Add some debug members to XBL to catch cases where things are treated as
...
compiled when they're not and vice versa. Bug 280089, r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@168881 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-06 20:34:15 +00:00
bryner%brianryner.com
9861051f37
Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@168768 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 23:01:54 +00:00
bzbarsky%mit.edu
9c888c49a9
Make sure to not try to run constructors/destructors when scripts are not
...
enabled. Bug 275232, r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@168402 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 19:21:14 +00:00
bzbarsky%mit.edu
32010a4164
Fix crash if getter or setter is encountered outside a property. Bug 279697,
...
r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@168310 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 19:34:56 +00:00
bzbarsky%mit.edu
9a9f9e8017
Don't add XBL properties if they have no name. Bug 277950, r+sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@168061 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 16:44:00 +00:00
bzbarsky%mit.edu
b06d2f7705
Make XBL constructors/destructors check whether JS is enabled before running
...
once again. Bug 276205, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@167280 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-05 01:02:13 +00:00
neil%parkwaycc.co.uk
e0bc5a8a1e
Bug 51444 Make xbl:inherits work with namespaced attributes p=smaug@welho.com r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@167167 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-01 18:02:03 +00:00
ginn.chen%sun.com
660ecc3321
Bug 143996 in caret browsing, home/end must go to start/end of line
...
r=brade sr=neil.parkwaycc.co.uk
git-svn-id: svn://10.0.0.236/trunk@167127 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-31 03:12:17 +00:00
peterv%propagandism.org
04f06673f3
Fix for bug 192139 (Integrate latest Expat). r=bz, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@166747 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-15 15:37:23 +00:00
bsmedberg%covad.net
3edf9d37c8
Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin
...
git-svn-id: svn://10.0.0.236/trunk@166737 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-15 04:07:01 +00:00
bryner%brianryner.com
b0242fa4f1
deCOMtaminate nsIContent::GetNameSpaceID. Bug 272079, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@166648 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-13 04:14:28 +00:00