70 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
3b9c9e465a Fix leak on hovering over a scrollbar and re-fix similar leak for text inputs (bug 42895) by adding a "general" method for unrooting anonymous content created through nsIAnonymousContentCreator, plus a hack to deal with the scrollbars on the root element. Some of the other SetDocumentForAnonymousContent methods *may* need to be implemented. Chris Waterson helped significantly with this patch. r=waterson,hyatt b=45676 (nsbeta3+)
git-svn-id: svn://10.0.0.236/trunk@75882 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 12:51:05 +00:00
rods%netscape.com
b077844144 47302 - moved the RegUnRegAccessKey to the Destroy Method
44788 - Comboboxes do not obey style height
42661 - javascript "selected = true" doesn't inform onChange of
b=47302, 44788, 42661 r=kmclusk


git-svn-id: svn://10.0.0.236/trunk@75493 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 14:13:40 +00:00
rods%netscape.com
c936b8f011 backing out changes until I get them all in
git-svn-id: svn://10.0.0.236/trunk@75436 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:59:45 +00:00
rods%netscape.com
0598d4e64a 47302 - moved the RegUnRegAccessKey to the Destroy Method
44788 - Comboboxes do not obey style height
42661 - javascript "selected = true" doesn't inform onChange of
b=47302, 44788, 42661 r=kmclusk


git-svn-id: svn://10.0.0.236/trunk@75432 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:24:14 +00:00
rods%netscape.com
375710d6d3 part of fix for Bug 33733
added ShouldRollupOnMouseWheelEvent methos to ask if the rollup want to rollup on MouseWheel events


git-svn-id: svn://10.0.0.236/trunk@69441 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 20:23:04 +00:00
buster%netscape.com
4fb9226391 effectively removed area frame
work troy was holding in his tree
r=buster


git-svn-id: svn://10.0.0.236/trunk@68808 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 05:11:12 +00:00
rods%netscape.com
7741a4bea3 The fix will turn itself on when in HTMLdocument and turn off in XUL documents
I will remove the old code when all the selects are removed from the UI
bug 36558


git-svn-id: svn://10.0.0.236/trunk@68698 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 20:32:11 +00:00
rods%netscape.com
a59a1ace9c add OptionDisabled so the nsHTMLOptionElement can notify a select that an option
has just been disabled


git-svn-id: svn://10.0.0.236/trunk@67580 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 23:24:59 +00:00
rods%netscape.com
26338973b9 text content longer gets set to "" which it ignores, it
gets set to " " when thedisplay should be ""
bug 36459
Add ifdef'ed Performance Reflow Counting code


git-svn-id: svn://10.0.0.236/trunk@66763 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:53:38 +00:00
rods%netscape.com
bbcb0f397d Not enabling creator's to be asked if they want to create a special frame for anonymous content
bug 33515


git-svn-id: svn://10.0.0.236/trunk@66446 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 13:55:17 +00:00
dbaron%fas.harvard.edu
0936aaafab Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161.
git-svn-id: svn://10.0.0.236/trunk@63689 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:43:08 +00:00
rods%netscape.com
30fec46b94 Moved GetAbsoluteFramePosition to nsFormControlFrame, chanhed the callers to check the return code.
r=dcone b=18895


git-svn-id: svn://10.0.0.236/trunk@63589 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:19:40 +00:00
rods%netscape.com
1310a72d4b Removed GetScreenHeight and using the one in nsFormControlFrame
b=25774 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@63395 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 14:20:03 +00:00
rods%netscape.com
3747feefc2 turning off debug #defines
git-svn-id: svn://10.0.0.236/trunk@63053 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:47:11 +00:00
rods%netscape.com
f2051a9c75 nsITextContent needed to be included not forwarded.
git-svn-id: svn://10.0.0.236/trunk@62309 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 16:45:21 +00:00
rods%netscape.com
7e5fa53319 Fixed Combobox and ListBox frame to be more effecient in processing reflows
added Block and text frame for displaying the selected option for the combobox
Fixes Bugs 30463, 28835, 29544
r=buster,kmcclusk a=jar


