81 Commits

Author SHA1 Message Date
bryner%netscape.com
97fd40e754 Changing XUL menus to use a :-moz-menuactive pseudoclass rather than a menuactive attribute for styling the active item. This will allow XBL select widgets to not modify the HTML DOM. Bug 128947, r=dbaron, sr=hyatt, a=asa.
git-svn-id: svn://10.0.0.236/trunk@116424 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 21:49:23 +00:00
bryner%netscape.com
a50077091c bug 127189 - changing the sizetopopup attribute to have two valid "on" modes: "pref", which sets the preferred size to the popup size, and "always", which sets both the preferred and min size to the popup size. Converting all current users of sizetopopup=true to sizetopopup=pref. r=saari, sr=hyatt, s=shaver.
git-svn-id: svn://10.0.0.236/trunk@115482 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 07:28:39 +00:00
bryner%netscape.com
0b3d0b4c69 Backing out my checkin for bug 127189 -- it caused a regression.
git-svn-id: svn://10.0.0.236/trunk@115274 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 07:18:23 +00:00
bryner%netscape.com
68356dd711 Bug 127189 - make sizetopopup=true set the min size as well as the preferred size. r=jag, sr=hyatt, a=dbaron.
git-svn-id: svn://10.0.0.236/trunk@115265 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 03:42:48 +00:00
hyatt%netscape.com
f9a19ba7cd Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@110648 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:51:39 +00:00
aaronl%netscape.com
ae90321739 Bug 109851, bug 108629, bug 109921, bug 109977, bug 109153, bug 109187, bug 109213, bug 109221. Check in latest XUL accessibility support - menus, <colorpicker>, <progressmeter>, <groupbox>, mixed states for checkboxes, buttons that can be 'checked' ie pressed down, fixes extra MSAA events being generated, couldn't see HTML content
git-svn-id: svn://10.0.0.236/trunk@108528 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-20 02:05:26 +00:00
bzbarsky%mit.edu
068756d821 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
roc+%cs.cmu.edu
57fb5f50ec Make nsMenuFrame respond to dynamic changes in the 'key' attribute in a menuitem. Bug 99853. sr=hyatt,r=jag
git-svn-id: svn://10.0.0.236/trunk@105138 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 03:03:42 +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
waterson%netscape.com
3c7ac0611c Bug 99538. Improve debug output for XUL frames. r=evaughan, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@102962 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-15 00:45:54 +00:00
ben%netscape.com
cbf8597d4f Add implementation for MoveTo method to nsMenuPopupFrame (exposed through nsIPopupBoxObject), etc.
Also change static mDismissalListener to sDismissalListener.
Part of fix for 95401
r=jag, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@102637 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 07:34:54 +00:00
hyatt%netscape.com
4f51638ef4 Fix for 95475. r=jag, sr=ben, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@101788 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-25 02:01:08 +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
jaggernaut%netscape.com
3bf9997fb8 Bug 70048: ``Text of modifiers on accelerators can't be localized''. Attempt #2 :-)
Patch by lordpixel@mac.com, jag. r=jag, lordpixel, pinkerton, sr=ben, blake.


git-svn-id: svn://10.0.0.236/trunk@98501 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-03 00:26:41 +00:00
jaggernaut%netscape.com
e2a3e5cd89 Temporarily backing out the changes for bug 70048.
git-svn-id: svn://10.0.0.236/trunk@98369 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 16:26:23 +00:00
jaggernaut%netscape.com
16281ce5e7 Bug 70048: ``Text of modifiers on accelerators can't be localized''.
Patch by lordpixel@mac.com, jag. r=jag,lordpixel, sr=ben.


git-svn-id: svn://10.0.0.236/trunk@98359 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 06:54:44 +00:00
bryner%uiuc.edu
aae64e984b Mousewheel bugs 29244, 50339, 42313, 33733, and 57598. r=rods,pavlov. sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@83448 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 07:28:19 +00:00
hyatt%netscape.com
7e348287cb Fix for 38461, r=ben
git-svn-id: svn://10.0.0.236/trunk@76553 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 09:15:51 +00:00
dbaron%fas.harvard.edu
991f6bf201 Remove some old stuff left from nsIAnonymousContentCreator before these were converted to XBL. r=hyatt a=waterson
git-svn-id: svn://10.0.0.236/trunk@75684 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 18:49:29 +00:00
pinkerton%netscape.com
9ba2a8e9f2 patch from dean_tessman@hotmail.com for 32685. Check if item is disabled before allowing key navigation into submenus.
git-svn-id: svn://10.0.0.236/trunk@75516 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:07:49 +00:00
bryner%uiuc.edu
b298446991 Refixing bug 23140 to not cause a menu slowdown, and fixing bug 46615 -
removal of old tree widget.  r=hyatt.


git-svn-id: svn://10.0.0.236/trunk@75446 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 00:22:36 +00:00
evaughan%netscape.com
bd0857d1fe Fixed body resizing bug #35681
-r pinkerton


git-svn-id: svn://10.0.0.236/trunk@73848 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 22:24:06 +00:00
hyatt%netscape.com
1b0165a577 Adding anonymous content getter. r=waterson, a=waterson
git-svn-id: svn://10.0.0.236/trunk@70957 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 22:45:26 +00:00
pinkerton%netscape.com
bbcb730ab9 fix for 39567, not being able to type in text fields after menu or tooltip displayed. added a new flag, separate from |mMenuOpen| since that was overloaded too much. a=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@70419 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 00:21:32 +00:00
evaughan%netscape.com
cd4a9a369b 1) Scrolling menus
2) many bug fixes
3) box debuging flags


