Commit Graph

382 Commits

Author SHA1 Message Date
troy@netscape.com
3b67f2f17c WillReflow/DidReflow changes and changes to the way view positioning
and sizing works
1999-11-19 15:33:29 +00:00
rods@netscape.com
0282f2530c 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
abdc90fba8 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
nisheeth@netscape.com
29ad59e0ac r=vidur. a=chofmann. Post a reflow event instead of doing reflow command processing synchronously. Currently this only happens on content appended and content inserted notificaitions in the pres shell. 1999-11-09 03:23:26 +00:00
dmose@mozilla.org
796280940b 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
6eeeabf547 Bug 17995: Don't reset selection when adding an option to a combobox, as it caused reframing and a crash. r=harishd a=choffman 1999-11-06 00:54:54 +00:00
pollmann@netscape.com
389a334ccc 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
3c30b69ede Combos now size correctly when the size is specified via style
r=kmcclusk, b=16317
1999-11-03 00:03:32 +00:00
pollmann@netscape.com
38fe763ce7 Removing null code. No bug number. r=nisheeth 1999-11-02 01:50:15 +00:00
troy@netscape.com
bf2283fba6 Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
rods@netscape.com
cd3d279b4f At kipp's suggestion I added a EnterReflowLock before and a ExitReflowLock
after my AppendReflowCommand. The reflow command gets "kicked off"
and it is now fixed. r=kipp, b=14771
1999-10-26 23:34:46 +00:00
troy@netscape.com
b8ef6465be Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
rods@netscape.com
fd9da684d3 removed the PR_MAX forcing the y offset to be zero or greater. Not sure why it was doing this.
r=kmcclusk Bug #16152
1999-10-21 00:06:23 +00:00
pollmann@netscape.com
39f25e6b1a 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
2fd6032bfc ifdef'ed out a static counter for debugging. r=kmcclusk b=15637 1999-10-08 12:24:11 +00:00
rods@netscape.com
87188b13ab Added the COMPAre macro for comparing sizes with NavQuirks
r=kmcclusk
1999-10-07 21:46:31 +00:00
pollmann@netscape.com
f8fe982e47 Bug 15170: Implement onchange notification for list boxes 1999-10-05 23:43:06 +00:00
rods@netscape.com
f8d60dd090 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
1814a217f2 Added ConsumeEvents parameter to CaptureRollupEvents 1999-09-30 14:36:17 +00:00
rods@netscape.com
912b85ca64 Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
Removed focus listener and ForcedRedraws
1999-09-30 11:36:32 +00:00
peterl@netscape.com
0a04b08151 use style changed reflow instead of content changed when updating button 1999-09-29 03:35:24 +00:00
dcone@netscape.com
df0fa3df22 Took out some Addrefs, causing leaks 1999-09-24 13:48:40 +00:00
rods@netscape.com
db893ab76b Added nsIRollupListener for rolling up the dropdown 1999-09-21 21:20:50 +00:00
pollmann@netscape.com
9d20dff8e9 Remove redundant reset() call. 1999-09-19 09:18:33 +00:00
rods@netscape.com
02942e192f It was calculating the absolute position wrong. the frame's x,y was being added in twice. 1999-09-15 21:57:51 +00:00
pollmann@netscape.com
f191f05069 Bug 13058: (Fixed Solaris bustage by removing Inherited typedef) 1999-09-15 05:31:31 +00:00
pollmann@netscape.com
da0b974d1a Backing things out until I can get Solaris bustage figured out. 1999-09-14 20:42:26 +00:00
pollmann@netscape.com
b44758713a 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
649c81916a 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
3c39a571e9 Better fix for option elements with no content in them 1999-09-09 19:37:23 +00:00
rods@netscape.com
53c37e1634 Temporary fix to for mail compose. 1999-09-09 13:17:35 +00:00
sfraser@netscape.com
cffde20f51 #ifdef out a bunch of rods's printfs. 1999-09-09 00:23:40 +00:00
rods@netscape.com
05f2d0dc34 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
pollmann@netscape.com
2002d51226 Bug 12849: OnChange event.target is now the select instead of the option. 1999-09-07 02:16:23 +00:00
peterl@netscape.com
d254ccd300 added accessors for additional style contexts 1999-09-03 23:36:32 +00:00
rods@netscape.com
a456f4acb7 commented out some unused variables to remove warnings 1999-09-02 13:51:12 +00:00
rods@netscape.com
e7394d816e removing dom listeners on descruction
exposed absolutely positioning of the dropdown
now tries to SyncFrameWithView
1999-08-31 13:22:40 +00:00
pollmann@netscape.com
4a0343f03e Cleanup, and bugfixes for bug 12475 and 12350 1999-08-27 03:58:13 +00:00
rods@netscape.com
8e80181e08 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
rods@netscape.com
c5d2a2a5ad Added GetDropDown method to return the nsListControlframe 1999-08-23 14:05:37 +00:00
pollmann@netscape.com
9e36fdb2c2 Bug 3256: Add ScrollIntoView() method to form frame objects. 1999-08-21 00:09:24 +00:00
rods@netscape.com
e9c50c63a3 Now uses the button for the display area and uses the new selected index methods from the ListControlFrame 1999-08-19 14:11:59 +00:00
rods@netscape.com
a1bae1d25d Add GetFrameForPoint to return the combobox when it is disabled. Added disabled code. 1999-08-10 19:25:22 +00:00
rods@netscape.com
2746f589b3 ifdef'ed out the ambigous compiler error for Linux, this code isn't being used at the moment 1999-08-06 14:42:00 +00:00
rods@netscape.com
0660d021db 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
1999-08-06 14:13:20 +00:00
rods@netscape.com
b4681eab62 Made many changes to fix several bugs 1999-07-28 21:38:08 +00:00
kmcclusk@netscape.com
003825881c bug #7032 Changed nsIWidget::Resize(...), nsIWidget::Move(...) to
use PRInt32 instead of PRUInt32. Modified Mac, and Linux to match.
bug #2010 Applied David Barrons patch for MakeSide ins CSSRendering.
nsIWidget - removed GetAbsoluteBounds - Not needed. Can use WidgetToScreen instead.
1999-07-27 23:26:36 +00:00
troy@netscape.com
8c10dec5d9 Renamed some nsFrameList member functions 1999-07-22 04:00:57 +00:00
troy@netscape.com
d6f5216441 Renamed DeleteFrame() to Destroy() 1999-07-22 02:24:52 +00:00
kmcclusk@netscape.com
1e6157fdaf 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