Jenn Magder
9e88fe328e
Remove globals_null_migrated.dart, move into globals.dart ( #92861 )
2021-11-01 17:18:03 -07:00
Ian Hickson
61a0add286
Enable avoid_redundant_argument_values lint ( #91409 ) ( #91462 )
2021-10-08 09:25:14 -07:00
Zachary Anderson
b9d2177da0
Revert "Enable avoid_redundant_argument_values lint ( #91409 )" ( #91461 )
...
This reverts commit 5fd259be24
.
2021-10-07 21:11:07 -07:00
Ian Hickson
5fd259be24
Enable avoid_redundant_argument_values lint ( #91409 )
2021-10-07 20:13:02 -07:00
Majid Hajian
6c10f19b80
add package_name for consistency across all platforms ( #88457 )
2021-10-07 17:08:02 -07:00
stuartmorgan
97fb8c0560
Fix Dart plugin registrant interaction with 'flutter test' ( #90288 )
...
Building an application for a desktop platform that transitively included any Dart-based plugins (such as path_provider) broke `flutter test`, because its compilation was overriding the provided main (in this case, the test main) with `generated_main.dart` if it was present. This PR:
- Changes the `flutter test` compilation path to update `generated_main.dart`, so that the tests will work, and will include any registered Dart plugins.
- Makes using `generated_main.dart` during recompile opt-in, to try to reduce the chance of a similar bug happening with other codepaths in the future.
Fixes https://github.com/flutter/flutter/issues/88794
2021-09-30 20:25:13 -07:00
Jenn Magder
e6535f6da1
Changed tool cached properties to late finals ( #88923 )
2021-08-26 14:01:05 -07:00
Jenn Magder
e028d0f046
Split project.dart into CMake and Xcode projects ( #85359 )
2021-06-28 11:31:04 -07:00
Jenn Magder
0de6bd41ba
Migrate iOS app deployment target from 8.0 to 9.0 ( #85174 )
2021-06-24 10:21:05 -07:00
Mirko Mucaria
bce1706f1c
Fix watchOS build when companion app is configured with xcode variable ( #84519 )
2021-06-17 14:14:03 -07:00
Jenn Magder
c4a2a3e92d
Migrate project.dart and all dependencies to null safety ( #83817 )
2021-06-02 18:41:12 -07:00
Jenn Magder
b947121f00
Clean up null assumptions for project.dart dependencies ( #83445 )
2021-06-01 13:14:03 -07:00
Jenn Magder
ea21938ccc
Remove symroot from generated iOS Xcode build settings ( #82576 )
2021-05-14 17:09:04 -07:00
Chris Bracken
53c2f7086b
[flutter_tools] support flutter run -d winuwp ( #82373 )
...
Allow flutter run to work end-to-end with a UWP device.
Uses win32/ffi for the actual launch of the application, injected via
the native API class. This is structured to avoid a g3 dependency.
Install and amuid require powershell scripts for now.
Actually connecting to the observatory requires running a command in an
elevated prompt. Instructions are presented to the user if a terminal is
attached.
This is a rebased version of https://github.com/flutter/flutter/pull/79684
by @jonahwilliams, updated to remove `NativeApi` and replace is with calls
to `uwptool`.
Part of https://github.com/flutter/flutter/issues/82085
2021-05-12 20:45:30 -07:00
Jenn Magder
db3f49b1b4
Use cached Xcode build settings during iOS build ( #80904 )
2021-04-27 17:20:11 -07:00
Jenn Magder
15c591a15f
Split out XcodeProjectInterpreter from xcode_build_settings ( #80399 )
2021-04-14 16:51:10 -07:00
Jenn Magder
d40cc5af8f
Migrate flutter_tool plugins.dart to null safety ( #80304 )
2021-04-13 13:52:58 -07:00
Jenn Magder
beec6106fa
Migrate template to null safety ( #80016 )
2021-04-08 15:19:03 -07:00
Jonah Williams
4d1b74a0df
[flutter_tools] generate empty plugin registrants for winuwp and fix local engine for winuwp_ ( #79827 )
2021-04-06 13:13:20 -07:00
Jonah Williams
985fc7463c
[flutter_tools] add skeleton for build uwp ( #78624 )
...
Adds the rest of the scaffolding for building a UWP application. The actual build functionality needs to be implemented, but could use buildWindows as an example (if it is going through cmake)
#14967
2021-03-19 15:36:42 -07:00
Jonah Williams
2584afd7ec
[flutter_tools] scaffolding for Windows UWP template ( #78067 )
2021-03-16 13:43:04 -07:00
Jenn Magder
d099ae60f0
Add ephemeral iOS directory to put future generated files ( #76830 )
2021-02-25 18:16:03 -08:00
Jenn Magder
841f2e082e
Do not show plugin embedding warning with missing example app ( #76406 )
2021-02-19 17:41:02 -08:00
Jonah Williams
75470a0051
[flutter_tools] unify gradle/android sdk reinitialize checks in cache.dart ( #76342 )
2021-02-19 13:47:12 -08:00
Jonah Williams
04182572f7
[flutter_tools] allow bypassing context for FlutterProject creation, remove fromPath ( #76258 )
2021-02-18 12:36:04 -08:00
Jonah Williams
93e7d34dc4
[flutter_tools] Remove globals/mocks from GradleUtils ( #76020 )
2021-02-17 14:26:57 -08:00
Jonah Williams
74bd7b6f6d
[flutter_tools] opt all flutter tool libraries and tests out of null safety. ( #74832 )
...
* opt out the flutter tool
* oops EOF
* fix import
* Update tool_backend.dart
* Update daemon_client.dart
* fix more
2021-01-27 15:17:53 -08:00
Jonah Williams
a0be98020e
[flutter_tools] ensure pub get can run from partially valid state ( #74249 )
2021-01-19 12:29:07 -08:00
Jenn Magder
b29a6bc56b
Use SDK podhelper in add-to-app module Podfile ( #73072 )
2021-01-14 10:15:24 -08:00
Jonah Williams
1eb0bb52e1
[flutter_tools] dont crash on invalid utf8 in pubspec ( #73891 )
2021-01-13 14:25:16 -08:00
Jenn Magder
45d71e25ab
Build iOS apps using Swift Packages ( #73508 )
2021-01-07 15:59:09 -08:00
Jenn Magder
74d58105d1
Revert "Build iOS apps using Swift Packages ( #72761 )" ( #73437 )
...
This reverts commit 28db5a0fae
.
2021-01-06 15:04:16 -08:00
Jenn Magder
28db5a0fae
Build iOS apps using Swift Packages ( #72761 )
2021-01-06 13:54:53 -08:00
J-P Nurmi
f2536da16f
[flutter_tools] Let CMake handle escaping ( #70026 )
2020-12-21 16:04:04 -08:00
Jenn Magder
617c57bc95
Flutter clean Flutter.podspec ( #72306 )
2020-12-14 19:13:03 -08:00
Jenn Magder
d4150d3f6d
Adopt Flutter.xcframework in tool ( #71495 )
2020-12-04 13:57:11 -08:00
Jenn Magder
a5ee7f7cfc
Add XCFramework artifacts ( #71113 )
2020-12-01 10:00:16 -08:00
Jenn Magder
9bbc2177ec
Move Flutter.podspec to add-to-app project template ( #71103 )
2020-11-24 10:16:09 -08:00
Jonah Williams
42c9c22553
Revert "Stop extra framework copy during build ios-framework ( #70790 )" ( #70802 )
...
This reverts commit a9a35d10a4
.
2020-11-18 17:05:33 -08:00
Jenn Magder
a9a35d10a4
Stop extra framework copy during build ios-framework ( #70790 )
2020-11-18 15:00:28 -08:00
Dan Field
be2e7bb1c0
Revert "Revert "Allow any iOS app to be added to an existing host app ( #70647 )" ( #70739 )" ( #70740 )
...
This reverts commit aab9a76ee4
.
2020-11-17 22:19:50 -08:00
Dan Field
aab9a76ee4
Revert "Allow any iOS app to be added to an existing host app ( #70647 )" ( #70739 )
...
This reverts commit abdd65fc29
.
2020-11-17 21:40:28 -08:00
Jenn Magder
abdd65fc29
Allow any iOS app to be added to an existing host app ( #70647 )
2020-11-17 18:53:03 -08:00
Jenn Magder
2529e358b6
Move Flutter.framework to build directory instead of ios/Flutter ( #70224 )
2020-11-17 10:09:29 -08:00
Jenn Magder
91b82347af
Build App.framework directly to build directory ( #69699 )
2020-11-03 12:48:25 -08:00
Jonah Williams
a2a4e9eda4
Revert "Build App.framework directly to build directory ( #69612 )" ( #69641 )
...
This reverts commit b77088319a
.
2020-11-02 20:12:47 -08:00
Jenn Magder
b77088319a
Build App.framework directly to build directory ( #69612 )
2020-11-02 18:48:03 -08:00
Jonah Williams
2e54c4a8ea
[flutter_tools] implement safe file copy with multiple fallbacks ( #69000 )
...
The tool observes a large number of unhandled exceptions during the file copy portion of flutter create. it is difficult to tell whether the permission issue is caused by the source/destination, or whether it is due to a bug in dart:io.
To work around this, implement a permission check for both the source and dest files. If either fails, the tool can exit with a more specific message.
If these checks pass, then perform the actual copy. If the copy fails, fallback to manually copying the bytes
2020-10-26 15:49:07 -07:00
Jenn Magder
d81691d0f4
Revert "Build iOS apps using Swift Packages ( #68361 )" ( #68546 )
...
This reverts commit dd9323bdfb
.
2020-10-19 17:57:32 -07:00
Jenn Magder
dd9323bdfb
Build iOS apps using Swift Packages ( #68361 )
2020-10-19 15:47:04 -07:00