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

40 Коммитов

Автор SHA1 Сообщение Дата
joshmoz@gmail.com 7931c60025 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 09:38:33 -08:00
joshmoz@gmail.com ea6f33d586 bump uuid's for bug 375011 2007-09-14 15:09:51 -07:00
joshmoz@gmail.com a14c02df08 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 15:04:59 -07:00
cbarrett@mozilla.com e59411f5f3 Bug 382194 - Remove an assertion in nsMenuX, clean up native menu code. r=joshmoz sr=pavlov 2007-08-27 17:57:49 -07:00
joshmoz@gmail.com b7dce54bb8 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-22 17:57:45 -07:00
mark%moxienet.com 999c892099 46177 Show icons in native Mac menu items. r=josh sr=bryner 2006-08-01 00:13:24 +00:00
joshmoz%gmail.com 43de00d5af actively update native menu items based on command node content instead of menu item node content. makes menu blinking work when using keyboard commands. also, remove some old native help menu code. b=50590 r=mento sr=pinkerton 2006-07-10 17:50:30 +00:00
bzbarsky%mit.edu ed97753ea2 Make nsIWidget::GetParent return a weak pointer. Bug 227489, r+sr=roc 2006-03-22 18:00:28 +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
cbiesinger%web.de b5fc00bb20 forward-declare nsIDocShell rather than including the header. 277329 r=roc sr=bz 2005-02-05 18:17:10 +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
dbaron%fas.harvard.edu 66238732c8 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 22:26:36 +00:00
pinkerton%netscape.com 96d12a2ec0 rewrite osx menus to use carbon command events to work around all MenuSelect problems on carbon on 9. r=beard/sr=sfraser, bug#58227 2001-10-25 13:58:13 +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
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 a23b17eed2 change iid's to make them unique. bug 68073, r=pchen/sr=sfraser. 2001-02-13 00:10:33 +00:00
pinkerton%netscape.com e85e34277a more api changes for strings 2000-09-07 23:09:22 +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
saari%netscape.com 900e7e25eb Fix for bug 38619, cannot use "hidden" attribute to hide top level menus on MacOS. 2000-05-12 03:53:54 +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 39a38c5c06 Changes to allow menus to enable and disable. This should only be run on MacOS, but nsIMenu::SetEnable(PRBool) was added to all platforms. 1999-09-01 08:40:18 +00:00
saari%netscape.com f9a4da9ef0 Adding SetNativeData(void*) to nsIMenu, which was needed for making the Help menu on MacOS merge with the XUL help menu. The rest of the code is to achive the merge. 1999-08-25 22:53:25 +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 69a0e979fa more access key support 1999-07-02 02:11:10 +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
saari%netscape.com 2c5fc6969c nsIMenu.h interface changes 1999-03-20 02:28:14 +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 b80b319d6d Added forward decl 1999-03-01 17:08:13 +00:00
rods%netscape.com 6b6d319623 Added MenuDeselect to nsIMenuListener 1999-03-01 16:22:40 +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 6311232b8f Changed GetItemAt to return a nsISupports instead of a nsIMenuItem, this is
because a menu can hold both other menus and menu items.
1999-02-17 14:29:15 +00:00
saari%netscape.com 1507ffe918 /m/pub/mozilla/widget/public/nsIMenu.h - Changed AddItem to AddMenuItem /m/pub/mozilla/widget/src/mac/nsMenu.h /m/pub/mozilla/widget/src/gtk/nsMenu.h /m/pub/mozilla/widget/src/motif/nsMenu.h /m/pub/mozilla/widget/src/windows/nsMenu.h - Changed AddItem to AddMenuItem /m/pub/mozilla/widget/src/mac/nsMenu.cpp /m/pub/mozilla/widget/src/gtk/nsMenu.cpp /m/pub/mozilla/widget/src/motif/nsMenu.cpp /m/pub/mozilla/widget/src/windows/nsMenu.cpp - Changed AddItem to AddMenuItem 1999-01-27 15:57:57 +00:00
saari%netscape.com f680767b34 nsIMenu.h - Add SetLabel method nsMenu.h - Added SetLabel method nsMenu.cpp - Added SetLabel method nsIWidget.h - Added AddMenuListener method /m/pub/mozilla/webshell/tests/viewer/nsSetupRegistry.cpp - Registered factories for nsMenuBar, nsMenu, and nsMenuItem 1999-01-27 07:51:20 +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