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
Birunthan Mohanathas
5f1fde8824
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
1165b217c9
Bug 960426 - Part 3: Related Change in Fennec. r=blassey
2014-03-05 17:42:42 +08:00
Jim Chen
9305d633e9
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
1b83407ce9
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
dbfed943bb
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
7a6613cc88
Merge m-c to inbound.
2013-12-10 15:48:16 -05:00
Richard Newman
2e6eb9b062
Bug 932092 - Part 2: support natively sending UI telemetry events from Java. r=mfinkle
2013-12-10 10:41:34 -08:00
Masayuki Nakano
674761425d
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
fa697d2df2
Bug 942689 - Include modifer info in tap gesture events [r=roc,jimm,botond]
2013-11-25 20:30:26 -08:00
Chris Kitching
36c7d139c0
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00
Ryan VanderMeulen
2c440594a5
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
c4e86cb63e
Bug 913985 - Part 5: refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00
Kartikaya Gupta
4f47532b89
Bug 924791 - Ensure hover event refpoints are converted from CSSPixels to LayoutDevicePixels. r=wesj
2013-10-15 17:11:39 -04:00
Birunthan Mohanathas
ffe5416a8e
Bug 784739 - Switch from NULL to nullptr in widget/android/; r=ehsan
2013-10-10 16:42:52 -04:00
Ehsan Akhgari
ce810d0438
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
4875847fa7
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
939077cb0b
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-09-27 10:10:37 -04:00
Kartikaya Gupta
6b7e07f87d
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
602a2edbcb
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-09-27 10:10:37 -04:00
Masayuki Nakano
d3aa0d67cf
Bug 920377 part.13 Get rid of nsTouchEvent r=roc
2013-09-27 15:20:57 +09:00
Masayuki Nakano
f90a5b1125
Bug 912956 part.18 Remove nsGUIEvent.h r=roc
2013-09-25 20:21:22 +09:00
Masayuki Nakano
743fbc6e59
Bug 912956 part.13 mozilla/TouchEvents.h should be included directly r=roc
2013-09-25 20:21:16 +09:00
Mina Almasry
94bdd8d0fe
Bug 912166 - Make nsIWidget::GetDefaultScale return a typed scale value. r=roc
2013-09-17 20:45:19 -04:00
Nathan Froyd
eea241e75d
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
65b3640d2b
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
611ccbe14a
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
0f3d6f1206
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
7ec6b9edf1
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
3fd955e2e5
Bug 906088 - part 3 - add Preferences events to AndroidGeckoEvent; r=blassey
2013-08-16 11:24:30 -04:00
Nathan Froyd
b1f23ce596
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
509a4a60f6
Bug 905759 - part 2 - add Telemetry-specific GeckoEvent and related machinery; r=blassey
2013-08-15 15:03:47 -04:00
Chris Lord
10605e0e62
Bug 886298 - Convert Layers fixed position margins to typed units. r=kats
2013-07-22 09:50:13 +01:00
Patrick McManus
ec80b06fb8
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
7c400dc164
Bug 803207 - Kill GetDevicePixelsPerMetaViewportPixel and use widget scaling correctly on Fennec. r=mbrubeck
2013-07-04 09:02:29 -04:00
Kartikaya Gupta
1de2b15435
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-21 17:03:56 -04:00
Ryan VanderMeulen
d2b6c8631b
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
603cf626d1
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-20 16:10:58 -04:00
Brad Lassey
fbe796c4d5
bug 884792 - crash in nsXPCWrappedJS::Release, removeObserver being called off main thread r=kats
2013-06-19 13:55:35 -04:00
Brad Lassey
c08786522e
bug 882196 - Android crash in nsXPCWrappedJS::AddRef, remove nsAppShell::NotifyObservers r=kats
2013-06-17 17:09:09 -04:00
Brad Lassey
bf0cb53536
bug 882196 - Android crash in nsXPCWrappedJS::AddRef, remove nsAppShell::CallObservers r=snorp
2013-06-15 17:40:27 -04:00
Kartikaya Gupta
cf832e1e8c
Bug 880676 - Replace a couple of Rect scaling functions with strongly typed operators. r=BenWa
2013-06-14 16:11:31 -04:00
Kartikaya Gupta
ddc341ee0a
Bug 880676 - Move the RoundToInt functions to be standalone in the gfx headers. r=BenWa
2013-06-14 16:11:31 -04:00
Kartikaya Gupta
62bbfb2e68
Bug 880676 - Convert another gfx::Point to a ScreenPoint. r=BenWa
2013-06-14 16:11:29 -04:00
Kartikaya Gupta
3bec9e603d
Bug 879011 - Convert nsIntPoint instances in InputData.h to types with units. r=kentuckyfriedtakahe
2013-06-11 18:13:11 -04:00
Kartikaya Gupta
dc77049db1
Bug 785929 - Kill FrameMetrics.mContentRect. r=kentuckyfriedtakahe
2013-06-11 09:46:51 -04:00