Commit Graph

2255 Commits

Author SHA1 Message Date
attinasi%netscape.com
7444a69463 backout of accidental checkin...
git-svn-id: svn://10.0.0.236/trunk@60331 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 20:21:29 +00:00
attinasi%netscape.com
5a392aceea Backing out the change I accidentally checked in.
git-svn-id: svn://10.0.0.236/trunk@60330 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 19:47:36 +00:00
attinasi%netscape.com
e10cb148c5 PaintBorder and RenderSide now tell the StyleUtil function FindNonTransparentBackground to use the parent of the context to find the bgcolor in Quirks mode. r=karnaze b=8524
git-svn-id: svn://10.0.0.236/trunk@60329 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 19:22:00 +00:00
attinasi%netscape.com
b837f85366 Support for enabling / Disabling the timer. r=pierre b=25406
git-svn-id: svn://10.0.0.236/trunk@60328 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 19:21:55 +00:00
mjudge%netscape.com
bbbd081d63 adding remove range for table selection and for completeness. 26460 r=cmanske
git-svn-id: svn://10.0.0.236/trunk@60315 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 09:17:02 +00:00
nisheeth%netscape.com
1ece5d5eba r=vidur. Fix for bug . We now revoke pending reflow events in the pres shell's destructor.
git-svn-id: svn://10.0.0.236/trunk@60301 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 07:27:43 +00:00
mjudge%netscape.com
8359e395da this was preliminary checkin for later feature. removing offensive line of code for linux. adding back the way it was. I will continue to add this content however but it will be released when not used by nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@60286 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 05:20:55 +00:00
mjudge%netscape.com
44c8697114 big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened.
git-svn-id: svn://10.0.0.236/trunk@60278 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 04:35:51 +00:00
evaughan%netscape.com
a268db39c4 1) implememted box reflow coelescing.
2) implemented gfx scrollbars for list boxes
3) fixed progess meter to be an animated gif
4) fixed bugs 23521, 24721, 19114, 20546, 24385, 24457, 23156, 20226, 22543

-r hyatt, troy, rod


git-svn-id: svn://10.0.0.236/trunk@60253 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 22:02:40 +00:00
kmcclusk%netscape.com
31beeacc3d Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com


