Commit graph

389 commits

Author SHA1 Message Date
Adam Barth d11d388d5a Update engine 2016-06-16 16:57:15 -07:00
Adam Barth f6b8220c2e Update engine.version (#4596) 2016-06-16 12:07:04 -07:00
Adam Barth 7e8274e24f Update engine.version (#4580) 2016-06-15 14:52:33 -07:00
Ian Hickson f92f71feb9 Lock flutter tool while updating artifacts (#4476)
This prevents multiple simultaneous runs of the analyzer from stomping
over each other (e.g. multiple runs of 'update-packages'). Certain
long-lived commands (like analyze, run, logs) are exempted once they've
done enough work to be safe from most stomping action.

This still doesn't make us entirely safe from craziness, e.g. if you're
half way through an 'update-packages' run and you call 'git pull', who
knows what state you'll end up in. But there's only so much one can do.

Fixes https://github.com/flutter/flutter/issues/2762
2016-06-14 10:16:08 -07:00
Adam Barth d542c3b121 Update engine (#4545) 2016-06-13 15:45:05 -07:00
Todd Volkert 09f458a573 Update engine (#4527) 2016-06-10 16:57:09 -07:00
pq c1f10dbf38 Bump Dart SDK to patched stable.
`1.17.1` fixes:
* crash in async functions
* GC bug in weak properties

Relevant patches here:
* https://github.com/dart-lang/sdk/issues/26680
* https://github.com/dart-lang/sdk/issues/26681
2016-06-10 08:40:57 -07:00
pq 048a2d4a7d Bump to stable 1.17.0 Dart SDK. 2016-06-08 09:21:50 -07:00
Adam Barth 43d35cb219 Update engine (#4414) 2016-06-06 20:23:45 -07:00
pq 364f19d5ea Update Dart SDK to 1.17.0-dev.6.2.
Latest RC.

Fixes two release blockers (https://github.com/dart-lang/sdk/issues/26558 and https://github.com/dart-lang/sdk/issues/26596); bonus points for letting us re-enable the `iterable_contains_unrelated_type` lint :).
2016-06-03 06:09:53 -07:00
pq ffd1d1ae1f Bump Dart SDK to 1.17.0-dev.6.1.
Latest RC.  Fixes `dartdoc`.
2016-06-02 06:37:19 -07:00
Adam Barth c26fcfdfaa Update xcodebuild for Generated.xcconfig (#4268)
This patch updates how we generate xcconfig files to match what
xcode_backend.sh expects.
2016-06-01 12:32:45 -07:00
Adam Barth ad4148bf32 Update engine.version (#4292) 2016-06-01 09:23:10 -07:00
Yegor 9974de3b0d Revert "update engine to get fix for dartbug.com/26550 (#4289)" (#4290)
This reverts commit 215e1b89ed.

It broke the Mac build: https://build.chromium.org/p/client.flutter/builders/Mac/builds/1097
2016-05-31 23:08:39 -07:00
Yegor 215e1b89ed update engine to get fix for dartbug.com/26550 (#4289) 2016-05-31 18:15:18 -07:00
Ian Hickson 54716cdaca Update engine.version (#4278) 2016-05-31 12:39:29 -07:00
Adam Barth d1cb026a65 Update engine and Mojo usage (#4258)
The new mojom.dart code makes mocking services a bit tricky. I've filed
https://github.com/domokit/mojo/issues/786 about improving that.
2016-05-28 18:28:21 -07:00
Todd Volkert be7e00a83f Update engine (#4244) 2016-05-27 13:23:39 -07:00
Phil Quitslund 89678bb7cb Merge pull request #4203 from pq/1.17.0-dev.5
Bump dart SDK to 1.17.0-dev.6.
2016-05-27 06:42:33 -07:00
pq 4707dc1870 Bumping to dev.6.0. 2016-05-26 14:22:38 -07:00
Ian Hickson bc35d09bf0 Update engine.version (#4207) 2016-05-26 10:47:44 -07:00
pq 244589aeba Bump dart SDK to 1.17.0-dev.5.
New dev build with more fixes and (fingers-crossed) speed-ups.
2016-05-26 06:39:27 -07:00
Adam Barth e4e3906cd9 Update engine (#4192) 2016-05-25 20:20:16 -07:00
Alfred Morgan a24e90305f fixed #4179 bin/flutter fails when linked with relative symlink (#4196)
* fixed issue #4179 bin/flutter fails when linked with relative symlink

* fixed issue #4179 bin/flutter fails when linked with relative symlink

* My second attempt at following symlinks correctly
2016-05-25 17:54:11 -07:00
Adam Barth 4aa894984f Revert "Update engine (#4181)"
This reverts commit d4d74d9c51.
2016-05-25 10:23:01 -07:00
Adam Barth d4d74d9c51 Update engine (#4181) 2016-05-25 10:09:34 -07:00
pq bd92db4d4f Rev the dart sdk to 1.17.0-dev.4.1
Keeps up with the Joneses, pulling in the latest dev build (and with it a number of stability and perf improvements).
2016-05-20 09:05:38 -07:00
Chinmay Garde 6f365d33ac Update engine revision to pull in Dart gen_snapshot fixes. (#4057) 2016-05-19 14:24:39 -07:00
Chinmay Garde 199f24ad3d Roll engine to pull in fixes to the standalone shell on Mac. (#4028) 2016-05-19 11:46:44 -07:00
Ian Hickson 06043b0585 Revert latest engine roll. (#4012)
The latest engine roll caused a performance regression: https://github.com/flutter/flutter/issues/4005
2016-05-18 11:15:03 -07:00
Jason Simmons 833942788d Update the engine (#3997) 2016-05-17 15:19:41 -07:00
Ian Hickson f284c1a049 Fix tests (#3977)
Also, make sure that broken tests actually break the bots.

And add a test to make sure that keeps happening.
2016-05-17 12:45:37 -07:00
Chinmay Garde a21dedc16f Enable targetting AOTC Android builds from Mac hosts. (#3911) 2016-05-13 17:03:03 -07:00
Chinmay Garde f0a8ee2a86 Use debug artifacts on mac host and update engine revision. (#3875) 2016-05-11 17:07:12 -07:00
Chinmay Garde 2aab6b565c Update engine revision to account for buildbot bucket updates. (#3864) 2016-05-11 13:57:59 -07:00
pq ef8d3f069e Bump Dart SDK to 1.17.0-dev.3.0.
Keeping up with the Joneses!
2016-05-11 10:25:36 -07:00
Devon Carew 826936cd33 use vendored dart sdk; check the expected version of flutter (#3831)
* use vendored dart sdk; check the expected version of flutter

* search up directories looking for the flutter root
2016-05-10 16:21:30 -07:00
Adam Barth 5dc74c844b Update engine 2016-05-09 12:55:45 -07:00
pq 24218a2abe Bump Dart SDK to 1.17.0-dev.2.0. 2016-05-09 12:07:24 -07:00
Chinmay Garde 8f4a5659b0 Update engine revision to pull in changes that add support for the interpreter on iOS. (#3793) 2016-05-06 16:37:19 -07:00
Jason Simmons 4d0e6984c2 Build tool support for Android x86 targets in 32- or 64-bit modes (#3761) 2016-05-05 16:04:22 -07:00
Devon Carew f34d31717c complain on missing entries in flutter.yaml (#3731)
* complain on missing entries in flutter.yaml

* change to a hard failure
2016-05-04 12:33:34 -07:00
Ian Hickson d8522191ba Update engine.version (#3704) 2016-05-03 14:16:07 -07:00
Jason Simmons f161f239ef Download Android AOT tools to the artifacts cache and build APKs using these tools (#3649)
Also update the engine to a build where these tools have been uplaoded
2016-05-02 11:40:32 -07:00
Adam Barth 5a3327bb7b Update engine.version (#3660) 2016-05-01 15:37:41 -07:00
Adam Barth 5497ba182f Update engine (#3637)
Turns out there were more clients of the old paragraph API than I expected.
This patch migrates them to the new API.
2016-04-29 11:19:35 -07:00
Adam Barth 53db3949e1 Update engine.version (#3623) 2016-04-28 18:52:49 -07:00
Adam Barth f6fef1c605 Update engine.version (#3616) 2016-04-28 15:00:43 -07:00
Adam Barth 2c70b3e4dd Update engine.version (#3614) 2016-04-28 12:20:31 -07:00
Adam Barth 201ad82d5d Update engine (#3607) 2016-04-28 10:24:50 -07:00
Adam Barth 3afe17e951 Update Dart SDK to 1.16.0 (#3606)
Fixes #3605
2016-04-28 10:15:20 -07:00
Devon Carew adac927501 add google analytics to flutter_tools (#3523)
* add google analytics

* send in the run target type

* track device type targets

* use the real GA code

* review comments

* rev to usage 2.0

* rev to 2.2.0 of usage; add tests

* review comments
2016-04-26 16:25:11 -07:00
Adam Barth 2047c70e50 Update engine to 0fd6fce9f4eb414cf6e567620abc6c739278a45f (#3549) 2016-04-25 22:44:00 -07:00
Tony Gentilcore 5dd114c800 Roll engine to 4062813e7060666f26b89e77d3f58035523bfd6b 2016-04-21 16:05:20 -07:00
Adam Barth 99725c2ba1 Update engine (#3473) 2016-04-21 14:59:26 -07:00
Devon Carew 6f0bb20658 rename deploy to release (#3407) 2016-04-19 11:17:00 -07:00
Devon Carew 12cac94cda Use arm deploy (#3374)
* download android-arm-deploy

* wire up --deploy to android-arm-deploy

* fix interpolation
2016-04-18 09:01:43 -07:00
Devon Carew 4678c12098 find all repo packages (#3368)
* find all repo packages

* .dartignore
2016-04-15 20:25:57 -07:00
pq 6f12287c78 Bump dart SDK to 1.16.0-dev.5.0.
Among other things, grabs support for `@optionalTypeArgs`.

This is the last dev push for 1.16.  Here on out we're in cherry-pick season until 1.16 final.
2016-04-13 12:56:03 -07:00
Tony Gentilcore b6c497a4f1 Roll engine to c3504b519fcd95179ea832460758712ecd0e433d
This picks up a change which fixes deps files generated by the snapshotter.
2016-04-12 10:34:49 -07:00
Devon Carew 7ad1e38eac Fix windows crash (#3236)
* better messaging about windows support

* fix lints
2016-04-11 08:34:01 -07:00
Devon Carew 2115f987e1 rev the dart sdk to 1.16.0-dev.4.0 (#3221) 2016-04-08 13:19:24 -07:00
Adam Barth e456d86327 Update engine (#3214)
Also, update hello_android to use the new Java class names.
2016-04-08 10:25:41 -07:00
Devon Carew a729b02f1a move the engine download code to dart (#3180)
* move the engine download code to dart

* fix populating the bin/cache/pkg dir
2016-04-07 13:31:44 -07:00
Chinmay Garde 3d2fc9e758 Update engine revision. (#3178) 2016-04-07 12:45:39 -07:00
Devon Carew 40598449ad add cache.dart to help manage the cache dir (#3168)
* add cache.dart to help manage the cache dir

* sp
2016-04-07 09:15:58 -07:00
Phil Quitslund f8dca5765a Bump Dart SDK to 1.16.0-dev.3.0. 2016-04-06 17:16:36 -07:00
Chinmay Garde b930f0d4ff Update engine and temporarily get rid of custom build directories in flutter build ios 2016-04-06 12:55:48 -07:00
Tony Gentilcore 003d55db3f Roll engine to 893425d96046e413e643d5de380dfaa2cc5725ed
This picks up a change which causes ChildViews to jank instead of flicker during resize.
2016-04-04 17:35:40 -07:00
Adam Barth 665ac49b57 Add support for backdrop filters
For example, to implement backdrop blur effects.
2016-04-01 21:15:43 -07:00
Collin Jackson 1c4c7deac4 Update engine version 2016-04-01 07:28:16 -07:00
Collin Jackson 30d0767f77 Update engine 2016-03-31 18:28:51 -07:00
Adam Barth 04adf211d7 Update engine
This patch updates our use of Mozart to the latest version of the protocol.
2016-03-30 15:39:54 -07:00
Adam Barth 89076c95f0 Update engine
Also, pass font information to ui.ParagraphStyle.
2016-03-30 09:41:05 -07:00
Adam Barth 2e062dfab4 Use --packages rather than --package-root
The .packages file is replacing the packages directory of symlinks.
2016-03-28 15:01:25 -07:00
Jason Simmons d4bc6d5e0c Add all variants of the Roboto font as assets to Material Design apps 2016-03-28 09:53:16 -07:00
Adam Barth ad7af1043a Update to Dart SDK 1.15.0 2016-03-27 08:51:42 -07:00
Adam Barth e394aff958 Update engine 2016-03-26 18:39:55 -07:00
Chinmay Garde 342bbe831d Bump engine revision to pick up iOS fixes. 2016-03-25 13:30:18 -07:00
Adam Barth a8c108dea5 Merge pull request #2824 from abarth/update_mojo
Update ChildView after Mojo roll
2016-03-23 11:59:32 -07:00
Adam Barth 9f5febc8cd Update ChildView after Mojo roll
The Mozart API has changed.
2016-03-23 11:05:31 -07:00
Jason Simmons e10b74cd24 Set FLUTTER_ROOT to an absolute path
This implementation was taken from the Dart SDK shell scripts.

BUG=https://github.com/flutter/flutter/issues/2795
2016-03-23 10:51:23 -07:00
Jason Simmons d349043ed0 Update the engine 2016-03-22 09:44:54 -07:00
Chinmay Garde 68a3aa70bf Use the artifacts store for iOS assets 2016-03-21 16:25:58 -07:00
Chinmay Garde 3a9956fb4e Bump engine revision and ensure the Xcode project setup expects assets at the archive root. 2016-03-21 13:24:53 -07:00
Andrew Wilson 360d26cc61 Update engine.version 2016-03-21 11:32:16 -07:00
Devon Carew 6190c8fcac add support for a FLUTTER_DEV env var in the flutter script 2016-03-21 10:36:58 -07:00
Adam Barth addc87dcf1 Look for the keyboard in the view services
The engine now provides the keyboard and raw keyboard services via the view
services. This patch updates the framework to look there for the keyboard.
Also, this patch migrates callers to the new MojoServices name for these entry
points.
2016-03-18 14:05:51 -07:00
Ian Hickson 7ee14a8da3 Update engine.version
Blocked on https://github.com/flutter/flutter/pull/2771
2016-03-17 17:28:08 -07:00
Adam Barth 5d01d2db57 Update engine 2016-03-17 13:11:29 -07:00
Devon Carew 5d09dfad41 show failures with the initial pub get 2016-03-17 08:40:42 -07:00
Ian Hickson 3c4fc0fced Update engine.version 2016-03-16 12:44:21 -07:00
Andrew Wilson 05950ca06a Update Engine Version to 5e68565d713cbb89e0d60e4c635cf7a9e4b2b855 2016-03-15 14:41:53 -07:00
Adam Barth aee2ad5a28 Update engine 2016-03-11 15:03:42 -08:00
Chinmay Garde 425aeaf403 Update engine revision to pick up fixes for precompilation variants 2016-03-10 16:32:16 -08:00
Adam Barth a9f72633c4 Update engine 2016-03-10 13:39:20 -08:00
Adam Barth 86ff7b99a5 Update engine
Fixes #2569
2016-03-10 08:39:15 -08:00
yjbanov 670b79c923 [engine] bump version to f2d8d75897a5aadcd9be0067a78fce1cea677fd6 2016-03-09 17:40:57 -08:00
Ian Hickson 1316500f96 Update engine.version 2016-03-08 15:58:16 -08:00
Collin Jackson 929d37f78c Update engine.version 2016-03-08 12:37:25 -08:00
Hixie d5dbaa0b93 Be more verbose when downloading artifacts
Previously, we would show 4 progress bars, which made it very unclear
what was going on since we'd just said "downloading engine". Now each
separate thing we download has its own announcement.

Eventually we should probably only download Dart, then do the rest of
this inside the flutter tool, as necessary.
2016-03-07 16:53:46 -08:00
Ian Hickson 946bc11df3 Update engine.version 2016-03-03 22:51:55 -08:00
Ian Hickson 07915983ef Update engine.version 2016-03-03 09:48:24 -08:00
Adam Barth 865e3cc0ce Update engine
This change brings in a new version of Mojo, which has improved Mozart
interfaces.
2016-03-02 18:32:49 -08:00
Chinmay Garde 9f4fdcb866 iOS Simulator: Attempt 'sideloading' the updated Flutter application if the application runner is already up
* This makes the turnaround times < 2 seconds on the iOS simulator.
* Also bumps the engine to use the new engine required to support the flags.
2016-03-02 11:40:10 -08:00
John McCutchan 4e63ce529f Move Dart SDK to 1.15-dev.4 to support _embedder.yaml 2016-03-02 10:38:45 -08:00
Yegor f7a9fc11a1 Merge pull request #2280 from yjbanov/bump-engine-dep-3a48f9c
[engine] update to 3a48f9c90b6406b10d5a8a1897c147c71ccc59ba
2016-03-02 09:55:28 -08:00
yjbanov ca8c3cf0ab [engine] update to 3a48f9c90b6406b10d5a8a1897c147c71ccc59ba 2016-03-02 09:44:00 -08:00
Adam Barth 870894fc68 Switch Material Design icons to using the iconfont
Rather than managing all the Material Design icons manually, we now
manage them using an icon font. The icon font contains glyphs for each
icon in an efficient vector format.

This patch updates the FLX tooling to include the MaterialIcons font and
updates the Icon widget to use the font instead of asset images.

Fixes #2313
Fixes #2218
Fixes #2009
Fixes #994
2016-03-02 09:32:02 -08:00
Noman 904609024a Update update_dart_sdk.sh
in china ,
appspot is blocked,
but storage.googleapis.com can visited
2016-03-02 04:28:55 +08:00
Adam Barth 758de5ed10 Update engine 2016-02-29 13:10:47 -08:00
Adam Barth 9a3baa444f Update engine 2016-02-26 11:05:26 -08:00
Chinmay Garde abf4a9ede2 Update engine revision to pick up the fixes for instability on iOS 2016-02-25 16:47:42 -08:00
Chinmay Garde 0e9428618a Update engine revision
Pulls in the following changed required for iOS:
* Application identifiers are legal UTIs.
* Dart precompiled dylib is not a candidate for dead code stripping.
* Account for relative paths on readlink in SnapshotterInvoke
2016-02-25 13:42:57 -08:00
Adam Barth d1154c2573 Rev engine 2016-02-24 16:16:38 -08:00
Adam Barth 4aae718f85 Download sky_engine and sky_services from cloud storage
Downloading these packages from cloud storage simplifies our deployment
story because we can upload to cloud storage automatically from the
buildbot.

This patch also switches the responsibility for downloading the engine
artifacts to update_engine.sh. Centralizing this responsibility ensures
that the packages and the binaries are always in sync.
2016-02-20 13:25:01 -08:00
Adam Barth 73449f80bb Teach flutter to run from a relative path
Previously we were trying to run pub from the wrong working directory.
2016-02-17 15:11:02 -08:00
Ian Hickson 35eb6c4adf Merge pull request #1900 from Hixie/tweak-dart-fetching
Make update_dart_sdk.sh prettier and more resilient
2016-02-15 11:10:55 -08:00
Ian Hickson 9a00bec57d Make update_dart_sdk.sh prettier and more resilient 2016-02-15 11:01:30 -08:00
Ian Hickson 1fb044be64 Merge pull request #1897 from flutter/Hixie-patch-1
Mention that cache directory is volatile.
2016-02-15 10:56:12 -08:00
Ian Hickson 87f86414ee Mention that cache directory is volatile. 2016-02-15 09:52:27 -08:00
Adam Barth 94c5949c12 Internalize our dependency on the Dart SDK
This patch teaches the flutter command to download the Dart SDK into
cache, removing another step from the Getting Started workflow. The
version of the Dart SDK is controlled by the "dart-sdk.version" file in
the bin/cache directory.

Fixes #54
2016-02-15 00:19:25 -08:00
Adam Barth c83b663afd Remove FLUTTER_DEV environment var
This check is triggering even for folks who don't have FLUTTER_DEV set, which
is breaking their toolchain because we're not running `pub get` on the
flutter_tools package.
2016-02-09 12:55:54 -08:00
Devon Carew 7425f60614 add a dev mode to the flutter script 2016-02-05 22:29:34 -08:00
Collin Jackson beaffecb7b fix #1443 ensure engine is the correct version 2016-02-01 13:11:30 -08:00
Adam Barth 764341d91a Hide pub get output when updating flutter tool
Fixes https://github.com/flutter/flutter.github.io/issues/100
2015-11-23 19:05:49 -08:00
Adam Barth 3027497f85 Handle adb error cases more gracefully
We now print a sensible message if we can't find `dart` or `adb`. Also, we
print a sensible message if the device isn't authorized.

Fixes #380
Fixes #358
2015-11-17 23:23:30 -08:00
Adam Barth 81e1c83547 Merge pull request #359 from IvBaranov/flutter_update_fix
Fix quotes error in update flutter bash script
2015-11-16 12:27:14 -08:00
Ivan Baranov 3d99e74b99 Fix unary operator error when revision variable is empty 2015-11-16 21:56:46 +04:00
Nathan Kerr ed297f476a Need to change working directories so that the command works when called from outside the flutter directory.
Removed accidental debug code.
2015-11-14 11:22:48 -08:00
Ivan Baranov f5a9d33888 Fix quotes error in update flutter bash script 2015-11-13 13:00:52 +03:00
Hixie a0227cab15 flutter analyze command
Other changes in this patch:
- Make the 'flutter' tool say "Updating flutter tool..." when it calls
  pub get, to avoid confusion about what the pub get output is about.
- Make the bash flutter tool call pub get when the revision has
  changed. (This was already happening on Windows.)
- Fix a raft of bugs found by the analyzer.
- Fix some style nits in various bits of code that happened to be near
  things the analyzer noticed.
- Remove the logic in "flutter test" that would run "pub get", since
  upon further reflexion it was determined it didn't work anyway.
  We'll probably have to add better diagnostics here and say to run the
  updater script.
- Remove the native velocity tracker script, since it was testing code
  that has since been removed.

Notes on ignored warnings:
- We ignore warnings in any packages that are not in the Flutter repo or
  in the author's current directory.
- We ignore various irrelevant Strong Mode warnings. We still enable
  strong mode because even though it's not really relevant to our needs,
  it does (more or less accidentally) catch a few things that are
  helpful to us.
- We allow CONSTANTS_LIKE_THIS, since we get some of those from other
  platforms that we are copying for sanity and consistency.
- We allow one-member abstract classes since we have a number of them
  where it's perfectly reasonable.
- We unfortunately still ignore warnings in mojom.dart autogenerated
  files. We should really fix those but that's a separate patch.
- We verify the actual source file when we see the 'Name non-constant
  identifiers using lowerCamelCase.' lint, to allow one-letter variables
  that use capital letters (e.g. for physics expressions) and to allow
  multiple-underscore variable names.
- We ignore all errors on lines that contain the following magic
  incantation and a "#" character:
    // analyzer doesn't like constructor tear-offs
- For all remaining errors, if the line contains a comment of the form
    // analyzer says "..."
  ...then we ignore any errors that have that "..." string in them.
2015-11-12 12:23:29 -08:00
Nathan Kerr d263f47431 Update to match https://github.com/Hixie/flutter/blob/flutter-analyze-PENDING/bin/flutter 2015-11-11 13:54:06 -08:00
Nathan Kerr 8f8d1e5848 Adding windows batch file to complement the bash script. 2015-11-11 12:49:30 -08:00
Adam Barth da0a12c611 Rename sky_tools to flutter_tools 2015-11-10 13:20:35 -08:00
Adam Barth 2710e0f468 Teach flutter init how to depend on flutter using a relative path 2015-11-07 21:30:26 -08:00
Adam Barth 113500206a Remove the --http option 2015-11-06 20:17:24 -08:00
Adam Barth 043917c5f0 Fix crash in flutter script 2015-11-05 11:14:39 -08:00
Adam Barth dbee5c01e9 Add a bash script for bootstrapping flutter_tools 2015-11-05 00:22:58 -08:00