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

442 Коммитов

Автор SHA1 Сообщение Дата
evaughan%netscape.com 75c2437e81 Fixed xul boxes to implement nsIBox interface. 1999-05-09 21:46:24 +00:00
karnaze%netscape.com 25e7ff8cde added vcard_name html attribute. Added GetVcardName in nsFormFrame. 1999-05-08 19:30:57 +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
morse%netscape.com 75ce053f91 take advantage of vcard attribute when submitting forms 1999-05-07 00:18:57 +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
hyatt%netscape.com e67b52e1a4 Fix for bug #5937. 1999-05-05 07:26:03 +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
ftang%netscape.com dd5de800db fix non ASCII form posting for URL encoded enctype. reviewed by karnaze 1999-05-04 19:41:41 +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
pierre%netscape.com 485a118ff9 #3928 "cosmetic problems with popups and lists" 1999-04-27 05:33:36 +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
rickg%netscape.com 8e0367b04c updates to sync with nsString2 api 1999-04-21 23:43:11 +00:00
evaughan%netscape.com 0bec328133 Added a tab control widget. 1999-04-21 22:46:15 +00:00
morse%netscape.com 6bfd4d0070 add cookie viewer and signo viewer 1999-04-21 03:58:55 +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
sfraser%netscape.com e4b0d79daa Removal of nsSelectionRange, nsSelectionPoint, and fixing up resulting include problems. 1999-04-13 01:15:16 +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
pollmann%netscape.com 21780034e4 Bugs 4714 4533 4387. A: Chofmann R: Harishd 1999-04-08 23:47:49 +00:00
joki%netscape.com 1b3046bc1d Fixing keyboard control of forms 1999-04-06 18:55:06 +00:00
karnaze%netscape.com 49da190d0f preliminary work for bug 4534 1999-04-06 04:47:18 +00:00
morse%netscape.com 97b2920821 fix build bustage 1999-04-04 00:29:30 +00:00
troy%netscape.com 89f4258895 Added include of -I$(PUBLIC)\wallet so we can find the include of
nsIWalletService.h
1999-04-03 23:55:15 +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
karnaze%netscape.com a2ba57a987 bug 4141, space bar activating button 1999-03-26 13:47:35 +00:00
kipp%netscape.com 60f52440cb Whacked paint methods to use new constants 1999-03-26 00:39:35 +00:00
briano%netscape.com 29ed08771b Handle NO_STATIC_LIB being set, when all this file does is create a static library. 1999-03-25 21:21:47 +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
karnaze%netscape.com ac8451e2b9 set max element size for hidden element 1999-03-13 12:50:43 +00:00
evaughan%netscape.com 68e34096a0 Fixed disabled bug on buttons. 1999-03-12 23:47:52 +00:00
morse%netscape.com 79d1af55d9 fix for wallet 1999-03-12 23:30:48 +00:00
troy%netscape.com bc8e5d3606 Patch from Bruce Mitchener that fixes an incorrect use of delete 1999-03-11 20:27:54 +00:00
morse%netscape.com 997797e21a changes for wallet 1999-03-10 21:42:45 +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
pierre%netscape.com 242e870001 small change to make it behave like nsCheckboxControlFrame when the WidgetRenderingMode is not initialized. 1999-03-08 04:46:12 +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
pollmann%netscape.com f9e570d534 Fix change notifications for combo boxes. 1999-03-02 03:19:25 +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 3b3d626d1f bug 3347 1999-03-01 19:25:47 +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
kipp%netscape.com cc779556f7 Removed dependency on static constructors 1999-02-26 17:12:16 +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
scc%netscape.com 5f8d7aa381 updated for nsCOMPtr (no implicit construction from raw pointers) owners should check that they agree with my choices for |dont_QueryInterface|, |do_QueryInterface| and |dont_AddRef| 1999-02-18 23:55:10 +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
cyeh%netscape.com af4818f5e3 Remove mozilla/layout/config and use mozilla/config instead. 1999-02-18 18:16:21 +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
kmcclusk%netscape.com 284874c13e added #ifdef XP_PC in nsSelectControlFrame::GetProperty to fix MAC crash
on www.city.net
1999-02-17 01:24:16 +00:00
kmcclusk%netscape.com 76fcd3f069 Added code to get the selected item from the content model during Paint.
Factored code to paint option elements. Listboxes, single+multiselect and
combo boxes now print their state correctly.
1999-02-16 18:57:44 +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
pierre%netscape.com 30df698861 Added checkbox and radiobox size to the LookAndFeel (bug#2923 "Checkboxes don't display ") 1999-02-11 00:51:36 +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