163 Commits

Author SHA1 Message Date
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
aaronl%netscape.com
e4349bc29d Bug 187839. Japanese IME/caret bug. Fixing checkin so that it doesn't include debugging printf. r=aaronl, sr=bryner, a=asa
git-svn-id: svn://10.0.0.236/trunk@137428 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-05 18:53:45 +00:00
aaronl%netscape.com
cc5098146d Bug 187839. Caret turns of when turning on Japanese IME. Patch by skamio@netscape.net. r=aaronl, sr=bryner, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@137355 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-04 04:26:38 +00:00
aaronl%netscape.com
73edc9cb1b Bug 189853. Click to drop down menu bar item sometimes getting blocked, r=kyle, sr=bryner, a=asa
git-svn-id: svn://10.0.0.236/trunk@137059 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-29 03:41:31 +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
aaronl%netscape.com
63217187c8 Bug 179567. Backing out, causes menu regressions.
git-svn-id: svn://10.0.0.236/trunk@135899 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-06 21:15:20 +00:00
timeless%mozdev.org
7d8b306cdf Bug 187759 opening menu with full-page (quicktime, flash) plugin crashes in [@ nsMenuBarFrame::SetActive ]
r=aaronl sr=bz


git-svn-id: svn://10.0.0.236/trunk@135895 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-06 20:12:04 +00:00
aaronl%netscape.com
ccc82b5818 Bug 179567. Cannot dismiss menu by clicking on menu bar. r=pinkerton, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@135804 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 01:15:25 +00:00
aaronl%netscape.com
0f3bd51459 Bug 132489. Caret should stop blinking when user enters menus. r=kyle, sr=bryner.
git-svn-id: svn://10.0.0.236/trunk@135803 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 01:14:00 +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
aaronl%netscape.com
5e82c47063 Bug 166704. Alt-tabbing between apps can disable typeaheadfind. r=kyle, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@128936 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 02:52:24 +00:00
bryner%netscape.com
929cad272b Bug 141295 and 153681 - fix some timing problems with initial focus. Make sure that window watcher's activeWindow accurately reflects the last window to receive an NS_ACTIVATE. Remove the GetFocusController API from nsIDocument, since the focus controller can now be obtained for the entire lifetime of the document by using GetContainer(). Cleaned up some methods on nsEventStateManager/nsIEventStateManager that were virtual for no reason. r=danm, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@128925 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 00:19:58 +00:00
jay.yan%sun.com
16e11f88a6 bug 164796 disable menu should not be opened. patch=robin.lu@sun.com, r=jay.yan@sun.com, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@128688 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 02:26:01 +00:00
gerv%gerv.net
5751d43faf Bug 154765 - Cleaning up Contributors references after relicensing. Patch by riceman+bmo@mail.rit.edu; r=gerv, auto-sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@126985 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 08:39:43 +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
mkaply%us.ibm.com
540cbb8258 Fix OS/2 runtime bustage - appears to be a compiler bug - working on getting a testcase together
git-svn-id: svn://10.0.0.236/trunk@124981 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 22:20:36 +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
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
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
bryner%netscape.com
8b0b1784d6 Second try at fixing bug 130778. Create a new content interface, nsIMenuElement, which is implemeneted on nsHTMLSelectElement, nsHTMLOptGroupElement, and the newly-created nsXULMenuElement. Create a nsXULMenuElement instance for XUL menubar and menupopup tags. Use this interface to set and get the active item from the XUL menuframe code and the :-moz-menuactive pseudoclass matching code. Should eliminate the Txul slowdown resulting from fetching the active item through js from the pseudoclass matching code. r=jkeiser, sr=jst, a=scc.
git-svn-id: svn://10.0.0.236/trunk@117391 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-24 22:38:21 +00:00
bryner%netscape.com
71a03d2a1d Backing out my checkin from earlier (bug 130778), it seems to be the culprit for the Tp increase.
git-svn-id: svn://10.0.0.236/trunk@117039 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 07:33:51 +00:00
bryner%netscape.com
8763a125c1 Bug 130778 - fixing Txul regression from changing 'menuactive' attribute to :-moz-menuactive pseudoclass. Get the menuactive state from the frame instead of the content node so that we don't have to call through xpconnect and js. r=dbaron, sr=hyatt, a=asa.
git-svn-id: svn://10.0.0.236/trunk@117001 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:48:24 +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
e27fdb2ae7 bug 126439 - Alt+F4 beeps in some window
only beep if the menu bar is active, instead of whenever a matching shortcut key isn't found
r=pink, sr=blake, a=asa


