Commit Graph

2395 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
bc704c519e Fix regression bug 230620. r+sr=dbaron 2004-01-11 22:03:41 +00:00
bryner%brianryner.com
d33dc031f2 Revert nsAutoPtr usage here at least until we better understand the bloat. Bug 64116, sr=bzbarsky. 2004-01-11 09:34:07 +00:00
roc+%cs.cmu.edu
9348803726 Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron 2004-01-10 05:36:32 +00:00
jst%mozilla.jstenback.com
120da6a130 Followup for the fix for bug 226522. Undo the part of the change that incorrectly made a bunch of methods in nsGenericHTMLElement virtual. r+sr=dbaron@dbaron.org 2004-01-10 04:42:06 +00:00
jst%mozilla.jstenback.com
c000ae86e8 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2004-01-09 23:54:21 +00:00
bryner%brianryner.com
9d69e4a727 Fix printing crash regression (bug 230516). r=bzbarsky, sr=dbaron 2004-01-09 22:54:09 +00:00
roc+%cs.cmu.edu
e7f165c614 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
bryner%brianryner.com
16be23821e Additional cleanup related to bug 64116. r=bzbarsky. 2004-01-08 19:23:12 +00:00
bzbarsky%mit.edu
0b28e29088 Add Content-Location header support. Bug 109553, r=jst, sr=darin 2004-01-08 04:04:16 +00:00
dbaron%dbaron.org
1480a770ab Fix backwards captions on print error dialogs (printing vs. print preview). b=230342 Patch from Isaac Hwak Han <isaachh@mailc.net>. r+sr=dbaron 2004-01-08 01:24:09 +00:00
bryner%brianryner.com
e65d2d2fe5 Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron. 2004-01-07 22:30:53 +00:00
caillon%returnzero.com
319d92fa7d Bug 226375
We were leaking nsIClassInfo objects because a DOM class info getter returned AddRef()ed raw pointers.  Most of our dom/ and content/ QueryInterface() implementations knew this and accounted for it, but not all. The leak fix is thus achieved by fixing the method to not call AddRef() on its return value, and fixing the appropriate QueryInterface() macros/implementations. As a bonus, this macro-izes many  QueryInterface() implementations in content/ which were fully written out.
r=peterv@propagandism.org
sr=alecf@flett.org
 CVS: ----------------------------------------------------------------------
