Commit Graph

240 Commits

Author SHA1 Message Date
David Zbarsky
520ac2cad8 Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05:00
Phil Ringnalda
8ff441aa5a Back out 5167196c4b98 (bug 1125040) for not compiling on Linux
CLOSED TREE
2015-02-01 15:27:14 -08:00
David Zbarsky
baa5df4d99 Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-01 17:27:41 -05:00
David Zbarsky
1e37e03e20 Bug 1125040: Use LayoutDeviceIntPoint for nsLayoutUtils::GetEventCoordinatesRelativeTo and Touch::mRefPoint r=botond 2015-02-01 17:27:31 -05:00
Masayuki Nakano
7df093fe7d Bug 936313 part.1 Remove DOM_KEY_LOCATION_MOBILE and DOM_KEY_LOCATION_JOYSTICK r=smaug+mwu+cpeterson, sr=smaug 2015-01-28 22:36:53 +09:00
dominique vincent
40e211f525 Bug 663803 - Zoomed view implementation using render document r=mcomella,snorp 2015-01-21 05:59:23 +01:00
Jim Chen
60b2a7d4b1 Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
Jim Chen
dc80b38d6c Bug 1116641 - Change JNI macro usages to use AutoJNIClass; r=snorp 2015-01-09 19:33:56 -05:00
James Willcox
4da97db54f Bug 1086693 - Part 6: Use generated bindings for AndroidMediaCodec and AndroidSurfaceTexture r=blassey,gcp 2014-11-13 12:47:24 -06:00
Kartikaya Gupta
0b12b07fa8 Bug 1083395 - Replace the touch block balance with an input block identifier. r=botond 2014-10-24 13:29:30 -04:00
Andrew Martin McDonough
73832d9b7d Bug 1014614 - Use Android MediaCodec for decoding H264 and AAC in MP4 r=cpearce,edwin 2014-10-21 08:53:01 -05:00
Wes Kocher
fc6c88a0cd Backed out 9 changesets (bug 1014614) for Android mochitest bustage on a CLOSED TREE
Backed out changeset 40f99ba7f616 (bug 1014614)
Backed out changeset 8fbc3c85adfc (bug 1014614)
Backed out changeset 40dbd7c6ce65 (bug 1014614)
Backed out changeset f2b504bdd7c5 (bug 1014614)
Backed out changeset c878e29fbef9 (bug 1014614)
Backed out changeset 511dcc817f5d (bug 1014614)
Backed out changeset 2b72e71f1fdf (bug 1014614)
Backed out changeset 8b530a9a2f99 (bug 1014614)
Backed out changeset 7fa1b78de684 (bug 1014614)
2014-10-17 16:34:01 -07:00
Andrew Martin McDonough
8ba368be86 Bug 1014614 - Use Android MediaCodec for decoding H264 and AAC in MP4 r=cpearce,edwin,snorp 2014-10-17 10:35:12 -05:00
Jim Chen
bbd6763453 Bug 888482 - Make new event to set layer client in Gecko; r=snorp 2014-09-30 18:20:58 -04:00
Eitan Isaacson
67bd71f1b3 Bug 969512 - Don't use NS_MOUSEENTER/LEAVE in widget level code. r=kats r=yzen
Make accessibility explore by touch hover events touch events.
2014-09-23 12:09:22 -07:00
Jim Chen
c71471a6e6 Bug 1058136 - Handle compose event to optimize composition usage; r=cpeterson 2014-09-04 14:38:18 -04:00
Mark Capella
dfb228ca0c Bug 1021804 - Long press on news story links invoke context menu, r=kats, wesj 2014-08-29 17:32:40 -04:00
Kartikaya Gupta
33d3a7d2ff Bug 1049136 - Hook up touch event handling for apz-fennec. r=wesj,snorp 2014-08-08 18:15:37 -04:00
Brian Birtles
af7a9b717f Bug 77992 part 1.0 - Add timeStamp to WidgetEvent; r=smaug
This patch adds a timeStamp member to WidgetEvent alongside the existing 'time'
member. In the future we would like to remove 'time' and just keep timeStamp but
that depends on it being web-compatible. For now we introduce both members
side-by-side. Later we will add a pref to determine which one to return. If no
compatibility issues arise we will remove 'time' altogether.
2014-06-06 14:29:49 +09:00
Brad Lassey
3d7bc1f8f1 bug 1019836 - Support narrow char strings in android bridge r=snorp 2014-06-04 15:04:12 -04:00
Kartikaya Gupta
c756478ac7 Bug 1018980 - Kill some dead code in Fennec from the pre-OMTC days. r=snorp 2014-06-02 11:13:09 -04:00
Masayuki Nakano
d0d0af96fc Bug 865649 part.5 Set KeyboardEvent.code value on Android and Gonk r=smaug+nchen+mwu 2014-05-25 11:09:00 +09:00
Ted Mielczarek
8115881654 bug 852935 - Add Android gamepad backend. r=snorp, rs=smaug 2014-04-22 10:53:48 -04:00
Birunthan Mohanathas
eeb9aaaa94 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
John Shih
fb0dc96743 Bug 960426 - Part 3: Related Change in Fennec. r=blassey 2014-03-05 17:42:42 +08:00
Jim Chen
d1f525e06a Bug 959237 - Define GetVM, GetJNIEnv, and GetJNIForThread as infallible; r=blassey
Currently when either of these methods fail, we log something and rely on the calling code to null check. Since these failures are serious and likely unrecoverable, it's better to define these methods as infallible and just crash if they do fail.
2014-01-17 23:32:24 -06:00
Ehsan Akhgari
68bfe70f09 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Masayuki Nakano
e4d3600190 Bug 951021 Android widget should set modifier state at dispatching events derived from WidgetInputEvent r=nchen 2013-12-18 11:25:10 +09:00
Ryan VanderMeulen
f8a5a97d08 Merge m-c to inbound. 2013-12-10 15:48:16 -05:00
Richard Newman
4a4b6c27b6 Bug 932092 - Part 2: support natively sending UI telemetry events from Java. r=mfinkle 2013-12-10 10:41:34 -08:00
Masayuki Nakano
6e55a8312c Bug 912858 part.5 Implement KeyboardEvent.key for printable keys on Android r=jchen+smaug 2013-12-11 01:14:54 +09:00
Matt Brubeck
90a1b4d7ec Bug 942689 - Include modifer info in tap gesture events [r=roc,jimm,botond] 2013-11-25 20:30:26 -08:00
Chris Kitching
69fdb42135 Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-11-12 10:41:01 -08:00
Ryan VanderMeulen
4501219603 Backed out 7 changesets (bug 913985) for intermittent Android crashes.
Backed out changeset 53513a959cf0 (bug 913985)
Backed out changeset d23d1e678417 (bug 913985)
Backed out changeset a9c9187b4f4a (bug 913985)
Backed out changeset c6b02e4a3e35 (bug 913985)
Backed out changeset 895dae322e3c (bug 913985)
Backed out changeset 3d97e6a53313 (bug 913985)
Backed out changeset 892bb017f8ba (bug 913985)
2013-11-19 10:56:09 -05:00
Chris Kitching
e115439e46 Bug 913985 - Part 5: refactor the Bridge to use the generated code. r=kats 2013-11-12 10:41:01 -08:00
Kartikaya Gupta
ec373d855a Bug 924791 - Ensure hover event refpoints are converted from CSSPixels to LayoutDevicePixels. r=wesj 2013-10-15 17:11:39 -04:00
Birunthan Mohanathas
c4438f4272 Bug 784739 - Switch from NULL to nullptr in widget/android/; r=ehsan 2013-10-10 16:42:52 -04:00
Ehsan Akhgari
659d9b1745 Bug 924180 - Do not assume that PRUnichar and jchar are the same type; r=blassey 2013-10-08 14:00:40 -04:00
Ryan VanderMeulen
65092b3af5 Backed out 6 changesets (bug 913985) for suspicion of causing intermittent Android crashes on a CLOSED TREE.
Backed out changeset de21920d2b8e (bug 913985)
Backed out changeset f0f5497d65bb (bug 913985)
Backed out changeset 1e16ca4ad801 (bug 913985)
Backed out changeset 9c069a0820ea (bug 913985)
Backed out changeset 274df3abc991 (bug 913985)
Backed out changeset 05fe8b17516a (bug 913985)
2013-09-27 17:02:09 -04:00
Chris Kitching
7f31c5a3c8 Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-09-27 10:10:37 -04:00
Kartikaya Gupta
83239003af Back out d9bdfdfda06e to dd17e0758a00 (bug 913985) due to incorrect author on some of the patches. r=backout 2013-09-27 10:25:23 -04:00
Chris Kitching
96965f19d5 Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-09-27 10:10:37 -04:00
Masayuki Nakano
fb9f3a20a8 Bug 920377 part.13 Get rid of nsTouchEvent r=roc 2013-09-27 15:20:57 +09:00
Masayuki Nakano
c23797df63 Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Masayuki Nakano
0587df8d9c Bug 912956 part.13 mozilla/TouchEvents.h should be included directly r=roc 2013-09-25 20:21:16 +09:00
Mina Almasry
44fe7870d8 Bug 912166 - Make nsIWidget::GetDefaultScale return a typed scale value. r=roc 2013-09-17 20:45:19 -04:00
Nathan Froyd
d3295af55b Bug 906088 - part 5 - send preference requests to JS through JNI and XPConnect rather than JSON; r=blassey,mfinkle
Small fix to notifyPrefObservers to call getPreferences with the new argument style.
Carrying over r+.
2013-09-04 09:58:23 -04:00
Nathan Froyd
60c54e4e7f Bug 906088 - part 3 - add Preferences events to AndroidGeckoEvent; r=blassey
This is just the C++ side of things; it's simpler to have this code split out as
a separate patch to review.
2013-09-04 09:58:08 -04:00
Nathan Froyd
d6fe2ec206 Bug 906088 - part 2 - factor out reading an nsString from a Java string in AndroidJavaWrappers.cpp; r=blassey
We duplicate code in several places, and we're going to need this same code for reading
a String[].
2013-09-04 09:58:00 -04:00
Chris Kitching
197119cc0f Bug 794981 - Part 3: Make use of the existing macros to simplify JNI code in all applicable places, and relocate them. r=kats 2013-09-09 08:57:36 -04:00