307 Commits

Author SHA1 Message Date
rods%netscape.com
e0b31dc463 Cleanup the file and gave it a unique GUID.
git-svn-id: svn://10.0.0.236/trunk@44674 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 14:45:53 +00:00
pollmann%netscape.com
7c57974948 Rewrite of AddOption/RemoveOption(), adding nsISelectControlFrame interface.
git-svn-id: svn://10.0.0.236/trunk@44367 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 21:55:56 +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
buster%netscape.com
d73d1687de preliminary support for text area wrap
install text control's event listeners ahead of the editor's own default listeners.


git-svn-id: svn://10.0.0.236/trunk@44122 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 06:46:08 +00:00
pollmann%netscape.com
8a60159afc Bug 3256: Add ScrollIntoView() method to form control frame interface.
git-svn-id: svn://10.0.0.236/trunk@43913 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 00:10:13 +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
b5eb053eec Added method GetSelectedIndex
git-svn-id: svn://10.0.0.236/trunk@43611 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:26:38 +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
64ca5fd641 Renamed some methods and changed the selected item to be able to pass the currently selected index instead of just being able to get the currently selected item
git-svn-id: svn://10.0.0.236/trunk@43600 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:11:28 +00:00
rods%netscape.com
affac488d7 It now loks at the "disabled" property when initialized and looks for an attribute changed notification to disable itself
git-svn-id: svn://10.0.0.236/trunk@43595 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:03:53 +00:00
rods%netscape.com
9ab642bbe5 It now takes into account the suggested size in the calculation
git-svn-id: svn://10.0.0.236/trunk@43594 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:02:20 +00:00
rods%netscape.com
8aa3f445f1 The button was being sized wrong, so the computed border padding needed to be removed beforehand and then is added back in later by layout
git-svn-id: svn://10.0.0.236/trunk@43593 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:00:09 +00:00
kmcclusk%netscape.com
be14e9d88a Fix for bug #11717. Check in Ok'ed by cyeh@netscape.com
Don't do the super class'es IsSuccessful because it always returns PR_FALSE
because the (this) pointer is not equal to the submitter.


git-svn-id: svn://10.0.0.236/trunk@43258 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-12 22:06:09 +00:00
pinkerton%netscape.com
d334cb1ecb cleaning up and simplifying checkbox. Adding tri-state checkbox behavior keyed off of the presence of an attribute.
git-svn-id: svn://10.0.0.236/trunk@43158 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-11 04:45:49 +00:00
pollmann%netscape.com
08d99078d0 Bug 10939: Make image input element transparent
git-svn-id: svn://10.0.0.236/trunk@43138 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-11 03:30:25 +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
ab28d9a6f9 Fixed Reset to work properly, removed InitializeFromContent method, changed where the list was adding itself to FormControlFrame
git-svn-id: svn://10.0.0.236/trunk@43002 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 19:22:51 +00:00
kmcclusk%netscape.com
9e4c341c69 Rewrote nsButtonControlFrame. It is now based on nsHTMLButtonControlFrame.
Added style rules to set submit, reset, and browse buttons default labels.


git-svn-id: svn://10.0.0.236/trunk@42998 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 19:13:57 +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
33ecbde954 Started to add code to better handle resizing when there are no elements.
git-svn-id: svn://10.0.0.236/trunk@42450 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 14:14:38 +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
ramiro%netscape.com
6537159c2b Fix gcc 2.7 bustage. It smells a lot like a bug in gcc. It was having
trouble dealing with the Inherited typedef in the class declaration.
I replaced |Inherited| with the real thing Inherited was aliasing and all is
ok.  Pierre code reviewed.


git-svn-id: svn://10.0.0.236/trunk@42413 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 07:14:43 +00:00
pierre%netscape.com
36f4cf1552 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@42405 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 05:13:07 +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
evaughan%netscape.com
be9613f0eb Fixed fieldset padding bug.
git-svn-id: svn://10.0.0.236/trunk@42389 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 00:48:26 +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
rods%netscape.com
fd779c3778 Added NS_DEFINE_STATIC_IID_ACCESSOR
git-svn-id: svn://10.0.0.236/trunk@41483 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 21:35:55 +00:00
rods%netscape.com
a7021cc7c2 NS_DEFINE_STATIC_IID_ACCESSOR and removed the AboutToDropdown method
git-svn-id: svn://10.0.0.236/trunk@41482 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 21:35:28 +00:00
troy%netscape.com
08b0ac1ce2 Added failure check for call to nsStyleData::GetBorder()
git-svn-id: svn://10.0.0.236/trunk@41422 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 04:48:34 +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
pavlov%netscape.com
947d846be6 window creation changes
git-svn-id: svn://10.0.0.236/trunk@41241 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 04:27:17 +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
morse%netscape.com
05e0844b4a Remove wallet from layout
git-svn-id: svn://10.0.0.236/trunk@40944 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 01:39:58 +00:00
scc%netscape.com
ed86a6a75d Fixed boxes to only invalidate and redraw what has changed.
Made min and max sizes work
Made linux not suck!


git-svn-id: svn://10.0.0.236/trunk@40749 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-23 00:11:21 +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
rods%netscape.com
b8fd1ccc0f changed Invalidate calls to have a FLASE repaint flag
git-svn-id: svn://10.0.0.236/trunk@39695 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 14:24:51 +00:00
rods%netscape.com
4d34dc1aa4 commented out repaint for focus
git-svn-id: svn://10.0.0.236/trunk@39694 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 14:23:48 +00:00
jdunn%netscape.com
dfc9559188 Adding newline at end... HP requires it
git-svn-id: svn://10.0.0.236/trunk@39595 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 00:26:47 +00:00
beard%netscape.com
9db4e04c42 Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@39442 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 23:23:47 +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
kipp%netscape.com
1b24c1974d Removed HaveFixedContent* methods from nsHTMLReflowState and updated code to match (fix bug #7993)
git-svn-id: svn://10.0.0.236/trunk@38572 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 02:33:17 +00:00
sspitzer%netscape.com
151068ddd1 fix warning
git-svn-id: svn://10.0.0.236/trunk@38424 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-06 22:40:54 +00:00
evaughan%netscape.com
09d003848a Added anonymous node support.
Added splitters
Added Grippies.


git-svn-id: svn://10.0.0.236/trunk@37561 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 22:17:43 +00:00
pollmann%netscape.com
9fc86d5246 Getting cursor from style system: Insert paranoia^H^H^H^H^H^H^H^H^H stability code here.
git-svn-id: svn://10.0.0.236/trunk@36806 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 01:17:18 +00:00
pollmann%netscape.com
c49e438a18 Use the style system to get the mouse pointer for an image input element.
git-svn-id: svn://10.0.0.236/trunk@36787 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 00:19:44 +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
5c1bb39d17 Removed commented out code to perform system mouse capture.
git-svn-id: svn://10.0.0.236/trunk@36080 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 20:46:47 +00:00