Граф коммитов

970 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu 5f9756b218 Fix build bustage by not using debug-only member in opt code. Bug 398668 2007-10-06 01:23:09 +00:00
sayrer%gmail.com 88236e7972 Bustage fix for bug 398668 2007-10-06 01:13:52 +00:00
bzbarsky%mit.edu 3edb2a0604 Fix a few issues in bfcache and XBL when javascript is being toggled on and
off.  Bug 398668, r+sr+a=jst
2007-10-06 00:35:01 +00:00
bzbarsky%mit.edu c7aa15eb42 Make really sure that pending binding constructor events block onload. Bug
394676, r+sr+a=sicking
2007-10-03 23:38:32 +00:00
bzbarsky%mit.edu f59fd2ba49 Don't unlink so aggressively. Bug 398083, r+sr+a=sicking 2007-10-02 14:40:39 +00:00
bzbarsky%mit.edu 7bacde9da4 Skip installing fields which have no text. Bug 397924, r+sr+a=sicking 2007-10-02 14:38:35 +00:00
Olli.Pettay%helsinki.fi 18d1870a5f Bug 393762, Bug 393761 and Bug 382636, r=jst, sr=peterv 2007-10-01 10:02:34 +00:00
bzbarsky%mit.edu e992898ecb Fix test. Bug 372769. 2007-09-28 14:22:51 +00:00
bzbarsky%mit.edu 7af5d5c63c 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 13:45:03 +00:00
bzbarsky%mit.edu 6c274177a2 Backing out bug 372769 due to leaks. 2007-09-26 14:39:32 +00:00
bzbarsky%mit.edu 4068f79521 Do lazy evaluation of XBL fields. Bug 372769, r=mrbkap, sr=sicking 2007-09-26 13:55:07 +00:00
surkov.alexander%gmail.com ab1f5513b7 390414 - text-changed:delete event details no longer correct effective, r=aaronlev, sr=bz, a=dsicore 2007-09-05 08:22:19 +00:00
jag%tty.nl 15e1abb04d Bug 393809: Fix compile warning in nsXBLPrototypeHandler.cpp. r=/sr=Neil, a=sicking 2007-09-05 01:55:55 +00:00
philringnalda%gmail.com e70cd2fff8 Bug 365810 - Ctrl+Y for Edit->Redo broken, patch by Simon B��nzli <zeniko@gmail.com>, r=aaronlev sr=neil a1.9=bz 2007-08-24 03:09:59 +00:00
masayuki%d-toybox.com 5fa5b33f97 Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 11:13:55 +00:00
Olli.Pettay%helsinki.fi 17841e313c Bug 391568, Mutation events not fired if listeners are only in anonymous content. r+sr=bz, a=sicking 2007-08-22 06:48:48 +00:00
Olli.Pettay%helsinki.fi f5bc514b5d Bug 373911, r=bz, sr=dbaron, a=1.9+ 2007-08-21 21:45:00 +00:00
Olli.Pettay%helsinki.fi f9bb7c04a2 Bug 339649, incorrect script-global used in nsXBLPrototypeHandler::ExecuteHandler, remove XXX, r+sr=jst, a=1.9+ 2007-08-16 21:46:33 +00:00
jst%mozilla.org 4dc0247b0b Fixing bug 389911. Removing nsIScriptGlobalObject::Get/SetGlobalObjectOwner() as it's not needed any more. r+sr=peterv@propagandism.org 2007-08-09 22:30:30 +00:00
bzbarsky%mit.edu 7b4500d354 Use the principal doing the load to decide on the URI to pass to content
policies.  This will help do the right thing for data:/javascript:/about:blank,
as well as allow us to skip content policies altogether if the caller is
system.  Bug 388597, r+sr=sicking
2007-08-08 01:16:12 +00:00
benjamin%smedbergs.us bbb6d901f3 Bug 386025 - Expose cycle-collection symbols, r=graydon 2007-08-06 14:34:05 +00:00
ginn.chen%sun.com fd8e29fa39 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest
r=benjamin a=dsicore
2007-08-06 03:22:43 +00:00
bzbarsky%mit.edu b93cf6e717 Propagate stylesheet principals through to XBL binding loads; streamline load
security checks in the XBL code (so that all the security checks are gated
through LoadBindingDocumentInfo).  Bug 204140, r=dbaron for the CSS changes,
r=sicking for the XBL changes, sr=sicking.

