307 Commits

Author SHA1 Message Date
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
troy%netscape.com
784a0739f7 Removed a function that wasn't needed and that would leak any child frames
that were passed in


git-svn-id: svn://10.0.0.236/trunk@29491 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 20:28:56 +00:00
troy%netscape.com
dd92090b15 Removed some code that wasn't needed and would cause any child frames
passed in to be leaked


git-svn-id: svn://10.0.0.236/trunk@29488 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 20:26:14 +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
evaughan%netscape.com
b82aa6bd28 Made tabs use visibility to hide and show views.
git-svn-id: svn://10.0.0.236/trunk@29133 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 20:07:45 +00:00
evaughan%netscape.com
8bd7a72b5b Added a tab control widget.
git-svn-id: svn://10.0.0.236/trunk@28561 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 22:46:15 +00:00
kmcclusk%netscape.com
73c719c037 fix for bug #3162, Removed #ifndef MAC in the nsSelectControlFrame::GetProperty.
The Mac now supports native combo box widgets so it no longer will crash in GetProperty
with a null mWidget field.
Modified nsComboboxControlFrame::HandleEvents. MouseExit from the combox rect now
initiates mouse capture on the drop-down list.
Modified nsCSSFrameConstructor::ConstructSelectFrame to initialize the drop-down list
for frame-based comboboxes as hidden.
Added a nsIListControlFrame::CaptureMouseEvents method.
Implemented nsListControlFrame::CaptureMouseEvents.


git-svn-id: svn://10.0.0.236/trunk@27879 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 19:28:12 +00:00
kipp%netscape.com
6272f24b55 Nuked useless includes
git-svn-id: svn://10.0.0.236/trunk@27390 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:52:03 +00:00
kipp%netscape.com
f86bab2beb Nuked extraneous include
git-svn-id: svn://10.0.0.236/trunk@27389 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:51:52 +00:00
kipp%netscape.com
97ede4824c Revised include
git-svn-id: svn://10.0.0.236/trunk@27388 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:51:43 +00:00
kmcclusk%netscape.com
9e271034c0 Enabled frame-based comboboxes when widget rendering mode is gfx.
Major changes to nsComboboxControlFrame:
Removed commented out code + nsIPluggableEventListener references.
Implemented nsComboboxControlFrame::GetNamesValues
Implemented nsComboboxControlFrame::SetProperty GetProperty methods
Fixed references to previously freed memory in nsComboboxControlFrame::ReResolveStyleContext
Modified ua.css style rules for dropdown-visible, drodown-hidden to have -moz- prefix.
Added -moz-dropdown-btn-out and -moz-dropdown-btn-pressed, -moz-dropdown-list rules.
Modified nsListControlFrame.cpp to calculate the width of the dropdown list for combo boxes correctly
Added nsListControlFrame::GetProperty and SetProperty methods.
Modified nsCSSFrameConstructor::ConstructSelectFrame to setup combobox.


git-svn-id: svn://10.0.0.236/trunk@27218 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 22:14:31 +00:00
karnaze%netscape.com
75564576d6 preliminary work for bug 4534
git-svn-id: svn://10.0.0.236/trunk@26443 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 04:47:18 +00:00
morse%netscape.com
524f372c72 moved single signon out of netlib
git-svn-id: svn://10.0.0.236/trunk@26178 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 22:56:18 +00:00
sdagley%netscape.com
b7d7b9e8c3 Changed prompt for selecting a file from "FileWidget Title <here> mode = save" to "File Upload" to match 4.x.
git-svn-id: svn://10.0.0.236/trunk@26136 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 02:32:46 +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
joki%netscape.com
58d63da788 Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements)
git-svn-id: svn://10.0.0.236/trunk@25418 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 22:22:54 +00:00
evaughan%netscape.com
cddf6f971f Added XUL based layout manager.
git-svn-id: svn://10.0.0.236/trunk@25282 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:58:29 +00:00
donm%netscape.com
6e7dbccbbf backing out evaughan's changes. tree closed.
git-svn-id: svn://10.0.0.236/trunk@25230 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 19:39:23 +00:00
evaughan%netscape.com
fc3e4622f8 Added box layout system.
git-svn-id: svn://10.0.0.236/trunk@25225 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 18:51:08 +00:00
kipp%netscape.com
9e4c4cb1e3 Whacked paint methods to use new constants
git-svn-id: svn://10.0.0.236/trunk@25154 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 00:39:35 +00:00
peterl%netscape.com
233822bc0d augmented ReResolveStyleContext to capture style change information
git-svn-id: svn://10.0.0.236/trunk@25093 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 06:43:38 +00:00