60 Commits

Author SHA1 Message Date
neil%parkwaycc.co.uk
ae8e1ed1de Bug 384874 Fix regression from previous patch for bug 382746 r=Enn sr=bz
git-svn-id: svn://10.0.0.236/trunk@228423 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 10:25:07 +00:00
neil%parkwaycc.co.uk
757c52cf6e Bug 383236 Fix missing null-check from previous patch for bug 382746 r=Enn sr=bz
git-svn-id: svn://10.0.0.236/trunk@227606 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-06 20:28:47 +00:00
neil%parkwaycc.co.uk
38b217e46f Bug 382746 "ASSERTION: Lists not the same length"
Bug 382899 "ASSERTION: bad pref, min, max size"
Both patches r=Enn sr=bz


git-svn-id: svn://10.0.0.236/trunk@227436 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-03 20:46:59 +00:00
bzbarsky%mit.edu
ba5badedcb Change the FrameNeedsReflow API to pass the dirty flags to be added directly to
the method, instead of setting them before calling the method.  That way we can
avoid reflowing the ancestor of a reflow root which is not itself dirty but has
dirty children.  This also makes it harder to set dirty bits inconsistently
with the FrameNeedsReflow call.  Bug 378784, r+sr=dbaron, pending rbs' review
on the mathml parts.


git-svn-id: svn://10.0.0.236/trunk@226007 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 19:16:52 +00:00
bzbarsky%mit.edu
dfad41fa5a deCOMtaminate SetBounds(), GetChildBox(), GetNextBox(), GetParentBox(),
GetVAlign(), GetHAlign().  Remove GetInset().  Bug 243370, patch by Andreas
Lange <anlan@lange.cx>, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@220744 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 18:05:14 +00:00
sharparrow1%yahoo.com
4e50607a9e Bug 370185: clean up view header includes (trivial). rs=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@219987 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-12 19:17:33 +00:00
philringnalda%gmail.com
326483cb86 Bug 368902: Unnecessary looping over collapsed children in nsSprocketLayout, patch by Andreas Lange <anlan@lange.cx>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219318 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 07:24:28 +00:00
Olli.Pettay%helsinki.fi
ba610d02ec Bug 243370, deCOMtaminate parts of nsIFrame that come from nsIBox, part 2, p=anlan@lange.cx, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219259 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 16:02:42 +00:00
cvshook%sicking.cc
ccd1d6884d Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
dbaron%dbaron.org
927d56bf63 Make PushStackMemory never fail to simplify callers, and deCOMtaminate the stack memory API. b=366866 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@218565 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 23:53:47 +00:00
bzbarsky%mit.edu
9e56e89a01 deCOMtaminate nsIFrame::GetMinSize/GetPrefSize/GetMaxSize. Bug 243370, patch
by Andreas Lange <anlan@lange.cx>, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@217973 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-08 02:57:59 +00:00
dbaron%dbaron.org
1ca9f3f372 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.
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 05:38:33 +00:00
bzbarsky%mit.edu
a2132179a7 Deal with flex values that add up to too much. Bug 345709, r=neil, sr=roc
git-svn-id: svn://10.0.0.236/trunk@207402 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 01:08:00 +00:00
timeless%mozdev.org
a05383ef1b Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@185018 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 22:05:24 +00:00
bzbarsky%mit.edu
fda16fec15 When direction is not normal (bottom to top, especially), we don't properly
account for resizing of child boxes if it happens during Layout().  Bug 126620,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@167796 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-15 19:35:19 +00:00
pkw%us.ibm.com
20a8e50a55 Bug 267498 - Dialogs cutting off content
Patch contributed by Stephen Walker <sdwalker@myrealbox.com>
r/sr=roc@ocallahan.org


