20087 Commits

Author SHA1 Message Date
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
Roozbeh Pournader
9ea660349c Do not break after Myanmar viramas am: 74b56175e5 am: 8614b0420c
am: b11b991fe7

* commit 'b11b991fe7397a083e45ff267f632d1a866bcc23':

Change-Id: I0a3d24fcffb1d0533970058b4a3498d45e794f36
2016-05-26 02:56:56 +00:00
Roozbeh Pournader
b000ca61bb Do not break after Myanmar viramas am: 74b56175e5 am: 00de2cc363
am: b4bbae3202

* commit 'b4bbae320244d949d1f7766916919cbb3a6e72f3':
  Do not break after Myanmar viramas

Change-Id: I69972aed4fe1c1b956c0b65af18e1a4f1c739bf4
2016-05-26 02:56:55 +00:00
Roozbeh Pournader
b11b991fe7 Do not break after Myanmar viramas am: 74b56175e5
am: 8614b0420c

* commit '8614b0420cef56449c0db72f5098360c31867b06':

Change-Id: I4437e1206de2a45593e69956d8bcdf85a64b0f32
2016-05-26 02:31:31 +00:00
Roozbeh Pournader
b4bbae3202 Do not break after Myanmar viramas am: 74b56175e5
am: 00de2cc363

* commit '00de2cc3631df7ee3d755956bbf4ec6812d5517f':
  Do not break after Myanmar viramas

Change-Id: I2e240fab84a49c73165056ee5ff18dbfca0faeec
2016-05-26 02:21:28 +00:00
Roozbeh Pournader
00de2cc363 Do not break after Myanmar viramas
am: 74b56175e5

* commit '74b56175e5d41c1c1dc992208842b5576973d452':
  Do not break after Myanmar viramas

Change-Id: I13297120c3c3789c03b860c9e72b3a04922ab9fa
2016-05-26 01:44:33 +00:00
Roozbeh Pournader
8614b0420c Do not break after Myanmar viramas
am: 74b56175e5

* commit '74b56175e5d41c1c1dc992208842b5576973d452':
  Do not break after Myanmar viramas

Change-Id: Idb9303889ac87853a730cdb25fba7faaaf352b93
2016-05-26 01:44:33 +00: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
Roozbeh Pournader
74b56175e5 Do not break after Myanmar viramas
This is to work around a bug in ICU's line breaker, which thinks
there is a valid line break between a Myanmar kinzi and a consonant.
See http://bugs.icu-project.org/trac/ticket/12561 for the ICU bug.

Bug: 28964845
Change-Id: I076ac15077e5627cbccf6732900bcc60d8596dda
2016-05-25 16:46:56 -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
Adam Buchbinder
7739573616 Fix a leaked file in HyphTool.cpp.
This addresses the following cppcheck reports:
[frameworks/minikin/app/HyphTool.cpp:30]: (error) Resource leak: f
[frameworks/minikin/app/HyphTool.cpp:32]: (error) Resource leak: f

Change-Id: I5113e0a7268bd3a45bf1498fd023042d9dfe2b87
2016-05-23 13:16:13 -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