Commit Graph

296 Commits

Author SHA1 Message Date
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
69da9d4a19 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
roc+%cs.cmu.edu
d4ac9a5795 Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@140858 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:50:57 +00:00
seawood%netscape.com
5921049139 Purge XP_PC.
Bug #56767 r=mkaply sr=alecf


git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +00:00
jst%netscape.com
08e9d026e0 Fixing bug 124412. Making nsXULDocument inherit nsXMLDocument to avoid the need to duplicate a large amount of code in nsXULDocument. Also removing nsMarkupDocument and nsIDOMEventCapturer that are no longer needed. Changing the inheritance of nsIDOMXULDocument to avoid ~60 or so forwarding methods, and doing a *lot* of code cleanup. r=bugmail@sicking.cc, sr=peterv@netscape.com
git-svn-id: svn://10.0.0.236/trunk@140344 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 07:41:30 +00:00
kyle.yuan%sun.com
58aaf233da Bug 197152 AccDoAction failed with menuitem that has command (not oncommand) attribute
r=bryner, sr=jag
move command tag support from individual frames to nsXULElement


git-svn-id: svn://10.0.0.236/trunk@140209 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 03:15:37 +00:00
aaronl%netscape.com
a35898a7e5 Bug 192211. Clean up accessible menu events. r=kyle, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@138586 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 02:08:06 +00:00
bryner%netscape.com
c44337949a Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
neil%parkwaycc.co.uk
46096ef45d Bug 179567 Cannot dismiss menu by clicking on menubar p=aaron r=bryner sr=jag
git-svn-id: svn://10.0.0.236/trunk@136660 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-20 11:58:30 +00:00
caillon%returnzero.com
6b60a8affb Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@135068 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 23:41:12 +00:00
timeless%mozdev.org
97bc540937 Bug 96229 keyboard (and right mouse in context menu) doesn't autocheck menuitem type="checkbox" and type="radio"
patch by neil@parkwaycc.co.uk r=aaronl sr=bz


git-svn-id: svn://10.0.0.236/trunk@134040 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-18 14:01:20 +00:00
aaronl%netscape.com
66faa22cbd Bug 96229. Support keyboard access of checkbox and radio menu items. r=bryner, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@131432 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 18:02:34 +00:00
danm%netscape.com
f9e314a607 propagate state of event modifier keys to menu command handlers. bug 126189 r=bryner,jag
git-svn-id: svn://10.0.0.236/trunk@130544 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 23:21:59 +00:00
dougt%netscape.com
b087ce39fc Fixes non idle timers. This is fixes a regression caused by the last timer changes. r=rpotts@netscape.com, sr-darin@netscape.com, b=167841.
git-svn-id: svn://10.0.0.236/trunk@130183 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 22:32:32 +00:00
dougt%netscape.com
db8cc9c7ec Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129037 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 05:38:16 +00:00
smontagu%netscape.com
eb56d4016c Bug 140609: navigating menu bar with arrows is reversed when UI aligned to the right. r=dean_tessman@hotmail.com, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@126546 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 23:47:01 +00:00
dbaron%fas.harvard.edu
008bc23d0e Stop using |nsCOMPtr|s on nsIBox and nsIMenuParent, which are always implemented on frames, to prevent calling of |Release| after frame destruction and freeing to the pres shell arena. b=114235 r=bryner sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@126498 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 12:48:28 +00:00
kyle.yuan%sun.com
74458f0dd1 Bug 137033 Chrome buttons remain highlighted after dropdown item selected
r=ben, sr=bryner, a=asa
Manually clear hover state when menupopup closes


git-svn-id: svn://10.0.0.236/trunk@126265 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-03 01:20:08 +00:00
aaronl%netscape.com
5c3fc92dc0 Bug 132489. Caret still blinking when entering menus. r=bryner, sr=hewitt. Bug 154704. No accessibility events fired as menus exit. r=jgaunt, sr=jag. Bug 154721. Active accessibility: No accessible focus events fired for documents. r=kyle, sr=jst
git-svn-id: svn://10.0.0.236/trunk@124599 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 16:38:15 +00:00
blakeross%telocity.com
12fe395654 106092 - trunk m1br m100 n70pr1 topcrash @nsMenuFrame::OpenMenu. r=brade sr=ben
git-svn-id: svn://10.0.0.236/trunk@124261 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 03:10:08 +00:00
cbiesinger%web.de
6f7dc93da9 bug 115473 r=pavlov sr=brendan
Remove timer priorities


