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

877 Коммитов

Автор SHA1 Сообщение Дата
pavlov%netscape.com 96b4208fe4 window creation changes 1999-07-27 04:27:17 +00:00
joki%netscape.com f1c8421c61 Event fixes to allow key event handling by GFX widgets and fixes for window.defaultStatus. 1999-07-26 15:02:19 +00:00
morse%netscape.com e24534d85b Remove wallet from layout 1999-07-24 01:39:58 +00:00
scc%netscape.com b1c73fa7c7 Fixed boxes to only invalidate and redraw what has changed.
Made min and max sizes work
Made linux not suck!
1999-07-23 00:11:21 +00:00
troy%netscape.com 7a5e4dbdb5 Renamed some nsFrameList member functions 1999-07-22 04:00:57 +00:00
troy%netscape.com c551fe3166 Renamed DeleteFrame() to Destroy() 1999-07-22 02:24:52 +00:00
kmcclusk%netscape.com af9e15b5e3 nsPresContext.cpp,.h - Added eWidgetRendering_PartialGfx as a rendering mode to PresContext.
ua.css - Added select[multiple] rule for multi-select listboxes without a size
Fixed form submission for gfx checkboxes,radiobuttons, and select by rewriting GetNamesValues.
Added nsListControlFrame::GetSizeAttribute and nsListControlFrame::GetNumberOfRows
Added logic to nsCSSFrameConstructor::ConstructSelectFrame and nsListControlFrame::Reflow
to handle the case of a multiselect select without a size specified.
1999-07-20 22:32:41 +00:00
troy%netscape.com 155ed6816a Added 'm' prefix to some of the nsHTMLReflowState data members 1999-07-20 03:41:03 +00:00
rods%netscape.com 0cdcf017b5 changed Invalidate calls to have a FLASE repaint flag 1999-07-16 14:24:51 +00:00
rods%netscape.com d1b9dafb97 commented out repaint for focus 1999-07-16 14:23:48 +00:00
jdunn%netscape.com 3367dc04d6 Adding newline at end... HP requires it 1999-07-16 00:26:47 +00:00
beard%netscape.com 5fe9b75694 Fixing bustage 1999-07-14 23:23:47 +00:00
kmcclusk%netscape.com d42e178f95 fixed bugs #6303, #6753, #6756, #6759
Re-wrote nsComboboxFrame.
removed the obsolete nsHTMLAtoms: comboText,comoTextSelected,comTextSelectedFocus,dropDownVisible,
dropdownHidden, dropDownBtnOut, dropDownBtnPressed,
Added nsHTMLAtoms::combobox, nsLayoutAtoms::popupList
Renamed dropDownList to dropDownListPseudo
Added "arrow.gif" as to be used the background-image for the combobox button
ua.css - added rules for select to differentiate between comboboxes and listboxes.
Added style rules to more closely match the XPTOOLKIT XPWidgets look.
removed the following :-moz-combobox-text, -moz-combobox-textselected
nsIFormControlFrame.h - Added SetSuggestedSize method.
nsButtonControlFrame - Implemented SetSuggestedSize.
nsCSSFrameConstructor.cpp - Rewrote ConstructSelectFrame.
nsIWidget.h -Added GetAbsoluteBounds method.
nsWindow.cpp - Implemented GetAbsoluteBounds.
1999-07-14 22:00:24 +00:00
kipp%netscape.com 87e4c2d72f Removed HaveFixedContent* methods from nsHTMLReflowState and updated code to match (fix bug #7993) 1999-07-07 02:33:17 +00:00
sspitzer%netscape.com ca20b32c35 fix warning 1999-07-06 22:40:54 +00:00
evaughan%netscape.com 54afa7f4f6 Added anonymous node support.
Added splitters
Added Grippies.
1999-06-30 22:17:43 +00:00
pollmann%netscape.com 4a7ea1fd49 Getting cursor from style system: Insert paranoia^H^H^H^H^H^H^H^H^H stability code here. 1999-06-25 01:17:18 +00:00
pollmann%netscape.com e9ee749ccd Use the style system to get the mouse pointer for an image input element. 1999-06-25 00:19:44 +00:00
kmcclusk%netscape.com a8794918c8 Modified gfx-rendered widget styles to more closely match styles
in http://www.mozilla.org/xpfe/nsGFXWidgets.html.
Added check for null mHitFrame in nsListControlFrame::MultipleSelection and
nsListControlFrame::SingleSelection.
1999-06-23 21:50:56 +00:00
kmcclusk%netscape.com b99c5d6f59 Removed commented out code to perform system mouse capture. 1999-06-21 20:46:47 +00:00
kmcclusk%netscape.com 881c29d70e Numerous changes to support gfx-rendered form elements. 1999-06-21 20:41:56 +00:00
peterl%netscape.com 8aed081b91 fixed re-resolve style contexts to handle local pseudo elements
and capture style change information
1999-06-16 06:17:21 +00:00
pinkerton%netscape.com 7a9c1afcd4 fix memory leaks (bug# 8221) 1999-06-15 23:26:32 +00:00
buster%netscape.com bb7e3f641a 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
bruce%cybersight.com 28d6546f4f Explicitly include nsFileSpec.h. This will be necessary for some changes coming post-M7. 1999-06-05 11:49:04 +00:00
nisheeth%netscape.com c670e17ce2 Patch from alecf to do a null pointer check on argument to GetSelectedIndex(). 1999-06-05 00:18:58 +00:00
pinkerton%netscape.com 14062a8586 unpatch leaf's hack in 1.73 since form submission now works correctly. Mac now once again submits the form when return is pressed. 1999-06-03 18:05:40 +00:00
evaughan%netscape.com 4903f45e54 Reworked fieldsets to fix numerous bugs. 1999-06-01 21:52:11 +00:00
kmcclusk%netscape.com c0802d7f21 fix for bug #6971. Added support for clicking and dragging over items in single
and multiselect listboxes. Also supports holding down the shift and ctrl keys
while dragging.
1999-05-28 21:12:09 +00:00
pollmann%netscape.com c43e4a93e8 Bug 3322: NS_CONTROL_CHANGE events call ControlChanged on the form frame. 1999-05-28 01:05:19 +00:00
pierre%netscape.com c88905bc99 #3930 "file selection control displays complete path" 1999-05-28 00:40:18 +00:00
kmcclusk%netscape.com b1ab2535df fixes for bugs #5809, #5852, #6828, #6973.
Added a new test16.html sample to test gfx-rendered widgets to viewer.
Added support for test17.html sample to test printing.
1999-05-27 21:17:10 +00:00
leaf%mozilla.org 9b550a3834 Filtering out form submission in all cases, to get location bar working
for mac. This will be fixed RSN.
1999-05-25 23:25:19 +00:00
evaughan%netscape.com a9d351ef30 Fixed some visibility bugs in order to make the tab widget work correctly. 1999-05-19 22:14:11 +00:00
kmcclusk%netscape.com d86150286d bug #994 Major rework of nsListboxControlFrame to support option groups. Modified ua.css
optgroup > option rule to use padding to offset the option group's options.
1999-05-17 22:36:08 +00:00
mcmullen%netscape.com e1a1ecdf59 Removed string methods from the file widget 1999-05-15 22:01:21 +00:00
kmcclusk%netscape.com 664a8f2a93 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
evaughan%netscape.com 6bba51c9c2 Fixed form submission. 1999-05-13 21:29:57 +00:00
evaughan%netscape.com bf31c42dde Fixed pseudoclass hack to actually use active, hover, focus pseudoclasses. 1999-05-13 01:35:16 +00:00
kipp%netscape.com 4846f41f1f Reworked frame factory methods; fixed bug 4519 1999-05-11 22:03:29 +00:00
evaughan%netscape.com 75c2437e81 Fixed xul boxes to implement nsIBox interface. 1999-05-09 21:46:24 +00:00
mjudge%netscape.com 884bb4bb82 massive checkin for selection modifications and removing static state variables for selection in nsFrame.h. 1999-05-07 21:12:59 +00:00
kmcclusk%netscape.com e18026d96e bug #3547- Modified nsFileControlFrame.cpp to call nsFormFrame::AddFormControlFrame.
bug #5589. Selection area is now calculated using the inherited Reflow rather
than using the calculations used for the native listbox control.
Fixed varous other rendering bugs related to frame-based listboxes.
bug #2797. GetSize is no longer needed in nsListControlFrame and it has been removed.
Fixed frame-based combobox nsComboboxFrame so that will set it's label to the
first option in the drop-down list if a default value has not been specified.
Added optgroup style rules to ua.css. Opt groups now render, but there are remaining
problems with selection.
Modified nsButtonControlFrame::Reflow to call nsFormFrame::AddFormControlFrame.
This fixes a bug where Gfx-rendered submit button's were not working.
Refactored code in nsListControlFrame in preparation for supporting option groups.
Refactored selection code into SingleSelect and MultiSelect paths.
Removed unused code in nsListControlFrame.
Removed mSelectedFrame member variable. It is no longer needed.
Fixed nsListControlFrame::SetProperty so that it will toggle the selection in a
single select listbox.
1999-05-07 20:30:16 +00:00
sfraser%netscape.com 25cfdd337c If you don't get an nsIFileWidget, don't just go ahead and call methods on it. 1999-05-07 04:54:43 +00:00
cyeh%netscape.com 8a1db8783c backout mjudge checkin against closed tree. it also breaks mac as well, so
mjudge will try again when tree reopens
1999-05-05 23:05:41 +00:00
mjudge%netscape.com 93b400fb66 removing useless drag info from ::HandleEvent that was copied from nsFrame implementation 1999-05-05 22:29:45 +00:00
karnaze%netscape.com 543cde28d8 bug 3109 - nsFieldSetFrame::SetInitialChildList can deal with legend not being first frame in list 1999-05-04 21:35:05 +00:00
karnaze%netscape.com 07f3958fb2 fixed potential divide by 0 1999-04-30 19:50:42 +00:00
pollmann%netscape.com c81aec2473 Bug 2504: Change mouse pointer over image submits 1999-04-27 22:54:15 +00:00
kipp%netscape.com 5c6680e4b7 Use shared IID 1999-04-27 22:14:36 +00:00
troy%netscape.com d686fa3f6e Removed a function that wasn't needed and that would leak any child frames
that were passed in
1999-04-27 20:28:56 +00:00
troy%netscape.com 28289643e0 Removed some code that wasn't needed and would cause any child frames
passed in to be leaked
1999-04-27 20:26:14 +00:00
karnaze%netscape.com 3c422499b4 bug 4143; bug 2467; removed frame caching in nsFormFrame. 1999-04-27 00:06:03 +00:00
evaughan%netscape.com 430288e8b8 Made tabs use visibility to hide and show views. 1999-04-25 20:07:45 +00:00
evaughan%netscape.com 0bec328133 Added a tab control widget. 1999-04-21 22:46:15 +00:00
kmcclusk%netscape.com 848b49f05b fix for bug #3162, Removed #ifndef MAC in the nsSelectControlFrame::GetProperty.
The Mac now supports native combo box widgets so it no longer will crash in GetProperty
with a null mWidget field.
Modified nsComboboxControlFrame::HandleEvents. MouseExit from the combox rect now
initiates mouse capture on the drop-down list.
Modified nsCSSFrameConstructor::ConstructSelectFrame to initialize the drop-down list
for frame-based comboboxes as hidden.
Added a nsIListControlFrame::CaptureMouseEvents method.
Implemented nsListControlFrame::CaptureMouseEvents.
1999-04-16 19:28:12 +00:00
kipp%netscape.com a0b4329e22 Nuked useless includes 1999-04-13 21:52:03 +00:00
kipp%netscape.com 9b2e823a27 Nuked extraneous include 1999-04-13 21:51:52 +00:00
kipp%netscape.com cb0424211b Revised include 1999-04-13 21:51:43 +00:00
kmcclusk%netscape.com a2ffe366a4 Enabled frame-based comboboxes when widget rendering mode is gfx.
Major changes to nsComboboxControlFrame:
Removed commented out code + nsIPluggableEventListener references.
Implemented nsComboboxControlFrame::GetNamesValues
Implemented nsComboboxControlFrame::SetProperty GetProperty methods
Fixed references to previously freed memory in nsComboboxControlFrame::ReResolveStyleContext
Modified ua.css style rules for dropdown-visible, drodown-hidden to have -moz- prefix.
Added -moz-dropdown-btn-out and -moz-dropdown-btn-pressed, -moz-dropdown-list rules.
Modified nsListControlFrame.cpp to calculate the width of the dropdown list for combo boxes correctly
Added nsListControlFrame::GetProperty and SetProperty methods.
Modified nsCSSFrameConstructor::ConstructSelectFrame to setup combobox.
1999-04-12 22:14:31 +00:00
karnaze%netscape.com 49da190d0f preliminary work for bug 4534 1999-04-06 04:47:18 +00:00
morse%netscape.com 453fb56d86 moved single signon out of netlib 1999-04-03 22:56:18 +00:00
sdagley%netscape.com dc3a70b347 Changed prompt for selecting a file from "FileWidget Title <here> mode = save" to "File Upload" to match 4.x. 1999-04-03 02:32:46 +00:00
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
pierre%netscape.com 331f9386ca Fix forms: XP_MAC code was missing in GetHorizontalInsidePadding and GetVerticalInsidePadding 1998-12-20 13:18:10 +00:00
peterl%netscape.com 887cd5f867 sync to new attribute api 1998-12-20 01:21:23 +00:00
kipp%netscape.com c29e5116c7 Revised frame Paint API 1998-12-18 15:54:23 +00:00
kipp%netscape.com 45fc930a5a Partial whack at supporting more accurate max-element-size computations 1998-12-17 18:55:42 +00:00
kmcclusk%netscape.com 3e16681c3f Moved most of the printer paint code to nsFormControlFrame. Added
autodoc compatible comments.
1998-12-16 18:12:55 +00:00
warren%netscape.com 0580a8e5c4 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
rods%netscape.com ba1b5dbf7c Added painting methods for printing 1998-12-15 19:03:36 +00:00
kmcclusk%netscape.com e2fe7fcefb Removed temporary ReflowWithNoWidget method from nsFormControlFrame.
Reflow without a widget is now handled by the standard Reflow method.
1998-12-10 18:47:02 +00:00
rods%netscape.com 64c2b7f4c6 Added printing methods 1998-12-10 17:53:34 +00:00
kmcclusk%netscape.com 2c74221f9c Changes to actually print checkbox's and radiobuttons under Windows.
No longer need special offset's during printing. nsFormControlFrame now detects
when to gfx render the widgets.
1998-12-10 17:29:13 +00:00
karnaze%netscape.com 4408592081 fixed bug 1806 1998-12-10 17:22:31 +00:00
harishd%netscape.com 17a3189fde No change 1998-12-07 19:00:45 +00:00
kmcclusk%netscape.com 9868c9a0f9 Added Windows printing code for radio buttons. 1998-12-04 22:53:45 +00:00
kmcclusk%netscape.com 86a2bd4b85 Added code to GFX-render checkbox's under Windows when printing. 1998-12-04 18:33:34 +00:00
troy%netscape.com ae7e0ae454 Removed explict call of base class constructor 1998-12-03 07:22:31 +00:00
troy%netscape.com 2a4b2c503f Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
kipp%netscape.com 1b3c96e6a4 Port to revised pres-context API 1998-11-26 18:14:41 +00:00
kipp%netscape.com 1ed8e1edae Fixed to not subtract out borders/padding when unconstrained height reflow is occuring 1998-11-26 18:14:17 +00:00
joki%netscape.com e7f70ce9ce Add click event support for every element and initial keypress event support 1998-11-24 07:46:58 +00:00
rpotts%netscape.com 2ffc0ee62a Added a missing NS_RELEASE which was causing the URL and webshell to hang around... 1998-11-24 02:07:27 +00:00
troy%netscape.com b8e18747a2 Added missing NS_RELEASE() to GetWidget() function 1998-11-23 04:41:51 +00:00
joki%netscape.com b3039514cf Fixing a submit/reset event bug, frame destruction reentrancy bug, and an imagemap bug. 1998-11-21 00:19:36 +00:00
kipp%netscape.com 22b57f3531 Use new classname for base class; port to updated nsLeafFrame methods 1998-11-20 17:22:08 +00:00
kipp%netscape.com a6926809f0 Added DumpRegressionData; revised ListTag; added GetFrameName 1998-11-19 17:22:29 +00:00
troy%netscape.com 60863f9b77 Fixed SetInitialChildList() so "frame" doesn't get reset after processing
the legend frame
1998-11-18 22:14:55 +00:00
joki%netscape.com 77fd9c2652 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 cbcbe77b8a update for single signon 1998-11-18 04:38:13 +00:00
peterl%netscape.com 265c4ca8a7 cleaned up cursor style handling 1998-11-18 02:11:54 +00:00
michaelp%netscape.com 7a9e1a4bc1 changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00
karnaze%netscape.com cce53e947f bug 1226 for form control with native widgets. Other controls are still not working. 1998-11-13 23:13:42 +00:00
troy%netscape.com 527ee073f8 Renamed Init() to SetInitialChildList() and added an additional parameter
for the name of the child list
1998-11-10 06:05:32 +00:00
karnaze%netscape.com aec75f892e 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 3006e7c7a3 Changed PostCreateWidget() code to use the "default value" when setting
the widget's initial value
1998-11-07 17:47:57 +00:00
michaelp%netscape.com dff35cf838 removed widget parameters from nsIView::Init(). added CreateWidget() and SetWidget()
APIs to replace this functionality. also added CreateScrollControls() to
nsIScrollableView.
1998-11-04 04:14:10 +00:00
peterl%netscape.com cedec7bc27 sync to style resolution api changes 1998-11-03 20:33:43 +00:00
michaelp%netscape.com d2b75b1ba9 changed nsIView::Init() so that it no longer takes an opacity value. this
allows the view manager to maintain global state re: opacity.
1998-11-03 06:36:36 +00:00
troy%netscape.com fe4e76d9d9 Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight()
1998-11-01 01:29:00 +00:00
karnaze%netscape.com 94fb2992f1 initial support for opacity in html 4 button 1998-10-30 19:20:39 +00:00
karnaze%netscape.com f50e55787a nsIFormControlFrames initiate insertion into nsFormFrame's list;
turned off url encoding of '.' and '_" to match Nav
fixed bug where non clicked buttons submitted data;
fixed bug where <select>s with initial values were not submitting that value;
1998-10-30 18:05:29 +00:00
kipp%netscape.com 4cd1d90fac Fixed bug #1154 - made fieldset frame aware of a constrained width on itself and pass that through to a child body 1998-10-28 04:11:14 +00:00
michaelp%netscape.com 15de205f12 changes for removal of zindex from nsIView::Init(). 1998-10-27 03:37:03 +00:00
karnaze%netscape.com 2a0c2366bb implemented <LABEL>; document maintains list of forms as created; form element properly releases form controls. 1998-10-22 23:00:37 +00:00
karnaze%netscape.com 620b8538a5 support for constrained width, height 1998-10-19 23:02:41 +00:00
karnaze%netscape.com 98eb658b89 fixed bugs 1130, 1132, 1133 1998-10-19 20:37:40 +00:00
karnaze%netscape.com 9fb22bd084 html 4 <BUTTON> basic functionality 1998-10-17 00:35:32 +00:00
karnaze%netscape.com 37f2d06fe4 generalized PostCreateWidget; better combo box rendering 1998-10-14 23:01:44 +00:00
karnaze%netscape.com c82d985b8a fixed bug 958, checkboxes wrong background when not checked, select always multiple, text & texarea not reset. html 4 button work in progress. 1998-10-13 21:31:26 +00:00
kipp%netscape.com a77548baff Removed nsCSSLayout::GetStyleSize and converted callers to use state in the html reflow state 1998-10-12 17:00:32 +00:00
kipp%netscape.com ea5a5735f5 Added an nsIPresContext& to html-reflow-state's ctors and used it to implement better percentage width/height handling 1998-10-12 14:48:02 +00:00
troy%netscape.com d25a9a35a2 Removed GetContentIndex() from nsIFrame 1998-10-08 20:35:16 +00:00
karnaze%netscape.com 63f45a785b inline, shrinkwrap support for fieldsets, legneds 1998-10-08 19:04:57 +00:00
dcone%netscape.com 4c099da38f fixed some small declaration problems 1998-10-08 17:48:50 +00:00
karnaze%netscape.com 42797648cf fieldset, legend support. fixed bug #987 1998-10-08 04:38:41 +00:00
troy%netscape.com 7aceb4270d Eliminated nsIRunaround interface, and folded space manager parameter into
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
michaelp%netscape.com 9b82a28284 modified for new fontmetrics/renderingcontext. 1998-10-02 01:12:39 +00:00
troy%netscape.com ba3c7125c2 Separated reflow process out of nsIFrame and into nsIFrameReflow. Also
added nsIHTMLReflow, which is an HTML specific reflow interface
1998-10-01 04:46:11 +00:00
michaelp%netscape.com 620875cfdf we no longer have a public font cache. 1998-09-30 19:01:46 +00:00
pinkerton%netscape.com 9fb7d341f7 better fix for iterator problem. 1998-09-28 22:34:44 +00:00
pinkerton%netscape.com 7ef6815b7a Fix mac build bustage. Variables declared in the init section of a loop are not valid beyond the scope of the loop (regardless of what VC++ says). 1998-09-28 22:33:47 +00:00
karnaze%netscape.com 649786e2e2 bugs 642, 643; also removed unused files. 1998-09-28 21:32:24 +00:00
kipp%netscape.com a388e31cbd Fixed up includes to not depend on old content model classes 1998-09-24 21:37:45 +00:00
troy%netscape.com f54279e62f Removed mChildCount from nsContainerFrame 1998-09-24 17:56:35 +00:00
karnaze%netscape.com 64c27c4711 forgot to add in last checkin 1998-09-23 17:44:33 +00:00
karnaze%netscape.com fb883f1869 Converted forms to use the new content model classes and better separate content from layout. 1998-09-23 17:16:51 +00:00