Commit Graph

1273 Commits

Author SHA1 Message Date
Masayuki Nakano
d3e3af5edb Bug 719320 part.8-11 Cancel applying delta multipliers from overflowDelta r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
53c900db7e Bug 719320 part.8-9 Handle WheelEvent.deltaZ in ESM r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
737ff36abf Bug 719320 part.8-8 widget should be able to speicify the scroll type r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
3cdce54608 Bug 719320 part.8-7 Implement the other default actions of WheelEvent r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
aa2205d526 Bug 719320 part.8-6 Init lineOrPageDeltaX and lineOrPageDeltaY from accumulated delta values if the wheel event is caused by pixel scroll only device or the delta values have been modified with prefs r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
5ef8537b0b Bug 719320 part.8-5 Dispatch legacy mouse scroll events before dispatching wheel event into system group if the wheel event isn't consumed r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
cee821b532 Bug 719320 part.8-4 Implement D3E WheelEvent handler for scroll r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
e828866df7 Bug 719320 part.8-3 Redesign nsMouseWheelTransaction for D3E WheelEvent r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
1bc02406f9 Bug 719320 part.8-2 GetScrollAmount() should return both width and height for oblique wheel event r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
92d1e07e69 Bug 719320 part.8-1 Drop legacy mouse scroll events from IPC r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
a2e667b6b9 Bug 719320 part.7 Drop NS_QUERY_SCROLL_TARGET_INFO handler from ESM r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
a418ba8a35 Bug 719320 part.6 Separate pixel delta value accumulation code r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
1818fe2fb2 Bug 719320 part.5 Redesign mouse wheel action prefs r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
d26b327f14 Bug 719320 part.4 Remove mousewheel.*.*numlines and add mousewheel.*.delta_multiplier_* r=smaug 2012-08-12 10:42:34 +09:00
Masayuki Nakano
785b73e21d Bug 719320 part.3 Use ComputeScrollTarget() for deciding detail value of legacy mouse scroll events r=smaug 2012-08-12 10:42:34 +09:00
Masayuki Nakano
06c7f1baf6 Bug 719320 part.2 Separate code for deciding scroll target from nsEventStateManager::DoScrollText() r=smaug 2012-08-12 10:42:34 +09:00
Masayuki Nakano
c748a0f833 Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst 2012-08-12 10:42:34 +09:00
David Zbarsky
b462ec011a Bug 773842 - Fix build warnings under content/ r=mounir 2012-08-10 14:01:16 -04:00
Aryeh Gregor
0923bf00ef Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Simon Montagu
4d946e9779 Bug 562169. Add support for :dir(ltr/rtl) CSS selector, layout/style part, r=bz 2012-08-09 20:37:58 -07:00
Ms2ger
17e25febb8 Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg 2012-08-09 09:09:42 +02:00
Ian Melven
46a3add818 Bug 341604 - Implement HTML5 sandbox attribute for IFRAMEs r=smaug r=jst 2012-08-20 11:34:32 -07:00
Masayuki Nakano
750c38a911 Bug 565245 Use waitForFocus() for getting the timing to start tests r=smaug 2012-08-20 23:10:34 +09:00
Matt Brubeck
3697f5b568 Back out bug 562169 because of Dromaeo DOM regressions
Backed out changeset 841cd6e1e585 (bug 562169)
Backed out changeset e226e413dd27 (bug 562169)
Backed out changeset 9c24b7287c5b (bug 562169)
2012-08-08 08:14:48 -07:00
Phil Ringnalda
cf09173698 Backout 5439489dc320, 983f76488e59, 7a92558a8dec (Bug 714358) for debug build assertions and leaks 2012-08-07 22:18:27 -07:00
Simon Montagu
5ccf0feb0f Add support for :dir(ltr/rtl) CSS selector, layout/style part. Bug 562159, r=bz 2012-08-07 21:44:24 -07:00
Steven Lee
230139f702 Bug 714358: Time manager implementation. r=jlebar 2012-08-07 19:11:00 -04:00
Aryeh Gregor
f41637535d Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz 2012-08-06 15:02:08 +03:00
David Zbarsky
72cd4190b0 [Bug 780439] Kill off the remains of nsIBox r=roc 2012-08-05 23:00:57 -04:00
David Zbarsky
d50e4a7565 [Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc 2012-08-05 23:00:56 -04:00
David Zbarsky
0039e134c7 Bug 779684: Create a stack-based nsFrameIterator class out of nsIFrameTraversal and nsIFrameEnumerator r=roc
--HG--
rename : layout/base/nsFrameTraversal.cpp => layout/base/nsFrameIterator.cpp
rename : layout/base/nsFrameTraversal.h => layout/base/nsFrameIterator.h
2012-08-05 23:00:55 -04:00
Ms2ger
5671da5b26 Bug 780165 - Part c: Use nsPIDOMWindow::GetDoc() in drag&drop; r=smaug 2012-08-04 09:44:01 +02:00
Ms2ger
c7a5b33778 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Ms2ger
bf92bcb5fc Bug 768310 - Don't throw from Event.initEvent if it's called during event dispatch; r=smaug 2012-08-04 09:43:59 +02:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley
bba173e66e Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE 2012-08-04 18:05:15 +01:00
Ms2ger
23cddca634 Bug 780165 - Part c: Use nsPIDOMWindow::GetDoc() in drag&drop; r=smaug 2012-08-04 09:44:01 +02:00
Ms2ger
babf67cce2 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Ms2ger
3f18e578e9 Bug 768310 - Don't throw from Event.initEvent if it's called during event dispatch; r=smaug 2012-08-04 09:43:59 +02:00
Wes Johnston
2088574285 Bug 777706 - Backout new dom bindings for touchlists. r=smaug 2012-08-02 10:41:42 -07:00
Olli Pettay
4c2811f3c2 Bug 777278 - Implement nsIDOMStorageEvent using event implementation codegen, r=mayhemer 2012-08-01 19:17:19 +03:00
Olli Pettay
3083c0bdec Bug 777285 - Autogenerate SettingsEvent implementation, r=anygregor
--HG--
extra : rebase_source : 038f38a4f9efae15a3fbf4236c4456bf9cfa4577
2012-08-01 12:48:35 +03:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ed Morley
581619fa7d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-26 13:04:00 +01:00
Olli Pettay
2a315d5e16 Bug 776986 - Implement MozApplicationEvent using codegenerator, r=fabrice 2012-07-26 13:23:22 +03:00
Olli Pettay
089bd9520e Bug 776971 - codegen DeviceLightEvent impl, r=dougt 2012-07-26 00:26:51 +03:00
Olli Pettay
201bb1a6a5 Bug 776966 - Generate DeviceOrientationEvent implementation, r=dougt 2012-07-26 00:17:14 +03:00
Olli Pettay
8d25c299d6 Bug 776929 - Let event implementation codegen to generate MozContactChangeEvent, r=gwagner 2012-07-24 22:28:26 +03:00
Benjamin Peterson
5775e05fb8 Bug 776317 - Separate the body of a constructed function from its braces with newlines. r=luke 2012-07-23 17:03:41 -07:00
Joshua Cranmer
774444109e Bug 773637 - Kill NS_SCRIPTABLE attributes, Part 2: Remove NS_SCRIPTABLE. r=ehsan
--HG--
extra : rebase_source : 83020e0a1961ed5b33d5e0599419c6b7b82caa87
2012-07-06 15:31:49 -05:00
Joshua Cranmer
4b8f318e78 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Aryeh Gregor
e57dd159b2 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
Mark Capella
fd9b625002 Bug 775041 - Make nsIWidget::IsEnabled return bool, r=roc, f=ms2ger 2012-07-23 01:19:08 -04:00
Ryan VanderMeulen
2661c4efbe Merge m-c to inbound. 2012-07-20 17:37:53 -04:00
Olli Pettay
d4c22e1e8d Bug 765766 - Convert more event interface implementations to be autogenerated, r=jst 2012-07-20 19:58:28 +03:00
Olli Pettay
e9cea4305c Bug 765163 - Implement code generator for simple DOM events, r=jst,khuey 2012-07-20 19:42:08 +03:00
Benjamin Peterson
d1064385b3 Bug 761723 - Save script sources to implement Function.prototype.toString. r=jorendorff,njn,jimb,jst,Ms2ger
--HG--
extra : rebase_source : de1b55647780a30f98fe84d29ee3cb4a437a3ece
2012-07-20 20:17:38 +02:00
Wes Johnston
0ab42df208 Bug 775162 - Turn on touch events tests for all platforms. r=smaug 2012-07-19 16:37:19 -07:00
Felipe Gomes
c521e7d51e Bug 775403: When touch events are being consumed by a remote frame, continue to dispatch synthesized mouse events *only* in the parent process, for the focus manager. r=cjones 2012-07-19 12:40:24 -07:00
Ed Morley
c7736aea1d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-19 13:25:37 +01:00
Masayuki Nakano
7a210f7746 Bug 751749 part.2 Support Win key for a modifier of shortcut key and access key r=smaug, enn 2012-07-19 10:28:16 +09:00
Olli Pettay
bca8bf5697 Bug 773945, remove nsXULElement::mPrototype, part 1, r=bz 2012-07-14 14:28:35 +03:00
Ed Morley
ab4a6323cd Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-18 13:32:24 +01:00
Ms2ger
53b7edc708 Bug 771933 - Make nsDOMEvent::SetEventType return void; r=smaug 2012-07-18 12:36:08 +02:00
Chris Jones
3608c39652 Bug 774989: Transform touch-event coordinates for remote content. r=smaug 2012-07-18 12:43:06 -07:00
Chris Jones
5a130fe7a4 Bug 774139: Forward touch events across processes. r=felipe,smaug 2012-07-15 19:58:43 -07:00
Margaret Leibovic
4b0d9065c7 Bug 725286 - Plugin placeholder text for the unsupported platforms is misleading. r=blassey,dolske 2012-07-25 21:44:11 -07:00
Chris Jones
cdf626c2e3 Back out bug 774139. r=bustage 2012-07-16 15:19:00 -07:00
Chris Jones
9104e5edc3 Bug 774139: Forward touch events across processes. r=felipe,smaug 2012-07-16 14:46:29 -07:00
Olli Pettay
7db906c14c Bug 773803 - Remove nsIScriptObjectOwner, r=bz
--HG--
rename : dom/base/nsIScriptObjectOwner.h => dom/base/nsIScriptEventHandlerOwner.h
2012-07-14 01:23:59 +03:00
Wes Johnston
80b58a4efd Bug 732052 - Internal touch event listeners should not enable slow path. r=smaug 2012-07-09 09:55:37 -07:00
David Keeler
12645e6e65 bug 760625 - use the blocklist to inform click-to-play plugins. r=joshmoz,bmcbride 2012-07-11 08:56:34 -07:00
Wes Johnston
1c845a94d4 Backout a7d1108f70fb, e32603f16465, 142b9df4d021, 2012-07-10 16:20:09 -07:00
Nathan Froyd
a7eb97f896 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Wes Johnston
1ac7209852 Bug 732052 - Internal touch event listeners should not enable slow path. r=smaug 2012-07-09 09:55:37 -07:00
Masayuki Nakano
b5584f2955 Bug 769190 part.2 Rename nsInputEvent::IsWin() and widget::MODIFIER_(SCROLL|WIN) to nsInputEvent::IsOS() and widget::MODIFIER_(SCROLLLOCK|OS) r=smaug 2012-07-06 09:42:05 +09:00
Masayuki Nakano
e5e6f98f79 Bug 769190 part.1 Rename Scroll and Win to ScrollLock and OS for the argument of getModifierState() r=smaug, sr=jst 2012-07-06 09:42:05 +09:00
Mounir Lamouri
c70ab8fd5b Bug 635498 - Make <input type='number'> behaves like <input type='text'>. r=sicking
--HG--
extra : rebase_source : 0754f845fd6223cd48ca8908ebf642636f0fd9ed
2012-06-10 22:23:17 +02:00
Ehsan Akhgari
5e6974df88 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
Ehsan Akhgari
df2fb388c2 Backout changeset e04abde1b323 (bug 539356) because of performance and correctness regressions 2012-07-03 20:21:03 -04:00
David Zbarsky
ae718ee1c0 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Masatoshi Kimura
6909634954 Bug 769119 - Treat null or undefined as an empty dictionary; r=sicking 2012-06-30 16:03:27 +02:00
Matt Woodrow
c96dc0e2ed Bug 539356 - Part 10 - Test changes required for DLBI. r=roc 2012-06-30 15:06:11 +12:00
Matt Woodrow
cbd39105d9 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Ehsan Akhgari
4653ca9540 Bug 769653 - Initialize the transferable created in nsDOMDataTransfer::FillInExternalDragData; r=bzbarsky 2012-06-29 11:41:38 -04:00
Bobby Holley
930cee7527 Bug 754202 - Only push the context of the event target if the listener is scripted. r=smaug 2012-06-28 23:47:56 +02:00
Ehsan Akhgari
45fe6d3ae2 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Olli Pettay
02c84233ab Bug 763899 - mouseenter events should fire the opposite order of mouseleave, r=masayuki
--HG--
extra : rebase_source : 1c306177f0496c84d32bde9015d1d90c22ddfbaa
2012-06-23 15:41:47 +03:00
Chris Jones
d40f38e211 Bug 761927: Fix focus for <iframe mozbrowser remote>. r=jlebar,Enn 2012-06-22 18:27:30 -07:00
Julian Seward
9f7497b311 Bug 767370 - Uninitialised value use in nsIDOMKeyEvent_GetCharCode; r=peterv 2012-06-22 17:53:01 +02:00
Chris Pearce
9507cb7bae Bug 756936 - Minor tidy ups to pointer lock code. r=smaug 2012-06-21 11:38:11 +12:00
Chris Pearce
1c1d4215cc Bug 756936 - Ensure MouseEvent.mozMovement{X,Y} values are correct on secondary monitors. r=smaug 2012-06-21 11:38:03 +12:00
Mike Hommey
90d687d851 Merge last PGO green changeset from mozilla-inbound to mozilla-central 2012-06-20 10:53:31 +02:00
Mike Hommey
c533a83b6c Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo 2012-06-04 08:30:26 +02:00
Ehsan Akhgari
7a041e9a4b Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (content parts); r=bzbarsky
--HG--
extra : rebase_source : e25a064995914ca4f7b1db16b5725eb440d3e531
2012-06-18 22:30:09 -04:00
Gregor Wagner
4d4ccc6fde Bug 764682 - Fix B2G build. r=red 2012-06-16 11:47:04 -07:00
Gregor Wagner
f0aabb81cf Bug 764682 - Implement wifi events in c++. r=smaug 2012-06-16 11:14:12 -07:00
Mike Hommey
311cae060f Backout changeset a81526647059 and 560c492f81ad (bug 616262) because of Windows Moth perma-orange 2012-06-15 15:50:24 +02:00
Ed Morley
6c0104928c Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-15 13:32:55 +01:00
Mike Hommey
88257ed076 Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo 2012-06-04 08:30:26 +02:00