Commit Graph

60 Commits

Author SHA1 Message Date
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
kmcclusk@netscape.com
79593c4f72 Modified nsHTMLInputElement text fields to go through nsTextControlFrame
for SetValue and GetValue
1999-01-28 18:58:11 +00:00
michaelp@netscape.com
bd06216ab8 modified for new DrawString()/GetWidth() APIs. 1999-01-28 05:03:58 +00:00
rpotts@netscape.com
1b4772b3ed The AttributeChanged(...) method of all form controls now call their base class AttributeChanged() method. Also implemented the disabled attribute in the base class... 1999-01-26 07:57:54 +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
rods@netscape.com
8ced71d9bf Factored out code for helper functions for determining size and for rendering 1999-01-22 15:32:57 +00:00
troy@netscape.com
217ab2bc29 Fix for bug #1998. Now we render the background image over the padding area and not over the border area 1999-01-15 18:25:58 +00:00
rpotts@netscape.com
0a38e3158c Fire the OnSubmit event on the form not the input field... 1998-12-28 21:28:53 +00:00
brade@netscape.com
ec8bb7c682 attempt to fix build bustage 1998-12-21 18:56:03 +00:00
rods@netscape.com
acbf73eafc Changed constants to use LookAndFeel values. 1998-12-21 16:52:57 +00:00
pierre@netscape.com
127b061be0 Fix forms: XP_MAC code was missing in GetHorizontalInsidePadding and GetVerticalInsidePadding 1998-12-20 13:18:10 +00:00
kipp@netscape.com
1e10a83138 Revised frame Paint API 1998-12-18 15:54:23 +00:00
kmcclusk@netscape.com
3c1075b74e Moved most of the printer paint code to nsFormControlFrame. Added
autodoc compatible comments.
1998-12-16 18:12:55 +00:00
warren@netscape.com
4aaec0bad1 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +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
karnaze@netscape.com
c532221809 fixed bug 1806 1998-12-10 17:22:31 +00:00
troy@netscape.com
e602e25924 Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
rpotts@netscape.com
ddf55dc40e Added a missing NS_RELEASE which was causing the URL and webshell to hang around... 1998-11-24 02:07:27 +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
morse@netscape.com
80e092d29a update for single signon 1998-11-18 04:38:13 +00:00
karnaze@netscape.com
3c901a8811 form control content attribute changes (not all) reflected in layout; fixed scrolling on <iframe>, <frame>;
added nsImageControlFrame to handle <input type=image>.
1998-11-09 23:30:16 +00:00
troy@netscape.com
97c13ac079 Changed PostCreateWidget() code to use the "default value" when setting
the widget's initial value
1998-11-07 17:47:57 +00:00