Commit Graph

228 Commits

Author SHA1 Message Date
Andrew Martin McDonough
d1679cdb9c 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
74215ff3b3 Bug 888482 - Make new event to set layer client in Gecko; r=snorp 2014-09-30 18:20:58 -04:00
Eitan Isaacson
8163c815e5 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
446e961d44 Bug 1058136 - Handle compose event to optimize composition usage; r=cpeterson 2014-09-04 14:38:18 -04:00
Mark Capella
47f58af127 Bug 1021804 - Long press on news story links invoke context menu, r=kats, wesj 2014-08-29 17:32:40 -04:00
Kartikaya Gupta
6a8c4a4b31 Bug 1049136 - Hook up touch event handling for apz-fennec. r=wesj,snorp 2014-08-08 18:15:37 -04:00
Brian Birtles
dba77091dc 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
6c6fe8361b bug 1019836 - Support narrow char strings in android bridge r=snorp 2014-06-04 15:04:12 -04:00
Kartikaya Gupta
a61ae44103 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
dea0fc341d 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
dff9bd8e4c bug 852935 - Add Android gamepad backend. r=snorp, rs=smaug 2014-04-22 10:53:48 -04:00
Birunthan Mohanathas
ff8ce9bd42 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
0278476522 Bug 960426 - Part 3: Related Change in Fennec. r=blassey 2014-03-05 17:42:42 +08:00
Jim Chen
8cf891bd76 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
ebd358dfd7 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
f31dddba06 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
6fb3114a62 Merge m-c to inbound. 2013-12-10 15:48:16 -05:00
Richard Newman
fb6845b990 Bug 932092 - Part 2: support natively sending UI telemetry events from Java. r=mfinkle 2013-12-10 10:41:34 -08:00
Masayuki Nakano
d16795393e 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
72385391d3 Bug 942689 - Include modifer info in tap gesture events [r=roc,jimm,botond] 2013-11-25 20:30:26 -08:00
Chris Kitching
7144e8c767 Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-11-12 10:41:01 -08:00
Ryan VanderMeulen
99217d0d2e 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)

--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-11-19 10:56:09 -05:00
Chris Kitching
6ba50c4b94 Bug 913985 - Part 5: refactor the Bridge to use the generated code. r=kats 2013-11-12 10:41:01 -08:00
Kartikaya Gupta
df87dea38c Bug 924791 - Ensure hover event refpoints are converted from CSSPixels to LayoutDevicePixels. r=wesj 2013-10-15 17:11:39 -04:00
Birunthan Mohanathas
235ca630a8 Bug 784739 - Switch from NULL to nullptr in widget/android/; r=ehsan 2013-10-10 16:42:52 -04:00
Ehsan Akhgari
a6f85f1b97 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
fb2d6dc1a4 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)

--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 17:02:09 -04:00
Chris Kitching
b3fd693d20 Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-09-27 10:10:37 -04:00
Kartikaya Gupta
7f22c5c405 Back out d9bdfdfda06e to dd17e0758a00 (bug 913985) due to incorrect author on some of the patches. r=backout
--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 10:25:23 -04:00
Chris Kitching
96d931b9eb Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-09-27 10:10:37 -04:00
Masayuki Nakano
99ed9cf061 Bug 920377 part.13 Get rid of nsTouchEvent r=roc 2013-09-27 15:20:57 +09:00
Masayuki Nakano
648570f10b Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Masayuki Nakano
8d69a172c1 Bug 912956 part.13 mozilla/TouchEvents.h should be included directly r=roc 2013-09-25 20:21:16 +09:00
Mina Almasry
13448b790e Bug 912166 - Make nsIWidget::GetDefaultScale return a typed scale value. r=roc 2013-09-17 20:45:19 -04:00
Nathan Froyd
53844a7710 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
de56af2b75 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
5368cb8e9a 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
51fd783162 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
Nathan Froyd
b4f16a0b95 Bug 908919 - Backout 1117002f074f:c03239a1493a (bug 906088) for causing Ts regressions; r=performance-is-job-1 2013-08-26 14:07:34 -04:00
Nathan Froyd
a727e121b3 Bug 906088 - part 3 - add Preferences events to AndroidGeckoEvent; r=blassey 2013-08-16 11:24:30 -04:00
Nathan Froyd
25722da5f4 Bug 906088 - part 2 - factor out reading an nsString from a Java string in AndroidJavaWrappers.cpp; r=blassey 2013-08-16 11:15:27 -04:00
Nathan Froyd
9122cd3c4d Bug 905759 - part 2 - add Telemetry-specific GeckoEvent and related machinery; r=blassey 2013-08-15 15:03:47 -04:00
Chris Lord
f6b2427db2 Bug 886298 - Convert Layers fixed position margins to typed units. r=kats 2013-07-22 09:50:13 +01:00
Patrick McManus
8c195a71c0 bug 888268 - wifi tickler for mitigating 802.11 psp mode on android r=dougt
--HG--
extra : rebase_source : a767b6c10501105b3c5d22043f11745807caf2f9
2013-07-11 11:39:36 -04:00
Kartikaya Gupta
61cece35c8 Bug 803207 - Kill GetDevicePixelsPerMetaViewportPixel and use widget scaling correctly on Fennec. r=mbrubeck 2013-07-04 09:02:29 -04:00
Kartikaya Gupta
e6d307eeca Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe 2013-06-21 17:03:56 -04:00
Ryan VanderMeulen
89cd9674cd Backed out 7 changesets (bug 883646) for reftest-ipc failures.
Backed out changeset 2272804a8e71 (bug 883646)
Backed out changeset e39d3bdf847a (bug 883646)
Backed out changeset bf46fc332efe (bug 883646)
Backed out changeset 6bb558c3136f (bug 883646)
Backed out changeset d7d5d16e27e0 (bug 883646)
Backed out changeset 14c73096a132 (bug 883646)
Backed out changeset 89f6185a271b (bug 883646)
2013-06-20 17:36:39 -04:00
Kartikaya Gupta
bc7a93a250 Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe 2013-06-20 16:10:58 -04:00
Brad Lassey
4364b3157f bug 884792 - crash in nsXPCWrappedJS::Release, removeObserver being called off main thread r=kats 2013-06-19 13:55:35 -04:00
Brad Lassey
c030b1e599 bug 882196 - Android crash in nsXPCWrappedJS::AddRef, remove nsAppShell::NotifyObservers r=kats 2013-06-17 17:09:09 -04:00