git-svn-id: svn://10.0.0.236/trunk@164890 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 23:31:17 +00:00
roc+%cs.cmu.edu
19a2b66c2e relanding fix for bug 265165 because it wasn't the source of Tp/Tdhtml regression
git-svn-id: svn://10.0.0.236/trunk@164846 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 12:20:13 +00:00
roc+%cs.cmu.edu
ec2ad1f9ce Backing out fix for bug 265165 to see if it's the source of Tp/Tdhtml regression
git-svn-id: svn://10.0.0.236/trunk@164839 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 06:11:34 +00:00
roc+%cs.cmu.edu
e8b4aca144 Bug 265165. For XUL elements, min-size should trump max-size not the other way around, according to CSS. But make it possible to set min-size to zero by setting it to 0% --- ugly hack until we get a better box-model spec. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@164827 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 02:32:00 +00:00
bryner%brianryner.com
d80f327086 Unify box and frame trees by moving nsIBox methods onto nsIFrame. XUL-box frames can call the superclass nsBox implementation, all other frames get the nsFrame implementation of the box methods, which acts like nsBoxToBlockAdaptor used to. Bug 258513, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@162876 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-28 18:37:50 +00:00
smontagu%smontagu.org
95b63a3abf Bug 140577: Radio buttons and check boxes aligned to the left when UI aligned to the right, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@161831 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-06 20:18:23 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
bryner%brianryner.com
b17b3249f7 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@160067 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 19:41:39 +00:00
bryner%brianryner.com
2a1c8d3594 deCOMtaminate nsBoxLayoutState. Bug 247766, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@158283 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-22 02:55:04 +00:00
gerv%gerv.net
2ac510b678 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
roc+%cs.cmu.edu
7683429d2e Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron
git-svn-id: svn://10.0.0.236/trunk@145537 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-04 12:39:51 +00:00
dbaron%dbaron.org
d1348a2b5f A little cleanup. b=207700 r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@143155 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-01 20:03:13 +00:00
bryner%netscape.com
6278746fdf Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@136056 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 06:49:07 +00:00
peterv%netscape.com
d103a96ada Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@134587 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-29 23:44:07 +00:00
seawood%netscape.com
a7c7e77b8b Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc


git-svn-id: svn://10.0.0.236/trunk@124526 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 20:25:30 +00:00
timeless%mac.com
69ae314807 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa


git-svn-id: svn://10.0.0.236/trunk@116832 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 04:30:17 +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
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
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
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
sfraser%netscape.com
b21533281d Fix for blocker bug 83669; crash in history on Mac classic skin. Check for null childBoxSize. r=pinkerton/evaughan, a=pchen (sheriff)
git-svn-id: svn://10.0.0.236/trunk@96564 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 23:16:38 +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
dbaron%fas.harvard.edu
8205ca1c3f Fix leaks of nsBoxLayout and nsRepeatService by freeing in layout module destructor. (Uses raw pointers instead of static nsCOMPtrs.) r=evaughan@netscape.com sr=brendan@mozilla.org b=43582, 43588
git-svn-id: svn://10.0.0.236/trunk@82419 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 03:20:22 +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
evaughan%netscape.com
a87e4943ba Autoscrolling menus feature landing #32730
-r hyatt, saari


git-svn-id: svn://10.0.0.236/trunk@73042 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 05:15:04 +00:00
evaughan%netscape.com
3640c7b6b3 Fixed for ender-lite painting problems. bug #34896
-r mjudge


git-svn-id: svn://10.0.0.236/trunk@71573 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 01:25:03 +00:00
evaughan%netscape.com
c0eba57baa Made grids scroll for dogfood bug 30511.
-r hyatt


git-svn-id: svn://10.0.0.236/trunk@71394 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 22:15:09 +00:00
evaughan%netscape.com
a7857b1f84 Fix for dogfood bug 41027 -r hyatt
git-svn-id: svn://10.0.0.236/trunk@71170 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 20:14:28 +00:00
evaughan%netscape.com
d2f1f7708c Fix for bug 40324 -r hyatt
git-svn-id: svn://10.0.0.236/trunk@70892 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 01:10:50 +00:00
evaughan%netscape.com
b7a6f178a9 Fixed a round off error bug #29949
-r pinkerton


git-svn-id: svn://10.0.0.236/trunk@70632 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 23:23:04 +00:00
evaughan%netscape.com
9b4df52e9b 1) Fixed collapsing code. So sidebar does not assert when brought up closed.
2) fixed menu dismissing bug.


git-svn-id: svn://10.0.0.236/trunk@70083 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 20:46:08 +00:00
evaughan%netscape.com
cd4a9a369b 1) Scrolling menus
2) many bug fixes
3) box debuging flags


git-svn-id: svn://10.0.0.236/trunk@69737 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 04:12:31 +00:00
evaughan%netscape.com
2f0b8539e3 Fix for titledbox bugs
git-svn-id: svn://10.0.0.236/trunk@67211 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 07:28:19 +00:00