30 Commits

Author SHA1 Message Date
syd%netscape.com
1848a42f66 Support for modal dialogs in Gtk+ xpfe. Reviewed by rods.
git-svn-id: svn://10.0.0.236/trunk@28085 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:18:50 +00:00
hyatt%netscape.com
a7df744a8e This assert shouldn't be present.
git-svn-id: svn://10.0.0.236/trunk@26388 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 00:49:50 +00:00
kipp%netscape.com
7cea9031d0 Eliminate compiler warnings
git-svn-id: svn://10.0.0.236/trunk@26149 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 18:38:47 +00:00
beard%netscape.com
5c6e5f4422 now reference counts all listeners
git-svn-id: svn://10.0.0.236/trunk@23875 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:29:48 +00:00
rods%netscape.com
d6db2acd54 Added method EnableFileDrop (temporary for D&D work)
git-svn-id: svn://10.0.0.236/trunk@23406 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 23:47:47 +00:00
warren%netscape.com
0b33372d99 nsRepository -> nsIComponentManager changes.
git-svn-id: svn://10.0.0.236/trunk@23300 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 09:44:27 +00:00
rods%netscape.com
8edb5cad46 Added ref counting to vertical scrollbar
git-svn-id: svn://10.0.0.236/trunk@22896 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 15:50:04 +00:00
rods%netscape.com
1a87528672 Added impl of SetVerticalScrollbar
git-svn-id: svn://10.0.0.236/trunk@22888 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 15:25:24 +00:00
scc%netscape.com
817f56596f rename |IID()| --> |GetIID()|
git-svn-id: svn://10.0.0.236/trunk@22744 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 19:48:57 +00:00
warren%netscape.com
cb10d9f3a0 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray.
git-svn-id: svn://10.0.0.236/trunk@21585 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 08:10:24 +00:00
mjudge%netscape.com
a811da51ec changing nsIEnumerator to use NS_IMETHOD not virtual nsresult
git-svn-id: svn://10.0.0.236/trunk@21356 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 23:43:20 +00:00
mcafee%netscape.com
0c1cb525c7 Adding do_QueryInterface() wrapper for nsCOMPtr carpool
git-svn-id: svn://10.0.0.236/trunk@20857 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 02:23:56 +00:00
saari%netscape.com
7b70d92069 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


git-svn-id: svn://10.0.0.236/trunk@19794 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 02:19:46 +00:00
kipp%netscape.com
8b20cf85fe init refcnt
git-svn-id: svn://10.0.0.236/trunk@19410 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 04:25:40 +00:00
saari%netscape.com
b45b87c481 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


git-svn-id: svn://10.0.0.236/trunk@18731 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 04:20:20 +00:00
pinkerton%netscape.com
bb880b4b55 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.
git-svn-id: svn://10.0.0.236/trunk@18628 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 18:07:11 +00:00
pinkerton%netscape.com
658c86f7a4 fixing a leak in GetChildren() and cleaning it up to use nsComPtr when creating a new enumerator.
git-svn-id: svn://10.0.0.236/trunk@18504 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 19:18:43 +00:00
saari%netscape.com
c75d529454 Commenting out until I figure out what I horked
git-svn-id: svn://10.0.0.236/trunk@18394 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 01:08:17 +00:00
saari%netscape.com
1606aa27bf Commenting out until I figure out what I horked
git-svn-id: svn://10.0.0.236/trunk@18379 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:26:51 +00:00
saari%netscape.com
e67ca2314a Set mMenuListener to null in constructor
git-svn-id: svn://10.0.0.236/trunk@18368 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 23:25:16 +00:00
saari%netscape.com
f8cb83a03e Added nsIMenuListener.h and made a member variable in nsBaseWidget for holding one of these.
This is for the XPToolkit menus to hook in and get notified of menu events.


git-svn-id: svn://10.0.0.236/trunk@18367 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 23:23:00 +00:00
mjudge%netscape.com
7cfb36e5d7 changing enumerator interface again
git-svn-id: svn://10.0.0.236/trunk@15727 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 21:46:27 +00:00
mjudge%netscape.com
dba04650ad fixing mac build bustages
git-svn-id: svn://10.0.0.236/trunk@15550 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 20:58:53 +00:00
mjudge%netscape.com
d5762e5956 fixing build bustage!
git-svn-id: svn://10.0.0.236/trunk@15547 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 20:28:34 +00:00
mjudge%netscape.com
ba58fd80a6 fixing enumerator to do the right thing
git-svn-id: svn://10.0.0.236/trunk@15528 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 17:58:27 +00:00
rods%netscape.com
da0a53c2df Added paint method for printing (and possible future owner draw)
git-svn-id: svn://10.0.0.236/trunk@15252 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 14:57:09 +00:00
rods%netscape.com
eb644191a7 Made GetBounds and GetClientBounds changes
Added window width and height fields nsSizeEvent


git-svn-id: svn://10.0.0.236/trunk@14103 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 21:43:47 +00:00
pierre%netscape.com
3058b55651 Landing MacWidgets...
git-svn-id: svn://10.0.0.236/trunk@13651 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 14:06:26 +00:00
pierre%netscape.com
d7bf521871 added Previous() and ResetToLast() to the Enumerator
git-svn-id: svn://10.0.0.236/trunk@12984 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 09:18:03 +00:00
rods%netscape.com
b962ff63b0 Moved the cross-platform widgets into their own directory.
Moved the platform specific factories into the new "build" directory.
The "build" directory now links the spwidgets and the platforms specific
widgets together.


git-svn-id: svn://10.0.0.236/trunk@12924 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 21:30:32 +00:00