Danny Tuppeny
199d945b9e
Add emulators to docs ( #18231 )
2018-06-06 19:06:17 +01:00
Alexander Aprelev
f11c8d967c
Add compile-expression service. ( #16161 )
...
This registers compile-expression service that is used by dart vm to evaluate expressions when debugging flutter applications.
2018-06-05 13:22:13 -07:00
Keerti Parthasarathy
da7670c2ee
Fixes for test failures in Dart 2 mode ( #18122 )
2018-06-05 12:38:30 -07:00
Danny Tuppeny
b9392ed220
Update flutter daemon docs ( #18199 )
...
* Document flutter run --machine at the bottom of the doc
* Be consistent with prefixes
2018-06-05 16:21:50 +01:00
Alexandre Ardhuin
09276bea25
enable lint prefer_equal_for_default_values ( #18156 )
2018-06-05 08:50:40 +02:00
Ian Hickson
6be81ebf9b
Be more resilient to bad data from VM ( #18132 )
...
Fixes https://github.com/flutter/flutter/issues/14517
Or at least, fixes the crash part of that.
2018-06-04 19:12:55 -07:00
Ian Hickson
944f0a4cc1
Revert "Clean up output of "flutter run --release" ( #18049 )" ( #18184 )
...
This reverts commit 4f1b66044c
.
2018-06-04 16:17:08 -07:00
Ian Hickson
4f1b66044c
Clean up output of "flutter run --release" ( #18049 )
2018-06-04 15:22:51 -07:00
Ian Hickson
e3427550e9
Be less verbose in the logs. ( #17401 )
...
Now that we have thousands of tests, it doesn't make sense to display a separate line for each test. The result is just megabytes of logs that you have to scrub through to find error messages.
2018-06-04 15:22:19 -07:00
Danny Tuppeny
43da9d5ef9
Use isDirectory instead of existsSync to avoid crash ( #18167 )
...
Fixes #15198 .
2018-06-04 17:59:07 +01:00
Martin Kustermann
ec6c4aba89
Rename --prefer-shared-library to --build-shared library consistently ( #18164 )
...
The change in 8b8d368d2
has only renamed the flag in a subset of the
places.
2018-06-04 17:44:37 +02:00
Danny Tuppeny
f833c43e6e
Skip version checks when running flutter upgrade
( #18031 )
...
We were already skipping the check in `flutter upgrade` but this also spawns `flutter precache` and `flutter doctor` which would still check and potentially output the message.
2018-06-04 12:04:45 +01:00
Mikkel Nygaard Ravn
e49a9661ad
Await writing local props to complete ( #18110 )
2018-06-01 12:15:30 +02:00
Danny Tuppeny
3d7d96806a
Use correct branch for version checks on beta/dev ( #18016 )
2018-06-01 10:59:20 +01:00
Mikkel Nygaard Ravn
8c39c35eb0
Upgradle Gradle dependencies to match Android Studio 3.1.2 ( #18080 )
2018-06-01 09:57:40 +02:00
Mikkel Nygaard Ravn
87a6e2b497
Revert "Update Gradle dependencies ( #18071 )" ( #18074 )
...
This reverts commit 59bb2dba73
.
2018-05-31 19:25:40 +02:00
Sam Rawlins
fba81d0f1d
Use anyNamed when mocking named arguments ( #17996 )
2018-05-31 08:24:26 -07:00
Mikkel Nygaard Ravn
59bb2dba73
Update Gradle dependencies ( #18071 )
2018-05-31 17:16:47 +02:00
Sigurd Meldgaard
758711c85d
Allow --use-application-binary
using app-bundles on ios ( #17691 )
...
This makes it easier to run ios add2app apps with Flutter run.
2018-05-31 10:33:15 +02:00
Jacob Richman
62febaa140
Add support for --track-widget-creation back to ios build rules. ( #18046 )
2018-05-30 14:53:35 -07:00
Greg Spencer
b921fdc58e
Revert "Update typedef syntax to use Function notation and turn on lint for old notation. ( #18035 )" ( #18041 )
...
This reverts commit 3258602073
.
2018-05-30 13:51:14 -07:00
Greg Spencer
3258602073
Update typedef syntax to use Function notation and turn on lint for old notation. ( #18035 )
...
Fixes #18028
Just changes typedef declarations, no logic changes.
2018-05-30 12:13:58 -07:00
Ralph Bergmann
c65e9d19a4
add version to pubspec.yaml ( #16857 )
...
Uses the `version` property from the `pubspec.yaml` file to set the corresponding fields in the `local.properties` file respectively in the `Generated.xcconfig` file.
The `--build-name` and `--build-number` options have changed. Now they trump the `version` property from the `pubspec.yaml` file.
If the `version` property is not set and the `--build-name` and `--build-number` options are not provided, the build command will not change the `local.properties` / `Generated.xcconfig` file.
2018-05-30 07:51:25 -07:00
Mikkel Nygaard Ravn
0d1574c313
Refactor flutter create logic in prep for add2app ( #17992 )
2018-05-30 11:25:21 +02:00
Mikkel Nygaard Ravn
c7ea3ca377
Revert sync async ( #18002 )
2018-05-29 21:07:33 +02:00
Danny Tuppeny
0e8164be51
Copy Daemon docs into code and add daemon.connected + changelog ( #17961 )
...
* Add copy of daemon doc from Wiki
* Document the daemon.connected event
2018-05-29 17:13:22 +01:00
Danny Tuppeny
42c9719ff0
Change doctor to point at Flutter extension ( #17987 )
2018-05-29 17:11:34 +01:00
Danny Tuppeny
24e2b238d4
Send an event at startup with the protocol version and pid ( #17873 )
...
* Send an event at startup with the protocol version and pid
The pid will help with some of the issues of terminate the process when launched through a shell script and the version will allow clients to make decisions about supported features.
I've also bumped the protocol version number for two reasons:
1. This change
2. We didn't increase it when we added the previous emulator commands
2018-05-28 22:02:53 +01:00
Mikkel Nygaard Ravn
d21b2799a0
Revert "Update Gradle dependencies to match Android Studio 3.1.2 ( #17974 )" ( #17979 )
...
This reverts commit 0f557e720e
.
2018-05-28 21:18:13 +02:00
Mikkel Nygaard Ravn
0f557e720e
Update Gradle dependencies to match Android Studio 3.1.2 ( #17974 )
2018-05-28 21:08:50 +02:00
Florian Loitsch
3ced55a7dc
Sync async2 ( #17964 )
...
Enable --sync-async in Flutter.
Fixes #16801
2018-05-28 16:21:05 +02:00
Mikkel Nygaard Ravn
bb88766448
Revert "Update Gradle dependencies to match Android Studio 3.1.2 ( #17942 )" ( #17966 )
...
This reverts commit dac1baf4fa
.
2018-05-28 15:10:37 +02:00
Mikkel Nygaard Ravn
dac1baf4fa
Update Gradle dependencies to match Android Studio 3.1.2 ( #17942 )
2018-05-28 14:35:32 +02:00
Chris Bracken
7587f54b20
Build single-architecture for local iOS engines ( #17919 )
...
When running with --local-engine, build single-architecture apps, rather
than what's declared in the Xcode project.
By default, Flutter creates Xcode projects that generate universal
binaries supporting both armv7 and arm64 processors. Since local engine builds
are all single-architecture, override the Xcode project's ARCHS setting
with the appropriate value for the specific engine.
NOTE: this assumes engine paths consistent with those used in the engine
repo: 32-bit iOS engine builds end in _arm, 64-bit builds do not.
2018-05-25 14:53:10 -07:00
Michael Thomsen
07081a1d2c
Fix flutter run output ( #17920 )
2018-05-25 23:22:53 +02:00
Michael Thomsen
fb95fcbae5
Fully rename to hot restart ( #17897 )
...
* Fully rename to hot restart
Follow-up change to f48dec570c
* Review feedback
2018-05-25 23:10:16 +02:00
Devon Carew
1c6078cefc
make sure we init flutter_tools with a fallback locale ( #17877 )
2018-05-24 13:42:46 -07:00
Mikkel Nygaard Ravn
d875ebe2e4
Revert "Enable --sync-async in Flutter. ( #17866 )" ( #17878 )
...
This reverts commit 39d7f22a96
.
2018-05-24 20:09:27 +02:00
Florian Loitsch
39d7f22a96
Enable --sync-async in Flutter. ( #17866 )
2018-05-24 19:26:44 +02:00
Sarah Zakarias
ca300100b8
Update plugin template to comply with new type and style rules ( #17840 )
2018-05-24 08:49:17 +02:00
Tim Neumann
54899c7638
Support multi-line log messages on iOS devices ( #17327 )
2018-05-23 19:03:05 -07:00
Ryan Macnak
d27cd520de
Don't link the core snapshot in the Android engine. ( #17855 )
...
Allows one to use a different core snapshot without a custom engine build by just packaging a different one in the APK.
2018-05-23 18:32:01 -07:00
Devon Carew
b7a268fed2
increase the timeout for analyze_once_test tests ( #17845 )
2018-05-23 13:04:40 -07:00
Danny Tuppeny
dfc0244e19
Add emulator.getEmulators and emulator.launch to daemon ( #17466 )
...
Related to:
#14822
Dart-Code/Dart-Code#490
#13379
2018-05-22 07:39:08 +01:00
Danny Tuppeny
e2181a6ad9
First run simulator with -n to ensure it always opens a device ( #17460 )
2018-05-22 07:35:42 +01:00
Konstantin Scheglov
eba194f776
Mark testWidgets() and testUsingContext() with @isTest. ( #17772 )
2018-05-21 11:11:23 -07:00
Simon Lightfoot
be6501a91c
Patch to fix builds with custom targets on iOS simulator. ( #17734 )
...
* Patch to fix builds with custom targets on iOS simulator. #16787
* Fix for unused import.
* Code review changes applied.
2018-05-21 03:54:38 -07:00
Devon Carew
bb2f63f2cd
remove an unused flutter run flag ( #17667 )
2018-05-20 20:59:10 -07:00
fmatosqg
197d4315a9
Scan assets from disk ( #16413 )
...
Scan folders when asset specified finishes with `/`
2018-05-20 17:52:33 -07:00
Greg Spencer
3c5a7a3005
Make non-global constants have consistent naming (with just _ instead of _k) ( #17584 )
...
Our style guide says the k's are not necessary, and it seems like a good idea to make all the code be consistent on this.
Only naming changes to private vars: no logic changes.
2018-05-17 23:04:41 -07:00