6905 Commits

Author SHA1 Message Date
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
Chinmay Garde
ed3634e207 Add a switch that disables redirecting standard streams to syslog. (#2684)
When developing the engine from Xcode, it is useful to see log output in Xcode's UI. We were redirecting streams away so that the tools could pick read these logs. With the change to the scheme, when running from Xcode, the logs will show up in Xcode's UI. When, running from the tools, that flag will not be present and the tools will work as they always have.
2016-05-13 13:46:51 -07:00
Collin Jackson
f2da7a1b71 Remove Firebase implementation from engine (#2677) 2016-05-12 14:03:00 -07:00
mmclenna
43c108dae8 Additional instrumentation for tracing engine performance (#2682)
* Added instrumentation for timings.

* A few more traces for better granularity.
2016-05-12 13:34:57 -07:00
Matt Perry
ce4bb9e16d Fix potential NULL dereference in Paragraph.getWordBoundary. (#2679)
Can happen when calling getWordBoundary on an empty Paragraph.
2016-05-12 15:30:29 -04:00
Chinmay Garde
57edc534d6 In case the script snapshotter fails on Dart_Initialize, dump the message. (#2681) 2016-05-11 16:01:02 -07:00
Chinmay Garde
ba168e97e9 Look for the service dylib in the frameworks directory of the main bundle. (#2680) 2016-05-11 15:49:48 -07:00
Matt Perry
befe39324e Expose a Paragraph.getWordBoundary method to dart. (#2675)
* Expose a Paragraph.getWordBoundary method to dart.

Used by text selection to select a word.
2016-05-11 14:53:51 -04:00
Chinmay Garde
694b492b20 Look inside the main bundle for the service definitions manifest. (#2678)
Earlier, the dynamic service loader was part of the main application
bundle. But now, we package it into Flutter.framework and let the user
control "main". The old path was looking for the manifest in the wrong
spot.
2016-05-11 11:43:46 -07:00
Ian Hickson
2a4e04ffa4 Updating CONTRIBUTING.md to mention latest paths (#2676)
* Updating CONTRIBUTING.md to mention latest paths

* Update CONTRIBUTING.md
2016-05-11 11:23:57 -07:00
Jason Simmons
db50fd94ad Update the flutter_gdb script for the new engine output directory names (#2671) 2016-05-11 11:22:37 -07:00
Chinmay Garde
c6bc8d864a create_ios_sdk.py takes additional arguments that specify the out directories of both the device and simulator builds. (#2673) 2016-05-10 15:36:12 -07:00
Chinmay Garde
3fe246987a Removed unused '--ios-force-armv7' flag. (#2672)
Was only used by the buildbot to test that the armv7 precompiler paths built. The Android AOTC variants check that now.
2016-05-10 14:51:24 -07:00
Jason Simmons
678409b8a1 Revert "Plumb dart timeline events to mojo:tracing. (#2595)" (#2670)
This needs to be updated for the latest Mojo APIs
2016-05-10 12:05:17 -07:00
Przemysław Pietrzkiewicz
ef589f99bc Plumb dart timeline events to mojo:tracing. (#2595)
This patch:

 - makes dart traces (coming from the VM and the timeline API)
   available to mojo:tracing
 - adds --vm-complete-timeline parameter, which makes the Dart VM enable all
   categories of timeline traces from the beginning, allowing to do startup
   tracing

This is based on the equivalent support in dart content handler.

Fixes https://github.com/flutter/flutter/issues/3162.
2016-05-10 11:08:36 -07:00
Jason Simmons
3c9223cd8d Change the "develop" runtime mode back to "debug" and rename the "debug" build configuration to "unoptimized" (#2669) 2016-05-10 10:57:56 -07:00
Chinmay Garde
7b3ca935d5 In case the Dart VM cannot be initialized, log the reason before terminating the process. (#2668) 2016-05-09 17:30:55 -07:00
Jason Simmons
fcbfd1c159 Clean up gn flags for the develop/profile/release runtime modes (#2667) 2016-05-09 14:58:45 -07:00
Chinmay Garde
e72539e6e5 iOS: Wire up NSHTTPURLResponse headers in ns_net. (#2666) 2016-05-09 14:45:07 -07:00