Commit Graph

262 Commits

Author SHA1 Message Date
neil%parkwaycc.co.uk
83b957e4ae Bug 225431 context submenus do not reappear if context menu is dismissed (e.g. by alt key) r=dbaron sr=bz a=asa
git-svn-id: svn://10.0.0.236/trunk@149635 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-22 23:35:52 +00:00
jst%mozilla.jstenback.com
2affc5b4f0 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
git-svn-id: svn://10.0.0.236/trunk@149527 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 01:20:56 +00:00
sicking%bigfoot.com
2a8221f557 Bug 223012: Make xul fully case sensitive.
r=bryner sr=jst


git-svn-id: svn://10.0.0.236/trunk@149500 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-18 18:20:03 +00:00
timeless%mozdev.org
b18f127cb7 Bug 223697 nsMenuPopupFrame.cpp:1142:9: warning: multi-line comment
r=bz sr=bz


git-svn-id: svn://10.0.0.236/trunk@148506 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 02:09:52 +00:00
bryner%brianryner.com
eeddf02bde deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
jst%mozilla.jstenback.com
ef67a47aab Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
roc+%cs.cmu.edu
7683429d2e Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron
git-svn-id: svn://10.0.0.236/trunk@145537 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-04 12:39:51 +00:00
noririty%jcom.home.ne.jp
9ead66999a fix coding format
git-svn-id: svn://10.0.0.236/trunk@145451 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-01 13:26:34 +00:00
noririty%jcom.home.ne.jp
04b9628f53 url drop-down wrongly aligned in firebird. Patch by mconnor@rogers.com. b=172530 r=dean sr=bryner
git-svn-id: svn://10.0.0.236/trunk@145450 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-01 13:10:31 +00:00
bzbarsky%mit.edu
82c14d79dd DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@145289 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:25:13 +00:00
jaggernaut%netscape.com
36ab3d76a9 Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144817 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 07:37:39 +00:00
dbaron%dbaron.org
593f58592d Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144735 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 21:16:12 +00:00
dbaron%dbaron.org
519cf3b3d3 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@143960 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:44:01 +00:00
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
bryner%netscape.com
b233ee3933 Fix crash mousing around menus (bug 205728). Patch by bienvenu, r=me, sr=dbaron, a=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@142473 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 00:06:23 +00:00
danm%netscape.com
22c1b41090 backing out last revision. interestingly this doesn't seem to affect the fix that revision made. bug 204770 r=bryner,roc+moz a=asa
git-svn-id: svn://10.0.0.236/trunk@142354 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-12 22:47:46 +00:00
caillon%returnzero.com
d762b34349 Bug 192577 - URL bar doesn't collapse on windows
Patch by aaronl@netscape.com
r=danm sr=bryner
a=asa for checkin into a closed tree


git-svn-id: svn://10.0.0.236/trunk@142180 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-07 01:12:41 +00:00
roc+%cs.cmu.edu
e6f36ef13a Bug 173874. Fix tooltip positioning. patch by parish@ntlworld.com, r+sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@139135 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-08 03:11:51 +00:00
aaronl%netscape.com
60b1c05bf1 Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@139051 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 23:07:00 +00:00
kyle.yuan%sun.com
df20076634 Bug 192346 incremental search in <tree>/<menulist>/<listbox> fails if item starts with repeats of a letter
r=jkeiser, sr=henry.jia


git-svn-id: svn://10.0.0.236/trunk@138900 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 01:43:25 +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
bzbarsky%mit.edu
ad013ff94a Get the right view when positioning context menus. Bug 185107, r=hyatt, sr=jag
git-svn-id: svn://10.0.0.236/trunk@136020 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 22:40:14 +00:00
aaronl%netscape.com
3b5f31e394 Bug 187575. Context menus should not eat clicks outside themselves (in Windows). r=dean, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@135910 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-06 23:14:59 +00:00
bzbarsky%mit.edu
d4442c2e0d Use a prescontext from the same document as the frame when trying to get
views.  Bug 180329, r=peterv, sr=roc+moz, a=brendan.


git-svn-id: svn://10.0.0.236/trunk@134973 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-09 15:02:18 +00:00
timeless%mozdev.org
d855a84260 Bug 52285 Kill compiler warnings in layout/xul
patch by mozilla-bugs@nogin.org r=timeless sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@134079 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 05:06:36 +00:00
dbaron%fas.harvard.edu
7c66f307dd Miscellaneous performance improvements, mostly related to image loads. Cache a copy of the IO service on the Pres Context for use in starting image loads. b=170116 r=darin sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@133149 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 12:58:05 +00:00
aaronl%netscape.com
c70e51198a Bug 66834. Autocomplete swallowing clicks. Fixing for Windows and leaving bug open. r=pinkerton, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@133084 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 02:27:57 +00:00
timeless%mac.com
c07177fbab Bug 174448 crash in [@ nsMenuPopupFrame::GetRootViewForPopup] on msnbc page
r=bzbarsky sr=hyatt sr=roc+moz a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@132347 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-22 00:23:35 +00:00
dean_tessman%hotmail.com
4ac78ed6e3 bug 73970 - Tooltips disappear when at bottom of screen
Actually just fixes tooltips so they don't flip to the left of the mouse pointer when they extend off the right edge of the screen.

