772 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
9162c283c8 Fix long-standing XBL bug where we didn't update insertion points correctly in
some cases.  Bug 375299, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@225124 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 04:06:45 +00:00
peterv%propagandism.org
4d197ac7f6 Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@225011 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 16:35:31 +00:00
benjamin%smedbergs.us
7262cdad6d Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
git-svn-id: svn://10.0.0.236/trunk@224885 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 14:22:04 +00:00
bzbarsky%mit.edu
9b9e29922e Stop blocking the parser on CSS stylesheet loads. We still block script
execution on them, however.  Bug 84582, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@224813 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-20 22:59:18 +00:00
Olli.Pettay%helsinki.fi
fc00817d41 Bug 350334, Core XBL widgets used in web pages can't listen to their own events, r+sr=jst+sicking
git-svn-id: svn://10.0.0.236/trunk@224547 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-15 16:28:53 +00:00
Olli.Pettay%helsinki.fi
d84d7e73c1 Bug 374547, regression: unable to repeat xbl bound element inside another with the same binding r=jst,sr=bz
git-svn-id: svn://10.0.0.236/trunk@223972 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-01 12:19:44 +00:00
dbaron%dbaron.org
30f83072c5 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@222462 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 15:33:45 +00:00
asqueella%gmail.com
81e3a0b9ee decomtaminate nsIXULPrototypeCache (bug 364329)
r=smaug, sr=roc


git-svn-id: svn://10.0.0.236/trunk@221763 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-12 05:53:33 +00:00
Olli.Pettay%helsinki.fi
7c3b6ed3e6 Bug 368773, Cycle collect nsXBLResourceLoader::mBoundElements, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@221742 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-11 11:56:09 +00:00
tor%cs.brown.edu
624fbcce20 Bug 373089 - add a ParentChainChanged notification to nsIMutationObserver.
r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@221698 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-10 13:49:43 +00:00
jonas%sicking.cc
1dad59c1f2 Bug 371846: Kill unneccesary ownership management code in nsBindingManager::SetAnonymousNodesFor. r=smaug sr=jst
git-svn-id: svn://10.0.0.236/trunk@221682 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-10 03:25:47 +00:00
bzbarsky%mit.edu
22cd821e27 Relanding bug 267833. Let's see what Txul does now. Still r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@221651 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-09 23:43:50 +00:00
peterv%propagandism.org
fbe71aa7e3 Fix for bug 373219 (ASSERTION: Fault in cycle collector: null XPCOM pointer returned (ptr: 0)). r/sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@221603 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-09 13:14:06 +00:00
peterv%propagandism.org
4fff00b28c Fix for bug 368773 (Add a bunch of DOM objects to cycle collection). r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@221534 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-08 11:17:16 +00:00
peterv%propagandism.org
d731b70b5e Fix for bug 372697 (nsBindingManager::GetXBLChildNodesInternal sometimes leaks). r/sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@221532 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-08 10:22:54 +00:00
bzbarsky%mit.edu
1646da9ee6 Back out bug 267833 to test performance effect.
git-svn-id: svn://10.0.0.236/trunk@221409 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 21:12:49 +00:00
bzbarsky%mit.edu
dc7b70aa9c Fire XBL constructors asynchronously after binding attachment, unless we're in
the middle of an update.  In that case, fire them at the end of the update.
Bug 267833, r+sr=sicking, fingers-crossed=me


