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

360 Коммитов

Автор SHA1 Сообщение Дата
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
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 f9aa023719 Fix regressions of 'overflow: hidden' on various table display types. b=221140 r=bernd sr=roc a=asa 2003-12-12 23:00:54 +00:00
uid502 d81619b4fa Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
bmlk%gmx.de 9c62c67b67 overflow area implementation for table frames, bug 173277 r=jkeiser sr=dbaron 2003-09-13 16:26:30 +00:00
roc+%cs.cmu.edu 08a4a0dd2a Ongoing deCOMtamination. r+sr=dbaron 2003-07-07 02:01:29 +00:00
dbaron%dbaron.org 4afcaa0e69 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc 2003-06-19 23:44:01 +00:00
bmlk%gmx.de d9ced339df Initialize only table related frames, that should be more safe, bug 207145 r=jkeiser sr=kin 2003-06-07 08:48:24 +00:00
jkeiser%netscape.com b7edff8612 Fix crash on split colspan frames (Bug 194330), r=karnaze@netscape.com, sr=kin@netscape.com 2003-06-06 03:22:01 +00:00
kin%netscape.com 0cfd50ccf4 Fix for bug 193257 (AIM Today page renders incorrectly)
Modified AppendFrames() and InsertFrames() to call SetNeedStrategyBalance(PR_TRUE) when the table isn't auto height. This forces any previously reflowed rows, who were adjusted to take up all of the table's height, to recalculate their height during the dirty reflow that gets generated, so all rows get resized properly.

