Commit Graph

190 Commits

Author SHA1 Message Date
Ryan VanderMeulen
0cfa34ad65 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
9833d79df2 Bug 913985: Part 6 - Remove redundant AndroidBridge::Bridge() checks. r=kats; DONTBUILD 2013-09-27 10:10:47 -04:00
Chris Kitching
9eed6c7f16 Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-09-27 10:10:37 -04:00
Kartikaya Gupta
9a58f0b9f9 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
625a9ad2fa Bug 913985: Part 6 - Remove redundant AndroidBridge::Bridge() checks. r=kats 2013-09-27 10:10:47 -04:00
Chris Kitching
0d37cfdd60 Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-09-27 10:10:37 -04:00
Masayuki Nakano
da7066887d Bug 920377 part.13 Get rid of nsTouchEvent r=roc 2013-09-27 15:20:57 +09:00
Masayuki Nakano
a362049807 Bug 912956 part.13 mozilla/TouchEvents.h should be included directly r=roc 2013-09-25 20:21:16 +09:00
Nathan Froyd
fab1bdab29 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
458eb54803 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
7dbe9f49c7 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
Benoit Jacob
5479e2b22e Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel 2013-09-06 22:15:49 -04:00
Wes Johnston
ecaf25c61d Bug 896350 - Use the event queue when adding notification observers. r=blassey 2013-09-05 12:32:04 -07:00
Nathan Froyd
b6dfe59d55 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
8dc166a974 Bug 906088 - part 3 - add Preferences events to AndroidGeckoEvent; r=blassey 2013-08-16 11:24:30 -04:00
Nathan Froyd
30f618db34 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
e8c01583d7 Bug 905759 - part 2 - add Telemetry-specific GeckoEvent and related machinery; r=blassey 2013-08-15 15:03:47 -04:00
Chris Lord
8c0e0a398a Bug 886298 - Convert Layers fixed position margins to typed units. r=kats 2013-07-22 09:50:13 +01:00
Patrick McManus
8c2b280e9b 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
dcd5272bcc Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe 2013-06-21 17:03:56 -04:00
Ryan VanderMeulen
5ee79e7c80 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
f4bbce6956 Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe 2013-06-20 16:10:58 -04:00
Brad Lassey
a4e4a1b3a4 bug 884792 - crash in nsXPCWrappedJS::Release, removeObserver being called off main thread r=kats 2013-06-19 13:55:35 -04:00
Brad Lassey
b14200f199 bug 882196 - Android crash in nsXPCWrappedJS::AddRef, remove nsAppShell::NotifyObservers r=kats 2013-06-17 17:09:09 -04:00
Brad Lassey
c042612d73 bug 882196 - Android crash in nsXPCWrappedJS::AddRef, remove nsAppShell::CallObservers r=snorp 2013-06-15 17:40:27 -04:00
Kartikaya Gupta
e2fabdb5d0 Bug 880676 - Convert another gfx::Point to a ScreenPoint. r=BenWa 2013-06-14 16:11:29 -04:00
Kartikaya Gupta
c78c6af9f4 Bug 785929 - Kill FrameMetrics.mContentRect. r=kentuckyfriedtakahe 2013-06-11 09:46:51 -04:00
Kartikaya Gupta
8125a1cac7 Bug 879004 - Convert mDisplayport and mCriticalDisplayport in FrameMetrics to CSSRects. r=BenWa 2013-06-10 09:05:42 -04:00
Kartikaya Gupta
a470c3e0a4 Bug 877728 - Make the screen render offset a ScreenPoint. r=BenWa 2013-06-03 10:00:02 -04:00
Kartikaya Gupta
94f09001ff Bug 877728 - Convert the page rect passed to SetFirstPaintViewport to LayerIntRect. r=BenWa 2013-06-03 09:58:34 -04:00
Kartikaya Gupta
3bec007d2f Bug 877728 - Convert a couple of nsInt* variables to LayerInt*. r=BenWa 2013-06-03 09:58:07 -04:00
Kartikaya Gupta
d45ced53de 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
83f51d55ac Bug 877728 - Convert some CSS rects passed to Java from gfx::Rect to CSSRect. r=BenWa 2013-06-03 09:52:44 -04:00
Kartikaya Gupta
e10ad61242 Bug 797615 - Guard against isBrowserContentDocumentDisplayed returning true prematurely. r=Cwiiis
Prior to this change, isBrowserContentDocumentDisplayed returned false
from the time that the isFirstPaint flag was set in layout to the time
that layout handed off the rendered document to the compositor. However
the way the function is used meant that it needs to return false until
the compositor actually composites the "first-paint" rendering,
otherwise other events can sneak in and run before the compositor. This
patch moves the tracking for the flag into GeckoLayerClient so that it
can be queried and modified synchronously from both the Gecko thread in
browser.js and the compositor thread in setFirstPaintViewport.
2013-05-30 09:55:23 -04:00
David Zbarsky
66e862daca Bug 864206 - Use dom::Touch instead of nsIDOMTouch where possible r=Ms2ger 2013-05-17 13:17:53 -07:00
Kartikaya Gupta
a9d47b89e9 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
d180460690 Bug 839641 - Implement handling for APZC-reported gestures. r=Cwiiis 2013-04-26 13:26:46 -04:00
Kartikaya Gupta
082f9b2c93 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
7efe0d8d53 Bug 839641 - Send touch events and prevent-default notifications to APZC. r=Cwiiis 2013-04-26 13:24:28 -04:00
Chris Lord
b365c94dfd 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
9cccb1d7a4 Backed out changeset 684a5ca2efb7 (bug 858969) for Android M3 failures.
CLOSED TREE
2013-04-25 10:56:54 -04:00
Chris Lord
e0579b7ab8 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
16051b73ff 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
41a03d9147 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
cc503ad686 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
1cc2789fc5 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
e29772e27b 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
0a2d8d2c6c 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
641aee515e Bug 842013 - Buffer IME key events and dispatch them at once; r=cpeterson 2013-03-29 10:54:01 -04:00
Jim Chen
f3ae465a41 Bug 842013 - Don't add extra modifiers to key press events; r=cpeterson 2013-03-29 10:54:01 -04:00