185 Commits

Author SHA1 Message Date
rods%netscape.com
cdc9d9dd89 Change getters of widgets to nsCOMPtrs to get rid of leaks.
Bug 129933 r=dcone sr=attinasi a=roc


git-svn-id: svn://10.0.0.236/trunk@116394 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 14:16:57 +00:00
bernd.mielke%snafu.de
610f6ff57d bug 118980 add some debug code to xul frames to be prepared when xbl controls
break table reflow r=karnaze sr=attinasi a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115683 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 19:53:56 +00:00
jaggernaut%netscape.com
4d91459de3 Get rid of assertion at startup. This block shouldn't have been moved by my checkin for bug 959.
git-svn-id: svn://10.0.0.236/trunk@115158 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 17:57:25 +00:00
jaggernaut%netscape.com
b202b509c0 Bug 959: add support for accesskeys to XUL. r=hewitt, r=attinasi for changes to layout/html, sr=hyatt, a=asa
git-svn-id: svn://10.0.0.236/trunk@115151 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 13:39:39 +00:00
bryner%netscape.com
f16c8107c5 Bug 124963 - Table becomes excessively wide with XBL checkboxes. r=jag, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@114447 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 00:08:08 +00:00
kin%netscape.com
9d69384546 Fix for bug 83650 (textarea control has problems with caret positioning at end)
and bug 97207 (textarea pastes sometimes misplaced by failing to reposition).

  - Added new utility method GetOriginToViewOffset().

  - Modified nsPresShell::HandleEvent(), nsBoxFrame::GetFrameForPoint(),
    and nsContainerFrame::GetFrameForPointUsing() to factor in the
    offset from GetOriginToViewOffset() to insure that the point
    used is always transformed into the correct coordinate system.

Files modified:

    mozilla/layout/base/public/nsIFrame.h
    mozilla/layout/html/base/src/nsContainerFrame.cpp
    mozilla/layout/html/base/src/nsFrame.cpp
    mozilla/layout/html/base/src/nsFrame.h
    mozilla/layout/html/base/src/nsPresShell.cpp
    mozilla/layout/xul/base/src/nsBoxFrame.cpp

r=kmcclusk@netscape.com  sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@113914 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 22:39:15 +00:00
rods%netscape.com
ccd0e3e698 Fixes the problem where PrintPreview is getting multiple Initial reflows
and includes a minor optimization when resizing the view during box layout
Bug 118968 r=attinasi sr=hyatt a=brendan


git-svn-id: svn://10.0.0.236/trunk@112569 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-23 02:53:02 +00:00
dbaron%fas.harvard.edu
45b310844b Make sure backgrounds are painted correctly by using the correct background to set up information on the view. b=119462 r=pierre sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@112071 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 15:00:30 +00:00
brade%netscape.com
509eb97f42 remove unused statickCChildCID saving 16 bytes (bug 117927; rs=glazou)
git-svn-id: svn://10.0.0.236/trunk@111702 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 15:46:09 +00:00
hyatt%netscape.com
b80c821e21 Fix for 115767, dropdown list support for WinXP, r=hixie, sr=blake
git-svn-id: svn://10.0.0.236/trunk@111517 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 00:43:20 +00:00
dbaron%fas.harvard.edu
b7194a0ea8 Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@111511 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:46:07 +00:00
hyatt%netscape.com
f9a19ba7cd Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@110648 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:51:39 +00:00
waterson%netscape.com
b6978c3e09 Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@110644 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:39:59 +00:00
karnaze%netscape.com
d8577654db bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@110006 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 14:51:12 +00:00
evaughan%netscape.com
e5c8b10723 Facelift for nsBoxToBlockAdaptor -r hyatt -sr waterson #110328
Grid memory leak -r naving -sr hewitt #109490


git-svn-id: svn://10.0.0.236/trunk@109575 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 23:41:13 +00:00
bryner%netscape.com
38d080e8ca Removing old grid code (bug 113082). r=timeless, evaughan, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@109471 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 00:10:21 +00:00
roc+%cs.cmu.edu
35e1d479ea Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi
git-svn-id: svn://10.0.0.236/trunk@109458 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 14:31:45 +00:00
roc+%cs.cmu.edu
fce7355cf6 My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out.
git-svn-id: svn://10.0.0.236/trunk@108850 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu
5d13b4f0c5 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@108796 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 05:26:32 +00:00
bzbarsky%mit.edu
068756d821 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
blakeross%telocity.com
83c5b8a557 107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
git-svn-id: svn://10.0.0.236/trunk@107205 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 04:17:02 +00:00
evaughan%netscape.com
c2d47043e1 Fix for bug # 104225
-r bryner -sr attinasi


git-svn-id: svn://10.0.0.236/trunk@105241 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 01:33:41 +00:00
evaughan%netscape.com
6469651621 1) Fixes box parent point bug
2) Exposes code to allow new grid landing

