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

608 Коммитов

Автор SHA1 Сообщение Дата
leaf%mozilla.org d9cb231ace 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
pollmann%netscape.com 93d4bc38e1 Bug 2999: Option values of "" handled correctly now R=vidur A=chofmann 1999-05-20 23:25:34 +00:00
vidur%netscape.com c21d4f34bb Fix for bug 6843. Option.selected returns the correct value for non-multi-selects. 1999-05-20 23:24:06 +00:00
hyatt%netscape.com dddc71fea8 Fixes for bugs 6746 and 6747. Approved by chofmann@netscape.com. 1999-05-20 06:39:37 +00:00
evaughan%netscape.com 2b76d2dc93 Fixed some visibility bugs in order to make the tab widget work correctly. 1999-05-19 22:14:11 +00:00
pollmann%netscape.com 60ca31b788 Bug 3187: Add widget update on option creation and destruction. (3 of 3) 1999-05-19 04:37:41 +00:00
pollmann%netscape.com 49b2fa20b5 Bug 3322: onChange won't be sent when the combo box is first clicked now. (2 of x) 1999-05-19 03:37:23 +00:00
kmcclusk%netscape.com ab4f0a0584 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
morse%netscape.com 93987719df remember wallet decisions on a url-specific basis 1999-05-16 19:36:25 +00:00
mcmullen%netscape.com e8ee5c8aa3 Removed string methods from the file widget 1999-05-15 22:01:21 +00:00
morse%netscape.com 8dc60dc5f2 fix bug 6168 1999-05-14 06:54:29 +00:00
kmcclusk%netscape.com bdce020a9a 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 522e0f5680 Fixed form submission. 1999-05-13 21:29:57 +00:00
evaughan%netscape.com 7223c9bfe4 Fixed pseudoclass hack to actually use active, hover, focus pseudoclasses. 1999-05-13 01:35:16 +00:00
kipp%netscape.com fea30bc4eb Reworked frame factory methods; fixed bug 4519 1999-05-11 22:03:29 +00:00
morse%netscape.com ac3e7339bf get wallet editor working again after someone changed behavior of docURL 1999-05-10 20:53:35 +00:00
evaughan%netscape.com eefc2545c2 Fixed xul boxes to implement nsIBox interface. 1999-05-09 21:46:24 +00:00
karnaze%netscape.com 73330eac5e added vcard_name html attribute. Added GetVcardName in nsFormFrame. 1999-05-08 19:30:57 +00:00
mjudge%netscape.com 85afd8f29d 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 b447bbea26 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 9b1a2f8d7e 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 3c4a5ec5b8 take advantage of vcard attribute when submitting forms 1999-05-07 00:18:57 +00:00
cyeh%netscape.com 8f54a21774 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 802f66ab7f removing useless drag info from ::HandleEvent that was copied from nsFrame implementation 1999-05-05 22:29:45 +00:00
hyatt%netscape.com 44e7c06a69 Fix for bug #5937. 1999-05-05 07:26:03 +00:00
karnaze%netscape.com 3ce64a2a9a 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 b124b2d125 fix non ASCII form posting for URL encoded enctype. reviewed by karnaze 1999-05-04 19:41:41 +00:00
karnaze%netscape.com 291058d2b5 fixed potential divide by 0 1999-04-30 19:50:42 +00:00
pollmann%netscape.com 70ca25253b Bug 2504: Change mouse pointer over image submits 1999-04-27 22:54:15 +00:00
kipp%netscape.com a2d2d07781 Use shared IID 1999-04-27 22:14:36 +00:00
troy%netscape.com c9c0d90c06 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 da0492067a 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 6dd646508d #3928 "cosmetic problems with popups and lists" 1999-04-27 05:33:36 +00:00
karnaze%netscape.com 00e49d0539 bug 4143; bug 2467; removed frame caching in nsFormFrame. 1999-04-27 00:06:03 +00:00
evaughan%netscape.com 64ca40d4a9 Made tabs use visibility to hide and show views. 1999-04-25 20:07:45 +00:00
rickg%netscape.com 01301cb765 updates to sync with nsString2 api 1999-04-21 23:43:11 +00:00
evaughan%netscape.com f8ef699adb Added a tab control widget. 1999-04-21 22:46:15 +00:00
morse%netscape.com 82be350478 add cookie viewer and signo viewer 1999-04-21 03:58:55 +00:00
kmcclusk%netscape.com f928d919b1 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 2df6116e6a Nuked useless includes 1999-04-13 21:52:03 +00:00
kipp%netscape.com 7a0a62f7b6 Nuked extraneous include 1999-04-13 21:51:52 +00:00
kipp%netscape.com d75345a25f Revised include 1999-04-13 21:51:43 +00:00
sfraser%netscape.com bbe5a4f210 Removal of nsSelectionRange, nsSelectionPoint, and fixing up resulting include problems. 1999-04-13 01:15:16 +00:00
kmcclusk%netscape.com a1fecd8f08 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 8588b22533 Bugs 4714 4533 4387. A: Chofmann R: Harishd 1999-04-08 23:47:49 +00:00
joki%netscape.com 42c39ebb55 Fixing keyboard control of forms 1999-04-06 18:55:06 +00:00
karnaze%netscape.com 04718c3c4f preliminary work for bug 4534 1999-04-06 04:47:18 +00:00
morse%netscape.com 134cd555ac fix build bustage 1999-04-04 00:29:30 +00:00
troy%netscape.com b2f4c57638 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 c2cd80222c moved single signon out of netlib 1999-04-03 22:56:18 +00:00
sdagley%netscape.com e7b7d2af92 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 258a6b644a bug 4141 - space activating a button 1999-03-31 06:02:12 +00:00
joki%netscape.com 393a3e937e 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 0835fb2da4 Added XUL based layout manager. 1999-03-27 00:58:29 +00:00
donm%netscape.com 9a4f6969a9 backing out evaughan's changes. tree closed. 1999-03-26 19:39:23 +00:00
evaughan%netscape.com e637847edd Added box layout system. 1999-03-26 18:51:08 +00:00
karnaze%netscape.com f1125c933b bug 4141, space bar activating button 1999-03-26 13:47:35 +00:00
kipp%netscape.com fab8db134e Whacked paint methods to use new constants 1999-03-26 00:39:35 +00:00
briano%netscape.com cebfc14fd8 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 78240897f9 augmented ReResolveStyleContext to capture style change information 1999-03-25 06:43:38 +00:00
kmcclusk%netscape.com 3ecd16ef89 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 6647377172 Fixes for the mouseover toolbar button problem. Approved by Chris. 1999-03-18 21:18:00 +00:00
kipp%netscape.com 016853ec2b Removed unused header file include 1999-03-18 21:01:24 +00:00
karnaze%netscape.com 782408440c set max element size for hidden element 1999-03-13 12:50:43 +00:00
evaughan%netscape.com 6d4d57e7a6 Fixed disabled bug on buttons. 1999-03-12 23:47:52 +00:00
morse%netscape.com 93f037d8bf fix for wallet 1999-03-12 23:30:48 +00:00
troy%netscape.com 4302a2b765 Patch from Bruce Mitchener that fixes an incorrect use of delete 1999-03-11 20:27:54 +00:00
morse%netscape.com 2fc6feebe9 changes for wallet 1999-03-10 21:42:45 +00:00
morse%netscape.com 9e26773a0f bug fix for single signon 1999-03-10 21:38:34 +00:00
warren%netscape.com c50687b845 nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
pierre%netscape.com 89d5384690 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 b5c00a443c 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 ae25a99e7a 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 ca48c13067 Partial fix to bug #3094 1999-03-05 19:23:24 +00:00
kipp%netscape.com 6bfa1f9e70 Removed dead include 1999-03-05 19:23:09 +00:00
kipp%netscape.com 29d90160b9 Removed ref to dead nsFrameReflowState 1999-03-05 15:22:03 +00:00
kipp%netscape.com ba18377496 use new nsHTMLReflowState ctors 1999-03-05 04:19:09 +00:00
evaughan%netscape.com 5665be1965 Fixed mac event bug.
Fixed alignment bug.
1999-03-03 04:04:48 +00:00
pollmann%netscape.com 734e86c883 Handle readonly changes for TextAreas as well as Text Inputs. 1999-03-03 03:06:36 +00:00
kmcclusk%netscape.com 52afc44421 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 c401b7142e Adding new tab handling and focus support. 1999-03-02 19:19:24 +00:00
brade%netscape.com ed8c8fcc89 add static to LegendHack() to reduce compiler warnings on Macintosh 1999-03-02 15:17:35 +00:00
brade%netscape.com 9d62c2b952 add static to reduce compiler warnings on Macintosh 1999-03-02 15:17:14 +00:00
brade%netscape.com a0e781f91e reduce Macintosh compiler warnings by making function static 1999-03-02 15:15:46 +00:00
evaughan%netscape.com ffe910ebcb Made the image accessible from CSS via list-style-image. 1999-03-02 05:00:51 +00:00
pollmann%netscape.com 2d4cb0b56f Fix change notifications for combo boxes. 1999-03-02 03:19:25 +00:00
evaughan%netscape.com e45dcff509 Fixed button to respond to the list-style-image property on CSS 1999-03-02 01:25:33 +00:00
karnaze%netscape.com 9b9c4d5351 bug 3347 1999-03-01 19:25:47 +00:00
karnaze%netscape.com b4549051c8 correctly set max element size on checkbox, radio. Other cleanup. 1999-02-27 03:59:19 +00:00
pollmann%netscape.com 628c8f6245 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 ca244c5661 Removed dependency on static constructors 1999-02-26 17:12:16 +00:00
evaughan%netscape.com 4a57fd76ee Removed state info from button renderer. 1999-02-26 08:48:24 +00:00
evaughan%netscape.com ee8ea8e385 Fixed up titled button so hover, focus, active, states work. 1999-02-26 06:41:10 +00:00
troy%netscape.com dfdacc8159 Changed nsIFrame::Init() to take an additional parameter 1999-02-25 03:27:57 +00:00
karnaze%netscape.com 3cf25b042c better sizing of form controls, especially percentage based sizes and max element sizes 1999-02-23 03:48:01 +00:00
mcafee%netscape.com efc3926817 Adding license; added do_QueryInterface() wrappers for nsCOMPtr stuff (Solaris) 1999-02-20 06:05:15 +00:00
evaughan%netscape.com ded20d5f4a Added a new XUL TitledButtonFrame 1999-02-19 18:23:02 +00:00
brade%netscape.com b3b4f0d2c0 add prototype to reduce warnings on Macintosh compiler 1999-02-19 16:13:47 +00:00
scc%netscape.com ab59e4df7a 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 602be9dfc4 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 fe763fea21 Remove mozilla/layout/config and use mozilla/config instead. 1999-02-18 18:16:21 +00:00
kmcclusk%netscape.com bc45423c33 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 3237d4791e 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 8cf748bdb0 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 7b2012fca2 Fixed some errors related to switch to using nsCOMPtr 1999-02-12 18:41:26 +00:00
kipp%netscape.com 5a554d526e COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
peterl%netscape.com 8d65d14ec2 changed all html atoms to lower case 1999-02-12 06:19:07 +00:00
evaughan%netscape.com 40d72f93fd 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 ace71a78e2 Commented out the rollover code that sets the class to a pseudo-class 1999-02-11 18:36:40 +00:00
troy%netscape.com b27d9f730e API changes for nsIPresContext ResolveStyleContextFor and ResolvePseudoStyleContextFor 1999-02-11 15:56:23 +00:00
kmcclusk%netscape.com b9f6f92462 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 191a14d1c6 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 c37ccfbc4c Changed GetNextSibling() to use a pointer argument instead of a reference 1999-02-10 06:13:38 +00:00
troy%netscape.com 5c3d1395f3 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 b8965b6929 Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
references
1999-02-10 04:17:06 +00:00
troy%netscape.com a9159f71d6 Changed GetAdditionalChildListName() and FirstChild() to use ** instead
of *&
1999-02-10 02:25:01 +00:00
troy%netscape.com c9c1fa187e Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
kmcclusk%netscape.com 3cb8ea4326 Undef'ed NS_GFX_RENDER_FORM_ELEMENTS 1999-02-09 18:31:41 +00:00
kmcclusk%netscape.com c9f82ebd33 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 319fe88890 undefined NS_GFX_RENDER_FORM_ELEMENTS 1999-02-05 22:22:40 +00:00
kmcclusk%netscape.com bbf111432f 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
morse%netscape.com cdeaeacdb3 removed single-signon dependency on lo_ele.h and MWContext 1999-02-05 22:05:59 +00:00
kmcclusk%netscape.com 74ce0fe2c8 Disabled gfx-rendering of form controls. 1999-02-05 19:51:27 +00:00
kmcclusk%netscape.com 64f5bd4ee5 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
pollmann%netscape.com 7a35ef9039 Bug 1190: Typo. 1999-02-04 18:37:03 +00:00
kmcclusk%netscape.com 8b616336f2 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 0674615a79 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 7d3824f0d6 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 65c0812b75 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 29b29e10ca 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 57de44ee8a 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
pollmann%netscape.com d3346aaad9 Bug 2716, 2792, 1190, 1750: Wired up selected, defaultSelected, and selectedIndex. 1999-01-30 01:02:28 +00:00
troy%netscape.com 175837a720 Fixed memory leak of a nsRadioControlGroup object 1999-01-29 06:01:15 +00:00
troy%netscape.com 614736c13d Fixed a couple of memory leaks 1999-01-29 05:05:02 +00:00
kmcclusk%netscape.com ff58ce762b 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 a28965e71e Modified nsHTMLInputElement text fields to go through nsTextControlFrame
for SetValue and GetValue
1999-01-28 18:58:11 +00:00
michaelp%netscape.com 3bfa7f5cd6 modified for new DrawString()/GetWidth() APIs. 1999-01-28 05:03:58 +00:00
kmcclusk%netscape.com e4de662dfc Call GetDefaultValue instead of GetCurrentValue in GetChecked when the aGetInitialValue
flag is set to TRUE.
1999-01-28 00:43:49 +00:00
rods%netscape.com d45b93363b Added rollover pseudo-class processing for mouse enter and exit 1999-01-27 04:09:12 +00:00
pollmann%netscape.com 4a3c014b00 Bug 1958: Submit value for checkboxes or "on" for checkboxes with no value. 1999-01-27 02:33:16 +00:00
kmcclusk%netscape.com 208e63a001 Implemented GetChecked and SetChecked for nsHTMLInputElement by going through
the nsCheckboxControlFrame and nsRadioControlFrame.cpp
1999-01-27 00:51:46 +00:00
pollmann%netscape.com d566f21bae 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 cb1dd8e685 Bug 2279: Don't create widgets for hidden form elements. 1999-01-26 22:11:59 +00:00
rpotts%netscape.com 0cba5f98c9 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 3c7d93524c 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 f9f875774e 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 e9692979e2 StyleContext passed onto PaintBorder()/PaintArrow() 1999-01-22 22:35:12 +00:00
harishd%netscape.com f130c6d3af StyleContext passed onto PaintArrow() 1999-01-22 22:34:28 +00:00
harishd%netscape.com f2086206af styleContext is passed onto PaintBorder()/PaintArrow() 1999-01-22 22:31:15 +00:00
kmcclusk%netscape.com f808ee5d03 Removed nsIFormControLFrame.h since it now lives in public 1999-01-22 19:22:37 +00:00
kmcclusk%netscape.com 860776f40a Added missing methods to nsIFormControlFrame.h 1999-01-22 19:10:10 +00:00
kmcclusk%netscape.com d8dd463f76 Added export of nsIFormControlFrame.h for the MAC build 1999-01-22 18:21:39 +00:00
kmcclusk%netscape.com c5fd93399a Modified Linux and Mac to export nsIFormControlFrame.h 1999-01-22 18:19:12 +00:00
kmcclusk%netscape.com 79b1a7ee1c Added nsIFormControlFrame to the set of files to export 1999-01-22 18:14:23 +00:00
dcone%netscape.com 537632b37a First Checked In. 1999-01-22 16:04:08 +00:00
rods%netscape.com 423a9eb9a8 Ifdef'ed out the Pluggable event code 1999-01-22 15:56:21 +00:00
rods%netscape.com b9ce376587 Initial checkin factored code from nsFormControlFrame 1999-01-22 15:47:33 +00:00
rods%netscape.com 84da35b573 initial checkin 1999-01-22 15:41:28 +00:00
rods%netscape.com 091ef49deb Added nsIListControlFrame.h and nsComboboxControlFrame.h 1999-01-22 15:41:05 +00:00
rods%netscape.com f196893cce Factored out code for helper functions for determining size and for rendering 1999-01-22 15:32:57 +00:00
rods%netscape.com 8599bb7484 Added nsComboboxControlFrame nsListControlFrame 1999-01-22 15:32:34 +00:00
rpotts%netscape.com 9217bf329b Added support for setting the DISABLED attrivute via the DOM... 1999-01-21 09:51:28 +00:00
pollmann%netscape.com 436830bb28 Bug 2279: Don't create widgets for hidden form elements. 1999-01-21 04:02:37 +00:00
pollmann%netscape.com 3a612a8eb7 Bug 1958: Fixing an apparent typo. 1999-01-21 03:09:25 +00:00
rods%netscape.com a2330a76e1 Initial checkin 1999-01-18 15:14:00 +00:00
kipp%netscape.com 8dba97945a 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 5284506712 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
peterl%netscape.com b735f84565 better base url support
Checkin during red tree approved by sar
1999-01-15 02:07:46 +00:00
troy%netscape.com 5d8b4656eb 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 4de68d4b7e Bug 2234: Crash on JS Submit(). 1999-01-12 23:11:26 +00:00
kipp%netscape.com 9088d3fb1e Use new flag defines 1999-01-12 16:42:03 +00:00
brade%netscape.com dbdbc0a37a reduce Macintosh compiler warnings by adding prototype 1999-01-06 18:53:59 +00:00
brade%netscape.com 989f3f0e43 reduce Macintosh compiler warnings by making function static/private 1999-01-06 18:51:16 +00:00
brade%netscape.com 76087f4740 reduce Macintosh compiler warnings by making functions static/private 1999-01-06 18:45:28 +00:00
brade%netscape.com 0acf537005 reduce Macintosh compiler warnings by adding prototype 1999-01-06 18:44:59 +00:00
brade%netscape.com bedb2c43b3 reduce Macintosh compiler warnings by making functions private 1999-01-06 18:43:18 +00:00
kmcclusk%netscape.com d844648421 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 59d1bc8ea5 Replaced "maxSize" member if nsReflowState with "availableWidth" and
"availableHeight"
1999-01-05 23:31:18 +00:00
troy%netscape.com 781a43ae69 Changed width/height constraints in nsHTMLReflowState struct 1998-12-30 17:50:00 +00:00
troy%netscape.com 7baf302727 Renamed FindFrameWithContent() to GetPrimaryFrameFor() 1998-12-29 04:45:18 +00:00
troy%netscape.com e1f9e8b29f 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 313a141d4b Fire the OnSubmit event on the form not the input field... 1998-12-28 21:28:53 +00:00
pollmann%netscape.com 4f02ee2610 Implemented onChange and selectedIndex for the HTMLSelectElement 1998-12-23 03:02:57 +00:00
brade%netscape.com 5d46a79f64 attempt to fix build bustage 1998-12-21 18:56:03 +00:00
rods%netscape.com 0bf79ec477 Changed constants to use LookAndFeel values. 1998-12-21 16:52:57 +00:00
troy%netscape.com c9dedf070c 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 04ba615cb8 Fix forms: XP_MAC code was missing in GetHorizontalInsidePadding and GetVerticalInsidePadding 1998-12-20 13:18:10 +00:00
peterl%netscape.com e75a76898d sync to new attribute api 1998-12-20 01:21:23 +00:00
kipp%netscape.com 27f0cfe8cc Revised frame Paint API 1998-12-18 15:54:23 +00:00
kipp%netscape.com a23c574ecf Partial whack at supporting more accurate max-element-size computations 1998-12-17 18:55:42 +00:00
kmcclusk%netscape.com 084f85b760 Fix for Linux build 1998-12-16 18:39:48 +00:00
kmcclusk%netscape.com 1a6566b05c Moved most of the printer paint code to nsFormControlFrame. Added
autodoc compatible comments.
1998-12-16 18:12:55 +00:00
warren%netscape.com b22a4e72fd Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
kmcclusk%netscape.com 90a52d6972 Fix for the Mac. 1998-12-15 19:08:50 +00:00
rods%netscape.com c0357eb5fc Added painting methods for printing 1998-12-15 19:03:36 +00:00
kmcclusk%netscape.com 8d4bcccb4a Added code to render button using GFX for printing. 1998-12-15 18:50:21 +00:00
shaver%netscape.com 2e1488cb9a Add --enable-debug=module1,module2 to selective turn on debugging.
Remove --enable-dom, because Mariner is dead (sob).
Rename some MODULE= lines to make the afore-mentioned --enable-debug
technique actually useful.  Feel free to recategorize.
Fix libraptorhtml.so link bogosity by disabling shared lib generation for the
sub-archives (libraptor*_s.a), so that we can put bin before lib in the
library path and still get the right effect.  We could disable static-lib
generation in most other places and cut the build time down a fair bit, too.
[NOTE: I'm getting on a train...msw@gimp.org has agreed to be my tinderbox
buddy.  Thanks, Matt!]
1998-12-15 16:32:37 +00:00
kmcclusk%netscape.com 1cdd3b08f2 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 65c820c00a Added printing methods 1998-12-10 17:53:34 +00:00
kmcclusk%netscape.com 8b5a776c9f 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 3903c8a8d8 fixed bug 1806 1998-12-10 17:22:31 +00:00
harishd%netscape.com d6f7cc1d25 No change 1998-12-07 19:00:45 +00:00
ramiro%netscape.com 2009b728de Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
kmcclusk%netscape.com 58226efe67 Added Windows printing code for radio buttons. 1998-12-04 22:53:45 +00:00
kmcclusk%netscape.com 70cddc2c5f Added some comments 1998-12-04 19:16:58 +00:00
kmcclusk%netscape.com f04a4de3fe Fix for MAC build 1998-12-04 19:07:46 +00:00
kmcclusk%netscape.com 23aeb8e080 Added code to GFX-render checkbox's under Windows when printing. 1998-12-04 18:33:34 +00:00
troy%netscape.com 0e696d9722 Removed explict call of base class constructor 1998-12-03 07:22:31 +00:00
troy%netscape.com d97a31f115 Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
kipp%netscape.com d04dbf19bd Port to revised pres-context API 1998-11-26 18:14:41 +00:00
kipp%netscape.com 33b4803b33 Fixed to not subtract out borders/padding when unconstrained height reflow is occuring 1998-11-26 18:14:17 +00:00
karnaze%netscape.com 73c8a02a2b fixed bug 1504 (memory leak of select elements) 1998-11-24 18:54:26 +00:00
joki%netscape.com 09cd62b18e Add click event support for every element and initial keypress event support 1998-11-24 07:46:58 +00:00
rpotts%netscape.com c8cb965a9b 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 0ec7a0d910 Added missing NS_RELEASE() to GetWidget() function 1998-11-23 04:41:51 +00:00
cyeh%netscape.com e9d3c67427 Removing static makefiles as a part of the transition to Autoconf. I have taken great
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.

