Граф коммитов

481 Коммитов

Автор SHA1 Сообщение Дата
jkeiser%netscape.com d7d9298ab3 Make shift+click work the first time you click in a select (bug 167142), r=peterl@netscape.com, sr=sfraser@netscape.com 2002-12-20 05:32:27 +00:00
jkeiser%netscape.com cb84e04c70 Make GetType() return int instead of nsresult (bug 167762), r=peterl@netscape.com, sr=kin@netscape.com 2002-12-18 23:38:09 +00:00
jkeiser%netscape.com a1d3c960e5 Make empty dropdowns handle key events (bug 147148), r=peterl@netscape.com, sr=sfraser@netscape.com 2002-12-17 00:56:01 +00:00
kyle.yuan%sun.com f1ebcab55a Bug 159947 no way to multiselect using keyboard in list box
r=akkana, sr=bryner
Use charCode instead of keyCode to check whether a key typing is SPACE
2002-12-11 03:24:27 +00:00
peterv%netscape.com 2cd27f702a Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
bzbarsky%mit.edu d33d3708fe Align text inputs, buttons, comboboxes to baseline with respect to the
text around them (bug 167236).  Fix width sizing issues for <input
type="button/reset/submit"> (bugs 79927, 36364).  Fix nonuniform heights
of form controls (bug 70251).  Patch is on bug 167236, r=jkeiser,
sr=roc+moz, moa=rods
2002-11-12 19:17:51 +00:00
kyle.yuan%sun.com 4acee63ab2 Bug 177965 Wrong option selected in select field when pressing first key
r=jkeiser, sr=bzbarsky
Use a static member function ComboboxFocusSet() to clear the gLastKeyTime, and have gLastKeyTime be a static member
2002-11-07 10:25:03 +00:00
kyle.yuan%sun.com a3dadf6cfe Bug 119696 Many keyboard shortcuts don't work when focus is on a <select> (listbox or drop-down)
r=jkeiser, sr=bzbarsky, a=roc+moz
Thanks for Simford.Dong@sun.com's fix
2002-10-30 01:05:43 +00:00
aaronl%netscape.com eeb40eac51 Bug 175827. Accessibility APIs: XUL and HTML comboboxes - when pulled down, should have initial MSAA focus event on first focused option. r=kyle, sr=alecf, a=dbaron 2002-10-25 02:53:45 +00:00
kyle.yuan%sun.com a20c3b924d Bug 161449 Non-ASCII shortcuts for select elements in html forms
r=aaronl, sr=alecf
fix nsCRT::ToLower/ToUpper bugs and use |ToLowerCase()| instead of |nsCRT::ToLower()| in nsListControlFrame
2002-09-29 01:42:07 +00:00
hyatt%netscape.com e8710c1495 Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake 2002-09-21 01:03:38 +00:00
kyle.yuan%sun.com c49df165a5 Bug 150590 should be able to type words into <select> - incremental search for item
r=jkeiser, sr=bryner
Support incremental typing navigation for <select>
2002-09-20 02:12:12 +00:00
dougt%netscape.com 68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
dougt%netscape.com fae89c4077 Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 05:38:16 +00:00
dougt%netscape.com f2a00efc93 Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:36:13 +00:00
bzbarsky%mit.edu bd00f336c3 Fix crash when clicking empty space in <select>. Bug 161499, r=jkeiser, sr=jst 2002-08-08 22:27:57 +00:00
bzbarsky%mit.edu 5d1c18865d clean up some form control stuff (use common helpers and superclasses
for shared functionality where possible).  r=jkeiser, sr=jst
2002-08-06 23:50:08 +00:00
jkeiser%netscape.com faf019ce38 Get rid of dirt and sludge from the select interface, and add comments (bug 159242), r=rods@netscape.com, sr=jst@netscape.com 2002-08-06 04:59:15 +00:00
jkeiser%netscape.com 4d507d3aff Remove nsFormFrame forever. bug 125578, r=alexsavulov@netscape.com, sr=jst@netscape.com 2002-06-04 00:44:04 +00:00
karnaze%netscape.com 1faf4c0592 bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov. 2002-05-28 22:50:43 +00:00
rods%netscape.com c2d186a7fa temporary patch to the forms controls to ignore mouse events when in
printpreview until Bug 124990 gets fixed (radio and checkbox doesn't need the fix)
this code will be removed via bug 146399
Bug 129002 r=dcone sr=attinasi
2002-05-23 11:25:58 +00:00
jst%netscape.com 1075a3f80d Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com 2002-05-23 00:00:34 +00:00
waterson%netscape.com e3554c37cc Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi 2002-05-10 18:22:41 +00:00
rods%netscape.com 249c99976d Selection now works with multiple selects
Bug 64165 r=jkeiser sr=attinasi
2002-04-17 00:09:54 +00:00
rods%netscape.com e6ba8d44f3 Backed out the one line that causes this to happen
64165 r=jkeiser sr=attinasi
2002-04-15 13:39:00 +00:00
rods%netscape.com 57b403c725 Click on the checkbox to get focus to the right spot and then press <tab> to
move between the listboxes.
Bug 64165 r=dcone sr=attinasi
2002-04-11 00:53:20 +00:00
rods%netscape.com 5d756d11b6 This backs out the previous patch and just check to see if it is also a
listControlFrame to see if it should set the visibility to false in
nsContainerFrame
Bug 92333 r=dcone sr=attinasi a=asa adt=jaime
2002-04-05 13:27:04 +00:00
jkeiser%netscape.com 8bd94cbcd7 Make listboxes not select the nearest visible option when tabbing out (bug 132431). r=rods@netscape.com, sr=attinasi@netscape.com, a=asa 2002-04-05 04:34:02 +00:00
aaronl%netscape.com be88fe4c6a Bug 112978. HTML select options need to generate Accessibility API focus events, so screen readers can track user's movements through options. r=jgaunt, sr=attinasi, a=asa 2002-04-04 23:27:45 +00:00
jkeiser%netscape.com e95bf883e6 Move save/restore form control state to content (bug 108309). r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org 2002-03-31 10:14:01 +00:00
jkeiser%netscape.com 31e41094ef Backing out 108308 due to pageload spike 2002-03-29 07:35:09 +00:00
jkeiser%netscape.com 39fe8af27c Move save/restore of form controls to content (bug 108309) (r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org) 2002-03-29 05:35:47 +00:00
rods%netscape.com 27c318e746 Add SetVisibility method to Scroll Views
It now checks the visibility and adjusts the scrollbars accordingly
Bug 92333 r=kmcclusk sr=attinasi a=asa
2002-03-27 02:58:56 +00:00
dbaron%fas.harvard.edu 66238732c8 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 22:26:36 +00:00
jkeiser%netscape.com b912cb1c68 Fix select focus crasher (bug 125906), r=rods@netscape.com, sr=attinasi@netscape.com, a=asa 2002-03-14 00:56:56 +00:00
mkaply%us.ibm.com 9c58ca40c8 #100186
r=jkeiser, sr=attinasi, a=asa
On OS/2 and Windows, handle F4 to roll up and down dropdowns
2002-03-08 15:49:30 +00:00
bryner%netscape.com d2229cbf68 - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.
2002-03-07 03:34:29 +00:00
jkeiser%netscape.com f929b21bf6 Tabbing out of dropdown does not reset selected item (bug 100188), r=rods@netscape.com, sr=attinasi@netscape.com 2002-02-20 05:59:46 +00:00
roc+%cs.cmu.edu 59d3d1ebd0 Bug 91516. Organize view managers into a tree so that IFRAMEs can be rendered and event-processed coherently with their containing documents. r=kmcclusk,rods,sr=attinasi 2002-02-19 21:33:26 +00:00
jkeiser%netscape.com 2cceb551a9 bug 110800 - fire onChange when losing dropdown focus. r=rods@netscape.com, sr=kin@netscape.com 2002-02-08 18:35:48 +00:00
roc+%cs.cmu.edu 71f8f6558e Bug 13213. Allow views to extend above and to the left of their owner frames. r=kmcclusk,rs=waterson 2002-01-27 07:56:23 +00:00
jkeiser%netscape.com b4782ab0df Make onChange, reflow system in comboboxes/lists better (bug 112241). r=rods, sr=kin 2002-01-25 23:35:44 +00:00
jkeiser%netscape.com a4e89c98c2 Backing out bug 112241 changes, tree is closed, sorry 2002-01-25 19:54:55 +00:00
jkeiser%netscape.com a555e7ec64 Make onChange, reflow system in comboboxes/lists better (bug 112241). r=rods, sr=kin 2002-01-25 19:08:03 +00:00
bryner%netscape.com fd7cdd1838 Bug 120189 - fix selection crash with xbl select widget. Move content node updating to the XBL event handlers. r=varga, sr=jag. 2002-01-24 01:22:33 +00:00
jkeiser%iname.com 7fbede3e5b Improved CTRL+mouse/keyboard selection (bug 40983). r=rods, sr=jst 2002-01-10 04:23:13 +00:00
waterson%netscape.com 854831c91c Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi. 2001-12-17 22:39:59 +00:00
jaggernaut%netscape.com e44e7d9ec8 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst 2001-12-17 07:14:49 +00:00
jgaunt%netscape.com 3cb166bf1c bug 102021, xul menulist accessibility support for aaronl
r=jgaunt, sr=hyatt
bug 109227, xul tabbox accessibility support
r=aaronl, sr=hewitt
bug 110800, improper event firing in selects
r=dcone, sr=attinasi
2001-12-17 01:21:29 +00:00
karnaze%netscape.com 748ebbcd0d bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov 2001-12-07 14:51:12 +00:00
jst%netscape.com d9e3afb71d Fixing bug 110798. Freezing the interfaces nsIDOMEvent, nsIDOMEventListener, nsIDOMEventTarget and nsIDOMDocumentEvent. r=harishd@netscape.com, sr=jband@netscape.com 2001-12-06 06:57:03 +00:00
roc+%cs.cmu.edu c88233916b Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi 2001-12-01 14:31:45 +00:00
roc+%cs.cmu.edu c26c9711f3 My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out. 2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu 04ab1d58c5 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi 2001-11-22 05:26:32 +00:00
karnaze%netscape.com 436e1ac49e bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd 2001-11-14 13:40:03 +00:00
bzbarsky%mit.edu f2ee8260a0 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
smontagu%netscape.com 0f589ca7c4 Recheckin of fix to bug 104792, which was killed by checkin on bug 104874. r=rods, sr=attinasi 2001-11-12 22:31:32 +00:00
dbaron%fas.harvard.edu 0c93d110f3 Tweak XP_MACOSX ifdefs to fix keyboard shortcuts (partly), context menus, and hidden window behavior and build the mac classic skin in the Mach-O build. b=109165 r=pinkerton sr=beard 2001-11-10 23:30:13 +00:00
jkeiser%iname.com 46b6f9ea78 Null-safety checks (bug 108808). r=rods@netscape.com, sr=kin@netscape.com 2001-11-10 07:45:15 +00:00
jst%netscape.com 6d64ded4f2 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 2001-11-02 07:40:01 +00:00
mkaply%us.ibm.com 9c301478f8 #104874
r=rods, sr=watersin
Patch from simon montagu - cleanup combobox code in Bidi case
2001-10-31 14:49:15 +00:00
mkaply%us.ibm.com 877964fad0 #104792
r=rods, sr==attinasi
patch from simon montagu - hebrew comboboxes go haywire
2001-10-31 05:17:34 +00:00
karnaze%netscape.com e38dff73f8 bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov 2001-10-29 01:43:59 +00:00
alecf%netscape.com 6ae8a9bee0 Convert users of nsCRT::ToUpper(PRUnichar) to ToUpper(PRUnichar) for bug 100214, r=jag, sr=scc 2001-10-26 17:18:35 +00:00
dbaron%fas.harvard.edu 157c017816 Bug 86947:
Make the line list doubly linked and access it through a list class and iterators.
Stop recomputing margins on all of the children of each block in the reflow chain (which causes O(N^2) state recovery during incremental reflow).  Instead, add a second dirty bit to the lines and walk backwards through the line list to recompute vertical margins only when either dirty bit is set and the previous line was not reflowed.  Add nsIFrame::IsEmpty to identify frames through which margins collapse.
Fix O(N^2) propagation of float damage by maintaining a set of intervals damaged by floats (bug 61962) and be sure to damage the correct areas (bug 48138).
Introduce nsCollapsingMargin to do correct collapsing of combinations of positive and negative margins (bug 50142).
Clean up some odds and ends and fix another smaller O(N^2) problem in nsBlockFrame::AddFrames.
r=attinasi, rbs  sr=waterson
2001-10-25 01:08:40 +00:00
jaggernaut%netscape.com ca6197295f Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
gerv%gerv.net 4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
karnaze%netscape.com e908dd0313 bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov. 2001-09-19 12:35:19 +00:00
dbaron%fas.harvard.edu be938a64b6 Undoing backout of bug 97227 because valeski and rpotts insist. I guess drivers aren't doing approvals after all. 2001-08-31 04:28:26 +00:00
dbaron%fas.harvard.edu 5434e861aa Backing out unapproved checkin for bug 97227. a=brendan,blizzard 2001-08-31 03:45:20 +00:00
rpotts%netscape.com 9e2f57a942 bug #97227 (r=valeski, sr=vidur). This patch makes all calls to nsIWebBrowserChrome::SetStatus(...) display synchronously. 2001-08-30 21:47:45 +00:00
bryner%netscape.com 422834eff1 Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst. 2001-08-17 08:14:14 +00:00
jgaunt%netscape.com 9f2f88aa48 fix for bug 94768
r=smfr,leaf
sr=hyatt
2001-08-17 03:13:07 +00:00
rods%netscape.com 176cd14aba The update listener is not being ref counted correctly and then deleted instead of released ( Bug 92434)
The method SetOptionSelected didn't check to see if there was an update timer so it could do the processing there instead.
Bug 91434 & 92458 r=dcone sr=attinasi
2001-08-17 00:42:50 +00:00
cls%seawood.org a3c1dd1b09 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +00:00
jgaunt%netscape.com 52a631c3bc bug 90182 fixing accessible support for html selects
r=aaronl@netscape.com
sr=waterson@netscape.com
2001-07-20 22:17:31 +00:00
dbaron%fas.harvard.edu aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
dcone%netscape.com ed1efd202b b=88343 r=peterl sr=karnaze Fix a crash when the user goes back to a page with a listbox. 2001-07-13 19:51:59 +00:00
jgaunt%netscape.com 4cb288e084 bug 88509 - moving of a GetFrameType and layoutAtom from ifdef bidi land.
r=dbaron sr=sfraser
2001-07-10 23:57:28 +00:00
jgaunt%netscape.com 07868cf706 bug #86517 Landing of Accessible_052901_Branch4 sr=waterson
r= lots, see bug
2001-06-30 00:25:09 +00:00
pollmann%netscape.com 1c9c3c567f Bug 84499: Only trim whitespace from an options when falling back to the text content of the option for the value. This makes us compatabile with IE and Nav 4.x. r=nisheeth@netscape.com, sr=jst@netscape.com, a=drivers@mozilla.org (blizzard) 2001-06-22 04:36:02 +00:00
mkaply%us.ibm.com 946d0ece89 remove inline keyword to fix SunOS bustage - note sent to rods 2001-06-08 04:24:48 +00:00
rods%netscape.com c20f157140 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
2001-06-08 02:34:09 +00:00
rods%netscape.com 1b4c6f1a94 When script sets the index when multiple it needs to deselect all the items and then set the new index
Bug 77039 r=kmcclusk sr=attinasi a=dbaron
2001-06-06 10:47:33 +00:00
rods%netscape.com 9e16855ea0 The selectedindex is now getting set to -1 when there are no more items selected and it
is sending onchange events by clearing the mOldSelectedIndex.
Bug 68135 r=kmcclusk sr=attinasi a=dbaron
2001-06-06 10:41:17 +00:00
rods%netscape.com 1879e17fa4 Fixed up reload to it will correctly reflow to w/h of zero
Bug 58220 r=kmcclusk sr=attinasi a=dbaron
2001-06-05 18:09:13 +00:00
hyatt%netscape.com b135c5b55a Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
pollmann%netscape.com 1ac7a3715e 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) 2001-05-30 11:26:21 +00:00
joki%netscape.com 4984fc106b Fix for 80746, fix smoketest blocker by backing out 61336 fix. r:harishd 2001-05-14 18:54:06 +00:00
joki%netscape.com 8244142e1c Fix 61336, call onchange event for changes made by scripts. sr:jst, r:pollmann 2001-05-14 01:57:33 +00:00
jst%netscape.com ea706038cf Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com. 2001-05-08 17:42:36 +00:00
hyatt%netscape.com b03223f5de Fix for 77859. r=danm, sr=waterson 2001-04-28 03:48:38 +00:00
hyatt%netscape.com 8130400b54 Fix for 77002. reviewers=jst,waterson,hixie,shaver,brendan,pavlov 2001-04-25 19:52:49 +00:00
pollmann%netscape.com 4e9082cbdf Bug 74639: Preserve frame state through form demotion, don't store uninitialized frame state, r=nisheeth@netscape.com, sr=jst@netscape.com 2001-04-24 08:33:57 +00:00
rods%netscape.com e3a5513f79 Fixed the Onchange event, so it fires at the correct time.
Bug 62753 r=pollmann sr=attinasi
2001-04-09 12:08:40 +00:00
timeless%mac.com e76ccfd647 fix Bug 70989 Clean up lots of "shadows" and other common warnings
r=peterv, jst, ducarroz, edburns. sr=jst, shaver
2001-03-21 05:32:22 +00:00
rods%netscape.com f14a83706d fixed move mouse over selected item in dropdown, it will no longer hilite disabled items
Bug 72226 r=waterson sr=attinasi
2001-03-20 11:48:27 +00:00
erik%netscape.com ab236e2b14 bug 71339; author=simon@softel.co.il; r=rods; sr=erik; changes from IBM
bidi project (Hebrew, Arabic, etc); in ifdef IBMBIDI for now
2001-03-19 23:20:21 +00:00
rods%netscape.com f225ff8a67 Display frame reflow counts (turned via config file define)
Bug 71514 r=kmclusk sr=attinasi
2001-03-13 01:47:22 +00:00
rods%netscape.com 912135fd26 change PRBool to PRPackedBool
Scroll to first item on DidReflow of Initial Reflow
Bug 54496 r=kmcclusk sr=attinasi
2001-03-09 03:21:51 +00:00
rods%netscape.com 84c77eb49d Skipp disabled items when pressing first letter
Bug 57580 r=kmcclusk sr=buster
2001-03-08 02:29:21 +00:00
dbaron%fas.harvard.edu 0e28b23cc1 Fix smoketest blocker bug 70683 by making some changes blake missed with his fix for bug 60703. r=mao sr=alecf a=kysmith 2001-03-02 18:39:22 +00:00
rods%netscape.com 9543ff0534 Now only doing 1 reflow for each reflow request in the ListControlFrame
for initial and full resize reflows
Bug 69869 r=kmcclusk sr=attinasi
2001-02-23 01:45:45 +00:00
pollmann%netscape.com c9046692ff Bug 62713: Only save form input values in SH if changed plus cleanups (error handling, NS_LITERAL_STRING), r=jst@netscape.com, sr=vidur@netscape.com 2001-02-06 01:59:59 +00:00
rods%netscape.com d1fc884b89 makes optgroups so they you can't click on them and it fixes the focus issue.
Bug 63006 r=kmcclusk sr=buster
2001-02-01 22:45:32 +00:00
rods%netscape.com 99666eed8c This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson
2001-01-27 14:09:34 +00:00
rods%netscape.com 4f312bc255 changed add ref to from NS_ADDREF to NS_IF_ADDREF
Bug 63329, r=kmcclusk sr=buster
2001-01-08 14:06:34 +00:00
rods%netscape.com edb0c6270c removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
rods%netscape.com 706bdfa5fd 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
2000-12-20 23:25:40 +00:00
rods%netscape.com 2ab9b3a14d 53259 - min-width and max-width not supported on form control
53457 - multiple items can be selected in select size=1 or in single select listbox
50376 - Cannot select with DOM option on dynamically created SELECT element
62442 - Incorrect extended selection behavior in listboxes

