Граф коммитов

146 Коммитов

Автор SHA1 Сообщение Дата
kipp%netscape.com ba18377496 use new nsHTMLReflowState ctors 1999-03-05 04:19:09 +00:00
evaughan%netscape.com 5665be1965 Fixed mac event bug.
Fixed alignment bug.
1999-03-03 04:04:48 +00:00
pollmann%netscape.com 734e86c883 Handle readonly changes for TextAreas as well as Text Inputs. 1999-03-03 03:06:36 +00:00
kmcclusk%netscape.com 52afc44421 gfx vs native widget rendering can now be specified in the viewer at run-time.
Added methods to GetWidgetRenderingMode and SetWidgetRenderingMode in nsPresContext
Removed NS_GFX_RENDER_FORM_ELEMENTS define, now it uses the GetWidgetRenderingMode
method on the rendering context.
Resurrected Rod's listbox frame-based widget code.
Added -moz-option-selected pseudo attribute to control the appearance of selected items for the listbox frame-based widget.
Added a style rule with attribute selector for -moz-option-selected to the ua.css style sheet.
Modifed nsView::SetVFlags to do a bitwise or instead of bitwise and to set flags.
Modified nsView::HandleEvent to compare mVFlags with NS_VIEW_FLAG_DONT_CHECK_CHILDREN
1999-03-02 22:43:26 +00:00
joki%netscape.com c401b7142e Adding new tab handling and focus support. 1999-03-02 19:19:24 +00:00
brade%netscape.com ed8c8fcc89 add static to LegendHack() to reduce compiler warnings on Macintosh 1999-03-02 15:17:35 +00:00
brade%netscape.com 9d62c2b952 add static to reduce compiler warnings on Macintosh 1999-03-02 15:17:14 +00:00
brade%netscape.com a0e781f91e reduce Macintosh compiler warnings by making function static 1999-03-02 15:15:46 +00:00
evaughan%netscape.com ffe910ebcb Made the image accessible from CSS via list-style-image. 1999-03-02 05:00:51 +00:00
evaughan%netscape.com e45dcff509 Fixed button to respond to the list-style-image property on CSS 1999-03-02 01:25:33 +00:00
karnaze%netscape.com b4549051c8 correctly set max element size on checkbox, radio. Other cleanup. 1999-02-27 03:59:19 +00:00
pollmann%netscape.com 628c8f6245 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
evaughan%netscape.com 4a57fd76ee Removed state info from button renderer. 1999-02-26 08:48:24 +00:00
evaughan%netscape.com ee8ea8e385 Fixed up titled button so hover, focus, active, states work. 1999-02-26 06:41:10 +00:00
troy%netscape.com dfdacc8159 Changed nsIFrame::Init() to take an additional parameter 1999-02-25 03:27:57 +00:00
karnaze%netscape.com 3cf25b042c better sizing of form controls, especially percentage based sizes and max element sizes 1999-02-23 03:48:01 +00:00
mcafee%netscape.com efc3926817 Adding license; added do_QueryInterface() wrappers for nsCOMPtr stuff (Solaris) 1999-02-20 06:05:15 +00:00
evaughan%netscape.com ded20d5f4a Added a new XUL TitledButtonFrame 1999-02-19 18:23:02 +00:00
brade%netscape.com b3b4f0d2c0 add prototype to reduce warnings on Macintosh compiler 1999-02-19 16:13:47 +00:00
kmcclusk%netscape.com 602be9dfc4 Fixed call to ProbePseudoStyleContext in nsButtonControlFrame so it will compile
when NS_GFX_RENDER_FORM_ELEMENTS is defined.
Added checks to nsFileControlFrame::Reflow to make sure the pseudo styles actually
could be loaded. If they can't be loaded it uses the file upload elements style.
Changed file-buttonstyle to file-button and file-textstyle to file-text in ua.css
1999-02-18 22:07:23 +00:00
kmcclusk%netscape.com bc45423c33 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 7b2012fca2 Fixed some errors related to switch to using nsCOMPtr 1999-02-12 18:41:26 +00:00
kipp%netscape.com 5a554d526e COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
peterl%netscape.com 8d65d14ec2 changed all html atoms to lower case 1999-02-12 06:19:07 +00:00
evaughan%netscape.com 40d72f93fd Made the HTML input button gfx rendered and in the netscape look and feel. Minus rounded borders
that CSS doesn't currently support.
1999-02-12 05:20:55 +00:00
rods%netscape.com ace71a78e2 Commented out the rollover code that sets the class to a pseudo-class 1999-02-11 18:36:40 +00:00
troy%netscape.com b27d9f730e API changes for nsIPresContext ResolveStyleContextFor and ResolvePseudoStyleContextFor 1999-02-11 15:56:23 +00:00
kmcclusk%netscape.com b9f6f92462 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 c37ccfbc4c Changed GetNextSibling() to use a pointer argument instead of a reference 1999-02-10 06:13:38 +00:00
troy%netscape.com 5c3d1395f3 Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references
1999-02-10 05:38:18 +00:00
troy%netscape.com b8965b6929 Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
references
1999-02-10 04:17:06 +00:00
troy%netscape.com a9159f71d6 Changed GetAdditionalChildListName() and FirstChild() to use ** instead
of *&
1999-02-10 02:25:01 +00:00
troy%netscape.com c9c1fa187e Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
kmcclusk%netscape.com 3cb8ea4326 Undef'ed NS_GFX_RENDER_FORM_ELEMENTS 1999-02-09 18:31:41 +00:00
kmcclusk%netscape.com c9f82ebd33 Added support to gfx-render radio buttons. Both checkboxes and radio buttons
now use CSS style to get colors for rendering. Checkboxes also use the CSS border rendering
code. Added New utility methods to nsFormControlFrame to PaintCircular backgrounds and
borders. Set compiler directive to gfx-render radiobuttons and checkboxes both for printing
and on-screen display.
1999-02-09 18:25:40 +00:00
kmcclusk%netscape.com 319fe88890 undefined NS_GFX_RENDER_FORM_ELEMENTS 1999-02-05 22:22:40 +00:00
kmcclusk%netscape.com bbf111432f Adjusted checkbox gfx-rendering code to make better looking checkboxes
Created nsFormControlHelper::GetBool and nsFormControlHelper::GetBoolString
utility methods for converting strings into booleans and vice versa.
Modified nsCheckboxControlFrame, nsRadioControlFrame, and nsSelectControlFrame
to use these helpers.
1999-02-05 22:15:35 +00:00
kmcclusk%netscape.com 74ce0fe2c8 Disabled gfx-rendering of form controls. 1999-02-05 19:51:27 +00:00
kmcclusk%netscape.com 64f5bd4ee5 Added code to gfx-render checkboxes using CSS style.
Removed commented out code in nsFormControlFrame and nsFormControlHelper
1999-02-05 19:48:18 +00:00
kmcclusk%netscape.com 8b616336f2 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 0674615a79 Moved ForceDrawFrame from nsComboboxControlFrame to nsFormControlHelper
Removed commented out code in nsFormControlHelper.h.
Modified nsCheckboxControlFrame and nsRadioControlFrame to use ForceDrawFrame
when gfx-rendered.
1999-02-03 18:55:37 +00:00
kmcclusk%netscape.com 7d3824f0d6 Added support to allow form elements to be either GFX-rendered or use widgets.
Work in progress for getting check boxes and radio buttons gfx-rendered.
1999-02-03 17:25:25 +00:00
kmcclusk%netscape.com 65c0812b75 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 29b29e10ca 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 57de44ee8a 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 614736c13d Fixed a couple of memory leaks 1999-01-29 05:05:02 +00:00
kmcclusk%netscape.com ff58ce762b 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 a28965e71e Modified nsHTMLInputElement text fields to go through nsTextControlFrame
for SetValue and GetValue
1999-01-28 18:58:11 +00:00
michaelp%netscape.com 3bfa7f5cd6 modified for new DrawString()/GetWidth() APIs. 1999-01-28 05:03:58 +00:00
rods%netscape.com d45b93363b Added rollover pseudo-class processing for mouse enter and exit 1999-01-27 04:09:12 +00:00