Commit Graph

583 Commits

Author SHA1 Message Date
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
rods@netscape.com
226e0b0cb2 removing unneeded native frames and unneeded frame classes that these derived from
fixing checkbox and radiobutton state restore
fixing right btn click on dropdown
adding in initial work for accesskey
bug 17027,26296,27063,7559; carpool a=leaf; r=kmcclusk
2000-02-09 19:34:39 +00:00
pp@ludusdesign.com
baf799923b Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
hyatt@netscape.com
4445e32213 Fixes for bugs 17460 and 21656. r=travis 2000-01-14 09:28:54 +00:00
sfraser@netscape.com
b5b5347ae5 Fix for another part of for 19954 -- convert textarea data to LF termination before saving frame state. r=pollman 1999-12-02 03:12:51 +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
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
rods@netscape.com
4f859d20c2 Removed code where standard mode was incorrectly subtracting border size
r=kmcclusk
1999-10-07 21:37:02 +00:00
rods@netscape.com
ecedce6fbb ifdef out a debug statement 1999-10-01 14:26:40 +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
rods@netscape.com
3adbae91eb when in standard mode and calculating desired size it removes the width of the native border
because it is implicitly added during the calculation
1999-09-03 14:48:26 +00:00
buster@netscape.com
d5de6a51b5 replaced #define DEFAULT_PIXEL_WIDTH with nsTextControlFrame::GetDefaultColumnWidth() 1999-09-02 20:45:21 +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
morse@netscape.com
42c990a692 Remove wallet from layout 1999-07-24 01:39:58 +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
7d9f1cf8e0 bug #5993. Removed references to nsIWidget in form HTML content elements. the form elements
now go through the nsFormControlFrame interface instead. This removes the dependency between
form element content and nsIWidget.
1999-05-13 23:45:40 +00:00
kipp@netscape.com
68aa9f7c60 Reworked frame factory methods; fixed bug 4519 1999-05-11 22:03:29 +00:00
morse@netscape.com
eb9c8b3477 moved single signon out of netlib 1999-04-03 22:56:18 +00:00
joki@netscape.com
f55ce704a2 Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements) 1999-03-28 22:22:54 +00:00
kipp@netscape.com
74c9fdfeaf Whacked paint methods to use new constants 1999-03-26 00:39:35 +00:00
morse@netscape.com
65b3c6696c bug fix for single signon 1999-03-10 21:38:34 +00:00
warren@netscape.com
35d5e6e062 nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
kipp@netscape.com
e67d3d776e Partial fix to bug #3094 1999-03-05 19:23:24 +00:00
pollmann@netscape.com
9ae2a36503 Handle readonly changes for TextAreas as well as Text Inputs. 1999-03-03 03:06:36 +00:00
pollmann@netscape.com
52469b45fa Enable dynamic changing of the readonly attribute.
Works on Linux now.  Win will come on-line later today.
1999-02-26 20:01:48 +00:00
karnaze@netscape.com
06716b96b2 better sizing of form controls, especially percentage based sizes and max element sizes 1999-02-23 03:48:01 +00:00
brade@netscape.com
7b9a9ad3ae add prototype to reduce warnings on Macintosh compiler 1999-02-19 16:13:47 +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
troy@netscape.com
602de2f255 Fixed some errors related to switch to using nsCOMPtr 1999-02-12 18:41:26 +00:00
kipp@netscape.com
74b2988510 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
peterl@netscape.com
3f01d94bb1 changed all html atoms to lower case 1999-02-12 06:19:07 +00:00
troy@netscape.com
f39b9cee08 API changes for nsIPresContext ResolveStyleContextFor and ResolvePseudoStyleContextFor 1999-02-11 15:56:23 +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
troy@netscape.com
b4f8c0fbbe Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
kmcclusk@netscape.com
306d1a62b6 Renamed GetSize(PRInt32* aSize) to GetSizeFromContent to remove conflict with
nsFrame GetSize(nsSize& aSize).
Added check for null mWidget in nsFormControlFrame::HandleEvent
1999-02-03 22:56:50 +00:00
kmcclusk@netscape.com
951bc33488 TextAreas now initialize their content area using default text specified in
the HTML File.
1999-02-01 23:49:21 +00:00
kmcclusk@netscape.com
412f346b3e Modified nsTextControlFrame::Paint to correctly paint the contents of a
multi-line text area.
1999-02-01 23:09:06 +00:00
kmcclusk@netscape.com
5f4f3b6a36 Moved GetPrimaryFrame to nsGenericHTMLElement.
Modifed nsHTMLTextAreaElement to go through it's frame to set and get values
1999-02-01 18:44:59 +00:00
troy@netscape.com
ec34143742 Fixed a couple of memory leaks 1999-01-29 05:05:02 +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