- 18 Jun, 2022 1 commit
-
-
Jonah Williams authored
-
- 02 Jun, 2021 1 commit
-
-
Anis Alibegić authored
-
- 27 May, 2021 1 commit
-
-
Lau Ching Jun authored
-
- 02 Mar, 2021 1 commit
-
-
Michael Goderbauer authored
-
- 27 Jan, 2021 1 commit
-
-
Jonah Williams authored
* opt out the flutter tool * oops EOF * fix import * Update tool_backend.dart * Update daemon_client.dart * fix more
-
- 13 Nov, 2020 1 commit
-
-
Jonah Williams authored
[flutter_tools] use initially parsed package config for language version, sound mode determination (#70323)
-
- 30 Sep, 2020 1 commit
-
-
Jenn Magder authored
-
- 20 Jul, 2020 1 commit
-
-
Jonah Williams authored
To support #61407 , the tool needs to check if a single widget reload is feasible, and then conditionally perform a fast reassemble. To accomplish this, the FlutterDevice class will have a WidgetCache injected. This will eventually contain the logic for parsing the invalidated dart script. Concurrent with the devFS update, the widget cache will be updated/checked if a single widget reload is feasible. If so, an expression evaluation with the target type is performed and the success is communicated through the devFS result. An integration test which demonstrates that this works is already present in https://github.com/flutter/flutter/blob/master/packages/flutter_tools/test/integration.shard/hot_reload_test.dart#L86 Finally, when actually performing the reassemble the tool simply checks if this flag has been set and calls the alternative reassemble method. Cleanups: Remove modules, as this is unused now.
-
- 06 May, 2020 1 commit
-
-
Zachary Anderson authored
-
- 23 Apr, 2020 1 commit
-
-
Jonah Williams authored
-
- 20 Apr, 2020 1 commit
-
-
Jonah Williams authored
-
- 08 Jan, 2020 1 commit
-
-
Jonah Williams authored
[flutter_tool] Refactor Logger and Terminal to (mostly) no longer depend directly on context (#47269)
-
- 07 Jan, 2020 1 commit
-
-
Alexandre Ardhuin authored
-
- 06 Jan, 2020 1 commit
-
-
Jonah Williams authored
-
- 17 Dec, 2019 1 commit
-
-
Jonah Williams authored
-
- 27 Nov, 2019 1 commit
-
-
Ian Hickson authored
* Update project.pbxproj files to say Flutter rather than Chromium Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright. * Update the copyright notice checker to require a standard notice on all files * Update copyrights on Dart files. (This was a mechanical commit.) * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine. Some were already marked "The Flutter Authors", not clear why. Their dates have been normalized. Some were missing the blank line after the license. Some were randomly different in trivial ways for no apparent reason (e.g. missing the trailing period). * Clean up the copyrights in non-Dart files. (Manual edits.) Also, make sure templates don't have copyrights. * Fix some more ORGANIZATIONNAMEs
-
- 06 Nov, 2019 1 commit
-
-
James D. Lin authored
Allow ProjectFileInvalidator to be overridden with a different implementation. I stole this from https://github.com/flutter/flutter/pull/39217.
-
- 23 Oct, 2019 2 commits
-
-
Jonah Williams authored
-
James D. Lin authored
Empirical measurements indicate on the network file system we use internally, using `FileStat.stat` on thousands of files is much faster than using `FileStat.statSync`. (It can be slower for files on a local SSD, however.) Add a flag to `ProjectFileInvalidator.findInvalidated` to let it use `FileStat.stat` instead of `FileStat.statSync` when scanning for modified files. This can be enabled by overriding `HotRunnerConfig`. I considered creating a separate, asynchronous version of `findInvalidated`, but that led to more code duplication than I liked, and it would be harder to avoid drift between the versions.
-
- 22 Oct, 2019 2 commits
-
-
Jonah Williams authored
This reverts commit 3597bae6.
-
Ian Hickson authored
-
- 11 Oct, 2019 1 commit
-
-
Ian Hickson authored
...because otherwise, processes that think they're manipulating your filesystem will be doing crazy things the test is ignoring, leading to (at best) failures and (at worst) flakes or disk corruption.
-
- 04 Oct, 2019 1 commit
-
-
James D. Lin authored
In preparation for some refactoring that I will be doing to `ProjectFileInvalidator.findInvalidated`, make its code a bit clearer: * Indicate which arguments may be null. * Don't bother calling `FileStat.statSync` on the `.packages` file for the initial load. This makes the checks for the `.packages` file consistent with those for other files. * Use `DateTime.isAfter()` instead of comparing microseconds ourselves. While I was touching this file, I also removed some unnecessary comparisons to `false`. (`_ManifestAssetBundle.wasBuiltOnce()` is the only implementation I can find of `AssetBundle.wasBuiltOnce()`, and it never returns `null`.)
-
- 13 Jul, 2019 1 commit
-
-
Ian Hickson authored
Move tools tests into a general.shard directory in preparation to changing how we shard tools tests (#36108)
-
- 21 Mar, 2019 2 commits
-
-
Jonah Williams authored
-
Alexander Aprelev authored
* Use source list from the compiler to track invalidated files. * Revert accidental change * Fix first-time-seen-the-file logic * Fix/simplify invalidate logic now that we can rely on compiler to let us know what is the cut-off point for invalidation. * Update devfs mock to accommodate for new fields * Fix deleted files case * Analyzer found missing final
-
- 20 Mar, 2019 1 commit
-
-
Alexandre Ardhuin authored
* some space formattings * always use blocks in if-else if a block is used * format spaces in for and while * allow multiline if conditions * fix missing space
-
- 15 Mar, 2019 1 commit
-
-
Jonah Williams authored
-