6923 Commits

Author SHA1 Message Date
Todd Volkert
482e63dfae System chrome platform service updates (#2732)
1) Add ability to specify a system UI overlay style, to
   provide a hook into the style of the status bar icons on iOS.

2) Migrate the Activity service's task description API to the
   system chrome platform service. The old API will be removed
   once the Flutter repo is updated to use the new API after an
   engine roll.

flutter/flutter#3544
2016-06-02 15:05:51 -07:00
Todd Volkert
6c6faf5856 Run clang-format on FlutterViewController.* (no-op change) (#2731) 2016-06-01 14:18:32 -07:00
Adam Barth
a943c732d5 Make sdk_xcode_harness similar to hello_services (#2723)
This patch makes the sdk_xcode_harness work the same way as
hello_services. The goal is to eventually make these the same, but this
is just a first step.
2016-06-01 09:36:31 -07:00
Adam Barth
8a4dba983f Revert "Codesign pub package vended service dylibs after copying them to the application bundle. (#2727)" (#2730)
This reverts commit 85e2ce27b6f31f56abbcb309780ee4b42c0a57c9.

This patch breaks the flutter build bots.
2016-06-01 08:31:15 -07:00
Todd Volkert
bc826d3268 Fix system ui overlays on Android. (#2728)
The logic was reversed -- we should only go into fullscreen if the
user didn't specify a TOP overlay, and we should only hide the
system ui navigation if the user didn't specify a BOTTOM overlay.
2016-05-31 17:51:45 -07:00
Yegor
8ab24b807b update Dart version to get fix for dartbug.com/26550 (#2729) 2016-05-31 17:13:48 -07:00
Chinmay Garde
85e2ce27b6 Codesign pub package vended service dylibs after copying them to the application bundle. (#2727) 2016-05-31 14:21:04 -07:00
Adam Barth
4dc3c05636 FlutterViewController should not retain listeners (#2726)
This patch makes the FlutterViewController interface more idiomatic by not
retaining listeners. It's the callers responsibility to make sure the lifetimes
work out.
2016-05-31 13:18:45 -07:00
Adam Barth
31f554b737 Update docs about command line flags (#2725) 2016-05-31 10:19:52 -07:00
Ian Hickson
76ac06bbdd dart:ui painting docs fixes (#2724)
Fix comments from https://github.com/flutter/engine/pull/2721
2016-05-31 09:43:43 -07:00
Ian Hickson
579dcf9d67 Flesh our dart:ui graphics documentation. (#2721)
I gave up before I was completely done.

Items still remaining include:

 * drawVertices
 * drawAtlas
 * TransferMode.*
 * VertexMode

Also:
 * Add a convenience constructor to RSTransform
 * Add some convenience methods to Rect and Size
 * Make some defaults more explicit
2016-05-27 17:14:49 -07:00
Jason Simmons
7a49b37a74 Implement a protocol for discovering active Flutter instances on Android (#2720)
Tools can send a broadcast intent that will cause Flutter processes to
write their names and observatory ports to the log in JSON format.
2016-05-27 17:11:34 -07:00
Adam Barth
b6ad88501f Roll mojo2 (#2722)
* Update to mojo 7d579155cc597aa3befcbfad66eef54bda06b57c

* Update to new API
2016-05-27 17:06:21 -07:00
Chinmay Garde
cc2cc42f2d Remove app.so and app.flx from the output paths of the BuildFlutterApp phase (#2719)
The Dart sources the pubspec are missing from the list of output paths. These artifacts can easily become stale.
2016-05-27 11:39:55 -07:00
Chinmay Garde
63310aa975 Create a valid no-op dylib for the iOS simulator. (#2718) 2016-05-27 10:47:07 -07:00
Chinmay Garde
3cf96ad625 Pre-populate the LOCAL_ENGINE xcconfig value so engine developers dont need to fill in different values. (#2716) 2016-05-26 12:39:24 -07:00
Chinmay Garde
0d17f16c4b Pass the local-engine flag to both build aot and build flx to avoid using mismatched gen/sky_snapshot pairs. (#2715) 2016-05-26 12:37:28 -07:00
Chinmay Garde
6ef35837d8 The app.flx is now present in the main application bundle. Look for it in there. (#2714) 2016-05-26 12:33:06 -07:00
Adam Barth
44429c06eb Clear the background during load (#2710)
Previously we'd draw uninitialized memory. Now we draw black.

Fixes #3447
2016-05-25 17:45:40 -07:00
Todd Volkert
f5635dbbb2 Plumb LOCAL_ENGINE Local.xcconfig flag through to flutter build (#2713)
https://github.com/flutter/flutter/issues/4186
2016-05-25 16:57:56 -07:00
Todd Volkert
38dd52719b Close the app after the user acknowledges the Launch Error alert. (#2711)
* Close the app after the user acknowledges the Launch Error alert.
2016-05-25 16:57:32 -07:00
Jason Simmons
d7d99c6223 Do not convert the package map to an absolute path (#2712)
Package map entries can contain relative paths, and these paths will be based
on the package map path as originally specified
2016-05-25 16:34:12 -07:00
Eric Seidel
9e34c6ff3b Remove ContainerLayer::paintChildren trace per @abarth (#2709) 2016-05-25 14:20:51 -07:00
Adam Barth
e0c48bc4e2 Fix permissions for BuildFlutterApp (#2708)
Instead of trying to execute the script directly, use /bin/sh to execute the
script.
2016-05-25 12:25:33 -07:00
Chinmay Garde
90f2654f86 Update Dart dependency to include fixes for AOTC build crashes and arm64 build fixes. (#2707) 2016-05-25 11:50:58 -07:00
Adam Barth
e1dacd833f Switch sdk_xcode_harness to use flutter build aot (#2706)
Switch sdk_xcode_harness to use flutter build aot

This patch moves a bunch of complexity out of FlutterApplication.xcodeproj and
into `flutter build aot`, which will make it easier for developers to create
their own FlutterApplication.xcodeproj.
2016-05-24 16:22:33 -07:00
John McCutchan
ba267f5c3e Pass the dart io entry points to gen_snapshot so that we don't tree shake away the code (#2705) 2016-05-24 11:11:17 -07:00
Adam Barth
608e34dbf6 Fix build 2016-05-23 14:36:08 -07:00
Adam Barth
a126207c6e Update Skia (#2704) 2016-05-23 13:48:18 -07:00
Ryan Macnak
1b936794aa Use a duration event for "FlutterEngineMainEnter" so about:tracing will use it as time 0. (#2703) 2016-05-19 16:14:07 -07:00
Chinmay Garde
7fab0c350b Update Dart dependency to pull in gen_snapshot fixes. (#2702) 2016-05-19 13:52:28 -07:00
Chinmay Garde
33783eba0f In case of Xcodebuild errors, print the invocation and output of each step. (#2701) 2016-05-19 13:52:22 -07:00
Chinmay Garde
8ecb015767 Prepare a standalone non-interative Sky shell on Mac. (#2700) 2016-05-18 16:45:49 -07:00
Chinmay Garde
ccb90b5c45 Prepare an archive of artifacts consumed by flutter tools (#2699)
This enables the specification of a local engine (via `--local-engine`)
for flutter tools to use.
2016-05-18 13:27:04 -07:00
Adam Barth
0ef246d87d Update Dart to get ABI fix (#2698) 2016-05-18 11:35:16 -07:00
Chinmay Garde
a45378b6a0 Only use the Dart bytecode interpreter on iOS device targets. (#2697) 2016-05-18 11:31:58 -07:00
Chinmay Garde
1db1d1507d Create an Xcode project template for dynamic service creation. (#2695)
* Create an Xcode project template for dynamic service creation.

The `create_native_service_sdk.py` will be run on the buildbot similar
to `create_ios_sdk.py`. This will create an Xcode project with both arm
and x64 assets that the user can use to fill in the service
implementation.

* Add the complete_static_lib property to sdk_lib_archive in
dynamic/BUILD.gn
2016-05-18 11:26:33 -07:00
Adam Barth
d178eafa74 Don't call Dart_TimelineGetMicros during startup on Mac (#2696)
It crashes. We either need to make it safe to call before
Dart_Initialize on Mac or we need to use some other way of measuring
startup time.

Fixes #4006
2016-05-18 09:55:11 -07:00
Jason Simmons
b5271b0db3 Update the flutter_gdb script to run on MacOS and make the engine build directory configurable (#2694) 2016-05-17 14:52:23 -07:00
Jason Simmons
eceadfd147 Roll Dart (#2693) 2016-05-17 11:51:01 -07:00
Chinmay Garde
21df1cf7ef Remove unused Runner.xcconfig.template (#2692) 2016-05-16 13:57:56 -07:00
Chinmay Garde
f641f6baa1 Flip the switch on enabling the interpreter by default in debug runtime mode. (#2691) 2016-05-16 13:45:24 -07:00
Chinmay Garde
924b608ef0 Look for the jinja2 dependency at the right level. (#2690) 2016-05-16 12:41:45 -07:00
Chinmay Garde
6093d50320 Instead of depending on a potentially missing Interpreter.xcconfig, add the variable to Flutter.xcconfig. (#2689) 2016-05-16 12:20:26 -07:00
Adam Barth
4e16c940a5 Revert "Remove vendored dart-sdk (#2688)"
We still need this for the observatory build.

This reverts commit 5082974b74028ecf6093625125f3307c9bc654f3.
2016-05-16 10:54:49 -07:00
Adam Barth
5082974b74 Remove vendored dart-sdk (#2688)
The engine.git repo doesn't need a copy of the Dart SDK anymore.

Fixes https://github.com/flutter/flutter/issues/2618
2016-05-16 08:09:00 -07:00
Devon Carew
237fee4766 pass in --suppress-analytics for mac flx builds (#2687) 2016-05-15 22:48:25 -07:00
Chinmay Garde
ef8c8ca497 Don't include the observatory data blob in the binary in product modes. (#2686) 2016-05-13 21:34:15 -07:00
Yegor
a1f4a12baa report engine_main_enter_ts during iOS startup (#2640) 2016-05-13 15:35:10 -07:00
Chinmay Garde
053630dc09 Use the i386 toolchain on the Mac host when targetting Android AOTC. (#2685) 2016-05-13 14:26:56 -07:00