git-svn-id: svn://10.0.0.236/trunk@115799 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 06:28:49 +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
bzbarsky%mit.edu
f68919f405 Relanding the Compare --> Equals conversion. a=mcafee
git-svn-id: svn://10.0.0.236/trunk@114163 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
a8d03c78ee Testing performance impact of backout of part of patch from bug 115289.
See bug 123947 for details. a=mcafee


git-svn-id: svn://10.0.0.236/trunk@114147 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 19:00:56 +00:00
bzbarsky%mit.edu
2fd80b82c9 Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113665 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 02:03:07 +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
dbaron%fas.harvard.edu
ab4b9ed8e0 Fix nsDependentString users who were passing non-NULL terminated buffers. b=104651 rr=jag rs=scc
git-svn-id: svn://10.0.0.236/trunk@107579 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 05:51:27 +00:00
alecf%netscape.com
f7b48fa3b1 convert nsCRT::strn?cmp to Convert() for bug 100214, to depend on string rather than xpcom for case-insensitive unicode support. r=sspitzer for mail stuff, r=jag for everything else, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@105318 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 00:16:32 +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
25df26f9d3 Bug 84645. Move XBL insertion point logic into nsCSSFrameConstructor, where it can interact nicely with continuing frames. r=dbaron, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@102820 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 20:19:41 +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
bryner%netscape.com
7da361b479 Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@101283 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 08:14:14 +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
yokoyama%netscape.com
e5e04bf0e1 bug 52464:
Preventing type cast to char which results loss of data.
/r=ftang, /sr=scc, /a=blizzard


git-svn-id: svn://10.0.0.236/trunk@96475 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 00:37:15 +00:00
hyatt%netscape.com
e43fd22c5a Fixes for 83027, 83892, and 80512. r/sr=blake,alecf,pink, sr=hewitt,blake, a=asa
git-svn-id: svn://10.0.0.236/trunk@96347 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 23:23:35 +00:00
hyatt%netscape.com
fda213e89d Fixes for 80512 and 83707. r=blake, sr=waterson, a=asa
git-svn-id: svn://10.0.0.236/trunk@96284 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 00:22:43 +00:00
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
hyatt%netscape.com
42a6ac59c1 Fix for 51264. r=danm, a=ben
git-svn-id: svn://10.0.0.236/trunk@82920 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 22:00:33 +00:00
BlakeR1234%aol.com
a15922e7ae Fix 38417, patch by dean_tessman@hotmail.com r=me a=brendan
git-svn-id: svn://10.0.0.236/trunk@78105 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 21:19:36 +00:00
pinkerton%netscape.com
92c3e51c6b Add KillPendingTimers() to nsIMenuParent and call it when we open a sibling
submenu. Not clearing out this timer causes confusion with the rollup
listeners. Fixes 48989 and 28309. Thanks to Dean, who put me on the right
track. r=hyatt.


git-svn-id: svn://10.0.0.236/trunk@76368 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 00:35:04 +00:00
dr%netscape.com
eec71e3b36 fix for 42635 and related cleanup, r=ben,hyatt
git-svn-id: svn://10.0.0.236/trunk@75918 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 22:38:46 +00:00
danm%netscape.com
d2cd2b7da7 reverting to 1.65 -- though a slightly different version. i thought i was seeing a crash from that version, but now i think not. so, like before, bug 46556 r=saari. (also on M17 branch, rev 1.64.14.3)
git-svn-id: svn://10.0.0.236/trunk@75308 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 04:45:58 +00:00
danm%netscape.com
db4ea3d12c reverting last change, which causes new crashes
git-svn-id: svn://10.0.0.236/trunk@75306 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 03:00:35 +00:00
danm%netscape.com
26f87c8d88 release the keyboard navigator in the destructor. seems to fix a secondary, rarer crash in bug 46556. also in M17 branch (rev 1.64.14.1). r=saari
git-svn-id: svn://10.0.0.236/trunk@75291 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 01:26:06 +00:00
hyatt%netscape.com
9b9cb75ca5 Fix to enable fast tree scrolling. Fix shortcut keys and arrow keys in
XP menus.  Add API for obtaining offset rects for XUL elements.  Fix
deletion bug in trees.  (It's a barrel of nsbeta3 goodness.) r=ben


git-svn-id: svn://10.0.0.236/trunk@74892 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 06:19:30 +00:00
hyatt%netscape.com
00046694d9 support for dynamic multiple insertion points r=ben
git-svn-id: svn://10.0.0.236/trunk@70595 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 09:15:54 +00:00