mats.palmgren@bredband.net
42a227c78a
Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst
2007-07-03 19:15:31 -07:00
sharparrow1@yahoo.com
b6d8dd200b
Bug 386142: fantasai's li'l Need More Comments bug. Patch by fantasai, r+sr=roc
2007-07-03 15:49:00 -07:00
bzbarsky@mit.edu
1b5f6b30b6
Change the FrameNeedsReflow API to pass the dirty flags to be added directly tothe method, instead of setting them before calling the method. That way we canavoid reflowing the ancestor of a reflow root which is not itself dirty but hasdirty children. This also makes it harder to set dirty bits inconsistentlywith the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' reviewon the mathml parts.
2007-05-06 12:16:51 -07:00
bzbarsky@mit.edu
eeaa1a101b
Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc.
2007-03-30 14:11:41 -07:00
dbaron%dbaron.org
cfef5cbbe5
Remove the remainder of the pixel rounding in the table code. b=371187 r=bernd sr=roc
2007-02-22 20:22:12 +00:00
bmlk%gmx.de
15f99a67ae
limit array access when a rowspan points to a already pushed row, bug 370360 r/sr=bzbarsky
2007-02-21 19:42:21 +00:00
sharparrow1%yahoo.com
d19f64369b
Bug 370185: clean up view header includes (trivial). rs=bzbarsky.
2007-02-12 19:17:33 +00:00
sharparrow1%yahoo.com
76a64e5c22
Bug 177805: Fix the use of units in Gecko. r+sr=roc
2007-02-07 07:46:44 +00:00
cvshook%sicking.cc
a39ff30284
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
2007-01-30 00:06:41 +00:00
dbaron%dbaron.org
d8805141a6
Remove nsTableFrame::GetBorderPadding and related code. b=367458 r=bernd sr=roc
2007-01-27 22:22:24 +00:00
dbaron%dbaron.org
f6245f0ed9
Change the bulk of ascent (baseline) computation to happen on a virtual method on nsIFrame, and remove the redundant descent member from nsHTMLReflowMetrics, primarily to support having both first-line and last-line baselines. b=367332 r+sr=roc
2007-01-23 04:06:56 +00:00
bmlk%gmx.de
97b5794242
Stronger band-aid to prevent table splitting inside columns bug 362275 r/sr=roc
2007-01-21 17:51:33 +00:00
timeless%mozdev.org
4e651390ef
Bug 355300 There should be only one nsGkAtoms creature
...
r=dbaron
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org
d5af630c22
Better API for used padding/border/margin: remove deprecated Calc*For on nsStyleStructs and add GetUsed* to nsIFrame. b=332922 r+sr=roc
2006-12-13 23:04:57 +00:00
dbaron%dbaron.org
79275357a7
Reflow all of the table structure (although not its descendants) when frame structure within the table is changed. b=363524 r=bernd sr=bzbarsky
2006-12-13 03:45:28 +00:00
dbaron%dbaron.org
31f1898810
Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
2006-12-08 05:38:33 +00:00
roc+%cs.cmu.edu
516ce211dd
Bug 241796. Fix comments and handle OOM in SetProperty. Followup to the real fix. r+sr=bzbarsky
2006-09-22 01:56:04 +00:00
bmlk%gmx.de
56f7eba7ce
mark for all reflows the rowgroup as incomplete if there are still nextinflows bug 347367 r/sr=roc
2006-09-21 09:55:07 +00:00
roc+%cs.cmu.edu
c5f6e4e0b1
Bug 241796. Use a row cursor to speed up painting and event handling in large tables, similar to what we do for large blocks already. r+sr=bzbarsky
2006-09-19 21:39:33 +00:00
mats.palmgren%bredband.net
02eaae11b6
Improve error handling in nsCSSFrameConstructor::CreateContinuingFrame() and its callers. b=337419 r+sr=roc
2006-08-22 01:33:46 +00:00
bmlk%gmx.de
d4f3eadccd
take special care when tfoot are manipulated and the cellmap changes rather drastical bug 343087 r/sr=bzbarsky
2006-08-04 19:15:50 +00:00
uriber%gmail.com
8c0e3dd5b7
Handle returning nulls from CheckLineOrder correctly. bug=345616 r=smotagu sr=roc
2006-08-04 05:40:57 +00:00
mats.palmgren%bredband.net
153ab238ca
Fix crash when recreating <caption> frames. Add ASSERTIONs to detect similar frame construction errors in the future. b=341382 r+sr=bzbarsky
2006-06-29 02:32:36 +00:00
roc+%cs.cmu.edu
6da332dd07
Bug 338770. Don't even start trying to split a rowgroup in columns mode. r=bernd,sr=bzbarsky
2006-06-06 22:45:14 +00:00
roc+%cs.cmu.edu
ee089f28b9
Bug 333481. Sort table-part event-handling display items to ensure that the table comes before all row-groups, which come before all rows, which come before all cells. r=bernd
2006-04-17 22:16:24 +00:00
roc+%cs.cmu.edu
a7f03736a9
Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
2006-04-10 00:16:29 +00:00
darin%meer.net
20837f71e1
fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
2006-03-30 18:40:56 +00:00
sharparrow1%yahoo.com
1e650e3784
Bug 331415: some printing code cleanup. r+sr=roc.
2006-03-30 00:27:42 +00:00
roc+%cs.cmu.edu
0a10a79f62
Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc
2006-03-26 21:30:36 +00:00
pavlov%pavlov.net
131e8794e2
backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
557b089a47
Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu
c2801ebbd7
Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell
2006-03-09 18:55:21 +00:00
bmlk%gmx.de
20b85ffac2
Make visibility:collapse work again after the display list change. Implement overflow handling and view synchronization for collapsed frames. bug 326551 r/sr=roc
2006-03-04 05:26:57 +00:00
uriber%gmail.com
c7032d59bb
Bug 299065: Bidi resolution needs to split inlines in addition to text frames. r+sr=dbaron
2006-02-21 21:33:47 +00:00
roc+%cs.cmu.edu
77bca74243
Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
2006-01-26 02:29:17 +00:00
bmlk%gmx.de
1bb0037d58
error in the patch for bug 307367, spotted by jag
2006-01-21 10:14:38 +00:00
bmlk%gmx.de
ef5d2c73ea
use scaledpixels to convert from CSS pixels to realword pixels bug=307367 r/sr=roc
2006-01-21 09:54:07 +00:00
timeless%mozdev.org
1c34e68034
Bug 106386 Correct misspellings in source code
...
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
bmlk%gmx.de
e7a8486231
limit search for real table cells to place where they can be expected, bug 313295 r/sr=bzbarsky
2005-11-04 18:41:32 +00:00
roc+%cs.cmu.edu
520b30a7f7
Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
2005-11-04 02:38:33 +00:00
mats.palmgren%bredband.net
9125d9fa0e
Return the frame count for the given line 'aLineNumber', not the line where we find the first frame. b=308052 r=bernd sr=bzbarsky
2005-10-17 00:03:05 +00:00
roc+%cs.cmu.edu
fed343c43a
Bug 108310. Make GetFrameForPoint take frame-relative coordinates, not bogus relative-to-some-view-or-other, and simplify the signature. r+sr=roc, patch by Eli Friedman.
2005-09-19 02:15:54 +00:00
timeless%mozdev.org
b4d01d069d
Bug 277553 clicking on Textarea with a RTL direction doesnt work
...
patch by uriber@gmail.com r=bz sr=bz a=bsmedberg
2005-08-02 21:55:55 +00:00
dbaron%dbaron.org
06ee318b44
Fix too-much-overflow regression by making border-collapse cells store the full width of the border rather than just the inside half of it. Also make BCPixelSize 16-bit instead of 8-bit and use it in more places, and a little other cleanup. b=286794 r=bernd sr=roc a=brendan
2005-04-07 18:04:38 +00:00
bmlk%gmx.de
dfa6f80fa5
build warnings (shadow + unused variables) bug 287097 r/sr=bzbarsky
2005-03-24 19:02:59 +00:00
bzbarsky%mit.edu
54d585f2af
Remove prescontext args for some nsIFrame methods
...
(Append/Insert/Remove/ReplaceFrames) and for some methods in table land. Patch
by Vidar Braut Haarr <bugmail@q1n.org>, r+sr=bzbarsky
2005-02-07 01:58:25 +00:00
mats.palmgren%bredband.net
92858c988e
Don't page-break before or after a repeated frame. b=278983 r+sr=bzbarsky
2005-02-05 04:23:52 +00:00
neil%parkwaycc.co.uk
74e2aa375a
Bug 276100 GetOriginToView has unused PresContext argument p=bugmail@q1n.org r+sr=dbaron
2005-01-01 17:26:29 +00:00
bmlk%gmx.de
ca3e9f85c3
remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron
2004-12-27 15:05:18 +00:00
bmlk%gmx.de
ce51183fce
Split row groups works only for paginated media bug 268231 r/sr=bzbarsky
2004-11-11 17:27:38 +00:00
aaronleventhal%moonset.net
9f011feb30
Part of bug 250269. Outline missing on some elements. r+sr=roc
2004-11-11 15:21:52 +00:00
bmlk%gmx.de
d833f65d56
mark previously destroyed row frame as nsnull so that the pointer will not be reused bug 263738 r/sr=bzbarsky
2004-10-13 05:49:39 +00:00
bryner%brianryner.com
5c02a6978c
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
aaronleventhal%moonset.net
910e44a7d5
Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
2004-07-16 16:56:21 +00:00
aaronleventhal%moonset.net
692a414811
Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes
2004-07-15 18:57:47 +00:00
aaronleventhal%moonset.net
be1b821056
Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
2004-07-14 21:58:34 +00:00
roc+%cs.cmu.edu
790167bd82
Bug 241454. Enforce the rule that if a frame ever reflows its child asking for MEW, then it *always* reflows the child asking for MEW. r=bernd,sr=dbaron
2004-06-06 20:45:23 +00:00
bmlk%gmx.de
f857105001
make visibility collapse work during incr reflows bug 77019 r= bzbarsky sr=dbaron
2004-04-28 16:42:59 +00:00
bmlk%gmx.de
f5904c3c32
remove special handling for rows with rowspans as table frames report now the overflow area. bug 240275 r/sr=roc
2004-04-26 17:56:48 +00:00
bmlk%gmx.de
de5b842be2
Remove unused functions bug 240559 r/sr =bzbarsky
2004-04-21 15:49:29 +00:00
bmlk%gmx.de
05b675f299
remove table background quirk use standards painting instead bug 237078 patch by fantasai@escape.com r=bernd sr=dbaron
...
crash prevention when colframes return bogus colindices bug 240854 r/sr=bzbarsky
2004-04-18 18:17:00 +00:00
gerv%gerv.net
708b56cff4
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
tor%cs.brown.edu
83eb215db9
Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner
2004-04-18 13:13:35 +00:00
dbaron%dbaron.org
edff141de5
Fix logic error causing certain patterns of table rows to spread themselves over many pages when printing. b=231823,212984 r=bernd sr=roc
2004-04-13 20:47:52 +00:00
bmlk%gmx.de
8c2f50790a
move HasMoreThanOneCell from nsTableRowGroupFrame.cpp into nsCellMap.cpp where it belongs. Don't try to repair the cellmap on every reflow, this might help with with large table rendering performance, bug 240318 r/sr=bzbarsky
2004-04-13 06:21:16 +00:00
dbaron%dbaron.org
41c16857c2
DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan
2004-03-12 04:40:17 +00:00
roc+%cs.cmu.edu
8397ac8d8f
Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron
2004-03-10 03:09:05 +00:00
bmlk%gmx.de
ea9e726b8b
implement standards compliant (CSS2.1) table background rendering patch by fantasai@escape.com r=bernd sr=bz, dbaron
2004-03-09 06:48:35 +00:00
bryner%brianryner.com
ab4ac54b6f
inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc.
2004-03-03 18:24:20 +00:00
bryner%brianryner.com
92499cbd13
Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
2004-02-11 04:57:07 +00:00
bmlk%gmx.de
871c57c63b
recover overflow area during incr. reflows in table frames, bug 219220 r/sr=dbaron
2004-01-28 18:44:41 +00:00
bryner%brianryner.com
23ecb8ff4e
DeCOMtaminate nsCSSFrameConstructor (bug 231157). This gets rid of the nsIStyleFrameConstruction and nsICSSFrameConstructor interfaces. The frame constructor now has the same lifetime as the pres shell. r+sr=dbaron.
2004-01-21 23:05:10 +00:00
bmlk%gmx.de
a217311c27
remove unneccesary prescontext arguments bug 230923 r/sr=roc
2004-01-18 10:28:40 +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
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