Commit Graph
60 Commits
Author SHA1 Message Date
beard@netscape.com 7c3543c200 fixing leaking toolkit and device contexts. 1999-09-29 01:25:19 +00:00
pavlov@netscape.com c5851f3366 work to get drawing done based on regions and not rects. remove unneeded code in nsBaseWidget and removed tabs. add InvalidateRegion() method to nsIWidget. did InvalidateRegion implimentation on unix. a=shaver r=beard 1999-09-28 01:31:41 +00:00
beard@netscape.com 5a35709c76 bug #10503: added SetZIndex & GetZIndex. a=leaf, r=troy 1999-09-23 23:26:25 +00:00
saari@netscape.com 0c513d2fc2 Changing broadcaster to use onbroadcast instead of oncommand. Adding the "braodcast" "commandupdate" and "input" events. Changed all xul observes nodes to use onbroadcast instead of onchange. 1999-09-21 23:02:35 +00:00
rods@netscape.com f0784e0751 added CaptureRollupEvents for indicating when a dropdown should be rolled up 1999-09-21 11:25:03 +00:00
ramiro@netscape.com a162074041 Add better event debugging. 1999-09-09 02:32:54 +00:00
pavlov@netscape.com 11b479e053 use macros for getiid, isupport, etc 1999-09-04 08:13:41 +00:00
rods@netscape.com dcb00f20e7 Changed EnableDropFile to EnableDragDrop. D&D is now NOT automatically registered for all windows during
creation and initialization. The method EnableDragDrop is not used to "turn it on".
The method nsIView::CreateView has parameter that indicates whether it should be turned on or not
This make it configurable from the outside, it is needed for the editor
1999-08-26 14:41:17 +00:00
sfraser@netscape.com 47651342ab Make sure we initialize members of the base widget 1999-08-24 01:00:01 +00:00
pavlov@netscape.com 1fcfa0274b remove unused tab widget and tooltip widget as they have never been used 1999-08-21 08:41:46 +00:00
pinkerton@netscape.com f0bcf3b5fc remove InvokeDragSessionSingle. 1999-08-19 19:48:18 +00:00
joki@netscape.com 29600305de Adding new onselect event. Also slight modification to ender text widget focus behavior 1999-08-07 23:18:35 +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
pavlov@netscape.com a39e5b237e window creation changes 1999-07-27 04:27:17 +00:00
hyatt@netscape.com 2bdf094081 Defining the menu GUI events. 1999-07-26 09:19:18 +00:00
rods@netscape.com aab8073f58 switched to using nsCOMTypeInfo 1999-07-16 14:11:43 +00:00
kmcclusk@netscape.com 0bdaefde4e 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
ramiro@netscape.com 822dbd20e2 Take out extra semicolon that is sure to break some compiler out there. 1999-07-09 12:15:12 +00:00
ramiro@netscape.com b639094bec Add some useful debuggin information. This change does not affect any
functionality at all.  Its just a rearranging of some code and adding debug
stuff so that we can debug event related bugs.  In particular (but not
limited to) focus events.
1999-07-09 12:11:12 +00:00
scc@netscape.com 90f6a8560a |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()| 1999-06-29 21:01:31 +00:00
pinkerton@netscape.com f364719c6e Fix signed/unsigned problems by making enumerator keep an PRUint32 to match the result of nsICollection::Count(PRUint32*). 1999-06-22 20:41:28 +00:00
rods@netscape.com 9d270a4364 Changed remain unsigned int to PRUint32 1999-06-22 19:07:03 +00:00
kmcclusk@netscape.com ddf18c1082 Added CaptureMouse method to nsIWidget. Implemented CaptureMouse in nsWindow.cpp
Added a base implementation to nsBaseWidget.cpp.
1999-06-21 20:37:50 +00:00
pierre@netscape.com d6a1e03113 #8214 "[PP] Mac - Closing browser window with text field focused crashes apprunner". Removed an extra addRef in nsBaseWidget::Enumerator::CurrentItem() 1999-06-16 03:34:44 +00:00
rods@netscape.com 441b2f7f1b Changed "unsigned int" to PRUint32 1999-06-15 14:25:31 +00:00
syd@netscape.com 0787dda00b Add SetModal() widget interface to nsIWidget, and provide an implementation
for Gtk+. Now, when we do modal dialogs, Gtk+ calls a routine that makes the
dialog modal within Gtk+; this is in addition to the code in nsWebShellWindow
that is being invoked to support modals on the other platforms. For Gtk+, the
nsWebShellWindow code doesn't appear to be enough; in order for the event
plumbing to stay alive, we need to call into Gtk+, and unless we actually make
the dialog modal using Gtk+ mechanisms, the user can still get to the menu bar, which is not good.
1999-06-13 20:56:08 +00:00
pinkerton@netscape.com c09840166b fix GetChildren() to not copy the child list and to use a proper enumerator. 1999-05-26 21:12:54 +00:00
syd@netscape.com 2594b7a82f Remove nsBaseWidget::SetModal. 1999-05-08 23:08:23 +00:00
pierre@netscape.com fb9d13e512 removed a spurious SetCursor when creating a widget 1999-04-21 23:14:07 +00:00
kipp@netscape.com 3d0ae33aca Added in some missing addref/release's 1999-04-19 23:24:40 +00:00
syd@netscape.com 3e35055ef9 Support for modal dialogs in Gtk+ xpfe. Reviewed by rods. 1999-04-19 21:18:50 +00:00
hyatt@netscape.com 20d8a6e4f3 This assert shouldn't be present. 1999-04-06 00:49:50 +00:00
kipp@netscape.com 04f81580a0 Eliminate compiler warnings 1999-04-03 18:38:47 +00:00
beard@netscape.com b2bf7d1117 now reference counts all listeners 1999-03-12 04:29:48 +00:00
rods@netscape.com 38738d11c4 Added method EnableFileDrop (temporary for D&D work) 1999-03-09 23:47:47 +00:00
warren@netscape.com 35d5e6e062 nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
rods@netscape.com 813dd16713 Added ref counting to vertical scrollbar 1999-03-05 15:50:04 +00:00
rods@netscape.com 1e593f70ee Added impl of SetVerticalScrollbar 1999-03-05 15:25:24 +00:00
scc@netscape.com 6bb3406b4d rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
warren@netscape.com 3fdebc0a44 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray. 1999-02-23 08:10:24 +00:00
mjudge@netscape.com a2800357ab changing nsIEnumerator to use NS_IMETHOD not virtual nsresult 1999-02-19 23:43:20 +00:00
mcafee@netscape.com 3cb1912cea Adding do_QueryInterface() wrapper for nsCOMPtr carpool 1999-02-17 02:23:56 +00:00
saari@netscape.com ed1fffa205 mozilla/widget/src/xpwidgets/nsBaseWidget.cpp - included "nsIMenuListener.h" - destructor releases mMenuListener - AddMenuListener Releases a previously held nsMenuListener (nsMenuBar) before AddRefing the passed in one mozilla/widget/public/nsIMenuItem.h - included "nsIXULCommand.h" - added SetXULCommand(nsIXULCommand*) which sets the XUL command for the menu item mozilla/widget/src/mac/nsMenuItem.cpp mozilla/widget/src/gtk/nsMenuItem.cpp mozilla/widget/src/motif/nsMenuItem.cpp mozilla/widget/src/windows/nsMenuItem.cpp - QueryInterface supports nsIMenuListener interface. - MenuSelected calls DoCommand on XULCommand (mac only right now) - Added SetXULCommand() to set the nsXULCommand for this menuitem mozilla/widget/src/mac/nsMenuItem.h mozilla/widget/src/gtk/nsMenuItem.h mozilla/widget/src/motif/nsMenuItem.h mozilla/widget/src/windows/nsMenuItem.h - nsMenuItem inherits from nsIMenuListener - Added SetXULCommand() method 1999-02-05 02:19:46 +00:00
kipp@netscape.com 49f42ee17a init refcnt 1999-02-03 04:25:40 +00:00
saari@netscape.com 0a5facab73 mozilla/widget/src/xpwidgets/nsBaseWidget.h uncommented nsIMenuListener *mMenuListener for XPToolkit menus Index: nsBaseWidget.cpp =================================================================== RCS file: /m/pub/mozilla/widget/src/xpwidgets/nsBaseWidget.cpp uncommented mMenuListener code for XPToolkit menus 1999-01-27 04:20:20 +00:00
pinkerton@netscape.com c5795e7521 fix a leak where the Enumerator would create itself with a refcnt of 1 and then we'd addref it again in GetChildren(). Fixed so that the Enumerator doesn't addref itself and added addref's in the appropriate places to correct that assumption. 1999-01-26 18:07:11 +00:00
pinkerton@netscape.com 10749de461 fixing a leak in GetChildren() and cleaning it up to use nsComPtr when creating a new enumerator. 1999-01-25 19:18:43 +00:00
saari@netscape.com c6c970ab61 Commenting out until I figure out what I horked 1999-01-23 01:08:17 +00:00
saari@netscape.com b89dbfdb63 Commenting out until I figure out what I horked 1999-01-23 00:26:51 +00:00
saari@netscape.com eac1603386 Set mMenuListener to null in constructor 1999-01-22 23:25:16 +00:00