- 01 May, 2018 13 commits
-
-
Fedor Korotkov authored
* Configure Cirrus CI * Read file directly instead of shelling a command * Wait for all streams to finish * Add LTR `textDirection` Since `RenderFlex#_debugHasNecessaryDirections` requires it when `direction` is horizontal and there are multiple children.
-
Chris Bracken authored
Previously, we were incorrectly passing --vm_snapshot_data and --isolate_snapshot_data options to gen_snapshot in assembly AOT builds. These only make sense in AOT blob snapshot mode (alongside --vm_snapshot_instructions and --isolate_snapshot_instructions).
-
Chris Bracken authored
There's very little code-sharing between the two, and what little there is is concentrated in the GenSnapshotClass and the fingerprint reading/writing utility methods.
-
Todd Volkert authored
This enables support for a `flutter_test_config.dart` configuration file, which will be discovered and handed the responsibility of running the test file (thus allowing it to run pre-test setup on a project level). https://github.com/flutter/flutter/issues/16859
-
Chris Bracken authored
This de-duplicates assembly AOT configuration between Android and iOS, and makes it easier to adjust parameters for 32-bit iOS (which, like 32-bit Android, requires --no-integer-division) in an upcoming patch.
-
Ryan Macnak authored
-
Ryan Macnak authored
-
Chris Bracken authored
This is now derived automatically from the target platform by gen_snapshot.
-
Adrian Secord authored
-
Chris Bracken authored
iOS debug builds always run in interpreted mode whether on device or on simulator. In both cases, we can skip snapshotting and link against an empty App.framework. Previously, we did this for iOS simulator builds. This does the same for device builds. Previously, debug iOS builds used gen_snapshot to generate a core snapshot, then used 'xxd' to generate C files containing the snapshot data in buffers named kDartVmSnapshotData and kDartIsolateSnapshotData, which are then compiled/linked into App.framework. This is unnecessary since the VM compiled into Flutter.framework already contains this data.
-
Chris Bracken authored
Bugfix: Moves AOT snapshot input verification past where the last input is added to the inputs list. Cleanup: * Extracts _isValidAotPlatform method. * Moves non-platform-specific logic to the top. * Moves variable declaration closer to first use, and inlines to a narrower scope where possible. This relands #17136, which was reverted in #17142 due to breakage in on-device iOS debug builds.
-
Chris Bracken authored
This reverts commit 100be23a.
-
xster authored
-
- 30 Apr, 2018 10 commits
-
-
Chris Bracken authored
Bugfix: Moves AOT snapshot input verification past where the last input is added to the inputs list. Cleanup: * Extracts _isValidAotPlatform method. * Moves non-platform-specific logic to the top. * Moves variable declaration closer to first use, and inlines to a narrower scope where possible.
-
Todd Volkert authored
It allows callers to account for things like shadows that paint outside the bounds of the widget. https://github.com/flutter/flutter/issues/16859
-
Todd Volkert authored
It should account for the device pixel ratio https://github.com/flutter/flutter/issues/16859
-
Chris Bracken authored
No functional changes. Merges two platform switch statements and eliminates an iOS-specific local.
-
Hans Muller authored
-
Todd Volkert authored
* Add a `matchesGoldenFile()` async matcher that will match a finder's widget's rasterized image against a golden file. * Add support for pluggable image comparison backends * Add a default backend that does simplistic PNG byte comparison on locally stored golden files. * Add support for `flutter test --update-goldens`, which will treat the rasterized image bytes produced during the test as the new golden bytes and update the golden file accordingly Still TODO: * Add support for the `flutter_test_config.dart` test config hook * Utilize `flutter_test_config.dart` in `packages/flutter/test` to install a backend that retrieves golden files from a dedicated `flutter/goldens` repo https://github.com/flutter/flutter/issues/16859
-
Hans Muller authored
-
Mikkel Nygaard Ravn authored
This reverts commit 6e26cc28.
-
Mikkel Nygaard Ravn authored
-
- 29 Apr, 2018 1 commit
-
-
Chris Bracken authored
Moves the kernel compile step to the beginning of the AOT build in a separate method. This is pre-factoring for iOS universal builds where the kernel build happens once, but we then snapshot twice: once for armv7 and once for arm64. This also writes dependencies to build/kernel_compile.d rather than build/aot/snapshot.d, since that is immediately overwritten by gen_snapshot.
-
- 28 Apr, 2018 5 commits
-
-
Todd Volkert authored
This will allow callers to run real async code within a widget test. https://github.com/flutter/flutter/issues/16859
-
Todd Volkert authored
* Wrap `expectLater()` in flutter_tester so that callers can wait for the matcher to complete in their tests https://github.com/flutter/flutter/issues/16859
-
Alexander Aprelev authored
* Roll to pre-dart engine. * Roll to dart roll engine.
-
-
Jonah Williams authored
-
- 27 Apr, 2018 11 commits
-
-
Hans Muller authored
-
xster authored
* Give more room for the front layer drag on iPhone X * Tweak the animation visual effects * review lint
-
xster authored
-
Chris Bracken authored
This isn't user-specifiable through a flag, so no need to pass it as a parameter.
-
Andrew Davies authored
Removes unused var.
-
Jonah Williams authored
-
Andrew Davies authored
When forwarding all ports, run a test connection to each Dart VM instance, stopping port forwarding if the connection fails. Also does the same for any batched calls that hit all Dart VM instances.
-
Chris Bracken authored
This is a simple refactoring with no functional changes. We now reuse the existing _isBuildRequired() and _writeFingerprint() functions and share them with script snapshotting rather than reimplementing their logic. Changes the signatures of both to support multiple output files (as required for AOT snapshotting).
-
Chris Bracken authored
Fixes a bug introduced in 82f969ff where the depfile used for AOT snapshotting, useful in particular for skipping gen_snapshot when inputs/outputs haven't changed since the last build.
-
Konstantin Scheglov authored
-
Hans Muller authored
-