- 19 Sep, 2020 1 commit
-
-
Jonah Williams authored
[versions] update to latest source span and roll engine to 4b8477d11573d233e6791204191c0090f733b05d (#66136)
-
- 17 Sep, 2020 2 commits
-
-
Jonah Williams authored
Deprecate VelocityTracker default constructor and added VelocityTracker.withKind constructor (#66043) We've gotten feedback that the VelocityTracker change was disruptive, though it did not break any of the flutter framework or customer tests. In order to make the change non-breaking, PointerDeviceKind parameter can be made optional. Nevertheless, this parameter should be provided so that the existing touch handlers can use more accurate gestures on mouse/stylus inputs, so we can encourage this by deprecating the default constructor and pointing users towards the VelocityTracker.withKind constructor that takes a non-optional parameter
-
Ben Konyi authored
PR #65873 enabled DDS for non-web Flutter applications. This change surfaced a bug where DDS would not send ServiceRegistered events to VM service clients when they subscribed to the Service stream. This would cause tools and tests that rely on these events (e.g., hot reload in VSCode) to fail. Fixes #66038.
-
- 16 Sep, 2020 5 commits
-
-
Michael R Fairhurst authored
-
Hans Muller authored
-
Hans Muller authored
-
Ming Lyu (CareF) authored
-
Tong Mu authored
Expose GestureBinding.handlePointerEvent, replacing dispatchEvent as the preferred way to dispatch events (#64846)
-
- 15 Sep, 2020 1 commit
-
-
Hans Muller authored
-
- 14 Sep, 2020 1 commit
-
-
Jenn Magder authored
-
- 12 Sep, 2020 2 commits
-
-
Ming Lyu (CareF) authored
-
Tong Mu authored
* Adds a new web benchmark bench_mouse_region_mixed_grid_hover
-
- 11 Sep, 2020 1 commit
-
-
Yuqian Li authored
-
- 10 Sep, 2020 1 commit
-
-
Ben Konyi authored
-
- 08 Sep, 2020 1 commit
-
-
Jonah Williams authored
Currently the framework uses fairly large "hit slop" values to disambiguate taps from drags/pans. This makes sense on touch devices where the interaction is not very precise, on mice however it can feel as if the UI is lagging. This is immediately noticeable on our infra dashboard, where it takes almost half of a grid square of drag before the actual drag kicks in. One potential solution is to always use smaller constants depending on whether the interaction is mouse or touch based. The only reasonable choice is to use the pointer device kind and not target platform - same platform can have different input sources. This requires exposing the pointer device kind in a few new places in several of the gesture detectors, and using the enum to compute the correct hit slop from an expanded set of constants. This almost works, however there are a few places (notably ListViews) which uses the touch hit slop as a default value in scroll physics. It does not seem like it will be easy to disambiguate a user provided scroll physics constant from the default and/or adjust it somehow - this might require significant changes to scroll physics which I have left out of this PR. This PR does not adjust: kTouchSlop used in scroll_physics.dart's minFlingDistance kTouchSlop used in PrimaryPointerGestureRecognizer/LongPressGestureRecognizer
-
- 05 Sep, 2020 1 commit
-
-
Jim Graham authored
-
- 03 Sep, 2020 1 commit
-
-
Yuqian Li authored
Previously, the CPU/GPU measurement using gauge happened after the driver test is done. Now, the measurement happens within the driver test. So we need to properly increase the delay and duration to get a comparable reading as the old gauge measurements.
-
- 02 Sep, 2020 1 commit
-
-
Jenn Magder authored
-
- 01 Sep, 2020 3 commits
-
-
Dan Field authored
Fix typo.
-
Ming Lyu (CareF) authored
This reverts commit df833986.
-
Ming Lyu (CareF) authored
-
- 31 Aug, 2020 2 commits
-
-
Dan Field authored
-
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
-
- 30 Aug, 2020 1 commit
-
-
Shi-Hao Hong authored
This reverts commit 12b7355d.
-
- 29 Aug, 2020 1 commit
-
-
Ming Lyu (CareF) authored
-
- 20 Aug, 2020 2 commits
-
-
Ming Lyu (CareF) authored
-
Ming Lyu (CareF) authored
-
- 19 Aug, 2020 5 commits
-
-
Jonah Williams authored
Update to latest dwds, file-nullsafety, and process-nullsafety for #62886
-
Jonah Williams authored
-
Jonah Williams authored
-
LongCatIsLooong authored
-
Ming Lyu (CareF) authored
-
- 17 Aug, 2020 1 commit
-
-
Ming Lyu (CareF) authored
-
- 15 Aug, 2020 1 commit
-
-
Remi Rousselet authored
-
- 13 Aug, 2020 1 commit
-
-
Ming Lyu (CareF) authored
-
- 12 Aug, 2020 3 commits
-
-
Ming Lyu (CareF) authored
-
LongCatIsLooong authored
-
Jonah Williams authored
-
- 11 Aug, 2020 2 commits
-
-
xster authored
-
Greg Spencer authored
Update prepare_package.dart to use the process_runner package instead having duplicate code. (#62710) Updates the prepare_package.dart script to use the process_runner package (which is where the ProcessRunner implementation was moved to).
-