aaronleventhal%moonset.net
c361ea9f16
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
...
git-svn-id: svn://10.0.0.236/trunk@159196 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 21:58:34 +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
bryner%brianryner.com
c52276bdfd
Make XUL box debug code be #ifdef DEBUG_LAYOUT. r+sr=roc, bug 103844.
...
git-svn-id: svn://10.0.0.236/trunk@158188 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-19 09:07:47 +00:00
roc+%cs.cmu.edu
0b0fa89131
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
bryner%brianryner.com
ce46c070a8
Make sure the pref size is at least as large as the min size for leaf boxes, just like we do for container boxes. Bug 246706, r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@157880 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-15 01:10:09 +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
44185c6657
Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@153808 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 03:09:05 +00:00
bryner%brianryner.com
5b5cd321a4
Guarantee that the pres context's device context will be non-null by returning failure from Init() if it's null. Rename inline getter GetDeviceContext() to DeviceContext(), convert all callers to use the inline getter, and remove the virtual/refcounting getter. Bug 229371, r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@152182 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-02 22:17:21 +00:00
roc+%cs.cmu.edu
35c266025d
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@151077 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 14:20:53 +00:00
bryner%brianryner.com
b5347dd60c
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.
...
git-svn-id: svn://10.0.0.236/trunk@150598 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-21 05:36:36 +00:00
jst%mozilla.jstenback.com
ef67a47aab
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
...
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
uid502
e9d6a45b46
Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@147169 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 17:05:29 +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
bzbarsky%mit.edu
82c14d79dd
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@145289 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:25:13 +00:00
dbaron%dbaron.org
519cf3b3d3
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@143960 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:44:01 +00:00
caillon%returnzero.com
0a6d1ae509
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
roc+%cs.cmu.edu
7bee6c40f3
Bug 201851. Don't honor XUL 'width' and 'height' attributes on anything other than XUL elements. r+sr=dbaron,a=sspitzer
...
git-svn-id: svn://10.0.0.236/trunk@142629 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-19 23:24:51 +00:00
dbaron%dbaron.org
69da9d4a19
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
...
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
varga%netscape.com
96c3422078
Landing bookmarks branch. Everything except mozilla/xpfe
...
Bug 196756 - Meta bug for major architectural changes in bookmarks code
r=jag, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@140214 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 04:44:31 +00:00
bryner%netscape.com
c44337949a
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.
...
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
sfraser%netscape.com
6d7382630d
Fix booleans returned by nsBox to have the low bit set. Bug 185951. r/sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@135471 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-18 23:51:55 +00:00
dbaron%fas.harvard.edu
c6828396c3
Release theme global in nsBox from layout module destructor instead of on a object count for objects whose destructors are not all called. (Adds nsBox to the leak stats, which will make leaks go up.) b=177807 r=bryner sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@135093 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 02:33:33 +00:00
timeless%mozdev.org
d855a84260
Bug 52285 Kill compiler warnings in layout/xul
...
patch by mozilla-bugs@nogin.org r=timeless sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@134079 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 05:06:36 +00:00
roc+%cs.cmu.edu
5a00c656b9
Backing out fix in bug 173072 (see bug 179459).
...
git-svn-id: svn://10.0.0.236/trunk@133565 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-11 13:59:48 +00:00
roc+%cs.cmu.edu
a5a565fd75
Bug 173072. Fix XUL scrollbar regression by forcing a view update after reflow. r=bzbarsky,sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@133540 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-10 18:21:05 +00:00
hyatt%netscape.com
231ada71e5
Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake
...
git-svn-id: svn://10.0.0.236/trunk@130192 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-21 01:03:38 +00:00
pete.zha%sun.com
ad380ffdf5
Sun Forte 7FCS builds crash in layout/ when compiled with -xO3 or higher
...
bug=164368 r=roc+moz@cs.cmu.edu sr=sfraser@netscape.com
patch by Roland.Mainz@informatik.med.uni-giessen.de
git-svn-id: svn://10.0.0.236/trunk@129772 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 02:49:30 +00:00
alecf%netscape.com
a0470fa36f
fix for bug 166308 - remove a bunch of debugging code from XUL
...
r=bryner, sr=jag, a=asa
git-svn-id: svn://10.0.0.236/trunk@129111 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-09 21:32:33 +00:00
kin%netscape.com
2ce51981fc
Partial fix for bug 141900 (Text entry fields in forms excruciatingly slow.)
...
mozilla/layout/html/base/src/nsBlockFrame.cpp
- Removed code in ReflowDirtyChild() which propagated
the reflow command up to the block's parent if the
block already had dirty children. There's no need
for this optimization with waterson's reflow command
tree changes.
mozilla/xul/base/src/nsBox.cpp
- Modified RelayoutDirtyChild() so that it posts
a dirty reflow event if |this| is a reflow root.
This prevents ReflowDirtyChild requests from
propagating all the way out of the box hierarchy.
r=dbaron@fas.harvard.edu sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@123234 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 20:30:14 +00:00
bryner%netscape.com
29d3f67dae
Bug 119837 - add a parameter to nsITheme::GetMinimumWidgetSize to specify if CSS is allowed to override the min size. r=bzbarsky, sr=hyatt.
...
git-svn-id: svn://10.0.0.236/trunk@112053 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 05:40:37 +00:00
brade%netscape.com
6869be649b
#ifdef globals so they aren't defined when they aren't used (bug 117927; rs=glazou)
...
git-svn-id: svn://10.0.0.236/trunk@111689 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 15:36:06 +00:00
hyatt%netscape.com
5d02ce1715
Fix for 118550, I screwed up minwidth and minheight on boxes. Somewhere evaughan is rolling over in his grave. r=jag, sr=ben
...
git-svn-id: svn://10.0.0.236/trunk@111501 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 20:02:19 +00:00
hyatt%netscape.com
78e80f4cc4
Fix for 115748, r=bryner, sr=sspitzer
...
git-svn-id: svn://10.0.0.236/trunk@111377 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 00:15:48 +00:00
hyatt%netscape.com
2e88971c9c
Checking in 115757, enabling of Windows XP Theme Support under Classic skin.,r=bryner,sr=hewitt
...
git-svn-id: svn://10.0.0.236/trunk@111336 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 00:28:01 +00:00
hyatt%netscape.com
b36f01c7b5
Fix scrollbar thumb visibility issues (flex isn't reported for collapsed widgets). r=ben, sr=hewitt
...
git-svn-id: svn://10.0.0.236/trunk@110763 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 01:05:43 +00:00
bryner%netscape.com
f596b1c598
Fixing shutdown crash on non-Windows platforms caused by hyatt's theme checkin. Should fix one cause of the tinderbox orange. r=mjudge.
...
git-svn-id: svn://10.0.0.236/trunk@110689 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 04:33:28 +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
jaggernaut%netscape.com
436d43f211
Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
...
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +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
loadrunner%betak.net
bfeea864ea
bug 106536 Blank charset list in SaveAs charset of HTML composer, r=cmanske, sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@107534 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 02:32:58 +00:00
dbaron%fas.harvard.edu
7bb7b59a69
Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@105460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:53:44 +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
waterson%netscape.com
289f661b27
Bug 96228. Make nsContainerFrame::PositionFrameView position _only_ the frame's view (don't recur). Explicitly call nsContainerFrame::PositionChildViews as appropriate when moving a frame post-Reflow. Consolidate view positioning logic duplicated between PositionFrameView and SyncFrameViewAfterReflow, which now correctly computes offset for anonymous view in nsScrollFrame and accounts for scrolled views. r=kmcclusk,karnaze sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@103388 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 00:53:29 +00:00
hyatt%netscape.com
2ab7945bef
Make XUL boxes check maxheight/maxwidth attrs as well as minwidth. r/sr=hewitt,jst
...
git-svn-id: svn://10.0.0.236/trunk@103286 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 07:46:13 +00:00
waterson%netscape.com
43c613727c
Bug 55086. Change nsContainerFrame::PositionFrameView() to position child views. Eliminate the |aView| parameter from that method, because the view can be retrieved from the frame and need not be done by the caller. Eliminate the NS_FRAME_NO_MOVE_CHILD_VIEWS flag, which was read-only; i.e., never set by anyone. r=dbaron, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@102321 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 20:27:19 +00:00