- 03 Nov, 2020 3 commits
-
-
Jenn Magder authored
-
Jonah Williams authored
This reverts commit b7708831.
-
Jenn Magder authored
-
- 26 Oct, 2020 1 commit
-
-
Jonah Williams authored
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
-
- 20 Oct, 2020 1 commit
-
-
Jenn Magder authored
This reverts commit dd9323bd.
-
- 19 Oct, 2020 2 commits
-
-
Jenn Magder authored
-
Jenn Magder authored
-
- 12 Oct, 2020 1 commit
-
-
Jonah Williams authored
HACKTOBERFEST
-
- 16 Sep, 2020 1 commit
-
-
Michael R Fairhurst authored
-
- 15 Sep, 2020 1 commit
-
-
Balvinder Singh Gambhir authored
Generates version.json in web directory of project. version.json can be used in the future version of package_info which will support web. version.json has the following keys : app_name, version and build_number. This file is generated every time a user runs or builds the project. Co-authored-by:
Jonah Williams <jonahwilliams@google.com>
-
- 09 Sep, 2020 1 commit
-
-
stuartmorgan authored
The Windows plugin CMake generation had code to ensure that the paths written to it used POSIX separators, but the Linux version didn't; that meant that plugin updates run on Windows machines would corrupt the generated (but checked in) Linux CMake file. This change shares that code so that both will use POSIX paths regardless of what OS they are generated on. Fixes https://github.com/flutter/flutter/issues/64591
-
- 31 Aug, 2020 1 commit
-
-
Shi-Hao Hong authored
* synthetic packages by default in gen_l10n tool * Refactor default path for synthetic package * Remove unused import * Code cleanup * Further improvements to help text * Refactor synthetic package path * Remove newlines * Test cleanup * clean up logic in inputs and outputs list function * Update l10n.yaml usage * only add option if value is non-null * Update stocks app as proof of concept for synthetic package usage * Address nits * print pubspec contents * add print statements * Do not allow null value for useSyntheticPackage * + * + * + * + * Cleanup * Add test * Fix text * Dont parse pubspec directly * Test using context * WIP: generate synthetic packages on pub get -- needs tests * Allow null value * Update null handling * Refactor to properly handle null case * Fix yamlMap condition * Fix yaml node for real * WIP: struggling to write tests * WIP - take absolute path as an option * Add tests * Use environment project directory for synthetic package generation pathway * Fix typo * Improve help text * Update defaults * Remove unauthorized path import * Fix pathing issues at synthetic package generation * Fix typo in test * Use path.join so projectDir matches up based on OS * Fix Windows pathing in test * Remove unnecessary replaceApp code for projectDir.path * Use globals.fs.currentDirectory.path in resident_runner_test.dart * Fix merge conflict * Add test to ensure that synthetic package is generated on pub get * Fix resident_runner_test.dart tests * Fix tests * Use package:file instead of dart:io * WIP - exploration * Remove synthetic package use from stocks example * Update integration test to not use synthetic packages * Remove trailing whitespace * flutter pub get runs synth package generation * Remove more print statements * Add license header * WIP - minimally working pub.get * Use own MockBuildSystem * Modify test and implementation to be a little cleaner * Fix flutter pub get invocation * Use synthetic packages in stocks app * Revert "Use synthetic packages in stocks app" This reverts commit 45bf24903c3d4a2a5fd5481d7d6bc36c4a348703. * Add environment and buildSystem params to flutter test * Address code review feedback * + * Isolate codegen into its own API * Fix imports * Slight refactor * Add one more test for no l10n.yaml file * Remove unneeded mock class and import in pub_get_test.dart * More code review feedback * Remove unnecessary imports * Remove `return await`s that I missed * use arrow functions instead
-
- 21 Aug, 2020 1 commit
-
-
Jonah Williams authored
-
- 20 Aug, 2020 1 commit
-
-
xster authored
-
- 06 Aug, 2020 1 commit
-
-
Nolan Scobie authored
* Add punctuation for unterminated sentences in doc comments * Addressing review nit
-
- 29 Jul, 2020 1 commit
-
-
Robert Ancell authored
-
- 23 Jul, 2020 1 commit
-
-
Jenn Magder authored
-
- 16 Jul, 2020 1 commit
-
-
Jonah Williams authored
complete removal of all generate functionality Fixes #61508
-
- 11 Jul, 2020 1 commit
-
-
xster authored
-
- 09 Jul, 2020 1 commit
-
-
Jenn Magder authored
-
- 07 Jul, 2020 1 commit
-
-
Dan Field authored
Roll packages, update XML deprecations.
-
- 06 Jul, 2020 1 commit
-
-
stuartmorgan authored
* First pass at CMake files; untested * First pass of adding CMake generation logic on Windows * Misc fixes * Get bundling working, start incoprorating CMake build into tool * Fix debug, exe name. * Add resources * Move cmake.dart * Rip out all the vcxproj/solution plumbing * Fix plugin cmake generation * Build with cmake rather than calling VS directly * Adjust Windows plugin template to match standard header directory structure * Pass config selection when building * Partially fix multi-config handling * Rev template version * Share the CMake generation instead of splitting it out * VS build/run cycle works, with slightly awkward requirement to always build all * Update manifest * Plugin template fixes * Minor adjustments * Build install as part of build command, instead of separately * Test cleanup * Update Linux test for adjusted generated CMake approach * Plugin test typo fix * Add missing stub file for project test * Add a constant for VS generator
-
- 24 Jun, 2020 2 commits
-
-
Jonah Williams authored
First pass at fixing #57985 and implementing #59602 This doesn't have enough metadata to be useful for IDEs yet, but it prevents the issue from getting worse while we iterate on it.
-
Chris Yang authored
-
- 12 Jun, 2020 1 commit
-
-
Jenn Magder authored
-
- 08 Jun, 2020 2 commits
-
-
Jenn Magder authored
This reverts commit 43e28084.
-
Jenn Magder authored
-
- 03 Jun, 2020 2 commits
-
-
Jenn Magder authored
This reverts commit 2054f37a.
-
Jenn Magder authored
-
- 18 May, 2020 1 commit
-
-
Jonah Williams authored
Throw a toolExit if the windows plugin logic runs on an invalid windows project. Update the supported project check to validate the existence of a Runner.sln file
-
- 16 May, 2020 1 commit
-
-
stuartmorgan authored
Updates the Linux templates to use CMake+ninja, rather than Make, and updates the tooling to generate CMake support files rather than Make support files, and to drive the build using cmake and ninja. Also updates doctor to check for cmake and ninja in place of make. Note: While we could use CMake+Make rather than CMake+ninja, in testing ninja handled the tool_backend.sh call much better, calling it only once rather than once per dependent target. While it does add another dependency that people are less likely to already have, it's widely available in package managers, as well as being available as a direct download. Longer term, we could potentially switch from ninja to Make if it's an issue. Fixes #52751
-
- 11 May, 2020 1 commit
-
-
Jenn Magder authored
-
- 04 May, 2020 1 commit
-
-
Jenn Magder authored
-
- 22 Apr, 2020 2 commits
-
-
James D. Lin authored
Prefer using `.of()` (which is statically type-checked) over `.from()` (which is dynamically type-checked) when possible.
-
Jonah Williams authored
-
- 15 Apr, 2020 1 commit
-
-
tauu authored
Co-authored-by:
Georg Wechslberger <wechslbe@ma.tum.de>
-
- 14 Apr, 2020 1 commit
-
-
Jonah Williams authored
-
- 27 Mar, 2020 1 commit
-
-
Jenn Magder authored
-
- 23 Mar, 2020 1 commit
-
-
stuartmorgan authored
Adds initial support for flutter create of apps and plugins. This is derived from the current FDE example app and sample plugin, adding template values where relevant. Since the APIs/tooling/template aren't stable yet, the app template includes a version marker, which will be updated each time there's a breaking change. The build now checks that the template version matches the version known by that version of the tool, and gives a specific error message when there's a mismatch, which improves over the current breaking change experience of hitting whatever build failure the breaking change causes and having to figure out that the problem is that the runner is out of date. It also adds a warning to the create output about the fact that it won't be stable. Plugins don't currently have a version marker since in practice this is not a significant problem for plugins yet the way it is for runners; we can add it later if that changes. Fixes #30704
-
- 18 Mar, 2020 1 commit
-
-
Jenn Magder authored
-