karnaze%netscape.com
d30758e3fc
bug 97138 - rework of table, row group, row, cell height code. sr=attinasi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@107299 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-05 00:15:51 +00:00
karnaze%netscape.com
6c1a4b003e
bug 60816 use correct cell when rowspan and colspan overlap. Fix pixel rounding errors. sr=attiansi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@106308 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 02:30:38 +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
rjesup%wgate.com
8b0885ab65
bug 92573: VoidArray->AutoVoidArray changes for layout/*. r=kin, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@102448 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:11:44 +00:00
karnaze%netscape.com
d94c44446b
bug 74731 - remove extraneous cols at end of cell map rows, keep table cols and cell map cols in synch. sr=attinasi, r=cmanske
...
git-svn-id: svn://10.0.0.236/trunk@95252 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 12:40:27 +00:00
karnaze%netscape.com
51812fbe96
bug 44523 - Get the actual rg from the cell in AppendCell rather than use the row index. sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@90688 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 21:25:13 +00:00
karnaze%netscape.com
c76866e3ea
table reflow coalescing, table reflow face lift. sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@89462 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 06:38:59 +00:00
dbaron%fas.harvard.edu
5f0a7ab9bd
Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@85654 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 23:06:33 +00:00
karnaze%netscape.com
9fcb604c43
bug 65372 - allow rows to be inserted after an over specified row span. sr=buster, r=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@85496 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 16:02:14 +00:00
karnaze%netscape.com
a7ed9d39d0
bug 46623 - allocate proportional and auto cols together when balancing columns. (sr=buster, r=peterl)
...
allow columns (due to colspan) containing no originating cols at the end of the table to exist
git-svn-id: svn://10.0.0.236/trunk@84899 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 23:07:54 +00:00
karnaze%netscape.com
40a59f1659
bugs 47163, 60807 and others, sr=buster
...
simplified BasicTableLayoutStrategy's CalculateTotals and CanAllocate
better calculation of proportional cols
calculation of adjusted widths due to colspans honors the fixed and pct widths of cols being spanned
git-svn-id: svn://10.0.0.236/trunk@83859 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 20:29:46 +00:00
karnaze%netscape.com
0a9d87c0a3
bug 9848 - check for out of memory when calling new. r=dcone.
...
git-svn-id: svn://10.0.0.236/trunk@83133 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 15:53:55 +00:00
warren%netscape.com
a8b9664a8c
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
...
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
karnaze%netscape.com
192b42b445
bug 30418, 47252 - order row groups before performing most operations. r=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@79091 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 06:49:47 +00:00
anthonyd%netscape.com
20e7680b7c
r:mjudge
...
fix for bug# 29785, keyboard navigation of tables in editor
not completely fixed, tables with row|column span do not navigate correctly
git-svn-id: svn://10.0.0.236/trunk@69124 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 01:04:39 +00:00
karnaze%netscape.com
47f205f65f
new reflow/layout code for outer table to handle captions and margins. better % height handling.
...
row groups and rows don't include external cellspacing in there dimensions. r=troy.
git-svn-id: svn://10.0.0.236/trunk@67566 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 21:05:31 +00:00
jim_nance%yahoo.com
b1ccfbf2cb
Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
...
days for module owners to comment on. r=troy@netscape.com
git-svn-id: svn://10.0.0.236/trunk@64566 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 03:21:26 +00:00
cmanske%netscape.com
e15bf8d5b3
Added support for Ctrl+Shift+mouseclick to select block of cells. Rewrote nsITableLayout::nsGetCellData() to be much more efficient, eliminating a method in the process. Implemented nsTableCellFrame::Get[Previous|Next]CellInColumn for cursor key navigation in tables. r=mjudge,karnaze.
...
git-svn-id: svn://10.0.0.236/trunk@63825 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 04:24:58 +00:00
karnaze%netscape.com
cf5fcc4348
bug 30273 - removing the last remaining cell in a row caused the cell map to remove the row during an incremental reflow. r=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@63123 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 02:21:43 +00:00
karnaze%netscape.com
f325f1e22d
fix warnings. submitted by jeroen@vangelderen.org, r=karnaze
...
git-svn-id: svn://10.0.0.236/trunk@63005 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 04:50:25 +00:00
karnaze%netscape.com
b3279d2e4c
bug 25148, AppendCell grows its rows before figuring the starting col index, r=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@59466 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 01:56:46 +00:00
karnaze%netscape.com
28c87201ae
bug 24880 colspan/rowspan=0 handling, bug 22122 handle *0 proportional width; r=kmcclusk.
...
git-svn-id: svn://10.0.0.236/trunk@59353 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 03:23:29 +00:00
troy%netscape.com
60471abd92
b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
...
child list and changed ReparentFrameView() to check it.
git-svn-id: svn://10.0.0.236/trunk@58373 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 01:16:50 +00:00
warren%netscape.com
490e2d2d89
Fixed nsCellMap bloat/leak counter problem.
...
git-svn-id: svn://10.0.0.236/trunk@58058 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 00:55:49 +00:00
karnaze%netscape.com
b431334299
fixed printing assertions; more throughly check cell map usage for contuining frames;
...
fixed bug 24057; r=kmcclusk,cmanske; could not run mail smoke tests due to prior bustage.
git-svn-id: svn://10.0.0.236/trunk@57952 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 20:10:00 +00:00
troy%netscape.com
3249af3309
r=troy@netscape.com Changed from karnaze@netscape.com reviewed by me that
...
fix assertions we were hitting when printing the CNN page
git-svn-id: svn://10.0.0.236/trunk@57910 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 05:50:27 +00:00
hyatt%netscape.com
adec12a0bb
*** empty log message ***
...
git-svn-id: svn://10.0.0.236/trunk@57688 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 20:58:24 +00:00
hyatt%netscape.com
ed7a9eb667
Fix for chinatimes/tinderbox crasher. r=karnaze
...
git-svn-id: svn://10.0.0.236/trunk@57686 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 20:22:19 +00:00
karnaze%netscape.com
ff253260b5
bugs 19061, 9879 - each top level row group gets its own cell map; CellData reduced to 4 bytes.
...
git-svn-id: svn://10.0.0.236/trunk@57635 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 05:29:38 +00:00
karnaze%netscape.com
500ae7bed9
bug 22246 - row/col span changes on cell alter cell map and reflow table. r=kmcclusk
...
git-svn-id: svn://10.0.0.236/trunk@56722 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 05:31:56 +00:00
karnaze%netscape.com
0fb9049272
fixed tinderbox warnings
...
git-svn-id: svn://10.0.0.236/trunk@56650 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-03 00:56:12 +00:00
karnaze%netscape.com
9729119ade
removed caching of collapsed rows and cols as a likely fix for non reproducable bug 21652. a=hofmann, r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@56075 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 01:51:06 +00:00
karnaze%netscape.com
b46ebb9cae
fix windows bustage.
...
git-svn-id: svn://10.0.0.236/trunk@55957 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 01:02:11 +00:00
karnaze%netscape.com
6ffe908f39
incremental cell map, columns. Bugs 12122, 21544. r=troy,hyatt a=hofmann
...
git-svn-id: svn://10.0.0.236/trunk@55939 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 22:56:31 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
kipp%netscape.com
fb8e1bdb06
Fixed cellmap ctor/dtor logging to not show up negative
...
git-svn-id: svn://10.0.0.236/trunk@50279 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:42:13 +00:00
kipp%netscape.com
e18af2d0ee
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
...
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
kipp%netscape.com
78b500998c
Eliminate a warning
...
git-svn-id: svn://10.0.0.236/trunk@50059 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 00:28:41 +00:00
troy%netscape.com
bd5ca95ced
Added SizeOf() handler for floater information maintained by the
...
line box
git-svn-id: svn://10.0.0.236/trunk@49644 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-02 02:51:03 +00:00
troy%netscape.com
4e1923d3ad
Hooked up SizeOf() for cell map and table layout strategies. Also added in
...
some table frame data that was missed
git-svn-id: svn://10.0.0.236/trunk@49622 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-02 00:02:54 +00:00
putterman%netscape.com
c46467d214
Fix for 14386. Prevent memory corruption when opening and closing an account.
...
Approved = leaf. Reviewed -= karnaze.
git-svn-id: svn://10.0.0.236/trunk@48928 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-23 22:44:47 +00:00
kipp%netscape.com
36c3ac0487
Remove a warning
...
git-svn-id: svn://10.0.0.236/trunk@45514 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 20:59:13 +00:00
hyatt%netscape.com
0cf34ce7ba
Changes to the cell map to support incremental insertion and removal of rows. Currently
...
only used by the tree widget.
git-svn-id: svn://10.0.0.236/trunk@45097 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 00:01:09 +00:00
karnaze%netscape.com
42a0e08a9e
bug 1271 - percentage height cells, added GetNumCellsOriginatingInRow, fixed GetNumCellsOriginatingInCol
...
git-svn-id: svn://10.0.0.236/trunk@44534 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 21:49:18 +00:00
karnaze%netscape.com
112f671dfe
replaced debug flags with class. removed compiler warnings.
...
git-svn-id: svn://10.0.0.236/trunk@44283 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 12:01:31 +00:00
karnaze%netscape.com
2ccead2f78
removed assertions in new incremental layout methods
...
git-svn-id: svn://10.0.0.236/trunk@44097 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 23:56:39 +00:00
karnaze%netscape.com
025bd21a33
added null checking
...
git-svn-id: svn://10.0.0.236/trunk@43775 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 03:30:40 +00:00
karnaze%netscape.com
5e4439a661
Added new incremental reflow methods.
...
CellData keeps track of row versus col spans.
nsColFrame keeps track of what cell contributed to constrained width.
nsCellMap::GetCellFrameAt replace with GetCellInfoAt
simplified nsTableCellFrame::RecalcLayoutData and removed FindLargestMargin, CalculateMargins, CalculateMargins
simplified nsTableFrame::RecalcLayoutData and removed AppendLayoutData
Added gsDebugReflow capability, remove all existing debug printf
git-svn-id: svn://10.0.0.236/trunk@43641 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 19:52:37 +00:00
karnaze%netscape.com
382b9863de
new nsCellMap, BasicTableLayoutStrategy, plus various fixes to table
...
frames while testing the new cell map and strategy
git-svn-id: svn://10.0.0.236/trunk@41454 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 08:09:02 +00:00