git-svn-id: svn://10.0.0.236/trunk@221404 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 19:36:36 +00:00
jonas%sicking.cc
fa54a7bcf5 Bug 371083: Second installment in our exiting series 'deCOMtaminate the XBL code'. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@220967 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-27 00:14:01 +00:00
gavin%gavinsharp.com
abf8c64604 Bug 366770: use the first binding in the file if no fragment identifier is present in a binding's URI, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@220870 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-24 16:27:51 +00:00
bzbarsky%mit.edu
070b00525a Remove vestiges of prototype binding refcounting. Bug 371417, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@220860 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-24 05:34:07 +00:00
asqueella%gmail.com
11bad405e3 bug 257868 - remove the nsIPresShell::SetAnonymousContentFor() API, make the frames store strong refs to the anonymous content instead. Decomtaminate nsIAnonymousContentCreator.
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@220517 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 17:34:09 +00:00
peterv%propagandism.org
160ab8ca70 Fix for bug 368549 (Cycle collector doesn't handle tearoffs correctly). r=graydon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@220513 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 14:38:04 +00:00
jonas%sicking.cc
7b8af22092 Bug 370332: Kill nsIBindingManager and nsIStyleRuleSupplier. r=dbaron for the layout/style parts, r/sr=jst for the rest.
git-svn-id: svn://10.0.0.236/trunk@220435 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-16 23:02:08 +00:00
jonas%sicking.cc
465b8fad66 Bug 370230: unbreak --enable-perf-metrics. Patch by me and Mats Palmgren. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@220080 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-13 21:18:25 +00:00
asqueella%gmail.com
0119f4be7c bug 369560 - Change 'ASSERTION: *** XBL doc with no root element! Something went horribly wrong!' to NS_WARNING, since it can happen due to bad web content.
p=Alex Vincent <ajvincent@gmail.com>
r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@219949 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-11 00:23:02 +00:00
Olli.Pettay%helsinki.fi
621e5e9919 Bug 360847, Remove unused nsIDOM*foo*Listener interfaces, r=jst, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@219894 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-09 13:00:00 +00:00
bzbarsky%mit.edu
a4c17fc701 Make sure to initialize all members and that sort of thing. Bug 369011, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@219372 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 02:12:48 +00:00
jonas%sicking.cc
dc89ea1f2d Bug 18333: Make the XML content sink incremental. Patch by Henri Sivonen<hsivonen@iki.fi>. r=peterv sr=sicking
git-svn-id: svn://10.0.0.236/trunk@219201 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 21:21:06 +00:00
cvshook%sicking.cc
ccd1d6884d Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
bzbarsky%mit.edu
dda20a2b0f 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


git-svn-id: svn://10.0.0.236/trunk@218268 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-13 03:32:31 +00:00
Olli.Pettay%helsinki.fi
94c47da595 Bug 363702, Merge nsXBLWindowHandler to nsXBLWindowKeyHandler, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@218051 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-09 07:33:18 +00:00
graydon%mozilla.com
53b8d83255 Bug 366166: fix for critical crasher caused by XPCOM cycle collector.
r/sr=sicking


git-svn-id: svn://10.0.0.236/trunk@218045 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-09 01:44:16 +00:00
graydon%mozilla.com
3998c66e23 Bug 333078: XPCOM cycle collector
r=brendan, sicking, bz, dbaron, bsmedberg


git-svn-id: svn://10.0.0.236/trunk@217781 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 22:31:26 +00:00
gavin%gavinsharp.com
ef40f655ef Bug 365381: treat <method><body/></method> XBL as 'function () {}' instead of ignoring it, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@217745 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 18:56:00 +00:00
Olli.Pettay%helsinki.fi
380e37d9af Bug 364398, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@217671 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-03 05:37:03 +00:00
timeless%mozdev.org
c778d21502 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
Olli.Pettay%helsinki.fi
bbd39f5447 Bug 363817, nsVoidArray mAttachedStack to nsTArray<nsRefPtr<nsXBLBinding> >, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@216991 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 21:32:10 +00:00
bzbarsky%mit.edu
db150e26f6 Go into an error state if we get a handler with a command in non-chrome XBL.
Bug 362716, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@216629 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 02:34:57 +00:00
vladimir%pobox.com
ece4ca3cad backing out bug 333078, xpcom cycle collector due to perf issues
git-svn-id: svn://10.0.0.236/trunk@215718 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 23:18:16 +00:00
vladimir%pobox.com
260a2b3959 b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many
git-svn-id: svn://10.0.0.236/trunk@215695 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 19:23:02 +00:00
cvshook%sicking.cc
2b2f4b6167 Don't return nsDerivedSafe when .get() is explicitly used on nsCOMPtr and nsRefPtr. r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@215584 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 21:28:14 +00:00
Olli.Pettay%helsinki.fi
106f55f363 Bug 359494, Make nsXBLWindowHandler to use nsISupportsWeakReference, not nsIBoxObject, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@215309 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 06:11:42 +00:00
mats.palmgren%bredband.net
86fd929d58 XBL needs simple defense against infinite recursion. b=55070 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@215013 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 01:58:12 +00:00
Olli.Pettay%helsinki.fi
961f8536ec Bug 359242, remove nsXBLWindowDragHandler, r=sicking, sr=neil
git-svn-id: svn://10.0.0.236/trunk@214953 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 11:03:13 +00:00
Olli.Pettay%helsinki.fi
a5c05bb3a4 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
git-svn-id: svn://10.0.0.236/trunk@214708 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-04 09:15:32 +00:00
cvshook%sicking.cc
78a449be36 Bug 358106: Make ranges use nsIMutationObserver rather than their own notification system. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@214666 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-03 21:51:01 +00:00
mats.palmgren%bredband.net
2f803346ff Detect and refuse to load some forms of recursive XBL bindings. b=350754 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@213303 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-08 10:18:41 +00:00
Olli.Pettay%helsinki.fi
ff9d4593b9 Bug 350030, Change insertion point lists from nsVoidArray to something which is not manually refcounted, r=jst, sr=bz
git-svn-id: svn://10.0.0.236/trunk@211960 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-18 21:35:21 +00:00
cvshook%sicking.cc
2acc886a81 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
git-svn-id: svn://10.0.0.236/trunk@211826 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-15 19:54:45 +00:00
peterv%propagandism.org
d424fa0a5f Fix for bug 347523 (nsXBLBinding should use importNode instead of cloneNode). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@209857 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-12 12:49:04 +00:00