Jim Chen
3f7bd3e61f
Bug 811755 - Buffer and coalesce IME selection and text changes; r=cpeterson
2012-12-05 11:09:56 -05:00
Boris Zbarsky
06fae28e55
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
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
Jim Chen
0b59e69152
Bug 808287 - Fix out-of-order IME events during focus change; r=cpeterson
2012-11-13 17:27:19 -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
Wes Johnston
4f59d4b93f
Bug 695407 - Support modifier keys with touch events. r=blassey
2012-10-16 17:01:50 -07: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
Brad Lassey
2f969ba0da
bug 727352 - don't use JSON for viewport meta data r=kats,mfinkle
2012-09-12 23:47:08 +02: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
Kartikaya Gupta
70f8fc3ff3
Bug 772993 - Fix compiler warnings for widget/android. r=cpeterson
2012-07-12 12:52:52 -04:00
Eitan Isaacson
13a49280a3
Bug 763613 - Make hover events mousemove events. r=wesj
2012-06-15 15:34:22 -07:00
Brad Lassey
6b0fea71be
bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding r=kats,cjones
2012-06-14 09:08:51 -07:00
Kartikaya Gupta
0cb90ae73c
Bug 753444 - Remove device-space page rect from setPageRect as it is not needed. r=jrmuizel
2012-06-13 13:49:40 -04:00
Brad Lassey
f6011a1f0c
backing out bug 755070 for potential talos panning regression
2012-06-05 22:55:18 -04:00
Brad Lassey
4843b18f6e
bug 761399 - RefCountedJavaObject::mRefCnt is not initialized r=kats
...
--HG--
extra : rebase_source : 901a1ca9e69f08b3f049c565a01fd338edffb11b
2012-06-05 14:59:01 -04:00
Brad Lassey
ce87155cc1
bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding, only update dirty rects, reuse a single bytebuffer and stop using java bitmaps r=kats
...
--HG--
extra : rebase_source : a8eb542ef7a9f6c86e9766db7276a76dd8f038ee
2012-06-04 11:56:31 -04:00
Kartikaya Gupta
9583637c8e
Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats
2012-05-23 10:51:39 -04:00
Kartikaya Gupta
15d02d35fd
Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage
2012-05-23 11:08:19 -04:00
Kartikaya Gupta
c9a4698bf1
Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats
2012-05-23 10:51:39 -04:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Kartikaya Gupta
525f0996e5
Bug 752539 - Pass in the AutoLocalJNIFrame to some methods that implicitly require it. r=blassey
2012-05-08 09:35:59 -04:00
Kartikaya Gupta
9e0912a5b8
Bug 748531 - Guard against exceptions in JNI. r=blassey
2012-05-04 11:08:47 -04:00
Kartikaya Gupta
11f7f5ffbc
Bug 748531 - Propagate the JNIEnv through DrawWindow*lay helpers instead of unnecessarily re-calling GetJNIForThread everywhere. r=blassey
2012-05-04 11:08:46 -04:00
Brad Lassey
1bb14ac9e9
bug 746016 - Cache low res version of the page in the java ui for use instead of checkerboarding r=kats
...
--HG--
extra : rebase_source : d6de0327a46393cd4cfc327dea5689364744a71d
2012-04-24 15:13:36 -04:00
Kartikaya Gupta
0c471f99af
Bug 748189 - Call GetJNIForThread less often on a hot code path. r=blassey a=blassey
2012-04-23 21:06:41 -04:00
Joe Drew
7e925aa0ce
Bug 744916 - Make the Java viewport keep track of its size in both CSS pixels and device pixels. r=kats
...
--HG--
extra : rebase_source : f733c2a4eadaeaa9c845b83886af8ab335250f85
2012-04-12 16:00:56 -04:00
Chris Peterson
cabfc7d316
Bug 742036 - Part 2: Add AndroidGeckoEvent::RepeatCount() for KeyEvents. r=masayuki,blassey a=blocking-fennec
...
--HG--
extra : rebase_source : 64059f8f6a31446d7ba0d23fe6e89cfc4716dd23
2012-04-19 13:55:33 -07:00
Chris Peterson
687087bdaa
Bug 742036 - Part 1: Convert Android keycodes to DOM/NS_VK keycodes. r=masayuki a=blocking-fennec
...
--HG--
extra : rebase_source : 58b581eb97d82bea46f238213599b7bea2f6a78f
2012-04-19 13:34:03 -07:00
Ed Morley
75710bb624
Backout 4e26b559d215, d74da7b4bf10 & d91d3787a3ef (bug 742036) for xul android failures; a=backout
2012-04-19 12:50:46 -07:00
Chris Peterson
2a5fed50e9
Bug 742036 - Part 2: Add AndroidGeckoEvent::RepeatCount() for KeyEvents. r=masayuki,blassey a=blocking-fennec
...
--HG--
extra : rebase_source : 8ff6cd6d3e4688570b41fe9e5233ea26fdf417ed
2012-04-19 09:56:04 -07:00
Chris Peterson
7523f8d2e9
Bug 742036 - Part 1: Convert Android keycodes to DOM/NS_VK keycodes. r=masayuki a=blocking-fennec
...
--HG--
extra : rebase_source : 8c8e8fbf4dd6bd0bfc67e621a1f24788d93ec5b1
2012-04-18 10:15:15 -07:00
Brad Lassey
3ea539bbc0
bug 721654 - Crash in mozilla::AndroidBridge::HandleGeckoMessage, follow up to require a JNI env for nsJNIString constructor r=kats
2012-04-16 18:31:05 -04:00
Ali Juma
626e4c40a7
Bug 735230 - Part 2: Add compositor pause/resume events to Gecko. r=kats
2012-03-28 18:00:32 -04:00
Doug Turner
48377143f6
Bug 734854 - Merge PROXIMITY_EVENT with SENSOR_EVENT. r=jdm
2012-03-20 23:36:17 -07:00
Doug Turner
b1e4247d44
Bug 735330 - move device motion from dom/system to hal. r=jdm
...
* * *
Bug 735330 - move device motion from dom/system to hal. cocoa bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. window/qt/linux bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. move accuracy into sensor data. support compassneedscalibration. r=jdm
--HG--
rename : dom/system/cocoa/smslib.h => hal/cocoa/smslib.h
rename : dom/system/cocoa/smslib.mm => hal/cocoa/smslib.mm
2012-03-20 23:36:17 -07:00
Matt Brubeck
388850e1f0
Back out bug 735330, bug 737462, bug 734854 because they broke XUL Fennec
...
--HG--
rename : hal/cocoa/smslib.h => dom/system/cocoa/smslib.h
rename : hal/cocoa/smslib.mm => dom/system/cocoa/smslib.mm
2012-03-20 16:59:24 -07:00
Doug Turner
025215fba6
No Bug - Build bustage due to merge of bug 734854. Resync GeckoEvent and AndroidJavaWrappers. r=mbrubeck
...
--HG--
extra : rebase_source : a50129a4a28d6c207c61ba04bbbc149e8d74f977
2012-03-20 15:26:19 -07:00
Doug Turner
d6660fc94b
Bug 734854 - Merge PROXIMITY_EVENT with SENSOR_EVENT. r=jdm
2012-03-20 14:51:06 -07:00
Doug Turner
075acfd9f5
Bug 735330 - move device motion from dom/system to hal. r=jdm
...
* * *
Bug 735330 - move device motion from dom/system to hal. cocoa bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. window/qt/linux bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. move accuracy into sensor data. support compassneedscalibration. r=jdm
--HG--
rename : dom/system/cocoa/smslib.h => hal/cocoa/smslib.h
rename : dom/system/cocoa/smslib.mm => hal/cocoa/smslib.mm
2012-03-20 14:46:14 -07:00
Mounir Lamouri
d07b010629
Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt
2012-03-20 14:09:45 +01:00
Kartikaya Gupta
af2f6c1900
Bug 731603 - Save the display port and resolution in the VirtualLayer's mPosition and mResolution fields. r=Cwiiis
2012-03-20 00:07:42 -04:00
Kartikaya Gupta
fdeefb7eab
Bug 731603 - Propagate a layersUpdated flag to Java for robocop use. r=ajuma
2012-03-20 00:06:56 -04:00
Kartikaya Gupta
a9fe2cdfa1
Bug 731603 - Propagate the resolution of the painted content into syncViewportInfo as well. r=Cwiiis
2012-03-20 00:05:45 -04:00
Mark Finkle
5d52d341f9
Backout 7e28d1a2c648, 330b210f503d, 2421d39e0ab3, aa978ffa44bc, 38a71ae7e06d, b94319584a7a, 7e8278f5e814, 0b4e3c7608ab, 329c07609ca8, 0d61a0d8dba4, Due to Ts regression on Android
2012-03-17 21:51:39 -04:00
Mounir Lamouri
7948b3ca37
Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt
2012-03-16 19:43:10 +01:00
Chris Lord
e15085320f
Bug 732756 - Fix overdrawing of checkerboard. r=kats
...
Fix overdrawing of the checkerboard layer by letting layers have a concept of
a display-port, and keeping the root layer's display port in track with
Gecko's.
2012-03-17 15:08:22 +00:00
Ryan VanderMeulen
f814a9a7f4
Backout d5b66e64cf44 (bug 732756) to see if it fixes Android crashtests.
2012-03-16 17:17:22 -04:00
Chris Lord
99c7ccb3f4
Bug 732756 - Fix overdrawing of checkerboard. r=kats
...
Fix overdrawing of the checkerboard layer by letting layers have a concept of
a display-port, and keeping the root layer's display port in track with
Gecko's.
2012-03-16 16:30:23 +00:00
Kartikaya Gupta
a96a6f4142
Bug 725095 - Merge off-main-thread compositor from Maple. IGNORE BAD COMMIT MESSAGES
2012-03-14 11:18:15 -04:00
Kartikaya Gupta
7f9577b642
Bug 725095 - Address review comments in the widget code. r=blassey
...
- Rip out a lot of unused code in AndroidFlexViewWrapper.*
- Simplify the GetViewTransform JNI code
- Move the references to CompositorParent and CompositorThread from AndroidBridge to nsWindow
- Remove a bunch of logging and add some assertions and comments
2012-03-14 00:15:11 -04:00
Kartikaya Gupta
f656be8dcd
Bug 733896 - Together with 580381e2805c, this completely backs out b520f34d78f1 and 4f5bd60be09e. r=ehsan
2012-03-12 14:42:37 -04:00
Kartikaya Gupta
00f07c4874
Bug 732091 - Part 4: Add JNI-exposed functions on GeckoLayerClient to allow the compositor to update various properties. r=Cwiiis
2012-03-12 11:50:21 -04:00
Kartikaya Gupta
84fb3cf88b
Take out the code that allows Java to further clip the invalid rect based on visible area.
...
This code is never used because the invalid rect we pass to DrawTo is ignored;
the nsLayoutUtils::PaintFrame uses the display port as the visible region to
paint instead. (http://mxr.mozilla.org/mozilla-central/source/layout/base/nsLayoutUtils.cpp#1603 )
2012-02-26 10:47:45 -05:00
Kartikaya Gupta
c9cea8f661
Remove unused parameters passed to endDrawing
2012-02-24 12:11:29 -05:00
Kartikaya Gupta
fd722ba218
Pull out tile dimensions being passed around uselessly
2012-02-24 10:51:41 -05:00
Kartikaya Gupta
25c7f69e08
Bug 730033 - Rip out WidgetTileLayer and associated gunk. r=snorp
2012-02-23 14:55:15 -05:00
Kartikaya Gupta
0741d7041c
Completely collapse GeckoGLLayerClient into GeckoLayerClient.
2012-02-22 14:45:44 -05:00
Ehsan Akhgari
f91a97e24e
Backout changeset b520f34d78f1 but keep the callback parts because they may be useful for other things
2012-02-22 11:35:25 -05:00
Brad Lassey
5e1b54e662
bug 728614 - Refactor viewport implementation to remove js parts of the implementation r=dougt
2012-02-18 18:32:50 -05:00
Benoit Girard
e226b505b4
Backout c1161ca4bf13 for test failures
2012-02-21 11:34:00 -05:00
Brad Lassey
811a2ca0bd
Bug 728614 - Part 0: Allow querying the viewport information from Java; r=dougt
2012-02-18 19:22:56 -05:00
Ehsan Akhgari
5669433518
Backout changeset c1161ca4bf13
2012-02-20 16:37:51 -05:00
Brad Lassey
d2ce9f3890
[mq]: meta_viewport_query
...
--HG--
extra : rebase_source : 586dfca0cf7d9446e532ecfa38fd126225db36b9
2012-02-18 18:32:50 -05:00
Brad Lassey
e5e9a2b04c
merge from mozilla-central
2012-02-18 17:29:33 -05:00
Brad Lassey
0ad51deb55
backing out e45688c8531c because it broke the build
2012-02-18 14:21:48 -05:00
Patrick Walton
c18e9e380e
Stub untested gralloc support, disabled for now
2012-02-17 23:53:21 -08:00
Kartikaya Gupta
7ae132d853
Rip out unused GeckoSoftwareLayerClient since we've committed to GL layers.
2012-02-17 09:04:50 -05:00
Kartikaya Gupta
54ec96eba6
Put back some things left out of dougt's merge
2012-02-17 01:36:49 -05:00
Doug Turner
3f133bfdd1
Merge with mozilla-central
2012-02-16 18:06:54 -08:00
Brad Lassey
ccbe98dba8
bug 726930 - speed up tab thumbnails r=mfinkle
2012-02-17 10:52:26 -08:00
Patrick Walton
2f48494641
Fix scissor rect and use the Java compositor's cached viewport metrics when drawing decorations
2012-02-13 20:20:38 -08:00
Patrick Walton
9192420dcd
Expose ActivateProgram() and DeactivateProgram() to widget
2012-02-13 13:55:10 -08:00
Patrick Walton
985bb34c3b
Implement the rendering hooks for Java compositor integration. Currently segfaulting, so ifdef'd out.
2012-02-09 23:55:13 -08:00
Patrick Walton
f87504cb9a
Expose the necessary Java routines to render decorations through JNI
2012-02-09 22:58:18 -08:00
Benoit Girard
f470edbef2
Merge m-c into maple
2012-02-08 16:43:22 -05:00
Patrick Walton
a57b590b7d
Stand up async panning and zooming
2012-02-03 23:31:05 -08:00
Patrick Walton
85f93648a7
Add a virtual layer and GL layer client implementation
2012-02-03 15:48:26 -08:00
Patrick Walton
08a46d3640
Eliminate coupling between the software layer client and the rest of Fennec
2012-02-02 23:30:41 -08:00
Patrick Walton
93b70fee0c
Pull parts of GeckoSoftwareLayerClient that will be used for GL layers into a generic GeckoLayerClient class
2012-02-02 22:07:05 -08:00
Doug Turner
49f90f168c
Bug 734324 - implement device motion - rotation rate and acceleration. r=jdm
2012-03-13 16:57:51 -07:00
Doug Turner
b8e66a3424
Bug 734325 - implement compassneedscalibration event. r=jdm
2012-03-13 16:57:09 -07:00
Doug Turner
0d7cf15ad0
Bug 733652 - Remove geolocation address handling (v2). Little adoption, costly implementation r=jdm
2012-03-08 22:16:25 -08:00
Ed Morley
1f10388ce3
Backout 8b74d5ae78c3 & c619bbb2951f (bug 734391), 772c994fa869 (bug 734324), fd23ff0f9dd1 (bug 734325), d1e037a9390e (bug 733653), 3a7bf79b5b2d (bug 733650) & 9d9392fce538 (bug 733652) for OS X M1 & M3 orange
2012-03-13 22:29:29 +00:00
Doug Turner
10f24217b7
Bug 734324 - implement device motion - rotation rate and acceleration. r=jdm
2012-03-13 10:00:02 -07:00
Doug Turner
3e44310837
Bug 734325 - implement compassneedscalibration event. r=jdm
2012-03-13 09:59:24 -07:00
Doug Turner
375ef173be
Bug 733652 - Remove geolocation address handling (v2). Little adoption, costly implementation r=jdm
2012-03-08 22:16:25 -08:00
Sinker Li
fc33cc169a
Bug 697641, part 4: Pass sensor events from Android to Gecko. r=cjones
2011-10-29 10:35:29 +00:00
Chris Lord
6a02ed7ca5
Bug 724230 - Backout ondemand tiling. r=blassey, kats
...
This backs out changes d8fc13006aa4, ddde7a49f6f7, 34b1cc9454d2 and
8919c54229e1, leaving in some initialisation fixes that were introduced when
rebasing.
This work may be re-applied at a later date.
2012-02-04 18:49:59 -05:00