pinkerton%netscape.com
b0f605156b
fix for 31267. call oncreate handler for the help menu as well. r=don, a=jar.
...
git-svn-id: svn://10.0.0.236/trunk@62506 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 00:28:32 +00:00
pinkerton%netscape.com
a40122151a
fix for 29349, not being able to disable a submenu by setting disabled on parent node. also extensive nsCOMPtr'ization and fixing of a memory leak in the process. r=saari, a=jevering.
...
git-svn-id: svn://10.0.0.236/trunk@61812 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-28 23:23:13 +00:00
pinkerton%netscape.com
77add0376e
fix for 29257, onDestroy being called after the window had gone away. also calling onDestroy when menu item is selected. r=saari, a=jar.
...
git-svn-id: svn://10.0.0.236/trunk@61710 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-26 00:52:56 +00:00
pinkerton%netscape.com
f24101c1f1
Fix for 27947, oncreate/ondestroy handlers implemented. r=saari, a=rickg
...
git-svn-id: svn://10.0.0.236/trunk@61628 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 01:03:06 +00:00
pinkerton%netscape.com
39901db4e4
cleanup tabs r=saari, a=jar.
...
git-svn-id: svn://10.0.0.236/trunk@61420 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-22 04:45:53 +00:00
scc%netscape.com
11bee2e856
removed errant |QueryInterface()|s in favor of appropriate macros, as part of bug#23737. Changed |NS_DEFINE_IID| to |NS_DEFINE_CID| where appropriate; or else removed it, and fixed up clients to use |NS_GET_IID| in the appropriate spots. Built and ran pre-checkin tests. r=pavlov ... who claims this shouldn't effect other platforms; but I'm watching anyway
...
git-svn-id: svn://10.0.0.236/trunk@59312 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:43:56 +00:00
saari%netscape.com
b1e2ee3879
fix for 14346, 21854, 24380 and other caret bugs. r= hyatt, brade for the mac menu stuff.
...
git-svn-id: svn://10.0.0.236/trunk@58827 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 22:41:43 +00:00
hyatt%netscape.com
f73d070bdf
Fixing MAC menu accelerators. r=saari
...
git-svn-id: svn://10.0.0.236/trunk@55721 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 04:58:23 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
peterl%netscape.com
e8a5d2e937
Added namespace ID to the AttributeChanged notification
...
Part of the fix for Bug 15153
r=troy
git-svn-id: svn://10.0.0.236/trunk@50889 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 23:17:53 +00:00
beard%netscape.com
08cd03a169
fixed 2 string memory leaks (bug #15380 ). r=saari
...
git-svn-id: svn://10.0.0.236/trunk@50777 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 03:57:45 +00:00
sfraser%netscape.com
7570927545
Change assertion to warning, because it's so damn annoying.
...
git-svn-id: svn://10.0.0.236/trunk@47487 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 00:43:46 +00:00
saari%netscape.com
d7897c9ddf
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.
git-svn-id: svn://10.0.0.236/trunk@45783 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 23:48:39 +00:00
saari%netscape.com
9f03b0bd45
MacOS fix for 5562; menus should update their titles now
...
git-svn-id: svn://10.0.0.236/trunk@45510 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 20:57:39 +00:00
saari%netscape.com
b408f44224
Changes to allow menus to enable and disable. This should only be run on MacOS, but nsIMenu::SetEnable(PRBool) was added to all platforms.
...
git-svn-id: svn://10.0.0.236/trunk@45463 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 08:40:18 +00:00
saari%netscape.com
97f527bdf8
Changing Mac Help menu to be non-dynamic to prevent crashing on some machines.
...
Got permission from sdagley
git-svn-id: svn://10.0.0.236/trunk@45424 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 03:26:03 +00:00
beard%netscape.com
9ac56824a8
fixing a smashed memory block problem, wasn't allocating enough space for the '\0' terminator.
...
git-svn-id: svn://10.0.0.236/trunk@44620 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 02:39:53 +00:00
saari%netscape.com
d82ce6573d
Continuing previous checking w. merge
...
git-svn-id: svn://10.0.0.236/trunk@44554 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 23:02:16 +00:00
sfraser%netscape.com
5f271972c7
#ifdef out SysBeep()s in menu code
...
git-svn-id: svn://10.0.0.236/trunk@44536 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 21:55:01 +00:00
saari%netscape.com
bfcb315cb0
Fix for bug 12145 and enabling check marks on mac menus. Both mac only changes.
...
git-svn-id: svn://10.0.0.236/trunk@44366 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 21:55:02 +00:00
hyatt%netscape.com
12a3e06587
Renaming onaction to oncommand.
...
git-svn-id: svn://10.0.0.236/trunk@43881 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 22:58:32 +00:00
saari%netscape.com
7a6d0fe5f1
Fix for bug 11949
...
git-svn-id: svn://10.0.0.236/trunk@43432 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-18 01:20:52 +00:00
saari%netscape.com
fe312719b6
Fix for Mac menu crasher. Same fix as hyatt did for XPMenus. Permission ala chofmann
...
git-svn-id: svn://10.0.0.236/trunk@43328 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-13 23:52:49 +00:00
saari%netscape.com
d398bba5f7
Mac only change
...
Make Mac menu command symbol (clover leaf) show up in menus.
git-svn-id: svn://10.0.0.236/trunk@43097 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-11 00:00:55 +00:00
saari%netscape.com
5279b03499
Fixing bug 4960, mac menu items reflect enabled/disabled state
...
git-svn-id: svn://10.0.0.236/trunk@42940 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 06:25:34 +00:00
saari%netscape.com
ea9ad2b170
Fix for bug 9706, menu shortcut characters should be capitalized
...
git-svn-id: svn://10.0.0.236/trunk@42937 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 05:49:40 +00:00
saari%netscape.com
b8230c0e68
Adding Mac dynamic menus support. This touches a little XP code, notably, adding GetDOMNode and SetDOMNode to nsIMenuItem.
...
git-svn-id: svn://10.0.0.236/trunk@42778 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 19:14:38 +00:00
saari%netscape.com
8549111b2a
Mac only support for menu accelerators
...
git-svn-id: svn://10.0.0.236/trunk@38189 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 23:51:42 +00:00
saari%netscape.com
6f9e4dc415
Access key support stubs on Mac and GTK
...
git-svn-id: svn://10.0.0.236/trunk@37934 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 02:11:30 +00:00
sfraser%netscape.com
fa1a40c2e3
This should be a pascal string.
...
git-svn-id: svn://10.0.0.236/trunk@34823 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:05:17 +00:00
tague%netscape.com
19735cf0e4
Fixed bug #5402 and #5439 : Mac menus not displaying Unicode properly. Thanks to Peter Edberg and Eric Shlegel for help with this fix.
...
git-svn-id: svn://10.0.0.236/trunk@33444 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:35:00 +00:00
saari%netscape.com
9a5e22b31a
Minor mac menu change to facilitate context menus
...
git-svn-id: svn://10.0.0.236/trunk@31667 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 22:00:21 +00:00
pinkerton%netscape.com
75016b7274
don't use OpenDeskAcc under Carbon.
...
git-svn-id: svn://10.0.0.236/trunk@31025 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:10:55 +00:00
saari%netscape.com
ce9191b71c
Fixing Mac menu bug
...
git-svn-id: svn://10.0.0.236/trunk@30488 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:45:48 +00:00
sfraser%netscape.com
27c4956c38
Temporary, #ifdeffed hack to get Apple Menu on Mac. reviewed saari.
...
git-svn-id: svn://10.0.0.236/trunk@29680 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 04:51:40 +00:00
saari%netscape.com
e6217f2eb2
Mac menu cleanup. No more holding onto the nsWebShell
...
git-svn-id: svn://10.0.0.236/trunk@29427 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 09:09:44 +00:00
sfraser%netscape.com
5af950c79b
c2pstr on a "inline" string is bad, with VM on. Fixed.
...
git-svn-id: svn://10.0.0.236/trunk@29034 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 05:00:32 +00:00
saari%netscape.com
bf6482c9af
dynamic menu changes
...
git-svn-id: svn://10.0.0.236/trunk@28973 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 22:39:32 +00:00
saari%netscape.com
9fda39f2f3
This should be the last of this round of menu checkins
...
git-svn-id: svn://10.0.0.236/trunk@28040 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 08:27:57 +00:00
saari%netscape.com
919c0e6eef
menu changes getting ready for dynamic menus
...
git-svn-id: svn://10.0.0.236/trunk@27244 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 00:12:40 +00:00
saari%netscape.com
01c62fc613
Mac menus destroying themselves more properly
...
git-svn-id: svn://10.0.0.236/trunk@26555 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:19:09 +00:00
pierre%netscape.com
dc0110fe78
Fixed strings allocated with ToNewCString() that were either not disposed at all, either disposed with 'delete' instead of 'delete[]'. Thanks to Bruce Mitchener Jr. <bruce@cybersight.com>.
...
git-svn-id: svn://10.0.0.236/trunk@25515 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:40:04 +00:00
saari%netscape.com
0e2bbf2db8
nsIMenu.h interface changes
...
git-svn-id: svn://10.0.0.236/trunk@24562 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:28:14 +00:00
saari%netscape.com
47f05203de
Fixing Bug #3808 - Bookmark menu doesn't work on MacOS
...
git-svn-id: svn://10.0.0.236/trunk@24247 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 03:03:58 +00:00
saari%netscape.com
d329e297fb
Fixing bug #3743 - Hierarchical menus display wrong info on MacOS
...
git-svn-id: svn://10.0.0.236/trunk@24188 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 00:00:39 +00:00
rods%netscape.com
98d535f887
Added MenuDeselect to nsIMenuListener
...
git-svn-id: svn://10.0.0.236/trunk@22441 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 16:22:40 +00:00
saari%netscape.com
0a38ef9c39
MacOS menus can support hierarchical menus now. nsWebShellWindow::LoadMenus() needs to be modified to support this.
...
git-svn-id: svn://10.0.0.236/trunk@21477 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 19:05:48 +00:00
pierre%netscape.com
c52d2e5834
added GetUniqueMenuID() (needed for popups)
...
git-svn-id: svn://10.0.0.236/trunk@21459 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 10:21:20 +00:00
rods%netscape.com
b79dc92650
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.
git-svn-id: svn://10.0.0.236/trunk@21142 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 15:17:11 +00:00
saari%netscape.com
d1bffb6304
/m/pub/mozilla/widget/src/mac/nsMenu.cpp
...
- unleash menu separators for mac
git-svn-id: svn://10.0.0.236/trunk@21067 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:42:06 +00:00