In particular, this change allows user stylesheets loaded from local files to
link to local files.
2007-07-18 21:56:58 +00:00
bzbarsky%mit.edu ee3679d650 Make attribute changes that also cause a state change properly reresolve style
when a selector uses both the state and the attribute.  Bug 315920, r=dbaron,
sr=sicking.
2007-07-12 20:05:49 +00:00
bzbarsky%mit.edu 3c5c154175 Pass through loader principal and URI to LoadSheet(). Bug 387317, r+sr=peterv 2007-07-11 19:44:27 +00:00
jwalden%mit.edu ef68fcf595 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 07:08:56 +00:00
Olli.Pettay%helsinki.fi 802eadb99f Bug 339649, incorrect script-global used in nsXBLPrototypeHandler::ExecuteHandler (with bustage fix), r=sicking, sr=jst 2007-07-06 13:47:51 +00:00
kairo%kairo.at 5db0add472 backing out bug 339649 due to breakage on multiple tinderboxen as requested in #developers 2007-07-06 13:13:46 +00:00
Olli.Pettay%helsinki.fi 0ceb2538aa Bug 339649, incorrect script-global used in nsXBLPrototypeHandler::ExecuteHandler, r=sicking, sr=jst 2007-07-06 11:49:54 +00:00
bzbarsky%mit.edu 5d835b4b58 Propagate the principal responsible an image load all the way to
CanLoadImage/LoadImage in nsContentUtils, and use it for security checks
there.  Bug 310165, r=sicking, sr=dbaron
2007-07-03 18:45:40 +00:00
dbaron%dbaron.org 3ffa2fa2a9 Move NOTIFY_OBSERVERS to the end of nsBindingManager::ContentRemoved (and avoid early returns so we get to it). b=382376 Patch by Daniel Holbert <dholbert@mozilla.com>. r=bzbarsky sr=sicking 2007-06-27 04:51:37 +00:00
Olli.Pettay%helsinki.fi cef396e331 wasn't going to check in this 2007-06-27 04:25:27 +00:00
Olli.Pettay%helsinki.fi b944d2f678 Bug 385315, Remove unused parameters from XML/XBL/RDFContentSink::FlushText, r+sr=peterv 2007-06-27 04:22:36 +00:00
Olli.Pettay%helsinki.fi 258638ac91 Bug 384663, r+sr=bz 2007-06-18 15:43:41 +00:00
kherron%fmailbox.com ce1bfc8975 Bug 375314 - discriminate ping and xmlhttprequests in content policy check. Patch by Wladimir Palant <trev.moz@adblockplus.org>, r=jst, sr=peterv. 2007-06-17 13:50:53 +00:00
jonas%sicking.cc bca50ddb8e Bug 379959: Add checks to loadBindingDocument. r/sr=jst 2007-06-12 21:56:07 +00:00
jonas%sicking.cc 888456556f Bug 373756. Don't execute XBL ctors on the last EndUpdate if there were queued ctors when we got the first BeginUpdate. Patch by bz. r/sr=me 2007-05-31 01:36:07 +00:00
peterv%propagandism.org ecbdc69890 Fix for bug 375063 (Leaking nsJSContexts and nsXBLDocGlobalObjects at shutdown). r/sr=jst. 2007-05-25 16:05:42 +00:00
peterv%propagandism.org 9d9ba5138d Try to fix leak regression and tinderbox orange from bug 368774. 2007-05-24 20:50:21 +00:00
peterv%propagandism.org 76f3e5974d Followup to bug 368774, fix bustage the right way. 2007-05-24 18:39:49 +00:00
peterv%propagandism.org 333cdaa846 Temporary bustage fix. 2007-05-24 14:28:40 +00:00
peterv%propagandism.org 9eca95ccdc Fix for bug 368774 (Make cycle collector work with refcounted non-XPCOM objects). r=dbaron, sr=sicking. 2007-05-24 14:10:04 +00:00
jonas%sicking.cc 098edc816a Bug 380872: Call BindToTree on anonymous children too when BindToTree is called on an element. r/sr=bz 2007-05-21 22:26:48 +00:00
bzbarsky%mit.edu 01cbe5b247 Attach bindings via addBinding even to nodes not in a document. Bug 380990, r+sr=sicking 2007-05-17 18:31:31 +00:00
jonas%sicking.cc fd8136233a Bug 53901: Don't set is-in-doc flag on cloned XUL nodes. r/sr=jst 2007-05-16 01:13:48 +00:00
Olli.Pettay%helsinki.fi 6721d4f009 Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 09:13:09 +00:00
Olli.Pettay%helsinki.fi 881f537145 Bug 378390, Use a bit to track whether the binding manager has a pointer to an element, r+sr=peterv 2007-05-11 18:34:12 +00:00
Olli.Pettay%helsinki.fi 8e287d3582 backout Bug 363089 2007-05-11 13:34:12 +00:00
Olli.Pettay%helsinki.fi 670f53f666 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 11:15:20 +00:00
bzbarsky%mit.edu 821c53fe47 Don't apply user stylesheets to native anonymous content. Bug 286895, r+sr=dbaron 2007-05-05 06:47:09 +00:00
bzbarsky%mit.edu b1e55b927c Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers of
GetShellAt(0) to using this API.  Bug 378780.  API introduction part by me,
r+sr=jst.  Mass-changes done by taras using squash, r+sr=me
2007-05-01 22:24:25 +00:00
gavin%gavinsharp.com 765a71c941 Bug 377295: remove dependence on the binding constructor running before onload for the test from bug 366770, r=martijn 2007-04-29 17:29:19 +00:00
bzbarsky%mit.edu 158b34dc0f Fix long-standing XBL bug where we didn't update insertion points correctly in
some cases.  Bug 375299, r+sr=sicking
2007-04-27 04:06:45 +00:00
peterv%propagandism.org d0d256596c Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking. 2007-04-25 16:35:31 +00:00
benjamin%smedbergs.us 3fb4912f5d Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 14:22:04 +00:00
bzbarsky%mit.edu ee773f7a7d Stop blocking the parser on CSS stylesheet loads. We still block script
execution on them, however.  Bug 84582, r+sr=sicking
2007-04-20 22:59:18 +00:00
Olli.Pettay%helsinki.fi 3a915ad923 Bug 350334, Core XBL widgets used in web pages can't listen to their own events, r+sr=jst+sicking 2007-04-15 16:28:53 +00:00
martijn.martijn%gmail.com b0d824c7d3 Mochikit test for bug 371724, r=sayrer 2007-04-12 16:10:42 +00:00
Olli.Pettay%helsinki.fi daacd206af Bug 374547, regression: unable to repeat xbl bound element inside another with the same binding r=jst,sr=bz 2007-04-01 12:19:44 +00:00
dbaron%dbaron.org a32fb9b241 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 15:33:45 +00:00
asqueella%gmail.com 3a81e465a2 decomtaminate nsIXULPrototypeCache (bug 364329)
r=smaug, sr=roc
2007-03-12 05:53:33 +00:00
Olli.Pettay%helsinki.fi 9ce9e86668 Bug 368773, Cycle collect nsXBLResourceLoader::mBoundElements, r+sr=peterv 2007-03-11 11:56:09 +00:00
tor%cs.brown.edu fe44ffe2d9 Bug 373089 - add a ParentChainChanged notification to nsIMutationObserver.
r+sr=sicking
2007-03-10 13:49:43 +00:00
jonas%sicking.cc b03767bc37 Bug 371846: Kill unneccesary ownership management code in nsBindingManager::SetAnonymousNodesFor. r=smaug sr=jst 2007-03-10 03:25:47 +00:00
bzbarsky%mit.edu 6e58862277 Relanding bug 267833. Let's see what Txul does now. Still r+sr=sicking 2007-03-09 23:43:50 +00:00
peterv%propagandism.org 9ed7625526 Fix for bug 373219 (ASSERTION: Fault in cycle collector: null XPCOM pointer returned (ptr: 0)). r/sr=dbaron. 2007-03-09 13:14:06 +00:00
peterv%propagandism.org b0d71960ba Fix for bug 368773 (Add a bunch of DOM objects to cycle collection). r=sicking, sr=jst. 2007-03-08 11:17:16 +00:00
peterv%propagandism.org 4dc5b1e097 Fix for bug 372697 (nsBindingManager::GetXBLChildNodesInternal sometimes leaks). r/sr=dbaron. 2007-03-08 10:22:54 +00:00
bzbarsky%mit.edu f224d56f8e Back out bug 267833 to test performance effect. 2007-03-06 21:12:49 +00:00
bzbarsky%mit.edu 26fe5601e4 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
2007-03-06 19:36:36 +00:00
gavin%gavinsharp.com a8695723e7 Unit test for bug 366770, r=bzbarsky 2007-02-27 19:46:20 +00:00
jonas%sicking.cc ad95d9030f Bug 371083: Second installment in our exiting series 'deCOMtaminate the XBL code'. r/sr=jst 2007-02-27 00:14:01 +00:00
gavin%gavinsharp.com e584ffb274 Revert accidental checkin 2007-02-24 16:28:52 +00:00
gavin%gavinsharp.com d2dae6875b Bug 366770: use the first binding in the file if no fragment identifier is present in a binding's URI, r+sr=bzbarsky 2007-02-24 16:27:51 +00:00
bzbarsky%mit.edu cb82a49ad0 Remove vestiges of prototype binding refcounting. Bug 371417, r+sr=sicking 2007-02-24 05:34:07 +00:00
asqueella%gmail.com 3be3ebf36a bug 257868 - remove the nsIPresShell::SetAnonymousContentFor() API, make the frames store strong refs to the anonymous content instead. Decomtaminate nsIAnonymousContentCreator.
r+sr=roc
2007-02-18 17:34:09 +00:00
peterv%propagandism.org 7c0a0af3b0 Fix for bug 368549 (Cycle collector doesn't handle tearoffs correctly). r=graydon, sr=jst. 2007-02-18 14:38:04 +00:00
jonas%sicking.cc 9eea4cd5fe Bug 370332: Kill nsIBindingManager and nsIStyleRuleSupplier. r=dbaron for the layout/style parts, r/sr=jst for the rest. 2007-02-16 23:02:08 +00:00
jonas%sicking.cc 71cc25f9a2 Bug 370230: unbreak --enable-perf-metrics. Patch by me and Mats Palmgren. r/sr=jst 2007-02-13 21:18:25 +00:00
asqueella%gmail.com 412673a1af 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
2007-02-11 00:23:02 +00:00
Olli.Pettay%helsinki.fi eb855c9321 Bug 360847, Remove unused nsIDOM*foo*Listener interfaces, r=jst, sr=sicking 2007-02-09 13:00:00 +00:00
bzbarsky%mit.edu ad27ccf81e Make sure to initialize all members and that sort of thing. Bug 369011, r+sr=sicking 2007-02-02 02:12:48 +00:00
jonas%sicking.cc 4e449bc9e0 Bug 18333: Make the XML content sink incremental. Patch by Henri Sivonen<hsivonen@iki.fi>. r=peterv sr=sicking 2007-01-30 21:21:06 +00:00
cvshook%sicking.cc 0c24c4a4c3 Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +00:00
bzbarsky%mit.edu 661f32547b 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 e785a9024d Bug 363702, Merge nsXBLWindowHandler to nsXBLWindowKeyHandler, r+sr=jst 2007-01-09 07:33:18 +00:00
graydon%mozilla.com 7c5d800ed6 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 e6fbf7f335 Bug 333078: XPCOM cycle collector
r=brendan, sicking, bz, dbaron, bsmedberg
2007-01-04 22:31:26 +00:00
gavin%gavinsharp.com dbf140fdbf 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 00c0023af0 Bug 364398, r+sr=sicking 2007-01-03 05:37:03 +00:00
timeless%mozdev.org abc256e3da Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
Olli.Pettay%helsinki.fi b6290cc4d3 Bug 363817, nsVoidArray mAttachedStack to nsTArray<nsRefPtr<nsXBLBinding> >, r+sr=jst 2006-12-14 21:32:10 +00:00
bzbarsky%mit.edu 64648a75ec 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 df954f6171 backing out bug 333078, xpcom cycle collector due to perf issues 2006-11-22 23:18:16 +00:00
vladimir%pobox.com fdf72a2c5b b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many 2006-11-22 19:23:02 +00:00
cvshook%sicking.cc 5c7ed7c2dc 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 bf694c47cd Bug 359494, Make nsXBLWindowHandler to use nsISupportsWeakReference, not nsIBoxObject, r+sr=bz 2006-11-15 06:11:42 +00:00
mats.palmgren%bredband.net 47b8073079 XBL needs simple defense against infinite recursion. b=55070 r+sr=bzbarsky 2006-11-09 01:58:12 +00:00
Olli.Pettay%helsinki.fi cdf3005647 Bug 359242, remove nsXBLWindowDragHandler, r=sicking, sr=neil 2006-11-08 11:03:13 +00:00
Olli.Pettay%helsinki.fi 99cd38015f 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