111 Commits

Author SHA1 Message Date
pollmann%netscape.com
7db58c7c36 Bug 42662: Values of disabled form elements should not be submitted; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@75557 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:32:02 +00:00
rods%netscape.com
389ee6e6a0 moved the RegUnRegAccessKey to the Destroy method
b=47302 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@75430 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:12:11 +00:00
joki%netscape.com
6aa7ce987a Adding accesskey support. Bug 959.
git-svn-id: svn://10.0.0.236/trunk@70027 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 10:22:20 +00:00
rods%netscape.com
a54cc52332 Add ifdef'ed Performance Reflow Counting code
git-svn-id: svn://10.0.0.236/trunk@66762 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:51:35 +00:00
rods%netscape.com
a3d39e96df Dirty reflows are treated like Incremental for optimization
The GetAbsoluteFramePosition didn't take into account if the comboxbox was had a prent view with no parent
b=35291


git-svn-id: svn://10.0.0.236/trunk@65720 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 14:51:10 +00:00
rods%netscape.com
a8f3a40dd5 fixed up some ifdefs to shutoff debug output
git-svn-id: svn://10.0.0.236/trunk@64040 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 14:59:02 +00:00
rods%netscape.com
5ef540aa99 Added static method for getting the absolute rect in twips and pixels
moved from nsComboboxControlFrame.cpp
r=dcone b=18895


git-svn-id: svn://10.0.0.236/trunk@63588 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:18:07 +00:00
rods%netscape.com
7dc235b13a Moved GetScreenHeight from Combobox frame to here. duplicated the SkipRelfow method to
some rework, and I can if def it in and out
b=18895 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@63391 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 13:45:30 +00:00
pierre%netscape.com
c84deb6d8c 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.


git-svn-id: svn://10.0.0.236/trunk@63284 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 10:15:13 +00:00
rods%netscape.com
0e0b56089f modified the reflow method for better handling incremental and for optimization
b=28593, r=buster,kmclusk a=jar


git-svn-id: svn://10.0.0.236/trunk@62115 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 04:28:59 +00:00
rods%netscape.com
18b173e092 changing nsCOMPtr to weak references for PresContext
a=leaf, r=self, bug=bloat&leak went up


git-svn-id: svn://10.0.0.236/trunk@60260 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 23:20:56 +00:00
rods%netscape.com
cffeb53a49 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


git-svn-id: svn://10.0.0.236/trunk@60248 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 19:34:39 +00:00
pp%ludusdesign.com
a2927ce43e Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot
git-svn-id: svn://10.0.0.236/trunk@59537 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:24:56 +00:00
rods%netscape.com
e061d60a88 changed signature of GetFont b=905 r=dcone
git-svn-id: svn://10.0.0.236/trunk@58599 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 15:25:46 +00:00
rods%netscape.com
441a24c006 Added unconstrainted reflow optimization methods
r=kmcclusk bug=12653


git-svn-id: svn://10.0.0.236/trunk@57210 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 15:53:48 +00:00
rods%netscape.com
a54126699a backed out all changes from today (1/5/2000)
git-svn-id: svn://10.0.0.236/trunk@56850 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 16:42:47 +00:00
rods%netscape.com
e7ede31c99 turning off reflow optimization until further XUL testing can be done.
r=self


git-svn-id: svn://10.0.0.236/trunk@56848 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 15:47:16 +00:00
rods%netscape.com
18cc797646 Added unconstrainted reflow optimization methods
r=kmcclusk bug=12653


git-svn-id: svn://10.0.0.236/trunk@56842 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 15:15:22 +00:00
tbogard%aol.net
ae5a81e394 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
rods%netscape.com
affaaecfb9 removing extra box sizing code that is not needed.
computed border and padding is always added for Standard and only for explicit w/h for NavQuirks.
r=dcone bug=18448


git-svn-id: svn://10.0.0.236/trunk@53883 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 15:15:07 +00:00
rods%netscape.com
281122754e temporarily adding box sizing utility methods to help forms calculate their size
appropriately for box sizing.
r=kmcllsuk, bug 18448


git-svn-id: svn://10.0.0.236/trunk@53510 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 15:16:28 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
pollmann%netscape.com
b98eecf039 Bug 17431: Clean house in form and form control destructors to allow reframing r=harishd a=choffman
git-svn-id: svn://10.0.0.236/trunk@52822 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-04 23:16:47 +00:00
pollmann%netscape.com
4b235a7aef Removing null code. No bug number. r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@52479 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 01:50:15 +00:00
troy%netscape.com
bd46e7911f Changed SetView/GetView to take an additional argument which is the
pres context


