404 Commits

Author SHA1 Message Date
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
sspitzer%netscape.com
3f096cd0c6 fix warnings
git-svn-id: svn://10.0.0.236/trunk@56571 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 19:41:57 +00:00
rods%netscape.com
20b8c791fe 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


git-svn-id: svn://10.0.0.236/trunk@56396 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 19:49:36 +00:00
rods%netscape.com
50b5546c15 stripping out all the whitespace for form data submission
commented changing the visible directly
bug 21276, r=pollmann a=chofmann


git-svn-id: svn://10.0.0.236/trunk@55982 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 14:16:09 +00:00
hyatt%netscape.com
2c134c2abf Massive rewrite of the focus/blur architecture. Things should behave better
now. r=saari


git-svn-id: svn://10.0.0.236/trunk@55715 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 04:54:29 +00:00
rods%netscape.com
0e84614fdd 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.


git-svn-id: svn://10.0.0.236/trunk@55654 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 00:08:41 +00:00
rods%netscape.com
31b5649f91 removing unused variables (bloat) and using nsLayoutAtoms::optionSelectedPseudo instead of
using a string and creating and deleting it each time.
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@55459 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 22:59:43 +00:00
rods%netscape.com
7a55d88518 removed the substraction of the border and padding for fixed width
r=kmcclusk b 18448


git-svn-id: svn://10.0.0.236/trunk@55382 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 20:45:58 +00:00
hyatt%netscape.com
7e24c61109 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy


git-svn-id: svn://10.0.0.236/trunk@55321 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 23:49:50 +00:00
rods%netscape.com
daa6109f75 CheckIfAllFramesHere not actually check to see if all the frames are there
r=kmcclusk Bug 19949


git-svn-id: svn://10.0.0.236/trunk@54431 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 21:12:03 +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
sfraser%netscape.com
d121ce38a0 #ifdef out all the stupid printfs. r=pinkerton, no bug.
git-svn-id: svn://10.0.0.236/trunk@54249 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 03:26:56 +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
a5ce70aa7d Disabled key events when it is disabled
r=dcone,b=14771


git-svn-id: svn://10.0.0.236/trunk@53351 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 15:08:28 +00:00
rods%netscape.com
bcc1dd2443 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


git-svn-id: svn://10.0.0.236/trunk@53350 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 15:00:30 +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
rods%netscape.com
b616783180 Fixes MLK 18207 - missing addref, r=beard
Fixes Crasher 17852 by temporarily commenting out the offending line, waiting on bug 18183
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@52994 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-09 13:41:27 +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
b98eecf039 Bug 17431: Clean house in form and form control destructors to allow reframing r=harishd a=choffman
git-svn-id: svn://10.0.0.236/trunk@52822 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-04 23:16:47 +00:00
rods%netscape.com
e34b01ce89 Commented out the reset of the list when an option gets added
Fixes crashers 17836, 17852, 17965 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@52817 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-04 22:45:10 +00:00
joki%netscape.com
c79e9c67d2 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
git-svn-id: svn://10.0.0.236/trunk@52691 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 07:11:45 +00:00
rods%netscape.com
13ee3e3b3d Add CountAllChild to count all the option and optgroup elements so lists
get sized correctly when no rows are specified
r=kmcclusk, bug=4050


git-svn-id: svn://10.0.0.236/trunk@52622 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 00:07:01 +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
rods%netscape.com
23778b8c16 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


git-svn-id: svn://10.0.0.236/trunk@52392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 15:41:17 +00:00
rods%netscape.com
189a26e941 Listboxes now obey CSS specifed sizes
r=kmcclusk,related to bug 16317


git-svn-id: svn://10.0.0.236/trunk@52104 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 20:31:23 +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
rods%netscape.com
c33c65e90f changed the padding so it is adding in the correct left right instead of top bottom
r=kmcclusk, Bug #16936


git-svn-id: svn://10.0.0.236/trunk@51432 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 22:22:32 +00:00
rods%netscape.com
54bbcb0dfd added code to the destructor to make sure the list get rolled up.
r=kmcclusk bug 15912


git-svn-id: svn://10.0.0.236/trunk@51303 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 21:59:04 +00:00
rods%netscape.com
4df3a52095 Removed old commented out code and unused comments. r=kmcclusk, (no bug)
git-svn-id: svn://10.0.0.236/trunk@51127 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 11:35:17 +00:00
kmcclusk%netscape.com
9827b1d455 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


git-svn-id: svn://10.0.0.236/trunk@50724 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:41:40 +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
rods%netscape.com
32093a83c6 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


git-svn-id: svn://10.0.0.236/trunk@50146 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:39:50 +00:00
pavlov%netscape.com
743ccfad5b ifdef out the call to CaptureMouse since it is no longer needed r=rods
git-svn-id: svn://10.0.0.236/trunk@49973 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 13:36:39 +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
8da5559e0f 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


git-svn-id: svn://10.0.0.236/trunk@49580 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 14:30:33 +00:00
rods%netscape.com
1a85c4c72e 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


git-svn-id: svn://10.0.0.236/trunk@49428 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 11:37:58 +00:00
peterl%netscape.com
4c0553554b manage view visibility better
git-svn-id: svn://10.0.0.236/trunk@49292 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 03:36:16 +00:00
dcone%netscape.com
181ceff44c Added a Release.. to fix a leak
git-svn-id: svn://10.0.0.236/trunk@48977 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 13:49:12 +00:00
pollmann%netscape.com
e721d4ecd3 Bug 11488: Crash when deleting options from GFX selects
git-svn-id: svn://10.0.0.236/trunk@48569 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 13:25:32 +00:00
pollmann%netscape.com
3e62029e1d Bug 13960: Combo box must not be dropped down before mouse moves update the selected option.
git-svn-id: svn://10.0.0.236/trunk@48253 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 09:48:04 +00:00
pollmann%netscape.com
d75e0e77d0 Bug 9136: Combobox selectedIndex now defaults to 0 instead of -1
git-svn-id: svn://10.0.0.236/trunk@47946 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 07:22:23 +00:00
pollmann%netscape.com
638725384b Bug 13960: Update GFX combos when selection is set.
git-svn-id: svn://10.0.0.236/trunk@47855 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 22:36:29 +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
dcone%netscape.com
f3a6ab4151 Added a Mac case for creating the popup widget..
The #ifdef will come out when all platforms support the PopUp_CID


git-svn-id: svn://10.0.0.236/trunk@47391 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 21:29:58 +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
rods%netscape.com
1de283e598 temporary fix for scrolling the dropdown until gfx scrollbars get in
git-svn-id: svn://10.0.0.236/trunk@47134 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 18:29:00 +00:00
rods%netscape.com
5f095f2ba0 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
git-svn-id: svn://10.0.0.236/trunk@46859 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 22:56:23 +00:00