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

309 Коммитов

Автор SHA1 Сообщение Дата
rods%netscape.com edb0c6270c removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
dbaron%fas.harvard.edu caa9658024 Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com 2000-12-30 19:22:22 +00:00
rods%netscape.com 98418aa626 53259 - min-width and max-width not supported on form control
59035 - type of a BUTTON should default to submit when type isn't specified
r=kmcclusk sr=buster
2000-12-20 15:12:06 +00:00
warren%netscape.com cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
heikki%netscape.com c3c301798c Fixed bug 52526, the cause was that image load event was bubbling even though the specs say it should not. Previously we were not even sending the load event on image load. I also fixed bug 50478 by fixing the logic in GetBubbles and GetCancelable of the DOMEvent. This helps in testing the first bug. I also fixed several cases where we had wrong combination of event class and event struct type. a=waterson, r=joki,rods. 2000-09-19 21:47:04 +00:00
attinasi%netscape.com e6ed1d17ba Part of fix for bug 45210: style contexts had the wrong parent because the frames were reparented but their style contexts were not. r=rods@netscape.com 2000-09-12 19:41:27 +00:00
pollmann%netscape.com 27c144a3b2 Bug 51124: Tabbing into text control now again scrolls it into view if offscreen, also adding additional bulletproofing per code review; r=jst@netscape.com 2000-09-08 05:53:28 +00:00
jst%netscape.com 9abec73fbe DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
sfraser%netscape.com 9aa82a567b Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge. 2000-08-08 23:38:00 +00:00
pollmann%netscape.com 5ede1ee556 Bug 42662: Values of disabled form elements should not be submitted; r=kmcclusk 2000-08-03 23:32:02 +00:00
rods%netscape.com 541017cd29 The frames need to be appended and the default method just asserts
b=41528 r=kmcclusk
2000-08-02 22:16:12 +00:00
pollmann%netscape.com a97d394820 Bug 25300: Enable activation of buttons by the keyboard (space or enter) r=nisheeth 2000-06-21 00:40:11 +00:00
joki%netscape.com 38497c25ca Fixes for bug 38269. Fixes crash during page rewrite in focus, reset, submit and location change in onunload. r:mjudge 2000-05-26 00:26:54 +00:00
mjudge%netscape.com c00a125072 fixing regunreg for form controls 2000-05-16 12:44:32 +00:00
rods%netscape.com 5351e8cf96 now sets maxelement width/height
b=25541
2000-04-30 13:27:49 +00:00
rods%netscape.com 465d191a2e Add ifdef'ed Performance Reflow Counting code 2000-04-21 21:51:35 +00:00
scc%netscape.com 52bdf65d60 making string conversions explicit 2000-04-15 21:18:29 +00:00
dbaron%fas.harvard.edu 87e19c9cef Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161. 2000-03-22 02:43:08 +00:00
pierre%netscape.com 4d43de09aa Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible). In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame. In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701. 2000-03-17 10:15:13 +00:00
rods%netscape.com 4325e0f2df idef'ed out the adding of border padding to maxelement size, this was casuing some warnings.
r=kmcclusk a=jar b=28593
2000-03-03 00:58:00 +00:00
rods%netscape.com fab88c6406 changing nsCOMPtr to weak references for PresContext
a=leaf, r=self, bug=bloat&leak went up
2000-02-09 23:20:56 +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
pollmann%netscape.com 47d773f8d9 Bug 18649: non FormControlFrame derived form elements also only scroll when not at all visible r=rods 2000-01-25 22:19:39 +00:00
rods%netscape.com 364d22bb8c changed signature of GetFont b=905 r=dcone 2000-01-25 15:25:46 +00:00
evaughan%netscape.com fbffedcde5 Fixed html and input button to center and size correctly. #17474,#17353,#23270, #21249 -r Rod 2000-01-18 20:29:22 +00:00
rods%netscape.com d163e95f4c Added unconstrainted reflow optimization methods
r=kmcclusk bug=12653
2000-01-08 15:53:48 +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 f5a6e0ef07 Added unconstrainted reflow optimizations
Also, commented out the adding of border-padding to the maxelementsize
r=kmcclusk bug=12653
2000-01-05 15:22:38 +00:00
rods%netscape.com 3e09f5371c changed clipping in Paint to be intersect instead of replace
r=kmcclusk
1999-12-22 19:50:47 +00:00
hyatt%netscape.com de2eaede42 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy
1999-12-04 23:49:50 +00:00
rods%netscape.com 16f2348544 clips inside the border instead of inside the border and padding
r=kmcclusk bug 20301
1999-12-02 22:07:43 +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
troy%netscape.com 597b5f236b WillReflow/DidReflow changes and changes to the way view positioning
and sizing works
1999-11-19 15:33:29 +00:00
kmcclusk%netscape.com 199bc6a632 Fixed problem where buttons where causing reflows when entering and exiting.
Removed outline border style and fixed style context parentage of buttons.
bug 17892; r=buster@netscape.com
1999-11-12 01:45:53 +00:00
troy%netscape.com 2e7ee4874b b=17546. Changed block frame code to save/restore space manager when create
a space manager, and changes button code to use the NS_BLOCK_SPACE_MGR flag
when creating the area frame
1999-11-11 06:00: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 210784fe9b Bug 17431: Clean house in form and form control destructors to allow reframing r=harishd a=choffman 1999-11-04 23:16:47 +00:00
rods%netscape.com 4dc1d549b0 Added code to size the button appropriately when style sets the size and
make it clip for drawing.
NOTE: This is a temporary fix for bug #17474
1999-11-03 00:05:30 +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 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 2cbdb57b36 removed noisy printf 1999-10-01 14:20:45 +00:00
rods%netscape.com 157ce078c9 Changed getVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object 1999-09-30 11:30:04 +00:00
peterl%netscape.com 60b2bd4053 set reflow reason properly for incremental changes 1999-09-29 03:35:51 +00:00
peterl%netscape.com 700674fb14 removed ReResolveStyleContext 1999-09-21 07:56:18 +00:00
kmcclusk%netscape.com 8f9cf9d3bc Removed nsGfxButtonControlFrame's MouseClick method. It uses it's base classes (nsHTMLButtonControlFrame)
MouseClick instead. Reworked nsHTMLButton::MouseClick factoring out code to get Reset and Submit button
types so MouseClick can be re-used by the nsGfxButtonControlFrame.
Fix for bug 13462. Set the nsHTMLButtonControlFrame's mForm in the initial reflow.
1999-09-13 20:40:59 +00:00
peterl%netscape.com 25d7829a4e added accessors for additional style contexts 1999-09-03 23:36:32 +00:00
rods%netscape.com 3bca354587 uses the new factored code for calculating size it helps for calculating suggested size
(see nsGfxButtonControlFrame.cpp)
1999-08-31 13:05:31 +00:00
pollmann%netscape.com 5b4a7ad743 Bug 3256: Add ScrollIntoView() method to form frame objects. 1999-08-21 00:09:24 +00:00
scc%netscape.com b1c73fa7c7 Fixed boxes to only invalidate and redraw what has changed.
Made min and max sizes work
Made linux not suck!
1999-07-23 00:11:21 +00:00
troy%netscape.com 155ed6816a Added 'm' prefix to some of the nsHTMLReflowState data members 1999-07-20 03:41:03 +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
kipp%netscape.com 87e4c2d72f Removed HaveFixedContent* methods from nsHTMLReflowState and updated code to match (fix bug #7993) 1999-07-07 02:33:17 +00:00
peterl%netscape.com 8aed081b91 fixed re-resolve style contexts to handle local pseudo elements
and capture style change information
1999-06-16 06:17:21 +00:00
evaughan%netscape.com bf31c42dde Fixed pseudoclass hack to actually use active, hover, focus pseudoclasses. 1999-05-13 01:35:16 +00:00
kipp%netscape.com 4846f41f1f Reworked frame factory methods; fixed bug 4519 1999-05-11 22:03:29 +00:00
evaughan%netscape.com 75c2437e81 Fixed xul boxes to implement nsIBox interface. 1999-05-09 21:46:24 +00:00
evaughan%netscape.com 430288e8b8 Made tabs use visibility to hide and show views. 1999-04-25 20:07:45 +00:00
evaughan%netscape.com 0bec328133 Added a tab control widget. 1999-04-21 22:46:15 +00:00
kipp%netscape.com 9b2e823a27 Nuked extraneous include 1999-04-13 21:51:52 +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
peterl%netscape.com 32d3372e42 augmented ReResolveStyleContext to capture style change information 1999-03-25 06:43:38 +00:00
warren%netscape.com 4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +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
kipp%netscape.com 9ddafbd9f8 use new nsHTMLReflowState ctors 1999-03-05 04:19:09 +00:00
joki%netscape.com 0baca6512f Adding new tab handling and focus support. 1999-03-02 19:19:24 +00:00
brade%netscape.com 107ba93c81 reduce Macintosh compiler warnings by making function static 1999-03-02 15:15:46 +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
kipp%netscape.com 36c243cdc0 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +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
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 b974e26cea Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
rods%netscape.com f065094abf Added rollover pseudo-class processing for mouse enter and exit 1999-01-27 04:09:12 +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
troy%netscape.com ff22a7c1f6 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
rods%netscape.com 64f5a23191 Factored out code for helper functions for determining size and for rendering 1999-01-22 15:32:57 +00:00
kipp%netscape.com 065905fa0b 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 036e6852f2 Removed the content-parent frame pointer. Now we just have the one geometric
parent
1999-01-14 05:16:23 +00:00
kipp%netscape.com cd76455b98 Use new flag defines 1999-01-12 16:42:03 +00:00
brade%netscape.com e061c6cf15 reduce Macintosh compiler warnings by making functions static/private 1999-01-06 18:45:28 +00:00
troy%netscape.com 4b3e1eebad Replaced "maxSize" member if nsReflowState with "availableWidth" and
"availableHeight"
1999-01-05 23:31:18 +00:00
troy%netscape.com 4591f9d2ad Changed width/height constraints in nsHTMLReflowState struct 1998-12-30 17:50:00 +00:00
troy%netscape.com 7b5cc03059 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
troy%netscape.com 9619058141 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
peterl%netscape.com 887cd5f867 sync to new attribute api 1998-12-20 01:21:23 +00:00
kipp%netscape.com c29e5116c7 Revised frame Paint API 1998-12-18 15:54:23 +00:00
kipp%netscape.com 45fc930a5a Partial whack at supporting more accurate max-element-size computations 1998-12-17 18:55:42 +00:00
harishd%netscape.com 17a3189fde No change 1998-12-07 19:00:45 +00:00
troy%netscape.com 2a4b2c503f Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
joki%netscape.com e7f70ce9ce Add click event support for every element and initial keypress event support 1998-11-24 07:46:58 +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
peterl%netscape.com 265c4ca8a7 cleaned up cursor style handling 1998-11-18 02:11:54 +00:00
michaelp%netscape.com 7a9e1a4bc1 changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00
karnaze%netscape.com cce53e947f 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 527ee073f8 Renamed Init() to SetInitialChildList() and added an additional parameter
for the name of the child list
1998-11-10 06:05:32 +00:00
peterl%netscape.com cedec7bc27 sync to style resolution api changes 1998-11-03 20:33:43 +00:00
troy%netscape.com fe4e76d9d9 Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight()
1998-11-01 01:29:00 +00:00
karnaze%netscape.com 94fb2992f1 initial support for opacity in html 4 button 1998-10-30 19:20:39 +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 2a0c2366bb 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 620b8538a5 support for constrained width, height 1998-10-19 23:02:41 +00:00
karnaze%netscape.com 9fb22bd084 html 4 <BUTTON> basic functionality 1998-10-17 00:35:32 +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