git-svn-id: svn://10.0.0.236/trunk@69737 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 04:12:31 +00:00
scc%netscape.com
7741d6c076 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66139 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 11:19:26 +00:00
evaughan%netscape.com
82b44e2844 box skinnablility changes.
-r Hyatt


git-svn-id: svn://10.0.0.236/trunk@64707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:02:06 +00:00
dbaron%fas.harvard.edu
0936aaafab Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161.
git-svn-id: svn://10.0.0.236/trunk@63689 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:43:08 +00:00
hyatt%netscape.com
f74659b698 Marking my territory.
git-svn-id: svn://10.0.0.236/trunk@63579 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 13:24:48 +00:00
hyatt%netscape.com
3c38ca0e4e new xul widgets & cleanup of existing widgets
git-svn-id: svn://10.0.0.236/trunk@62639 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 10:34:29 +00:00
evaughan%netscape.com
d40b1bea18 bugs fixes for: 28460, 27242, 29462
-r hyatt, -a jar


git-svn-id: svn://10.0.0.236/trunk@62022 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 03:01:30 +00:00
hyatt%netscape.com
4ccb7d43f3 XUL Property APIs, b=26109, r=ben
git-svn-id: svn://10.0.0.236/trunk@61661 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 08:37:49 +00:00
hyatt%netscape.com
b5f59749de Fix for bug #5927.
git-svn-id: svn://10.0.0.236/trunk@60623 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-13 08:33:39 +00:00
evaughan%netscape.com
a268db39c4 1) implememted box reflow coelescing.
2) implemented gfx scrollbars for list boxes
3) fixed progess meter to be an animated gif
4) fixed bugs 23521, 24721, 19114, 20546, 24385, 24457, 23156, 20226, 22543

-r hyatt, troy, rod


git-svn-id: svn://10.0.0.236/trunk@60253 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 22:02:40 +00:00
hyatt%netscape.com
d58696d355 Fixes for bugs: 18193, 13971, 23440, 18444, 21462, 21818, 22619, 23498, 24081, and 21972. r=just about everybody.
git-svn-id: svn://10.0.0.236/trunk@58568 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 06:35:27 +00:00
troy%netscape.com
60471abd92 b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.


git-svn-id: svn://10.0.0.236/trunk@58373 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 01:16:50 +00:00
michael.lowe%bigfoot.com
6856aa06f0 Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan
git-svn-id: svn://10.0.0.236/trunk@58358 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 21:56:09 +00:00
hyatt%netscape.com
7e24c61109 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy


git-svn-id: svn://10.0.0.236/trunk@55321 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 23:49:50 +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
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
evaughan%netscape.com
0fa061c765 Made tabs us visibility instead of shrinking their children to 0,0.
Made it possible to change the look for the selected tab.


git-svn-id: svn://10.0.0.236/trunk@52270 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 22:13:57 +00:00
troy%netscape.com
bd46e7911f Changed SetView/GetView to take an additional argument which is the
pres context


git-svn-id: svn://10.0.0.236/trunk@51822 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 04:44:41 +00:00
shaver%netscape.com
f2a09249da Added support for type="radio" (pick-one) XP menus.
Cleaned up nsFrame class declaration a bit.
Added some API entries to nsIMenuFrame in support of type="radio"'s
pick-one behaviour.
Renamed UpdateMenuChecked to UpdateMenuSpecialState.
Removed stale string-splitting code in CreateAnonymousContent.
(r=hyatt,mcafee)


git-svn-id: svn://10.0.0.236/trunk@50957 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-17 21:37:37 +00:00
peterl%netscape.com
bba68903df Added namespace ID to the AttributeChanged notification
Part fo the fix for Bug 15153
r=troy


git-svn-id: svn://10.0.0.236/trunk@50888 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 23:16:45 +00:00
shaver%netscape.com
130160f659 Add support for type="checkbox" in <menuitem>.
Converted small pile of PRBool to PRPackedBool for space savings.
r=hyatt


git-svn-id: svn://10.0.0.236/trunk@50849 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 21:13:24 +00:00
shaver%netscape.com
62dca335b0 Fix for 15480 (menu reflow from content change).
Use <titledbutton>, not <div>, for accelerator text to fix alignment
and improve performance _ever_ so slightly.
Initial support for checked menus (needs more magic).
(r=hyatt)


git-svn-id: svn://10.0.0.236/trunk@50737 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:59:18 +00:00
hyatt%netscape.com
217ea22816 Fix for bug 11266 on Windows and mac. making xp menus go away.
git-svn-id: svn://10.0.0.236/trunk@49028 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-25 03:39:35 +00:00
hyatt%netscape.com
61e7c00bb7 Chrome event stuff. Menu changes.
git-svn-id: svn://10.0.0.236/trunk@48458 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 01:03:00 +00:00
shaver%netscape.com
0ac8ea16f5 overhaul menus to use spiffy new titledbutton features
git-svn-id: svn://10.0.0.236/trunk@47989 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 20:12:02 +00:00
hyatt%netscape.com
1433b9452c Landing AttributeChanged alteration. AttributeChanged now fires even when the
style hint is REFLOW or VISUAL (and not just CONTENT).


git-svn-id: svn://10.0.0.236/trunk@46290 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 03:51:41 +00:00