977 Commits

Author SHA1 Message Date
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
kmcclusk%netscape.com
040ca9ca76 Numerous changes to support gfx-rendered form elements.
git-svn-id: svn://10.0.0.236/trunk@36078 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 20:41:56 +00:00
peterl%netscape.com
a86f4802a3 fixed re-resolve style contexts to handle local pseudo elements
and capture style change information


git-svn-id: svn://10.0.0.236/trunk@35705 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 06:17:21 +00:00
pinkerton%netscape.com
98bf47bfd6 fix memory leaks (bug# 8221)
git-svn-id: svn://10.0.0.236/trunk@35508 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:26:32 +00:00
buster%netscape.com
cf0489fb83 added support for Ender GFX-rendered text control
made nsTextControlFrame an abstract base class for nsGfxTextControlFrame and
nsNativeTextControlFrame


git-svn-id: svn://10.0.0.236/trunk@35041 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 22:29:54 +00:00
bruce%cybersight.com
fe17fbea9b Explicitly include nsFileSpec.h. This will be necessary for some changes coming post-M7.
git-svn-id: svn://10.0.0.236/trunk@33917 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 11:49:04 +00:00
nisheeth%netscape.com
6f28191422 Patch from alecf to do a null pointer check on argument to GetSelectedIndex().
git-svn-id: svn://10.0.0.236/trunk@33872 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 00:18:58 +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
evaughan%netscape.com
e9f6f7321b Reworked fieldsets to fix numerous bugs.
git-svn-id: svn://10.0.0.236/trunk@33339 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 21:52:11 +00:00
kmcclusk%netscape.com
94269e3783 fix for bug #6971. Added support for clicking and dragging over items in single
and multiselect listboxes. Also supports holding down the shift and ctrl keys
while dragging.


git-svn-id: svn://10.0.0.236/trunk@33151 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 21:12:09 +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
pierre%netscape.com
75ff1ae0ae #3930 "file selection control displays complete path"
git-svn-id: svn://10.0.0.236/trunk@33060 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:40:18 +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
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
e58f0da145 bug #994 Major rework of nsListboxControlFrame to support option groups. Modified ua.css
optgroup > option rule to use padding to offset the option group's options.


git-svn-id: svn://10.0.0.236/trunk@31962 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 22:36:08 +00:00
mcmullen%netscape.com
7a366d8516 Removed string methods from the file widget
git-svn-id: svn://10.0.0.236/trunk@31773 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 22:01:21 +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
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
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
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
kmcclusk%netscape.com
4b50dd6645 bug #3547- Modified nsFileControlFrame.cpp to call nsFormFrame::AddFormControlFrame.
bug #5589. Selection area is now calculated using the inherited Reflow rather
than using the calculations used for the native listbox control.
Fixed varous other rendering bugs related to frame-based listboxes.
bug #2797. GetSize is no longer needed in nsListControlFrame and it has been removed.
Fixed frame-based combobox nsComboboxFrame so that will set it's label to the
first option in the drop-down list if a default value has not been specified.
Added optgroup style rules to ua.css. Opt groups now render, but there are remaining
problems with selection.
Modified nsButtonControlFrame::Reflow to call nsFormFrame::AddFormControlFrame.
This fixes a bug where Gfx-rendered submit button's were not working.
Refactored code in nsListControlFrame in preparation for supporting option groups.
Refactored selection code into SingleSelect and MultiSelect paths.
Removed unused code in nsListControlFrame.
Removed mSelectedFrame member variable. It is no longer needed.
Fixed nsListControlFrame::SetProperty so that it will toggle the selection in a
single select listbox.


git-svn-id: svn://10.0.0.236/trunk@30740 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 20:30:16 +00:00
sfraser%netscape.com
8267e60380 If you don't get an nsIFileWidget, don't just go ahead and call methods on it.
git-svn-id: svn://10.0.0.236/trunk@30661 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 04:54:43 +00:00
cyeh%netscape.com
3392afd90c backout mjudge checkin against closed tree. it also breaks mac as well, so
mjudge will try again when tree reopens


git-svn-id: svn://10.0.0.236/trunk@30428 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:05:41 +00:00
mjudge%netscape.com
09c4463cb3 removing useless drag info from ::HandleEvent that was copied from nsFrame implementation
git-svn-id: svn://10.0.0.236/trunk@30423 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 22:29:45 +00:00
karnaze%netscape.com
f6d61718e4 bug 3109 - nsFieldSetFrame::SetInitialChildList can deal with legend not being first frame in list
git-svn-id: svn://10.0.0.236/trunk@30219 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 21:35:05 +00:00
karnaze%netscape.com
a3062ab79f fixed potential divide by 0
git-svn-id: svn://10.0.0.236/trunk@29876 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 19:50:42 +00:00
pollmann%netscape.com
620d334a67 Bug 2504: Change mouse pointer over image submits
git-svn-id: svn://10.0.0.236/trunk@29569 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 22:54:15 +00:00
kipp%netscape.com
161c772762 Use shared IID
git-svn-id: svn://10.0.0.236/trunk@29556 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 22:14:36 +00:00