Commit Graph

2408 Commits

Author SHA1 Message Date
Masayuki Nakano
34beebf6df 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
62d29bfb7e Bug 719320 part.8-7 Implement the other default actions of WheelEvent r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
e98c45fc9f 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
24a276180b 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
015a699728 Bug 719320 part.8-4 Implement D3E WheelEvent handler for scroll r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
12fc4b119e Bug 719320 part.8-3 Redesign nsMouseWheelTransaction for D3E WheelEvent r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
9058c2c050 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
77ea1504a6 Bug 719320 part.8-1 Drop legacy mouse scroll events from IPC r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
6a65280323 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
2c7ce218f2 Bug 719320 part.6 Separate pixel delta value accumulation code r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
0920874b2c Bug 719320 part.5 Redesign mouse wheel action prefs r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
08a826f3e2 Bug 719320 part.4 Remove mousewheel.*.*numlines and add mousewheel.*.delta_multiplier_* r=smaug 2012-08-12 10:42:34 +09:00
Masayuki Nakano
a0e8d18871 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
adb8fea7af 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
5c5f0a16d2 Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst 2012-08-12 10:42:34 +09:00
David Zbarsky
05903e83e6 Bug 773842 - Fix build warnings under content/ r=mounir 2012-08-10 14:01:16 -04:00
Aryeh Gregor
4e199a1679 Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Simon Montagu
7b0bd7bf8b Bug 562169. Add support for :dir(ltr/rtl) CSS selector, layout/style part, r=bz 2012-08-09 20:37:58 -07:00
Ms2ger
4c81482ae1 Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg 2012-08-09 09:09:42 +02:00
Ian Melven
4f3defdd1a Bug 341604 - Implement HTML5 sandbox attribute for IFRAMEs r=smaug r=jst 2012-08-20 11:34:32 -07:00
Masayuki Nakano
71369d36d3 Bug 565245 Use waitForFocus() for getting the timing to start tests r=smaug 2012-08-20 23:10:34 +09:00
Matt Brubeck
3cfaa1db23 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
aa790aa109 Backout 5439489dc320, 983f76488e59, 7a92558a8dec (Bug 714358) for debug build assertions and leaks 2012-08-07 22:18:27 -07:00
Simon Montagu
aed3f621eb 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
2a3357c97f Bug 714358: Time manager implementation. r=jlebar 2012-08-07 19:11:00 -04:00
Aryeh Gregor
2fbc523d8e Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz 2012-08-06 15:02:08 +03:00
David Zbarsky
b5d5ebe56a [Bug 780439] Kill off the remains of nsIBox r=roc 2012-08-05 23:00:57 -04:00
David Zbarsky
03039446fa [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
dca3fd6326 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
d8c5f9ebbf Bug 780165 - Part c: Use nsPIDOMWindow::GetDoc() in drag&drop; r=smaug 2012-08-04 09:44:01 +02:00
Ms2ger
c75eefb90d Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Ms2ger
6113a6857c 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
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley
f4181983a1 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
e7fd5a75d7 Bug 780165 - Part c: Use nsPIDOMWindow::GetDoc() in drag&drop; r=smaug 2012-08-04 09:44:01 +02:00
Ms2ger
27245512cd Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Ms2ger
eb8fc3e4fa 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
3dc27a7f5b Bug 777706 - Backout new dom bindings for touchlists. r=smaug 2012-08-02 10:41:42 -07:00
Olli Pettay
99f05d8922 Bug 777278 - Implement nsIDOMStorageEvent using event implementation codegen, r=mayhemer 2012-08-01 19:17:19 +03:00
Olli Pettay
420a8918fe Bug 777285 - Autogenerate SettingsEvent implementation, r=anygregor
--HG--
extra : rebase_source : 038f38a4f9efae15a3fbf4236c4456bf9cfa4577
2012-08-01 12:48:35 +03:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ed Morley
f527443623 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-26 13:04:00 +01:00
Olli Pettay
ca22625ff8 Bug 776986 - Implement MozApplicationEvent using codegenerator, r=fabrice 2012-07-26 13:23:22 +03:00
Olli Pettay
46e6a4eab4 Bug 776971 - codegen DeviceLightEvent impl, r=dougt 2012-07-26 00:26:51 +03:00
Olli Pettay
2c8046a80a Bug 776966 - Generate DeviceOrientationEvent implementation, r=dougt 2012-07-26 00:17:14 +03:00
Olli Pettay
adf35f6898 Bug 776929 - Let event implementation codegen to generate MozContactChangeEvent, r=gwagner 2012-07-24 22:28:26 +03:00
Benjamin Peterson
4cd03908be 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
497e7cd9bb 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
a1186c1020 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
65eef91085 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
Mark Capella
eddd048c93 Bug 775041 - Make nsIWidget::IsEnabled return bool, r=roc, f=ms2ger 2012-07-23 01:19:08 -04:00
Ryan VanderMeulen
be774885eb Merge m-c to inbound. 2012-07-20 17:37:53 -04:00
Olli Pettay
f4dd92a216 Bug 765766 - Convert more event interface implementations to be autogenerated, r=jst 2012-07-20 19:58:28 +03:00
Olli Pettay
aa64d464e5 Bug 765163 - Implement code generator for simple DOM events, r=jst,khuey 2012-07-20 19:42:08 +03:00
Benjamin Peterson
78a5439268 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
c07a5b7de0 Bug 775162 - Turn on touch events tests for all platforms. r=smaug 2012-07-19 16:37:19 -07:00
Felipe Gomes
086d8640f8 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
6e77ed5e6e Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-19 13:25:37 +01:00
Masayuki Nakano
4c95259d7e 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
baa63dcc1e Bug 773945, remove nsXULElement::mPrototype, part 1, r=bz 2012-07-14 14:28:35 +03:00
Ed Morley
fcaa2b9642 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-18 13:32:24 +01:00
Ms2ger
76ce43772a Bug 771933 - Make nsDOMEvent::SetEventType return void; r=smaug 2012-07-18 12:36:08 +02:00
Chris Jones
622384cea0 Bug 774989: Transform touch-event coordinates for remote content. r=smaug 2012-07-18 12:43:06 -07:00
Chris Jones
bf68954472 Bug 774139: Forward touch events across processes. r=felipe,smaug 2012-07-15 19:58:43 -07:00
Margaret Leibovic
cbd6ff9d26 Bug 725286 - Plugin placeholder text for the unsupported platforms is misleading. r=blassey,dolske 2012-07-25 21:44:11 -07:00
Chris Jones
68e1db67d0 Back out bug 774139. r=bustage 2012-07-16 15:19:00 -07:00
Chris Jones
7ad3f2f14b Bug 774139: Forward touch events across processes. r=felipe,smaug 2012-07-16 14:46:29 -07:00
Olli Pettay
ba65734702 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
e33be2bb18 Bug 732052 - Internal touch event listeners should not enable slow path. r=smaug 2012-07-09 09:55:37 -07:00
David Keeler
6f37861531 bug 760625 - use the blocklist to inform click-to-play plugins. r=joshmoz,bmcbride 2012-07-11 08:56:34 -07:00
Wes Johnston
6528e0253a Backout a7d1108f70fb, e32603f16465, 142b9df4d021, 2012-07-10 16:20:09 -07:00
Nathan Froyd
bfff055672 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
033955b0a9 Bug 732052 - Internal touch event listeners should not enable slow path. r=smaug 2012-07-09 09:55:37 -07:00
Masayuki Nakano
ade943befb 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
230e9a8242 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
870e9d2721 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
cf18ee9122 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
Ehsan Akhgari
d49b18b800 Backout changeset e04abde1b323 (bug 539356) because of performance and correctness regressions 2012-07-03 20:21:03 -04:00
David Zbarsky
d2ee12f6f9 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Masatoshi Kimura
6df33172c8 Bug 769119 - Treat null or undefined as an empty dictionary; r=sicking 2012-06-30 16:03:27 +02:00
Matt Woodrow
dbef6fe311 Bug 539356 - Part 10 - Test changes required for DLBI. r=roc 2012-06-30 15:06:11 +12:00
Matt Woodrow
31125260ee Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Ehsan Akhgari
fe6ae21d9b Bug 769653 - Initialize the transferable created in nsDOMDataTransfer::FillInExternalDragData; r=bzbarsky 2012-06-29 11:41:38 -04:00
Bobby Holley
680c2f89d4 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
f4b598bf08 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
801f46d14d 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
4670001039 Bug 761927: Fix focus for <iframe mozbrowser remote>. r=jlebar,Enn 2012-06-22 18:27:30 -07:00
Julian Seward
fb5a3ad0e3 Bug 767370 - Uninitialised value use in nsIDOMKeyEvent_GetCharCode; r=peterv 2012-06-22 17:53:01 +02:00
Chris Pearce
0c3d967bf7 Bug 756936 - Minor tidy ups to pointer lock code. r=smaug 2012-06-21 11:38:11 +12:00
Chris Pearce
5d35987b9d 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
894a244c4f Merge last PGO green changeset from mozilla-inbound to mozilla-central 2012-06-20 10:53:31 +02:00
Mike Hommey
b95d1d1421 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
2050b687cc 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
75f06b250a Bug 764682 - Fix B2G build. r=red 2012-06-16 11:47:04 -07:00
Gregor Wagner
22fa9d9f64 Bug 764682 - Implement wifi events in c++. r=smaug 2012-06-16 11:14:12 -07:00
Mike Hommey
cc362780fd Backout changeset a81526647059 and 560c492f81ad (bug 616262) because of Windows Moth perma-orange 2012-06-15 15:50:24 +02:00
Ed Morley
e76a671d8e Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-15 13:32:55 +01:00
Mike Hommey
bda3a28b5d 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
Ryan VanderMeulen
5f2a19ee6e Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
6d6c4efbab Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00