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

140 Коммитов

Автор SHA1 Сообщение Дата
seawood%netscape.com 049c194348 Not all c++ compilers support true. Use PR_TRUE instead.
Fixing OS/2 tinderbox bustage.
2002-08-27 07:34:41 +00:00
mjudge%netscape.com a07cba5734 4302 r=jfrancis sr=kin. pageup/down bug with navigation. 2002-08-26 20:55:30 +00:00
bzbarsky%mit.edu 14956082f7 back out accidental part of last checkin; fixing bustage 2002-08-07 00:37:04 +00:00
mjudge%netscape.com c49686d37b 141888 sr=kin r=brade patch to fix too agressive caret disabling from readonly textareas/input areas. 2002-08-07 00:01:11 +00:00
bzbarsky%mit.edu 5d1c18865d clean up some form control stuff (use common helpers and superclasses
for shared functionality where possible).  r=jkeiser, sr=jst
2002-08-06 23:50:08 +00:00
cbiesinger%web.de 069f69ec74 bug 50633 patch by riceman+bmo@mail.rit.edu r=jkeiser sr=kin a=asa
textarea always does a soft wrap, even with wrap="off" or white-space:nowrap or white-space:pre
2002-07-29 20:13:09 +00:00
jkeiser%netscape.com 78b069a372 Change ns(I)GfxTextControlFrame(2) -> ns(I)TextControlFrame (bug 129909), r=rods
@netscape.com, sr=bzbarsky@mit.edu, a=asa
2002-07-26 20:57:24 +00:00
leaf%mozilla.org cc188fe903 adding new files from nsGfxTextControlFrame2.*; part of renaming in bug 129909 2002-07-26 17:17:00 +00:00
kmcclusk%netscape.com 93d007ea97 Removing these unneeded files from from cvs, they have been in the build in years
r=kmcclusk,buster
2000-11-16 21:41:14 +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
pp%ludusdesign.com 58065dda04 Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
hyatt%netscape.com e740cdb714 Fixes for bugs 17460 and 21656. r=travis 2000-01-14 09:28:54 +00:00
sfraser%netscape.com 6fecda09b6 Fix for another part of for 19954 -- convert textarea data to LF termination before saving frame state. r=pollman 1999-12-02 03:12:51 +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
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 d349c3eeb6 Removing null code. No bug number. r=nisheeth 1999-11-02 03:48:04 +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
rods%netscape.com 969aac994a Moved GetWrapProperty to nsFormControlHelper
Changed add the added of scrollbar sizes for Standard mode
r=kmcclusk, Bug #3040,11285
1999-10-19 11:58:53 +00:00
rods%netscape.com aad2ad4877 Removed code where standard mode was incorrectly subtracting border size
r=kmcclusk
1999-10-07 21:37:02 +00:00
rods%netscape.com 0230fedeff ifdef out a debug statement 1999-10-01 14:26:40 +00:00
rods%netscape.com d48404dfac Fixed to use the LookAndFeel object in the PresContext instead of creating one via the ComponentManager 1999-09-30 11:23:17 +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 a6d7defe41 Bug 13058: Implement nsIStatefulFrame for text inputs and textareas 1999-09-14 19:19:55 +00:00
rods%netscape.com 59740457c4 when in standard mode and calculating desired size it removes the width of the native border
because it is implicitly added during the calculation
1999-09-03 14:48:26 +00:00
buster%netscape.com cad140c93a replaced #define DEFAULT_PIXEL_WIDTH with nsTextControlFrame::GetDefaultColumnWidth() 1999-09-02 20:45:21 +00:00
rods%netscape.com 22813275bf Added the other GetDesiredSize call overriding the base class call, and making it
the existing GetDesiredSize with the last param dummyed out. This makes all the sizing work
correctly with the change I put in in nsFormControlFrame
1999-08-27 14:34:54 +00:00
buster%netscape.com e1a4be89c8 preliminary support for text area wrap
install text control's event listeners ahead of the editor's own default listeners.
1999-08-23 06:46:08 +00:00
rods%netscape.com 654caf2688 It now takes into account the suggested size in the calculation 1999-08-19 14:02:20 +00:00
morse%netscape.com e24534d85b Remove wallet from layout 1999-07-24 01:39:58 +00:00
buster%netscape.com bb7e3f641a added support for Ender GFX-rendered text control
made nsTextControlFrame an abstract base class for nsGfxTextControlFrame and
nsNativeTextControlFrame
1999-06-12 22:29:54 +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
kipp%netscape.com 4846f41f1f Reworked frame factory methods; fixed bug 4519 1999-05-11 22:03:29 +00:00
morse%netscape.com 453fb56d86 moved single signon out of netlib 1999-04-03 22:56:18 +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
kipp%netscape.com 60f52440cb Whacked paint methods to use new constants 1999-03-26 00:39:35 +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
kipp%netscape.com 599643d249 Partial fix to bug #3094 1999-03-05 19:23:24 +00:00
pollmann%netscape.com 0ccbd837a4 Handle readonly changes for TextAreas as well as Text Inputs. 1999-03-03 03:06:36 +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
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
brade%netscape.com b553b3670f add prototype to reduce warnings on Macintosh compiler 1999-02-19 16:13:47 +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
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
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
troy%netscape.com b974e26cea Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
kmcclusk%netscape.com 10fcba177a 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 d71b7f88d5 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 ab7e565d59 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 78015f31f6 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 cd804349fe Fixed a couple of memory leaks 1999-01-29 05:05:02 +00:00
kmcclusk%netscape.com affac5fac7 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 aaa2d0a40d Modified nsHTMLInputElement text fields to go through nsTextControlFrame
for SetValue and GetValue
1999-01-28 18:58:11 +00:00
michaelp%netscape.com 0084e8879d modified for new DrawString()/GetWidth() APIs. 1999-01-28 05:03:58 +00:00
rpotts%netscape.com f1724f97b9 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 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 64f5a23191 Factored out code for helper functions for determining size and for rendering 1999-01-22 15:32:57 +00:00
troy%netscape.com 6d63084a70 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
rpotts%netscape.com 0786f8d0d7 Fire the OnSubmit event on the form not the input field... 1998-12-28 21:28:53 +00:00
brade%netscape.com b7503c538b attempt to fix build bustage 1998-12-21 18:56:03 +00:00
rods%netscape.com cccaeefc91 Changed constants to use LookAndFeel values. 1998-12-21 16:52:57 +00:00
pierre%netscape.com 331f9386ca Fix forms: XP_MAC code was missing in GetHorizontalInsidePadding and GetVerticalInsidePadding 1998-12-20 13:18:10 +00:00
kipp%netscape.com c29e5116c7 Revised frame Paint API 1998-12-18 15:54:23 +00:00
kmcclusk%netscape.com 3e16681c3f Moved most of the printer paint code to nsFormControlFrame. Added
autodoc compatible comments.
1998-12-16 18:12:55 +00:00
warren%netscape.com 0580a8e5c4 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
rods%netscape.com ba1b5dbf7c Added painting methods for printing 1998-12-15 19:03:36 +00:00
rods%netscape.com 64c2b7f4c6 Added printing methods 1998-12-10 17:53:34 +00:00
karnaze%netscape.com 4408592081 fixed bug 1806 1998-12-10 17:22:31 +00:00
troy%netscape.com 2a4b2c503f Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
rpotts%netscape.com 2ffc0ee62a Added a missing NS_RELEASE which was causing the URL and webshell to hang around... 1998-11-24 02:07:27 +00:00
kipp%netscape.com a6926809f0 Added DumpRegressionData; revised ListTag; added GetFrameName 1998-11-19 17:22:29 +00:00
joki%netscape.com 77fd9c2652 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 cbcbe77b8a update for single signon 1998-11-18 04:38:13 +00:00
karnaze%netscape.com aec75f892e 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 3006e7c7a3 Changed PostCreateWidget() code to use the "default value" when setting
the widget's initial value
1998-11-07 17:47:57 +00:00
karnaze%netscape.com f50e55787a 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
karnaze%netscape.com 98eb658b89 fixed bugs 1130, 1132, 1133 1998-10-19 20:37:40 +00:00
karnaze%netscape.com 37f2d06fe4 generalized PostCreateWidget; better combo box rendering 1998-10-14 23:01:44 +00:00
karnaze%netscape.com c82d985b8a 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
karnaze%netscape.com 42797648cf fieldset, legend support. fixed bug #987 1998-10-08 04:38:41 +00:00
troy%netscape.com 7aceb4270d Eliminated nsIRunaround interface, and folded space manager parameter into
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
michaelp%netscape.com 9b82a28284 modified for new fontmetrics/renderingcontext. 1998-10-02 01:12:39 +00:00
troy%netscape.com ba3c7125c2 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
karnaze%netscape.com 649786e2e2 bugs 642, 643; also removed unused files. 1998-09-28 21:32:24 +00:00
karnaze%netscape.com fb883f1869 Converted forms to use the new content model classes and better separate content from layout. 1998-09-23 17:16:51 +00:00