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
Brad Lassey
839b1e6886
bug 882196 - Android crash in nsXPCWrappedJS::AddRef, remove nsAppShell::CallObservers r=snorp
2013-06-15 17:40:27 -04:00
Kartikaya Gupta
94dd1b2c73
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
5ce3e1c211
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
6b45d7c64f
Bug 880676 - Convert another gfx::Point to a ScreenPoint. r=BenWa
2013-06-14 16:11:29 -04:00
Kartikaya Gupta
fa8050e549
Bug 879011 - Convert nsIntPoint instances in InputData.h to types with units. r=kentuckyfriedtakahe
2013-06-11 18:13:11 -04:00
Kartikaya Gupta
1d2c4c97c5
Bug 785929 - Kill FrameMetrics.mContentRect. r=kentuckyfriedtakahe
2013-06-11 09:46:51 -04:00
Kartikaya Gupta
8cf123d18d
Bug 879004 - Convert mDisplayport and mCriticalDisplayport in FrameMetrics to CSSRects. r=BenWa
2013-06-10 09:05:42 -04:00
Kartikaya Gupta
390f0e432f
Bug 877728 - Make the screen render offset a ScreenPoint. r=BenWa
2013-06-03 10:00:02 -04:00
Kartikaya Gupta
7a734ca654
Bug 877728 - Convert the page rect passed to SetFirstPaintViewport to LayerIntRect. r=BenWa
2013-06-03 09:58:34 -04:00
Kartikaya Gupta
87e727d3cd
Bug 877728 - Convert a couple of nsInt* variables to LayerInt*. r=BenWa
2013-06-03 09:58:07 -04:00
Kartikaya Gupta
ad6e359f34
Bug 877728 - Convert the scroll offset out-param to SyncViewportInfo from nsIntPoint to ScreenPoint. r=BenWa
...
Also deletes a bunch of dead code, and makes some variables local
variables instead of member variables since they are only used in
a single function and don't need to be persisted.
2013-06-03 09:53:32 -04:00
Kartikaya Gupta
e1db212150
Bug 877728 - Convert some CSS rects passed to Java from gfx::Rect to CSSRect. r=BenWa
2013-06-03 09:52:44 -04:00
Chris Peterson
b9bb211b66
Bug 877503 - Add MOZ_FINAL to some Android classes to fix gcc 4.7 warnings-as-errors. blanket-r=ehsan rs=tbsaunde
2013-05-30 11:26:02 -07:00