70 Commits

Author SHA1 Message Date
scc%mozilla.org
fd1efd70c8 fix type equivalence between |PRUnichar| and |jschar| now that |PRUnchar| may be |wchar_t| on select platforms
git-svn-id: svn://10.0.0.236/trunk@72073 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 23:52:31 +00:00
pinkerton%netscape.com
c8df49db6a 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.
git-svn-id: svn://10.0.0.236/trunk@70881 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 00:15:33 +00:00
saari%netscape.com
7e27276cd8 Fix for bug 38619, cannot use "hidden" attribute to hide top level menus on MacOS.
git-svn-id: svn://10.0.0.236/trunk@69342 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 03:53:54 +00:00
saari%netscape.com
37f2ac8410 fix for bug 38619, make MacOS menus respect the "hidden" attribute.
git-svn-id: svn://10.0.0.236/trunk@68823 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 06:15:33 +00:00
ftang%netscape.com
11f352cff2 fix 38182 and 31509. Make menu bar and help menu work for non English on JLK
git-svn-id: svn://10.0.0.236/trunk@68424 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 21:18:03 +00:00
scc%netscape.com
ad149b30bf making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66185 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 08:21:30 +00:00
saari%netscape.com
27a2e3d8c1 Fixing M15 blocker 34464, crashing mac menu. r=danm, a=leaf, granrose, et al.
git-svn-id: svn://10.0.0.236/trunk@65561 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 20:48:42 +00:00
saari%netscape.com
e356508379 Enable about box from the Apple menu on MacOS.
Gotta love those high priority features.


git-svn-id: svn://10.0.0.236/trunk@65178 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 09:30:15 +00:00
saari%netscape.com
44c94e182e Implement the ability to remove top level menus on MacOS, essentially just reflecting removal of a content node. r=pink
git-svn-id: svn://10.0.0.236/trunk@64545 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:25:03 +00:00
scc%netscape.com
c342abbc24 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64168 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 10:18:25 +00:00
pavlov%netscape.com
1fdd348954 changes to let us build on MacOS X
git-svn-id: svn://10.0.0.236/trunk@62619 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 03:08:04 +00:00
tbogard%aol.net
c8755be2ea Changed to retrieve the contentViewer from the docShell APIs instead of the webShell's.
git-svn-id: svn://10.0.0.236/trunk@62552 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:13:10 +00:00
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