Commit Graph
188 Commits
Author SHA1 Message Date
kipp@netscape.com 68aa9f7c60 Reworked frame factory methods; fixed bug 4519 1999-05-11 22:03:29 +00:00
evaughan@netscape.com b21d38a59f Fixed xul boxes to implement nsIBox interface. 1999-05-09 21:46:24 +00:00
mjudge@netscape.com fa251da6bc 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 80e52903d4 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 adc4de79cc 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 80f2bb5031 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 2cb6c0ca86 removing useless drag info from ::HandleEvent that was copied from nsFrame implementation 1999-05-05 22:29:45 +00:00
karnaze@netscape.com 9ceb8642a6 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 452493b8ac fixed potential divide by 0 1999-04-30 19:50:42 +00:00
pollmann@netscape.com 8f688fa988 Bug 2504: Change mouse pointer over image submits 1999-04-27 22:54:15 +00:00
kipp@netscape.com 9e2b481abe Use shared IID 1999-04-27 22:14:36 +00:00
troy@netscape.com a75181ec88 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 edb3feeda6 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 2b85bec67e bug 4143; bug 2467; removed frame caching in nsFormFrame. 1999-04-27 00:06:03 +00:00
evaughan@netscape.com 1b46c49a7f Made tabs use visibility to hide and show views. 1999-04-25 20:07:45 +00:00
evaughan@netscape.com f4c749dd1d Added a tab control widget. 1999-04-21 22:46:15 +00:00
kmcclusk@netscape.com 4e6cbf8811 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 7927d946e3 Nuked useless includes 1999-04-13 21:52:03 +00:00
kipp@netscape.com 0cf20a5480 Nuked extraneous include 1999-04-13 21:51:52 +00:00
kipp@netscape.com cf3f8a430b Revised include 1999-04-13 21:51:43 +00:00
kmcclusk@netscape.com 6d0ccb0c87 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 0ddf355a80 preliminary work for bug 4534 1999-04-06 04:47:18 +00:00
morse@netscape.com eb9c8b3477 moved single signon out of netlib 1999-04-03 22:56:18 +00:00
sdagley@netscape.com 0911de4d95 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 3506eb6ccd bug 4141 - space activating a button 1999-03-31 06:02:12 +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
evaughan@netscape.com 7c7c346ac6 Added XUL based layout manager. 1999-03-27 00:58:29 +00:00
donm@netscape.com 36696a2e8c backing out evaughan's changes. tree closed. 1999-03-26 19:39:23 +00:00
evaughan@netscape.com 14d0e6458a Added box layout system. 1999-03-26 18:51:08 +00:00
kipp@netscape.com 74c9fdfeaf Whacked paint methods to use new constants 1999-03-26 00:39:35 +00:00
peterl@netscape.com 82aa4e8465 augmented ReResolveStyleContext to capture style change information 1999-03-25 06:43:38 +00:00
kmcclusk@netscape.com 6fe29f4620 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 2a132c1007 Fixes for the mouseover toolbar button problem. Approved by Chris. 1999-03-18 21:18:00 +00:00
kipp@netscape.com 84538e6d86 Removed unused header file include 1999-03-18 21:01:24 +00:00
evaughan@netscape.com 01a451f6c4 Fixed disabled bug on buttons. 1999-03-12 23:47:52 +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
evaughan@netscape.com 526967b52b 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 8b474777ea 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 e67d3d776e Partial fix to bug #3094 1999-03-05 19:23:24 +00:00
kipp@netscape.com 74c87dfac9 Removed dead include 1999-03-05 19:23:09 +00:00
kipp@netscape.com f7e6af213c Removed ref to dead nsFrameReflowState 1999-03-05 15:22:03 +00:00
kipp@netscape.com 4b0544c35e use new nsHTMLReflowState ctors 1999-03-05 04:19:09 +00:00
evaughan@netscape.com e9263c1982 Fixed mac event bug.
Fixed alignment bug.
1999-03-03 04:04:48 +00:00
pollmann@netscape.com 9ae2a36503 Handle readonly changes for TextAreas as well as Text Inputs. 1999-03-03 03:06:36 +00:00
kmcclusk@netscape.com 73485522a4 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 91bba1f092 Adding new tab handling and focus support. 1999-03-02 19:19:24 +00:00
brade@netscape.com eb547943d1 add static to LegendHack() to reduce compiler warnings on Macintosh 1999-03-02 15:17:35 +00:00
brade@netscape.com d1a672b626 add static to reduce compiler warnings on Macintosh 1999-03-02 15:17:14 +00:00
brade@netscape.com cd919bc90f reduce Macintosh compiler warnings by making function static 1999-03-02 15:15:46 +00:00