Commit Graph

201 Commits

Author SHA1 Message Date
Masayuki Nakano
46e7090dcf Bug 512235 bug 462809 should be implemented in content/events, not widget/src/* r=roc+vlad 2009-09-03 16:07:18 +09:00
Boris Zbarsky
36622c6995 Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky
932e28482f Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
L. David Baron
ed026ed2f0 Don't QI a node to nsIDOMElement and back to nsIContent for every call to nsEventStateManager::GetContentState. (Bug 509889) r=enndeakin 2009-08-13 19:09:49 -07:00
Felipe Gomes
972bf3dc41 Bug 503541 - Fine grained control of gesture registration on widgets (Win7). r=smaug+roc, sr=smaug 2009-08-13 13:54:09 -07:00
Masayuki Nakano
f9802cc670 Bug 128647 [RFE] Handler for WM_COPY/WM_CUT/WM_PASTE/WM_CLEAR r=ere+roc, sr=roc 2009-08-08 00:11:17 +09:00
timeless@mozdev.org
b456407073 Bug 504473 FORWARD_NULL deref of mPresContext in nsEventStateManager::GetEventTarget
r=smaug sr=smaug
2009-07-22 17:31:01 -05:00
Robert O'Callahan
2ebc95776b Bug 352093. Part 10: misc fixes to remove assumptions about documents having widgets. r=smaug 2009-07-22 12:45:09 +12:00
Robert O'Callahan
41b0dc9d84 Bug 339548. Part 9: Create nsRootPresContext::UpdatePluginGeometry, and use it. Make nsObjectFrame manage its widget directly. 2009-07-22 12:45:00 +12:00
Alexander Surkov
11522a48f5 Bug 494345 - Do not create accessibles for XUL label or description having a role of 'presentation', r=marcoz, enndeaking, sr=smaug 2009-07-10 20:17:15 +08:00
Neil Deakin
463ebf9287 Bug 455590, use new drag and drop api with trees, r=neil,sr=smaug 2009-06-24 13:12:33 -04:00
Neil Deakin
79321ef1f8 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Jim Mathies
586ad3cbd2 Bug 485101 - Implement panning feedback for touch enabled displays with win7. r+sr=smaug r=blassey. 2009-05-19 21:05:59 -05:00
Masayuki Nakano
feee8b464b Bug 492233 [IMM32] Reimplement IME mouse handling r=VYV03354+roc, sr=roc 2009-05-15 09:46:24 +09:00
Olli Pettay
1f7cf9b660 Bug 486502 - Dispatch test events only when running mochitest/chrome/browser-chrome, r+sr=roc 2009-05-06 07:30:39 +03:00
Boris Zbarsky
05780cc568 Bug 67752. Implement interruptible reflow. r=roc,dbaron 2009-04-21 19:53:52 -04:00
Joe Drew
64bbcf4155 Backed out changeset 6a452e522e07 - Boris Zbarsky – Bug 67752. Implement interruptible reflow. r=roc,dbaron - because of apparent Tp hangs. 2009-04-21 23:02:17 -04:00
Boris Zbarsky
e5f6293681 Bug 67752. Implement interruptible reflow. r=roc,dbaron 2009-04-21 19:53:52 -04:00
Jim Mathies
bf62e148ca Bug 479901 - Add WM_GESTURE support for Windows 7. r=vlad+smaug. 2009-04-02 14:34:31 -05:00
Tom Dyas
b86ed018a1 Bug 479093 - Text sent to services includes body of <script> tags. r=smaug, r=josh, sr=roc 2009-03-17 19:04:01 -07:00
Olli Pettay
e511e04fa7 Bug 484658 - element.focus() handing when called during event suppression, r+sr=jst 2009-03-25 16:11:11 +02:00
Josh Aas
a017628a07 Stop using FlatCarbon headers on Mac OS X. b=482277 r=bsmedberg 2009-03-19 10:41:13 -07:00
mozbugz@karlt.net
4cfb92a744 Bug 481768 - mouse wheel scrolls too far when viewport is smallish, p=karlt+smaug, r=karlt+smaug, sr+roc 2009-03-09 13:10:12 +02:00
Olli Pettay
ef1e0eba37 backout Bug 481768 2009-03-09 00:28:45 +02:00
Olli Pettay
2dafc7fbab Bug 481768 - mouse wheel scrolls too far when viewport is smallish, p=karlt+me, r=karlt, sr=roc 2009-03-08 22:58:47 +02:00
Markus Stange
ac0fae4854 Bug 481359 - Mouse shouldn't show spinner while pages are transferring, ui-r=beltzner r+sr=bzbarsky 2009-03-05 16:07:55 +01:00
Olli Pettay
8e3d66727a Bug 480767 - Closing 'Bookmark All Tabs' screws up focus, r+sr=jst 2009-03-03 22:20:11 +02:00
Olli Pettay
2219417624 Bug 333198 - Suppress Input events for web content during synchronous XMLHttpRequest loads, r=bz, sr=jst 2009-03-03 22:11:14 +02:00
Olli Pettay
cb57be346c backout 333198 2009-03-02 22:21:46 +02:00
Ginn Chen
3694c15b1d Bug 333198 fix Solaris bustage 2009-02-27 14:47:27 +08:00
Olli Pettay
e6f01244a1 Bug 333198 - 'Suppress Input events for web content during synchronous XMLHttpRequest loads'. r=bz, sr=jst, a=blocking1.9.1+ 2009-02-26 14:00:30 -08:00
Jeremy D. Lea
b9a1696e34 Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc
--HG--
extra : rebase_source : 4a35ccdcafbe8a0a9dded9f292a139b4679709e3
2009-02-18 16:11:49 -08:00
Masayuki Nakano
bcf39be0ea Bug 478536 Crash by removing a scroll target in MozMouseScrollFailed event handler r+sr=roc 2009-02-18 00:55:53 +09:00
Neil Deakin
90c37e3e72 Bug 399427, don't update caret position when a xul element is focused, r=neil, sr=roc 2009-02-17 10:51:11 -05:00
Serge Gautherie
5ec9f53e89 Backed out changeset: 719dca3419b5 2009-02-15 18:41:16 +01:00
Jeremy Lea
b82cdbd258 Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc 2009-02-15 17:41:06 +01:00
Masayuki Nakano
68f9a6a266 Bug 442774 Wheel/touchpad scrolling gets stuck in frame, stop scrolling the web page as a whole r=Olli.pettay, sr=roc 2009-02-12 19:44:38 +09:00
Masayuki Nakano
789465492f backing-out the patch for bug 442774 2009-02-12 18:54:02 +09:00
Masayuki Nakano
4d6c3072e5 Bug 442774 Wheel/touchpad scrolling gets stuck in frame, stop scrolling the web page as a whole r=Olli.pettay, sr=roc 2009-02-12 16:02:49 +09:00
Jim Chen
6513b5e77c Bug 88831 Support new IME API "Text Services Framework" from Office XP and Windows XP (relanding)
--HG--
rename : content/events/src/nsQueryContentEventHandler.cpp => content/events/src/nsContentEventHandler.cpp
rename : content/events/src/nsQueryContentEventHandler.h => content/events/src/nsContentEventHandler.h
2009-02-11 05:56:51 +09:00
Masayuki Nakano
def135f71a Backing out the patch of bug 442774. This might cause a timeout failure on test_keycodes.xul 2009-02-11 03:19:15 +09:00
Masayuki Nakano
4755de05c7 Backing out the TSF patch of bug 88831. This might cause a timeout failure on test_keycodes.xul
--HG--
rename : content/events/src/nsContentEventHandler.cpp => content/events/src/nsQueryContentEventHandler.cpp
rename : content/events/src/nsContentEventHandler.h => content/events/src/nsQueryContentEventHandler.h
2009-02-11 03:02:05 +09:00
Masayuki Nakano
4fa4a8c50d Bug 442774 Wheel/touchpad scrolling gets stuck in frame, stop scrolling the web page as a whole r=Olli.Pettay, sr=roc 2009-02-10 20:17:37 +09:00
Jim Chen
41a1a807d6 Bug 88831 Support new IME API "Text Services Framework" from Office XP and Windows XP r=masayuki+peterv, sr=roc
--HG--
rename : content/events/src/nsQueryContentEventHandler.cpp => content/events/src/nsContentEventHandler.cpp
rename : content/events/src/nsQueryContentEventHandler.h => content/events/src/nsContentEventHandler.h
2009-02-10 20:15:36 +09:00
L. David Baron
ef5fe05834 Revert changeset fc8d54ab29a6 (Bug 88831, Support new IME API "Text Services Framework" from Office XP and Windows XP) due to failure (every time) of the new unit test it added (Test WinTSF) on the Windows tinderbox.
--HG--
rename : content/events/src/nsContentEventHandler.cpp => content/events/src/nsQueryContentEventHandler.cpp
rename : content/events/src/nsContentEventHandler.h => content/events/src/nsQueryContentEventHandler.h
2009-02-07 09:13:30 -08:00
Jim Chen
e53087b660 Bug 88831 Support new IME API "Text Services Framework" from Office XP and Windows XP r=masayuki+peterv, sr=roc
--HG--
rename : content/events/src/nsQueryContentEventHandler.cpp => content/events/src/nsContentEventHandler.cpp
rename : content/events/src/nsQueryContentEventHandler.h => content/events/src/nsContentEventHandler.h
2009-02-07 18:52:59 +09: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
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
Olli Pettay
7c4810ebbf Bug 419059 - contentAccess accesskeys for elements hidden with CSS don't work, r=neil, sr=roc, a=jst 2008-12-30 16:09:14 +02:00
Martijn Wargers
90151ed8c8 Bug 450876 - [r=Smaug sr=roc] 2008-12-14 22:26:37 -08:00
Markus Stange
76daa5a7da Bug 463042 - Smooth scrolling isn't working with the scrollbar or the keyboard arrows, r+sr=roc 2008-12-02 14:18:08 +01:00
Olli Pettay
f6fcfe8f4b Bug 457672 - window blur event is not fired when opening a new tab, r+sr=jst 2008-12-03 13:18:23 +02:00
Olli Pettay
c3018f74aa Bug 466433 - Crash [@ CallQueryInterface<nsIFrame,nsIScrollableViewProvider>] with MozMousePixelScroll event and removing window, r+sr=roc 2008-12-03 12:33:31 +02:00
Olli Pettay
682cb8f56a Bug 463958 - Remove nsEventStateManager::ForceViewUpdate, r+sr=roc 2008-12-03 11:55:44 +02:00
L. David Baron
f0a1beced5 Handle some additional codepaths for position: fixed elements inside elements with -moz-transform. (Bug 455171) r+sr=bzbarsky a=blocking1.9.1+ 2008-11-25 15:22:39 -08:00
L. David Baron
2a61487dd7 Back out 342b86dd79f48f11583e7b6526a5b78457d29a1c due to mac startup failures. 2008-11-25 14:38:17 -08:00
L. David Baron
dc119e5622 Handle some additional codepaths for position: fixed elements inside elements with -moz-transform. (Bug 455171) r+sr=bzbarsky a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
Mats Palmgren
1064a3f990 Mute a warning when typing Alt+ArrowKey. Code cleanup. b=460680 r+sr=bzbarsky 2008-11-02 16:00:05 +01:00
Markus Stange
69ed7048d1 Bug 457864 - Make wheel scrolling asynchronous, r+sr=roc (relanding) 2008-11-01 15:07:34 +01:00
Benjamin Smedberg
4eb5e5d5a8 Bug 461212 - deCOM frame traversal (relanding) r=mats.palmgren sr=roc 2008-10-30 10:15:22 -07:00
Benjamin Smedberg
dfbac6a0c3 Merge backout and typo fix of bug 461212 2008-10-28 02:50:20 -04:00
Benjamin Smedberg
3a3f316c84 Backed out changeset affcc1c08bc0 (deCOM frame enumerator) due to regression from it or bug 461410. 2008-10-28 02:47:40 -04:00
Benjamin Smedberg
d89e3c2841 Bug 461212 - deCOM frame enumerator, r=mats.palmgren sr=roc 2008-10-28 00:47:19 -04:00
Benjamin Smedberg
09975e25e4 Bug 461359 - Make nsTreeBodyFrame not implement nsITreeBoxObject... nsTreeBoxObject can just call the methods on nsTreeBodyFrame directly, and we avoid nsISupports oddities for bug 396185 r=Enn sr=roc 2008-10-28 00:47:19 -04:00
Siraj Razick
8fac55eee5 Bug 424847. Clamp mousewheel text zoom to min/max percentages at zoom time. r+sr=bzbarsky. 2008-10-22 10:15:14 -04:00
Taras Glek
f217b27ac5 Bug 454469: prbool issues in content/ r+sr=sicking 2008-10-14 12:00:08 -07:00
Olli Pettay
256070b717 Bug 458202 - Speed up event handling, r+sr=jst 2008-10-08 14:35:29 +03:00
Boris Zbarsky
d674c8ca02 Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst 2008-09-28 15:14:28 -04:00
Boris Zbarsky
012ae72fd1 Backing out changesets 2ea77fa990af, 7d2d8869e73c, 93441e4f521e, 43d2ee100f3b, a2d84821ea71 to see whether they're causing the Windows Txul or Mac Tp regressions 2008-09-29 08:51:29 -04:00
Boris Zbarsky
10026a0921 Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst 2008-09-28 15:14:28 -04: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
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
Neil Deakin
e34ef1e4ae Bug 455215, make editable fields draggable, r=smaug,sr=roc 2008-09-25 10:45:03 -04:00
Neil Deakin
eef5c2e01b Bug 454844, -moz-drag-over state is reversed, r+sr=roc 2008-09-25 10:44:53 -04:00
Markus Stange
d1428fa84e Bug 350471 - Reenable pixel scrolling (two-finger touchpad), r=smaug r=smichaud sr=roc 2008-09-17 13:27:19 +02:00
Neil Deakin
39ab9e9583 Bug 452787, change to ignore selection when inside a draggable html element, r=smaug,sr=roc 2008-09-08 12:09:35 -04:00
Neil Deakin
b5875fe04a Bug 452083, drag and drop not working on Windows if effectAllowed isn't set, don't reuse the event for drops on Linux, causes the cancel flag to still be set from the previous event, r=smaug,sr=roc 2008-09-01 15:51:12 -04:00
Neil Deakin
7ad96d6b3e Bug 356295. Implement HTML5 drag-drop. r=smaug,neil,sr=roc 2008-08-27 08:07:27 -04:00
Boris Zbarsky
fc1785cbc1 Backed out changeset 6958399a2eb1 o try to fix failed mochitests on Windows and Linux 2008-08-25 11:08:28 -04:00
Neil Deakin
7c92721496 Bug 356295. Implement HTML5 drag-drop API. r=smaug,sr=roc 2008-08-25 21:56:29 +12:00
Dave Camp
66ad0d3422 Backed out changeset 30d900751ca9 to fix unit test orange (Bug 356295) 2008-08-19 17:55:30 -07:00
Neil Deakin
f58dac1bbf Bug 356295. Implement HTML5 drag-drop. r=smaug,sr=roc 2008-08-20 10:31:45 +12:00
Ere Maijala
7b1baebe99 Patch for bug 112294: calling an alert box from window.onblur triggers the event multiple times
r=smaug
sr=roc
2008-08-01 10:32:32 -07:00
John Daniels
ef0fee1d70 Bug 419532 – deCOMtaminate nsICaret. r+sr=roc 2008-07-16 12:52:01 +02:00
Jim Chen
e043b3bba2 Bug 444772. Merge nsIKBStateControl into nsIWidget. r+sr=roc 2008-07-14 14:56:18 +12:00
Gavin Sharp
cbb75961d6 Bug 443781: TraverseAccessKeyContent is unused, r+sr=jst 2008-07-08 11:30:51 -04:00
Benjamin Smedberg
ec69c9db81 Bug 442735 - Annotate classes in dom/content which only appear on the stack, r+sr=jst 2008-06-30 21:03:50 -04:00
gavin@gavinsharp.com
2c2be0d4bc Bug 409604: Accesskeys on HTML label, area and legend elements don't work, patch by Ehsan Akhgari <ehsan.akhgari@gmail.com>, r+sr=roc, a=schrep 2008-05-08 13:00:24 -07:00
gavin@gavinsharp.com
16dc70b7b4 Bug 428680: Sometimes, the document node is the event target for mousemove events now, patch by Matthew Gregan <kinetik@flim.org>, r=smaug, sr=roc, a=damon 2008-04-23 15:51:27 -07:00
gavin@gavinsharp.com
f7724abef2 Back out bug 409604 due to mochitest failures 2008-04-22 11:32:00 -07:00
gavin@gavinsharp.com
efc492e216 Bug 409604: accesskey on HTML label, area and legend elements don't work, patch by Ehsan Akhgari <ehsan.akhgari@gmail.com>, r+sr=roc, a=beltzner 2008-04-22 09:52:16 -07:00
peterv@propagandism.org
6484cf40bb Fix for bug 406596 (Link/anchor elements are focused within an contentEditable element). r/sr=jst, a=beltzner. 2008-04-15 11:40:38 -07:00
masayuki@d-toybox.com
5252d63ce1 Bug 359638 accesskeys are incorrectly shifted again (i.e. accesskey=. is broken) and also for b=398264, b=401086, b=414130, b=427797, b=427932, b=427995 r=karlt+ere+josh, sr=roc, a1.9=mconnor 2008-04-14 21:16:24 -07:00
enndeakin@sympatico.ca
729513dc36 Bug 421817, remove dragstart, drag and dragleave events for 1.9, they'll be back in a later release, r=jonas, sr=jst, a=beltzner 2008-03-21 15:47:13 -07:00
Olli.Pettay@helsinki.fi
6d32891dbb Bug 421209, r=cpearce, sr=jst, a=beltzner 2008-03-20 13:24:36 -07:00
mats.palmgren@bredband.net
995e391a0c End the mouse wheel scrolling transaction when forcing "passToParent" for a combobox (fixes an assertion). b=398334 r=masayuki sr=roc a1.9=beltzner 2008-03-15 01:52:18 -07:00