Commit Graph

79 Commits

Author SHA1 Message Date
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Neil Deakin
f6bd0911ea Bug 670148, remove nsIScrollbarFrame, r=roc 2011-07-11 10:05:09 -04:00
Neil Deakin
34d82c8060 Bug 670148, remove nsIMenuFrame, r=roc 2011-07-11 10:05:07 -04:00
Jan Varga
b4bb28b0f5 Bug 295285 - onpopupshowing does not expose accesskeys (event.shiftKey) r=enn 2011-07-09 09:41:32 +02:00
Jonas Sicking
118b05fb6e Bug 664058: Remove Add/RemoveEventListenerByIID from nsXULPopupManager. r=smaug 2011-06-29 11:07:48 -07:00
Kai Liu
0443d1b721 Bug 659993: Part 1: Expose a function to determine if a menuitem is a part of a menulist (and if so, what type). r=bzbarsky 2011-06-24 14:00:35 -07:00
Olli Pettay
ea204bc06a Bug 664430 - Make sure PopupManager doesn't keep objects alive after xpcom-shutdown, r=enndeakin
--HG--
extra : rebase_source : 137f6507926c47686d9542f97b6d518599e5ed0f
2011-06-18 12:11:36 +03:00
Neil Deakin
d82e4f5a03 Bug 577377, add a means to get the screen rectangle of a popup, r=neil 2011-06-03 15:38:23 -04:00
Benjamin Smedberg
fa3fb2d543 Bug 617539 - Merge nsIMenuBoxObject_MOZILLA_2_0_BRANCH, r=enn 2011-03-25 11:03:35 -04:00
Neil Deakin
6b11f9fd6c Bug 607224, followup to use separate interface, r=neil,a=blocking 2011-01-17 09:36:33 -05:00
Neil Deakin
9745c2afd5 Bug 607224, add property that specifies if a menu was opened via the keyboard, r=neil,a=blocking 2011-01-04 12:24:51 -05:00
Neil Deakin
ea5241da09 Bug 554937, part 1, add anchorNode property for popups, r=neil,a=blocker 2010-09-21 13:53:01 -04:00
Neil Rashbrook
81f51c150b Bug 588070 Tooltips shouldn't use cached mouse events r=Enn a=beltzner 2010-09-10 21:22:17 +01:00
Neil Deakin
b753ff6479 Bug 558072. Allow getting of popup position and size from popupshowing event. r=roc,a=blocking
--HG--
extra : rebase_source : 0589fbc0410548f8f7ee748d59e70721c5fcc29b
2010-09-06 15:30:17 +12:00
Neil Deakin
fb66fae998 Bug 383930/552341, allow usage of a property on popups instead of using document.popupNode, should fix leak of popupNode, r=neil,sr=roc 2010-08-09 12:17:19 -04:00
Neil Deakin
577d80fba3 Bug 552982, Part 9, support close buttons on popups with titlebars, r=neil 2010-07-27 09:38:04 -04:00
Neil Deakin
a4a74fb3d1 Bug 552982, Part 2: update the popup when it is moved or resized natively, r=mats 2010-07-27 09:38:02 -04:00
Neil Deakin
dba0fd9313 Bug 552982, Part 1: change nsXULPopupManager::AdjustPopupsOnWindowChange so that it only adjusts popups associated with the same window, r=mats 2010-07-27 09:38:02 -04:00
Timothy Nikkel
eaf04d25f4 Bug 563878. Part 15. Fix GetOffsetTo callsites. r=mats 2010-07-18 21:23:48 -05:00
Markus Stange
c34c8948f8 Bug 355375 - Make context menuitems blink when chosen. r=enn
--HG--
extra : rebase_source : 87b93bda596b4af4c1adf294ecc91510047ca0f1
2010-04-19 16:12:58 +02:00
Craig Topper
9eccdbd4d7 Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
Timothy Nikkel
3e07c97339 Bug 488771. Stop nsIRollUpListener from inheriting from nsISupports. r=roc
--HG--
extra : rebase_source : 0af5c537b7be03c1407f4b658ba7802081ad3f01
2009-12-22 17:49:33 -06:00
Timothy Nikkel
0120bb5758 Bug 515028. Change the description of openPopupAtScreen to reflect that coordinates are not relative to the current screen. r=enndeakin sr=bzbarsky
--HG--
extra : rebase_source : 6c4d13f0b2c91dbdd7c2a9325c5ced0ee74bf9d4
2009-09-23 00:04:41 -05:00
Zack Weinberg
17eb5a6efc Bug 497495 part 3: Add methods to every nsFrame subclass that expose the as-allocated identity of every frame object. Also some cleanups to the QueryFrame implementation. r=dbaron sr=roc 2009-09-12 17:49:24 +01:00
Robert O'Callahan
75dc1beb9c Backed out changeset e2927bb26412 2009-08-26 14:49:18 -07:00
Zack Weinberg
18c763f2c5 Bug 497495 part 3a: rationalize the queryframe-implementation macro naming scheme, restructure the implementation to detect duplicate entries, and a couple fixes to the frame ID enumeration. r=dbaron sr=roc
Bug 497495 part 3b: update users of queryframe macros (strictly mechanical change). r=dbaron