If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com.
1998-11-21 00:34:32 +00:00
joki%netscape.com ecbb1182ec 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 6cd4b39d8a Use new classname for base class; port to updated nsLeafFrame methods 1998-11-20 17:22:08 +00:00
kipp%netscape.com 5e9c8f2b68 Port to updated nsLeafFrame methods 1998-11-20 17:21:49 +00:00
morse%netscape.com ec45040d4e fix for single signon 1998-11-20 05:01:32 +00:00
kipp%netscape.com 63107e9026 Added DumpRegressionData; revised ListTag; added GetFrameName 1998-11-19 17:22:29 +00:00
joki%netscape.com 86806ec906 Prevent multiple firings of DOM click events on buttons. 1998-11-19 00:42:38 +00:00
troy%netscape.com 164de2fbfc Fixed SetInitialChildList() so "frame" doesn't get reset after processing
the legend frame
1998-11-18 22:14:55 +00:00
joki%netscape.com 7716dc91e8 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 18d1bc714d update for single signon 1998-11-18 04:38:13 +00:00
peterl%netscape.com c053568936 cleaned up cursor style handling 1998-11-18 02:11:54 +00:00
michaelp%netscape.com f186598ef5 changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00
vidur%netscape.com a349a1e4a6 Added support for XLink - simple links and show=replace or new. Modified nsILinkHandler interface. 1998-11-14 00:21:19 +00:00
karnaze%netscape.com 4966c30661 bug 1226 for form control with native widgets. Other controls are still not working. 1998-11-13 23:13:42 +00:00
karnaze%netscape.com 0127b1609d bug 1357 involving a hidden control not getting submitted 1998-11-13 23:10:52 +00:00
cls%seawood.org c953650146 Sync'd with Makefile. Thanks to Steve Morrison <smorrison@gte.com> for pointing this out. 1998-11-10 18:14:24 +00:00
troy%netscape.com fd34820203 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 44b5b9e670 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 02915d3677 First of a few changes to allow frames to have multiple child lists.
FirstChild() now takes an additional argument which is the name of the
child list.
1998-11-09 19:40:27 +00:00
troy%netscape.com a923a9baa3 Changed PostCreateWidget() code to use the "default value" when setting
the widget's initial value
1998-11-07 17:47:57 +00:00
troy%netscape.com 8a9dc6e18f Added a copy of the UpdateImageFrame() code from nsImageFrame, so that
when the image size arrives we get notified so we can kick off an
incremental reflow
1998-11-07 03:56:11 +00:00
michaelp%netscape.com 6f7deed7e4 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 776a2683ef sync to style resolution api changes 1998-11-03 20:33:43 +00:00
michaelp%netscape.com a5066c14af 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 10c06c1b72 Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight()
1998-11-01 01:29:00 +00:00
karnaze%netscape.com 65ce4ecc0e initial support for opacity in html 4 button 1998-10-30 19:20:39 +00:00
karnaze%netscape.com 347f6d6e7a 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 3ef7e08244 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
cls%seawood.org 609f087498 New autoconf files for nglayout 1998-10-28 03:53:57 +00:00
michaelp%netscape.com ee34220382 changes for removal of zindex from nsIView::Init(). 1998-10-27 03:37:03 +00:00
karnaze%netscape.com 1610cecf5a 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 4730045a40 support for constrained width, height 1998-10-19 23:02:41 +00:00
karnaze%netscape.com b40bd57065 fixed bugs 1130, 1132, 1133 1998-10-19 20:37:40 +00:00
karnaze%netscape.com b0a171ab5c html 4 <BUTTON> basic functionality 1998-10-17 00:35:32 +00:00
karnaze%netscape.com 56aa52c8aa fixed combo box PostCreateWidget to size properly 1998-10-15 15:51:31 +00:00