r=bernd_mozilla@gmx.de  sr=dbaron@dbaron.org
2003-06-05 17:44:28 +00:00
dbaron%dbaron.org 75ff60c62f Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:42:21 +00:00
bmlk%gmx.de 00f2ea1ad8 build warning fix bug 198738 r/sr=bzbarsky 2003-04-05 15:36:31 +00:00
dbaron%dbaron.org 6dd68f3c64 Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
bryner%netscape.com e43f5a49fd Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
bernd.mielke%snafu.de 918c00dbae the cursor should move at positions where the cellmap has holes, bug 193405 r=jkeiser sr/a=dbaron 2003-02-17 06:17:09 +00:00
bernd.mielke%snafu.de e8ee31f282 improved carret navigation in tables containing rowspans, bug 187060 r=karnaze sr=sfraser 2003-01-18 14:05:50 +00:00
dbaron%dbaron.org 57124d8115 Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky 2003-01-09 14:26:32 +00:00
bernd.mielke%snafu.de 206c7acdf6 cleanup of unsigned int arithmethic + callqueryinterface, initial patch by tenthumbs@cybernex.net bug 157153 r=karnaze sr=roc+moz 2002-12-13 15:21:38 +00:00
karnaze%netscape.com e802c4dc50 bug 176030 - Make Destroy fix up prev/next-in-flow pointers. a=roc, sr=bzbarsky, r=bernd. 2002-10-30 15:33:36 +00:00
karnaze%netscape.com 1a767b2826 bug 165772 - rewrite of SplitSpanningCells and most of SplitRowGroup to better handle splitting of rowspan cells. sr=kin, r=alexsavulov 2002-10-03 14:33:23 +00:00
karnaze%netscape.com 88f6934f88 bug 151956 - make sure child of row group is a row in CalcRowHeights. sr=kin, r=bernd. 2002-06-19 13:37:18 +00:00
karnaze%netscape.com ab674e6d21 bug 148338 - fixed optimization in nsTableRowGroupFrame::CalculateRowHeights to only process the newly added rows. sr=waterson, r=bernd 2002-06-14 14:17:01 +00:00
karnaze%netscape.com 1faf4c0592 bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov. 2002-05-28 22:50:43 +00:00
jst%netscape.com 1075a3f80d Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com 2002-05-23 00:00:34 +00:00
waterson%netscape.com e3554c37cc Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi 2002-05-10 18:22:41 +00:00
joki%netscape.com af9379992c Fix for 93111, Make table row and col frame invalid as direct targets of mouseevents. Mouseevents on table should hit cells or the table itself instead. r:dbaron, sr:jst 2002-04-14 21:52:52 +00:00
karnaze%netscape.com 253add7dbb bug 125543 - Prevent row groups from splitting in the reflow preceeding a special height reflow. Cells are only notified that they should observe a percent height element if the element is inside the table's cell. Percent height elements inside the body will have a height based on the page height when printing. sr=kin, r=alexsavulov. 2002-04-10 21:32:41 +00:00
karnaze%netscape.com 9acf51392f bug 131020 - process special height reflow when initiator is the containing table. a=roc+moz, sr=attinasi, r=bernd. 2002-04-01 06:46:17 +00:00
karnaze%netscape.com 306b3b8eae bug 133756 - always return last height during special height reflow. a=roc+moz, sr=attinasi, r=alexsavulov 2002-03-31 17:44:57 +00:00
karnaze%netscape.com 5fd3b234da bug 123983 - set mIsTopOfPage in the reflow state, fix desired height in rows and row groups, clean up nsTableRowGroupFrame::SplitRowGroups and handle more cases of splitting/moving rows. a=roc+moz, sr=attinasi, r=alexsavulov 2002-03-27 05:50:24 +00:00
karnaze%netscape.com 773d422073 bug 24000 - implement page-break-before/after:always using new nsPageBreakFrame. Tables handle page breaks internally. a=asa, sr=attinasi, r=alexsavulov 2002-03-17 21:35:08 +00:00
karnaze%netscape.com a7ee794631 bug 126118 - remove code which tries to honor height of cell after it splits, get correct height on 3rd pass reflow. a=asa, sr=attinasi, r=alexsavulov. 2002-03-16 21:46:29 +00:00
karnaze%netscape.com 2017816095 bug 127040 - paint backgrounds in correct order when there are collapsed borders. sr=kin, r=dbaron, a=shaver 2002-02-26 00:27:42 +00:00
bernd.mielke%snafu.de 5701a854e8 patch by fantasai - removing standard table background painting as our old quirks mode background
painting is now more CSS2 compliant (the w3c published a errata) bug 4510
r=karnaze sr=attinasi a=roc+moz
2002-02-21 05:36:16 +00:00
karnaze%netscape.com 679c575202 bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov. 2002-02-19 15:48:28 +00:00
dcone%netscape.com f7e8a4bf6d b=96870 r=rods sr=attinasi Fixed printing so backgrounds can be turned on and off. 2002-02-15 14:48:12 +00:00
cathleen%netscape.com 740d95a0a9 eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan 2002-02-05 01:41:13 +00:00
dbaron%fas.harvard.edu c9c0a97163 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 2002-01-07 23:46:07 +00:00
bernd.mielke%snafu.de c4b7c77d83 bug 112010 fix build warnings r=karnaze sr=attinasi 2002-01-04 10:52:48 +00:00
waterson%netscape.com 854831c91c Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi. 2001-12-17 22:39:59 +00:00
bernd.mielke%snafu.de 98b8d75589 bug 106966 more table frames will now be able to clip the overflow r=karnaze sr=attinasi 2001-12-09 05:39:45 +00:00
karnaze%netscape.com 748ebbcd0d bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov 2001-12-07 14:51:12 +00:00
karnaze%netscape.com ba626a4171 bug 111028 - better height calc for table elements when printing. r=rods, sr=none. 2001-11-29 15:41:07 +00:00
karnaze%netscape.com f8af75e789 bug 102784 - only start a row on another page if it doesn't fit on the current one if there is less than 5% of the current page space left. sr=attinasi, r=bernd 2001-11-21 14:42:00 +00:00
karnaze%netscape.com cd1e7e0ae3 bug 110566 - get correct cell spacing value when calculating pct height basis on table. sr=attinasi, r=alexsavulov. 2001-11-20 01:21:18 +00:00
karnaze%netscape.com 81d680d3d7 bug 110523 - Get the correct starting row index when inserting a new row in a tbody that is not the first one. sr=atinasi, r=alexsavulov 2001-11-20 00:58:53 +00:00
karnaze%netscape.com 5550862ce8 bug 109043 - made percent tables without a computed height initiate a special 3rd pass reflow only when a table related frame up the chain has a fixed or percent height. Made row groups not allocate additional vertical space to percent rows in excess of the table height. sr=attinasi,r=alexsavulov 2001-11-14 13:44:38 +00:00
karnaze%netscape.com 436e1ac49e bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd 2001-11-14 13:40:03 +00:00
bernd.mielke%snafu.de e9fa6f71b3 style change reflows should be send down to the childrens, bug 108340, r=karnaze
sr=attinasi
2001-11-14 11:40:03 +00:00
bzbarsky%mit.edu f2ee8260a0 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
attinasi%netscape.com 94f3ab9a20 Elimiate calls to nsFrame::Invalidate when the dirtyRect is empty. Also, removed some invalid code from nsFrame::Invalidate and added DEBUG check to catch later offenders. b=103266 r=rbs sr=hyatt 2001-11-06 01:44:20 +00:00
karnaze%netscape.com 3aff0667ca additional patch for bug 97138 to cache pct height info on row and constrain sum of row height pcts <= 100. 2001-11-05 15:15:24 +00:00
karnaze%netscape.com 8d3c3ea8b9 bug 97138 - rework of table, row group, row, cell height code. sr=attinasi, r=alexsavulov 2001-11-05 00:15:51 +00:00
karnaze%netscape.com 128e7ac8d2 bug 105166 - split images (except for image contro frames), round pixels down for printing. sr=attinasi,kin r=alexsavulov 2001-11-01 15:31:13 +00:00
karnaze%netscape.com e38dff73f8 bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov 2001-10-29 01:43:59 +00:00
karnaze%netscape.com 7ca3efff70 bug 96343 - skip cellspacing logic when child is not a row. sr=attinasi, r=alexsavulov 2001-10-22 14:37:03 +00:00
bernd.mielke%snafu.de faafbd0e04 bug 103443 replace the return rv?rv:NS_ERROR_FAILURE; with a more correct version
r=dbaron sr=attinasi
2001-10-13 09:27:46 +00:00
gerv%gerv.net 4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
karnaze%netscape.com 66046cb3f7 bug 82401 - remove cell from correct parent when cell spans into split row; work around bug 101264 by doing initial reflow with unconstrained height. sr=kin, r=attinasi. 2001-09-24 14:48:38 +00:00
karnaze%netscape.com e908dd0313 bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov. 2001-09-19 12:35:19 +00:00
rjesup%wgate.com 3098b524ca bug 92573: VoidArray->AutoVoidArray changes for layout/*. r=kin, sr=attinasi 2001-09-06 21:11:44 +00:00
karnaze%netscape.com 847fd4dc83 bug 89315 - made CalculateRowHeights incremental by starting at a row other than the 1st. Row group dirty reflow passes in first reflowed row. sr=waterson,r=alexsavulov 2001-08-22 04:18:48 +00:00
karnaze%netscape.com b64e6aa6b6 bug 85738 - added 3rd pass reflow for tables in pagination mode which specified heights. sr=attinasi, r=savulov 2001-08-08 01:13:35 +00:00
karnaze%netscape.com 7812f3128c bug 89452 - added flag to indicate a row was inserted. Invalidate the area from that row to end of table if full reflow is not needed, sr=attinasi, r=alexsavulov. 2001-08-06 14:48:09 +00:00
karnaze%netscape.com c192b01c18 bug 82946 - changed CalculateRowHeights to use correct y origin. sr=attinasi, r=alexsavulov 2001-08-06 14:26:36 +00:00
attinasi%netscape.com 0db13043db Fixed crash due to blind-cast of frame to rowFrame by checking the frame type first. r=karnaze sr=waterson b=88849 2001-07-17 20:27:01 +00:00
hyatt%netscape.com b135c5b55a Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
karnaze%netscape.com 2f821884d3 bug 55202 - honor height of cell, sr=attinasi, r=bernd.mielke@snafu.de 2001-05-14 14:28:00 +00:00
karnaze%netscape.com fc4332dbf8 bug 66804 - return correct desired height when splitting row group. sr=waterson, r=bernd.mielke@snafu.de. 2001-04-17 14:39:54 +00:00
karnaze%netscape.com eebb386227 fix build bustage. 2001-04-16 15:53:23 +00:00
karnaze%netscape.com ce8ef82ad1 bug 59280 - better splitting of row groups/rows with rowspans. r=dcone. 2001-04-16 14:51:52 +00:00
rods%netscape.com be33a15835 Implements Print FrameAsIs and other frame printing options
Bug 7201 r=dcone sr=attinasi
2001-04-12 13:04:29 +00:00
karnaze%netscape.com 1642ac06f0 bug 61663 - repeat headers and footers on more than 2 pages. sr=attinasi, r=bernd.mielke@snafu.de. 2001-04-09 14:21:24 +00:00
karnaze%netscape.com 036af5b01b bug 57467 - print a new row on the current page if it will waste too much space otherwise. sr=attinasi. 2001-04-02 03:21:58 +00:00
karnaze%netscape.com 3b6bf0f78a bug 32794 -always set aStatus. sr=attinasi. 2001-03-28 21:26:58 +00:00
karnaze%netscape.com cda057884b bug 73321 - fix regression caused by the cleanup bug 70989. 2001-03-26 05:16:32 +00:00
timeless%mac.com e76ccfd647 fix Bug 70989 Clean up lots of "shadows" and other common warnings
r=peterv, jst, ducarroz, edburns. sr=jst, shaver
2001-03-21 05:32:22 +00:00
karnaze%netscape.com a81a269978 table reflow coalescing, table reflow face lift. sr=attinasi 2001-03-13 06:38:59 +00:00
erik%netscape.com 9942064481 bug 71354; author=simon@softel.co.il; r=karnaze; sr=attinasi; changes for
table related files from IBM bidi project
2001-03-12 22:25:55 +00:00
rbs%maths.uq.edu.au da17b2181d Avoid ignorable whitespace in tables by setting the frame state-bit to this effect - bug 68411 r=karnaze sr=waterson 2001-02-23 12:35:34 +00:00
pierre%netscape.com 9af01acf22 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. 2001-02-07 09:57:26 +00:00
rods%netscape.com 99666eed8c This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson
2001-01-27 14:09:34 +00:00
karnaze%netscape.com deaf6f4d1d bug 62502 - null pointer check. sr=waterson, r=karnaze. 2001-01-26 23:40:36 +00:00
karnaze%netscape.com 623b6521ad better table reflow debugging including support for elapsed time. sr=buster. 2001-01-25 15:55:51 +00:00
mcafee%netscape.com 7ecf530933 Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil 2001-01-25 02:58:12 +00:00
pierre%netscape.com 62bf433a35 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster. 2001-01-20 22:46:54 +00:00
karnaze%netscape.com bdd0ecd223 bug 57378 (table portion) - don't repeat a thead or tfoot that is larger than 25% of the page. a=buster, r=attinasi. 2000-11-15 22:26:35 +00:00
karnaze%netscape.com 70de9ae700 bug 52598 - during an incremental reflow, base the height of the row group on the last row instead of the last child. r=peterl. 2000-09-15 06:11:29 +00:00
karnaze%netscape.com b5a6f2a36c bug 30418, 47252 - order row groups before performing most operations. r=attinasi. 2000-09-14 06:49:47 +00:00
rbs%maths.uq.edu.au fc667ea4ee Enable the code to support for 'vertical-align: baseline' in table-cells. bug 10207. a:waterson@mozilla.org. was r:karnaze@netscape.com. 2000-07-28 09:19:26 +00:00
anthonyd%netscape.com 2ba178903c warning fixes for linux. r: mjudge a: beppe 2000-06-16 22:28:10 +00:00
anthonyd%netscape.com 72e45aa8b5 warning fix for Linux, shadowed local variable
r: kin
2000-06-08 02:51:58 +00:00
rbs%maths.uq.edu.au f522c03515 [#ifdef MOZ_MATHML: not yet part of default build]. Add support for 'vertical-align: baseline' in table-cells. bug 10207. r:karnaze@netscape.com. a:waterson@mozilla.org 2000-06-05 08:25:11 +00:00
karnaze%netscape.com 7aea563c64 nsbeta2+ bug 39885 - invalidate minimal areas. optimize reflows when cells don't change size. r=attinasi 2000-05-25 22:40:21 +00:00
anthonyd%netscape.com 7ab436fd88 avoiding confusion between line iterator between layout and navigation.
if you want a line iterator for navigation you must explicitly ask for one.
2000-05-16 08:11:14 +00:00
anthonyd%netscape.com 8bbcc675f6 more changes to make table navigation in editor
work correctly and not crash.
2000-05-14 00:10:25 +00:00
mjudge%netscape.com c63528bad2 fixing crash when overflowing tables 2000-05-13 09:02:27 +00:00
jdunn%netscape.com 22ff9ad20b adding newline for hp 2000-05-11 14:56:29 +00:00
anthonyd%netscape.com e8ceb8ee1b r:mjudge
fix for bug# 29785, keyboard navigation of tables in editor
not completely fixed, tables with row|column span do not navigate correctly
2000-05-11 01:04:39 +00:00
karnaze%netscape.com 2005083629 bug 29459 - strategy's table min and max width is calculated to include
percent and proportional cells. Stopped caching it. Calculate max element size better.
2000-05-10 00:54:00 +00:00