Commit Graph

96 Commits

Author SHA1 Message Date
Jim Chen
d96ece071c Bug 1192082 - Get rid of GeckoAppShell.nativeInit; r=snorp
Instead of letting AndroidBridge be constructed separately, we'll let
Gecko construct AndroidBridge.
2015-08-13 00:53:39 -04:00
Jim Chen
66f815f56b Bug 1192082 - Expose GeckoThread states to C++; r=me 2015-08-13 00:53:39 -04:00
Jim Chen
3619ab253f Bug 1189995 - Move GeckoAppShell.pumpMessageLoop to GeckoThread; r=esawin
This method is used by Gecko to pump the Android message loop, and it's
also more suited to GeckoThread than GeckoAppShell.
2015-08-13 00:53:39 -04:00
Jim Chen
bb1366b29c Bug 1189995 - Move GeckoAppShell.runGecko to GeckoThread; r=esawin
GeckoAppShell.runGecko really should be in GeckoThread because
GeckoThread already takes care of most of the preparation when running
Gecko. This patch merges runGecko into GeckoThread.run, but split the
argument-building code into its own method.
2015-08-13 00:53:39 -04:00
Jim Chen
476323062b Bug 1191083 - Merge pending events handling into mechanism for queued native calls: r=snorp
Right now we have a separate way of handling pending events before Gecko
is loaded. We can merge that into the new mechanism for queuing native
calls.
2015-08-13 00:53:38 -04:00
Jim Chen
073509c136 Bug 1191083 - Add mechanism to queue native calls in GeckoThread; r=snorp
We cannot call native methods until Gecko is loaded. This patch adds a
mechanism in GeckoThread so that other code can queue up native method
calls and have those calls automatically delivered when Gecko is ready.
2015-08-13 00:53:38 -04:00
Jim Chen
21228b0730 Bug 1191083 - Implement more GeckoThread states; r=snorp
Implement the MOZGLUE_READY and JNI_READY states in GeckoThread. Also
change GeckoJavaSampler to use the new states instead of a separate
flag.
2015-08-13 00:53:38 -04:00
Jim Chen
cea34e4151 Bug 1191083 - Rename and expand GeckoThread.LaunchState; r=snorp
GeckoThread.LaunchState now covers the entire GeckoThread lifetime and
not just launch, so it's renamed to GeckoThread.State. More utility
methods are added to check for the current state.
2015-08-13 00:53:38 -04:00
Mark Capella
7800d0949d Bug 1191872 - Move annotations to org.mozilla.gecko.annotation package, r=jchen 2015-08-10 19:19:51 -04:00
Jim Chen
2275d2a50e Bug 1166309 - Move mozglue loading to GeckoThread; r=snorp 2015-06-10 00:25:01 -04:00
Jim Chen
13969fb4ad Bug 1157908 - Optimize pumpMessageLoop call to use less JNI; r=snorp 2015-04-27 20:52:52 -04:00
Ryan VanderMeulen
177d63cb25 Backed out changesets a486dcc9c233 and 7164a2488b28 (bug 1157908) for various Android test failures.
CLOSED TREE
2015-04-24 16:01:17 -04:00
Jim Chen
b537669366 Bug 1157908 - Optimize pumpMessageLoop call to use less JNI; r=snorp 2015-04-24 14:40:55 -04:00
Jim Chen
13c9dceb1e Bug 1150693 - Initialize GeckoThread before registering GeckoApp events before launching Gecko; r=snorp 2015-04-22 11:30:13 -04:00
Jim Chen
9a521edcaa Bug 1150693 - Avoid possible race condition when sending pending Gecko events; r=snorp 2015-04-22 11:30:13 -04:00
Jim Chen
d3b4ff35a7 Bug 1152308 - Quit or restart after GeckoApp activity is destroyed; r=snorp 2015-04-17 12:22:47 -04:00
Mark Finkle
35dd4aa605 Bug 937253 - Remove old unused WebApp code paths r=wesj 2015-01-07 23:52:31 -05:00
Richard Newman
4ac3e4a01e Bug 1101527 - Don't set locales after Gecko startup. r=nchen,bnicholson 2014-11-24 22:16:26 -08:00
Ryan VanderMeulen
29dbcceb44 Backed out changesets f6de43db6fcf, 47755f2acbc4, and aa6ed82c6aa4 (bug 1075644) for being the likely cause of bug 1085627 (and other webaudio timeouts with that test disabled). 2014-10-28 14:45:25 -04:00
Jim Chen
e5d3b0ef13 Bug 1075644 - Reduce Gecko thread priority at very start; r=snorp r=bnicholson 2014-10-20 12:55:30 -04:00
Wes Kocher
5428f22521 Backed out 3 changesets (bug 1075644) for Android build bustage on a CLOSED TREE
Backed out changeset c44f001ea6c1 (bug 1075644)
Backed out changeset ca0dfff936c2 (bug 1075644)
Backed out changeset 47264e561dce (bug 1075644)
2014-10-17 11:33:15 -07:00
Jim Chen
f86551b4b4 Bug 1075644 - Reduce Gecko thread priority at very start; r=snorp r=bnicholson 2014-10-17 12:46:35 -04:00
Chris Kitching
5d126e171c Bug 1081397: Finalise large numbers of fields. r=rnewman
* * *
Bug 1081397: Finalise large numbers of fields. r=rnewman
2014-10-11 00:17:01 +01:00
Jim Chen
845bbbf018 Bug 888482 - Make sure default profile exists when starting Gecko; r=snorp 2014-09-30 18:20:59 -04:00
Kartikaya Gupta
0f0869d9a4 Bug 1049136 - Add native-code awareness of the Java UI thread so we can do thread assertions. r=snorp 2014-08-08 18:15:38 -04:00
Chris Kitching
0a99bd4d0c Bug 1041906 Use AtomicReference for GeckoThread LaunchState. r=rnewman 2014-07-22 15:49:00 -07:00
Shashank Sabniveesu
1b2dd2f05b Bug 1026010 - Rename GeckoApp.ACTION_BOOKMARK to ACTION_HOMESCREEN_SHORTCUT. r=lucasr 2014-06-25 09:10:00 -04:00
Richard Newman
cc16794c09 Bug 1004529 - Don't fetch display metrics when calling Resource.updateConfiguration. r=nalexander 2014-05-20 12:25:21 -07:00
Matthew Ostrowski
5e0eb0b153 Bug 1006824 - Don't log command line at start-up in official builds. r=nalexander 2014-05-19 14:11:00 +02:00
Jim Chen
e4d1c9a6fc Bug 1004073 - Refactor EventDispatcher usages; r=fennec-team 2014-05-02 14:34:40 -04:00
Richard Newman
bd939abf26 Bug 949495 - Rework context handling. r=mfinkle 2014-04-02 18:33:24 -07:00
Kartikaya Gupta
ad34caf39f Bug 912238 - Ignore exceptions that are thrown after calling System.exit. r=mfinkle 2014-02-27 08:49:51 -05:00
Chris Kitching
068964b99f Bug 709230 - Part 3: annotate the remaining Robocop entry points. r=gbrown,rnewman 2013-11-18 21:09:00 -08:00
Brian Nicholson
d9b2fbbbd8 Bug 937945 - Don't store Context in GeckoProfile. r=rnewman 2013-11-15 22:53:53 -08:00
Brad Lassey
57f00f50d7 bug 930070 - GeckoView should handle not having fennec-specific classes r=mfinkle 2013-10-23 18:33:56 +02:00
Wes Johnston
97d94f804d Bug 901426 - Don't overwrite passed in profile args. r=mfinkle 2013-09-05 12:28:23 -07:00
Mark Finkle
f79ea64c77 Backout 193e7c0052a9, suspicion of regression a talos test (bug 910274) and sync failures (bug 910289) 2013-08-28 12:10:07 -04:00
Shilpan Bhagat
155854beca Bug 886925 - Use Symlink instead of INIparser for GeckoProfile. r=mfinkle 2013-08-27 11:05:56 -07:00
Wes Johnston
b22cdae05a Bug 896121 - Disable share in guest mode. r=mfinkle 2013-08-26 16:41:13 -07:00
Brad Lassey
70aea4381b bug 894313 - GeckoThread should own its own static instance r=kats 2013-08-08 09:02:02 -04:00
Chris Kitching
cf37dadec5 Bug 897123 - Make GeckoAppShell.pumpMessageLoop waste less CPU time r=jchen 2013-07-26 12:02:00 -07:00
Brad Lassey
955f5f3ec8 bug 871863 - Guest mode for browsing r=mfinkle 2013-07-18 19:43:34 +01:00
Brad Lassey
3bec1f21d0 bug 893968 - LaunchState locking isn't actually locking anything useful r=kats 2013-07-15 15:36:00 -04:00
Jim Chen
534d8e5751 Bug 888473 - Start GeckoJavaSampler early when profiling startup; r=BenWa 2013-07-09 16:34:44 -04:00
Jim Chen
aa0541a2ef Bug 889881 - Refactor and add a Gecko handler to ThreadUtils; r=blassey 2013-07-09 16:25:55 -04:00
Brad Lassey
4a30f2fe9c bug 867517 - Gecko-based WebView for Android, refactor patch r=mfinkle 2013-05-24 12:21:01 -04:00
Kartikaya Gupta
6da27d83f3 Bug 844275 - Move the GfxInfoThread so that it is guaranteed to run to completion before compositor creation. r=Cwiiis 2013-02-28 13:28:24 -05:00
Brian Nicholson
1c31a98bcf Bug 845612 - Add @Override annotations for implemented interfaces. r=kats 2013-02-26 21:48:00 -08:00
Brian Nicholson
a01c2f3bd9 Bug 845612 - Add missing @Override annotations. r=kats 2013-02-26 21:48:00 -08:00
Brad Lassey
37268d5f25 bug 839380 – zh-hk locale should use zh-tw translation instead of zh-cn r=jchen a=akeybl 2013-02-11 23:08:19 -05:00