- 04 Dec, 2023 1 commit
-
-
Elias Yishak authored
Relanding based on this comment: - https://github.com/flutter/flutter/pull/139278#issuecomment-1832951108 Related to tracker issue: - https://github.com/flutter/flutter/issues/128251 <img width="278" alt="image" src="https://github.com/flutter/flutter/assets/42216813/cee7b9be-48d6-48e5-8c39-de28d0a1f0de"> The image above shows all of the instances where we have `sendTiming`. All of the call sites have been updated to use the new `Event.timing` event from `package:unified_analytics`.
-
- 30 Nov, 2023 1 commit
-
-
auto-submit[bot] authored
Reverts flutter/flutter#138896 Initiated by: CaseyHillers This change reverts the following previous change: Original Description: Related to tracker issue: - https://github.com/flutter/flutter/issues/128251 <img width="278" alt="image" src="https://github.com/flutter/flutter/assets/42216813/cee7b9be-48d6-48e5-8c39-de28d0a1f0de"> The image above shows all of the instances where we have `sendTiming`. All of the call sites have been updated to use the new `Event.timing` event from `package:unified_analytics`.
-
- 29 Nov, 2023 1 commit
-
-
Elias Yishak authored
Related to tracker issue: - https://github.com/flutter/flutter/issues/128251 <img width="278" alt="image" src="https://github.com/flutter/flutter/assets/42216813/cee7b9be-48d6-48e5-8c39-de28d0a1f0de"> The image above shows all of the instances where we have `sendTiming`. All of the call sites have been updated to use the new `Event.timing` event from `package:unified_analytics`.
-
- 06 Nov, 2023 1 commit
-
-
Elias Yishak authored
Related to tracker issue: - https://github.com/flutter/flutter/issues/128251 For this migration, the `HotEvent` was being referenced in 2 additional files outside of `lib/src/reporting/events.dart`, shown below in the screenshot <img width="257" alt="image" src="https://github.com/flutter/flutter/assets/42216813/97986f89-2253-4db1-9deb-bbced6321a16">
-
- 10 Sep, 2023 1 commit
-
-
Daco Harkes authored
Support for FFI calls with `@Native external` functions through Native assets on MacOS and iOS. This enables bundling native code without any build-system boilerplate code. For more info see: * https://github.com/flutter/flutter/issues/129757 ### Implementation details for MacOS and iOS. Dylibs are bundled by (1) making them fat binaries if multiple architectures are targeted, (2) code signing these, and (3) copying them to the frameworks folder. These steps are done manual rather than via CocoaPods. CocoaPods would have done the same steps, but (a) needs the dylibs to be there before the `xcodebuild` invocation (we could trick it, by having a minimal dylib in the place and replace it during the build process, that works), and (b) can't deal with having no dylibs to be bundled (we'd have to bundle a dummy dylib or include some dummy C code in the build file). The dylibs are build as a new target inside flutter assemble, as that is the moment we know what build-mode and architecture to target. The mapping from asset id to dylib-path is passed in to every kernel compilation path. The interesting case is hot-restart where the initial kernel file is compiled by the "inner" flutter assemble, while after hot restart the "outer" flutter run compiled kernel file is pushed to the device. Both kernel files need to contain the mapping. The "inner" flutter assemble gets its mapping from the NativeAssets target which builds the native assets. The "outer" flutter run get its mapping from a dry-run invocation. Since this hot restart can be used for multiple target devices (`flutter run -d all`) it contains the mapping for all known targets. ### Example vs template The PR includes a new template that uses the new native assets in a package and has an app importing that. Separate discussion in: https://github.com/flutter/flutter/issues/131209. ### Tests This PR adds new tests to cover the various use cases. * dev/devicelab/bin/tasks/native_assets_ios.dart * Runs an example app with native assets in all build modes, doing hot reload and hot restart in debug mode. * dev/devicelab/bin/tasks/native_assets_ios_simulator.dart * Runs an example app with native assets, doing hot reload and hot restart. * packages/flutter_tools/test/integration.shard/native_assets_test.dart * Runs (incl hot reload/hot restart), builds, builds frameworks for iOS, MacOS and flutter-tester. * packages/flutter_tools/test/general.shard/build_system/targets/native_assets_test.dart * Unit tests the new Target in the backend. * packages/flutter_tools/test/general.shard/ios/native_assets_test.dart * packages/flutter_tools/test/general.shard/macos/native_assets_test.dart * Unit tests the native assets being packaged on a iOS/MacOS build. It also extends various existing tests: * dev/devicelab/bin/tasks/module_test_ios.dart * Exercises the add2app scenario. * packages/flutter_tools/test/general.shard/features_test.dart * Unit test the new feature flag.
-
- 10 Aug, 2023 1 commit
-
-
Ian Hickson authored
Fixes https://github.com/flutter/flutter/issues/132157
-
- 24 Jul, 2023 1 commit
-
-
Christopher Fujino authored
Part of https://github.com/flutter/flutter/issues/47161
-
- 21 Mar, 2023 1 commit
-
-
Zachary Anderson authored
-
- 06 Mar, 2023 1 commit
-
-
chunhtai authored
Adds vmservices for getting iOS build options
-
- 23 Jan, 2023 1 commit
-
-
Michael Goderbauer authored
* dart fix --apply * manual fixes * fix after merge conflicts * review
-
- 10 Jan, 2023 1 commit
-
-
Brandon DeRosier authored
-
- 15 Dec, 2022 1 commit
-
-
Jenn Magder authored
-
- 07 Sep, 2022 1 commit
-
-
Liam Appelbe authored
* Migrate packages/flutter_tools/test/general.shard, part 2/2 * Fix analysis * Fix tests * Fix analysis * Apply suggestions from code review Co-authored-by:
Christopher Fujino <fujino@google.com> Co-authored-by:
Christopher Fujino <fujino@google.com>
-
- 27 Jul, 2022 1 commit
-
-
Jonah Williams authored
-
- 03 Jun, 2022 1 commit
-
-
Jesús S Guerrero authored
-
- 25 May, 2022 1 commit
-
-
Michael Goderbauer authored
-
- 30 Mar, 2022 1 commit
-
-
Ben Konyi authored
-
- 02 Feb, 2022 1 commit
-
-
Lau Ching Jun authored
-
- 08 Oct, 2021 3 commits
-
-
Ian Hickson authored
-
Zachary Anderson authored
This reverts commit 5fd259be.
-
Ian Hickson authored
-
- 04 Oct, 2021 1 commit
-
-
Ian Hickson authored
-
- 04 Aug, 2021 1 commit
-
-
Lau Ching Jun authored
* Add new hook for setupHotReload and after updating devFS is complete * Handle the case where updateDevFS failed
-
- 08 Jun, 2021 1 commit
-
-
Lau Ching Jun authored
-
- 21 May, 2021 1 commit
-
-
nt4f04uNd authored
-
- 12 May, 2021 1 commit
-
-
Jonah Williams authored
-
- 23 Apr, 2021 1 commit
-
-
Ian Hickson authored
Also, refactor internal code to do the same. See https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#avoid-double-negatives-in-apis
-
- 21 Apr, 2021 1 commit
-
-
Phil Quitslund authored
-
- 18 Apr, 2021 1 commit
-
-
Jonah Williams authored
[flutter_tools] Remove web specific vm_service handlers, move handler tests to single location (#80440)
-
- 07 Apr, 2021 1 commit
-
-
Jenn Magder authored
-
- 18 Feb, 2021 1 commit
-
-
Jenn Magder authored
-
- 11 Feb, 2021 1 commit
-
-
Jonah Williams authored
[flutter_tools] refactor devtools handler to expose single method for run/attach and restart (#75807)
-
- 02 Feb, 2021 1 commit
-
-
Ian Hickson 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
-
- 06 Jan, 2021 1 commit
-
-
Jonah Williams authored
-
- 05 Dec, 2020 1 commit
-
-
Ben Konyi authored
Ensure attaching to an application with an existing DDS instance is not treated as a fatal error (#70847)
-
- 20 Nov, 2020 1 commit
-
-
Jonah Williams authored
-
- 18 Nov, 2020 1 commit
-
-
Ben Konyi authored
-
- 27 Oct, 2020 1 commit
-
-
Jonah Williams authored
Rolls in several fixes to web tooling, including better handling of absolute file imports. Updates to latest vm service to unblock null safety mode query Co-authored-by:
Gary Roumanis <grouma@google.com> Co-authored-by:
Anna Gringauze <annagrin@google.com>
-
- 12 Oct, 2020 1 commit
-
-
Jonah Williams authored
For historical reasons, the flutter tool uploads dill files to paths based on the entrypoint URI. This isn't actually necessary, and the tool can use specific files : main.dart.incremental.dill for incremental dills, and main.dart.dill/main.dart.swap.dill for full dills. This allows hot restarting applications with an entrypoint outside of lib/ and simplifies the devFS code. Fixes #63243
-