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

310 Коммитов

Автор SHA1 Сообщение Дата
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
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
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
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
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 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 860776f40a Added missing methods to nsIFormControlFrame.h 1999-01-22 19:10:10 +00:00
kmcclusk%netscape.com 79b1a7ee1c Added nsIFormControlFrame to the set of files to export 1999-01-22 18:14:23 +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 f196893cce Factored out code for helper functions for determining size and for rendering 1999-01-22 15:32:57 +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
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
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 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
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 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
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 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
rods%netscape.com c0357eb5fc Added painting methods for printing 1998-12-15 19:03:36 +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
kmcclusk%netscape.com 58226efe67 Added Windows printing code for radio buttons. 1998-12-04 22:53:45 +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
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
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 63107e9026 Added DumpRegressionData; revised ListTag; added GetFrameName 1998-11-19 17:22:29 +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
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
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 a923a9baa3 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 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
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 4c91c0fff1 generalized PostCreateWidget; better combo box rendering 1998-10-14 23:01:44 +00:00
karnaze%netscape.com 6dce0be4e1 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 e3998954e5 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 05a50b6ce3 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 cc44601bb8 Removed GetContentIndex() from nsIFrame 1998-10-08 20:35:16 +00:00
karnaze%netscape.com c68d17a425 inline, shrinkwrap support for fieldsets, legneds 1998-10-08 19:04:57 +00:00
dcone%netscape.com 94cfe847a1 fixed some small declaration problems 1998-10-08 17:48:50 +00:00
karnaze%netscape.com 580dde94fe fieldset, legend support. fixed bug #987 1998-10-08 04:38:41 +00:00
troy%netscape.com f095846367 Eliminated nsIRunaround interface, and folded space manager parameter into
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
michaelp%netscape.com 7b7efc8d89 modified for new fontmetrics/renderingcontext. 1998-10-02 01:12:39 +00:00
troy%netscape.com 8b034f4950 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 28f5a9e492 we no longer have a public font cache. 1998-09-30 19:01:46 +00:00
pinkerton%netscape.com 246174f6c7 better fix for iterator problem. 1998-09-28 22:34:44 +00:00
pinkerton%netscape.com 4cfe36c732 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 0732290ed0 bugs 642, 643; also removed unused files. 1998-09-28 21:32:24 +00:00
kipp%netscape.com 01b8c34dc8 Fixed up includes to not depend on old content model classes 1998-09-24 21:37:45 +00:00
troy%netscape.com 8708a830f9 Removed mChildCount from nsContainerFrame 1998-09-24 17:56:35 +00:00
karnaze%netscape.com 5238a3dfac forgot to add in last checkin 1998-09-23 17:44:33 +00:00
karnaze%netscape.com b7d357fce8 Converted forms to use the new content model classes and better separate content from layout. 1998-09-23 17:16:51 +00:00