Alexandre Ardhuin
d927c93310
Unnecessary new ( #20138 )
...
* enable lint unnecessary_new
* fix tests
* fix tests
* fix tests
2018-09-12 08:29:29 +02:00
Chris Bracken
d04a057efd
Eliminate BuildInfo.previewDart2 (now always true) ( #21392 )
...
Dart 1 is no longer supported in Flutter.
2018-09-04 13:38:17 -07:00
Chris Bracken
ed0b8be041
Eliminate script snapshot support ( #21387 )
...
Script snapshots were only every used in Dart 1 mode, which is no longer
supported.
2018-09-04 10:05:26 -07:00
Alexandre Ardhuin
eda03e2586
re-re-enable lint unnecessary_const ( #20103 )
2018-08-02 12:02:32 +02:00
Todd Volkert
00aac68e2d
Revert flutter/flutter#19592 ( #19861 )
...
It was causing problems rolling Flutter into Fuchsia
2018-07-27 08:44:39 -07:00
Alexandre Ardhuin
27018359d2
re-enable lint unnecessary_const ( #19592 )
...
* re-enable lint unnecessary_const
* remove trailling whitespaces
* remove unnecessary const (after merge)
2018-07-23 08:31:48 +02:00
Leaf Petersen
32f94443cc
Remove uses of deprecated constants and change int.parse to int.tryParse ( #19575 )
...
* Remove uses of deprecated constants
* Change int.parse to int.tryParse where appropriate
2018-07-20 15:07:24 -07:00
Ian Hickson
f630f90d6d
Revert "enable lint unnecessary_const ( #19342 )" ( #19423 )
...
This reverts commit cc1cf13eec
.
2018-07-16 13:30:27 -07:00
Alexandre Ardhuin
cc1cf13eec
enable lint unnecessary_const ( #19342 )
2018-07-16 21:43:48 +02:00
Devon Carew
9d9836f080
adjust declared types to work with dart 2 typing at runtime ( #19007 )
...
* adjust declared types to work with dart 2 typing at runtime
* review comments
* update packages/flutter_tools/lib/src/ios/simulators.dart
2018-07-09 12:22:46 -07:00
Mark Fielbig
af5d4c6882
Fix type errors in iOS simulator discovery. ( #18960 )
2018-06-30 17:17:35 -07:00
Ian Hickson
35ad2a786d
Remove race conditions involving finding available ports ( #18698 )
...
This is an attempt to reland #18488 with less breakage on macOS.
2018-06-27 16:44:28 -07:00
Ian Hickson
0fa5ba43a1
Revert "Remove race conditions involving finding available ports ( #18488 )" ( #18521 )
...
This reverts commit 7750872251
.
2018-06-15 15:37:20 -07:00
Ian Hickson
7750872251
Remove race conditions involving finding available ports ( #18488 )
2018-06-15 14:16:18 -07:00
Chris Bracken
2ae48845a8
Revert elimination of Dart 1 ( #18460 )
...
fuchsia_tester.dart still assumes Dart 1. Previously, it ran tests directly
from source, flutter_platform.dart automatically runs a kernel compile when
operating in Dart 2 mode, but this assumes a functional Dart SDK is available
in the artifacts directly, and fuchsia_tester.dart mocks out the artifacts
directory with an empty temp dir.
Remaining work is:
1. Get the frontend server building as a dependency on Fuchsia.
2. Patch fuchsia_tester.dart to use a valid Dart SDK and frontend server.
This also reverts migration to Dart 2 typedef syntax.
This reverts commit 6c56bb2
. (#18362 )
This reverts commit 3daebd0
. (#18316 )
2018-06-13 12:46:39 -07:00
Keerti Parthasarathy
aecb7d9607
Fixes for Dart 2 failures in tests ( #18371 )
2018-06-12 09:30:10 -07:00
Chris Bracken
3daebd059c
It's time to #deleteDart1 (again) ( #18316 )
...
* It's time to #deleteDart1 (#18293 )
Eliminates support for Dart 1 in flutter_tools, and drops our Dart 1
benchmarks. All commands now run in Dart 1 mode only.
Eliminates --preview-dart-2 / --no-preview-dart-2 support.
* Fix indentation, remove no longer necessary .toList()
* Only push udpated kernel if >0 invalidated srcs
2018-06-08 15:49:24 -07:00
Chris Bracken
9495df4bc3
Revert "It's time to #deleteDart1 ( #18293 )" ( #18313 )
...
Several benchmarks started failing during kernel compile:
1. Timeouts:
* commands_test
* hot_mode_dev_cycle__benchmark
* run_machine_concurrent_hot_reload
* service_extensions_test
2. Kernel compiler crash:
* hot_mode_dev_cycle_linux__benchmark
* routing_test
3. Unexpected termination:
* hot_mode_dev_cycle_win__benchmark
This reverts commit ed63e7082a
.
2018-06-08 12:43:11 -07:00
Chris Bracken
ed63e7082a
It's time to #deleteDart1 ( #18293 )
...
Eliminates support for Dart 1 in flutter_tools, and drops our Dart 1
benchmarks. All commands now run in Dart 1 mode only.
Eliminates --preview-dart-2 / --no-preview-dart-2 support.
2018-06-08 11:04:57 -07:00
Alexandre Ardhuin
09276bea25
enable lint prefer_equal_for_default_values ( #18156 )
2018-06-05 08:50:40 +02: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
Jacob Richman
62febaa140
Add support for --track-widget-creation back to ios build rules. ( #18046 )
2018-05-30 14:53:35 -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
Chris Bracken
a751678563
Allow 32-bit iOS device simulators ( #17443 )
...
Previously, Flutter did not support iOS devices with armv7 or armv7s
CPUs. We now support these devices. This eliminates the previous
hardcoded checks that prevented running on simulators of older devices.
We maintain the existing restriction on running on watchOS or tvOS
simulators.
2018-05-09 13:34:39 -07:00
Todd Volkert
d820e5f3b1
Use deprecated io constants ( #17278 )
...
The new values are not ready for use yet inside Google
2018-05-03 22:27:29 -07:00
Yegor
b2c98f9a4e
Roll engine to e976be13c51448f89107d082ec81e2b6731671fa ( #17266 )
...
* Roll engine to e976be13c51448f89107d082ec81e2b6731671fa
* move away from deprecated constants
2018-05-03 19:24:48 -07:00
Chinmay Garde
48ab8648bf
On simulators, don't pass file paths to the engine that done exist. ( #16756 )
2018-04-19 12:42:56 -07:00
Sarah Zakarias
4443e4d4cf
Cleanup FLX related code ( #16416 )
2018-04-12 10:12:26 +02:00
Jonah Williams
0c89920069
Update logic for parsing sdk version number ( #15918 )
...
* add logic to parse 11.3 sim runtime major version
* add null aware and bump group number
* add comment describing version
2018-04-01 17:35:05 -07:00
Alexandre Ardhuin
cc1cf9e12a
apply upcomming lint avoid_renaming_method_parameters ( #15526 )
2018-03-20 12:53:41 +01:00
Jason Simmons
466d15433f
Use Dart 2 camel case constants ( #15360 )
2018-03-12 11:06:32 -07:00
Mikkel Nygaard Ravn
0d59679624
Make Flutter tooling work on Android without Xcode being installed ( #15161 )
2018-03-07 08:41:23 +01:00
Todd Volkert
21c514fc56
Wire up support for --skia-deterministic-rendering ( #14802 )
...
https://github.com/flutter/flutter/issues/14519
2018-02-20 23:22:58 -08:00
asiva
11105bed4d
- Roll engine to version 9867298f86a7ccd5f1c07a83796ee21567d37fb0
...
- Remove redundant strong flag as it is the default for preview-dart-2
now
2018-02-15 17:45:36 -08:00
Vyacheslav Egorov
d745684393
Plumb strong mode option through startApp(...) to the engine on iOS. ( #14653 )
...
This is a temporary workaround until we solve #14594 .
2018-02-13 14:16:26 +01:00
Jacob Richman
2c05ecab9f
Flutter tools support for kernel transformer tracking Widget creation locations. ( #13997 )
2018-02-12 10:44:31 -08:00
asiva
83e0ca24fd
Fuse --strong into --preview-dart-2 option.
2018-02-08 09:18:52 -08:00
Alexander Aprelev
a48185a6ad
When targeting iOS sim in preview-dart-2, always compile. ( #14059 )
...
Fixes https://github.com/flutter/flutter/issues/14058 .
2018-01-11 18:19:28 -08:00
Alexander Aprelev
991765780b
Fix handling --preview-dart-2 for ios ( #14016 )
...
* Fix handling --preview-dart-2 for ios
* final var
2018-01-11 13:24:51 -08:00
xster
e6e4406de8
Fix simulator not printing to console lines with )
( #13920 )
...
* it's fixed
* Add test for simulator log reader
2018-01-05 11:34:05 -08:00
Sarah Zakarias
5e18c07614
Reapply flutter_assets ( #13567 )
...
* Revert "Revert engine (#13547 )"
This reverts commit ee65db11d4
.
* Keep flaky mark
2017-12-14 17:27:25 +01:00
Yegor
ee65db11d4
Revert engine ( #13547 )
...
* Revert "Include a directory with Flutter assets (#12944 )"
This reverts commit 3af6b9cbf5
.
* Revert "Upgrade project.pbxproj to include flutter_assets (#13011 )"
This reverts commit 08128cb29b
.
* Revert "Upgrade complex_layout project.pbxproj to include flutter_assets (#13544 )"
This reverts commit 35f1a04195
.
* mark complex_layout_ios__start_up as flaky
2017-12-13 16:25:25 -08:00
Sarah Zakarias
3af6b9cbf5
Include a directory with Flutter assets ( #12944 )
2017-12-13 22:30:32 +01:00
Alexander Aprelev
5a1dcdb427
Fix --preview-dart2 option handling for ios profile/release. ( #13285 )
...
* Fix --preview-dart2 option handling for ios profile/release.
* Remove unused parameter
2017-11-30 17:17:39 -08:00
Todd Volkert
137f0751b2
Add support for IOS_SIMULATOR_HOME environment variable in IOSSimulat… ( #13236 )
...
Add support for IOS_SIMULATOR_HOME environment variable in IOSSimulator.logFilePath
flutter_tools can be run on environments where the user's HOME directory
is not the root of the iOS simulators' configs. This change adds support
for such environments by allowing the caller to set the simulator root
directory via an environment variable.
2017-11-29 08:22:05 -08:00
Todd Volkert
c182e0e517
Remove unused pushFile
methods in ios classes ( #13215 )
2017-11-27 12:55:59 -08:00
Todd Volkert
e792c6bb5b
Add support for binding to IPv6 localhost in flutter run
( #13136 )
...
This allows `flutter run` to work on hosts that are IPv6-only.
2017-11-21 20:12:21 -08:00
Devon Carew
b6bd628bcd
address unused element issues and new warnings ( #12890 )
...
* address unused element issues and new warnings
* add a missing return
2017-11-08 14:06:55 -08:00
Jason Simmons
1affb4237a
Remove the diagnostic server from flutter_tools ( #12771 )
2017-10-30 15:53:04 -07:00
Todd Volkert
ce59412cf2
Remove hard-coded "Runner" from iOS simulator logs filtering ( #12306 )
2017-09-28 13:11:16 -07:00