Jim Chen
29d7e30fb8
Bug 1197957 - Let GeckoView open the nsWindow instead of CLH; r=snorp
...
Currently, BrowserCLH opens a single new window on startup. Now that
GeckoView is able to open windows through GeckoView.Window, we should
make GeckoView open its own window, which we can do earlier in startup,
and will make it possible to support multiple GeckoView's down the road.
2015-09-21 10:13:32 -04:00
Jim Chen
bfe908928a
Bug 1195496 - Implement speculative connection method in GeckoThread; r=snorp
...
One thing we do in the Fennec CLH is to make a speculative connection
based on the URI that's passed in. However, by the time the CLH runs,
we're far along into startup, and the advantage of a speculative
connection is reduced. This patch implements making speculative
connection as a method in GeckoThread, so that Fennec can make a
speculative connection without relying on the Fennec CLH.
2015-08-19 18:14:47 -04:00
Jim Chen
eaad07e686
Bug 1195496 - Add PROFILE_READY Gecko state; r=snorp
...
Many Gecko operations depend on the profile being available. This
patch adds a PROFILE_READY Gecko state so that we can queue calls
until profile is loaded.
2015-08-19 18:14:47 -04:00
Jim Chen
35dfb7e84b
Bug 1195496 - Associate queued calls with available states; r=snorp
...
Many calls are associated with a Gecko state when they become available.
For example, calls that only depend on XPCOM become available very early
in startup, at the JNI_READY state. However, calls that depend on JS
components may only be available at the end of startup, at the RUNNING
state.
This patch adds an available state to every queued call, so that calls
can be made as soon as they become available, which is important for
calls like making speculative connections.
2015-08-19 18:14:47 -04:00
Jim Chen
adaa3af91b
Bug 1192082 - Iniialize/deinitialize JNI in nsAppShell; r=snorp
...
First we need to set the Gecko thread JNIEnv* in nsAndroidStartup, but
after that we can initialize and deinitialize the rest of JNI, including
AndroidBridge, in GeckoAppShell. This makes nsAppShell control the
AndroidBridge lifetime. Over time, parts of the AndroidBridge
functionality will be migrated to nsAppShell.
2015-08-13 00:53:40 -04:00
Jim Chen
e030b65317
Bug 1192082 - Expose AndroidBridge arguments through GeckoThread; r=snorp
...
AndroidBridge needed some arguments during its initialization. We'll
provide those arguments in GeckoThread, which AndroidBridge will access.
2015-08-13 00:53:39 -04:00
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