2004-01-06 00:36:01 +00:00
bzbarsky%mit.edu
c238e33fe5 Make generic DOM datanodes implement GetBindingParent in a semi-useful way so
that event retargeting works (bug 97634, bug 183878).  Also remove some code
that's no longer needed now that we have retargeting.  r=bryner, sr=jst
2004-01-05 23:52:57 +00:00
bryner%brianryner.com
080ad777b6 Continuing nsIPresContext deCOMtamination. This patch changes Get/SetImageAnimationMode. Bug 229371, r+sr=bzbarsky. 2003-12-26 04:24:11 +00:00
bryner%brianryner.com
d572bc76cf deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky. 2003-12-24 21:51:50 +00:00
hpradhan%hotpop.com
40d0360227 backing out last two checkins since they had no effect on Tp 2003-12-24 13:43:25 +00:00
hpradhan%hotpop.com
7384e4cf47 bug 229163 : One more attempt to try and fix perf regression r=sicking sr=jst 2003-12-24 11:03:19 +00:00
hpradhan%hotpop.com
e77142b163 bug 229163 : Going back to using an nsISupportsArray
to try and fix perf regression r=sicking sr=jst
2003-12-24 07:45:06 +00:00
peter%propagandism.org
166c671ee0 Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2003-12-23 15:41:10 +00:00
bsmedberg%covad.net
0c471686e7 bug 219233 - Unfork nsIChromeRegistry.idl (not the impl, just the interface) and move it into content/base/public until we can get a more fine-grained separation of that interface in to GRE/non-GRE pieces. r/sr=hyatt+jst
I couldn't do a CVS move of nsIChromeRegistry.idl, sorry... it was added on a branch earlier. The old CVS log/blame can be found at mozilla/rdf/chrome/public/nsIChromeRegistry.idl
2003-12-22 05:23:10 +00:00
bryner%brianryner.com
dfe3513814 Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky. 2003-12-21 05:36:36 +00:00
dbaron%dbaron.org
5803e6024c Fix problems when using generic font when the parent font is not generic but the closest ancestor with a generic font used the same generic. Miscellaneous cleanup. b=226871 r+sr=bzbarsky a=brendan 2003-12-02 22:24:32 +00:00
dbaron%dbaron.org
a012b34247 Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa 2003-11-24 19:46:25 +00:00
jst%mozilla.jstenback.com
4183787fa9 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com. 2003-11-19 01:20:56 +00:00
dbaron%dbaron.org
fa64c454c5 Scale fixed line-heights when the minimum font size pref kicks in. b=158868 r+sr=bzbarsky 2003-11-18 05:53:22 +00:00
bzbarsky%mit.edu
bfd6b88a89 Convert URL stuff in XBL to use nsIURI instead of strings. Bug 224765, r+sr=bryner 2003-11-17 21:03:32 +00:00
dbaron%dbaron.org
0851395ebe Remove unneeded chromeOverride variable. b=225936 r+sr=bzbarsky 2003-11-17 04:10:55 +00:00
bzbarsky%mit.edu
852fbd43f7 Be a little smarter about handling the mess that is broken images. Only look
for a frame if we've had a frame at some point in the past; this should keep us
from calling GetPrimaryFrameFor quite so much during pageload.  Bug 225848,
r+sr=jst
2003-11-16 07:34:25 +00:00
bryner%brianryner.com
74ca0ad36b No need to keep an owning reference to an element's NodeInfo if we already have an owning reference to the element. Bug 225825, r=bz, sr=jst. 2003-11-15 21:29:07 +00:00
bryner%brianryner.com
b556210cb0 Fixing orange (hopefully). Don't dereference a pointer in the same call where it's passed as getter_AddRefs, because that will null it out first. For now, I'm keeping a strong reference to the node info manager at these call sites since it's not clear to me that it's guaranteed to stay around after the NodeInfo is released. 2003-11-15 08:16:23 +00:00
bryner%brianryner.com
823f2f2aa7 deCOMtaminate nsINodeInfo and nsINodeInfoManager. See bug 225060 for details. r=sicking, sr=jst. 2003-11-15 05:27:37 +00:00
caillon%returnzero.com
9f20544ef1 Bug 225411; updating DOM 3 Core's Document.xml*
r+sr=jst
2003-11-14 11:10:11 +00:00
jst%mozilla.jstenback.com
dc9e270b8d Silly whitespace cleanup. 2003-11-13 04:15:25 +00:00
jshin%mailaps.org
dc195dfd03 bug 222346 : streamline JS script loading code (deleegate charset alias resolution to GetUnicodeDecoder()) (r=smontagu, sr=bz) 2003-11-12 19:51:12 +00:00
hpradhan%hotpop.com
6fe196e1f5 bug 223108 : Syntax error when loading non-existant external javascript file
r+sr=bzbarsky
2003-11-10 05:53:48 +00:00
bzbarsky%mit.edu
293e392517 document.config has become document.domConfig to prevent backwards-compat
issues.  Bug 222733, r+sr=jst
2003-11-08 19:30:30 +00:00
sicking%bigfoot.com
7208475e1f Bug 224856: Fix nsGenericDOMDataNode::AppendTextTo by not relying on mText.Get1b() being nullterminated
r=peterv sr=jst
2003-11-07 16:46:15 +00:00
bryner%brianryner.com
1c6ea034f7 Attempting to fix Windows bustage 2003-11-07 10:16:36 +00:00
bryner%brianryner.com
78bc7f6016 Inline nsIContent::GetParent() and GetDocument(). Also, remove unused return value on SetParent(). Bug 224331, r=sicking, sr=jst. 2003-11-07 09:47:23 +00:00
bryner%brianryner.com
78f1cb532a Speed up mapping HTML tag enums to atoms by using an array of static atoms, indexed by enum value. This avoids a UTF16 to UTF8 conversion and atom table lookup for each tag. Add a CString version of nsINodeInfoManager::GetNodeInfo(), convert literal string callers to use that version, and remove some unused variants of GetNodeInfo(). Bug 223595, r=axel@pike.org, sr=jst. 2003-11-05 05:17:07 +00:00
bzbarsky%mit.edu
0fc82ad629 Refactor child element handling such that we don't duplicate event-firing code
all over (now we just do it in nsGenericElement and nsXULElement).  Bug 223349,
r=sicking, sr=peterv
2003-11-04 02:15:28 +00:00
bzbarsky%mit.edu
5252fca867 Fix crash when frameset is wiped out before onload events on all subframes have
fired.  Bug 212563, r+sr=jst
2003-11-04 02:01:23 +00:00
timeless%mozdev.org
90d07db2d1 Bug 224018 unused variables gDumpFileNameCnt, gDumpLOFileNameCnt in nsDocumentViewer.cpp
r=jst sr=jst
2003-11-03 13:17:00 +00:00
dbaron%dbaron.org
c25969ae98 Clamp -moz-opacity to the range [0.0,1.0]. b=224478 r+sr=roc 2003-11-02 22:40:43 +00:00
peter%propagandism.org
37a61782f2 Restoring fix for bug 224231, didn't affect btek's Tp. 2003-11-02 15:16:24 +00:00
peter%propagandism.org
c782f4ee1c Back out a part of the fix for bug 224231 to see if it affects btek's Tp. 2003-11-02 13:51:42 +00:00
uid502
91e2869af8 Bug 212366. Make '-moz-opacity' behave like CSS3 opacity: it does not inherit by default, and it composites the element and all its children as a group. r+sr=dbaron 2003-11-01 22:34:59 +00:00
peter%propagandism.org
f9f591a28f Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron. 2003-11-01 10:57:41 +00:00
uid502
d81619b4fa Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
peter%propagandism.org
e9bdf0c636 Fix for bug 126765 (Change NormalizeAttrString to GetAttrWithName). Original fix by Daniel Bratell and sicking, r=sicking, sr=jst. 2003-10-30 13:47:29 +00:00