Граф коммитов

39 Коммитов

Автор SHA1 Сообщение Дата
joshmoz%gmail.com 75b493c333 remove nsIMenuListener interface and its usage, cuts some memory usage, faster without it, and code is much cleaner. b=400259 r=smorgan sr=roc a=pav 2007-11-09 17:38:34 +00:00
joshmoz%gmail.com 2b4071bde8 bump uuid's for bug 375011 2007-09-14 22:09:51 +00:00
joshmoz%gmail.com 5df487e0f1 fix up the way we handle menu separators. this is cleaner and allows them to be hidden and unhidden after creation. b=375011 r=cbarrett sr=roc a=roc 2007-09-14 22:05:00 +00:00
joshmoz%gmail.com 4f23b95b7d allow DOM to unhide menus and menu items whether or not their initial state is hidden. fixes bidi menu items. b=364994 r=mano sr=roc 2007-03-23 00:57:45 +00:00
mark%moxienet.com 553b503658 46177 Show icons in native Mac menu items. r=josh sr=bryner 2006-08-01 00:13:24 +00:00
joshmoz%gmail.com ca8f23f1e3 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 e7dc29f959 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 7ed2e94362 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 09d9ae05a9 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 dff1dea638 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 3203d0d58e Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst. 2005-01-03 22:51:17 +00:00
gerv%gerv.net c40f4f93a2 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
bryner%netscape.com 0470db5deb Remove some unused interfaces and files from widget. Bug 210169, r/sr=dbaron. 2003-06-21 02:16:53 +00:00
gerv%gerv.net f385eb981a 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 e95412b0df 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 a60211ce26 don't use nsIDOMNode, use nsIContent. r=saari/sr=sfraser. 2001-03-22 03:59:49 +00:00
pinkerton%netscape.com a1502cd24c making iid's and cid's unique. r=saari/sr=sfraser. bug# 71722 2001-03-13 02:12:00 +00:00
pinkerton%netscape.com 8c166695f6 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 c6be966386 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 42fc94a6ec 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 5463aa2188 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 c4dc3e2db6 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 c861cab8fb changed all IIDs to use NS_DEFINE_STATIC_IID_ACCESSOR 1999-07-15 14:54:02 +00:00
saari%netscape.com f31fa55b97 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 53aeaf5d49 changing nsIMenuItem for context menu support 1999-05-11 18:16:25 +00:00
saari%netscape.com 79ad28ab22 dynamic menu changes 1999-04-23 22:39:32 +00:00
saari%netscape.com 3fc71cf9aa This should be the last of this round of menu checkins 1999-04-19 08:27:57 +00:00
scc%netscape.com 31ff626ae9 rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
rods%netscape.com 22dce04ff4 Added static IID() method 1999-03-03 15:17:33 +00:00
rods%netscape.com 32a829b5fa Added Set/GetEnabled and Set/GetChecked methods 1999-02-21 14:31:19 +00:00
rods%netscape.com 1ca9b2c223 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 caf82723f4 Added methods for adding and removing menu listeners 1999-02-17 14:29:51 +00:00
rods%netscape.com 7c6549cd3f Moved XULCommand back to xpfe/appshell 1999-02-11 15:13:29 +00:00
saari%netscape.com dce538a2bb 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 4b9f9e35bc /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 cdbe54d186 Updated Interfaces to support UNIX 1998-10-07 19:49:36 +00:00
rods%netscape.com 15d635a9f2 Reworked all the menu code and removed nsWindow from several classes 1998-09-29 21:30:31 +00:00
rods%netscape.com 4cc0856865 Changed the menu code to use HMENUs instead of casted HWNDs 1998-09-29 14:15:32 +00:00
rods%netscape.com c04551c5fb Added interfaces 1998-09-28 22:37:16 +00:00