19649 Commits

Author SHA1 Message Date
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
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
xiaomiao
71f3f9605c [Impeller] Make 'linearToSrgbGamma' and 'srgbToLinearGamma' work as expected (flutter/engine#36472) 2022-09-29 01:39:53 +00: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
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
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
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
ae1783703a Roll Skia from 0e44b6a2859c to f3a2f2b070ee (1 revision) (flutter/engine#36462) 2022-09-28 03:14:12 +00:00
skia-flutter-autoroll
df45b0a3d6 Roll Skia from 04dd658f85da to 0e44b6a2859c (4 revisions) (flutter/engine#36459) 2022-09-28 00:57:13 +00:00
skia-flutter-autoroll
cf8900f170 Roll Skia from e11ad879ef49 to 04dd658f85da (3 revisions) (flutter/engine#36457) 2022-09-27 23:18:29 +00:00
Chris Bracken
ae41d5b3f7 [macOS] Deduplicate gen_snapshot creation targets (flutter/engine#36455)
Cleans up the logic for building gen_snapshot for macOS hosts. Also adds
a bit more documentation to the snapshot-related build targets.

Previously:
* gen_snapshot targeting macOS (on both x64, and arm64) were generated
  via the `create_macos_gen_snapshots` target.
* gen_snapshot arm/arm64 builds (on a macOS host) were generated via the
  `create_arm_gen_snapshot` target. The reason why this covers only
  arm/arm64 is simply that those are the only platforms we generate
  iOS/Android AOT builds for. x64 iOS implies a simulator build, but we
  only support debug builds for the iOS simulator, which aren't AOT
  builds, and thus don't require gen_snapshot.

These two conditions overlap in the case of arm64 (but not x64) target
builds. This separates the two cases cleanly. A later patch will merge
the two cases to use a single tool.

Note that NEITHER of these two scenarios mentions builds for macOS hosts
targeting Fuchsia. That's because this target is never invoked during
Fuchsia target builds. See:
75d2baf5fe/BUILD.gn (L93-L95)

Issue: https://github.com/flutter/flutter/issues/103386
Issue: https://github.com/flutter/flutter/issues/101138
2022-09-27 16:08:09 -07:00
Erik
75d2baf5fe Add Dart JIT runner integration test (flutter/engine#36420) 2022-09-27 20:14:16 +00:00
skia-flutter-autoroll
1b6a7356db Roll Skia from 97838290d083 to e11ad879ef49 (4 revisions) (flutter/engine#36450) 2022-09-27 20:06:21 +00:00
SahilMadan
84766334f6 [flatland] Reduce size of hit-region. (flutter/engine#36447)
Currently, the hit-region is size FLT_MAX which is susceptible to
numerical overflow when rotating or translating (or any other
modification to the value).
2022-09-27 15:21:10 -04:00
skia-flutter-autoroll
9a659e1d41 Roll Skia from ef455e147d74 to 97838290d083 (9 revisions) (flutter/engine#36446) 2022-09-27 18:15:17 +00:00
Callum Moffat
b92b9bdb6a Add discrete scale pointer signal (flutter/engine#36342) 2022-09-27 15:30:14 +00:00
Chris Bracken
32774c7671 Adds documentation for core snapshot targets (flutter/engine#36434)
Adds doc comments to lib/snapshot/BUILD.gn prior to refactoring.

Issue: https://github.com/flutter/flutter/issues/103386
Issue: https://github.com/flutter/flutter/issues/101138
2022-09-27 06:40:11 -07:00
skia-flutter-autoroll
b707b89504 Roll Skia from 56c606cac39e to ef455e147d74 (2 revisions) (flutter/engine#36437) 2022-09-27 06:39:22 +00:00
Dan Field
d1e4777416 Revert "[Impeller] Reland "Add render target builder"" (flutter/engine#36436) 2022-09-27 06:01:36 +00:00
Chinmay Garde
abd415cafe [Impeller] Avoid soon to be deprecated MTLRenderPipelineDescriptor.sampleCount. (flutter/engine#36432) 2022-09-27 01:03:20 +00:00
godofredoc
2ff336a018 Remove spirv target. (flutter/engine#36431) 2022-09-27 00:52:22 +00:00
Brandon DeRosier
516d2f21d7 [Impeller] Add lerps (flutter/engine#36430) 2022-09-27 00:33:34 +00:00
skia-flutter-autoroll
410c81f785 Roll Skia from 13a15693a183 to 56c606cac39e (1 revision) (flutter/engine#36429) 2022-09-26 22:57:12 +00:00