flutter/packages/flutter_tools/lib/src
Matan Lurey 27ef1967b0
Rename and define FlutterManifest.generateLocalizations. (#160401)
Part of https://github.com/flutter/flutter/issues/102983.

`<FlutterManifest>.generateSyntheticPackage` _never_ meant generate a
synthetic package 😒, it only meant "we _might_ need to generate a
synthetic package because localizations are being generated and the
default, unless otherwise specified, is to generate a synthetic
package".

Renamed as `generateLocalizations` and added some strategic TODOs in
places where removing the `package:flutter_gen` feature
(https://github.com/flutter/flutter/issues/102983) will allow us to
cleanup this erroneous code and technical debt.

Simplified a bit code (just a refactor) in the process, and fixes a bug
that `flutter packages get` would generate internationalization files
even if `flutter: generate: true` was not present in `pubspec.yaml` that
was revealed as part of fixing this up.

/cc @sigurdm.
2024-12-17 04:29:14 +00:00
..
android Refactor gradle task runner to share error handler code (#159452) 2024-12-13 18:51:20 +00:00
base Adjust ignores for 'dart format' (#160382) 2024-12-16 22:01:25 +00:00
build_system [flutter_tools] configure shader compiler to output GLES3 shaders for Android. (#159857) 2024-12-05 20:43:12 +00:00
commands Rename and define FlutterManifest.generateLocalizations. (#160401) 2024-12-17 04:29:14 +00:00
custom_devices Move platform-specific log-reading implementation details from ResidentRunner/FlutterDevice to DeviceLogReader implementations (#156181) 2024-11-14 21:29:30 +00:00
dart Rename and define FlutterManifest.generateLocalizations. (#160401) 2024-12-17 04:29:14 +00:00
debug_adapters Fix some broken links in DAP readme (#155600) 2024-09-24 14:47:24 +00:00
drive Fix --web-header flag for flutter drive (#159039) 2024-11-21 20:40:11 +00:00
intellij Remove duplicate global declaration of UserMessages (#142281) 2024-01-26 21:41:16 +00:00
ios Don't throw StateError when listing core devices during tool shutdown (#160094) 2024-12-11 20:12:48 +00:00
isolated Fixed typos (#159331) 2024-12-05 16:54:09 +00:00
linux Fix output path for --appSizeBase (#158302) 2024-12-02 19:35:27 +00:00
localizations Rename and define FlutterManifest.generateLocalizations. (#160401) 2024-12-17 04:29:14 +00:00
macos Fixed typos (#159331) 2024-12-05 16:54:09 +00:00
migrations Fixed typos (#159331) 2024-12-05 16:54:09 +00:00
proxied_devices Move platform-specific log-reading implementation details from ResidentRunner/FlutterDevice to DeviceLogReader implementations (#156181) 2024-11-14 21:29:30 +00:00
reporting Adjust ignores for 'dart format' (#160382) 2024-12-16 22:01:25 +00:00
runner Replace --no-implicit-pubspec-resolution with flutter config --explicit-package-dependencies. (#160400) 2024-12-17 03:11:07 +00:00
test Refactor TestGoldenComparator to be useful for non-web (Android, iOS) integration tests (#160215) 2024-12-16 22:08:54 +00:00
tester Move explicit package dependencies to a feature flag (#158016) 2024-11-13 18:33:34 -08:00
vscode Remove duplicate global declaration of UserMessages (#142281) 2024-01-26 21:41:16 +00:00
web [tool] Removes deprecated --web-renderer parameter. (#159314) 2024-12-02 18:33:02 +00:00
windows Fix output path for --appSizeBase (#158302) 2024-12-02 19:35:27 +00:00
application_package.dart
artifacts.dart Tighten up throwToolExit, explain when to use it. (#157561) 2024-10-26 03:17:24 +00:00
asset.dart Fix flavor-conditional asset bundling for path dependencies (#156687) 2024-10-15 17:39:01 +00:00
build_info.dart Add deprecation notice for Android x86 when building for the target (#159750) 2024-12-04 16:45:43 +00:00
bundle_builder.dart Move explicit package dependencies to a feature flag (#158016) 2024-11-13 18:33:34 -08:00
bundle.dart Remove the fast reassemble / single widget reload feature (#132255) 2023-08-10 21:48:06 +00:00
cache.dart use root directory as the default for rootOverride in Cache.test constructor (#158201) 2024-11-05 23:00:05 +00:00
cmake_project.dart [Windows] Ensure window is shown (#127046) 2023-05-19 22:25:55 +00:00
cmake.dart Reduce usage of testUsingContext (#131078) 2023-07-24 17:22:25 +00:00
compile.dart [ tool ] Fix expression evaluation not handling errors correctly (#159151) 2024-11-25 15:04:09 +00:00
compute_dev_dependencies.dart Fixed typos (#159331) 2024-12-05 16:54:09 +00:00
context_runner.dart Move explicit package dependencies to a feature flag (#158016) 2024-11-13 18:33:34 -08:00
convert.dart Make custom Utf8Decoder replacement not extend platform class. (#123211) 2023-03-22 07:53:56 -07:00
daemon.dart pattern-matching refactor (#154753) 2024-10-03 18:21:04 +00:00
desktop_device.dart Move platform-specific log-reading implementation details from ResidentRunner/FlutterDevice to DeviceLogReader implementations (#156181) 2024-11-14 21:29:30 +00:00
devfs.dart Replace custom RPCErrorCodes with RPCErrorKind from package:vm_service (#158379) 2024-11-11 15:18:09 +00:00
device_port_forwarder.dart
device_vm_service_discovery_for_attach.dart Support mdns when attaching to proxied devices. (#146021) 2024-04-09 20:00:21 +00:00
device.dart Move platform-specific log-reading implementation details from ResidentRunner/FlutterDevice to DeviceLogReader implementations (#156181) 2024-11-14 21:29:30 +00:00
devtools_launcher.dart Add a --print-dtd flag to print the DTD address served by DevTools server (#144272) 2024-03-25 13:04:18 -07:00
doctor_validator.dart Arrow syntax for getters (#156483) 2024-10-17 19:25:14 +00:00
doctor.dart Add windows build version detection (#154797) 2024-10-22 15:53:08 -04:00
emulator.dart [tools] Add column header for emulators information (#142853) 2024-02-14 12:49:24 +00:00
features.dart [SwiftPM] Rename SWIFT_PACKAGE_MANAGER environment variable to FLUTTER_SWIFT_PACKAGE_MANAGER (#159502) 2024-12-03 19:06:44 +00:00
flutter_application_package.dart Delete packages/flutter_tools/lib/src/fuchsia directory (#154880) 2024-09-17 09:10:02 -07:00
flutter_cache.dart No longer download android-x86-jit-release. (#159011) 2024-11-18 18:22:24 +00:00
flutter_device_manager.dart Move explicit package dependencies to a feature flag (#158016) 2024-11-13 18:33:34 -08:00
flutter_features.dart Move explicit package dependencies to a feature flag (#158016) 2024-11-13 18:33:34 -08:00
flutter_manifest.dart Rename and define FlutterManifest.generateLocalizations. (#160401) 2024-12-17 04:29:14 +00:00
flutter_plugins.dart Fixed typos (#159331) 2024-12-05 16:54:09 +00:00
flutter_project_metadata.dart switch statement cleanup (#148382) 2024-05-16 17:16:06 -07:00
globals.dart Delete packages/flutter_tools/lib/src/fuchsia directory (#154880) 2024-09-17 09:10:02 -07:00
http_host_validator.dart Switch to more reliable flutter.dev link destinations in the tool (#150587) 2024-06-26 23:30:39 +00:00
license_collector.dart [flutter_tools] refactor license collector (#128748) 2023-06-15 20:25:19 +00:00
mdns_discovery.dart Adds a new helpful tool exit message for SocketExceptions thrown during mdns discovery (#157638) 2024-10-30 21:20:25 +00:00
native_assets.dart [native assets] Rewrite install names for relocated native libraries (#153054) 2024-08-29 14:51:23 +00:00
persistent_tool_state.dart Add missing parameter to TableBorder.symmetric, and improve class constructors (#144279) 2024-03-04 20:20:19 +00:00
platform_plugins.dart Remove extraneous throw. (#157658) 2024-10-26 02:49:20 +00:00
plugins.dart Plugin.isDevDependency if exclusively in dev_dependencies (#157462) 2024-11-07 18:09:22 +00:00
pre_run_validator.dart Add missing parameter to TableBorder.symmetric, and improve class constructors (#144279) 2024-03-04 20:20:19 +00:00
preview_device.dart Move explicit package dependencies to a feature flag (#158016) 2024-11-13 18:33:34 -08:00
project_validator_result.dart
project_validator.dart Remove unused PubDependenciesProjectValidator. (#157516) 2024-10-24 22:05:50 +00:00
project.dart Add support for injecting assets into the widget_preview_scaffold (#159859) 2024-12-10 15:34:33 +00:00
protocol_discovery.dart Remove an unnecessary assert (#129796) 2023-06-30 18:07:54 +00:00
proxy_validator.dart Control flow collections: flutter_tools/ (#147450) 2024-05-02 22:19:18 +00:00
resident_devtools_handler.dart Shut down DevTools and DDS processes if flutter_tools is killed by a signal (#159238) 2024-11-21 17:53:57 +00:00
resident_runner.dart Adjust tools tests that would be broken by formatting (#160393) 2024-12-17 00:34:00 +00:00
run_cold.dart Move platform-specific log-reading implementation details from ResidentRunner/FlutterDevice to DeviceLogReader implementations (#156181) 2024-11-14 21:29:30 +00:00
run_hot.dart [native assets] Create NativeAssetsManifest.json instead of kernel embedding (#159322) 2024-11-27 11:03:19 +00:00
sksl_writer.dart Enable native compilation for windows-arm64 (#141930) 2024-01-26 00:08:20 +00:00
template.dart Fix description in index.html / manifest.json getting double quoted (#131842) 2023-08-18 02:58:20 +00:00
tracing.dart
update_packages_pins.dart Manual pub roll with flutter_tools patch (#160174) 2024-12-16 21:41:54 +00:00
version.dart Do not silently fail pub get even if output-mode is "none" (#153596) 2024-08-22 09:12:54 -07:00
vmservice.dart [ tool ] Fix expression evaluation not handling errors correctly (#159151) 2024-11-25 15:04:09 +00:00
web_template.dart Tighten up throwToolExit, explain when to use it. (#157561) 2024-10-26 03:17:24 +00:00
xcode_project.dart [SwiftPM] Move the logic for SwiftPM enablement to the platform project (#158213) 2024-11-13 21:45:07 +00:00