Commit Graph

34 Commits

Author SHA1 Message Date
joshmoz%gmail.com
bc82b480b0 pull initial enabled state for menu items from command node, not their own DOM node. fixes keyboard command crashes. b=332949 r=mento sr=pinkerton 2006-06-16 15:05:43 +00:00
joshmoz%gmail.com
b77c27f1df more cleanup for bug 329337. bump iid, fix memory leak, check event creation return. b=329337 r=biesi 2006-03-15 16:52:31 +00:00
joshmoz%gmail.com
53f734d57b Send DOMMenuItemActive when mouse enters menu item rects. This fixes Places on Mac OS X. Cocoa impl coming up. b=329337 r=mento sr=ben 2006-03-14 23:58:57 +00:00
joshmoz%gmail.com
899d62dcb7 General cleanup for menus on Mac OS X. b=325700 r=mento sr=pinkerton 2006-02-06 22:19:52 +00:00
bsmedberg%covad.net
78f6d0683d Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
bzbarsky%mit.edu
1601d80e99 Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst. 2005-01-03 22:51:17 +00:00
gerv%gerv.net
8b8dde7d95 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
bryner%netscape.com
9d441ef1da Remove some unused interfaces and files from widget. Bug 210169, r/sr=dbaron. 2003-06-21 02:16:53 +00:00
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
dbaron%fas.harvard.edu
30295f72b6 Fix build and runtime bustage in xlib port. b=75125 r=blizzard@mozilla.org sr=shaver@mozilla.org 2001-04-09 23:16:19 +00:00
pinkerton%netscape.com
944900f907 don't use nsIDOMNode, use nsIContent. r=saari/sr=sfraser. 2001-03-22 03:59:49 +00:00
pinkerton%netscape.com
d4c564ba8e making iid's and cid's unique. r=saari/sr=sfraser. bug# 71722 2001-03-13 02:12:00 +00:00
pinkerton%netscape.com
2d1abbc7ae fixes for bug 31104 (radio menus not updating when poked in content model). involved making only the menubar be a document observer (which increased performance on mac) and passing attributeChanged messages to menuItems that cared. r=saari. 2000-05-26 00:15:33 +00:00
pinkerton%netscape.com
ac21e5ccd0 Fix for bug 26150, implementing radio behavior in mac native menus. also some minor cleanup and dead code removal. r=saari, a=jar. 2000-02-22 04:47:12 +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
saari%netscape.com
c903641346 Chages to nsIMenu and nsIMenuItem for checkbox support and a more general way of IDing the Help menu (necessary for MacOS). Also, some changes to try and stop crashing when Palm software is installed on MacOS. 1999-09-02 23:48:39 +00:00
saari%netscape.com
3979d88e03 Adding Mac dynamic menus support. This touches a little XP code, notably, adding GetDOMNode and SetDOMNode to nsIMenuItem. 1999-08-09 19:14:38 +00:00
rods%netscape.com
2c151c8f14 changed all IIDs to use NS_DEFINE_STATIC_IID_ACCESSOR 1999-07-15 14:54:02 +00:00
saari%netscape.com
946c29e839 Adding support for menu accelerators to MacOS, and the framework for Win32 and GTK 1999-07-02 23:27:22 +00:00
saari%netscape.com
1892663048 changing nsIMenuItem for context menu support 1999-05-11 18:16:25 +00:00
saari%netscape.com
ce18975a90 dynamic menu changes 1999-04-23 22:39:32 +00:00
saari%netscape.com
3678eb9c97 This should be the last of this round of menu checkins 1999-04-19 08:27:57 +00:00
scc%netscape.com
2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
rods%netscape.com
e03060858f Added static IID() method 1999-03-03 15:17:33 +00:00
rods%netscape.com
0c1a88f45d Added Set/GetEnabled and Set/GetChecked methods 1999-02-21 14:31:19 +00:00
rods%netscape.com
388137e5ed Removed the InsertItemAt method that takes a string, this was a conveince
method no one was implementing.
Changed The InsertMenuItemAt to nsISupports because either a nsIMenu or nsIMenuItem
can be inserted.
1999-02-18 15:17:11 +00:00
rods%netscape.com
cac090da2e Added methods for adding and removing menu listeners 1999-02-17 14:29:51 +00:00
rods%netscape.com
a475436887 Moved XULCommand back to xpfe/appshell 1999-02-11 15:13:29 +00:00
saari%netscape.com
f19d7cd4d8 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
saari%netscape.com
12a066f392 /m/pub/mozilla/widget/public/nsIMenuItem.h - Added SetLabel method /m/pub/mozilla/widget/src/mac/nsMenuItem.h /m/pub/mozilla/widget/src/gtk/nsMenuItem.h /m/pub/mozilla/widget/src/motif/nsMenuItem.h /m/pub/mozilla/widget/src/windows/nsMenuItem.h - Added SetLabel method /m/pub/mozilla/widget/src/mac/nsMenuItem.cpp /m/pub/mozilla/widget/src/gtk/nsMenuItem.cpp /m/pub/mozilla/widget/src/motif/nsMenuItem.cpp /m/pub/mozilla/widget/src/windows/nsMenuItem.cpp - Added SetLabel method 1999-01-27 16:14:48 +00:00
rods%netscape.com
aa87aa621d Updated Interfaces to support UNIX 1998-10-07 19:49:36 +00:00
rods%netscape.com
d9854f6f95 Reworked all the menu code and removed nsWindow from several classes 1998-09-29 21:30:31 +00:00
rods%netscape.com
3ca543d895 Changed the menu code to use HMENUs instead of casted HWNDs 1998-09-29 14:15:32 +00:00
rods%netscape.com
60b5422758 Added interfaces 1998-09-28 22:37:16 +00:00