Commit Graph

241 Commits

Author SHA1 Message Date
Jim Chen
b525dfa4c0 Bug 1296744 - Update auto-generated bindings; r=me 2016-08-26 12:26:46 -04:00
Jim Chen
2256784f55 Bug 1297836 - Get surface when creating or resuming compositor; r=snorp
Get rid of LayerView.Compositor.getSurface and just pass in the surface
when creating or resuming the compositor. That also lets us get rid of
some synchronization required for getSurface.
2016-08-26 12:25:57 -04:00
Jim Chen
67eb1b9a4d Bug 1297836 - Don't use WindowEvent for LayerViewSupport; r=snorp
Now that nsWindow doesn't own LayerViewSupport, we shouldn't be using
WindowEvent for LayerViewSupport calls. This patch converts the calls
that dispatch to proxy to dispatch directly to Gecko. For
SyncResumeResizeCompositor, it used a proxy to call OnResumedCompositor
on the Gecko thread; this patch makes SyncResumeResizeCompositor post an
event to call OnResumedCompositor directly, without going through the
proxy.
2016-08-26 12:25:57 -04:00
Jim Chen
fbf8a6fdc0 Bug 1297462 - Combine Java exception stack code paths; r=snorp
Right now we report Java exception stacks through two code paths:
- GeckoAppShell.reportJavaCrash for exceptions caught by Java code
- jni::HandleUncaughtException for exceptions caught by native code

This patch combines the code for reporting the Java stack trace into
ReportException, to make it easier to add new features such as reporting
OOM exceptions.
2016-08-26 12:25:57 -04:00
Jim Chen
498e722e44 Bug 1297462 - Always handle uncaught Java exception in native code if possible; r=snorp
We used to only handle certain exceptions in native code, and otherwise
forward the exception to Java handling code. Handling exceptions in
native code gives us better native stack traces in crash reports, so
this patch makes us always handle uncaught Java exceptions in native
code if possible, and only forward to Java as a fallback.
2016-08-26 12:25:57 -04:00
Randall Barker
db31614cf1 Bug 1297850 - part 1, Remove dead code left behind after JPZ removal. r=jchen 2016-08-25 17:26:42 -07:00
Wes Kocher
0003442039 Backed out 2 changesets (bug 1297850) for robocop bustage a=backout CLOSED TREE
Backed out changeset e83c9eb279a9 (bug 1297850)
Backed out changeset 979694026137 (bug 1297850)
2016-08-25 11:29:35 -07:00
Randall Barker
8ff0253575 Bug 1297850 - part 1, Remove dead code left behind after JPZ removal. r=jchen 2016-08-25 08:14:52 -07:00
Jim Chen
bc288d3a58 Bug 1296757 - Correctly resume compositor when reattaching; r=snorp
We need to set the compositor-created flag in LayerView correctly when
reattaching to a new LayerView, so that we resume the compositor instead
of trying to create the compositor again, which we already did
previously.

