Commit Graph

253 Commits

Author SHA1 Message Date
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