24 Commits

Author SHA1 Message Date
Chinmay Garde
f9281a1edf Allow specification of the FLX bundle (containing no Dart snapshot) outside the iOS/Mac application bundle.
Allows launching of apps without having any Xcodebuild step in the simulator.
2016-02-29 13:16:01 -08:00
Adam Barth
cf4c62ca1d Remove unneeded symbol from main_ios.mm
We don't appear to need this hack anymore.
2016-02-24 20:33:57 -08:00
Chinmay Garde
b8c6a97d81 Add error logging when a dynamic service fails to load
This happens once per service
2016-02-10 16:03:39 -08:00
Chinmay Garde
fcc9e95f3c Add a dynamic services target with a variant for the embedder and dylib each
* The embedder depends on dynamic:embedder
* The dylib depends on dynamic:dylib
* The embedder calls OnLoad and OnUnload callbacks that setup and teardown the dylib environment
* The dylib contains a thin library that services OnLoad, OnUnload and OnInvoke so that vendors dont have to do it themselves (and potentially mess it up)
* The vendor only has to implement the `FlutterServicePerform` method that takes a fully scoped handle
* This patch is a WIP till we get a stable Flutter ABI. The stuff in mojo/public is *NOT* stable
2016-02-08 10:11:09 -08:00
Chinmay Garde
800de4b122 Service vendors no longer specify the service entry point
Instead, the entry point is well known. The service name is passed as an argument to the service.
2016-02-04 16:55:17 -08:00
Chinmay Garde
42019c43da Update service handler in dylib use the Mojo C API only 2016-02-03 15:00:17 -08:00
Chinmay Garde
c40b3d808d Install Mojo system thunks in dylib loaded for dynamic service resolution 2016-02-03 13:45:20 -08:00
Chinmay Garde
a7349a1142 Allow dynamic service resolution in the iOS shell 2016-02-02 16:55:35 -08:00
Chinmay Garde
7fe880d89f iOS: Implement service providers for flutter.platform 2016-02-02 11:37:18 -08:00
Adam Barth
7bce54b79e Fix build 2016-01-30 13:42:35 -08:00
Adam Barth
707a18cde6 Teach flutter how to avoid the iOS keyboard
In the future, we'll probably want to plumb through the keyboard animation
parameters, but for now we match the behavior on Android where we move the
widgets out of the way of the keyboard without animation.
2016-01-28 15:29:24 -08:00
Chinmay Garde
611ea9cc31 iOS: Respect view controller visibility notifications and wire in Engine::OnAppLifecycleStateChanged 2016-01-28 11:00:29 -08:00
Chinmay Garde
0d446703bf iOS: Implementation of ::activity::Activity from activity.mojom 2016-01-27 15:01:53 -08:00
Adam Barth
142c5dc5ec Remove almost all uses of base::scoped_ptr
We now use std::unique_ptr more consistently.
2016-01-27 01:05:47 -08:00
Chinmay Garde
bb2affa7e5 iOS: Add an explicit FLX resource copy phase to the framework target
Also asserts on there being an FLX bundle at all
2016-01-26 14:34:21 -08:00
Adam Barth
33d7553e39 Improve handling of window insets on Android
Now that we understand window insets, we don't need to hard-code the size of
the status bar. Also, convert the viewport metrics to be consistently in
physical pixels.
2016-01-21 11:24:17 -08:00
Collin Jackson
0d4185b4f6 Fix typo in application identifier 2016-01-04 12:21:13 -08:00
Chinmay Garde
4aa37e086a Load the application from the flx bundle on iOS simulator 2015-12-10 16:05:52 -08:00
Chinmay Garde
ee55c83609 Add startup trace events 2015-12-04 14:40:12 -08:00
Chinmay Garde
34696334a4 Allow capturing unified (Dart and base) traces from observatory
* Start capturing via <obs_host>:<obs_port>/flutter_startTracing
* Stop capturing via <obs_host>:<obs_port>/flutter_stopTracing
2015-12-01 13:26:53 -08:00
Adam Barth
4e0ec4c23b Fix the units for Pointer events
The time_stamp is supposed to be in microseconds. Previously we were using
milliseconds.
2015-11-17 11:21:58 -08:00
Adam Barth
9dc71cb51f Refactor how we wire up platform services
Now the control flow for wiring up platform services starts in the
platform-specific code. Previously we started in shared code, which was
imposing constraints on the startup sequence for all platforms. Now that we
start in platform-specific code, we'll be able to add better support for Mojo
in a future patch.
2015-11-16 12:24:28 -08:00
Adam Barth
33a1cd3e87 Remove sky:🐚:Engine's dependency on network_service
We weren't using the network service for anything.
2015-11-16 09:22:06 -08:00
Adam Barth
846e7fcc99 Move platform-specific code for sky/shell into sky/shell/platform
This patch prepares us to add support for Mozart.
2015-11-11 13:31:18 -08:00