bug# 77357
-r hyatt -sr waterson


git-svn-id: svn://10.0.0.236/trunk@104939 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 21:02:29 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
hewitt%netscape.com
f15e8fc2e2 93519 - new box-ordinal-group xul layout feature, r=waterson, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@103733 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:17:00 +00:00
karnaze%netscape.com
1540a4c12e bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@103193 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 12:35:19 +00:00
hyatt%netscape.com
57db03f42a Fix for 99476, setting the pack attribute on boxes should cause a reflow. r=bryner, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@103169 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 01:56:03 +00:00
jaggernaut%netscape.com
5415c5da69 Bug 99876: [XUL Syntax] <spring/> --> <spacer/>, r=alecf, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@103111 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 21:47:32 +00:00
waterson%netscape.com
3c7ac0611c Bug 99538. Improve debug output for XUL frames. r=evaughan, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@102962 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-15 00:45:54 +00:00
hyatt%netscape.com
459bc5fe31 Fix for 93180. r-jag, sr=jst
git-svn-id: svn://10.0.0.236/trunk@102360 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 01:07:40 +00:00
hyatt%netscape.com
4f51638ef4 Fix for 95475. r=jag, sr=ben, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@101788 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-25 02:01:08 +00:00
bryner%netscape.com
7da361b479 Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@101283 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 08:14:14 +00:00
hyatt%netscape.com
7946a68c5d Missed something in 95337.
git-svn-id: svn://10.0.0.236/trunk@101086 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-15 06:06:54 +00:00
hyatt%netscape.com
b79e3d903d Fix for 93177, r/sr=pavlov,ben
git-svn-id: svn://10.0.0.236/trunk@101074 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-15 04:24:37 +00:00
hyatt%netscape.com
2c535c6868 Fix for 93177, r/sr=pavlov,ben
git-svn-id: svn://10.0.0.236/trunk@101071 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-15 04:09:41 +00:00
timeless%mac.com
764df43abf Fix Bugzilla Bug 89999 [XUL Syntax] Remove support for align="vertical" in <box> and <window>
by andersma@luther.edu r=timeless sr=hyatt
and there was much rejoicing!
for and then there were none


git-svn-id: svn://10.0.0.236/trunk@100565 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-08 05:55:24 +00:00
hewitt%netscape.com
64041e826c 93193 - cleaning up after align/pack xul box model changes, r=blake, sr=hyatt, 90741 - replacing box with hbox/vbox (from andersma@luther.edu), r=hewitt, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@100349 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-04 06:21:59 +00:00
hyatt%netscape.com
d5f1d5af70 Fix for 71471. r=blake, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@100159 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-02 00:09:27 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
hyatt%netscape.com
b7b1cb3691 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
roc+%cs.cmu.edu
4404d25a96 Fix for bug 77507. Set default background color correctly. Warn if it isn't set correctly. r=waterson,sr=attinasi,a=blizzard
git-svn-id: svn://10.0.0.236/trunk@95913 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 15:00:51 +00:00
bstell%netscape.com
45f41afd3b fix debug printf, rs=bstell
git-svn-id: svn://10.0.0.236/trunk@95781 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 03:23:31 +00:00
hyatt%netscape.com
c51a96b825 Fix for 77002. reviewers=jst,waterson,hixie,shaver,brendan,pavlov
git-svn-id: svn://10.0.0.236/trunk@93083 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-25 19:52:49 +00:00
roc+%cs.cmu.edu
a841bac02b Add API to view manager to get/set default background color (used when refresh disabled and possibly useful for other things). Have Docshell preserve background color across page loads. Make root frames set background color. Fix for bug 75591. r=waterson,sr=attinasi,a=blizzard
git-svn-id: svn://10.0.0.236/trunk@92978 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 01:01:16 +00:00
timeless%mac.com
534247895d fix Bug 70989 Clean up lots of "shadows" and other common warnings
r=peterv, jst, ducarroz, edburns. sr=jst, shaver


git-svn-id: svn://10.0.0.236/trunk@89986 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 05:32:22 +00:00
hyatt%netscape.com
11b2e924f2 Outliner files are not part of build.
The other files are a fix for bug #70809.  r=attinasi, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@88614 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 02:27:50 +00:00
pierre%netscape.com
8944a57fe0 Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster.
git-svn-id: svn://10.0.0.236/trunk@86533 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 09:57:26 +00:00
mcafee%netscape.com
644a6ffc68 Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
git-svn-id: svn://10.0.0.236/trunk@85463 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 02:58:12 +00:00
pierre%netscape.com
148e913722 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
git-svn-id: svn://10.0.0.236/trunk@85210 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 22:46:54 +00:00
bryner%uiuc.edu
131ae68e12 Removing dead nsISelfScrollingFrame interface. sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@84792 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 07:32:48 +00:00