git-svn-id: svn://10.0.0.236/trunk@51822 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 04:44:41 +00:00
rods%netscape.com
4ed34567a9 Changed getVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
git-svn-id: svn://10.0.0.236/trunk@49421 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 11:30:04 +00:00
peterl%netscape.com
4c0553554b manage view visibility better
git-svn-id: svn://10.0.0.236/trunk@49292 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 03:36:16 +00:00
rods%netscape.com
b6cead6582 Commented out space key event processing
git-svn-id: svn://10.0.0.236/trunk@46386 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 19:55:08 +00:00
rods%netscape.com
b6f8bc909e during reflow it now should only reflow once for GFX widgets
git-svn-id: svn://10.0.0.236/trunk@45895 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 14:44:53 +00:00
rods%netscape.com
e7c6227e29 Changed Reflow to check for whether it is native mode or not. InGFX mode it now call the base class' (nsLeafFrame)
Reflow so it does a better job of laying out.


git-svn-id: svn://10.0.0.236/trunk@44840 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 14:38:54 +00:00
pollmann%netscape.com
60e2a67f05 Bug 3256: Add ScrollIntoView() method to form frame objects.
git-svn-id: svn://10.0.0.236/trunk@43912 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 00:09:24 +00:00
pierre%netscape.com
6a1d462764 breaking up gfx & native widgets
git-svn-id: svn://10.0.0.236/trunk@42404 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 05:11:39 +00:00
joki%netscape.com
73627c01e7 Event fixes to allow key event handling by GFX widgets and fixes for window.defaultStatus.
git-svn-id: svn://10.0.0.236/trunk@41139 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 15:02:19 +00:00
kmcclusk%netscape.com
d08711ed3a nsPresContext.cpp,.h - Added eWidgetRendering_PartialGfx as a rendering mode to PresContext.
ua.css - Added select[multiple] rule for multi-select listboxes without a size
Fixed form submission for gfx checkboxes,radiobuttons, and select by rewriting GetNamesValues.
Added nsListControlFrame::GetSizeAttribute and nsListControlFrame::GetNumberOfRows
Added logic to nsCSSFrameConstructor::ConstructSelectFrame and nsListControlFrame::Reflow
to handle the case of a multiselect select without a size specified.


git-svn-id: svn://10.0.0.236/trunk@40339 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 22:32:41 +00:00
troy%netscape.com
a89529386f Added 'm' prefix to some of the nsHTMLReflowState data members
git-svn-id: svn://10.0.0.236/trunk@40215 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 03:41:03 +00:00
kmcclusk%netscape.com
12a07070be 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.


git-svn-id: svn://10.0.0.236/trunk@39401 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 22:00:24 +00:00
pinkerton%netscape.com
8aba8f4226 unpatch leaf's hack in 1.73 since form submission now works correctly. Mac now once again submits the form when return is pressed.
git-svn-id: svn://10.0.0.236/trunk@33529 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:05:40 +00:00
pollmann%netscape.com
1187a6df01 Bug 3322: NS_CONTROL_CHANGE events call ControlChanged on the form frame.
git-svn-id: svn://10.0.0.236/trunk@33071 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 01:05:19 +00:00
leaf%mozilla.org
028387ac22 Filtering out form submission in all cases, to get location bar working
for mac. This will be fixed RSN.


git-svn-id: svn://10.0.0.236/trunk@32631 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 23:25:19 +00:00
evaughan%netscape.com
e737c85970 Fixed some visibility bugs in order to make the tab widget work correctly.
git-svn-id: svn://10.0.0.236/trunk@32341 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 22:14:11 +00:00
kmcclusk%netscape.com
7972adcafd 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.


git-svn-id: svn://10.0.0.236/trunk@31518 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:45:40 +00:00
evaughan%netscape.com
af52352a73 Fixed form submission.
git-svn-id: svn://10.0.0.236/trunk@31457 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 21:29:57 +00:00
evaughan%netscape.com
6073e2aa13 Fixed pseudoclass hack to actually use active, hover, focus pseudoclasses.
git-svn-id: svn://10.0.0.236/trunk@31365 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 01:35:16 +00:00
evaughan%netscape.com
e56eb59472 Fixed xul boxes to implement nsIBox interface.
git-svn-id: svn://10.0.0.236/trunk@30900 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 21:46:24 +00:00
karnaze%netscape.com
b15a37405e bug 4143; bug 2467; removed frame caching in nsFormFrame.
git-svn-id: svn://10.0.0.236/trunk@29306 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 00:06:03 +00:00
karnaze%netscape.com
f7e55661da bug 4141 - space activating a button
git-svn-id: svn://10.0.0.236/trunk@25678 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 06:02:12 +00:00
warren%netscape.com
0b33372d99 nsRepository -> nsIComponentManager changes.
git-svn-id: svn://10.0.0.236/trunk@23300 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 09:44:27 +00:00
kipp%netscape.com
e24dd0c2bf Removed dead include
git-svn-id: svn://10.0.0.236/trunk@22900 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 19:23:09 +00:00
kmcclusk%netscape.com
4bd141876c 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


git-svn-id: svn://10.0.0.236/trunk@22614 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 22:43:26 +00:00
karnaze%netscape.com
975ac58a63 correctly set max element size on checkbox, radio. Other cleanup.
git-svn-id: svn://10.0.0.236/trunk@22306 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 03:59:19 +00:00