dbaron%fas.harvard.edu
719f6148dd
Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt. Also includes fixes for regressions from original checkin: bug 137556 (r=bryner sr=kin) and bug 137067 (r=bzbarsky sr=waterson). a=rjesup
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119796 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 00:24:49 +00:00
dbaron%fas.harvard.edu
4d91361814
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117345 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:26:36 +00:00
bryner%netscape.com
01634657fa
- Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
...
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.
Bug 128947, r=dbaron, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@116029 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 03:34:29 +00:00
pinkerton%netscape.com
9e064c6abd
if we don't find the command in our table, don't return noErr from the event handler so things like plugins still get a crack at it. r=peterl/sr=sfraser. bug# 108835
...
git-svn-id: svn://10.0.0.236/trunk@108483 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 20:19:14 +00:00
dbaron%fas.harvard.edu
d3a1b4c5f8
FizillaMach: Make the Quit menu item work by checking the command attribute in nsMenuBarX::ExecuteCommand as in nsMenuItemX::DoCommand. b=107212 r=pinkerton sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@107998 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:53:33 +00:00
pinkerton%netscape.com
d3777355aa
rewrite osx menus to use carbon command events to work around all MenuSelect problems on carbon on 9. r=beard/sr=sfraser, bug#58227
...
git-svn-id: svn://10.0.0.236/trunk@106270 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 13:58:13 +00:00
pinkerton%netscape.com
7d96e85f1c
remove prefs and quit from edit/file menus on osx (they're in the app menu now). r=sdagley/sr=blake,smfr. bug#68098
...
git-svn-id: svn://10.0.0.236/trunk@105773 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 14:13:20 +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
pinkerton%netscape.com
e73b140671
bug 102204, r=sdagley sr=sfraser a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@104659 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 14:16:20 +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
hyatt%netscape.com
880b78a482
Fix Mac bustage.
...
git-svn-id: svn://10.0.0.236/trunk@101799 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-25 06:42:37 +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
pinkerton%netscape.com
2f64bc721b
fix build bustage with nsMenuEvent
...
git-svn-id: svn://10.0.0.236/trunk@99462 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 01:09:46 +00:00
jaggernaut%netscape.com
51b17b5bf0
Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
...
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.
nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
pinkerton%netscape.com
1bf8c2d885
don't increment the number of menus unless the menu is actually visible. r=saari/sr=ben/a=asa. bug# 83430.
...
git-svn-id: svn://10.0.0.236/trunk@98051 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-27 06:37:44 +00:00
pinkerton%netscape.com
5c32fb0a1d
add 'about mozilla' item and impl to carbon menu code. fix indentation. bug#83187, r=saari/sr=sfraser.
...
git-svn-id: svn://10.0.0.236/trunk@96027 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-29 23:18:26 +00:00
pchen%netscape.com
0b287ca0c8
bug 73262, r=pinkerton, sr=sfraser/jst, set weak ref to xul document after adding nsMenuBar as observer, then use that weak ref in destructor to remove ourself as observer, problem is that webshell is getting destroyed before nsMenuBar, so nsMenuBar can't get at the xul document, thus it can't remove itself as an observer.
...
git-svn-id: svn://10.0.0.236/trunk@91240 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 03:41:30 +00:00
pinkerton%netscape.com
6ab481a582
missed some changes in the carbon files.
...
git-svn-id: svn://10.0.0.236/trunk@90077 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 04:09:54 +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
beard%netscape.com
21c3e6bc94
[Not part of build] Updated to use SetRootMenu() and SetMenuItemHierarchicalMenu() rather than juggling menu bars.
...
git-svn-id: svn://10.0.0.236/trunk@83735 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 21:43:22 +00:00
beard%netscape.com
fadfb65e26
[not part of build] first cut at Carbon/Mac OS X compatible menu code.
...
git-svn-id: svn://10.0.0.236/trunk@83265 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 07:19:25 +00:00