Jim Chen
0a4f4fc8a6
Bug 987281 - Refactor AutoLocalJNIFrame. r=blassey
2014-03-25 12:02:43 -04:00
Kartikaya Gupta
58c7ec64ee
Bug 981029 - Change the GeckoContentController interface to take CSSPoint instead of CSSIntPoint. r=botond
2014-03-12 15:27:45 -04:00
Botond Ballo
1d877f8d82
Bug 935219 - Fix composition bounds calculation and APZC hit testing (again). r=kats,tn
2014-03-10 17:56:59 -04:00
Ryan VanderMeulen
86af8bac61
Backed out changeset 6f05267b4afc (bug 798033) for Android bustage.
2014-03-05 09:55:52 -05:00
snigdha
238d3a6bf5
Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey
2014-03-05 08:47:45 -05:00
Masayuki Nakano
fa8d4547e8
Bug 965685 Use IMENotification struct for nsIWidget::NotifyIME() and merge NotifyIMEOfTextChange() with it r=smaug, sr=roc
2014-02-18 09:00:15 +09:00
Wes Johnston
c89afdba0a
Bug 946344 - Remove GeckoEventResponder. r=mfinkle,blassey,kats
2014-02-11 09:16:00 -08:00
Doug Sherk
8837bb44bf
Bug 964421 - Add a mechanism to HandleLongTap(Up) to allow content to preventDefault touches and stop panning while long tapping. r=kats
2014-02-07 18:13:50 +01:00
Kartikaya Gupta
aefdf36549
Bug 963278 - Better fix to deal with concurrent scroll updates from APZ and other places. r=tn,botond,jimm
2014-02-05 17:43:20 -05:00
Jim Chen
dc9f10714f
Bug 958706 - Add ThrowException and HandleUncaughtException methods to AndroidBridge; r=blassey
...
ThrowException throws a new exception with the appropriate message, meant for native JNI methods that return to Java code (i.e. methods in AndroidJNI.cpp).
HandleUncaughtException will be called by the generated JNI stubs that C++ code uses. HandleUncaughtException calls the new GeckoAppShell.handleUncaughtException method, which behaves exactly like the normal uncaught exception handler (annotates the crash report and crashes). GeckoAppShell.handleUncaughtException has the noThrow annotation that will be seen by the generated code; as a result, its generated stub will not call HandleUncaughtException and result in a loop.
2014-01-17 23:32:24 -06:00
Jim Chen
c41d2e45c6
Bug 959237 - Add AndroidBridge::HasEnv checks; r=blassey
...
For certain tests, the AndroidBridge is not initialized, but some GeckoAppShell functions are still called indirectly. For now, this patch adds checks to skip these calls if there's no AndroidBridge. However, in the future, most of the affected code should be refactored to not require these checks.
2014-01-17 23:32:24 -06: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
Dale Harvey
4a63e3b6a6
Bug 942929 - Use longtapup event to handle firing clicks when longtap not handled. r=kats
2013-12-12 00:39:06 +00:00
Chris Lord
0231f47b50
Bug 931823 - Fix calculation of tiled update data and convert to typed units. r=kats,botond
...
Various changes to FrameMetrics and such have causes the tile coherency checks
to end up with nonsense values, meaning updates are always happening a tile at
a time.
This fixes the calculation of those values, adds some documentation and
converts a large part of it to using typed units, to make it easier to
understand what's happening.
2013-11-27 17:33:27 +00:00
Wes Johnston
c86cb7ff6b
Bug 942914 - Remove initializer from .h file. r=rbarker
2013-11-27 09:17:56 -08: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
Botond Ballo
74712328fc
Bug 900092 - Remove FrameMetrics::ROOT_SCROLL_ID. r=kats,tn
2013-11-08 19:07:00 -05:00
Benoit Jacob
bece47d87f
Bug 925608 - 7/8: rename ProvideEGLSurface to CreateEGLSurfaceForCompositor - r=kats
2013-11-15 11:28:59 -05:00
Benoit Jacob
dee2852cbd
Bug 937204 - 3/3. Kill GfxInfoThread. Instead, get GL strings from the compositor - r=kats,jrmuizel
2013-11-15 11:28:43 -05:00
Birunthan Mohanathas
c4438f4272
Bug 784739 - Switch from NULL to nullptr in widget/android/; r=ehsan
2013-10-10 16:42:52 -04:00
Benoit Jacob
c719617d8e
Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan
2013-09-19 09:54:39 -04:00
Wes Kocher
df60e63207
Backed out changeset 554bfe767519 (bug 913847) for leaking on a CLOSED TREE
2013-09-18 17:21:02 -07:00
Benoit Jacob
7bcf1eee88
Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan
2013-09-18 18:50:32 -04:00
Chris Kitching
a6475ccfb3
Bug 794981 - Part 7: Storing a void* for mThread instead of a pthread_t is both nonportable and dangerous. r=kats
2013-09-09 08:57:37 -04:00
Chris Kitching
9d293dac29
Bug 794981 - Part 6: Refactor AndroidBridge to make use of generated code. r=kats
2013-09-09 08:57:37 -04:00
Chris Kitching
69f2f80f9a
Bug 794981 - Part 4: Consistently pass nsAString into the JNI methods, instead of the veritable smorgasbord of string types previously used. r=kats
2013-09-09 08:57:36 -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
Chris Kitching
0247b949ec
Bug 794981 - Part 2: Don't pass GeckoAppShell class to Init as a parameter - find it in the usual way. r=kats
2013-09-09 08:57:36 -04:00
Gene Lian
e73d708b4a
Bug 903403 - [sms][mms] Make getSegmentInfoForText() Asynchronous to Improve Typing Performance. r=vicamo, sr=mounir
2013-08-09 21:25:53 +08:00
Jim Chen
d7d9f32722
Bug 899233 - Don't restart IME when changing selection; r=cpeterson
2013-08-14 11:32:44 -04:00
Kartikaya Gupta
0e00e09957
Bug 902888 - Fix coordinate system mismatch with pre-Honeycomb plugins on Android. r=snorp
...
The plugin code was returning a rect in LayoutDevicePixels whereas Java
was treating it as a CSS-pixel rect. This patch makes the types more
explicit and adds a conversion in AndroidBridge to convert from the
LayoutDevicePixels to CSSPixel rects.
2013-08-13 11:49:21 -04:00
Nathan Froyd
1142739d09
Bug 903466 - eliminate static constructors in widget/android/; r=blassey
2013-08-12 10:58:36 -04:00
Phil Ringnalda
8b050c5449
Back out 75fb08918611 (bug 903466) for Android build bustage
...
CLOSED TREE
2013-08-09 18:52:11 -07:00
Nathan Froyd
6b2ceb6d57
Bug 903466 - eliminate static constructors in widget/android/; r=blassey
2013-08-09 11:21:51 -04:00
Kartikaya Gupta
08b000c629
Bug 866232 - Only fire mozbrowserasyncscroll events on the top-level scrollable for backwards compatibility. r=BenWa
2013-07-30 14:03:42 -04:00
Joshua Cranmer
0d541d1d95
Bug 884061 - Part 3x: Use NS_DECL_THREADSAFE_ISUPPORTS in widget/, r=jimm
2013-07-18 21:24:15 -05:00
Chris Lord
408b2db986
Bug 886298 - Convert Layers fixed position margins to typed units. r=kats
2013-07-22 09:50:13 +01:00
Chris Lord
c3aabd3407
Bug 803299 - Enable 32-bit colour on Android. r=kats
2013-07-04 14:53:25 +01:00
Kartikaya Gupta
78d2e15a33
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-21 17:03:56 -04:00
Ryan VanderMeulen
325c01cc93
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
a917c8f667
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-20 16:10:58 -04:00
Kartikaya Gupta
2bae1d5604
Bug 880676 - Convert another gfx::Point to a ScreenPoint. r=BenWa
2013-06-14 16:11:29 -04:00
Kartikaya Gupta
9c30acff1e
Bug 785929 - Kill FrameMetrics.mContentRect. r=kentuckyfriedtakahe
2013-06-11 09:46:51 -04:00
Kartikaya Gupta
96d90a7c9f
Bug 879004 - Add types to the remaining methods in GeckoContentController. r=kentuckyfriedtakahe
2013-06-10 09:05:44 -04:00
Kartikaya Gupta
bc3c1c3715
Bug 879004 - Convert the async scroll offset fields in APZC.h to CSSPoints. r=kentuckyfriedtakahe
2013-06-10 09:05:44 -04:00
Kartikaya Gupta
ad26392fbe
Bug 879004 - Convert mDisplayport and mCriticalDisplayport in FrameMetrics to CSSRects. r=BenWa
2013-06-10 09:05:42 -04:00
Federico Paolinelli
bb58986a88
Bug 876485 - Moved clipboard code from GeckoAppShell to a separate Clipboard class. Changed jni calls to new methods. r=cpeterson
2013-06-07 13:39:37 -07:00
Kartikaya Gupta
474c7a9457
Bug 877728 - Make the screen render offset a ScreenPoint. r=BenWa
2013-06-03 10:00:02 -04:00