1169 Commits

Author SHA1 Message Date
Olli.Pettay%helsinki.fi
b6cdf7cb60 Bug 234455, Centralize event dispatch r=jst, sr=bz
git-svn-id: svn://10.0.0.236/trunk@191900 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 17:08:51 +00:00
bzbarsky%mit.edu
5b687a6a47 Remove the mPresShell member of nsBoxObject, and some other cleanup. Bug
329181, r=neil, sr=jst


git-svn-id: svn://10.0.0.236/trunk@191874 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 03:20:39 +00:00
neil%parkwaycc.co.uk
a5b92fbc6d Resolve assertion by removing unnecessary code b=326875 r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@191742 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-03 23:41:39 +00:00
dveditz%cruzio.com
a953021528 bug 328692 catch names missed in 319846, r=mrbkap, sr=bsmedberg, a=timr
git-svn-id: svn://10.0.0.236/trunk@191335 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-27 20:48:49 +00:00
bzbarsky%mit.edu
ec0eab6785 Make XULControllers wrappable from unprivileged script, but don't let such
script actually do anything with it.  Bug 326248, r=mrbkap, sr=jst


git-svn-id: svn://10.0.0.236/trunk@190978 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 03:17:11 +00:00
dveditz%cruzio.com
f675fd2306 bug 319846 prevent over-long attributes that choke the parser, r=mrbkap, sr=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@189293 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 07:19:53 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
bzbarsky%mit.edu
0c361b7455 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


git-svn-id: svn://10.0.0.236/trunk@188803 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 01:38:36 +00:00
bzbarsky%mit.edu
1510aacc39 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


git-svn-id: svn://10.0.0.236/trunk@188770 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 20:02:34 +00:00
mrbkap%gmail.com
d3ecc5dd10 bug 323908: Pass line and column information to ReportError. Patch by Robert Sayre <sayrer@gmail.com>. r=mrbkap sr=jst
git-svn-id: svn://10.0.0.236/trunk@187941 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 02:02:02 +00:00
bzbarsky%mit.edu
31719bf3ba Implement an nsINode interface; move some common stuff from nsIContent and
nsIDocument to nsINode.  Bug 323311, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@187813 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 03:34:18 +00:00
cvshook%sicking.cc
ceaf7bdebc Bug 323910: Merge atom lists in gklayout
r/sr=jst


git-svn-id: svn://10.0.0.236/trunk@187798 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 00:58:12 +00:00
roc+%cs.cmu.edu
b662160399 Bug 323230. Add FindAttrValueIn as an efficient way to look up an attribute value in a table of atoms. r=sicking,sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@187743 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-18 04:09:33 +00:00
bzbarsky%mit.edu
90005689ce Fix blocker bug 322701 -- don't reenter StartLayout. pending r=ben, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@187627 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-14 05:28:34 +00:00
dbaron%dbaron.org
f89fbadc41 Consolidate duplicated overlay loading code. b=320211 r=mrbkap sr=jst
git-svn-id: svn://10.0.0.236/trunk@187233 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-10 06:05:19 +00:00
doronr%us.ibm.com
3e0f1e90ac Patch for bug 319463 should use PR_TRUE, not true
git-svn-id: svn://10.0.0.236/trunk@187121 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-07 04:30:58 +00:00
doronr%us.ibm.com
6477e29d8b Bug 319463 - display:none iframe pointing to a xul document stops main document from finishing to load. patch by ben, r=bz sr=bryner
git-svn-id: svn://10.0.0.236/trunk@187106 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-06 23:24:38 +00:00
mrbkap%gmail.com
93ec582b79 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


git-svn-id: svn://10.0.0.236/trunk@187086 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-06 20:49:19 +00:00
darin%meer.net
c0e834f3c6 fixes bug 318193 "Input streams are not implemented consistently" r=biesi sr=bz
git-svn-id: svn://10.0.0.236/trunk@186805 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-02 02:30:32 +00:00
cvshook%sicking.cc
cf43ff4e7d Bug 284950: DeCOMTaminate nsIContent::GetAttrNameAt
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@186678 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-28 21:52:39 +00:00
cbiesinger%web.de
25ded6512e Bug 321504 Remove unneeded uses of nsIDocumentLoader
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@186591 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-26 16:45:59 +00:00
neil%parkwaycc.co.uk
748ac2bbf5 Abandon prototypes for failed overlays (fixes bug 320652) r=mrbkap sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@186523 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-23 10:48:34 +00:00
mrbkap%gmail.com
49b7485ea2 bug 319847: xul:persist doesn't really deal with namespaces; check that the argument is a valid NCName, though. r=bsmedberg sr=jst
git-svn-id: svn://10.0.0.236/trunk@186295 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-19 21:13:59 +00:00
dbaron%dbaron.org
0cd7b245f3 Call nsIParser::Terminate when NS_OpenURI fails so we don't leak on failed prototype loads. b=320211 r=mrbkap sr=jst
git-svn-id: svn://10.0.0.236/trunk@186096 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-15 01:04:27 +00:00
timeless%mozdev.org
bd8e6ea818 Bug 318276 Crash [ @ nsXULDocument::LoadOverlay ]
patch by jwalden+bmo@mit.edu r=jst sr=jst