This patch consists of general code cleanup and a new reattach method in
LayerView.Compositor that we call in order to set the compositor-created
flag correctly.
2016-08-23 18:55:12 -04:00
Jim Chen
5fe4f13c68 Bug 1294481 - Update auto-generated bindings; r=me 2016-08-23 18:52:30 -04:00
Jim Chen
e38ae29d8c Bug 1294479 - Update auto-generated bindings; r=me 2016-08-19 17:17:25 -04:00
Jim Chen
596e7c053f Bug 1294077 - Move reportJavaCrash out of AndroidJNI.cpp; r=snorp
Move reportJavaCrash out of AndroidJNI.cpp and re-implement it as a
native method in GeckoAppShellSupport.
2016-08-18 18:04:11 -04:00
Jim Chen
d4e1b42fc2 Bug 1294482 - Move onFullScreenPluginHidden out of AndroidJNI.cpp; r=snorp
Move onFullScreenPluginHidden out of AndroidJNI.cpp and into a new-style
native method in nsAppShell.cpp.
2016-08-18 18:04:11 -04:00
Jim Chen
73e0f51a47 Bug 1294071 - Move dispatchMemoryPressure out of GeckoAppShell; r=snorp
Move dispatchMemoryPressure out of GeckoAppShell and AndroidJNI.cpp
2016-08-18 18:04:11 -04:00
Jim Chen
1671e63e09 Bug 1294069 - Move notifyBatteryChange out of GeckoAppShell; r=snorp
Move notifyBatteryChange out of GeckoAppShell and AndroidJNI.cpp.
2016-08-18 18:04:11 -04:00
Jim Chen
0f6e2b3262 Bug 1294710 - Move UI thread methods out of GeckoAppShell; r=snorp
Move methods to run callbacks on UI thread out of GeckoAppShell and into
GeckoThread.
2016-08-18 18:04:11 -04:00
Jim Chen
6e6df6e554 Bug 1293709; r=snorp 2016-08-18 18:03:04 -04:00
Wes Kocher
bad19898b2 Merge inbound to central, a=merge 2016-08-17 16:38:41 -07:00
John Lin
bdec8a186d Bug 1257777 - Part 4: Implement remote codec proxy. r=snorp
MozReview-Commit-ID: 3YEfXXkg2Xi
2016-08-05 15:23:47 +08:00
Randall Barker
e10d02e6a1 Bug 1291373 - [geckoview] part 5, Remove Layer and all derived classes r=snorp 2016-08-16 14:33:43 -07:00
Randall Barker
7045fbd83c Bug 1291373 - [geckoview] part 4, Remove GeckoEvent and AndroidGeckoEvent r=jchen 2016-08-16 14:33:43 -07:00
Randall Barker
91a74382de Bug 1291373 - [geckoview] part 1, Remove JavaPanZoomController (JPZ) from mobile/android r=snorp 2016-08-16 14:33:43 -07:00
Jim Chen
c405849f27 Bug 1292323 - Update auto-generated bindings; r=me 2016-08-12 23:15:52 -04:00
James Cheng
81fd6a9506 Bug 1291229 - Fix typo for moving Java bindings to mozilla::java namespace. r=jchen
MozReview-Commit-ID: KGAS6EhnwAI
2016-08-05 13:23:44 -04:00
Jim Chen
fd39f9eecd Bug 1288821 - Update auto-generated bindings; r=me 2016-08-04 09:17:54 -04:00
Jim Chen
d58d9926fa Bug 1289208 - Updated auto-generated bindings; r=me 2016-08-04 09:16:05 -04:00
Jim Chen
6c5de75ffe Bug 1288838 - Update auto-generated bindings; r=me 2016-08-04 09:16:05 -04:00
Jim Chen
e321599de7 Bug 1288834 - Update auto-generated bindings; r=me 2016-08-04 09:15:17 -04:00
Dylan Roeh
9e9bc6c4fc Bug 1288467 - This patch removes GLController.java entirely, moving necessary functionality into LayerView and a new Compositor class. r=jchen 2016-08-01 13:21:31 -05:00
Makoto Kato
fe38bc42a3 Bug 1094729 - Part 2. Support floating candidate window for hardware keyboard on Android 5+. r=jchen
MozReview-Commit-ID: G148os7J9wO
2016-07-20 16:19:05 +09:00
Jim Chen
e8f534d407 Bug 1287946 - Update existing code to use mozilla::java; r=me 2016-07-21 13:49:04 -04:00
Jim Chen
79eafd36cc Bug 1286663 - Update auto-generated bindings; r=me 2016-07-21 13:49:04 -04:00
Jim Chen
9e607e9dd3 Bug 1286663 - Update existing code using ByteBuffer; r=me 2016-07-21 13:49:04 -04:00
Carsten "Tomcat" Book
be31f19100 Backed out changeset 7cd055ed9366 (bug 1286663) for android bustage on a CLOSED TREE 2016-07-21 08:18:59 +02:00
Carsten "Tomcat" Book
58f5467519 Backed out changeset 684888aeee81 (bug 1287946) 2016-07-21 08:07:12 +02:00
Carsten "Tomcat" Book
23452a33ea Backed out changeset 3f8cf0d3f2c2 (bug 1286663) 2016-07-21 08:04:53 +02:00
Jim Chen
0ea27022be Bug 1287946 - Update existing code to use mozilla::java; r=me 2016-07-21 00:42:26 -04:00
Jim Chen
b8c75203c9 Bug 1286663 - Update auto-generated bindings; r=me 2016-07-21 00:41:13 -04:00
Jim Chen
3bd23d057b Bug 1286663 - Update existing code using ByteBuffer; r=me 2016-07-21 00:41:13 -04:00
Jim Chen
680806ff8d Bug 1286925 - Update auto-generated bindings; r=me 2016-07-20 21:44:48 -04:00
Jim Chen
dd63891991 Bug 1286662 - Update auto-generated bindings; r=me 2016-07-20 21:44:48 -04:00
Jim Chen
7aa08a63cc Bug 1285572 - Update auto-generated bindings; r=me 2016-07-20 21:43:34 -04:00
Makoto Kato
66fe04ad33 Bug 1287015 - Part 1. Remove SurfaceBits and getSurfaceBits. r=snorp
MozReview-Commit-ID: 2dFvgwxavgx
2016-07-15 11:02:04 +09:00
Jim Chen
fb41a18c20 Bug 1285570 - Update auto-generated bindings; r=me 2016-07-11 18:07:35 -04:00
Jim Chen
d04f4615d5 Bug 1283882 - Update auto-generated bindings; r=me 2016-07-08 11:39:10 -04:00
Jim Chen
7da8c5960a Bug 1283844 - Update auto-generated bindings; r=me 2016-07-08 11:39:09 -04:00
Nick Alexander
357e508d4d Bug 1281890 - Allow setting chromeURI from Java. r=snorp
The intention is that GeckoView consumers will not use browser.xul,
but instead geckoview.xul; and that they'll provide content URLs from
their assets/ directories.  This lets them do things without modifying
the omnijar and in particular without setting Gecko's prefs *before*
Gecko startup.

MozReview-Commit-ID: 2QLQQ5RphFu
2016-06-23 12:05:17 -07:00
James Willcox
54460839a2 Bug 1280666 - Expose velocity (speed) from StackScroller and use in APZC r=rbarker 2016-06-29 17:09:55 -07:00
James Willcox
434061519c Bug 1280666 - Use StackScroller from Chrome for fling animations r=rbarker 2016-06-29 17:09:55 -07:00
Jim Chen
c39053e8a2 Bug 1277624 - Update auto-generated bindings; r=me 2016-06-27 14:49:55 -04:00