Граф коммитов

267 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote ab7974e9a5 Bug 1222943 (part 1) - Change Touch::mRadius from nsIntPoint to LayoutDeviceIntPoint. r=kats.
This adds a three missing unit conversions for touch radii.

--HG--
extra : rebase_source : 353494783099ed0520cc69ae691a4cf5360c9b20
2015-11-09 21:37:31 -08:00
Jim Chen f4bb277325 Bug 1211704 - Remove obsolete GeckoEvent definitions; r=esawin
Remove obsolete GeckoEvent definitions from GeckoEvent.java and
AndroidJavaWrappers.cpp/h.
2015-10-22 17:45:47 -04:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Wes Kocher 45375c9d90 Merge m-c to inbound, a=merge 2015-10-08 14:35:43 -07:00
Jim Chen e924946ea2 Bug 1200426 - Convert PROCESS_OBJECT GeckoEvent to native call; r=snorp
The PROCESS_OBJECT GeckoEvent is used to set the layer client object in
Gecko once Gecko is done loading. This patch converts it to a native
call in GeckoView.Window.
2015-10-08 15:25:49 -04:00
Ahmed Khalil 3f5aa180f0 Bug 1201926 - Add support for keyed histograms to Fennec's Telemetry module, r=nalexander 2015-10-08 11:32:52 +05:30
Carsten "Tomcat" Book 049a35a49c Backed out changeset 2e8206d7352e (bug 1200426) for Android Perma Failures 2015-10-08 10:07:11 +02:00
Jim Chen c05389afcc Bug 1200426 - Convert PROCESS_OBJECT GeckoEvent to native call; r=snorp
The PROCESS_OBJECT GeckoEvent is used to set the layer client object in
Gecko once Gecko is done loading. This patch converts it to a native
call in GeckoView.Window.
2015-10-08 01:12:57 -04:00
Wes Kocher d31f5415b2 Backed out 2 changesets (bug 1200426) for android tpn bustage
Backed out changeset 4dcc2fb45208 (bug 1200426)
Backed out changeset 2dea192c7f33 (bug 1200426)
2015-10-07 09:05:01 -07:00
Jim Chen 0f413bc2a3 Bug 1200426 - Convert PROCESS_OBJECT GeckoEvent to native call; r=snorp
The PROCESS_OBJECT GeckoEvent is used to set the layer client object in
Gecko once Gecko is done loading. This patch converts it to a native
call in GeckoView.Window.
2015-10-07 08:57:30 -04:00
Jim Chen eb87f7d742 Bug 1200343 - Remove pref events from GeckoEvent; r=snorp
Now that we use native calls, we can remove the pref-related events from
GeckoEvent.
2015-09-28 12:07:09 -04:00
Wes Kocher e143a6410c Backed out 4 changesets (bug 1200343) for android talos failures
Backed out changeset 67dc42cbf02b (bug 1200343)
Backed out changeset b077acafcebb (bug 1200343)
Backed out changeset e115ca114601 (bug 1200343)
Backed out changeset 905e1fb54fd4 (bug 1200343)
2015-09-25 13:21:58 -07:00
Jim Chen 83e034c311 Bug 1200343 - Remove pref events from GeckoEvent; r=snorp
Now that we use native calls, we can remove the pref-related events from
GeckoEvent.
2015-09-25 15:03:35 -04:00
Masayuki Nakano 683794135c Bug 895274 part.244 Rename NS_TOUCH_CANCEL to eTouchCancel r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano 51d7268995 Bug 895274 part.243 Rename NS_TOUCH_END to eTouchEnd r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano 52a7afe36c Bug 895274 part.242 Rename NS_TOUCH_MOVE to eTouchMove r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano 7a48a6f2ab Bug 895274 part.241 Rename NS_TOUCH_START to eTouchStart r=smaug 2015-09-15 00:14:34 +09:00
Masayuki Nakano bd4bf17fbd Bug 895274 part.29 Rename NS_MOUSE_EXIT_WIDGET to eMouseExitFromWidget r=smaug 2015-08-29 08:58:31 +09:00
Masayuki Nakano 9895f90eca Bug 895274 part.28 Rename NS_MOUSE_ENTER_WIDGET to eMouseEnterIntoWidget r=smaug 2015-08-29 08:58:31 +09:00
Masayuki Nakano 717c415187 Bug 895274 part.25 Rename NS_MOUSE_MOVE to eMouseMove r=smaug 2015-08-29 08:58:29 +09:00
Masayuki Nakano 6ecfef2cde Bug 895274 part.5 Rename NS_EVENT_NULL to eVoidEvent r=smaug 2015-08-29 08:58:26 +09:00
Masayuki Nakano 0d22745cda Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug 2015-08-26 21:56:59 +09:00
William Chen 6d6411c090 Bug 1131470 - Part 2: Update screen configuration HAL to report orientation angle. r=snorp,mwu
--HG--
extra : rebase_source : c6eb4dd4f54b1e9db7e7d2c39e535ba4bcd8af1f
2015-08-18 14:55:15 -07:00
Jim Chen d1f529698f Bug 1192077 - Convert AndroidBridge JNIEnv calls; r=esawin 2015-08-13 00:53:39 -04:00
Anthony Tseng 6fe5a1137f Bug 1158425 - Rename _SYNTH event names. r=smaug
--HG--
extra : rebase_source : 533cc7e18cf7f92d95a146d61f7aa2da7c0b8e48
2015-05-01 22:06:00 -04:00
Danilo Cesar Lemes de Paula d7e8379673 Bug 1146024 - Fix up input routing for APZ on Fennec. r=kats
nsWindow::ProcessUntransformedAPZEvent is the method that
deals with APZ Input, so it should receive it's events
2015-04-20 16:16:17 -04:00
Vladimir Vukicevic 32d8dbc20e Bug 1144674; Implement HAL support for ROTATION_VECTOR and GAME_ROTATION_VECTOR sensors; r=snorp 2015-04-01 16:02:20 -04:00
David Zbarsky c73ec42d2d Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05:00
Phil Ringnalda 7b3840d642 Back out 5167196c4b98 (bug 1125040) for not compiling on Linux
CLOSED TREE
2015-02-01 15:27:14 -08:00
David Zbarsky 7d34edce07 Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-01 17:27:41 -05:00
David Zbarsky 58a982f86b Bug 1125040: Use LayoutDeviceIntPoint for nsLayoutUtils::GetEventCoordinatesRelativeTo and Touch::mRefPoint r=botond 2015-02-01 17:27:31 -05:00
Masayuki Nakano 7a0cea6729 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 67724cb7a7 Bug 663803 - Zoomed view implementation using render document r=mcomella,snorp 2015-01-21 05:59:23 +01:00
Jim Chen db34c64f29 Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
Jim Chen d60c1e78f2 Bug 1116641 - Change JNI macro usages to use AutoJNIClass; r=snorp 2015-01-09 19:33:56 -05:00
James Willcox 27c08cecb8 Bug 1086693 - Part 6: Use generated bindings for AndroidMediaCodec and AndroidSurfaceTexture r=blassey,gcp 2014-11-13 12:47:24 -06:00
Kartikaya Gupta fe23988edf 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 068835d9bb Bug 1014614 - Use Android MediaCodec for decoding H264 and AAC in MP4 r=cpearce,edwin
--HG--
extra : rebase_source : 7e7d1fc38d13b52e2294c0237479b78b31bdeafb
2014-10-21 08:53:01 -05:00
Wes Kocher 36939bc3c8 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 c7c6773ec1 Bug 1014614 - Use Android MediaCodec for decoding H264 and AAC in MP4 r=cpearce,edwin,snorp
--HG--
extra : rebase_source : 5f104f687b6a68d4d4100abf8a8a28039fbb324d
extra : histedit_source : 6f609ebacd51fffcdcfec92c99329b758c6fdbce
2014-10-17 10:35:12 -05:00
Jim Chen fb28ffc373 Bug 888482 - Make new event to set layer client in Gecko; r=snorp 2014-09-30 18:20:58 -04:00
Eitan Isaacson 0d28c735d5 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 b566e82670 Bug 1058136 - Handle compose event to optimize composition usage; r=cpeterson 2014-09-04 14:38:18 -04:00
Mark Capella e8fa8da225 Bug 1021804 - Long press on news story links invoke context menu, r=kats, wesj 2014-08-29 17:32:40 -04:00
Kartikaya Gupta 80b3b6bf72 Bug 1049136 - Hook up touch event handling for apz-fennec. r=wesj,snorp 2014-08-08 18:15:37 -04:00
Brian Birtles 194b6cc3b7 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 551b30bb4c bug 1019836 - Support narrow char strings in android bridge r=snorp 2014-06-04 15:04:12 -04:00
Kartikaya Gupta 0c6293c666 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 0fb6924886 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 1dc00c5f8c bug 852935 - Add Android gamepad backend. r=snorp, rs=smaug 2014-04-22 10:53:48 -04:00