r=me, sr=bryner@netscape.com
patch by zipo13@myrealbox.com


git-svn-id: svn://10.0.0.236/trunk@131394 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 05:01:10 +00:00
hyatt%netscape.com
36f775c3f0 Fix for 172276, enable menus to support context menus (like WinIE's Favorites top-level menu).
git-svn-id: svn://10.0.0.236/trunk@131123 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 00:56:43 +00:00
hewitt%netscape.com
42906a1aca removing annoying assertions that bug us when positioning popups from script, rs=hyatt
git-svn-id: svn://10.0.0.236/trunk@130751 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-29 22:21:41 +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
mkaply%us.ibm.com
b68ef95b90 Back we go since glazman backed out 117730
git-svn-id: svn://10.0.0.236/trunk@127773 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-21 13:12:30 +00:00
mkaply%us.ibm.com
da40f1c4d7 #162387
r=pedemont, no sr.

OK, I need this in. OS/2 menus are unusable without this.
Basically, when 117730 went in, it regressed this because
the fix for 101771 was no longer needed.

This is backing out the 101771 fix.

I have verified this doesn't break Windows.
The only other platform that could be an issue is Mac, but
it shouldn't be because Mac uses native menus. No other
platform handles clipSiblings.

If this does break something, you would see it as menus
appearing behind other menus.


git-svn-id: svn://10.0.0.236/trunk@127369 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 14:49:44 +00:00
jerry.tan%sun.com
ceca13d9b6 bug 120226, can't show system hint when browser maximize
patch by jerry.tan@sun.com r=bryner, sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@126992 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 10:16:39 +00:00
alecf%netscape.com
45d6ed4c56 bug 161716 - stop exporting nsStr from xpcom.dll
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@126782 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-08 18:59:54 +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
smontagu%netscape.com
21539e9eaf Bug 140557: location bar history is offset when UI aligned to the right. r=dean_tessman@hotmail.com, sr=bz
git-svn-id: svn://10.0.0.236/trunk@126390 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 01:03:27 +00:00
aaronl%netscape.com
0b7c95c9b7 Bug 160188. Accessibility: In Windows, use Control ID for a window to indicate whether the window is content or UI. r=saari,blythe, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@126193 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-01 23:12:38 +00:00
smontagu%netscape.com
f244dc4c50 Bug 140608 ("Bookmarks menu goes offscreen with 3rd level menu when UI aligned to the right"), r=dean_tessman@hotmail.com, sr=jst
git-svn-id: svn://10.0.0.236/trunk@124709 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-05 23:12:51 +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
ben%netscape.com
93f2ce40bf Check in Michiel van Leeuwen's patch for bug 135076 that fixes the problem where you get scroll arrows in submenus when the submenus are initially opened so close to the bottom of the screen that their position is adjusted to make them fit on screen. r=bryner, sr=ben.
git-svn-id: svn://10.0.0.236/trunk@121866 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 09:04:25 +00:00
bryner%netscape.com
7ef95162ae Fix Copy Link Location. The tooltip timer was causing the document's popupNode to get nulled out. We don't actually need to set popupNode at all for tooltips, we have tooltipNode for that. Modified the menu popup code to use tooltipNode for tooltips. Bug 143607. r=hewitt, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@121829 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 03:55:16 +00:00
hewitt%netscape.com
85e23086ef 130448 - urlbar history popup mislocated if you have a long url in it (patch by schoepf@in.tum.de), r=ben, sr=me
git-svn-id: svn://10.0.0.236/trunk@121778 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 21:23:36 +00:00
pete.zha%sun.com
1c5a20addb bug 139877:right-click context menu access keys require "enter" to perform action
r=pete.zha@sun.com sr=jag
Check in Kyle Yuan(kyle.yuan@sun.com)'s fix


git-svn-id: svn://10.0.0.236/trunk@121243 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 02:57:56 +00:00
aaronl%netscape.com
f6a29faa2d Bug 139877. Right click context menu accesskeys require 'Enter' to perform action (regression). Fix by Kyle Yuan. r=aaronl, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121184 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 20:12:21 +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