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

2179 Коммитов

Автор SHA1 Сообщение Дата
mrbkap%gmail.com 4b15cb0755 Bump the fastload file version since the last source note change was not bytecode-compatible. bug 336378, r=brendan 2006-05-22 23:51:31 +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
leon.sha%sun.com 4cb998cedd Bug 337854 crash [@ nsTreeContentView::GetCell].
Patch by alfred.peng@sun.com.
neil: review+
roc: superreview+
2006-05-22 03:21:57 +00:00
cvshook%sicking.cc 2241eae8cb Bug 335913: Reimplement CompareDocumentPosition using nsINode interfaces. r/sr=bz 2006-05-16 14:51:52 +00:00
Olli.Pettay%helsinki.fi 6f0e67928a Bug 337586, Crash [@ PresShell::InitialReflow] when window gets destroyed duren beforeunload event handler, pressing reload, r+sr=bz 2006-05-15 17:51:35 +00:00
cvshook%sicking.cc d095c5e744 Fix windows bustage this time 2006-05-15 09:18:35 +00:00
cvshook%sicking.cc 073093c129 Bug 334075: Push mFlagsOrSlots to nsINode to allow storing flags and (in the future) slots on nsGenericDOMDataNodes. r=mrbkap sr=bz 2006-05-15 07:03:15 +00:00
ajschult%verizon.net b13d6ecc67 Bug 337841: rv checked uninitialized in XULSortServiceImpl::InsertContainerNode. r+sr=Neil 2006-05-13 17:06:35 +00:00
bryner%brianryner.com 73ad1691d8 Fix shortcut key regression by allowing command= event retargeting to elements other than <command> (bug 336740). r=neil sr=bzbarsky 2006-05-11 17:36:18 +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
bzbarsky%mit.edu 3ae541c6c6 Make documents be consistent with docshell wrt what the actual document URI
is.  Bug 335457, r=dveditz, sr=jst
2006-05-04 15:21:50 +00:00
bzbarsky%mit.edu 722b5218b2 Add an interface for nested URIs (like jar:, view-source:, etc) to implement
and use it in various places.  Create null principals if asked for a codebase
principal for a codebase that doesn't have an inherent security context (eg
data: or javascript:).  Bug 334407, r=biesi,dveditz, sr=darin
2006-05-02 18:54:19 +00:00
peterv%propagandism.org 1986f90b13 Fix for bug 75870 (XML namespace of XUL node attributes not accessible from JavaScript inside XUL templates). r=enndeakin, sr=bz. 2006-04-30 09:08:08 +00:00
bzbarsky%mit.edu 0c3706888c Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking 2006-04-27 18:21:11 +00:00
neil%parkwaycc.co.uk cb8f071e1c Improve box object hashtable storage b=326931 r=jst sr=bz 2006-04-26 12:42:49 +00:00
bzbarsky%mit.edu 3dc3c6dabf Dont clear our props if we're not changing owner documents. Bug 335333, r+sr=jst 2006-04-25 20:03:26 +00:00
bzbarsky%mit.edu 7f9b937064 Dispatch mutation events even in documents that are not rendered in a window.
Bug 201236, patch by Alex Vincent <ajvincent@gmail.com>, r=smaug, sr=peterv
2006-04-24 19:52:21 +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 c2fceaea42 Fix bug 329677. Sort service patch by Neil Rashbrook, r=ndeakin, sr=bzbarsky.
The rest of the patch by me, r=pike, sr=Neil Rashbrook.
2006-04-21 18:01:21 +00:00
bzbarsky%mit.edu e69e268856 Make sure documents have a content type at creation time. Bug 311218,
r=sicking, sr=jst
2006-04-21 01:24:44 +00:00
cvshook%sicking.cc ba2eb2ca0f Bug 333942. Move GetParent to nsINode and add GetNodeParent there too. There is a risk that this'll add some binary size, but hopefully not too much. r/sr=bz 2006-04-15 05:09:16 +00:00
mrbkap%gmail.com f36ff98d32 Remove defunct assertions from debug-only code. bug 334055, r+sr=sicking 2006-04-15 00:39:35 +00:00
enndeakin%sympatico.ca 7434acd04d Bug 331689, merge two attribute setting codeblocks to ensure consistency, r+sr=bz 2006-04-12 16:31:09 +00:00
benjamin%smedbergs.us 70a0f2207b Freeze nsIArray (requires separating nsIMutableArray into another .idl file); also removes NS_NewArray and moves do_QueryElementAt into the glue, r=darin 2006-04-12 15:43:32 +00:00
dbaron%dbaron.org e86e6e0de2 Copy observer list and hold references to observers when notifying them. b=271669 r=bzbarsky sr=jst 2006-04-11 23:44:34 +00:00
jst%mozilla.jstenback.com f4f7012c0b Fixing bug 321299. Make sure XPConnect wrappers get properly reparented when moving nodes from document to document. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2006-04-11 03:49:44 +00:00
dbaron%dbaron.org 04b8c33eda Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00
bzbarsky%mit.edu 25ab5fffef Create a powerless non-principal and start using it. Bug 326506, r=mrbkap,
sr=dveditz
2006-04-02 20:58:26 +00:00
peterv%propagandism.org db7caa0c2d Fix for bug 330835 (XULContentSinkImpl::HandleProcessingInstruction should use EqualsLiteral instead of FindInReadable for the target). r/sr=bz. 2006-04-01 02:11:27 +00:00
darin%meer.net 20837f71e1 fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron 2006-03-30 18:40:56 +00:00
cvshook%sicking.cc 1995317fe0 Bug 329982: Give nsXULElement::RemoveChildAt some lovin' to make it deal better with mutationevent handlers mutating the DOM 2006-03-27 22:00:40 +00:00
enndeakin%sympatico.ca c9f425d8df bug 330660, when constraining, skip underspecified items and do them later. This make certain more complex templates update properly. r+sr=bz 2006-03-27 13:53:27 +00:00
roc+%cs.cmu.edu 1a94b0ebf3 Bug 326501. Mark tree views as being suitable for untrusted code. r+sr=bzbarsky 2006-03-26 20:59:03 +00:00
Olli.Pettay%helsinki.fi ee372ff167 Bug 330710, Replace obsolete preventBubble/preventCapture with stopPropagation, r=neil, r=mconnor, sr=jst 2006-03-25 22:03:49 +00:00
Jan.Varga%gmail.com 289667093a Fix for bug 330662. isdominated check in template builder is not necessary and causes problems in some specific cases
r=enndeakin sr=bzbarsky
2006-03-25 08:07:33 +00:00
cvshook%sicking.cc af857a00d6 Bug 331547: Get rid of nsGenericElement::WillAddOrRemove 2006-03-24 22:43:23 +00:00
enndeakin%sympatico.ca 027ce66879 bug 330663, textnodes not synchronized properly, r+sr=bz 2006-03-24 20:41:03 +00:00
cvshook%sicking.cc 1b3207b1d5 Relanding patches that (hopefully) don't affect Tdhtml 2006-03-24 00:09:50 +00:00
cvshook%sicking.cc e26140ab7d Back out a few of my patches to see if any caused the Tdhtml regression in bug 331364. 2006-03-23 08:21:21 +00:00
bryner%brianryner.com 7a96206e10 Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst. 2006-03-22 18:36:36 +00:00
timeless%mozdev.org f23ddfbebf Bug 330170 crash in history tab of Side bar [@ nsXULTreeBuilder::CycleHeader]
validate arguments, label arguments, use Truncate
r=neil sr=roc
2006-03-21 06:31:37 +00:00
peterv%propagandism.org 59c12dfe1f Fix for bug 286132 (xml-stylesheet PI doesn't handle href attribute as in specification), checking in the right patch this time. r=sicking, sr=bz. 2006-03-17 14:38:57 +00:00
peterv%propagandism.org d52a61880f Backing out to fix bustages. 2006-03-16 15:12:21 +00:00
peterv%propagandism.org 3efee8b1f4 Fix for bug 286132 (xml-stylesheet PI doesn't handle href attribute as in specification). r=sicking, sr=bz. 2006-03-16 13:47:42 +00:00
Olli.Pettay%helsinki.fi 37054f078a Bug 329512, Remove NS_XUL_CLICK r+sr=bz 2006-03-13 20:57:36 +00:00
enndeakin%sympatico.ca d319f815e1 Bug 330167, clear lazy state when removing template-built node from document, r+sr=bz 2006-03-13 19:19:08 +00:00
mrbkap%gmail.com b8ec1670f1 Don't crash on empty XUL files. bug 326204, r=neil, sr=bzbarsky 2006-03-09 18:48:32 +00:00
Olli.Pettay%helsinki.fi 0a10950131 Bug 329125, Remove nsMutationEvent::mTarget r+sr=bz 2006-03-09 18:14:17 +00:00
enndeakin%sympatico.ca 472ec2a4eb bug 329884, keep reference when removing builder, r+sr=bz 2006-03-09 17:13:35 +00:00
cvshook%sicking.cc 9f4b50c028 Bug 326645: Remove mRootContent from nsDocument to avoid all the pains of keeping it in sync with the childlist. Also remove mBodyContent from nsHTMLDocument for the same reason. r=bz sr=jst 2006-03-09 07:29:41 +00:00
cvshook%sicking.cc 1a8c5dae53 Bug 325730. Mutation-event handlers can cause further mutations to the DOM. We need to be more attentive to those. r=bz sr=jst 2006-03-08 21:47:32 +00:00
enndeakin%sympatico.ca 16fd9a63a3 bug 329335, unhook template builder when removing root node, r+sr=bz 2006-03-08 17:13:31 +00:00
cvshook%sicking.cc de7a063b91 Bug 325426: Only use baseURI to resolve relative uris. r=bz sr=jst 2006-03-08 05:01:16 +00:00
Olli.Pettay%helsinki.fi f79ea0115b Bug 234455, Centralize event dispatch r=jst, sr=bz 2006-03-07 17:08:51 +00:00
bzbarsky%mit.edu 950c61cf37 Remove the mPresShell member of nsBoxObject, and some other cleanup. Bug
329181, r=neil, sr=jst
2006-03-07 03:20:39 +00:00
enndeakin%sympatico.ca 92a7747f74 account settings not visible; support multiple uses of the same result id, r+sr=bz 2006-03-06 15:53:43 +00:00
bzbarsky%mit.edu 189f26cded Right-click on an overflow:auto div with content smaller than the div should
not focus it.  Bug 296259, patch by moz_bug_r_a4@yahoo.com, r=aaronlev, sr=roc
2006-03-06 05:18:52 +00:00
neil%parkwaycc.co.uk d81d4d83ac Resolve assertion by removing unnecessary code b=326875 r+sr=bz 2006-03-03 23:41:39 +00:00
bzbarsky%mit.edu 1939953a97 Make sure XUl anonymous popup groups are really anonymous. Bug 326644, patch by Mats Palmgren <mats.palmgren@bredband.net>, r+sr+branch181=bzbarsky, a=dveditz 2006-03-03 02:46:00 +00:00
dveditz%cruzio.com 981041e957 bug 328692 catch names missed in 319846, r=mrbkap, sr=bsmedberg, a=timr 2006-02-27 20:47:50 +00:00
enndeakin%sympatico.ca b8b1062a90 Bug 328496, search results appear multiple times, r+sr=bz 2006-02-27 16:50:15 +00:00
enndeakin%sympatico.ca 65c400afcf Bugs 328464, empty template attribute issue and 327504, crash reading mail r+sr=bz 2006-02-27 16:48:55 +00:00
enndeakin%sympatico.ca 5d3d336e24 bug 326712, issues with bookmarks and templates, r+sr=bz 2006-02-23 18:53:24 +00:00
bzbarsky%mit.edu 7e74a76712 Make XULControllers wrappable from unprivileged script, but don't let such
script actually do anything with it.  Bug 326248, r=mrbkap, sr=jst
2006-02-23 03:17:11 +00:00
enndeakin%sympatico.ca c9a1c9c5d1 Bug 327895, set value properly when checking containment properties, r=bz 2006-02-20 23:01:32 +00:00
roc+%cs.cmu.edu a78451e5eb Bug 285631. Fix build bustage 2006-02-13 21:55:50 +00:00
enndeakin%sympatico.ca a1c4fe691a Move collation init so layout doesn't get called recursively - fix balsa orange 2006-02-13 19:23:59 +00:00
enndeakin%sympatico.ca b854f81d48 Bug 285631, new template builder, r+sr=bz 2006-02-13 16:02:08 +00:00
dveditz%cruzio.com ab00870e61 bug 319846 prevent over-long attributes that choke the parser, r=mrbkap, sr=bsmedberg 2006-02-07 07:19:53 +00:00
cbiesinger%web.de c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
bzbarsky%mit.edu 2cc395ff83 Fix bug 323634 -- controllers are not for content. Patch by
neil@parkwaycc.co.uk <neil@httl.net> and Wladimir Palant <trev@gtchat.de>,
r=bzbarsky, sr=jst
2006-02-03 01:38:36 +00:00
bzbarsky%mit.edu 263cf7dc11 Push up GetPrincipal to nsINode (as GetNodePrincipal). This way all nsINodes
(content, documents, attr nodes) can return their principal as needed.
Eliminate lazy allocation of principals in nsDocument.  Bug 324600, r=sicking, sr=jst
2006-02-02 20:02:34 +00:00
cvshook%sicking.cc 302bfb5920 Bug 324572: Move property methods to nsINode and make nsIAttribute inherit nsINode.
r/sr=bz
2006-01-25 20:49:56 +00:00
darin%meer.net 5d0f4e7dae fix balsa bustage 2006-01-25 02:46:20 +00:00
bryner%brianryner.com ecc0706743 Remove deprecated nsTString::ToCString (bug 323471). r+sr=darin. 2006-01-24 19:22:02 +00:00
mrbkap%gmail.com fb3f80349e bug 323908: Pass line and column information to ReportError. Patch by Robert Sayre <sayrer@gmail.com>. r=mrbkap sr=jst 2006-01-21 02:02:02 +00:00
bzbarsky%mit.edu b64fcb4a39 Implement an nsINode interface; move some common stuff from nsIContent and
nsIDocument to nsINode.  Bug 323311, r=sicking, sr=jst
2006-01-19 03:34:18 +00:00
dbaron%dbaron.org 836cdfd70a Remove event listeners when dropping an event listener manager so that the weak references in DOMClassInfo's preserved wrapper table for event listeners are removed before the ELM's owner (the GC participant) goes away, and document why this needs to be done. Also consolidate the things that need to be done before letting go of an ELM into one method, and add some missing calls to that method. b=323807 r=mrbkap sr=jst 2006-01-19 02:43:39 +00:00
cvshook%sicking.cc 15c2397445 Bug 323910: Merge atom lists in gklayout
r/sr=jst
2006-01-19 00:58:12 +00:00
roc+%cs.cmu.edu 710ba40206 Bug 323230. Add FindAttrValueIn as an efficient way to look up an attribute value in a table of atoms. r=sicking,sr=bzbarsky 2006-01-18 04:09:33 +00:00
bzbarsky%mit.edu 351bd79cf4 Fix blocker bug 322701 -- don't reenter StartLayout. pending r=ben, sr=dbaron. 2006-01-14 05:28:34 +00:00
bzbarsky%mit.edu 13c4577f3c Fix build bustage (bug 322936) 2006-01-10 20:11:53 +00:00
dbaron%dbaron.org 096a6cfbc0 Consolidate duplicated overlay loading code. b=320211 r=mrbkap sr=jst 2006-01-10 06:05:19 +00:00
doronr%us.ibm.com 1f4c747387 Patch for bug 319463 should use PR_TRUE, not true 2006-01-07 04:30:58 +00:00
doronr%us.ibm.com dbc03c98c4 Bug 319463 - display:none iframe pointing to a xul document stops main document from finishing to load. patch by ben, r=bz sr=bryner 2006-01-06 23:24:38 +00:00
mrbkap%gmail.com 949e0433c4 bug 319434: Add an interface to allow C++ callers to get the popup and tooltip
nodes so that when the only JS code on the stack is content code, the C++ code
still does the right thing. r=jst sr=bzbarsky
2006-01-06 20:49:19 +00:00
darin%meer.net eb3847a802 fixes bug 318193 "Input streams are not implemented consistently" r=biesi sr=bz 2006-01-02 02:30:32 +00:00
cvshook%sicking.cc 462757fa67 Bug 232639: Make nsXULElement::GetAttrNameAt actually work.
r/sr=bz
2005-12-30 20:12:35 +00:00
cvshook%sicking.cc 857adff236 Bug 296207: Optimize nsDOMAttributeMap::SetNamedItemInternal.
r=allan sr=peterv
2005-12-29 03:01:58 +00:00
cvshook%sicking.cc 79b8f5fc24 Bug 284950: DeCOMTaminate nsIContent::GetAttrNameAt
r/sr=bz
2005-12-28 21:52:39 +00:00
cbiesinger%web.de 72ac26b6ce Bug 321504 Remove unneeded uses of nsIDocumentLoader
r+sr=bz
2005-12-26 16:45:59 +00:00
neil%parkwaycc.co.uk df831828e8 Abandon prototypes for failed overlays (fixes bug 320652) r=mrbkap sr=dbaron 2005-12-23 10:48:34 +00:00
mrbkap%gmail.com d8a5fa7ae3 bug 319847: xul:persist doesn't really deal with namespaces; check that the argument is a valid NCName, though. r=bsmedberg sr=jst 2005-12-19 21:13:59 +00:00
dbaron%dbaron.org 4f86c6b578 Call nsIParser::Terminate when NS_OpenURI fails so we don't leak on failed prototype loads. b=320211 r=mrbkap sr=jst 2005-12-15 01:04:27 +00:00
timeless%mozdev.org a271e59465 Bug 318276 Crash [ @ nsXULDocument::LoadOverlay ]
patch by jwalden+bmo@mit.edu r=jst sr=jst
2005-12-13 00:38:40 +00:00
brettw%gmail.com b9193728c5 Bug 302050: inline spellchecking for textboxes backend. r=bryner sr=bzbarsky 2005-12-05 18:07:33 +00:00
jst%mozilla.jstenback.com 7223904a81 Fixing bug 318461. Move SetNewDocument() and SetOpenerWindow() from nsIScriptGlobalObject to nsPIDOMWindow to clean out non-script related methods form the nsIScriptGlobalObject interface. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2005-12-01 19:35:27 +00:00
mrbkap%gmail.com 1789e54d33 bug 317370: Remove the vestigial aRemoveEventListeners parameter to SetNewDocument. r+sr=jst 2005-11-30 23:41:49 +00:00
jst%mozilla.jstenback.com 61c4a775a7 Fixing bug 318106. Stop assertion about setting mutation bits on outer window. r+sr=bzbarsky@mit.edu 2005-11-29 21:51:53 +00:00
bzbarsky%mit.edu bf70da4532 Remove content ids. Bug 166637, r=sicking, sr=peterv 2005-11-29 16:47:18 +00:00
bzbarsky%mit.edu 6d003a9d96 Make ParseAttribute handle namespaced attributes too, since SVG needs to
ParseAttribute things like xlink:href.  Bug 314568, r=sicking, sr=jst
2005-11-29 16:37:15 +00:00
jst%mozilla.jstenback.com 5860dd1a88 Fixing tinderbox orange. Add event listeners on inner windows when processing event attributes on overlay elements, make sure to use the inner window, not the outer. 2005-11-29 02:06:23 +00:00
jst%mozilla.jstenback.com 8f1863159b Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +00:00
timeless%mozdev.org 9b0852aaf7 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
timeless%mozdev.org 98c84e24ac Bug 106386 Correct misspellings in source code
patch by supernova_00@yahoo.com r=timeless rs=brendan
2005-11-21 06:30:34 +00:00
masayuki%d-toybox.com 136d5491f6 Bug 309075 Right-clicking a partially off-screen link shouldn't scroll the page r+sr=roc 2005-11-12 06:34:12 +00:00
bsmedberg%covad.net 78f6d0683d Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
dbaron%dbaron.org 250c7628a4 Fix null check so it doesn't cause a leak. b=315427 r+sr=bryner 2005-11-07 20:53:47 +00:00
cvshook%sicking.cc a94ba80d50 Followup patch for bug 311827. nsIContent::GetAttr now returns a bool.
r/sr=bz
2005-11-07 19:03:54 +00:00
bzbarsky%mit.edu 707a4941b9 Notify on range stuff even in XUL. Bug 308382, r=sicking, sr=jst 2005-11-02 02:42:38 +00:00
bzbarsky%mit.edu d44ad313ae Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst
2005-11-02 00:41:51 +00:00
cvshook%sicking.cc 64a0fbd45f Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz
2005-10-28 11:25:24 +00:00
bzbarsky%mit.edu ddfee5f052 Combine various SetAttr implementations so that we just have
nsGenericElement::SetAttr.  Bug 308270, r=sicking, sr=jst
2005-10-28 02:59:38 +00:00
peterv%propagandism.org 0a629d03bb Fix for bug 264308 (Implement DOM Level 3 UserData API). r/sr=jst. 2005-10-27 14:09:23 +00:00
bzbarsky%mit.edu 0d5a3e6aa7 Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst
2005-10-27 02:25:23 +00:00
mrbkap%gmail.com ca50f64d3e bug 313566: Add a couple of checks. r=jst sr=bzbarsky 2005-10-25 01:34:16 +00:00
Olli.Pettay%helsinki.fi 00c061065b Bug 312743, DoneAddingChildren is not called for XTF Elements in XUL if the element doesn't have any child nodes. r+sr=bryner 2005-10-17 18:23:23 +00:00
peterv%propagandism.org 513c1fd56d Fix for bug 308328 (crash in [@ nsDocument::GetPrincipal] when closing browser). r/sr=bz. 2005-10-14 09:07:29 +00:00
bzbarsky%mit.edu d86be43444 Don't try to duplicate the jsval typedef. Bug 312003, r+sr=brendan 2005-10-12 20:16:35 +00:00
Olli.Pettay%helsinki.fi cde8aaf024 Bug 306974, Remove some duplicate event dispatching code r=sicking, sr=peterv 2005-10-10 18:38:57 +00:00
bryner%brianryner.com 48082c9284 Speed up matching class rules by caching the class attribute, rather than looking it up for each rule. Remove HasClass now that it's no longer needed. Bug 310236, r+sr=dbaron. 2005-10-08 23:06:27 +00:00
cvshook%sicking.cc 7371067364 Bugs 292962 and 311269: Make pages in bf cache not behave as if they have a presentation, and evict pages from the bf cache synchronously if they are modified.
r/sr=bryner
2005-10-07 20:20:52 +00:00
peterv%propagandism.org 5b1a78fdda Fix for bug 311006 (Events don't fire after importNode/appendChild from a XUL document into HTML document). r/sr=bz. 2005-10-05 14:47:16 +00:00
scott%scott-macgregor.org f08d97599b Bug #310833 -> Template builder doesn't free constructed content when menulists are in use Back out the changes for
Bugs #285076 and Bug #307160 as they caused regressions for platform developers using the content builder.
2005-10-04 06:55:34 +00:00
bzbarsky%mit.edu f7b86680d1 Failure to open a channel in a stream loader should just make init() throw.
Bug 310319, r+sr=darin
2005-09-29 22:00:26 +00:00
scott%scott-macgregor.org 30dfb66312 Bug #282103 --> Dynamic Overlays.
If LoadOverlayInternal returns an error, then make sure we remove the overlay observer from our hash table
to prevent a memory leak.

sr=bz
2005-09-28 19:50:39 +00:00
bzbarsky%mit.edu d9d40b5770 Attempt to fix splitwindow focus stuff -- bug 305032. Issue found by mrbkap,
patch by me, r=mrbkap, sr=jst
2005-09-28 02:44:16 +00:00
scott%scott-macgregor.org d52b5620b8 Bug #307160 --> Leak in XUL template builder caused by bug 285076
This always uses aContainer returned by CreateTemplateContents. If CreateTemplateContents
returns null for the container then we end up using the value returned by
CreateContainerContents.

r=enndeakin
sr=bz
2005-09-27 17:50:49 +00:00
peterv%propagandism.org 3609c87767 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-24 18:43:15 +00:00
bzbarsky%mit.edu a968a0250c Make sure to root the function object we compile in
nsXBLPrototypeHandler::ExecuteHandler.  r=jst, sr=brendan
2005-09-24 02:33:33 +00:00
bzbarsky%mit.edu b10d301a22 Pass a boolean indicating whether we've sent a ContentInserted or
ContentAppended notification to DoneAddingChildren.  Bug 309534, r=mrbkap,
sr=jst
2005-09-22 02:33:36 +00:00
bzbarsky%mit.edu 594e733c16 Remove silly warning in GetDocShell impls, and use the principal (which we
should always have) instead of the docshell for chrome vs content
determination.  Bug 51962, r+sr=jst
2005-09-22 02:10:07 +00:00
dbaron%dbaron.org 6c3f2cec58 Hold a strong pointer to this while breaking circular references. b=306915 r=enndeakin sr=bzbarsky 2005-09-20 05:15:03 +00:00
Olli.Pettay%helsinki.fi 74b4cd1e91 Bug 305678, Cleaning up element implementations. Removing nsXULElement::InsertChildAt and nsXULElement::AppendChildTo. r=bz, sr=jst 2005-09-13 20:01:45 +00:00
Olli.Pettay%helsinki.fi 40bb760a55 Bug 202764, nsXULDocument::HandleDOMEvent can go away. r=jst, sr=bz 2005-09-13 16:18:23 +00:00
bzbarsky%mit.edu 818aafcc15 Improve the CSSLoader API: make it clear which methods return results
sync and which return async, move the handling of alternates more completely
into the CSSLoader, make it possible for observers to tell whether the load
actually succeeded.  Bug 293825, r+sr=peterv
2005-09-12 18:41:15 +00:00
bzbarsky%mit.edu 1e583ff98f Fix bug 307600 for XTF and XUL too. r+sr=peterv 2005-09-12 14:48:57 +00:00
peterv%propagandism.org 8bcf86354a Follow-up to fix for bug 251025, make Clone/CloneContent const again. 2005-09-12 07:34:25 +00:00
bzbarsky%mit.edu 84999b62be More use of EmptyString(). Bug 232691, patch by Vidar Braut Haarr
<vhaarr+bmo@gmail.com>, r+sr=bzbarsky
2005-09-12 01:28:51 +00:00
peterv%propagandism.org 85b8cff6bc Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz. 2005-09-11 17:15:08 +00:00
peterv%propagandism.org efa08d1916 Back out fix for bug 251025 to fix bustage. 2005-09-11 15:42:31 +00:00
peterv%propagandism.org 86ca4e41cc Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz. 2005-09-11 15:05:31 +00:00
peterv%propagandism.org 1fd27aa751 Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz. 2005-09-11 10:08:43 +00:00
brendan%mozilla.org b03abf03d2 Add JS1.6 support, moving E4X and Array extras there (306664, r/sr=mrbkap/shaver). 2005-09-06 17:43:36 +00:00
scott%scott-macgregor.org 5a0b7f2d3c Bug #285076 --> XUL Template Builder isn't working with Dynamic overlays
nsXULContentBuilder::CreateContents should fire content appended notifications.

sr=bz
2005-09-02 21:30:20 +00:00
scott%scott-macgregor.org adfb499dd1 Bug #282103 --> minor dynamic overlay improvements.
Add IDL documentation stating that it's ok to pass in a null observer to LoadOverlay
Make sure .Init() succeeds on our hashtables, otherwise return an out of memory error code.

r/sr=bz
2005-08-30 21:57:01 +00:00
bzbarsky%mit.edu df8c8e7910 Fix crash after restoring default toolbar set by making sure that
RemoveSubtreeFromDocument unhooks broadcasters just like AddSubtreeToDocument
hooked them up.  Bug 295404, patch by dbaron, r=bzbarsky, sr=bryner
2005-08-25 04:11:35 +00:00
bzbarsky%mit.edu 3656444b70 Make sure that a reflow flush on the document makes the sink start layout if
needed.  Bug 253951, r=mrbkap, sr=jst
2005-08-24 20:56:58 +00:00
ben%bengoodger.com 2e7a3f5421 293460 crash when navigating preferences with arrow keys. null check load observer. r=jst sr=bryner a=cbeard 2005-08-23 18:26:35 +00:00
bzbarsky%mit.edu 0d6a610963 Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
mrbkap%gmail.com 2b7c7bca7a bug 303267: Store the entire inner window in the window state holder instead of copying properties and restoring them. This fixes going back and forth with the bfcache on when the page gone to has javascript in it. r=jst sr=bryner 2005-08-15 18:16:42 +00:00
mrbkap%gmail.com c5688dfef2 Backing out changes for bug 303267 until the perf hits on the Seamonkey tinderbox can be explained. 2005-08-13 03:54:29 +00:00
mrbkap%gmail.com 59fbced3fe bug 303267: Store the entire inner window object on the history entry instead of copying/restoring JS properties. r=bryner sr=jst. This patch also fixes bugs 304284 and 304078. 2005-08-13 00:53:39 +00:00
allan%beaufour.dk ef9ceda68e Call XTF Begin/DoneAddingChildren in XUL Documents. Bug 302915, r+sr=bryner, a=benjamin, patch by smaug@welho.com 2005-08-02 12:47:41 +00:00
allan%beaufour.dk 88eac285e7 Dispatch DOMContentLoaded on XUL Documents. Bug 302914, r+sr=jst, a=benjamin, patch by smaug@welho.com 2005-08-02 12:42:24 +00:00
jst%mozilla.jstenback.com 8c2bc6fcb8 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 2005-07-30 20:57:07 +00:00
cbiesinger%web.de 27335d05f5 bug 300024 remove assertion when putting XUL buttons in an XHTML document
patch by Caleb <bugs.caleb@gmail.com> r+sr=bz a=bsmedberg
2005-07-18 16:43:47 +00:00
brendan%mozilla.org d0a48d5659 Support E4X by default in chrome windows and in XUL scripts (293392, r+sr=peterv/jst). 2005-07-02 19:52:25 +00:00
bsmedberg%covad.net d8791d2f29 Bug 296102 - If a <xul:script src="chrome://missing-package/content/file.js" /> cannot be loaded, don't leave the window in an unopened zombie state, r+sr=jst a=asa 2005-07-01 12:18:18 +00:00
masayuki%d-toybox.com 1f93ebdcd5 Bug 259454 IME input (e.g., Chinese, Japanese and Korean) cannot be performed in Find Toolbar when opened with "/" or "'" r=bryner, dbaron, sr=dbaron, a=benjamin 2005-06-24 04:25:43 +00:00
jst%mozilla.jstenback.com f3ed62af01 Fixing bug 296704. Make re-dispatching of events work as expected. r=dveditz@cruzio.com, sr=bryner@brianryner.com, a=dveditz@cruzio.com 2005-06-22 01:53:58 +00:00
jwatt%jwatt.org dfb5090b0d Follow up patch for bug 62485. script type="text/ecmascript" is not recognized. r+a=brendan 2005-06-22 00:50:32 +00:00
peterv%propagandism.org ea82f1a8a5 Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa. 2005-06-16 13:10:58 +00:00
cbiesinger%web.de 55fdadbd11 bug 241739 reuse HTML/SVG's <script> loading code for XUL <script>, thus
correctly handling non-ASCII characters
r+sr=bz a=asa
2005-06-12 12:32:05 +00:00
bzbarsky%mit.edu 5f3686c787 Create non-XUL nodes in a XUL document with the right ownerDocument. Bug
294536, r+sr=peterv, a=asa
2005-06-09 01:06:46 +00:00
jst%mozilla.jstenback.com 4e48d2a634 Fixing bug 292464. Use the documents principals to check if a document is a chrome document or not. r=smaug@welho.com, sr=peterv@propagandism.org, a=shaver@mozilla.org 2005-06-02 23:36:08 +00:00
timeless%mozdev.org 594e37d0af Bug 290197 unchecked outputstream [@ nsXULPrototypeScript::Serialize]
r=bz sr=bz a=shaver
2005-06-01 18:33:20 +00:00
allan%beaufour.dk f9510dc2c1 Fix up nsDOMAttributeMap so it caches the nsDOMAttributes that it creates. Bug 235512, r=sicking, sr=peterv, a=shaver 2005-06-01 13:46:20 +00:00
bzbarsky%mit.edu 89f6d79b74 Push the mChannel member for documents up to nsDocument and expose it on
nsIDocument.  Bug 292971 preliminaries, r+sr=jst, a=chofmann
2005-06-01 01:15:23 +00:00
bzbarsky%mit.edu e86f704ac7 Don't flag XUL elements created via nsXULElement::Create as being in a document
-- they're not.  Bug 292247, r=sicking, sr=jst, a=chofmann
2005-05-01 17:32:49 +00:00
jst%mozilla.jstenback.com 50de4a3e1d Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org 2005-04-28 23:48:28 +00:00
bzbarsky%mit.edu 7f50fad51c Remove unneeded layout flushes in XUL/XBL. Bug 290005, r=roc, sr=jst, a=asa 2005-04-28 20:23:26 +00:00
bzbarsky%mit.edu 90feadd1d3 Fix crashes when document.load is called on an already-parsing XML document.
Bug 289292, r=sicking, sr=jst, a=chofmann
2005-04-28 16:57:24 +00:00
ben%bengoodger.com 17b0bf20cf 291206 - verbose template rule format does not support parsetype='Integer' for literal match conditions... r=vlad sr=bryner a=brendan 2005-04-23 01:42:31 +00:00
bzbarsky%mit.edu 8df9c25d22 Create CSSLoaders when the document object is created and deCOMify the getter.
Bug 290068, r=sicking, sr=peterv, a=brendan
2005-04-19 01:27:11 +00:00
bzbarsky%mit.edu e84856a159 Remove unused aDeep args from AppendChildTo and InsertChildAt. Bug 289316,
r=sicking, sr=peterv, a=brendan
2005-04-18 22:58:35 +00:00
bzbarsky%mit.edu ec8569a2f5 Fixing the XUL content sink's error reporting. Bug 289469, r+sr=peterv, a=dbaron 2005-04-18 19:44:14 +00:00
bzbarsky%mit.edu 192b6aaa49 Move the BindToTree call for the document element into SetRootContent. Bug
289209, r=sicking, sr=jst, a=asa
2005-04-15 01:30:14 +00:00
ben%bengoodger.com f503636273 crash at nsXULDocument::OverlayForwardReference::Merge due to broken implementation of removeelement attribute for overlay merging... we always want to notify of node removals, so don't pass the notify flag along to the Remove function, always send PR_TRUE so that state is updated correctly. r=bz, sr=bryner, a=brendan 2005-04-06 23:19:20 +00:00
bzbarsky%mit.edu 48ba5ce32b Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
BindToTree and UnbindFromTree methods.  Bug 286000, r=sicking, sr=jst
2005-04-05 23:54:35 +00:00
Olli.Pettay%helsinki.fi a4b953aae4 Bug 288998 - Use atoms in nsXULElement::HandleDOMEvent to compare tag names, r+sr=bz 2005-04-04 21:16:15 +00:00
bzbarsky%mit.edu 2c620a7158 Fix overlay code to not trust overlays and violate the nsIContent API in the
process.  Bug 233641, r=sicking, sr=ben
2005-03-31 04:26:00 +00:00
scott%scott-macgregor.org d607589123 Back out the fix for Bug #285076 as it caused regressions (Bug #286709) 2005-03-18 17:14:29 +00:00
scott%scott-macgregor.org fd9de2674a Bug #285076 --> XUL Template Builder doesn't work with Dynamic overlays because we aren't sending out notifications to the document when the overlay is loaded dynamically.
r=jst
sr=bryner
2005-03-17 21:26:04 +00:00
jst%mozilla.jstenback.com a57ec3f6dc Fixing bug 283531. Fix confusingly named argument to nsIEventStateManager::DispatchNewEvent() that has caused confusing event handling code (also fixed) to creap into the tree. r=bzbarsky@mit.edu, sr=bryner@brianryner.com 2005-03-04 02:01:54 +00:00
bryner%brianryner.com a29b6c69fa Remove nsIXBLBinding (bug 194834). r+sr=bzbarsky. 2005-02-25 22:07:01 +00:00
ben%bengoodger.com 7563b3836a 282103 - dynamic overlays: implement "loadOverlay" method on nsIDOMXULDocument which loads and merges an overlay into a XUL document. r=jst sr=bryner 2005-02-25 09:06:34 +00:00
bryner%brianryner.com 708a569767 Guarantee that a document's binding manager is non-null. Bug 282792, r+sr=bzbarsky. 2005-02-19 10:31:27 +00:00
doronr%us.ibm.com 4be07d28cc Checked in from wrong tree, backing out, sorry. 2005-02-18 21:28:20 +00:00
doronr%us.ibm.com b15c0e8b75 Bug 279057 - Implement hasFeature for XForms. Patch by smaug, r=bryner/sr=jst 2005-02-18 21:20:27 +00:00
neil%parkwaycc.co.uk e298802c1b Wallpaper for bug 280541 to get content tootips and scrollbars but still trying not to expose too much to content r+sr=bz a=asa 2005-02-12 20:48:06 +00:00
neil%parkwaycc.co.uk 5f18ee85fa Wallpaper for bug 280541 to get content tootips and scrollbars but still trying not to expose too much to content r+sr=bz a=asa 2005-02-12 20:21:02 +00:00
bryner%brianryner.com 064c7eb606 Remove unneeded nsIFrameLoader interface (bug 280992). r+sr=jst. 2005-02-07 23:53:47 +00:00
bryner%brianryner.com 67dba23ae4 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron. 2005-02-03 23:01:54 +00:00
bryner%brianryner.com 851143fbec Remove unneeded nsIContentList interface (bug 280746). r+sr=jst. 2005-02-02 23:16:02 +00:00
mozilla.mano%sent.com 4ddcb38789 Bug 277516 - Add a hidden pref to follow accessibility.tabfocus for xul elements; default to true on mac, false everywhere else. r=aaronlev sr=bzbarksky 2005-01-29 23:47:35 +00:00
aaronleventhal%moonset.net df927a6518 Bug 279496. Can't copy and paste in text area. r=mats, sr=bz 2005-01-27 13:10:20 +00:00
cvshook%sicking.cc c33b1cbd24 Bug 279788: Add nullcheck before calling isSelfOrAncestor.
r/sr=bz
2005-01-25 21:10:36 +00:00