88 Commits

Author SHA1 Message Date
dean_tessman%hotmail.com
1512edaf12 Bug 86606 - <SELECT>s disappear when using X-Mouse
r=timeless, sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@110238 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 06:16:07 +00:00
bzbarsky%mit.edu
068756d821 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
jst%netscape.com
81bf1f1956 Checking in John Keiser's <jkeiser@iname.com> fix for *tons* of form submission and <select> related bugs, see tracking bug 34297 for details. r=rods@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107083 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 07:40:01 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
karnaze%netscape.com
1540a4c12e bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@103193 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 12:35:19 +00:00
jgaunt%netscape.com
92c01c45b6 fix for bug 94768
r=smfr,leaf
sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@101271 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 03:13:07 +00:00
jgaunt%netscape.com
99f7be2721 bug #86517 Landing of Accessible_052901_Branch4 sr=waterson
r= lots, see bug


git-svn-id: svn://10.0.0.236/trunk@98337 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 00:25:09 +00:00
rods%netscape.com
36b13cb2ba Major rework of how items are added, removed and selected (while being added and removed) with script
Now all the changes are performed, but no reflows are issued until the timer fires, which would be
after the script is done executing. The selection that take place during the script execution are
also cached and done afterward.
Bug 53165 r=pollmann sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@96675 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-08 02:34:09 +00:00
pollmann%netscape.com
161f586d22 Bug 77834: Fix problem where form control state is being restored to the wrong form control or not restored at all when going back and forth through session history. The problem was that the hash key we used was the content ID, which was not consistent from page load to page load. The fix was to key instead by index of form in document / index of control in form, with logic to fall back to content ID if we are unable to do this. r=nisheeth@netscape.com, sr=jst@netscape.com, a=drivers@mozilla.org (blizzard@mozilla.org)
git-svn-id: svn://10.0.0.236/trunk@96057 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 11:26:21 +00:00
evaughan%netscape.com
a4d0ce6ac8 Fix for bug #80902
-r jeff@tcbnetworks.com -sr waterson

Fix for bug #80505

-r aaronl, jgaunt -sr brendan


git-svn-id: svn://10.0.0.236/trunk@95337 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 23:52:32 +00:00
rods%netscape.com
2328a96abb Fixed the Onchange event, so it fires at the correct time.
Bug 62753 r=pollmann sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@91745 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-09 12:08:40 +00:00
rods%netscape.com
ba2e2347f8 Now only doing 1 reflow for each reflow request in the ListControlFrame
for initial and full resize reflows
Bug 69869 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@87751 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 01:45:45 +00:00
rods%netscape.com
2d35ca6701 When clicking away from the dropdown, it wasn't resetting itself correctly.
If only the mouse was being used for selection, then it needs to reset itself to the state before dropping down
if arrow keys had been used then it needs to keep that selection
The combobox chaches the current selection, so when arrow keys are used it has the correct selection
when the mouse is used it holds the old selection. So therefore, we can compare against it
to determine what to do.
Bug 63247
r=waqar sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@83918 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 23:25:40 +00:00
bryner%uiuc.edu
aae64e984b Mousewheel bugs 29244, 50339, 42313, 33733, and 57598. r=rods,pavlov. sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@83448 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 07:28:19 +00:00
waterson%netscape.com
1e7a248bab Bug 53969. Move anonymous content storage to pres shell; remove obsolete methods from nsIAnonymousContentCreator. r=dbaron, a=hyatt
git-svn-id: svn://10.0.0.236/trunk@80717 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 03:08:41 +00:00
rods%netscape.com
17abdbdfb2 Focus rect is now drawn and erased directly via C++ code. Focus comes from "SetFocus" being set
on the content node which calls the frame. The frame is notified of Blur via thecontent node
watching for NS_CONTENT_BLUR events.
The rule we are removing from html.css is responsible for drawing in the focus,
but it causes the combobox, the dropdown and all the options to have their style reresolved.
Bug 32920, r=attinasi, b=buster


git-svn-id: svn://10.0.0.236/trunk@80349 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 13:39:07 +00:00
rods%netscape.com
5c976bd892 removing bloat - removed unneeded boolean and an nsIHTMLContent pointer
b=51886 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@78641 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:15:57 +00:00
jst%netscape.com
7e0575bfee DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
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