git-svn-id: svn://10.0.0.236/trunk@62306 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 15:54:31 +00:00
rods%netscape.com
7bd524384c Backout plan, this check only fixes bug 28628
a=jar


git-svn-id: svn://10.0.0.236/trunk@62128 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 07:14:58 +00:00
rods%netscape.com
deca5369c1 added include instead of the class decl.
r=waterson


git-svn-id: svn://10.0.0.236/trunk@62118 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 05:06:03 +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
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
rods%netscape.com
c8eb9abdc2 added the caching of the restore state until the list frame gets reset
removed the positioning of the dropdown at the bottom of reflow
r kmcclusk b=21945,25059


git-svn-id: svn://10.0.0.236/trunk@59317 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:59:55 +00:00
rods%netscape.com
f8ad740dac using correct usesage pattern for getting and seeting the FrameState
Added in my new reflow code with an ifdef so I can work on it and fix other bugs
fixed the checking of return codes for getHTMLAttr
removed ShouldScrollFrameIntoView, the presshell can now do this.
also commented out the call to Position the Dropdown
r=dcone b=24292


git-svn-id: svn://10.0.0.236/trunk@59073 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 15:24:49 +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
troy%netscape.com
60471abd92 b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.


git-svn-id: svn://10.0.0.236/trunk@58373 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 01:16:50 +00:00
hyatt%netscape.com
8f6502ffb7 Fixes for bugs 17460 and 21656. r=travis
git-svn-id: svn://10.0.0.236/trunk@57811 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 09:28:54 +00:00
rods%netscape.com
98e4be328f The combobox would be scrolled into view if some portion of it is visible.
b 23068 r=attintasi


git-svn-id: svn://10.0.0.236/trunk@57740 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 23:52:53 +00:00
rods%netscape.com
f55d48fad0 Added unconstrainted reflow optimizations
r=kmcclusk,dcone bug=12653


git-svn-id: svn://10.0.0.236/trunk@57223 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-09 01:52:17 +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
bc6544da40 Added unconstrainted reflow optimizations
reworked reflow to more accurately calculate its size
r=kmcclusk,dcone bug=12653


git-svn-id: svn://10.0.0.236/trunk@56847 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 15:46:29 +00:00
rods%netscape.com
ee6753e288 Added experimental ifdef;ed but turned for reducing the number of resize reflows,
basically we ignore them and pass back our most recently reflowed size
r=karnaze bug=22063


git-svn-id: svn://10.0.0.236/trunk@56394 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 19:46:28 +00:00
rods%netscape.com
6cc1f48662 temprary fix for combobox dropdowns that jump all around.
changed the way a temp nsSize was being created.
removed all the dom listener interfaces and code (they weren't being used)
r=beard,self a=chofmann bug 19416, 20957, 19300, 20250


git-svn-id: svn://10.0.0.236/trunk@55991 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 22:22:00 +00:00
rods%netscape.com
c4e4448cdb Added a "flags" variable for combobox creation
also fixed a a small problem with border padding being added in for fixed size comboboxes
r=self,  bug 19382


git-svn-id: svn://10.0.0.236/trunk@55379 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 20:43:18 +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
19bedc8578 added bool parm to is DoneAddinContent r=dcone bug 18241
git-svn-id: svn://10.0.0.236/trunk@54006 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 15:46:20 +00:00
rods%netscape.com
39c4cb7c9e Added MakeSureSomethingIsSelected to the combobox so the ListBox can
call it after it is initialized.


git-svn-id: svn://10.0.0.236/trunk@53690 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 22:47:23 +00:00
rods%netscape.com
d018396336 Added new method "DoneAddingContent" so the select frame can be told that all the content has been added
Reworked the select code to keep the state as to whether all the content and/or all the frames
have been created and then whether it is initialized
r=self&kmcclusk, bug 17965


git-svn-id: svn://10.0.0.236/trunk@53258 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 22:13:33 +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
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
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
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
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
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
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
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
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
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