First big change is getting rid of local variables for border and padding and use the ones in the reflow state
Changed "IsInDropDownMode() == PR_TRUE && mComboboxFrame" to "IsInDropDownMode() == PR_TRUE"
Fix for regression from changing of how key events work (no bug assigned), this fix enabled the user to hit 'f' or 'F' and get to the first item that start with 'f' or 'F'
r=kmcclusk sr=buster
2000-12-20 15:15:28 +00:00
rods%netscape.com 6db44af9f6 Removed unneded setting of index to kNothingSelected when an disabled option is selected
r=blake, sr=buster Bug 57580
2000-12-18 21:36:01 +00:00
warren%netscape.com cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
waqar%netscape.com 290cc55645 #=53502
r=rods@netscape.com
a=buster@netscape.com
d=Fixes the problem with listbox and modifier keys.
2000-10-12 14:20:02 +00:00
heikki%netscape.com c3c301798c Fixed bug 52526, the cause was that image load event was bubbling even though the specs say it should not. Previously we were not even sending the load event on image load. I also fixed bug 50478 by fixing the logic in GetBubbles and GetCancelable of the DOMEvent. This helps in testing the first bug. I also fixed several cases where we had wrong combination of event class and event struct type. a=waterson, r=joki,rods. 2000-09-19 21:47:04 +00:00
rayw%netscape.com 0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
pollmann%netscape.com 27c144a3b2 Bug 51124: Tabbing into text control now again scrolls it into view if offscreen, also adding additional bulletproofing per code review; r=jst@netscape.com 2000-09-08 05:53:28 +00:00
rods%netscape.com 104a4c2a53 KeyPress events now let <ctrl<,<slt>,<meta> continue on through, which stopped commonads keys from working
Fixed a couple of off by one errors
Fixed multiple selection with shift key
Fixed focus stealing problem (ifdef'ed out code that was put in to specifically fix this problem)
Fixed div by zero
b=50024,50442,48903
2000-08-29 13:24:38 +00:00
rods%netscape.com 18d89a1b76 Added a lot of asserts to help debug any potential problems, check for nullcontent
moved up to GetPrimaryFrameFor doesn't get called with a null content
b=49993 r=kmcclusk
2000-08-25 13:12:59 +00:00
jst%netscape.com 9abec73fbe 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 2000-08-23 17:27:06 +00:00
rods%netscape.com ae00b95484 listbox - selecting with keyboard no longer allows you to stop on a disabled option, it skips them
as does page up and page down
combobox - selecting a disabled option didn't clear the "mouse down" flag and it still thought it was selecting
combobox - selecting a disabled option clears mSelectedIndex, this side effect could be seen by selected
a disabled item then clicking on a link and then hit "back",
b=48903 r=kmcclusk
2000-08-17 21:38:15 +00:00
rods%netscape.com a54f17cc75 was not unregistering the listers correctly. Not they unreg with the
listener object.
b=48915 r=kmcclusk
2000-08-14 22:05:28 +00:00
rods%netscape.com ad07c40567 added weak reference and ref counted event listener to listbox intead of
having the the non-recounted frame add itself. It is now the same as GfxList
b=21629, r=kmcclusk
2000-08-14 14:42:12 +00:00
sfraser%netscape.com 725b321659 More bustage fixing with style struct return types. 2000-08-09 00:52:02 +00:00
sfraser%netscape.com 9aa82a567b Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge. 2000-08-08 23:38:00 +00:00
pollmann%netscape.com 5ede1ee556 Bug 42662: Values of disabled form elements should not be submitted; r=kmcclusk 2000-08-03 23:32:02 +00:00
rods%netscape.com 2ca4014e41 40000 - right-click events don't go through listboxes (onmoused
44454 - Can't drag-scroll/-select in single-select HTML listbox
42301 - select generates onchange when it shouldn't
33421 - <optgroup> in <select> breaks scrolling drop down lists
14771 - GFX list/combo box doesn't respond to keyboard input
b=40000, 44454, 42301, 33421, 14771 r=kmcclusk
2000-08-03 14:13:58 +00:00
rods%netscape.com 1a04a12da1 If the click is not on on item in the dropdown and not in the comboxbox display area then
the click count is set to zero so the JS event doesn't get fired. If it IS over the combobox
display area then the JS event does get fired.
b=40382 r=pollmann
2000-07-07 01:35:23 +00:00
rods%netscape.com e76b426f27 ifdef'ing out the where we get the value of the label
currently we aren't supporting "label" for options because they get
concatentated with the content
b=4050 r=kmcclusk
2000-06-15 13:00:23 +00:00
rods%netscape.com 788c936bf0 no longer subtracting off scrollbar width when mComputedSize is set
b=36548, r=kmcclusk
2000-06-02 20:59:57 +00:00
rods%netscape.com 0189750b5f set the clickCoubt appropriately on MouseUp so onclicks are sent or disabled correctly
b=40382 , r=joki
2000-05-26 23:31:25 +00:00
rods%netscape.com ed680830a6 Preventing event from bubbling, capture and default causes a mismatch in mousecapture
and this causes the lock. After a lot of testing it appears that the original reason
this was needed is no longer there.
Bug 38422 r=kmcclusk
2000-05-22 21:35:00 +00:00
joki%netscape.com c95cc22f27 fix for bug 15189 along with an annoying assert that just started. r: rods 2000-05-16 21:58:37 +00:00
joki%netscape.com a743e2b38b Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed. 2000-05-16 11:35:12 +00:00
rods%netscape.com cec32fb86b temporary fix for 38825, the frame gets notified that an option has been added
before it is actually added into the content model, so the selection cache and the
content model can be of by 1
2000-05-11 14:05:44 +00:00
rods%netscape.com c7f451afae get char code instead of key code
bug 34630
2000-05-08 22:18:38 +00:00
rods%netscape.com 9d82e3076d The press event always delivers the key as lowercase where key down gives you the key that was pressed
need to change str to lowercase instead of uppercase
b=34630
2000-05-05 21:51:56 +00:00
rods%netscape.com 91f520a217 bryner's fix for key repeat (thanks a lot)
need to make press event not bubble
b=38072, r=rods
2000-05-03 22:01:47 +00:00
dbaron%fas.harvard.edu 7e557b01bd Fix leak of nsHTMLOptionElement. r=pollmann@netscape.com 2000-05-01 04:00:38 +00:00
rods%netscape.com e61ef4520c add OptionDisabled so the nsHTMLOptionElement can notify a select that an option
has just been disabled
2000-04-28 23:24:59 +00:00
joki%netscape.com bbb0086bfe fixes for 5995, 7304, 10573, 22832, and 9668.
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.
2000-04-24 04:41:27 +00:00
rods%netscape.com 85c02c71ec Add ifdef'ed Performance Reflow Counting code
also added asserts for improper sizes being passed back in reflow
send onChange events on all navigation bug 29440
2000-04-21 22:16:23 +00:00
rods%netscape.com 1e83686bb3 change char detection to use unichar and upper case so now pressing 't' or 'T'
gets you the first item that begin with 't' ot 'T'
Bug 34630
2000-04-19 14:57:44 +00:00
rods%netscape.com 47329d0362 Not enabling creator's to be asked if they want to create a special frame for anonymous content
bug 33515
2000-04-19 13:55:17 +00:00
scc%netscape.com b4caf7e667 making string conversions explicit 2000-04-16 11:19:26 +00:00
rods%netscape.com 6b8160b567 Few warning cleanups
Return NS_OK when MouswDown on Combobox (not dropdown), this enables
it to get focus.
b=32144
2000-03-28 15:11:16 +00:00
rods%netscape.com 52e409233a now handling the incremental reflow better for options
when one more options have no label or content the height is zero, so we
now go get the first frame calculate a height based on the font metrics
r=dcone b=32383
2000-03-21 15:22:53 +00:00
pollmann%netscape.com 9a2b70ea89 Bug 28143: Set selectedIndex to -1 should deselect all options (1 of 2 - when frame exists) r=waqar 2000-03-20 23:43:07 +00:00
rods%netscape.com 6ec1624507 Added adaptive sizing for dropdown with small screen sizes
The setting of the cached available size only happens when it is not unconstrained
Added GetOptionsContainer method
Fixed minor problem in GetScrollableView (not actually passing back the frame)
Added the Flushing of content on arrow keys
b=31987,25774 r=kmcclusk
2000-03-18 14:17:34 +00:00
pierre%netscape.com 4d43de09aa Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible). In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame. In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701. 2000-03-17 10:15:13 +00:00
rods%netscape.com 5abbfb9f48 factored out a GetScrolableView method, implemented extended selection for drag select and shift->up/down keys
added page up and down support, but it isn't supported by nsScrollFrame (works for Gfx)
should be generating the coorect DOM selection events now
r=dcone, b=14771, 30463
2000-03-15 15:55:30 +00:00
dveditz%netscape.com 83793623b9 fixing VC5 build (bug 31868) 2000-03-15 06:22:09 +00:00
rods%netscape.com 92ca580100 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
2000-03-07 15:54:31 +00:00
rods%netscape.com 566edd34e3 Backout plan, this check only fixes bug 28628
a=jar
2000-03-03 07:14:58 +00:00
rods%netscape.com 3aecf61eed modified the reflow method for better handling incremental and for optimization
b=28593, r=buster,kmclusk a=jar
2000-03-03 04:28:59 +00:00
pollmann%netscape.com 2ed06994e0 Bug 12513: Add OptionCollection interface for Nav DOM compatability. r=vidur a=rickg 2000-02-24 00:08:00 +00:00
rods%netscape.com 0d70f918f6 ifdef'ing out a badly formed optimization for incremental reflow.
r=buster b=24798
2000-02-16 05:20:21 +00:00
rods%netscape.com 1acec82129 They now cache their state properly in the PresState
b 21945 r=pollmann
2000-02-15 15:04:38 +00:00
rods%netscape.com bde09e7c9b Let's try a non-COMPtr fix, I wish COMPtr would work the same on all platforms.... 2000-02-12 17:49:11 +00:00
rods%netscape.com 72ea52428d same old thing Linux hates comparing a nsCOMPtr to a non-OMCPtr 2000-02-12 17:01:35 +00:00
rods%netscape.com 0835a549dd now remembers state when selected for single select combos and listboxes,
it does not remember mulitple selections (more work needed in content class)
converted over to rnsCOMptr as much as I could
b=21945, r=pollmann
2000-02-12 16:21:37 +00:00
rods%netscape.com 1539b1b9c3 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
2000-02-09 19:34:39 +00:00
pp%ludusdesign.com 58065dda04 Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
rods%netscape.com 6485e37aef add extra debug; added some inremenal reflow code;
doing much better job check return vars;GetText now check for NS_OK;
r dcone, b 24292
2000-01-31 23:36:50 +00:00
leaf%mozilla.org d1f2514b8d backing out rods to fix options lists 2000-01-28 19:03:34 +00:00
rods%netscape.com 8dd52cec3d added check so it doesn't do a reset on the incremental reflow
r=dcone bug=none
2000-01-28 15:04:19 +00:00
pollmann%netscape.com 47d773f8d9 Bug 18649: non FormControlFrame derived form elements also only scroll when not at all visible r=rods 2000-01-25 22:19:39 +00:00
nisheeth%netscape.com 9c6617b147 r=vidur. Add support for a new pref "layout.reflow.async.afterDocLoad" that enables async reflow in the pres shell only after the document is done loading. Cleaned up ExitReflowLock() so that it uses preferences to decide whether to do async reflow, not a parameter. 2000-01-25 16:00:44 +00:00
rods%netscape.com 364d22bb8c changed signature of GetFont b=905 r=dcone 2000-01-25 15:25:46 +00:00
beard%netscape.com 7226bc7257 floating views. bug=21966, r=troy, rods, a=brendan 2000-01-25 01:53:34 +00:00
pierre%netscape.com bf96114107 Backing out one line from the previous checkin in order to fix #24344 ("Crash when displaying a list box"). 2000-01-19 12:27:40 +00:00
rods%netscape.com 13cafca25a Initial shift click will now work correctly for mulitple with selected items
it now will scroll to the selected items on start up
b 24178,7025 r=kmcclusk
2000-01-18 23:33:22 +00:00
hyatt%netscape.com e740cdb714 Fixes for bugs 17460 and 21656. r=travis 2000-01-14 09:28:54 +00:00
brade%netscape.com 04d15b9381 use proper key for disconguous selection on Mac (r=jfrancis) 2000-01-13 16:01:04 +00:00
rods%netscape.com fbaf63ee29 Listbox was handle clicks in the combobox incorrectly and this caused the
dropdown to rollup too soon.
b=23484 r=kmcclusk
2000-01-11 20:36:37 +00:00
rods%netscape.com 2618ed4aaf Added unconstrainted reflow optimizations
r=kmcclusk,dcone bug=12653
2000-01-09 01:41:11 +00:00
rods%netscape.com de428bbd80 backed out all changes from today (1/5/2000) 2000-01-05 16:42:47 +00:00
rods%netscape.com 05e6af0c80 Added unconstrainted reflow optimizations
reworked reflow to more accurately calculate its size
r=kmcclusk,dcone bug=12653
2000-01-05 15:46:29 +00:00
sspitzer%netscape.com f37e107774 fix warnings 1999-12-28 19:41:57 +00:00
rods%netscape.com eeebdaf748 Fixed the edge case where the select may have zero options or one option
with no lable and no content and it sizes out to be zero high
also fixed twhere visibility wasbeing check incorrectly
r=kmcclusk
1999-12-22 19:49:36 +00:00
rods%netscape.com d9a272f088 stripping out all the whitespace for form data submission
commented changing the visible directly
bug 21276, r=pollmann a=chofmann
1999-12-14 14:16:09 +00:00
hyatt%netscape.com 244bfeaee8 Massive rewrite of the focus/blur architecture. Things should behave better
now. r=saari
1999-12-08 04:54:29 +00:00
rods%netscape.com 525477239f Always passing back that the frames are there, this still isn't right and needs to be
reworked again. But this will able some XUL selects to work that otherwise would be
broken and I haven't found it to cause any problems with a lot of testing. I have
regressed to this situation in the past and it worked OK.
r=kmcclusk, bug=none but hangas (or self) would have filed one by end of day.
1999-12-08 00:08:41 +00:00
rods%netscape.com 1788de88fc removing unused variables (bloat) and using nsLayoutAtoms::optionSelectedPseudo instead of
using a string and creating and deleting it each time.
r=kmcclusk
1999-12-06 22:59:43 +00:00
rods%netscape.com 1fb0151a66 removed the substraction of the border and padding for fixed width
r=kmcclusk b 18448
1999-12-05 20:45:58 +00:00
hyatt%netscape.com de2eaede42 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy
1999-12-04 23:49:50 +00:00
rods%netscape.com 6af28faed3 CheckIfAllFramesHere not actually check to see if all the frames are there
r=kmcclusk Bug 19949
1999-11-24 21:12:03 +00:00
tbogard%aol.net af1ce8d410 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
sfraser%netscape.com 0e4bf774a9 #ifdef out all the stupid printfs. r=pinkerton, no bug. 1999-11-23 03:26:56 +00:00
rods%netscape.com 7d764bab17 added bool parm to is DoneAddinContent r=dcone bug 18241 1999-11-19 15:46:20 +00:00
rods%netscape.com 854e72dc25 Added MakeSureSomethingIsSelected to the combobox so the ListBox can
call it after it is initialized.
1999-11-16 22:47:23 +00:00
rods%netscape.com 1bb3e4524f Disabled key events when it is disabled
r=dcone,b=14771
1999-11-12 15:08:28 +00:00
rods%netscape.com 1d9e5aa730 Removed the mDisplay data member it was the same as mHasAllFrames, this was preventing
the options from having there selected state displayed initially
Also, changed it so when in drop down mode and nothing is selected it always scrolls
to 0,0
b=14771,13771 r=kmcclusk
1999-11-12 15:00:30 +00:00
rods%netscape.com dfebb59b9d 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
1999-11-11 22:13:33 +00:00
rods%netscape.com f14dbd84fb Fixes MLK 18207 - missing addref, r=beard
Fixes Crasher 17852 by temporarily commenting out the offending line, waiting on bug 18183
r=kmcclusk
1999-11-09 13:41:27 +00:00
dmose%mozilla.org 5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
pollmann%netscape.com 210784fe9b Bug 17431: Clean house in form and form control destructors to allow reframing r=harishd a=choffman 1999-11-04 23:16:47 +00:00
rods%netscape.com 94cb5b1e6b Commented out the reset of the list when an option gets added
Fixes crashers 17836, 17852, 17965 r=kmcclusk
1999-11-04 22:45:10 +00:00
joki%netscape.com 1675be15e0 Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur 1999-11-03 07:11:45 +00:00
rods%netscape.com 3f9ff89e9b Add CountAllChild to count all the option and optgroup elements so lists
get sized correctly when no rows are specified
r=kmcclusk, bug=4050
1999-11-03 00:07:01 +00:00
pollmann%netscape.com fa50777353 Removing null code. No bug number. r=nisheeth 1999-11-02 01:50:15 +00:00
rods%netscape.com 1d9434ba93 Check to see if the option being added has the "selected" property, if it
does then the list needs to be reinitialized.
r=dcone, bug #17519
1999-11-01 15:41:17 +00:00
rods%netscape.com c36411b6ff Listboxes now obey CSS specifed sizes
r=kmcclusk,related to bug 16317
1999-10-28 20:31:23 +00:00
troy%netscape.com 87afecabc0 Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
rods%netscape.com 23ceab24e7 changed the padding so it is adding in the correct left right instead of top bottom
r=kmcclusk, Bug #16936
1999-10-21 22:22:32 +00:00
rods%netscape.com a00139db0c added code to the destructor to make sure the list get rolled up.
r=kmcclusk bug 15912
1999-10-20 21:59:04 +00:00
rods%netscape.com a1f10b043a Removed old commented out code and unused comments. r=kmcclusk, (no bug) 1999-10-19 11:35:17 +00:00
kmcclusk%netscape.com a62e21a089 Return the value of the option element value attribute if it is present otherwise return
the content of the option. bug #16158. r=rods@netscape.com
1999-10-14 23:41:40 +00:00
pollmann%netscape.com f7222cc9f3 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
1999-10-12 08:47:29 +00:00
rods%netscape.com a7f80d034e Changed the way the list figures out how high a single item is, it now subtracts out the padding & border instead of just the border
r=kmcclusk
1999-10-07 21:39:50 +00:00
pavlov%netscape.com f65d72dc11 ifdef out the call to CaptureMouse since it is no longer needed r=rods 1999-10-06 13:36:39 +00:00
pollmann%netscape.com 9fff77bf97 Bug 15170: Implement onchange notification for list boxes 1999-10-05 23:43:06 +00:00
rods%netscape.com e6b0939762 Added new method to tell the listcontrolframe it is about to be rolled up by the combobox
this enables it to unset any temporary selections and restore the actual selection
1999-10-01 14:30:33 +00:00
rods%netscape.com 2bbff7b9c2 Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
added some key support made it so it sets the focus back to the main webshell window when the drop down is closed
1999-09-30 11:37:58 +00:00
peterl%netscape.com 7911885f43 manage view visibility better 1999-09-29 03:36:16 +00:00
dcone%netscape.com 0d650e898c Added a Release.. to fix a leak 1999-09-24 13:49:12 +00:00
pollmann%netscape.com 1d75057a7c Bug 11488: Crash when deleting options from GFX selects 1999-09-21 13:25:32 +00:00
pollmann%netscape.com 703289e64a Bug 13960: Combo box must not be dropped down before mouse moves update the selected option. 1999-09-19 09:48:04 +00:00
pollmann%netscape.com 317b6c0e1b Bug 9136: Combobox selectedIndex now defaults to 0 instead of -1 1999-09-17 07:22:23 +00:00
pollmann%netscape.com 67b2692c32 Bug 13960: Update GFX combos when selection is set. 1999-09-16 22:36:29 +00:00
pollmann%netscape.com b4451b8526 Bug 13058: (Fixed Solaris bustage by removing Inherited typedef) 1999-09-15 05:31:31 +00:00
dcone%netscape.com 1364fc8597 Added a Mac case for creating the popup widget.. The #ifdef will come out when all platforms support the PopUp_CID 1999-09-14 21:29:58 +00:00
pollmann%netscape.com c6ea67797b Backing things out until I can get Solaris bustage figured out. 1999-09-14 20:42:26 +00:00
pollmann%netscape.com 8dd16c6263 Bug 13058: Implement nsIStatefulFrame for selects. Some memory leak fixes. Plus the usual plethora of bugfixes for native selects 1999-09-14 19:37:45 +00:00
rods%netscape.com fea9cdf36b 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
1999-09-13 23:20:50 +00:00
rods%netscape.com dd5d7e6637 temporary fix for scrolling the dropdown until gfx scrollbars get in 1999-09-13 18:29:00 +00:00
rods%netscape.com 9e8a1b6378 When asked for the selected item string it return first the value, then the label then the content in that order if any are empty 1999-09-10 22:56:23 +00:00
rods%netscape.com af296e18b3 Better fix for option elements with no content in them 1999-09-09 19:37:23 +00:00
sfraser%netscape.com 69e203f45c #ifdef out a bunch of rods's printfs. 1999-09-09 00:23:40 +00:00
rods%netscape.com bf45e4b044 Fixed selection in lists 1999-09-08 19:54:30 +00:00
rods%netscape.com bd89429f51 Added the proper event processing for disabled options
ListBoxes (as dropdowns) are now notified before the are about to be dropped down
1999-09-08 14:27:38 +00:00
rods%netscape.com c4464e6ebc Removed ref counting changed the the popup is positioned
removing dom listeners on descruction
1999-08-31 13:22:50 +00:00
rods%netscape.com 8b6ba3a48f change all index parameters to PRInt32 from PRUint32
added key listener support for keyboard navagation inside the list
fixed extended selection
fixed a minor problem with selecting an item
1999-08-27 14:42:27 +00:00
pollmann%netscape.com 22fef24c59 Cleanup, and bugfixes for bug 12475 and 12350 1999-08-27 03:58:13 +00:00
rods%netscape.com 6cf112a833 Completely reworked the select GFX object - List and Combobox, it now does all event processing
via DOM listeners instead of through the frames
1999-08-26 14:54:07 +00:00
pollmann%netscape.com 5b4a7ad743 Bug 3256: Add ScrollIntoView() method to form frame objects. 1999-08-21 00:09:24 +00:00
rods%netscape.com 0362529f13 Renamed some methods and changed the selected item to be able to pass the currently selected index instead of just being able to get the currently selected item 1999-08-19 14:11:28 +00:00
rods%netscape.com c91922076b Fixed Reset to work properly, removed InitializeFromContent method, changed where the list was adding itself to FormControlFrame 1999-08-10 19:22:51 +00:00
rods%netscape.com 9778ff0812 Started to add code to better handle resizing when there are no elements. 1999-08-06 14:14:38 +00:00
rods%netscape.com 8d5807e765 Made many changes to fix several bugs 1999-07-28 21:38:08 +00:00
troy%netscape.com 2ba05e9bf2 Added failure check for call to nsStyleData::GetBorder() 1999-07-28 04:48:34 +00:00
pavlov%netscape.com 96b4208fe4 window creation changes 1999-07-27 04:27:17 +00:00
kmcclusk%netscape.com af9e15b5e3 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.
1999-07-20 22:32:41 +00:00
troy%netscape.com 155ed6816a Added 'm' prefix to some of the nsHTMLReflowState data members 1999-07-20 03:41:03 +00:00
kmcclusk%netscape.com d42e178f95 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.
1999-07-14 22:00:24 +00:00
sspitzer%netscape.com ca20b32c35 fix warning 1999-07-06 22:40:54 +00:00
kmcclusk%netscape.com a8794918c8 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.
1999-06-23 21:50:56 +00:00
kmcclusk%netscape.com b99c5d6f59 Removed commented out code to perform system mouse capture. 1999-06-21 20:46:47 +00:00
kmcclusk%netscape.com 881c29d70e Numerous changes to support gfx-rendered form elements. 1999-06-21 20:41:56 +00:00
nisheeth%netscape.com c670e17ce2 Patch from alecf to do a null pointer check on argument to GetSelectedIndex(). 1999-06-05 00:18:58 +00:00