Commit Graph

262 Commits

Author SHA1 Message Date
bryner%netscape.com
2831d5cbf4 Fix positioning of menupopups that are inside iframes (bug 129782). r=pavlov, sr=ben.
git-svn-id: svn://10.0.0.236/trunk@118605 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 09:27:11 +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
26dd396957 Fixing crash in navigating context menu, caused by my checkin for bug 130778. r=pavlov, sr=scc, a=asa.
git-svn-id: svn://10.0.0.236/trunk@117397 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-25 05:30:50 +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
dean_tessman%hotmail.com
341c2bc087 bug 128983 - F4 to dismiss selects and menulists causes beep
Now only beeps if the popup has a tag of "menu"
r=aaronl  sr=jag  a=asa


git-svn-id: svn://10.0.0.236/trunk@117032 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 02:58:52 +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
sgehani%netscape.com
2f3e2514d8 Delay morphing window when entering print preview mode.
b=126675; r=law; sr=alecf; a=asa


git-svn-id: svn://10.0.0.236/trunk@116828 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 03:23:31 +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
kin%netscape.com
a97cad95f6 Fix for bug 124485 (Long lists of folders/bookmarks after up/down arrow not reachable)
mozilla/layout/xul/base/src/nsMenuPopupFrame.cpp

    - Modified SyncViewWithFrame() to sync the frame's origin
      with the view, after the view is positioned.

  mozilla/layout/xul/base/src/nsSliderFrame.cpp

    - Traverse view hierarchy instead of the frame hierarchy
      when calculating the offset from the slider frame to
      the rootView. This fixes mouse tracking problems in
      the auto-complete widget's popup menu scrollbar when the
      popup menu frame and view are sync'd to the same position.

r=hyatt@netscape.com  sr=roc+moz@cs.cmu.edu  a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@115909 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 01:52:06 +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
alecf%netscape.com
f85a67075e one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag


git-svn-id: svn://10.0.0.236/trunk@114971 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:49:12 +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
2fb6462521 Fix bug 84121, problem with XUL menu sizing/positioning. Patch by
Michael Kaply <mkaply@us.ibm.com>, r=dean_tessman@hotmail.com,
r=piskozub@iopan.gda.pl, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@112054 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 05:45:53 +00:00
hewitt%netscape.com
ec249a518b 116010 - tooltips over autocomplete or menulists will size themselves to source, r=hyatt, sr=blake
git-svn-id: svn://10.0.0.236/trunk@112003 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 01:59:50 +00:00
hyatt%netscape.com
02941169ac Fix for 118368, support for drop shadows under menus and tooltips on WinXP, r=bryner, sr=blake
git-svn-id: svn://10.0.0.236/trunk@111432 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 23:50:52 +00:00
mkaply%us.ibm.com
beec915215 #101771
r=pinkerton, sr=hyatt
Make menus clipsibling


git-svn-id: svn://10.0.0.236/trunk@111351 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 11:04:17 +00:00
hewitt%netscape.com
9e78820b18 115403 - check for sizetopopup in nsMenuPopupFrame, not msMenuFrame, r=ben, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@110793 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 12:11:12 +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
sfraser%netscape.com
d35e1fa18c Fix for bug 115162 -- shrink data structures by converting PRBool to PRPackedBool. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@110496 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 23:13:08 +00:00
dean_tessman%hotmail.com
4c65dd8f62 Bug 94980 - Keyboard navigation in context menu causes highlight upon reopening
r=pink sr=blake


git-svn-id: svn://10.0.0.236/trunk@110366 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 05:11:16 +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
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
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
hyatt%netscape.com
ab0e4e56d4 Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106100 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:01:09 +00:00
bryner%netscape.com
0f26101b92 Bug 104141 - context menu doesn't appear on the first attempt. r=evaughan, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@105760 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 06:27:07 +00:00
hewitt%netscape.com
f4ed27b609 101677 - popups should use css margins to affect positioning, r=pinkerton, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104365 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 00:38:34 +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
0c386f7c3e Fix for 96291, leaking popups in tree widget, causing reply-all in mailcompose to fail autocompletion. r/sr=waterson,danm
git-svn-id: svn://10.0.0.236/trunk@103519 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 00:32:23 +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
hyatt%netscape.com
83bb56dc40 Fix for 94943. r=jag, sr=blake
git-svn-id: svn://10.0.0.236/trunk@101382 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-18 01:04:47 +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
hyatt%netscape.com
2c535c6868 Fix for 93177, r/sr=pavlov,ben
git-svn-id: svn://10.0.0.236/trunk@101071 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-15 04:09:41 +00:00
hyatt%netscape.com
3c023c2a2c Fix for 93171. r=pink, sr=blake
git-svn-id: svn://10.0.0.236/trunk@100552 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-08 01:38:05 +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
dbaron%fas.harvard.edu
88810ef1eb Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@97540 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 03:27:48 +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
pchen%netscape.com
fc01c4c229 bug 78409, r=pinkerton, sr=hyatt, a=asa, apply patch for bug 66848 which fixes submenus not knowing that its parent menu popped up in the opposite direction (usually because of hitting a screen boundary)
git-svn-id: svn://10.0.0.236/trunk@96344 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 23:03:24 +00:00
hyatt%netscape.com
990b8599a4 Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@96285 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 00:57:43 +00:00
jst%netscape.com
43eee52859 Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@94242 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 17:42:36 +00:00
dr%netscape.com
d5732b9792 fix for 67731, r=pinkerton, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@90567 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 22:58:50 +00:00
dr%netscape.com
4737ba6953 fix for 67731, patch from varga@utcru.sk, r=pinkerton, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@90294 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 00:12:47 +00:00
kmcclusk%netscape.com
c3861b69ee Rewrote nsContainerFrame::PositionChildViews to use the view tree instead of doing a recursive walk of the frame tree. Should improve page load performance bug 70211 r=attinasi@netscape.com sr=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89317 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 04:19:10 +00:00
hyatt%netscape.com
11b2e924f2 Outliner files are not part of build.
The other files are a fix for bug #70809.  r=attinasi, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@88614 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 02:27:50 +00:00
ben%netscape.com
70779f1c35 Fix for bug 65108, incorrect positioning of menupopups when menulist/menu as child of
deck page. r=pinkerton@netscape.com, a=hyatt@netscape.com


git-svn-id: svn://10.0.0.236/trunk@85423 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 08:38:09 +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
ben%netscape.com
72a58028e5 bugfix for 57951, checking in again (this was backed out this morning to get the tree open, however it turns
out that the submenu positioning problem was actually caused by something else, and there was nothing wrong
with this change). r=pink, a=hyatt


git-svn-id: svn://10.0.0.236/trunk@83034 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 06:15:43 +00:00