25312 Commits

Author SHA1 Message Date
skia-flutter-autoroll
fc4f82a71b Roll Skia from 0ce7c5fd5538 to 29b5ce3c9cee (1 revision) (flutter/engine#36525) 2022-09-30 08:18:22 +00:00
skia-flutter-autoroll
764c4bc595 Roll Skia from 8ff5be169db5 to 0ce7c5fd5538 (1 revision) (flutter/engine#36523) 2022-09-30 06:30:14 +00:00
skia-flutter-autoroll
66a086949b Roll Skia from 5a55f43918c3 to 8ff5be169db5 (2 revisions) (flutter/engine#36516) 2022-09-30 00:54:05 +00:00
skia-flutter-autoroll
b0a18950d3 Roll Skia from 23d7b1c4369c to 5a55f43918c3 (7 revisions) (flutter/engine#36513) 2022-09-29 23:12:25 +00:00
Zachary Anderson
e46c557a83 Shard clang-tidy builders (flutter/engine#36505) 2022-09-29 15:27:13 -07:00
Chris Bracken
f76273c029 Use strip_bitcode for create_arm_gen_snapshot (flutter/engine#36510)
This migrates the `create_arm_gen_snapshot` target used to create a
copy of gen_snapshot suffixed with its target CPU architecture using the
same `strip_bitcode` macro used for the equivalent target used for
desktop gen_snapshot.

In a followup patch, these will be merged to a single target. They
currently still have incompatible output paths.

Issue: https://github.com/flutter/flutter/issues/103386
Issue: https://github.com/flutter/flutter/issues/101138
Issue: https://github.com/flutter/flutter/issues/107884
2022-09-29 14:27:02 -07:00
Matej Knopp
7d898a85e4 Convert Safari and Firefox wheel delta to physical pixels. (flutter/engine#35428) 2022-09-29 20:04:08 +00:00
Alexander Biggs
16d5012361 [fuchsia] Add --gtest-filter flag for unit tests. (flutter/engine#36509) 2022-09-29 19:57:05 +00:00
skia-flutter-autoroll
5af1af7d1b Roll Skia from ad2aed5c2f56 to 23d7b1c4369c (4 revisions) (flutter/engine#36508) 2022-09-29 19:53:45 +00:00
skia-flutter-autoroll
72347d894d Roll Skia from 1b72d90ed511 to ad2aed5c2f56 (4 revisions) (flutter/engine#36504) 2022-09-29 18:16:16 +00:00
Chris Bracken
d6d0909b65 Generalise gen_snapshots.py to strip_bitcode.py (flutter/engine#36496)
The gen_snapshots.py tool is used to copy an input gen_snapshot to an
output path with an architecture-specific suffix. For example, to copy
gen_snapshot to gen_snapshot_arm64. Bitcode segments, if any, are
stripped.

This moves the input/output filename hardcoding into the BUILD.gn file
and generalises the logic to simply copy an input binary to an output
path with bitcode segments stripped. Since the tool is no longer
gen_snapshot specific, we rename it from gen_snapshots.py to
strip_bitcode.py.

This also renames the generalised `macos_gen_snapshots` rule to
`strip_bitcode`.

Since we're working on removing bitcode support from the engine, this
script will eventually serve no purpose other than to copy the input
binary to an output path, at which point this script, and the associated
`strip_bitcode` template in `//flutter/sky/tools/macos_tools.gni` can be
removed.

Along with the TODO, renaming the script and the rule help ensure we'll
spot this and remove it when bitcode support is removed from the engine.

Finally, this fixes a dependency issue in the target
//flutter/lib/snapshot:create_macos_gen_snapshots. Previously, it
dependended on ":generate_snapshot_bin", but in fact, the only file it
touches is gen_snapshot. This was built transitively as part of the
":generate_snapshot_bin" target, but is now depended on directly.

This is pre-factoring for merging the iOS and macOS gen_snapshot
creation build rules in `flutter/lib/snapshot/BUILD.gn`.

Issue: https://github.com/flutter/flutter/issues/103386
Issue: https://github.com/flutter/flutter/issues/101138
Issue: https://github.com/flutter/flutter/issues/107884
2022-09-29 10:48:56 -07:00
Oleg
6d76d00c33 Fixed visibility of embedded views in safari (google map, video, camera preview etc) (flutter/engine#35948) 2022-09-29 16:41:15 +00:00
Loïc Sharma
ed86837855 Fix the AXPlatformNodeWinTest.IAccessibleHitTest test (flutter/engine#36490) 2022-09-29 16:41:13 +00:00
skia-flutter-autoroll
8d47b777e7 Roll Skia from f0d283f77832 to 1b72d90ed511 (2 revisions) (flutter/engine#36503) 2022-09-29 16:37:16 +00:00
skia-flutter-autoroll
e1cc251343 Roll Skia from 08d10dcd02f9 to f0d283f77832 (1 revision) (flutter/engine#36501) 2022-09-29 14:47:27 +00:00
skia-flutter-autoroll
f56314af40 Roll Dart SDK from fc7feeb9f075 to 8c19c7bd38b4 (1 revision) (flutter/engine#36500) 2022-09-29 14:37:37 +00:00
skia-flutter-autoroll
4d2e531e51 Roll Dart SDK from a9bfac5d217c to fc7feeb9f075 (1 revision) (flutter/engine#36497) 2022-09-29 10:17:27 +00:00
skia-flutter-autoroll
52c502c595 Roll Skia from 1ef9f8be6f63 to 08d10dcd02f9 (3 revisions) (flutter/engine#36495) 2022-09-29 08:19:39 +00:00
skia-flutter-autoroll
d0f51f1eda Roll Skia from d9785fdcddef to 1ef9f8be6f63 (1 revision) (flutter/engine#36494) 2022-09-29 06:39:28 +00:00
godofredoc
d6421e0dc8 Generate fonts.zip for arm64. (flutter/engine#36492) 2022-09-29 05:35:08 +00:00
skia-flutter-autoroll
bc31709178 Roll Dart SDK from ad1a209556da to a9bfac5d217c (1 revision) (flutter/engine#36493) 2022-09-29 05:18:38 +00:00
xiaomiao
71f3f9605c [Impeller] Make 'linearToSrgbGamma' and 'srgbToLinearGamma' work as expected (flutter/engine#36472) 2022-09-29 01:39:53 +00:00
Chris Bracken
57c22d595a Roll buildroot to 64d07cbd3d9fa0c15f06c8e24c3bdbf5a9a06329 (flutter/engine#36487)
Includes:
* Add json.hpp and tinygltf configuration (flutter/buildroot#627)
* Bump ossf/scorecard-action from 2.0.3 to 2.0.4 (flutter/buildroot#630)
* fix Visual Studio toolchain detection (flutter/buildroot#628)
2022-09-28 18:17:55 -07:00
alanwutang11
1dcdc91882 dont throw on null view embedder (flutter/engine#36479) 2022-09-29 01:07:04 +00:00
ColdPaleLight
c34c9941e4 [Impeller] Blend alpha correctly in the 'DstOver' mode and the 'Dst' mode (flutter/engine#36439) 2022-09-29 00:32:16 +00:00
skia-flutter-autoroll
a7f9b3829a Roll Dart SDK from e0f4f7d402ff to ad1a209556da (1 revision) (flutter/engine#36489) 2022-09-29 00:30:17 +00:00
Harry Terkelsen
1a32fb8191 Fix bug in binary search for font.contains (flutter/engine#36426) 2022-09-28 16:35:56 -07:00
skia-flutter-autoroll
9fdbb5ad9c Roll Skia from 561a5e202c79 to d9785fdcddef (3 revisions) (flutter/engine#36486) 2022-09-28 22:46:27 +00:00
Jonah Williams
463c3d8cba Revert egl presentation time (flutter/engine#36485) 2022-09-28 21:50:13 +00:00
Zachary Anderson
5b36e44eaf Adds a --lint-head flag to the clang-tidy script (flutter/engine#36476)
* Adds a --lint-head flag to the clang-tidy script

* Update tools/clang_tidy/lib/src/git_repo.dart

Co-authored-by: Jenn Magder <magder@google.com>

* Fix comment syntax

Co-authored-by: Jenn Magder <magder@google.com>
2022-09-28 14:28:03 -07:00
skia-flutter-autoroll
fca3afa7c9 Roll Skia from a45438bb1f11 to 561a5e202c79 (2 revisions) (flutter/engine#36483) 2022-09-28 20:55:01 +00:00
Siva
d4a1f7a64b Make Flutter frontend server Null safe. (flutter/engine#36482) 2022-09-28 13:24:07 -07:00
Callum Moffat
582d28921f Fix reversed macOS trackpad rotation (flutter/engine#36444) 2022-09-28 19:52:50 +00:00
skia-flutter-autoroll
19161bb890 Roll Dart SDK from c839570fd01f to e0f4f7d402ff (1 revision) (flutter/engine#36480) 2022-09-28 19:40:00 +00:00
Erik
777f08534e Add skip-remove-buckets parameter (flutter/engine#36481) 2022-09-28 19:39:59 +00:00
skia-flutter-autoroll
7ded3054e1 Roll Skia from e17679d03818 to a45438bb1f11 (3 revisions) (flutter/engine#36478) 2022-09-28 18:35:07 +00:00
sealesj
8c24c0eb88 Revert "OSV Vulnerabiltiy Scanning (#36355)" (flutter/engine#36477)
This reverts commit 67333ec64c77c195dd764682a3095c4c1744cbc2.
2022-09-28 13:12:25 -04:00
sealesj
67333ec64c OSV Vulnerabiltiy Scanning (flutter/engine#36355)
* initial flatten deps scan

* move 3rd party scan to separate action

* allow fork to run

* install requests

* use packages

* pip install

* rename

* conditional vuln report

* trailing whitespace

* trailing whitespace

* detailed print

* add testing file

* add upload test sarif

* results sarif

* move sarif

* upload modified sarif

* test flow

* test with results.sarif

* formatting

* test naming convention

* description with text in artifactLocation

* don't use locations

* use template sarif

* just use template

* add one field mod

* add another field mod

* use actual osvReport

* add field

* add field

* test

* no information uri

* no information uri

* add name

* template NA data for results

* back to minimal template

* dynamic rules

* template update

* no results

* only use template

* test

* new test

* new test

* add back locations

* descriptive fields

* test

* use package name

* variable commit hash

* add chromium accessibility readme support

* use batch query test

* clean up

* use variables for sarif template

* initial automating ancestor commit

* allow for workflow on testing

* install gitpython in workflow

* wrap in try

* expand try

* check commit is not none

* quiet clone

* fix commit newline

* proper print for failed deps

* remove gitpython

* remove import

* fix origin source

* remove .dart from dep names

* update dep

* typo

* update

* clone into controlled name repo now

* fix github upstream clone url

* test CVE finding

* use templated rule and result

* typo

* remove test CVE

* add link straight to OSV DB

* comments

* use os mkdir

* check time of pinned commit

* quiet git

* print osv api query results if vulns found

* move upstream mapping into DEPS file

* add testing for DEPS file

* add khronos exception

* add basic ancestor commit test

* no vulns message

* do not produce empty sarif

* add yaml

* remove unused python dep

* no change?

* no more print, causing recipe issues

* string test

* string test

* no more fstrings

* convert to .format

* syntax

* remove unused dep

* test

* switch test script

* no encoding

* add back test

* typo

* remove scan flat deps tests again

* update

* fix tests

* typo

* newline

* use checkout dir

* prefix

* update to use prefix

* lint

* runhook attempt

* lint

* lint

* lint

* lint

* no license blurb

* cleanup

* enable for main

* do not raise error

* run on branch

* data indentation

* check file existence
2022-09-28 12:56:31 -04:00
skia-flutter-autoroll
c298d07c0d Roll Skia from 2d45cb9b66f1 to e17679d03818 (4 revisions) (flutter/engine#36475) 2022-09-28 16:25:28 +00:00
Chris Bracken
72aa64e91f [macOS] Clean up gen_snapshot copy invocation (flutter/engine#36461)
create_macos_gen_snapshots.py uses `xcrun bitcode_strip` to copy
gen_snapshot from its build directory to a suffixed gen_snapshot_arm64
or gen_snapshot_armv7, while stripping the bitcode segment, if any.

This simplifies the python invocation to use subprocess.check_call, and
also guarantees the process exits with failure in such a situation --
we weren't checking the return value of generate_gen_snapshot.

This is cleanup for issues encountered while working on merging
macOS/iOS gen_snapshot tooling.

Issue: https://github.com/flutter/flutter/issues/103386
Issue: https://github.com/flutter/flutter/issues/101138
2022-09-28 09:13:49 -07:00
godofredoc
36fb4e3695 Add artifacts.zip for mac_arm64. (flutter/engine#36467) 2022-09-28 16:02:22 +00:00
skia-flutter-autoroll
4d773b8bd6 Roll Skia from 7556aafc3326 to 2d45cb9b66f1 (1 revision) (flutter/engine#36474) 2022-09-28 14:29:30 +00:00
skia-flutter-autoroll
d3e4bf90fa Roll Skia from 0671f864b828 to 7556aafc3326 (1 revision) (flutter/engine#36471) 2022-09-28 09:52:12 +00:00
skia-flutter-autoroll
7cf09f6eea Roll Dart SDK from da73f0dd2bf6 to c839570fd01f (1 revision) (flutter/engine#36470) 2022-09-28 08:50:39 +00:00
skia-flutter-autoroll
dbb863b648 Roll Skia from 672a51f2942a to 0671f864b828 (2 revisions) (flutter/engine#36468) 2022-09-28 07:23:19 +00:00
Jonah Williams
034e72b49a [Impeller] Insert implied leading and trailing stops if missing, correct off by one in gradient calculation (flutter/engine#36227) 2022-09-28 07:03:08 +00:00
skia-flutter-autoroll
e59ef6d79c Roll Skia from f3a2f2b070ee to 672a51f2942a (1 revision) (flutter/engine#36465) 2022-09-28 05:47:02 +00:00
skia-flutter-autoroll
1d0854629e Roll Dart SDK from e205126d124c to da73f0dd2bf6 (2 revisions) (flutter/engine#36464) 2022-09-28 03:56:02 +00:00
skia-flutter-autoroll
ae1783703a Roll Skia from 0e44b6a2859c to f3a2f2b070ee (1 revision) (flutter/engine#36462) 2022-09-28 03:14:12 +00:00
Filip Filmar
98933adfa0 [icu] Update icu to 20f8ac695af59b6c830def7d4e95bfeb13dd7be5 (flutter/engine#36362) 2022-09-28 02:03:55 +00:00