git-svn-id: svn://10.0.0.236/trunk@123068 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 20:47:04 +00:00
pete.zha%sun.com
3675c24e79 bug 92491:press letters to select item in XUL menu, menulist
r=aaronl sr=hyatt
Check in for Kyle Yuan's(kyle.yuan@sun.com) fix


git-svn-id: svn://10.0.0.236/trunk@119694 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 07:15:35 +00:00
bryner%netscape.com
2dc869eadd Fix menulists so that they correctly honor a max-size set via CSS. Previously they were drawing at the correct size but reporting the unconstrained size to the box layout code, causing too much space to be reserved. r=cmanske, sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@119178 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 23:51:07 +00:00
bryner%netscape.com
b13be5e028 Fix crash if the view manager is destroyed (such as on a page change) while a menupopup is open. Bug 129785. r=ben, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@118606 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 09:32:22 +00:00
bryner%netscape.com
0d03028090 Revert to using an attribute for menuactive (bug 133610). r=ben/jkeiser, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@117621 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 07:01:26 +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
rginda%netscape.com
e0a5449d5d bug 130894, add null checks to avoid crashes found by js debugger users.
r=caillon@returnzero.com, sr=ben, a=asa


git-svn-id: svn://10.0.0.236/trunk@116801 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-18 23:39:48 +00:00
bryner%netscape.com
8e3598ef2e Hardcode sizetopopup=always behavior for HTML select widgets, that way we don't pollute the HTML DOM with our attribute. Also, factoring out the sizetopopup check into a helper method. Bug 128947, r=jkeiser, sr=brendan, a=dbaron.
git-svn-id: svn://10.0.0.236/trunk@116765 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-17 23:41:22 +00:00
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
dean_tessman%hotmail.com
1dce016ad7 bug 122931 - nsMenuFrame.cpp and nsMenuPopupFrame.cpp - is .Assign("") needed before GetAttr?
Removed a few Assign(NS_LITERAL_STRING("")) calls
r=varga, sr=jag, a=asa


git-svn-id: svn://10.0.0.236/trunk@115800 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 06:35:22 +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
aaronl%netscape.com
1a47678bfb Bug 115686: support F4 in dropdowns - XUL <menulist>, HTML combobox and URL bar. r=dean_tessman, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114634 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:35:09 +00:00
dean_tessman%hotmail.com
2db802dff3 Bug 53029 - Menu highlight by ALT key should be cleared by next key event
Windows-specific changes to match behavior when a key is pressed that is not a valid access key.
r=pink, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@114570 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 03:53:26 +00:00
dean_tessman%hotmail.com
37652babe4 Bug 12201 - Access keys on commands don't work in submenus
r=varga sr=blake


git-svn-id: svn://10.0.0.236/trunk@114376 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 04:14:26 +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
waterson%netscape.com
b6978c3e09 Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@110644 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:39:59 +00:00
jaggernaut%netscape.com
576ec93128 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110611 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 07:14:49 +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
roc+%cs.cmu.edu
35e1d479ea Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi
git-svn-id: svn://10.0.0.236/trunk@109458 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 14:31:45 +00:00
hewitt%netscape.com
5d69e8d170 83944 - urlbar history popup should have a max-width, r=ben, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@108943 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 00:03:36 +00:00
roc+%cs.cmu.edu
fce7355cf6 My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out.
git-svn-id: svn://10.0.0.236/trunk@108850 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu
5d13b4f0c5 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@108796 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 05:26:32 +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
dbaron%fas.harvard.edu
7a3e6639d5 Tweak XP_MACOSX ifdefs to fix keyboard shortcuts (partly), context menus, and hidden window behavior and build the mac classic skin in the Mach-O build. b=109165 r=pinkerton sr=beard
git-svn-id: svn://10.0.0.236/trunk@107855 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 23:30:13 +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
jaggernaut%netscape.com
51e0dc7a6c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +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
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