git-svn-id: svn://10.0.0.236/trunk@60242 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 15:48:01 +00:00
jst%citec.fi
57a7c3b745 Make context menus work on XML pages (#15713). r=vidur@netscape.com,joki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@60235 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 13:58:26 +00:00
tbogard%aol.net
1f77bfa59f SizeToContent now works properly within the new DocShell API world. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@60140 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 15:49:14 +00:00
rods%netscape.com
96b46b4db4 fixes memory leak.
b 26795 r=beard


git-svn-id: svn://10.0.0.236/trunk@60128 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 13:17:50 +00:00
joki%netscape.com
bcf5da502c Adding getPreventDefault method to events and fixing its propagation through content. r:hyatt
git-svn-id: svn://10.0.0.236/trunk@60037 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 02:05:57 +00:00
vidur%netscape.com
f2c41d8947 Optimize the case for container content with only a single child (the most common case). Now we only allocate a nsVoidArray if there's more than one child. r=troy
git-svn-id: svn://10.0.0.236/trunk@60016 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 01:12:59 +00:00
rbs%maths.uq.edu.au
c9e8733180 [#ifdef MATHML]. Hook for the <maction> tag
git-svn-id: svn://10.0.0.236/trunk@59987 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 08:55:51 +00:00
pavlov%netscape.com
4cb8ea7533 aww, I fixed my favorite bug. The "interesting" toolbar contest is now over. (bug 20496) r=mcafee,large_penguin
git-svn-id: svn://10.0.0.236/trunk@59806 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 23:14:38 +00:00
karnaze%netscape.com
9db5f41f22 bug 23994 get the correct child list for a caption frame, r=attinasi
git-svn-id: svn://10.0.0.236/trunk@59727 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 03:16:47 +00:00
pavlov%netscape.com
d4589174f7 remove the non-needed push/pop states r=sfraser
git-svn-id: svn://10.0.0.236/trunk@59722 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 03:03:08 +00:00
dbaron%fas.harvard.edu
22c80ea3f0 Event Target Debugging (b=18175), a debugging feature to help with fixing bugs where events are going to the wrong elements. It shows (like Visual Debugging) which frame is receiving events, and one can therefore move the mouse over the page to see what frame gets events. All the code is #ifdef NS_DEBUG. However, it is not yet hooked up to the viewer menu (to be checked in later).
r=joki


git-svn-id: svn://10.0.0.236/trunk@59610 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 02:49:58 +00:00
troy%netscape.com
05e293d03e r=vidur@netscape.com Performance. Added NS_FRAME_HAS_VIEW frame state flag
so we can quickly tell whether the frame has an associated view


git-svn-id: svn://10.0.0.236/trunk@59586 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 00:51:37 +00:00
vidur%netscape.com
09a857de06 Fix for bug 24306. The DocumentViewer now cleans up dangling webshell references in the PresContext. nsGenericElement::TriggerLink deals with a nonexistent handler (it might have been deleted already as part of event processing). r=buster, joki
git-svn-id: svn://10.0.0.236/trunk@59566 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 23:40:22 +00:00
valeski%netscape.com
74da69ea18 r=norris. we now pass url creation failure's into the onclick handers
git-svn-id: svn://10.0.0.236/trunk@59556 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 23:02:59 +00:00
pp%ludusdesign.com
a2927ce43e Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot
git-svn-id: svn://10.0.0.236/trunk@59537 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:24:56 +00:00
nisheeth%netscape.com
cdc51db942 Enabling async reflow after the document has loaded.
git-svn-id: svn://10.0.0.236/trunk@59443 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 00:19:52 +00:00
waterson%netscape.com
a395b28551 Bugs 20677, 23905. Change nsXULElement to implement nsIContent like nsGenericElement and nsGenericHTMLElement. Specifically, do 'shallow' SetDocument() calls in AppendChildTo(), InsertChildAt() and ReplaceChildAt() methods. Change nsXULDocument to leave newly create element's mDocument as null (so 'null mDocument' means 'this element is not currently in the document'. Fix callers to ensure that a deep SetDocument() is made where necessary. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@59424 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 22:57:36 +00:00
dcone%netscape.com
0c5aa54a72 fixed backgrounds. r=rods
git-svn-id: svn://10.0.0.236/trunk@59399 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 16:03:13 +00:00
sfraser%netscape.com
ac3d745a73 Fix for 25952, don't crash when doing Open Location from composer window. nsPresState was using a null mProperties table. r=beard
git-svn-id: svn://10.0.0.236/trunk@59345 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 02:14:29 +00:00
sfraser%netscape.com
f5c799d682 Avoid crashing when mousing over links in teh composer window. r=brade
git-svn-id: svn://10.0.0.236/trunk@59318 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 00:00:17 +00:00
rods%netscape.com
e7a5a5632c removing the creation of native widget and replacing them with asserts (for now)
b 17027 r kmccluck


git-svn-id: svn://10.0.0.236/trunk@59290 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 22:46:55 +00:00
attinasi%netscape.com
ec346f0c5a Sorry - typo in change...
git-svn-id: svn://10.0.0.236/trunk@59249 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 14:26:25 +00:00
attinasi%netscape.com
7f83027391 Changed the setting of PrimaryFrame for elements wrapped in a GfxScrollFrame,
except for the DocElement which still has the primary frame set to the scrolledframe.
Fixed compiler warning around NS_NewFiedlSetFrame(...).
r=evaughan b=23803


git-svn-id: svn://10.0.0.236/trunk@59248 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 14:04:41 +00:00
rbs%maths.uq.edu.au
add951b804 [#ifdef MATHML]. Hook for the ms tag
git-svn-id: svn://10.0.0.236/trunk@59240 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-30 23:33:38 +00:00
scc%netscape.com
1679a8f4c7 |nsFrameIterator::QueryInterface| neglects to handle |nsIBidirectionalEnumerator| ... replacing hand-rolled QI with the macro to fix. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@59194 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 19:59:53 +00:00
vidur%netscape.com
df9d1ddacd Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann
git-svn-id: svn://10.0.0.236/trunk@59135 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 00:34:07 +00:00
vidur%netscape.com
825e97e024 Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann
git-svn-id: svn://10.0.0.236/trunk@59117 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:43:12 +00:00
sfraser%netscape.com
e3af49b9d0 Fix for crash loading bugzilla pages (infinite reflow recursion). by vidur, r=smfr, a=leaf
git-svn-id: svn://10.0.0.236/trunk@59094 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 22:58:17 +00:00
rods%netscape.com
4161da0c7d when an option contained a comment node and and an attr was unset case a
WipeContainingBlock to be called. This was because the undisplayed node had a psuedo
style that wasn't being properly reolved to this code thought the comment was now visible
instead of being hidden.
b=none r=pierre,attinasi


git-svn-id: svn://10.0.0.236/trunk@59070 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 15:03:00 +00:00
warren%netscape.com
94953b11eb Fix to propagate failure from MakeAbsolute to DOM event handler. r=vidur,joki
git-svn-id: svn://10.0.0.236/trunk@59032 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 06:55:27 +00:00
karnaze%netscape.com
e8ff8bb21f bug 24037 r=attinasi; nsOuterTableFrame handles bad incremental reflow by using the height of its rect.
bug 23235 r=attinasi; nsTableRowFrame requests max element size when reflowing cell for the 1st time.
bug 24410 r=attinasi; nsTableCellFrame reflow always checks width and height and updates the content empty flag.
bug 3305 r=troy,hyatt; table frame constructor cleanup, put caption in its own child list.


git-svn-id: svn://10.0.0.236/trunk@58996 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 02:19:45 +00:00
nisheeth%netscape.com
56e559d918 Fix for bug 10818. r=troy. Add reflow batching APIs to the pres shell.
git-svn-id: svn://10.0.0.236/trunk@58975 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 00:48:02 +00:00
kin%netscape.com
8a522282c9 Fix for bug #25259: [Regression]Cannot enter text in Composer
Backed out attinasi@netscape.com's changes from revision 1.337.
a=leaf@netscape.com


git-svn-id: svn://10.0.0.236/trunk@58954 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 20:21:28 +00:00
rbs%maths.uq.edu.au
0f390929ca [#ifdef MATHML]. Hook for the mspace tag
git-svn-id: svn://10.0.0.236/trunk@58933 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 12:28:41 +00:00
vidur%netscape.com
b0d8cb960b Fixed bug 16609. RemoveNamedItem now returns the correct error code if the attribute doesn't exist. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@58887 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 05:17:11 +00:00
vidur%netscape.com
b012506fc2 Fix for bugs 25082 and 25084. Range::SetStartBefore, etc. need to return an error for a null sibling. Range::createContextualFragment needed to allow for a null document. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@58875 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 02:51:51 +00:00
attinasi%netscape.com
7a42258bf9 Setting GfxScrollFrame as the PrimaryFrame for scrolled content instead of the ScrollPortFrame. Also fixed some spots that were not correctly getting at the scrolled frame from the PrimaryFrame. b=23803 r=evaughan
git-svn-id: svn://10.0.0.236/trunk@58865 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 02:19:12 +00:00
attinasi%netscape.com
aeffd0ea97 Minor reformatting and some comments added. b=none r=none
git-svn-id: svn://10.0.0.236/trunk@58864 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 02:17:04 +00:00
kmcclusk%netscape.com
5f7ac3effb Added support for widgetless viewmanager. Changed code pattern that assumed the root view
always has a nsIWidget instance to call viewmanager to get widget instance. b=22069; r=rods@netscape.com


git-svn-id: svn://10.0.0.236/trunk@58838 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 23:04:40 +00:00
harishd%netscape.com
6575e1e56b Fix for Bug 24738 - Restricting DOCTYPE to html document only.
r=pollmann


git-svn-id: svn://10.0.0.236/trunk@58836 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 22:57:18 +00:00
norris%netscape.com
0dd1063455 Fix 23227 Document object vulnerability
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@58789 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 15:33:57 +00:00