git-svn-id: svn://10.0.0.236/trunk@185979 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-13 00:38:40 +00:00
brettw%gmail.com
6f8da34eb9 Bug 302050: inline spellchecking for textboxes backend. r=bryner sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@185706 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-05 18:07:33 +00:00
jst%mozilla.jstenback.com
b3caccffbd 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
git-svn-id: svn://10.0.0.236/trunk@185536 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-01 19:35:27 +00:00
mrbkap%gmail.com
1d00d9984d bug 317370: Remove the vestigial aRemoveEventListeners parameter to SetNewDocument. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@185476 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-30 23:41:49 +00:00
bzbarsky%mit.edu
cf434cba7f Remove content ids. Bug 166637, r=sicking, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@185376 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 16:47:18 +00:00
jst%mozilla.jstenback.com
895df6e6ca Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
timeless%mozdev.org
dae7b0629a Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185282 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 21:57:13 +00:00
bsmedberg%covad.net
0217e2f9a9 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
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
bzbarsky%mit.edu
d14d1f2475 Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst


git-svn-id: svn://10.0.0.236/trunk@183371 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 00:41:51 +00:00
cvshook%sicking.cc
b26f9f52fb Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@183185 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 11:25:24 +00:00
bzbarsky%mit.edu
53c329523d Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@183113 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 02:25:23 +00:00
mrbkap%gmail.com
f294b1a9b6 bug 313566: Add a couple of checks. r=jst sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@182944 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-25 01:34:16 +00:00
Olli.Pettay%helsinki.fi
ab7b558947 Bug 312743, DoneAddingChildren is not called for XTF Elements in XUL if the element doesn't have any child nodes. r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@182391 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 18:23:23 +00:00
peterv%propagandism.org
8c33ea74e1 Fix for bug 308328 (crash in [@ nsDocument::GetPrincipal] when closing browser). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@182242 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 09:07:29 +00:00
bzbarsky%mit.edu
a29f4399fa Don't try to duplicate the jsval typedef. Bug 312003, r+sr=brendan
git-svn-id: svn://10.0.0.236/trunk@182120 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-12 20:16:35 +00:00
cvshook%sicking.cc
103f17eb41 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


git-svn-id: svn://10.0.0.236/trunk@181785 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-07 20:20:52 +00:00
bzbarsky%mit.edu
64446ffbc2 Failure to open a channel in a stream loader should just make init() throw.
Bug 310319, r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@181229 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-29 22:00:26 +00:00
scott%scott-macgregor.org
534bfd0eec 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


git-svn-id: svn://10.0.0.236/trunk@181169 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-28 19:50:39 +00:00
bzbarsky%mit.edu
1517e962f4 Attempt to fix splitwindow focus stuff -- bug 305032. Issue found by mrbkap,
patch by me, r=mrbkap, sr=jst


git-svn-id: svn://10.0.0.236/trunk@181102 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-28 02:44:16 +00:00
peterv%propagandism.org
86ac4d2e8f Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@180911 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-24 18:43:15 +00:00
bzbarsky%mit.edu
ef85d0865f Make sure to root the function object we compile in
nsXBLPrototypeHandler::ExecuteHandler.  r=jst, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@180904 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-24 02:33:33 +00:00
bzbarsky%mit.edu
33eede8798 Pass a boolean indicating whether we've sent a ContentInserted or
ContentAppended notification to DoneAddingChildren.  Bug 309534, r=mrbkap,
sr=jst


git-svn-id: svn://10.0.0.236/trunk@180787 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-22 02:33:36 +00:00
bzbarsky%mit.edu
9b25d9f96b 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


git-svn-id: svn://10.0.0.236/trunk@180786 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-22 02:10:07 +00:00
Olli.Pettay%helsinki.fi
f0110ebc1d Bug 202764, nsXULDocument::HandleDOMEvent can go away. r=jst, sr=bz
git-svn-id: svn://10.0.0.236/trunk@180115 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-13 16:18:23 +00:00
bzbarsky%mit.edu
dfe3e9b0bc 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


git-svn-id: svn://10.0.0.236/trunk@180035 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-12 18:41:15 +00:00
peterv%propagandism.org
b64b04886f Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@179982 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 10:08:43 +00:00