Kartikaya Gupta
e6a4d9d0a8
Bug 866184 - Update SyncViewportInfo and SyncFrameMetrics to take a gfx::Point instead of floats. r=BenWa
2013-05-01 14:12:08 -04:00
Kartikaya Gupta
5d262f9292
Bug 839641 - Add a syncFrameMetrics code path to push viewport changes from APZC to Java. r=Cwiiis, BenWa
2013-04-26 13:26:39 -04:00
Kartikaya Gupta
64acbc32d5
Bug 839641 - Send touch events and prevent-default notifications to APZC. r=Cwiiis
2013-04-26 13:24:28 -04:00
Chris Lord
cb9c55afb6
Bug 858969 - Refactor dynamic toolbar so page is offset and not overlapped. r=kats,nrc
...
Refactor the dynamic toolbar code so that the ownership of various properties
is clearer, and the page is offset by the toolbar instead of being overlapped.
This fixes problems with the scroll origin of the page not corresponding to
the visible origin on the screen.
2013-04-25 18:47:08 +01:00
Ryan VanderMeulen
4b7c54d033
Backed out changeset 684a5ca2efb7 (bug 858969) for Android M3 failures.
...
CLOSED TREE
2013-04-25 10:56:54 -04:00
Chris Lord
5671b1d883
Bug 858969 - Refactor dynamic toolbar so page is offset and not overlapped. r=kats,nrc
...
Refactor the dynamic toolbar code so that the ownership of various properties
is clearer, and the page is offset by the toolbar instead of being overlapped.
This fixes problems with the scroll origin of the page not corresponding to
the visible origin on the screen.
2013-04-24 17:06:23 +01:00
Kartikaya Gupta
418439dffe
Bug 860940 - Add static factory-style methods to create AndroidGeckoEvent instances in widget code. r=cpeterson
2013-04-17 17:39:12 -04:00
Kartikaya Gupta
332865f4e6
Bug 859951 - Split MotionEvent's action into mask and index in Java rather than in JNI code. r=wesj
2013-04-17 17:39:11 -04:00
Kartikaya Gupta
eaa5b3fc84
Bug 859951 - Refactor the code to convert MOTION_EVENT GeckoEvents to nsTouchEvent instances. r=wesj
2013-04-17 17:39:10 -04:00
Chris Peterson
512a13dbf8
Bug 852704 - Part 2: Fix JNI crash caused by DomKeyLocation's change from int to enum. r=blassey
2013-04-09 15:56:03 -07:00
ext:(%20brianecker%40gmail.com)
c7aa12cea2
Bug 852704: Created Java enums to encapsulate data formerly stored in int constants. r=cpeterson
2013-04-08 13:21:52 -07:00
Jim Chen
c64e638333
Bug 842013 - Buffer IME key events and dispatch them at once; r=cpeterson
2013-03-29 10:54:01 -04:00
Jim Chen
45eeb64f4d
Bug 842013 - Don't add extra modifiers to key press events; r=cpeterson
2013-03-29 10:54:01 -04:00
Kartikaya Gupta
5398fdbade
Bug 853366 - Clean up activity/app lifecycle events. r=mfinkle,cpeterson
2013-03-26 14:05:10 -04:00
Chris Lord
202e1980aa
Bug 852526 - Make sure the compositor starts unpaused and with a size. r=kats
...
This changes compositor creation so that we can specify an initial size and
makes sure the local variable in nsWindow reflects that the compositor starts
unpaused.
2013-03-20 22:45:07 +00:00
Kartikaya Gupta
c21e7e986b
Bug 851180 - Ensure AndroidGeckoEvent::mAckNeeded is always initialized. r=gbrown
2013-03-14 21:19:24 +01:00
Kartikaya Gupta
feb33ec008
Bug 846774 - Replace the sync event with an ack flag on events. r=cpeterson
2013-03-10 22:43:30 +00:00
Chris Lord
792e39c1fd
Bug 716403 - Offset fixed layers so the toolbar doesn't obscure them. r=nrc,kats
...
Offset fixed layers in the compositor so that the toolbar in Firefox for Android
doesn't obscure them. This does not affect layout, so input on the elements in
said layers will appear broken.
2013-03-07 10:17:33 +00:00
Ryan VanderMeulen
e67ae46cb3
Backed out 9 changesets (bug 716403) for Android 4.0 robocop bustage on a CLOSED TREE.
2013-03-06 16:11:05 -05:00
Chris Lord
824a09dd68
Bug 716403 - Offset fixed layers so the toolbar doesn't obscure them. r=nrc,kats
...
Offset fixed layers in the compositor so that the toolbar in Firefox for Android
doesn't obscure them. This does not affect layout, so input on the elements in
said layers will appear broken.
2013-03-06 16:55:59 +00:00
Ed Morley
9096110a31
Backed out changeset cacb9f3ee44d (bug 840693)
2013-03-04 14:37:43 +00:00
Anthony Jones
9cb34fbb9a
Bug 840693 - Change to using gfx:: types in AsyncPanZoomController; r=cjones
2013-03-04 13:25:26 +13:00
Ryan VanderMeulen
3fe58cf9ea
Backed out 8 changesets (bug 716403) for frequent Android mochitest-8 failures on a CLOSED TREE.
2013-03-01 16:09:59 -05:00
Chris Lord
9dcda147b3
Bug 716403 - Offset fixed layers so the toolbar doesn't obscure them. r=nrc,kats
...
Offset fixed layers in the compositor so that the toolbar in Firefox for Android
doesn't obscure them. This does not affect layout, so input on the elements in
said layers will appear broken.
2013-03-01 15:46:33 +00:00
Kartikaya Gupta
df4a6ddf5d
Bug 841503 - Delete a bunch of non-OMTC android codepaths. r=BenWa,snorp
2013-02-19 12:35:38 -05:00
Kartikaya Gupta
6e03d39a17
Bug 817134 - Remove the low-res screenshotting code. r=blassey
2012-12-15 10:43:52 -05:00
Jim Chen
d233d0d3aa
Bug 818501 - Get composition styles from styles returned by the system; r=cpeterson
2012-12-06 14:35:59 -05:00
Jim Chen
3f7bd3e61f
Bug 811755 - Buffer and coalesce IME selection and text changes; r=cpeterson
2012-12-05 11:09:56 -05:00
Chris Lord
d85f10cccd
Bug 783368 - Send the correct display port when rendering low precision. r=kats,bgirard
...
When doing a low precision update, send the display-port instead of the
critical display port so that more appropriate cancelling decisions can be
made.
2012-11-21 22:34:19 +00:00
Ehsan Akhgari
f90938a237
Backed out 11 changesets (bug 783368) because of build bustage on a CLOSED TREE
...
Backed out changeset 2bc4310263c4 (bug 783368)
Backed out changeset a35c83a8d99d (bug 783368)
Backed out changeset afb9b2a661ba (bug 783368)
Backed out changeset 3926f510f9be (bug 783368)
Backed out changeset 9d1fe200ff87 (bug 783368)
Backed out changeset b6e4f88f5730 (bug 783368)
Backed out changeset bc53f7dba7c6 (bug 783368)
Backed out changeset 1948fa2fccc1 (bug 783368)
Backed out changeset 9af163388fd1 (bug 783368)
Backed out changeset 7a2256e1aa7c (bug 783368)
Backed out changeset 4da1958a9885 (bug 783368)
2012-11-21 14:57:02 -05:00
Chris Lord
5f7ade4071
Bug 783368 - Send the correct display port when rendering low precision. r=kats,bgirard
...
When doing a low precision update, send the display-port instead of the
critical display port so that more appropriate cancelling decisions can be
made.
2012-11-21 19:16:52 +00:00
Brad Lassey
5a94057a01
bug 812594 - PushLocalFrame in AutoLocalJNIFrame::Push taking more than 100ms when called from AndroidGeckoLayerClient::ProgressiveUpdateCallback on a Samsung Galaxy Q r=kats
...
--HG--
extra : rebase_source : 4aba48c1c6c784f098ffa9bcc05006a054f9ab14
2012-11-16 12:13:57 -08:00
Kartikaya Gupta
be230eda17
Bug 810933 - Fix regression in bug 809199 caused by incorrect order of parameters. r=Cwiiis
2012-11-12 18:44:59 -08:00
Kartikaya Gupta
519c9107a0
Bug 809199 - Update the getDisplayPort JNI-called function to take an ImmutableViewportMetrics. r=Cwiiis
2012-11-07 11:47:08 -05:00
Jim Chen
1ca53980b0
Bug 805162 - b. Redefine Java to Gecko IME events to align with Android IME design; r=blassey
2012-11-01 16:11:02 -04:00
Ed Morley
228a463f2e
Backout 533faa3c50ed, 718abc1bd4ad, af2d5272c06b, ad5554e1345d, c9ef1b41b829, d3a825311d11, 0a51bcb3eb9e, a01a327e8ec4, 973b0ed30b8b, 39851bbcfaa1 & a92d2d2a3b0e (bug 805162), d4884aab5ce6, 06fcbaf40cb4, daccc3fe7c70, 881eb2a2906e, 76232441ae06, 01ae34fa1b3f & 5f405fc4e323 (bug 783092), a03d8d4db1c2, 49beb3801192, 174634554a97, 0bd27e755a83, 19e8f151ca67, a6604e038bc0, ed3b8237e76e & 082cf8d72554 (bug 785945) for bustage or conflicting with backout of said bustage on a CLOSED TREE
2012-11-01 00:16:35 +00:00
Jim Chen
d30fbea7c5
Bug 805162 - b. Redefine Java to Gecko IME events to align with Android IME design; r=blassey
2012-10-31 17:35:31 -04:00
Chris Lord
b3c7e8e90c
Bug 749063 - Replace shouldAbort with generic callback for progressive updates. r=bgirard
...
Replace ShouldAbortProgressiveUpdate with ProgressiveUpdateCallback, that
provides more contextual information about how the update will get used.
2012-10-15 09:33:34 +01:00
Chris Lord
66a018ae62
Bug 794130 - Fix intermittent crash in AndroidBridge::ShouldAbortProgressiveUpdate. r=blassey
...
I messed up the JNI code in AndroidJavaWrappers for this function. It was
always returning false and sometimes crashing.
2012-10-05 15:41:03 +01:00
Chris Lord
5c25992386
Bug 794130 - Abort drawing if appropriate when using progressive tile updates. r=bgirard,blassey
...
Add a function to BasicLayerManager to check if it's appropriate to abort an
ongoing progressive update, and add an Android-specific implementation in
mobile/android/base/gfx/GeckoLayerClient.java.
--HG--
extra : rebase_source : edbd20acb53660340d52265591849aacafd179c4
2012-10-04 14:45:16 -04:00
Wes Johnston
294974b16e
Bug 784887 - Use Native Gesture detector for MozGesture events. r=blassey
2012-10-02 13:18:21 -07:00
Benoit Girard
3ffd913d8e
Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey
2012-10-01 16:01:35 -04:00
Brad Lassey
2f969ba0da
bug 727352 - don't use JSON for viewport meta data r=kats,mfinkle
2012-09-12 23:47:08 +02:00
Chris Peterson
2f419db95c
Bug 778980 - Part 3: Fix gcc -Wconversion-null warnings in widget/android. r=blassey
2012-09-14 12:02:51 -07:00
Christian Vielma
a4ee84bdba
Bug 756504 - Implement DOM_KEY_LOCATION_JOYSTICK for Android game controllers. r=cpeterson
2012-09-12 17:48:29 -07:00
Chris Peterson
ba71014c20
Backout 3875fa9aaec1 (changeset author is Christian Vielma, not Chris Peterson). a=oops
2012-09-12 17:40:41 -07:00
Chris Peterson
dd752db5ff
Bug 756504 - Implement DOM_KEY_LOCATION_JOYSTICK for Android game controllers. r=cpeterson
2012-09-12 17:36:32 -07:00
Chris Peterson
ed56e0e0a6
Backout 01fb250fbba1 (changeset description should have said bug 756504, not bug 756505). a=oops
2012-09-12 17:31:21 -07:00
Christian Vielma
ecae5a5eec
Bug 756505 - Implement DOM_KEY_LOCATION_JOYSTICK for Android game controllers. r=cpeterson
2012-09-12 11:19:39 -04:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00