6892 Commits

Author SHA1 Message Date
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
Adam Barth
57c02d4495 Decode images on a background thread (#2665)
We were all set up for this but for some reason we were actually decoding the
images on the main thread.

Fixes #3803
2016-05-09 12:54:52 -07:00
Todd Volkert
77426f65fd Wire up accessibility scrolling (#2664)
* Wire up accessibility scrolling

flutter/flutter#1664
2016-05-09 12:04:38 -07:00
Adam Barth
4c3f297b1e Fix build 2016-05-09 12:04:09 -07:00
Adam Barth
1035e5e60b Roll Mojo to 9a791294e429f9f2ca4f427796a284edb6f6768e (#2663)
* Update to mojo 9a791294e429f9f2ca4f427796a284edb6f6768e

* Update to account for Mojo API changes
2016-05-09 10:56:47 -07:00
Matt Perry
f608c94934 Add mojo service for accessing the system clipboard. (#2659)
* Add mojo service for accessing the system clipboard.

Hooked up for iOS and Android.

BUG=https://github.com/flutter/flutter/issues/1567
2016-05-09 13:26:19 -04:00
Adam Barth
215fa98639 Remove main_ios.mm (#2662)
We no longer provide the main function for Flutter apps on iOS. Instead, we
just provide Flutter.framework, and the end-developer provides main.

Also, remove unused build rules for building Runner.app. We don't build that
target anymore.
2016-05-09 09:53:04 -07:00
Todd Volkert
98f020ff2d Correctly report accessibilityFrame as screen coordinates (#2660)
flutter/flutter#1664
2016-05-06 15:46:48 -07:00
Jason Simmons
6ba3199eef Roll Dart (#2661) 2016-05-06 15:46:05 -07:00
Chinmay Garde
d52d3a4448 Wire up the interpreter on iOS devices. (#2648) 2016-05-06 15:37:59 -07:00
Jason Simmons
c0a5c08cd5 Roll Skia (#2658) 2016-05-06 12:04:57 -07:00
Todd Volkert
6770b4a5d5 Fix copy-paste error from code review (#2657) 2016-05-06 11:31:45 -07:00
Todd Volkert
fdc0b71889 Move node implementation to Objective C (#2652)
* Move node implementation to Objective C

This changes AccessibilityBridge::Node (C++) to be AccessibilityNode (objc)
in order to have the nodes returned directly as ui accessibility elements.
This buys us a few things:

1) We can now return an element tree instead of a flat list, thus negating
   the need to maintain a global rect and global translation
2) We use less memory since we don't need to instantiate both nodes and
   their ensuing accessibility elements
3) accessibility elements can now implement the methods necessary to respond
   to events like user scrolling

https://github.com/flutter/flutter/issues/1664
2016-05-06 11:26:01 -07:00
Adam Barth
7af714532d Make iOS Flutter apps extensible (#2654)
This patch switches us to building Runner.app on the end-developer's machine,
which will eventually let them customize their app.
2016-05-06 11:16:04 -07:00