59 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
9e4941c980 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@145292 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:35:53 +00:00
jaggernaut%netscape.com
df747d0621 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@145205 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 19:06:59 +00:00
dbaron%dbaron.org
593f58592d Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144735 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 21:16:12 +00:00
caillon%returnzero.com
6097a01a09 Missed a few files. Fixing mac bustage
git-svn-id: svn://10.0.0.236/trunk@143696 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 23:47:44 +00:00
caillon%returnzero.com
0a6d1ae509 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
dbaron%dbaron.org
6ed727cbe8 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136028 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 23:19:20 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
pinkerton%netscape.com
533bae36a4 if label attribute changes, set the parent menu to dirty. r=sdagley/sr=blake. bug#122826, bugscape#11829
git-svn-id: svn://10.0.0.236/trunk@113357 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 20:43:17 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
dbaron%fas.harvard.edu
7bb7b59a69 Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc
git-svn-id: svn://10.0.0.236/trunk@105460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:53:44 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
bryner%netscape.com
89ad8fb4c6 Fixing mac bustage, I hope.
git-svn-id: svn://10.0.0.236/trunk@101288 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 09:44:54 +00:00
hyatt%netscape.com
c49a03b7be Fix for 71106. r=jag, sr=jst
git-svn-id: svn://10.0.0.236/trunk@100428 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 21:49:35 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
pinkerton%netscape.com
b74db57a0f look in associated command object while building for attribute changes and dispatching. rewrite to use nsIContent and atoms instead of nsIDOMNode and strings. r=saari/sr=sfraser. bug 71470
git-svn-id: svn://10.0.0.236/trunk@90073 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 03:53:57 +00:00
blakeross%telocity.com
f2d2a6e526 Fixing 70746: major xul syntax changes. If you use xul, this WILL affect you! Read n.p.m.xpfe for details on the changes and how you can fix your code. r=hewitt sr=hyatt, ben
git-svn-id: svn://10.0.0.236/trunk@90042 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 00:59:29 +00:00
saari%netscape.com
1449d3bf79 Mac part of 48785 (hyatt's keybinding checkin) and also a fix for 52552. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@79854 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 06:03:13 +00:00
pinkerton%netscape.com
9cd6c72ae4 make sure we only uncheck siblings if there is a name attribute and if we're a radio menu. r=saari, bug 51685
git-svn-id: svn://10.0.0.236/trunk@78742 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 18:53:39 +00:00
pinkerton%netscape.com
813a2806af convert to NS_LITERAL_STRING and fixing some api's.
git-svn-id: svn://10.0.0.236/trunk@78428 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 23:06:52 +00:00
saari%netscape.com
cb8fe64ec2 recommiting my mac only menu optimizations after the false alarm backout
earlier today.


git-svn-id: svn://10.0.0.236/trunk@77857 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 06:37:57 +00:00
saari%netscape.com
efd80ca419 backing out my mac menu changes
git-svn-id: svn://10.0.0.236/trunk@77781 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 19:25:10 +00:00
saari%netscape.com
e1f404e151 Fixes for Mac menu bugs 49576, and 49142. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@77711 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 02:26:08 +00:00
pinkerton%netscape.com
699b76deb0 fix for bug 29569, truncating mac menus better. Also pushes around and refactors a lot of our ugly i18n font code. r=sfraser.
git-svn-id: svn://10.0.0.236/trunk@75103 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 23:12:43 +00:00
sfraser%netscape.com
7147950f45 Fix the menu code to not hold onto webshells, and to use weak refs for the previous menu stack etc. This allows menus to be cleaned up properly on quit (look ma, no leaks!). Bug 41695. r=saari, pinkerton
git-svn-id: svn://10.0.0.236/trunk@72481 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 03:38:00 +00:00
pinkerton%netscape.com
7d2e367d0b fixes for bug 41015. accidentally broke checkmenus trying to fix radio menus. also fixing it so that radio menus no long uncheck their siblings twice. r=saari.
git-svn-id: svn://10.0.0.236/trunk@71107 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 23:12:41 +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
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
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
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
d48f33ac89 Fix for bug 26150, implementing radio behavior in mac native menus. also some minor cleanup and dead code removal. r=saari, a=jar.
git-svn-id: svn://10.0.0.236/trunk@61421 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-22 04:47:12 +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
tbogard%aol.net
ae5a81e394 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
tbogard%aol.net
3332c74e48 Changed references to nsIContentViewerContainer to nsISupports in the march to get rid of nsIContentViewerContainer. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@53492 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 07:29: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
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
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
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
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
hyatt%netscape.com
4a9b61d598 Phase 1 of the XP menu landing. Massaging the native menu syntax to make
it interoperable with the XP menu syntax.

Specific changes:
  (a) separator has been renamed to menuseparator
  (b) onclick has been renamed to onaction
  (c) name has been renamed to value


git-svn-id: svn://10.0.0.236/trunk@41661 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 02:07:17 +00:00
saari%netscape.com
165101dd91 trying the commit again...
git-svn-id: svn://10.0.0.236/trunk@38187 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 23:45:45 +00:00
saari%netscape.com
46cb6c6ada Fix for bug #8452
git-svn-id: svn://10.0.0.236/trunk@35875 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-18 19:28:29 +00:00
saari%netscape.com
c8dccd87f9 nsIMenuItem changes for context menus
git-svn-id: svn://10.0.0.236/trunk@31083 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 18:15:48 +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
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
1c6e3b9258 fix bug #3379
git-svn-id: svn://10.0.0.236/trunk@28349 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:02:16 +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
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
52083c19e0 Actually do menu creation on the create call.
Commented out SetLabel in nsWebShellWindow::LoadMenuItem


git-svn-id: svn://10.0.0.236/trunk@22034 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:45:55 +00:00
rods%netscape.com
694e9f8145 Added Set/GetEnabled and Set/GetChecked methods
git-svn-id: svn://10.0.0.236/trunk@21434 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 14:31:19 +00:00