karnaze%netscape.com
3166a2e26e
bug 4141 - space activating a button
1999-03-31 06:02:12 +00:00
joki%netscape.com
1c2882e5e6
Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements)
1999-03-28 22:22:54 +00:00
evaughan%netscape.com
43351bf5de
Added XUL based layout manager.
1999-03-27 00:58:29 +00:00
donm%netscape.com
0a6d95351a
backing out evaughan's changes. tree closed.
1999-03-26 19:39:23 +00:00
evaughan%netscape.com
dc2fa174cc
Added box layout system.
1999-03-26 18:51:08 +00:00
kipp%netscape.com
60f52440cb
Whacked paint methods to use new constants
1999-03-26 00:39:35 +00:00
peterl%netscape.com
32d3372e42
augmented ReResolveStyleContext to capture style change information
1999-03-25 06:43:38 +00:00
kmcclusk%netscape.com
ffdb06e4b0
Various modifications/fixes/cleanup for frame-based listboxes.
...
Set display type to block for option elements in ua.css.
Enable frame-based listboxes when widget render mode is gfx.
1999-03-22 21:32:12 +00:00
hyatt%netscape.com
f015e3ae42
Fixes for the mouseover toolbar button problem. Approved by Chris.
1999-03-18 21:18:00 +00:00
kipp%netscape.com
7ef069cf5a
Removed unused header file include
1999-03-18 21:01:24 +00:00
evaughan%netscape.com
68e34096a0
Fixed disabled bug on buttons.
1999-03-12 23:47:52 +00:00
morse%netscape.com
af1ede39f0
bug fix for single signon
1999-03-10 21:38:34 +00:00
warren%netscape.com
4b2d56fbaa
nsRepository -> nsIComponentManager changes.
1999-03-09 09:44:27 +00:00
evaughan%netscape.com
204a6670eb
1) Implemented regular button and html4 button with a button renderer.
...
2) Fixed ProgressMeter to update correctly when attributes change
3) Fixed sample8.html so that it does not over ride the borders of the HTML4 button this
messed up the active, hover, and disabled states.
1999-03-06 19:43:13 +00:00
troy%netscape.com
6247024d47
Eliminated some code that's no longer needed now that the info is in the
...
HTML reflow state
1999-03-06 01:48:28 +00:00
kipp%netscape.com
599643d249
Partial fix to bug #3094
1999-03-05 19:23:24 +00:00
kipp%netscape.com
95696e90a5
Removed dead include
1999-03-05 19:23:09 +00:00
kipp%netscape.com
fb7aed5151
Removed ref to dead nsFrameReflowState
1999-03-05 15:22:03 +00:00
kipp%netscape.com
9ddafbd9f8
use new nsHTMLReflowState ctors
1999-03-05 04:19:09 +00:00
evaughan%netscape.com
2292d10dc5
Fixed mac event bug.
...
Fixed alignment bug.
1999-03-03 04:04:48 +00:00
pollmann%netscape.com
0ccbd837a4
Handle readonly changes for TextAreas as well as Text Inputs.
1999-03-03 03:06:36 +00:00
kmcclusk%netscape.com
82dac76411
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
0baca6512f
Adding new tab handling and focus support.
1999-03-02 19:19:24 +00:00
brade%netscape.com
8fe328a354
add static to LegendHack() to reduce compiler warnings on Macintosh
1999-03-02 15:17:35 +00:00
brade%netscape.com
0e163f8674
add static to reduce compiler warnings on Macintosh
1999-03-02 15:17:14 +00:00
brade%netscape.com
107ba93c81
reduce Macintosh compiler warnings by making function static
1999-03-02 15:15:46 +00:00
evaughan%netscape.com
c021740cb1
Made the image accessible from CSS via list-style-image.
1999-03-02 05:00:51 +00:00
evaughan%netscape.com
31d9bf023a
Fixed button to respond to the list-style-image property on CSS
1999-03-02 01:25:33 +00:00
karnaze%netscape.com
1c27eb5749
correctly set max element size on checkbox, radio. Other cleanup.
1999-02-27 03:59:19 +00:00
pollmann%netscape.com
6dcb7e30da
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
7f143f5337
Removed state info from button renderer.
1999-02-26 08:48:24 +00:00
evaughan%netscape.com
5fe142b7e4
Fixed up titled button so hover, focus, active, states work.
1999-02-26 06:41:10 +00:00
troy%netscape.com
da4193eab6
Changed nsIFrame::Init() to take an additional parameter
1999-02-25 03:27:57 +00:00
karnaze%netscape.com
009c914f35
better sizing of form controls, especially percentage based sizes and max element sizes
1999-02-23 03:48:01 +00:00
mcafee%netscape.com
ceeab4f5d9
Adding license; added do_QueryInterface() wrappers for nsCOMPtr stuff (Solaris)
1999-02-20 06:05:15 +00:00
evaughan%netscape.com
91eb54570b
Added a new XUL TitledButtonFrame
1999-02-19 18:23:02 +00:00
brade%netscape.com
b553b3670f
add prototype to reduce warnings on Macintosh compiler
1999-02-19 16:13:47 +00:00
kmcclusk%netscape.com
0006f5de38
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
9d22e42a58
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
0debd6f0d1
Fixed some errors related to switch to using nsCOMPtr
1999-02-12 18:41:26 +00:00
kipp%netscape.com
36c243cdc0
COMized nsIPresShell and nsIPresContext
1999-02-12 17:45:58 +00:00
peterl%netscape.com
7f04fb00e6
changed all html atoms to lower case
1999-02-12 06:19:07 +00:00
evaughan%netscape.com
db164f2293
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
785ddfe1a6
Commented out the rollover code that sets the class to a pseudo-class
1999-02-11 18:36:40 +00:00
troy%netscape.com
902190112d
API changes for nsIPresContext ResolveStyleContextFor and ResolvePseudoStyleContextFor
1999-02-11 15:56:23 +00:00
kmcclusk%netscape.com
3d131e6a4a
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
034aa56b83
Changed GetNextSibling() to use a pointer argument instead of a reference
1999-02-10 06:13:38 +00:00
troy%netscape.com
9d570499cf
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
e9bbeeaa9b
Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
...
references
1999-02-10 04:17:06 +00:00
troy%netscape.com
2ac7b86865
Changed GetAdditionalChildListName() and FirstChild() to use ** instead
...
of *&
1999-02-10 02:25:01 +00:00
troy%netscape.com
b974e26cea
Changed some nsIFrame member functions to use ** instead of *& for OUT
...
paremeters
1999-02-10 00:42:56 +00:00
kmcclusk%netscape.com
c40c068de7
Undef'ed NS_GFX_RENDER_FORM_ELEMENTS
1999-02-09 18:31:41 +00:00
kmcclusk%netscape.com
8e1aa657ab
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
220e43ce5a
undefined NS_GFX_RENDER_FORM_ELEMENTS
1999-02-05 22:22:40 +00:00
kmcclusk%netscape.com
75802b29d1
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
2e06d9e70e
Disabled gfx-rendering of form controls.
1999-02-05 19:51:27 +00:00
kmcclusk%netscape.com
ed425fc6f1
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
10fcba177a
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
b0fc5ee1c9
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
4afa831c55
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
d71b7f88d5
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
ab7e565d59
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
78015f31f6
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
cd804349fe
Fixed a couple of memory leaks
1999-01-29 05:05:02 +00:00
kmcclusk%netscape.com
affac5fac7
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
aaa2d0a40d
Modified nsHTMLInputElement text fields to go through nsTextControlFrame
...
for SetValue and GetValue
1999-01-28 18:58:11 +00:00
michaelp%netscape.com
0084e8879d
modified for new DrawString()/GetWidth() APIs.
1999-01-28 05:03:58 +00:00
rods%netscape.com
f065094abf
Added rollover pseudo-class processing for mouse enter and exit
1999-01-27 04:09:12 +00:00
pollmann%netscape.com
2e602c76d7
Bug 1958: Submit x, y coords for unnamed image elements. Submit coords only once.
1999-01-27 00:25:40 +00:00
pollmann%netscape.com
34845beb96
Bug 2279: Don't create widgets for hidden form elements.
1999-01-26 22:11:59 +00:00
rpotts%netscape.com
f1724f97b9
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
4f72556760
Added SetProperty/GetProperty methods to nsIFormControlFrame. Added stub
...
implementations for all classes that derive from nsIFormControlFrame
1999-01-25 22:16:27 +00:00
troy%netscape.com
ff22a7c1f6
Fixed ReflowTemp() so it's doing a legal incremental reflow, and changed
...
Reflow() so it does a minimally acceptable job of handling incremental reflow
commands...
1999-01-22 23:10:02 +00:00
harishd%netscape.com
123e7f3a4c
StyleContext passed onto PaintBorder()/PaintArrow()
1999-01-22 22:35:12 +00:00
harishd%netscape.com
baf7b197c8
StyleContext passed onto PaintArrow()
1999-01-22 22:34:28 +00:00
harishd%netscape.com
2d6c909024
styleContext is passed onto PaintBorder()/PaintArrow()
1999-01-22 22:31:15 +00:00
kmcclusk%netscape.com
53cd03fe10
Added missing methods to nsIFormControlFrame.h
1999-01-22 19:10:10 +00:00
kmcclusk%netscape.com
d5fa03d72d
Added nsIFormControlFrame to the set of files to export
1999-01-22 18:14:23 +00:00
rods%netscape.com
5d1dc74549
Ifdef'ed out the Pluggable event code
1999-01-22 15:56:21 +00:00
rods%netscape.com
dc02794a78
Initial checkin factored code from nsFormControlFrame
1999-01-22 15:47:33 +00:00
rods%netscape.com
43d1411897
initial checkin
1999-01-22 15:41:28 +00:00
rods%netscape.com
64f5a23191
Factored out code for helper functions for determining size and for rendering
1999-01-22 15:32:57 +00:00
rpotts%netscape.com
3aad0278d5
Added support for setting the DISABLED attrivute via the DOM...
1999-01-21 09:51:28 +00:00
pollmann%netscape.com
04c59f0085
Bug 2279: Don't create widgets for hidden form elements.
1999-01-21 04:02:37 +00:00
rods%netscape.com
99b3af960d
Initial checkin
1999-01-18 15:14:00 +00:00
kipp%netscape.com
065905fa0b
Used revised version of nsContainerFrame that uses an nsFrameList instead of a raw nsIFrame*
1999-01-15 22:52:05 +00:00
troy%netscape.com
6d63084a70
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
troy%netscape.com
036e6852f2
Removed the content-parent frame pointer. Now we just have the one geometric
...
parent
1999-01-14 05:16:23 +00:00
pollmann%netscape.com
fbbcce31c9
Bug 2234: Crash on JS Submit().
1999-01-12 23:11:26 +00:00
kipp%netscape.com
cd76455b98
Use new flag defines
1999-01-12 16:42:03 +00:00
brade%netscape.com
e061c6cf15
reduce Macintosh compiler warnings by making functions static/private
1999-01-06 18:45:28 +00:00
brade%netscape.com
8727d91f50
reduce Macintosh compiler warnings by adding prototype
1999-01-06 18:44:59 +00:00
kmcclusk%netscape.com
6cc574b43f
Defaultchecked attribute is set to match the checked attribute just after
...
the radio button or checkbox element is created. Checkboxes and Radio buttons
maintain their current state using the checked attribute stored in the
content model. They no longer use the nsIWidget to maintain their current setting.
Checkboxes and Radio buttons now print correctly. (i.e checked/unchecked state matches the
screen.)
1999-01-06 00:02:27 +00:00
troy%netscape.com
4b3e1eebad
Replaced "maxSize" member if nsReflowState with "availableWidth" and
...
"availableHeight"
1999-01-05 23:31:18 +00:00
troy%netscape.com
4591f9d2ad
Changed width/height constraints in nsHTMLReflowState struct
1998-12-30 17:50:00 +00:00
troy%netscape.com
7b5cc03059
Moved logic that deals with moving absolutely positioned frames out of the
...
flow to the frame construction code
1998-12-29 03:38:16 +00:00
rpotts%netscape.com
0786f8d0d7
Fire the OnSubmit event on the form not the input field...
1998-12-28 21:28:53 +00:00
brade%netscape.com
b7503c538b
attempt to fix build bustage
1998-12-21 18:56:03 +00:00
rods%netscape.com
cccaeefc91
Changed constants to use LookAndFeel values.
1998-12-21 16:52:57 +00:00
troy%netscape.com
9619058141
Changed the frame hierarchy, and changed how scrolling works. Also added
...
nsAreaFrame which replaces nsBodyFrame which is no longer used
1998-12-20 23:29:47 +00:00