43 Commits

Author SHA1 Message Date
jkeiser%netscape.com
61c84d1fa9 Make textareas and inputs restore again (bug 179330), r=bryner@netscape.com, sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@134217 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 23:19:45 +00:00
dbaron%fas.harvard.edu
7bfdf9ceaf Remove static nsCOMPtr from nsTextControlFrame. b=179228 r=jkeiser sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@134104 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 15:21:57 +00:00
jkeiser%netscape.com
b6c4cce5ef Make input type=text width bigger (Rick.Ju@sun.com's patch, bug 92980), r=jkeiser@netscape.com, sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@130274 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-23 19:43:48 +00:00
jkeiser%netscape.com
664fc74eb6 Make default wrap soft again, fix up text reflow, remove cruft from button reflow (bug 164641), r=rods@netscape.com, sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@129682 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 06:23:52 +00:00
jkeiser%netscape.com
325bff7164 Change ns(I)GfxTextControlFrame(2) -> ns(I)TextControlFrame (bug 129909), r=rods
@netscape.com, sr=bzbarsky@mit.edu, a=asa


git-svn-id: svn://10.0.0.236/trunk@125891 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 20:57:24 +00:00
leaf%mozilla.org
f068dae85c adding new files from nsGfxTextControlFrame2.*; part of renaming in bug 129909
git-svn-id: svn://10.0.0.236/trunk@125861 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 17:17:00 +00:00
kmcclusk%netscape.com
622694d09f Removing these unneeded files from from cvs, they have been in the build in years
r=kmcclusk,buster


git-svn-id: svn://10.0.0.236/trunk@82697 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 21:41:14 +00:00
jst%netscape.com
7e0575bfee 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
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
hyatt%netscape.com
8f6502ffb7 Fixes for bugs 17460 and 21656. r=travis
git-svn-id: svn://10.0.0.236/trunk@57811 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 09:28:54 +00:00
tbogard%aol.net
ae5a81e394 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +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
kmcclusk%netscape.com
a09d34ccd1 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.


git-svn-id: svn://10.0.0.236/trunk@52619 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 00:01:13 +00:00
pollmann%netscape.com
b1d9af131b Removing null code. No bug number. r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@52493 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 03:48:04 +00:00
troy%netscape.com
3513334988 Moved a bunch of stuff out to a nsIFrameDebug interface
git-svn-id: svn://10.0.0.236/trunk@52427 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 22:12:45 +00:00
troy%netscape.com
bd46e7911f Changed SetView/GetView to take an additional argument which is the
pres context


git-svn-id: svn://10.0.0.236/trunk@51822 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 04:44:41 +00:00
rods%netscape.com
701a5f632f Moved GetWrapProperty to nsFormControlHelper
Changed add the added of scrollbar sizes for Standard mode
r=kmcclusk, Bug #3040,11285


git-svn-id: svn://10.0.0.236/trunk@51129 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 11:58:53 +00:00
peterl%netscape.com
bba68903df Added namespace ID to the AttributeChanged notification
Part fo the fix for Bug 15153
r=troy


git-svn-id: svn://10.0.0.236/trunk@50888 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 23:16:45 +00:00
rods%netscape.com
00a5361d40 Fixed to use the LookAndFeel object in the PresContext instead of creating one via the ComponentManager
git-svn-id: svn://10.0.0.236/trunk@49419 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 11:23:17 +00:00
pollmann%netscape.com
8791c2aa99 Bug 13058: (Fixed Solaris bustage by removing Inherited typedef)
git-svn-id: svn://10.0.0.236/trunk@47538 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 05:31:31 +00:00
pollmann%netscape.com
26e9fe5487 Backing things out until I can get Solaris bustage figured out.
git-svn-id: svn://10.0.0.236/trunk@47373 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 20:42:26 +00:00
pollmann%netscape.com
77aee0dba6 Bug 13058: Implement nsIStatefulFrame for text inputs and textareas
git-svn-id: svn://10.0.0.236/trunk@47357 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 19:19:55 +00:00
buster%netscape.com
0cb716f347 added GetDefaultColumnWidth(), replacing a hardcoded #define
git-svn-id: svn://10.0.0.236/trunk@45722 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 20:44:17 +00:00
rods%netscape.com
077854306e 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


git-svn-id: svn://10.0.0.236/trunk@44838 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 14:34:54 +00:00
buster%netscape.com
d73d1687de preliminary support for text area wrap
install text control's event listeners ahead of the editor's own default listeners.


git-svn-id: svn://10.0.0.236/trunk@44122 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 06:46:08 +00:00
rods%netscape.com
9ab642bbe5 It now takes into account the suggested size in the calculation
git-svn-id: svn://10.0.0.236/trunk@43594 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:02:20 +00:00
pierre%netscape.com
6a1d462764 breaking up gfx & native widgets
git-svn-id: svn://10.0.0.236/trunk@42404 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 05:11:39 +00:00
buster%netscape.com
cf0489fb83 added support for Ender GFX-rendered text control
made nsTextControlFrame an abstract base class for nsGfxTextControlFrame and
nsNativeTextControlFrame


git-svn-id: svn://10.0.0.236/trunk@35041 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 22:29:54 +00:00
kmcclusk%netscape.com
e999bd483b 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.


git-svn-id: svn://10.0.0.236/trunk@21055 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:13:39 +00:00
kmcclusk%netscape.com
4f668b7081 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.


git-svn-id: svn://10.0.0.236/trunk@20325 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 01:13:28 +00:00
kmcclusk%netscape.com
733b961ac8 Modified GetText to take extra paramater to indicate whether it should return
the current text value or the initial text value


git-svn-id: svn://10.0.0.236/trunk@18948 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 21:58:01 +00:00
kmcclusk%netscape.com
94fed2f8e2 Modified nsHTMLInputElement text fields to go through nsTextControlFrame
for SetValue and GetValue


git-svn-id: svn://10.0.0.236/trunk@18930 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 18:58:11 +00:00
kmcclusk%netscape.com
509a2f333f Added SetProperty/GetProperty methods to nsIFormControlFrame. Added stub
implementations for all classes that derive from nsIFormControlFrame


git-svn-id: svn://10.0.0.236/trunk@18509 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 22:16:27 +00:00
kipp%netscape.com
eaee82d4b3 Revised frame Paint API
git-svn-id: svn://10.0.0.236/trunk@16666 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 15:54:23 +00:00
rods%netscape.com
ea9f077c63 Added painting methods for printing
git-svn-id: svn://10.0.0.236/trunk@16450 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 19:03:36 +00:00
rods%netscape.com
60fe4ee625 Added printing methods
git-svn-id: svn://10.0.0.236/trunk@16157 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 17:53:34 +00:00
troy%netscape.com
01f27b2a31 Added Init() member function to nsIFrame
git-svn-id: svn://10.0.0.236/trunk@15682 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 06:31:43 +00:00
kipp%netscape.com
b527c7f026 Added DumpRegressionData; revised ListTag; added GetFrameName
git-svn-id: svn://10.0.0.236/trunk@14946 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 17:22:29 +00:00
joki%netscape.com
f1462f4d55 Reworking internal event code to use nsIFrame::GetFrameForPoint
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)


git-svn-id: svn://10.0.0.236/trunk@14864 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 05:25:26 +00:00
karnaze%netscape.com
c723661f91 form control content attribute changes (not all) reflected in layout; fixed scrolling on <iframe>, <frame>;
added nsImageControlFrame to handle <input type=image>.


git-svn-id: svn://10.0.0.236/trunk@14312 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 23:30:16 +00:00
karnaze%netscape.com
712e26cd47 generalized PostCreateWidget; better combo box rendering
git-svn-id: svn://10.0.0.236/trunk@12841 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 23:01:44 +00:00
troy%netscape.com
e191c422d9 Eliminated nsIRunaround interface, and folded space manager parameter into
nsHTMLReflowState structure


git-svn-id: svn://10.0.0.236/trunk@11749 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 04:10:00 +00:00
troy%netscape.com
7eac0bfdac Separated reflow process out of nsIFrame and into nsIFrameReflow. Also
added nsIHTMLReflow, which is an HTML specific reflow interface


git-svn-id: svn://10.0.0.236/trunk@11646 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 04:46:11 +00:00
karnaze%netscape.com
ea90ff591e Converted forms to use the new content model classes and better separate content from layout.
git-svn-id: svn://10.0.0.236/trunk@10800 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 17:16:51 +00:00