Chris Bracken
f4a13bc72b
Eliminate CocoaPods install step ( #8694 )
...
If the developer is relying on CocoaPods and hasn't done a pod install,
they'll get a build failure indicating the issue.
This also avoids a hard dependency on CocoaPods in the tool and allows
developers to customize their Xcode steps to use alternatives such as
Carthage if they prefer.
2017-03-09 17:57:45 -08:00
Jakob Andersen
a4883de38f
Run 'pod install' before building iOS app. ( #8609 )
...
Since iOS builds are CocoaPods enabled by default, we should make sure to run `pod install` to get pods wired up before building the app.
Also added a check to `flutter doctor` to verify CocoaPods is installed.
I'm passing FLUTTER_FRAMEWORK_DIR to the `pod install` command, so we can have the app's Podfile link in Flutter.framework as a pod instead of having to copy it over in xcode_backend.sh.
2017-03-07 20:34:38 -08:00
Todd Volkert
aac8762a7a
Properly handle ProcessExit
being thrown when exit()
is called ( #8592 )
2017-03-06 13:23:03 -08:00
Todd Volkert
011a9026e4
Create and use a STILL_RECORDING shutdown stage ( #8588 )
2017-03-06 12:02:24 -08:00
Chris Bracken
7a09316cd0
Declare locals final where not reassigned (flutter_tools) ( #8570 )
2017-03-03 17:50:46 -08:00
Todd Volkert
f60410fa9d
Add --bug-report flag ( #8435 )
...
This adds support for a `--bug-report` flag, which is a recording
that:
- includes the arguments that were passed to the command runner
- is zipped up for easy attachment in Guthub issues
2017-02-27 15:38:47 -08:00
Alexandre Ardhuin
8c043d06de
fix lints for directives_ordering rule ( #8382 )
2017-02-23 13:37:26 -08:00
Todd Volkert
a68c979b73
Add ability to record & replay VMService connection ( #8355 )
2017-02-23 10:05:00 -08:00
Todd Volkert
3b52c87da6
Bump deps on package:file
and package:process
( #8097 )
2017-02-13 09:55:54 -08:00
Todd Volkert
9ba607862e
Update to package:process v1.0.1 ( #7607 )
2017-01-24 10:09:29 -08:00
Ian Hickson
63aa1397a3
Increase the strictness of our requiring explicit types ( #7585 )
...
...now that we have generic methods, their types need to be specified too.
2017-01-23 01:04:31 -08:00
Todd Volkert
1ccbf8f00d
Use FileSystem.pathSeparator instead of Platform.pathSeparator ( #7417 )
2017-01-10 13:17:20 -08:00
Todd Volkert
016b5ab0cc
Force all dart:io usage to go through 'base/io.dart' ( #7390 )
...
This ensures that accidental usages of dart:io's
file API don't creep in over time.
2017-01-09 08:37:00 -08:00
Todd Volkert
1155f96651
Add tests for process_manager.dart ( #7178 )
2016-12-07 21:03:58 -08:00
Todd Volkert
60b19b2035
Create abstraction layer for dart:io's Process commands ( #7100 )
...
With this change, they're run via instance methods on an object
obtained through the context. This will allow us to substitute
that object in tests with replay/record versions to allow us to
mock out the os-layer in tests.
2016-11-30 08:42:42 -08:00
John McCutchan
594c4f998a
Only synchronize used Dart sources to DevFS. ( #6668 )
...
- [x] Remove the second full-sync on startup.
- [x] Always invoke the snapshotter to determine the minimal set of Dart sources used.
- [x] Only synchronize the *used* Dart sources to DevFS.
- [x] Detect syntax / file missing errors on the host and gate reloads / restarts.
2016-11-03 15:19:57 +01:00
Jason Simmons
5a9b8b77e5
Do not print the output of the package dependency tool during hot reload ( #6494 )
2016-10-24 16:07:29 -07:00
Todd Volkert
904d524313
Add support for --use-application-binary on iOS ( #6318 )
...
Fixes #6283
2016-10-13 16:17:50 -07:00
Devon Carew
fa52b456ec
set the FLUTTER_ROOT env var when invoking pub ( #6041 )
2016-09-25 19:30:44 -07:00
Dan Rubel
678da3ac2b
cancel open subscription ( #5824 )
...
fixes https://github.com/flutter/flutter/issues/5788
2016-09-12 16:32:08 -04:00
Ryan Macnak
fa8dc5f88b
Do not truncate commands, this inhibits reproduction. ( #5607 )
2016-08-26 14:48:21 -07:00
Dan Rubel
5f7af56f3e
modify runCommandAndStreamOutput to wait until stdout ( #5596 )
...
has been fully processed before completing the returned future.
This helps prevent tests that rely on stdout from being flaky.
2016-08-25 14:55:54 -04:00
Devon Carew
53dd5dbd0d
print more logging info when tracing ( #5419 )
2016-08-17 08:19:52 -07:00
Ian Hickson
0d21e69b1d
Fix flutter upgrade and flutter build ios ( #4564 )
...
* Fix `flutter upgrade`
* Fix builds on iOS
2016-06-14 18:16:55 -07:00
Chinmay Garde
68ba5bfd7c
Suppress verbose output from ios-deploy when not in verbose mode. ( #4423 )
2016-06-07 12:02:08 -07:00
Devon Carew
7c47837c27
show build progress; print app sizes ( #4263 )
...
* show build progress; print app sizes
* add todo
* review comments
* remove unused import
2016-05-29 15:07:41 -07:00
Devon Carew
ec7517766c
Flutter run restart ( #4105 )
...
* working on making a faster flutter run restart
* clean up todos; fire events on isolate changes
* use the Flutter.FrameworkInitialization event
* review comments
2016-05-26 15:26:14 -07:00
Todd Volkert
239a717dcc
Revert "Pass the local engine config through Xcode ( #4190 )"
...
This reverts commit 8f69cccc18
.
2016-05-26 11:03:08 -07:00
Devon Carew
9cfa96608c
dissallow -release mode on emulators ( #4204 )
...
* dissallow -release mode on emulators
* have the help text print the default mode
2016-05-26 09:14:51 -07:00
Adam Barth
8f69cccc18
Pass the local engine config through Xcode ( #4190 )
...
This passes the information through Xcode to the `flutter build aot` call via
the environment so that it picks up the right artifacts.
Fixes #4186
2016-05-25 14:33:22 -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
Devon Carew
c9010c91f6
fix analysis errors ( #3677 )
...
* fix analysis errors
* review comments; fix test
* re-add an export for debugPrint
2016-05-03 09:09:00 -07:00
pq
26519aab23
Fixed spacing.
2016-04-18 09:25:17 -07:00
pq
4ff0e842e2
Analyze CLI option to specify a custom Dart SDK.
...
Handy for testing against specific local SDK builds.
(Note that the option is hidden.)
2016-04-18 09:03:31 -07:00
Devon Carew
2a33e3f0c0
make flutter upgrade less verbose ( #3237 )
...
* more terse flutter upgrade
* fix an issue when updating and the engine update code has changed
* call flutter precache; add a --no-color hidden option
* fix a lint related to getters/setters
2016-04-11 11:17:09 -07:00
Devon Carew
34a67329fd
use --no-precompile ( #3175 )
...
* use --no-precompile
* use the flutter bin cache's sdk
2016-04-07 11:06:38 -07:00
Devon Carew
2fc8e9a110
create a crash report
2016-03-25 13:29:15 -07:00
Hixie
797e27edd3
Add @override annotations to flutter framework
2016-03-14 14:02:26 -07:00
Ian Hickson
d745e20853
Even more types
2016-03-14 09:41:54 -07:00
Devon Carew
e939b152af
rename the platform constants
2016-03-12 11:08:21 -08:00
John McCutchan
8803cecea1
Refactor DeviceLogReader
2016-03-08 10:38:22 -08:00
Devon Carew
4d93c376c9
improve verbose output
2016-02-27 23:36:02 -08:00
Devon Carew
4e10bf596c
improve startup time
2016-02-27 08:19:19 -08:00
Devon Carew
d5a6fceee5
add a summary option to the doctor class
2016-02-17 09:33:45 -08:00
Devon Carew
7ae6f7f391
make the ios development path less mandatory
2016-02-17 00:38:47 -08:00
Devon Carew
2dbceafbc6
introduce globals scoped to the app's context
2016-02-09 22:03:13 -08:00
Devon Carew
78e05884ed
refactor flutter logs
2016-02-01 12:56:46 -08:00
Devon Carew
d631ebe597
fix a regex in the ios logs command
...
fixed sub-process stdout parsing; added todos
2016-01-30 22:48:28 -08:00
Devon Carew
d7fbf5302d
use status(), error(), and trace() for logging
...
rename to printTrace(), printStatus(), and printError()
2016-01-28 12:44:17 -08:00
Ian Hickson
4fe10dbf7e
Refactor listen in terms of start.
...
Fixes #1034 , at least for start and listen.
2015-12-28 17:57:47 -08:00
Adam Barth
9662d49e12
Clean up code organization in flutter_tools
...
1) Moved basic utility code into base/ directory to make it clear which code
doesn't depend on Flutter-specific knowldge.
2) Move the CommandRunner subclasses into a runner/ directory because these
aren't commands themselves.
2015-11-28 21:16:55 -08:00