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
enndeakin@sympatico.ca
75d35b42fd
Bug 406686, close popups on blur, this time with nullcheck, r=roc,sr=dveditz
2008-02-08 05:53:33 -08:00
mozilla.mano@sent.com
8e142677f0
Backing out 406686 again
2008-02-06 18:19:12 -08:00
mozilla.mano@sent.com
260b79c683
Relanding bug 406686
2008-02-06 16:55:55 -08:00
mozilla.mano@sent.com
9343a644bf
Attempt to fix orange by backing out 406686
2008-02-06 15:45:59 -08:00
enndeakin@sympatico.ca
0a624e2179
Bug 406686, close popups on blur, r=roc,sr=dveditz
2008-02-06 13:12:00 -08:00
reed@reedloden.com
2628c5157a
Bug 405512 - "deCOMtaminate nsIMenuRollup" [p=karunasagark@gmail.com (karuna [kay]) r+sr=roc a1.9=schrep]
2008-01-16 22:57:13 -08:00
enndeakin@sympatico.ca
4e6ed3e728
Bug 395334, allow noautohide panels to have a parent so they that float and move with their parent, also fixes bug 395123, r=josh,roc,sr=roc
2007-11-28 12:18:11 -08:00
jonas@sicking.cc
136308d144
bug 384612: Remove script from scrollbar XBL binding. r/sr=dbaron
2007-11-19 12:08:20 -08:00
enndeakin@sympatico.ca
f3dee7a7ae
Bug 394600, address bz's additional popup reworking comments, add tests for removing popups, r+sr=bz,a=beltzner
2007-11-17 07:47:38 -08:00
enndeakin@sympatico.ca
d29c264f13
Bug 400893, escape should close panels, r+sr=neil,a=beltzner
2007-11-12 13:52:13 -08:00
enndeakin@sympatico.ca
917ec8c785
Bug 396983, flush frames before opening a popup, r+sr=bz, a=dbaron
2007-10-09 05:11:14 -07:00
enndeakin@sympatico.ca
fd7d18e733
Bug 397606, don't deactivate menubar when switching menus, r+sr=bz, a=damon
2007-10-03 15:00:41 -07:00
enndeakin@sympatico.ca
7e86fa7e56
Bug 392652, nsXULPopupManager::Rollup should hide popups synchronously, r+sr=bz, a=mconnor
2007-09-18 08:00:43 -07:00
enndeakin@sympatico.ca
a0b52957c1
Bug 195031, support sticky bookmarks menus, r=mano,sr=bz, blocking bug
2007-08-30 08:43:10 -07:00
enndeakin@sympatico.ca
aef0ee7c4d
Bug 385275, handle tab navigation in popups properly, r+sr=roc
2007-08-15 18:09:58 -07:00
enndeakin@sympatico.ca
0cc1ad3811
Bug 386917, choose application in feeds page not working, add popup state retrieving api, r=mano,sr=bz,a=dbaron
2007-08-15 16:52:47 -07:00
enndeakin@sympatico.ca
c655665c6a
Bug 390589, capture not being released in some cases when popup is closed, fixes some focus issues, r+sr=bz,a=dbaron
2007-08-15 07:03:21 -07:00
enndeakin@sympatico.ca
34f05d991b
Bug 388995, remove popups from open chain after the popuphiding event, r+sr=bz, a=dbaron
2007-08-03 07:05:07 -07:00
enndeakin@sympatico.ca
e28524ff33
Bug 388280, command event needs to know user input state, otherwise a popup could be blocked, r=jst,sr=bz
2007-07-23 17:55:52 -07:00
enndeakin@sympatico.ca
3e0f22aa82
Bug 387499, 387985, key navigation and shortcuts not working when menulist is closed, r=neil,sr=bz
2007-07-23 10:08:10 -07:00
enndeakin@sympatico.ca
8b63ae1bc7
Bug 387659, popup coordinates are not set within popupshowing event,r=eli,sr=bz
2007-07-17 05:21:53 -07:00
mrbkap@gmail.com
ee7ba77bf9
Squelch compile warnings in layout by not using 'static' in a header file. bug 388356, r=enndeakin sr=jst
2007-07-16 15:25:29 -07:00
enndeakin@sympatico.ca
d871c755b7
Bug 388064, remove extra active popup list from presshell, since popup manager now tracks popups, and does so for all popups, r+sr=roc
2007-07-16 07:53:32 -07:00