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

91 Коммитов

Автор SHA1 Сообщение Дата
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