Commit Graph

151 Commits

Author SHA1 Message Date
Chris Lord
ed41276fbb 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
e376b2bb54 Backed out changeset 684a5ca2efb7 (bug 858969) for Android M3 failures.
CLOSED TREE
2013-04-25 10:56:54 -04:00
Chris Lord
ac2dc65ab2 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
Masayuki Nakano
7658481872 Bug 842927 part.2 Make convertion table from native keycode to DOM key name index r=smaug+cpeterson+romaxa+smichaud+jimm+karlt+mwu 2013-04-24 12:49:46 +09:00
Chris Peterson
032618dc67 Bug 864521 - Replace Fennec's AndroidKeyEvent::KEYCODE enum with Android's AKEYCODE enum. r=jchen 2013-04-22 11:24:43 -07:00
Kartikaya Gupta
30b0f9b26e 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
9551d0aa6b 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
42ac3dde0c 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
e11f4a26f5 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
Jim Chen
8df7bdae47 Bug 842013 - Buffer IME key events and dispatch them at once; r=cpeterson 2013-03-29 10:54:01 -04:00
Jim Chen
59d280fc84 Bug 842013 - Don't add extra modifiers to key press events; r=cpeterson 2013-03-29 10:54:01 -04:00
Kartikaya Gupta
1fc0d9bfd9 Bug 853366 - Clean up activity/app lifecycle events. r=mfinkle,cpeterson 2013-03-26 14:05:10 -04:00
Kartikaya Gupta
2e019f9c8f Bug 847839 - Remove some remnants of XUL fennec from the android widget codebase. r=cpeterson 2013-03-21 16:19:49 +01:00
Chris Lord
eb2dba59d4 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
Ms2ger
a51b70238f Bug 845374 - Part s: Stop including nsTArray.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Kartikaya Gupta
f79be84fd2 Bug 851180 - Ensure AndroidGeckoEvent::mAckNeeded is always initialized. r=gbrown 2013-03-14 21:19:24 +01:00
Kartikaya Gupta
e8238c7e73 Bug 846774 - Replace the sync event with an ack flag on events. r=cpeterson 2013-03-10 22:43:30 +00:00
Chris Lord
6184953e9e 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
076a4bfaee 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
5647557b0c 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
Jim Chen
8cc7818c33 Bug 843048 - Delay setting IME context on Gecko thread instead of Java thread; r=cpeterson 2013-03-05 15:24:35 +00:00
Ed Morley
42e8716b41 Backed out changeset cacb9f3ee44d (bug 840693) 2013-03-04 14:37:43 +00:00
Anthony Jones
1ebb331c24 Bug 840693 - Change to using gfx:: types in AsyncPanZoomController; r=cjones 2013-03-04 13:25:26 +13:00
Ryan VanderMeulen
a9311d990d 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
9292e6cf3c 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
e52476a95d Bug 841503 - Delete a bunch of non-OMTC android codepaths. r=BenWa,snorp 2013-02-19 12:35:38 -05:00
Chris Peterson
25de545a1c Bug 834611 - Part 1: Fix Android widget warnings. r=kats 2013-01-25 11:33:40 -08:00
Kartikaya Gupta
095d43a32a Bug 831783 - Clean up some event constants. r=snorp 2013-01-17 14:16:14 -05:00
Kartikaya Gupta
a0fc935672 Bug 817134 - Remove the low-res screenshotting code. r=blassey 2012-12-15 10:43:52 -05:00
Jim Chen
6f1b286cd0 Bug 818501 - Get composition styles from styles returned by the system; r=cpeterson 2012-12-06 14:35:59 -05:00
Jim Chen
324dab8526 Bug 811755 - Buffer and coalesce IME selection and text changes; r=cpeterson 2012-12-05 11:09:56 -05:00
Boris Zbarsky
fb26630117 Bug 815671 part 6. Fixes to widget code to not copy arrays implicitly. r=jlebar 2012-11-29 11:14:14 -05:00
Chris Lord
b93a4eb638 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
1f225691bd 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
b826ead679 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
Jim Chen
7d688308e8 Bug 808287 - Fix out-of-order IME events during focus change; r=cpeterson 2012-11-13 17:27:19 -05:00
Jim Chen
ba0cf3c429 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
e878f44e88 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
88ee5fa064 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
Wes Johnston
c07b793a64 Bug 695407 - Support modifier keys with touch events. r=blassey 2012-10-16 17:01:50 -07:00
Chris Lord
21206f0dbd 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
b340e19da3 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
4831ec5cb7 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.
2012-10-04 14:45:16 -04:00
Wes Johnston
7f5ef1bd9e Bug 784887 - Use Native Gesture detector for MozGesture events. r=blassey 2012-10-02 13:18:21 -07:00
Brad Lassey
75c91e8bb9 bug 727352 - don't use JSON for viewport meta data r=kats,mfinkle 2012-09-12 23:47:08 +02:00
Christian Vielma
7adb86db5a Bug 756504 - Implement DOM_KEY_LOCATION_JOYSTICK for Android game controllers. r=cpeterson 2012-09-12 17:48:29 -07:00
Chris Peterson
9942228d6a Backout 3875fa9aaec1 (changeset author is Christian Vielma, not Chris Peterson). a=oops 2012-09-12 17:40:41 -07:00
Chris Peterson
eae36a4f57 Bug 756504 - Implement DOM_KEY_LOCATION_JOYSTICK for Android game controllers. r=cpeterson 2012-09-12 17:36:32 -07:00
Chris Peterson
fdad8ce1a2 Backout 01fb250fbba1 (changeset description should have said bug 756504, not bug 756505). a=oops 2012-09-12 17:31:21 -07:00
Christian Vielma
778d364704 Bug 756505 - Implement DOM_KEY_LOCATION_JOYSTICK for Android game controllers. r=cpeterson 2012-09-12 11:19:39 -04:00