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
rods%netscape.com
89ba99747a
Combos now size correctly when the size is specified via style
...
r=kmcclusk, b=16317
git-svn-id: svn://10.0.0.236/trunk@52620 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 00:03:32 +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
3513334988
Moved a bunch of stuff out to a nsIFrameDebug interface
...
git-svn-id: svn://10.0.0.236/trunk@52427 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 22:12:45 +00:00
rods%netscape.com
beb6aa3e8b
At kipp's suggestion I added a EnterReflowLock before and a ExitReflowLock
...
after my AppendReflowCommand. The reflow command gets "kicked off"
and it is now fixed. r=kipp, b=14771
git-svn-id: svn://10.0.0.236/trunk@51916 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 23:34:46 +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
3133a0f78a
removed the PR_MAX forcing the y offset to be zero or greater. Not sure why it was doing this.
...
r=kmcclusk Bug #16152
git-svn-id: svn://10.0.0.236/trunk@51325 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 00:06:23 +00:00
pollmann%netscape.com
419cb327c4
Bug 15841: Don't default to selecting item 0 of a listbox
...
Bug 15769: Default select item 0 when adding or removing opt to combo
r=harishd
git-svn-id: svn://10.0.0.236/trunk@50444 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 08:47:29 +00:00
rods%netscape.com
db039d9432
ifdef'ed out a static counter for debugging. r=kmcclusk b=15637
...
git-svn-id: svn://10.0.0.236/trunk@50217 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 12:24:11 +00:00
rods%netscape.com
3848b18fe7
Added the COMPAre macro for comparing sizes with NavQuirks
...
r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@50149 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:46:31 +00:00
pollmann%netscape.com
1c6394c2d0
Bug 15170: Implement onchange notification for list boxes
...
git-svn-id: svn://10.0.0.236/trunk@49888 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 23:43:06 +00:00
rods%netscape.com
8da5559e0f
Added new method to tell the listcontrolframe it is about to be rolled up by the combobox
...
this enables it to unset any temporary selections and restore the actual selection
git-svn-id: svn://10.0.0.236/trunk@49580 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 14:30:33 +00:00
rods%netscape.com
5b32db8a61
Added ConsumeEvents parameter to CaptureRollupEvents
...
git-svn-id: svn://10.0.0.236/trunk@49440 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 14:36:17 +00:00
rods%netscape.com
b98dd90f9a
Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
...
Removed focus listener and ForcedRedraws
git-svn-id: svn://10.0.0.236/trunk@49426 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 11:36:32 +00:00
peterl%netscape.com
1bd4db5d5f
use style changed reflow instead of content changed when updating button
...
git-svn-id: svn://10.0.0.236/trunk@49290 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 03:35:24 +00:00
dcone%netscape.com
b24a03891e
Took out some Addrefs, causing leaks
...
git-svn-id: svn://10.0.0.236/trunk@48976 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 13:48:40 +00:00
rods%netscape.com
75d7a96f19
Added nsIRollupListener for rolling up the dropdown
...
git-svn-id: svn://10.0.0.236/trunk@48625 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 21:20:50 +00:00
pollmann%netscape.com
5d0f554d73
Remove redundant reset() call.
...
git-svn-id: svn://10.0.0.236/trunk@48249 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 09:18:33 +00:00
rods%netscape.com
a14ff84454
It was calculating the absolute position wrong. the frame's x,y was being added in twice.
...
git-svn-id: svn://10.0.0.236/trunk@47664 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 21:57:51 +00:00
pollmann%netscape.com
8791c2aa99
Bug 13058: (Fixed Solaris bustage by removing Inherited typedef)
...
git-svn-id: svn://10.0.0.236/trunk@47538 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 05:31:31 +00:00
pollmann%netscape.com
26e9fe5487
Backing things out until I can get Solaris bustage figured out.
...
git-svn-id: svn://10.0.0.236/trunk@47373 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 20:42:26 +00:00
pollmann%netscape.com
50e561d4b7
Bug 13058: Implement nsIStatefulFrame for selects. Some memory leak fixes. Plus the usual plethora of bugfixes for native selects
...
git-svn-id: svn://10.0.0.236/trunk@47364 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 19:37:45 +00:00
rods%netscape.com
6ba1c874d6
cleaned up some code
...
add method to get the absolute rect of the combobox frame for hit detectio
now drop downs drop down under the select
git-svn-id: svn://10.0.0.236/trunk@47201 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 23:20:50 +00:00
rods%netscape.com
3f21931d7b
Better fix for option elements with no content in them
...
git-svn-id: svn://10.0.0.236/trunk@46600 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 19:37:23 +00:00
rods%netscape.com
f95ba06c9a
Temporary fix to for mail compose.
...
git-svn-id: svn://10.0.0.236/trunk@46560 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 13:17:35 +00:00
sfraser%netscape.com
a9e0730fdd
#ifdef out a bunch of rods's printfs.
...
git-svn-id: svn://10.0.0.236/trunk@46459 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 00:23:40 +00:00
rods%netscape.com
aa14d30718
Added the proper event processing for disabled options
...
ListBoxes (as dropdowns) are now notified before the are about to be dropped down
git-svn-id: svn://10.0.0.236/trunk@46345 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 14:27:38 +00:00
pollmann%netscape.com
1045f56e80
Bug 12849: OnChange event.target is now the select instead of the option.
...
git-svn-id: svn://10.0.0.236/trunk@46145 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 02:16:23 +00:00
peterl%netscape.com
94339ec788
added accessors for additional style contexts
...
git-svn-id: svn://10.0.0.236/trunk@45966 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 23:36:32 +00:00
rods%netscape.com
ce8ef5632e
commented out some unused variables to remove warnings
...
git-svn-id: svn://10.0.0.236/trunk@45683 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 13:51:12 +00:00
rods%netscape.com
0bd721ba73
removing dom listeners on descruction
...
exposed absolutely positioning of the dropdown
now tries to SyncFrameWithView
git-svn-id: svn://10.0.0.236/trunk@45339 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 13:22:40 +00:00
pollmann%netscape.com
33abb09aa1
Cleanup, and bugfixes for bug 12475 and 12350
...
git-svn-id: svn://10.0.0.236/trunk@44732 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 03:58:13 +00:00
rods%netscape.com
495de201aa
Completely reworked the select GFX object - List and Combobox, it now does all event processing
...
via DOM listeners instead of through the frames
git-svn-id: svn://10.0.0.236/trunk@44679 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 14:54:07 +00:00
rods%netscape.com
30e2ad4948
Added GetDropDown method to return the nsListControlframe
...
git-svn-id: svn://10.0.0.236/trunk@44143 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 14:05:37 +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
rods%netscape.com
b3cd7d09f5
Now uses the button for the display area and uses the new selected index methods from the ListControlFrame
...
git-svn-id: svn://10.0.0.236/trunk@43601 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:11:59 +00:00
rods%netscape.com
9cea7df2aa
Add GetFrameForPoint to return the combobox when it is disabled. Added disabled code.
...
git-svn-id: svn://10.0.0.236/trunk@43004 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 19:25:22 +00:00
rods%netscape.com
59bd3253ba
ifdef'ed out the ambigous compiler error for Linux, this code isn't being used at the moment
...
git-svn-id: svn://10.0.0.236/trunk@42455 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 14:42:00 +00:00
rods%netscape.com
56159e3427
Made the Combobox a nsIDOMFocusListener, so it can set the focus on the "display"
...
content when focus goes to the button or the combobox itself
git-svn-id: svn://10.0.0.236/trunk@42449 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 14:13:20 +00:00
rods%netscape.com
6464e75057
Made many changes to fix several bugs
...
git-svn-id: svn://10.0.0.236/trunk@41485 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 21:38:08 +00:00
kmcclusk%netscape.com
4da058a9e8
bug #7032 Changed nsIWidget::Resize(...), nsIWidget::Move(...) to
...
use PRInt32 instead of PRUInt32. Modified Mac, and Linux to match.
bug #2010 Applied David Barrons patch for MakeSide ins CSSRendering.
nsIWidget - removed GetAbsoluteBounds - Not needed. Can use WidgetToScreen instead.
git-svn-id: svn://10.0.0.236/trunk@41353 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:26:36 +00:00
troy%netscape.com
a314bc3877
Renamed some nsFrameList member functions
...
git-svn-id: svn://10.0.0.236/trunk@40595 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 04:00:57 +00:00
troy%netscape.com
947927e816
Renamed DeleteFrame() to Destroy()
...
git-svn-id: svn://10.0.0.236/trunk@40585 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 02:24:52 +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
kmcclusk%netscape.com
5526ed6cff
Modified gfx-rendered widget styles to more closely match styles
...
in http://www.mozilla.org/xpfe/nsGFXWidgets.html .
Added check for null mHitFrame in nsListControlFrame::MultipleSelection and
nsListControlFrame::SingleSelection.
git-svn-id: svn://10.0.0.236/trunk@36610 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 21:50:56 +00:00
kmcclusk%netscape.com
45d6c97be2
fixes for bugs #5809 , #5852 , #6828 , #6973 .
...
Added a new test16.html sample to test gfx-rendered widgets to viewer.
Added support for test17.html sample to test printing.
git-svn-id: svn://10.0.0.236/trunk@32972 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:17:10 +00:00
kipp%netscape.com
de60169b67
Reworked frame factory methods; fixed bug 4519
...
git-svn-id: svn://10.0.0.236/trunk@31154 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 22:03:29 +00:00
mjudge%netscape.com
644a9e449d
massive checkin for selection modifications and removing static state variables for selection in nsFrame.h.
...
git-svn-id: svn://10.0.0.236/trunk@30744 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:12:59 +00:00