[email protected]
d21cb374bd
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
[email protected]
de453923d9
Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst
2006-07-19 04:36:36 +00:00
[email protected]
7ad743157e
Remove the special painting code for a 165-twips checkbox. Move the remaining parts of nsFormControlHelper to its consumers and remove nsFormControlHelper.{cpp,h} from the tree. b=343495 r+sr=roc (r=me on roc's part)
2006-07-06 10:43:51 +00:00
[email protected]
24f6f0ed12
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
[email protected]
f4b8035c4c
Make sure to not use a localized label if the value is explicitly set to the
...
empty string. Bug 330469, r+sr=sicking
2006-04-04 22:34:10 +00:00
[email protected]
54d3415318
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
[email protected]
93222d8d4f
backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
2006-03-15 06:43:36 +00:00
[email protected]
c92e50faf4
Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
2006-03-15 03:14:02 +00:00
[email protected]
79c7894a78
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
[email protected]
edb200f808
Use GetValue() instead of GetAttr(nsGkAtoms::value) for getting the button
...
value. And make the value determination consistent for initial and
value-changed. Bug 326250, r=sicking, sr=roc
2006-02-13 19:42:08 +00:00
[email protected]
67267661de
Remove old native widget code that we were only keeping around for viewer. b=326417 r+sr=roc
2006-02-08 20:09:19 +00:00
[email protected]
5b8ee77062
Avoid reframing inside button frames and move the frame creation entirely into the frame constructor, bug 51767, r=mats sr=roc
2006-01-13 07:58:12 +00:00
[email protected]
358bfc2241
Bug 254755. deCOMtaminate nsIFormControlFrame. patch by jpl24, r+sr=roc
2005-12-12 23:53:06 +00:00
[email protected]
c6fcb74336
Remove no longer needed event hack. Bug 146399, patch by Vidar Haarr
...
<[email protected] >, r=dbaron, sr=rbs
2005-12-08 01:44:30 +00:00
[email protected]
2a82ee651e
Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
2005-11-04 02:38:33 +00:00
[email protected]
77710748bc
Bug 311827: Make GetAttr return a bool rather then an nsresult.
...
r/sr=bz
2005-10-28 11:25:24 +00:00
[email protected]
97ce448ce1
Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv.
2005-09-24 18:43:15 +00:00
[email protected]
e96e8a3c36
Remove the pointless nsIContent arg of nsIFrame::AttributeChanged. Bug 281390,
...
patch by Vidar Braut Haarr <[email protected] >, r+sr=bzbarsky
2005-09-07 16:49:21 +00:00
[email protected]
b51a6bf60e
Make frames know whether they're leaves or not from the frame construction
...
point of view; use this in the frame constructor. Bug 265367, r+sr=dbaron
2005-08-16 22:52:48 +00:00
[email protected]
f54c1fc9b1
Fixing bug 289940. Make chrome event handlers only receive trusted events by default. [email protected] , [email protected] , [email protected]
2005-04-28 23:48:28 +00:00
[email protected]
ac990d5d4b
Remove nsIPresState (bug 279699). r+sr=roc.
2005-01-27 22:52:53 +00:00
[email protected]
1699ed621b
Attempt to fix Neil's bustage
2005-01-19 03:34:38 +00:00
[email protected]
0ce0d4a0d3
Bug 276002 Change nsContenUtils::Get/FormatLocalizedString to use nsXPIDLString to save on nsAutoString copies r=dbaron sr=bryner
2005-01-18 23:46:59 +00:00
[email protected]
3238ab2753
Bug 270708 remove nsPresContext variable from AttributeChanged and cleaned up comment in nsIFrame.h
...
[email protected] r=pkwarren sr=bzbarsky
2004-12-31 01:13:27 +00:00
[email protected]
1496ebd8f5
Remove nsFormControlHelper::GetLocalizedString, improve string bundle methods in nsContentUtils, and convert callers. b=273829 r+sr=bryner
2004-12-17 20:40:48 +00:00
[email protected]
db9364a0be
whoops. fixing bustage.
2004-10-14 19:05:31 +00:00
[email protected]
81ed902e4f
Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). r/sr=jst.
2004-08-10 10:22:36 +00:00
[email protected]
6cde4639f0
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
[email protected]
bd238fac2c
Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst.
2004-06-25 12:26:02 +00:00
[email protected]
2a5fdffafa
Remove vestiges of <input type="browse">. Bug 242873, r+sr=peterv
2004-05-11 18:16:41 +00:00
[email protected]
3ab9c6162d
Fixing bug 242734. deCOMtaminate nsITextContent. [email protected]
2004-05-07 20:55:17 +00:00
[email protected]
a1ec040a65
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
[email protected]
08d2e8fc4c
inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc.
2004-03-03 18:24:20 +00:00
[email protected]
601ac76297
Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. [email protected]
2004-01-29 22:04:45 +00:00
[email protected]
662d805035
More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron.
2004-01-28 00:18:22 +00:00
[email protected]
e00186c47b
Miscellaneous cleanup. r/sr=jst.
2004-01-18 10:45:26 +00:00
[email protected]
640685cbe9
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
[email protected]
d47517f6dc
Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). [email protected] , [email protected] .
2003-11-19 01:20:56 +00:00
uid502
4fc4723244
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
[email protected]
634c6e9bdc
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:25:13 +00:00
[email protected]
660339f971
Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
2003-07-11 21:16:12 +00:00
[email protected]
c8a200d763
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
[email protected]
2003-06-13 20:10:01 +00:00
[email protected]
f98e358469
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
[email protected]
ba58162e96
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
[email protected]
4abefda8a3
Make GetType() return int instead of nsresult (bug 167762), [email protected] , [email protected]
2002-12-18 23:38:09 +00:00
[email protected]
a8a494d5f6
Fix regression in rendering buttons that people manually size to less
...
than desired size. Bug 180085, r=jkeiser, sr=roc+moz
2002-11-16 19:32:49 +00:00
[email protected]
f8f860f5d7
Align text inputs, buttons, comboboxes to baseline with respect to the
...
text around them (bug 167236). Fix width sizing issues for <input
type="button/reset/submit"> (bugs 79927, 36364). Fix nonuniform heights
of form controls (bug 70251). Patch is on bug 167236, r=jkeiser,
sr=roc+moz, moa=rods
2002-11-12 19:17:51 +00:00
[email protected]
bb87336fcf
Align input type=text/radio/checkbox/button so that text is on baseline (bzbarsky's patch, bug 167236), [email protected] , [email protected]
2002-09-27 00:04:22 +00:00
[email protected]
3a3675d79e
Make default wrap soft again, fix up text reflow, remove cruft from button reflow (bug 164641), [email protected] , [email protected]
2002-09-16 06:23:52 +00:00
[email protected]
d5b32eaa79
<input type="button" value=""> should not list default text. Bug
...
166913, r=jkeiser, sr=jst
2002-09-11 02:30:52 +00:00