roc+@cs.cmu.edu
d9edea9d71
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
2004-06-17 00:13:25 +00:00
gerv@gerv.net
a1ec040a65
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
roc+@cs.cmu.edu
e719dd34eb
Bug 227838. Remove unused RequiresWidget method from nsIFormControlFrame. r+sr=bzbarsky
2004-04-13 03:11:05 +00:00
uid502
4fc4723244
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
uid502
b0bdfdf35a
Bug 217201. Make nsTextControlFrame::InitEditor() happen outside of reflow, to prevent content notification flushes and reentrancy. r+rs=dbaron
2003-09-19 15:20:00 +00:00
dbaron@dbaron.org
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
roc+@cs.cmu.edu
7143d14503
Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron
2003-04-08 20:50:57 +00:00
bryner@netscape.com
198d686852
fix frame name for nsTextControlFrame (debug-only code). r/sr/a=roc.
2003-01-25 01:47:20 +00:00
kin@netscape.com
f5d1df8f8f
Fix for bug 188440 (textfields clobber selection when they should not.)
...
mozilla/layout/html/forms/src/nsTextControlFrame.cpp
mozilla/layout/html/forms/src/nsTextControlFrame.h
Revert back to using a private method (SelectAllContents()) which implements a select all of the text widget contents by manually creating a range and adding it to the selection. This avoids triggering the autocomplete selection listener, which listens for a selection reason of SELECTALL_REASON. This change should be undone once the autocomplete listener is modified to distinguish between a programatic select all and one generated by a user gesture.
r=brade sr=sfraser@netscape.com
2003-01-21 15:17:32 +00:00
kin@netscape.com
c7f22707c5
Fix for bug #88049 : Support .selectionStart & friends for textareas
...
Patch by petejc@optonline.net and kin@netscape.com
mozilla/content/html/content/src/nsHTMLInputElement.cpp
mozilla/content/html/content/src/nsHTMLTextAreaElement.cpp
mozilla/dom/public/idl/html/nsIDOMNSHTMLTextAreaElement.idl
mozilla/layout/html/forms/src/nsTextControlFrame.cpp
mozilla/layout/html/forms/src/nsTextControlFrame.h
Re-implemented selectionStart, selectionEnd, setSelectionRange() and various
utility methods in nsTextControlFrame to support multi-line text widgets.
r=jkeiser@netscape.com sr=sfraser@netscape.com
2003-01-09 06:06:17 +00:00
jkeiser@netscape.com
4abefda8a3
Make GetType() return int instead of nsresult (bug 167762), r=peterl@netscape.com, sr=kin@netscape.com
2002-12-18 23:38:09 +00:00
nhotta@netscape.com
5661ecbfce
Adding a new interface to retrieve phonetic of input text,
...
bug 175937, r=brade, sr=kin.
2002-12-17 23:38:04 +00:00
jkeiser@netscape.com
62eac6a415
Make textareas and inputs restore again (bug 179330), r=bryner@netscape.com, sr=kin@netscape.com
2002-11-20 23:19:45 +00:00
dbaron@fas.harvard.edu
4799790fd9
Remove static nsCOMPtr from nsTextControlFrame. b=179228 r=jkeiser sr=bzbarsky
2002-11-19 15:21:57 +00:00
jkeiser@netscape.com
9f3755056e
Make input type=text width bigger (Rick.Ju@sun.com's patch, bug 92980), r=jkeiser@netscape.com, sr=kin@netscape.com
2002-09-23 19:43:48 +00:00
jkeiser@netscape.com
3a3675d79e
Make default wrap soft again, fix up text reflow, remove cruft from button reflow (bug 164641), r=rods@netscape.com, sr=kin@netscape.com
2002-09-16 06:23:52 +00:00
jkeiser@netscape.com
5049d0ace7
Change ns(I)GfxTextControlFrame(2) -> ns(I)TextControlFrame (bug 129909), r=rods
...
@netscape.com, sr=bzbarsky@mit.edu , a=asa
2002-07-26 20:57:24 +00:00
leaf@mozilla.org
f555577b61
adding new files from nsGfxTextControlFrame2.*; part of renaming in bug 129909
2002-07-26 17:17:00 +00:00
kmcclusk@netscape.com
8ba7536215
Removing these unneeded files from from cvs, they have been in the build in years
...
r=kmcclusk,buster
2000-11-16 21:41:14 +00:00
jst@netscape.com
3ba32f670e
DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
2000-08-23 17:27:06 +00:00
hyatt@netscape.com
4445e32213
Fixes for bugs 17460 and 21656. r=travis
2000-01-14 09:28:54 +00:00
tbogard@aol.net
617bb737a6
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
dmose@mozilla.org
796280940b
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
kmcclusk@netscape.com
62a8c51ea2
Fixed places where SetProperty and Reset were missing the nsIPresContext argument.
...
This fixed 6 warnings and cases where reset and set property where not working properly for
all form elements. r = rods@netscape.com .
1999-11-03 00:01:13 +00:00
pollmann@netscape.com
1aa2ad9707
Removing null code. No bug number. r=nisheeth
1999-11-02 03:48:04 +00:00
troy@netscape.com
bf2283fba6
Moved a bunch of stuff out to a nsIFrameDebug interface
1999-11-01 22:12:45 +00:00
troy@netscape.com
b8ef6465be
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
rods@netscape.com
5e91b0d023
Moved GetWrapProperty to nsFormControlHelper
...
Changed add the added of scrollbar sizes for Standard mode
r=kmcclusk, Bug #3040,11285
1999-10-19 11:58:53 +00:00
peterl@netscape.com
419e62fca8
Added namespace ID to the AttributeChanged notification
...
Part fo the fix for Bug 15153
r=troy
1999-10-15 23:16:45 +00:00
rods@netscape.com
d152a11023
Fixed to use the LookAndFeel object in the PresContext instead of creating one via the ComponentManager
1999-09-30 11:23:17 +00:00
pollmann@netscape.com
f191f05069
Bug 13058: (Fixed Solaris bustage by removing Inherited typedef)
1999-09-15 05:31:31 +00:00
pollmann@netscape.com
da0b974d1a
Backing things out until I can get Solaris bustage figured out.
1999-09-14 20:42:26 +00:00
pollmann@netscape.com
62ea3ba33f
Bug 13058: Implement nsIStatefulFrame for text inputs and textareas
1999-09-14 19:19:55 +00:00
buster@netscape.com
6e8680ba35
added GetDefaultColumnWidth(), replacing a hardcoded #define
1999-09-02 20:44:17 +00:00
rods@netscape.com
8a2650fe6d
Added the other GetDesiredSize call overriding the base class call, and making it
...
the existing GetDesiredSize with the last param dummyed out. This makes all the sizing work
correctly with the change I put in in nsFormControlFrame
1999-08-27 14:34:54 +00:00
buster@netscape.com
c4f94a46bd
preliminary support for text area wrap
...
install text control's event listeners ahead of the editor's own default listeners.
1999-08-23 06:46:08 +00:00
rods@netscape.com
63645eb663
It now takes into account the suggested size in the calculation
1999-08-19 14:02:20 +00:00
pierre@netscape.com
9e5067f4cd
breaking up gfx & native widgets
1999-08-06 05:11:39 +00:00
buster@netscape.com
d278fc67a4
added support for Ender GFX-rendered text control
...
made nsTextControlFrame an abstract base class for nsGfxTextControlFrame and
nsNativeTextControlFrame
1999-06-12 22:29:54 +00:00
kmcclusk@netscape.com
aa254ce0cc
Added pseudo styles for file input element buttons and text fields to control their
...
appearance during printing.
Now returns value of file upload element in nsHTMLInputElement::GetValue.
Added :file-textstyle and :file-buttonstyle pseudo style's to ua.css.
Modified nsButtonControlFrame::PaintButton to accept a rectangle describing the
position and size of the button to paint.
Modified nsFileControlFrame::Paint to resolve :file-buttonstyle and :file-textstyle to
paint the file upload's button and text field using settings in ua.css
Added nsFileControlFrame::HasWidget utility method.
Added nsFormControlHelper::GetInputElementValue to get the current value of an input element
from the DOM.
Modified nsTextControlFrame::GetProperty to use nsFormControlHelper::GetInputElementValue
Modified nsTextControlFrame::PaintTextControl to accept a rectangle describing the position
and size of the text control to paint.
Modified nsTextControl::PaintTextControlBackground to include a rectangle describing the
position and size of the text control background to paint.
1999-02-18 00:13:39 +00:00
kmcclusk@netscape.com
d7eefcc655
Fixed border rendering during printing for Select and text, and text areas.
...
Implemented SetProperty/GetProperty methods for FileControlFrame
Added nsGenericHTMLElement::GetPrimaryFrame check for nsnull for doc return type.
nsHTMLInputElement.cpp replace NS_OK == with NS_SUCCEEDED in GetValue and SetValue
Added GetName and GetValue utility methods to nsFormControlHelper
modified nsButtonControlFrame::PaintButton to take the label to paint as an extra parameter.
This allows it to be callable from the nsFileControlFrame code to render the button.
1999-02-11 01:13:28 +00:00
kmcclusk@netscape.com
59b31aef90
Modified GetText to take extra paramater to indicate whether it should return
...
the current text value or the initial text value
1999-01-28 21:58:01 +00:00
kmcclusk@netscape.com
79593c4f72
Modified nsHTMLInputElement text fields to go through nsTextControlFrame
...
for SetValue and GetValue
1999-01-28 18:58:11 +00:00
kmcclusk@netscape.com
29dd95ad3e
Added SetProperty/GetProperty methods to nsIFormControlFrame. Added stub
...
implementations for all classes that derive from nsIFormControlFrame
1999-01-25 22:16:27 +00:00
kipp@netscape.com
1e10a83138
Revised frame Paint API
1998-12-18 15:54:23 +00:00
rods@netscape.com
b15b76d34b
Added painting methods for printing
1998-12-15 19:03:36 +00:00
rods@netscape.com
e9349cae74
Added printing methods
1998-12-10 17:53:34 +00:00
troy@netscape.com
e602e25924
Added Init() member function to nsIFrame
1998-12-03 06:31:43 +00:00
kipp@netscape.com
f6502df0e2
Added DumpRegressionData; revised ListTag; added GetFrameName
1998-11-19 17:22:29 +00:00
joki@netscape.com
249a270b84
Reworking internal event code to use nsIFrame::GetFrameForPoint
...
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
1998-11-18 05:25:26 +00:00