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

208 Коммитов

Автор SHA1 Сообщение Дата
rods%netscape.com 6f7b0bfbe0 Removed GetScreenHeight and using the one in nsFormControlFrame
b=25774 r=kmcclusk
2000-03-18 14:20:03 +00:00
rods%netscape.com 240e260ffe turning off debug #defines 2000-03-15 15:47:11 +00:00
rods%netscape.com ef269b8196 nsITextContent needed to be included not forwarded. 2000-03-07 16:45:21 +00:00
rods%netscape.com 92ca580100 Fixed Combobox and ListBox frame to be more effecient in processing reflows
added Block and text frame for displaying the selected option for the combobox
Fixes Bugs 30463, 28835, 29544
r=buster,kmcclusk a=jar
2000-03-07 15:54:31 +00:00
rods%netscape.com 566edd34e3 Backout plan, this check only fixes bug 28628
a=jar
2000-03-03 07:14:58 +00:00
rods%netscape.com f5033e5feb added include instead of the class decl.
r=waterson
2000-03-03 05:06:03 +00:00
rods%netscape.com 3aecf61eed modified the reflow method for better handling incremental and for optimization
b=28593, r=buster,kmclusk a=jar
2000-03-03 04:28:59 +00:00
rods%netscape.com 1539b1b9c3 removing unneeded native frames and unneeded frame classes that these derived from
fixing checkbox and radiobutton state restore
fixing right btn click on dropdown
adding in initial work for accesskey
bug 17027,26296,27063,7559; carpool a=leaf; r=kmcclusk
2000-02-09 19:34:39 +00:00
rods%netscape.com 29f4dad61e added the caching of the restore state until the list frame gets reset
removed the positioning of the dropdown at the bottom of reflow
r kmcclusk b=21945,25059
2000-01-31 23:59:55 +00:00
rods%netscape.com 42afe24660 using correct usesage pattern for getting and seeting the FrameState
Added in my new reflow code with an ifdef so I can work on it and fix other bugs
fixed the checking of return codes for getHTMLAttr
removed ShouldScrollFrameIntoView, the presshell can now do this.
also commented out the call to Position the Dropdown
r=dcone b=24292
2000-01-28 15:24:49 +00:00
rods%netscape.com 364d22bb8c changed signature of GetFont b=905 r=dcone 2000-01-25 15:25:46 +00:00
troy%netscape.com 8a78d916a5 b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
hyatt%netscape.com e740cdb714 Fixes for bugs 17460 and 21656. r=travis 2000-01-14 09:28:54 +00:00
rods%netscape.com b01cef4a9a The combobox would be scrolled into view if some portion of it is visible.
b 23068 r=attintasi
2000-01-13 23:52:53 +00:00
rods%netscape.com a5b48b3896 Added unconstrainted reflow optimizations
r=kmcclusk,dcone bug=12653
2000-01-09 01:52:17 +00:00
rods%netscape.com de428bbd80 backed out all changes from today (1/5/2000) 2000-01-05 16:42:47 +00:00
rods%netscape.com 05e6af0c80 Added unconstrainted reflow optimizations
reworked reflow to more accurately calculate its size
r=kmcclusk,dcone bug=12653
2000-01-05 15:46:29 +00:00
rods%netscape.com 063e7d3511 Added experimental ifdef;ed but turned for reducing the number of resize reflows,
basically we ignore them and pass back our most recently reflowed size
r=karnaze bug=22063
1999-12-22 19:46:28 +00:00
rods%netscape.com 9da2c4a788 temprary fix for combobox dropdowns that jump all around.
changed the way a temp nsSize was being created.
removed all the dom listener interfaces and code (they weren't being used)
r=beard,self a=chofmann bug 19416, 20957, 19300, 20250
1999-12-14 22:22:00 +00:00
rods%netscape.com 3a60daace3 Added a "flags" variable for combobox creation
also fixed a a small problem with border padding being added in for fixed size comboboxes
r=self,  bug 19382
1999-12-05 20:43:18 +00:00
tbogard%aol.net af1ce8d410 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
rods%netscape.com 7d764bab17 added bool parm to is DoneAddinContent r=dcone bug 18241 1999-11-19 15:46:20 +00:00
rods%netscape.com 854e72dc25 Added MakeSureSomethingIsSelected to the combobox so the ListBox can
call it after it is initialized.
1999-11-16 22:47:23 +00:00
rods%netscape.com dfebb59b9d Added new method "DoneAddingContent" so the select frame can be told that all the content has been added
Reworked the select code to keep the state as to whether all the content and/or all the frames
have been created and then whether it is initialized
r=self&kmcclusk, bug 17965
1999-11-11 22:13:33 +00:00
dmose%mozilla.org 5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
pollmann%netscape.com fa50777353 Removing null code. No bug number. r=nisheeth 1999-11-02 01:50:15 +00:00
troy%netscape.com 1585a751fb Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
troy%netscape.com 87afecabc0 Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
pollmann%netscape.com f7222cc9f3 Bug 15841: Don't default to selecting item 0 of a listbox
Bug 15769: Default select item 0 when adding or removing opt to combo
r=harishd
1999-10-12 08:47:29 +00:00
pollmann%netscape.com 9fff77bf97 Bug 15170: Implement onchange notification for list boxes 1999-10-05 23:43:06 +00:00
rods%netscape.com 40bda71f57 Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
Removed focus listener and ForcedRedraws
1999-09-30 11:36:32 +00:00
rods%netscape.com 256480c581 Added nsIRollupListener for rolling up the dropdown 1999-09-21 21:20:50 +00:00
pollmann%netscape.com b4451b8526 Bug 13058: (Fixed Solaris bustage by removing Inherited typedef) 1999-09-15 05:31:31 +00:00
pollmann%netscape.com c6ea67797b Backing things out until I can get Solaris bustage figured out. 1999-09-14 20:42:26 +00:00
pollmann%netscape.com 8dd16c6263 Bug 13058: Implement nsIStatefulFrame for selects. Some memory leak fixes. Plus the usual plethora of bugfixes for native selects 1999-09-14 19:37:45 +00:00
rods%netscape.com fea9cdf36b cleaned up some code
add method to get the absolute rect of the combobox frame for hit detectio
now drop downs drop down under the select
1999-09-13 23:20:50 +00:00
peterl%netscape.com 25d7829a4e added accessors for additional style contexts 1999-09-03 23:36:32 +00:00
rods%netscape.com 0fd6268956 removing dom listeners on descruction
exposed absolutely positioning of the dropdown
now tries to SyncFrameWithView
1999-08-31 13:22:40 +00:00
pollmann%netscape.com 22fef24c59 Cleanup, and bugfixes for bug 12475 and 12350 1999-08-27 03:58:13 +00:00
rods%netscape.com 6cf112a833 Completely reworked the select GFX object - List and Combobox, it now does all event processing
via DOM listeners instead of through the frames
1999-08-26 14:54:07 +00:00
rods%netscape.com fb5366bfb6 Added GetDropDown method to return the nsListControlframe 1999-08-23 14:05:37 +00:00
pollmann%netscape.com 5b4a7ad743 Bug 3256: Add ScrollIntoView() method to form frame objects. 1999-08-21 00:09:24 +00:00
rods%netscape.com 0764b680ff Now uses the button for the display area and uses the new selected index methods from the ListControlFrame 1999-08-19 14:11:59 +00:00
rods%netscape.com 0701d68531 Add GetFrameForPoint to return the combobox when it is disabled. Added disabled code. 1999-08-10 19:25:22 +00:00
rods%netscape.com faa5568c70 Made the Combobox a nsIDOMFocusListener, so it can set the focus on the "display"
content when focus goes to the button or the combobox itself
1999-08-06 14:13:20 +00:00
rods%netscape.com 8d5807e765 Made many changes to fix several bugs 1999-07-28 21:38:08 +00:00
troy%netscape.com c551fe3166 Renamed DeleteFrame() to Destroy() 1999-07-22 02:24:52 +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
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 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
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
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
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
peterl%netscape.com 32d3372e42 augmented ReResolveStyleContext to capture style change information 1999-03-25 06:43:38 +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
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
rods%netscape.com 5d1dc74549 Ifdef'ed out the Pluggable event code 1999-01-22 15:56:21 +00:00
rods%netscape.com 99b3af960d Initial checkin 1999-01-18 15:14:00 +00:00