162 Commits

Author SHA1 Message Date
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
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
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