John McCutchan
45c95b261d
Performance fixes for hot reload when using a prebuilt loader ( #6821 )
2016-11-11 13:28:21 -08:00
John McCutchan
fb3bf7a9d7
Support hot reload with a prebuilt loader ( #6743 )
2016-11-07 14:25:07 -08: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
7238d93e13
fix devices test; print on test failure ( #6039 )
...
* fix devices test; print on test failure
* mock out a call to Doctor
2016-09-26 21:28:16 -07:00
Dan Rubel
672d04e0d0
close sinks cleanup ( #5838 )
...
part of https://github.com/flutter/flutter/issues/5789
2016-09-13 14:15:36 -04:00
Dan Rubel
ef79e7a1c0
improve device matching error message ( #5693 )
...
* improve device matching error message
fixes https://github.com/flutter/flutter/issues/5675
2016-09-01 12:37:58 -04:00
Dan Rubel
83bf5d10c0
fix getDeviceById to match exact name ( #5657 )
...
* fix getDeviceById to match exact name
fixes https://github.com/flutter/flutter/issues/5508
2016-08-30 14:11:54 -04:00
John McCutchan
cf2b2078d4
Send reload / restart time to frame to analytics ( #5335 )
2016-08-11 10:01:53 -07:00
Devon Carew
14483586e0
make flutter run work with a pre-built apk ( #5307 )
...
* make flutter run work with a pre-built apk
* refactor to remove the buildDir param
2016-08-09 14:38:13 -07:00
John McCutchan
b6644733c9
Support for synchronizing assets onto a DevFS
2016-07-27 13:28:17 -07:00
John McCutchan
0de691621b
Add --hot mode for flutter run
2016-07-20 14:38:25 -07:00
Todd Volkert
cc8c78adf4
iOS tools cleanup ( #4161 )
...
* iOS tools cleanup
1) Fix `flutter install` on both device and simulator to refer to the actual
bundle and not just the .generated folder
2) Fix `flutter run` on device to actually run vs just installing
Still TODO:
1) Discovered that isAppInstalled on iOS simulator always reports true,
meaning it'll never actually try to install the app.
Fixes #3947
Fixes #1823
2016-05-24 16:25:40 -07:00
Devon Carew
0b5072c2ef
fix check to ignore bots ( #4034 )
2016-05-19 10:51:31 -07:00
Devon Carew
483922d15c
allow per-command analytics suppression ( #3919 )
...
* allow per-command analytics suppression
* rev the usage package dep
2016-05-15 20:06:27 -07:00
Jason Simmons
a590ee2671
Remove BuildConfigurations ( #3879 )
...
Artifacts from local engine builds will be found based on the --local-engine flag
2016-05-12 12:22:15 -07:00
Jason Simmons
0f53f7966b
Remove Toolchain and extend ToolConfiguration to locate host tools such as sky_snapshot ( #3870 )
...
Host tools can be found in the artifact cache directory for the host platform.
If a developer wants to use a local engine build instead, then provide an
--engine-build flag that selects the specific engine build variant.
2016-05-11 15:47:26 -07:00
Devon Carew
713830964c
make the usage text more visible ( #3693 )
...
* make the usage text more visible
* update the look of the usage text
2016-05-03 15:17: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
Devon Carew
b0dca79671
Flutter run ( #3553 )
...
* rework flutter run
* fix npe with --debug-port
* connect to obs and exit when that conneciton closes
* update todos
2016-04-27 14:43:42 -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
Chinmay Garde
c8377d7428
Dont differentiate between ios_arm and ios_x64 in flutter_tools
...
All artifacts for iOS are universal.
2016-03-21 14:41:26 -07:00
Devon Carew
f1cdf6df39
refactor; fix apk warning
2016-03-21 09:24:56 -07:00
Devon Carew
f8374cd966
consolidate build commands under the 'build' command
2016-03-17 07:22:41 -07:00
Hixie
797e27edd3
Add @override annotations to flutter framework
2016-03-14 14:02:26 -07:00
Adam Barth
e2744e9a30
Stop using a prebuilt APK
...
Instead, require an AndroidManifest.xml and always build an APK.
Fixes #2517
2016-03-14 13:32:00 -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
Devon Carew
5ad6a57007
remove some references to DeviceStore
2016-03-11 11:25:03 -08:00
Devon Carew
780e4e6212
move the analysis_options to a file
2016-03-10 13:47:20 -08:00
Yegor Jbanov
9383466dd5
[ios] look for the best available devicetype/runtime when booting
2016-03-10 11:04:02 -08:00
John McCutchan
9cb7001a39
Add ServiceProtocolDiscovery
2016-03-08 15:13:48 -08:00
Devon Carew
8283ce87e2
fix the stop command tests
2016-03-03 13:58:49 -08:00
Devon Carew
022047f5eb
remove the isConnected() method from device
2016-02-26 13:23:48 -08:00
Yegor Jbanov
677e63b79d
decouple flutter drive
from flutter start
...
flutter start's method of finding devices to run the app on is not suitable for flutter drive.
This commit also refactors several tool services to allow mocking in unit tests.
2016-02-26 10:18:24 -08:00
Devon Carew
37290d866e
additional validation for device commands
2016-02-24 11:11:23 -08:00
Devon Carew
3463d89cf6
remove iosSimulator field from ApplicationPackageStore
2016-02-22 12:37:08 -08:00
Devon Carew
67046f933d
add the ability to start and stop device polling
2016-02-20 22:00:11 -08:00
Chinmay Garde
9ed4e417d0
Fix flutter_tools tests
2016-02-19 11:48:39 -08:00
Chinmay Garde
df946dd875
iOS: Treat the initial Info.plist string as a mustache template.
...
Use the project name to initialize the bundle name and identifier
2016-02-19 11:37:05 -08:00
Devon Carew
7ae6f7f391
make the ios development path less mandatory
2016-02-17 00:38:47 -08:00
Devon Carew
dcf0b7bae6
allow any android sdk version
2016-02-13 14:37:41 -08:00
Devon Carew
2dbceafbc6
introduce globals scoped to the app's context
2016-02-09 22:03:13 -08:00
Collin Jackson
beaffecb7b
fix #1443 ensure engine is the correct version
2016-02-01 13:11:30 -08:00
Devon Carew
5bce2fbdec
refactor platform specific code out of device.dart
...
remove device type specific checks
2016-01-22 10:51:49 -08:00
Devon Carew
ff74ba812d
remove noSuchMethod hints
2015-12-21 14:57:20 -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
Adam Barth
da0a12c611
Rename sky_tools to flutter_tools
2015-11-10 13:20:35 -08:00
Adam Barth
94b472ff67
Add a --no-http flag to start command
...
This flag builds a local FLX file and pushes that to the device instead of
using an HTTP server.
2015-10-31 12:18:03 -07:00
Adam Barth
12f75817ce
Refactor the build command so that it can be used internally
...
Instead of calling through `pub` to invoke build, this patch refactors the
build command so that it can be called directly.
2015-10-13 10:00:06 -07:00
Adam Barth
bdd20661d7
Teach sky_tools about prebuilt artifacts
...
This patch makes `flutter start` work without a clone of the engine git
repository. Making this work pulled a relatively large refactor of how the
commands interact with application packages and devices. Now commands that want
to interact with application packages or devices inherit from a common base
class that holds stores of those objects as members.
In production, the commands download and connect to devices based on the build
configuration stored on the FlutterCommandRunner. In testing, these fields are
used to mock out the real application package and devices.
2015-10-12 00:03:55 -07:00
Ian Fischer
a6a3f212ee
IOSSimulator implementation.
...
Also fixes some minor bugs with iOS and Android interactions.
2015-10-11 19:36:06 -07:00
Ian Fischer
12192d00c1
Beginning implementation of IOSDevice. Implements list and install.
...
Also update tests to be compatible with the presence of iOS and add tests for list and install.
2015-10-06 11:46:29 -07:00
Ian Fischer
cae053c353
Refactor all the commands to be Commands from the Args package. Also use CommandRunner for the top-level command.
2015-09-24 15:51:23 -07:00
Ian Fischer
c5ea40980a
Most of the infrastructure needed to install an APK on Android.
2015-09-16 12:56:10 -07:00
Devon Carew
e6b45c5023
use mokito in the init tests
2015-09-11 16:12:27 -07:00