--HG--
extra : rebase_source : ee672a17934227b408b83dc6b5cc4e4909652f72
2009-08-26 09:27:42 -07:00
Robert O'Callahan
c9fb8410a3 Bug 352093. Part 7: nsXULPopupManager should store coordinates relative to GetRootWidget to avoid confusion. r=enndeakin 2009-07-22 12:45:06 +12:00
Neil Deakin
f07c61b0cb Bug 404766, right click on a bookmark menuitem closes it instead of opening another context menu, r+sr=roc 2009-06-12 14:23:16 -04:00
Justin Dolske
cf8fb28253 Bug 493508 - video <scale> thumb can jump around while it's being dragged. r=roc, r/sr=mconnor, a192=beltzner 2009-05-20 22:27:01 -07:00
Jeremy D. Lea
39f62f1364 Bug 431634 - Part 1 - clean up header pollution; r+sr=roc 2009-04-01 13:59:02 -08:00
Robert O'Callahan
19082bf736 Bug 406646. Make sure to only search *visible* popups for mouse event targets. r=enndeakin
--HG--
extra : rebase_source : bd0825d6a6469a10dcdd9e4ae9e9c91dcbafbe99
2009-02-24 21:25:25 +13:00
Neil Deakin
bf030ccabd Bug 467360, support buttons with child panels, r+sr=neil 2009-01-20 12:46:55 -05:00
Jeremy Lea
1800930122 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Neil Deakin
a7f74b19f7 Bug 472090, change scale to use a listener instead of mutation events, r=smaug,sr=neil 2009-01-14 13:21:58 -05:00
Benjamin Smedberg
24e7cb1f78 Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.

--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
50621e4f9f Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal. 2009-01-09 11:35:24 -05:00
Benjamin Smedberg
d0b948876f Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Neil Deakin
afa8cec7f5 Bug 393582, Improve naNavigationDirection code, patch=karunasagark@gmail.com,r=enn,sr=bz 2008-12-30 08:30:51 -05:00
Neil Deakin
368d82a815 Bug 393575, change nsIMenuParent to nsMenuParent, r+sr=bz
--HG--
rename : layout/xul/base/src/nsIMenuParent.h => layout/xul/base/src/nsMenuParent.h
2008-12-05 11:37:31 -05:00
Neil Deakin
6b5999344e Bug 396699, rename popup list variables to be clearer, r=bz 2008-12-05 11:37:30 -05:00
Robert O'Callahan
279af36fc7 Backing out bug 448830 2008-09-28 23:13:58 +13:00
Jeremy Lea
92e7030a42 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint their own types so that we can catch errors by distinguishing pixels from appunits. r+sr=roc 2008-09-28 20:38:34 +13:00
Justin Wood
6a3624f6f3 Bug 457353, Remove nsIListBoxObject::listboxBody
r+sr=bzbarsky
2008-09-27 11:38:18 -04:00
Robert O'Callahan
6a45b282aa Backing out bug 448830 2008-09-26 13:10:26 +12:00
Jeremy Lea
67f3afd13b Bug 448830. Make nsIntRect/nsIntSize/nsIntPoint/nsIntMargin separate types so we get appunit vs pixel typechecking. r+sr=roc 2008-09-26 10:42:19 +12:00
roc+@cs.cmu.edu
ac52ed39ff Bug 312225. When we flip a menu vertically to keep it off the bottom of the screen, we need to reverse the 2px vertical offset from the mouse cursor that we introduce for context menus. 2008-04-23 14:25:34 -07:00
reed@reedloden.com
76242a95fb Bug 412954 - "menus should have Menu, PopupMenu or DropdownMenu window type" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr=roc a1.9=beltzner] 2008-03-08 03:32:25 -08:00
dolske@mozilla.com
3061c98928 Reland 406686, tests went green apparently before picking up the backout. 2008-02-08 12:23:05 -08:00
dolske@mozilla.com
96d90967a4 Backout bug 406686 to determine cause of mochitest failures. 2008-02-08 11:07:21 -08:00