- 28 Mar, 2018 1 commit
-
-
Todd Volkert authored
This updates AppContext per the recommendations in #15352 Fixes #15352
-
- 12 Mar, 2018 1 commit
-
-
Jason Simmons authored
-
- 08 Nov, 2017 1 commit
-
-
Alexandre Ardhuin authored
* enable lint prefer_asserts_in_initializer_lists * enable --assert-initializer
-
- 12 Oct, 2017 1 commit
-
-
Ryan Macnak authored
The initial loading happens on the host, which was building a script snapshot and allowing imports of dart:mirrors. Hot reload happens on the device, which then notices the imports and issues a compile-time error. This change causes programs with imports of dart:mirrors to be rejected during the initial load. Fixes https://github.com/flutter/flutter/issues/12440
-
- 06 Oct, 2017 1 commit
-
-
Zachary Anderson authored
-
- 12 Sep, 2017 1 commit
-
-
Mikkel Nygaard Ravn authored
-
- 07 Sep, 2017 1 commit
-
-
Mikkel Nygaard Ravn authored
-
- 06 Sep, 2017 1 commit
-
-
Chris Bracken authored
Checksum validation is intended only as a performance improvement. Checksum de-serialization errors (typically framework version mismatch) are expected on framework updates and shouldn't be user-visible except for informational purposes when --verbose is set.
-
- 05 Sep, 2017 1 commit
-
-
Chris Bracken authored
Adds the app entrypoint as a key in the checksum file. This change eliminates the assumption that checksummed files change when the main entrypoint changes. In the case where there are two entrypoints, a.dart and b.dart and a.dart imports b.dart and b.dart imports a.dart, building the app with entrypoint a.dart followed by a build of the app with entrypoint b.dart would result in the same files list and checksums, but should invalidate the build.
-
- 29 Aug, 2017 1 commit
-
-
Chris Bracken authored
Extract a Snapshotter class that can be shared between FLX snapshotting, AOT snapshotting, and assembly AOT snapshotting. Allows for better testability of snapshotting logic. * Extracts script snapshotting used in FLX build. * Adds tests for snapshot checksumming, build invalidation/skipping. Remaining work: disentangle + extract AOT snapshotting and Assembly AOT snapshotting logic from build_aot.dart.
-
- 28 Aug, 2017 1 commit
-
-
Chris Bracken authored
This change re-introduces skipping AOT snapshot builds if input sources and outputs have not changed since the last snapshot build, assuming a build for the same platform in the same build mode. This reverts commit 3d5afb5a. It includes the following changes relative to the original: 1. Include the entrypoint source in the checksums 2. include the build mode in the checksums 3. include the target platform in the checksums
-
- 25 Aug, 2017 1 commit
-
-
Chris Bracken authored
This change ensures that snapshot build checksums used to avoid duplicate builds are invalidated by a change to framework revision (in case gen_snapshot is updated), as well as by build mode. Currently, only FLX snapshotting uses checksums to avoid duplicate builds. FLX snapshotting is always done with BuildMode.debug, so didn't include build mode in the checksum file.
-
- 16 Aug, 2017 3 commits
-
-
Ian Hickson authored
This reverts commit 1705bf3c.
-
Ian Hickson authored
* Revert "Fix a typo in the saved certificate error message (#11640)" This reverts commit bfda885a. * Revert "Rollback patch that broke microbenchmarks (#11616)" This reverts commit 70fe6f4c.
-
Ian Hickson authored
* Revert "Extract snapshotting logic to Snapshotter class (#11591)" This reverts commit 309a2d78. * Revert "Minor whitespace formatting fix (#11590)" This reverts commit bf69c3c6. * Revert "Avoid rebuilding snapshots if no change to source (#11551)" This reverts commit 74835db5.
-
- 11 Aug, 2017 1 commit
-
-
Chris Bracken authored
First step in eliminating code duplication between script snapshotting (in FLX build) and AOT, assembly AOT snapshotting.
-
- 08 Aug, 2017 1 commit
-
-
Chris Bracken authored
This change re-introduces skipping snapshot builds if input sources (and outputs) have not changed since the last snapshot build, with a bugfix to include the entry-point source in the checksum used to check whether rebuild can be skipped. This ensures that the following sequence invalidates the cached build, resulting in two snapshot builds: flutter build ios lib/foo.dart flutter build ios lib/bar.dart This reverts commit 3d5afb5a.
-
- 01 Aug, 2017 1 commit
-
-
Ian Hickson authored
* Revert "Support space- and backslash-escaped dependencies (#11090)" This reverts commit e6bafd0b. * Revert "Skip AOT snapshot build if inputs are unchanged (#11084)" This reverts commit b5e522e2.
-
- 05 Jul, 2017 2 commits
-
-
Chris Bracken authored
Snapshot dependency files now backslash-escape dependency paths containing spaces and backslashes. See: https://codereview.chromium.org/2966903003/
-
Chris Bracken authored
Previously, the snapshot file was recomputed on every build. We now record checksums for all snapshot inputs (which are catalogued in the snapshot dependencies file output alongside the snapshot) and only rebuild if the checksum for any input file (or the previous output file) has changed.
-
- 30 Jun, 2017 1 commit
-
-
Chris Bracken authored
Previously, the snapshot file was recomputed on every build. We now record checksums for all snapshot inputs (which are catalogued in the snapshot dependencies file output alongside the snapshot) and only rebuild if the checksum for any input file has changed.
-