19365 Commits

Author SHA1 Message Date
xster
257eba9c19
Fix a AppLifecycleTest present time race between the animation and the rest of the test (#21107) 2020-09-14 08:50:16 -07:00
skia-flutter-autoroll
5602b7b513
Roll Fuchsia Mac SDK from 78RTO77Tu... to m7z9dEdGg... (#21143) 2020-09-13 19:12:02 -07:00
Greg Spencer
d19a6fab13
Track lock key down state instead of lock state (#20836)
This converts the GTK keyboard code to track the key down states of the lock modifiers NumLock and CapsLock so that they represent the actual "down" state of the key, rather than the lock state itself.

GTK tracks the lock state, and Flutter expects the down state.
2020-09-13 14:44:25 -07:00
skia-flutter-autoroll
2fc054147e
Roll Fuchsia Linux SDK from 0XXjmMun1... to KA_kDgY7C... (#21142) 2020-09-13 08:37:01 -07:00
skia-flutter-autoroll
37b5ce1283
Roll Fuchsia Mac SDK from C73kzh_IF... to 78RTO77Tu... (#21141) 2020-09-13 04:37:02 -07:00
skia-flutter-autoroll
337deb000a
Roll Skia from 186866c46179 to b711737c1384 (1 revision) (#21140) 2020-09-13 03:07:01 -07:00
skia-flutter-autoroll
097facfac3
Roll Dart SDK from 4bf1f624d06e to b6f67aa2cc72 (1 revision) (#21139) 2020-09-12 20:52:02 -07:00
skia-flutter-autoroll
a585979c7a
Roll Fuchsia Linux SDK from hO-ki0WJb... to 0XXjmMun1... (#21138) 2020-09-12 19:17:01 -07:00
skia-flutter-autoroll
ee4c979203
Roll Dart SDK from 3533cfda999e to 4bf1f624d06e (1 revision) (#21137) 2020-09-12 16:42:01 -07:00
skia-flutter-autoroll
7156b46045
Roll Fuchsia Mac SDK from oINI9fspF... to C73kzh_IF... (#21136) 2020-09-12 15:32:01 -07:00
skia-flutter-autoroll
4a5e29ac64
Roll Dart SDK from d2ba4fd3275e to 3533cfda999e (1 revision) (#21134) 2020-09-12 12:32:01 -07:00
Chris Bracken
1fa99cd618
[felt] Use autoninja instead of hardcoding threads (#21130)
autoninja is included as part of depot_tools and automatically
determines the optimal thread count.

Also applies quoting on the affected lines.
2020-09-12 12:14:05 -07:00
skia-flutter-autoroll
ca731e6ac3
Roll Skia from 582c5a9a84ac to 186866c46179 (1 revision) (#21133) 2020-09-12 09:37:02 -07:00
skia-flutter-autoroll
218f76f8cc
Roll Fuchsia Linux SDK from f3YqG3OdI... to hO-ki0WJb... (#21132) 2020-09-12 04:27:02 -07:00
skia-flutter-autoroll
ccc772a201
Roll Fuchsia Mac SDK from ggoll70iR... to oINI9fspF... (#21131) 2020-09-12 02:27:01 -07:00
Chris Bracken
08dabe9601
Clean up C++ includes (#21127)
Cleans up header order/grouping for consistency: associated header, C/C++ system/standard library headers, library headers, platform-specific #includes.

Adds <cstring> where strlen, memcpy are being used: there are a bunch of places we use them transitively.

Applies linter-required cleanups. Disables linter on one file due to included RapidJson header. See https://github.com/flutter/flutter/issues/65676

This patch does not cover flutter/shell/platform/darwin. There's a separate, slightly more intensive cleanup for those in progress.
2020-09-11 21:18:35 -07:00
skia-flutter-autoroll
2ac47555c0
Roll Dart SDK from 1c887123b92c to d2ba4fd3275e (1 revision) (#21128) 2020-09-11 20:27:01 -07:00
skia-flutter-autoroll
43cb9b7092
Roll Skia from 9eb848ae8218 to 582c5a9a84ac (1 revision) (#21124) 2020-09-11 18:02:01 -07:00
Emmanuel Garcia
2b30bec2db
Fix comment indentation (#21114) 2020-09-11 17:50:26 -07:00
Chris Bracken
16b900b63e
Prefer C++ standard headers to their C counterpart (#21091)
We currently use a mix of C standard includes (e.g. limits.h) and their
C++ variants (e.g. climits). This migrates to a consistent style for all
cases where the C++ variants are acceptable, but leaves the C
equivalents in place where they are required, such as in the embedder
API and other headers that may be used from C.
2020-09-11 17:10:00 -07:00
Emmanuel Garcia
85a7afa913
Add a new raster status kSkipAndRetry frame (#21059) 2020-09-11 16:29:11 -07:00
Jason Simmons
22982407d4
Check for a valid SkSL cache directory before calling VisitFiles (#21118)
The directory may be invalid when running shell_unittests because
some tests call SetCacheDirectoryPath and then delete the directory.
Later tests that try to use that cache base path will be unable to
open the directory.
2020-09-11 16:23:25 -07:00
Chris Bracken
6e4af80e7e
Disable iOS application lifetime Scenario tests (#21125)
This speculatively disables the ApplicationLifecycle Scenarios iOS tests
which continue to fail after being re-enabled in flutter/engine#21087.

Related P0 issue: https://github.com/flutter/flutter/issues/61620
2020-09-11 16:12:22 -07:00
skia-flutter-autoroll
c361624314
Roll Skia from 6518d77a2200 to 9eb848ae8218 (20 revisions) (#21122) 2020-09-11 15:10:01 -07:00
skia-flutter-autoroll
545b1b9fcd
Roll Fuchsia Linux SDK from XIejclW2X... to f3YqG3OdI... (#21121) 2020-09-11 15:05:02 -07:00
Chris Bracken
5239e5582f
Update OCMock to version 3.7.1 (#21111)
This gets us to latest and fixes a warning about a missing cast.

This rolls buildroot to f83d1d75216e97fb696434bca1cb9a4e7a570fb6

Related patch: https://github.com/flutter/buildroot/pull/401
2020-09-11 13:52:00 -07:00
Sam Rawlins
cda059e55c
Fix erroneous dartdoc @tool directive. (#21109) 2020-09-11 12:00:02 -07:00
nturgut
f5506fda1d
updating the documentation after integration_test migration (#21077)
* updating the documentation after integration_test migration

* fix typos

* address reviewer comments

* add link for build modes
2020-09-11 11:18:33 -07:00
Chris Bracken
fd17e0846b
Fix linter errors in mock_engine (#21102)
Make a single-param ctor explicit in order to prevent surprising
implicit conversions.

Add a check for zero message-size and don't malloc/memcpy the incoming
message in those cases.

Add braces where they were missing.
2020-09-11 10:27:00 -07:00
skia-flutter-autoroll
223bf45e8e
Roll Fuchsia Mac SDK from b9rM1nBK1... to ggoll70iR... (#21101) 2020-09-11 10:10:01 -07:00
skia-flutter-autoroll
540dd230cf
Roll Dart SDK from 14f1940f537e to 1c887123b92c (1 revision) (#21093) 2020-09-11 09:55:01 -07:00
xster
397b6c6a93
re-enable scenario tests on iOS (#21088) 2020-09-11 09:21:37 -07:00
Chris Bracken
36f7f3ca82
Copyright header hygiene improvements (#21089)
Add copyright headers in a few files where they were missing.

Trim trailing blank comment line where present, for consistency with
other engine code.

Use the standard libtxt copyright header in one file where it differed
(extra (C) and comma compared to other files in libtxt).

This also amends tools/const_finder/test/const_finder_test.dart to look
for a const an additional four lines down to account for the copyright
header added to the test fixture.
2020-09-11 08:55:37 -07:00
skia-flutter-autoroll
78f968e317
Roll Skia from bbe69951b416 to 6518d77a2200 (1 revision) (#21096) 2020-09-11 08:10:02 -07:00
skia-flutter-autoroll
983b0ef164
Roll Dart SDK from 1abce6d054ad to 14f1940f537e (1 revision) (#21092) 2020-09-11 02:05:01 -07:00
skia-flutter-autoroll
a0bd862cc0
Roll Fuchsia Linux SDK from l8baHga4c... to XIejclW2X... (#21086) 2020-09-11 00:25:01 -07:00
skia-flutter-autoroll
63aec780b3
Roll Skia from 9d6f955f52e9 to bbe69951b416 (4 revisions) (#21090) 2020-09-11 00:05:02 -07:00
Chris Bracken
bdaac368f8
Re-enable (most) iOS Scenarios tests (#21087)
This re-enables the iOS Scenarios tests which have been flaky in the
last couple days.

Disabling two tests where we've seen the flakes:
* AppLifecycleTests testFlutterViewControllerDetachingSendsApplicationLifecycle
* FlutterViewControllerInitialRouteTest testSettingInitialRoute

This reverts commit 0c6c265a6f38bcacf551690a8fc8f78bb4f2c285.
2020-09-10 22:57:56 -07:00
skia-flutter-autoroll
7865174914
Roll Skia from 0b6bf1c9668e to 9d6f955f52e9 (8 revisions) (#21085) 2020-09-10 22:45:02 -07:00
skia-flutter-autoroll
67bfa7e133
Roll Dart SDK from 72393cc698da to 1abce6d054ad (3 revisions) (#21083)
https://dart.googlesource.com/sdk.git/+log/72393cc698da..1abce6d054ad

2020-09-11 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.10.0-115.0.dev
2020-09-10 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.10.0-114.0.dev
2020-09-10 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.10.0-113.0.dev

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-sdk-flutter-engine
Please CC dart-vm-team@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md
2020-09-10 21:37:36 -07:00
stuartmorgan
51d6502e13
Minor windows.h cleanup (#21082)
- Standardize on lowercase for windows.h
- Don't define NOMINMAX before including windows.h in (some) public
  wrapper headers, since it causes a warning when combined with setting
  NOMINMAX at the build level, which is the more robust way to avoid
  issues with min/max and windows.h
2020-09-10 21:11:07 -07:00
stuartmorgan
4eb069fe20
Remove deprecated methods from FlutterViewController (#21081)
The template now uses the FlutterEngine versions.
2020-09-10 21:10:28 -07:00
stuartmorgan
83cc9230c4
Clean up deprecated EncodableValue code (#20981)
Removes the older pointer-based versions of APIs taking EncodableValues for which there are now reference-based versions.
2020-09-10 21:08:52 -07:00
xster
216a1ab64d
add back a line to build host for scenario tests (#21076) 2020-09-10 21:05:03 -07:00
skia-flutter-autoroll
c7480be15d
Roll Skia from fb5e0ebef07c to 0b6bf1c9668e (2 revisions) (#21074)
https://skia.googlesource.com/skia.git/+log/fb5e0ebef07c..0b6bf1c9668e

2020-09-10 skia-autoroll@skia-public.iam.gserviceaccount.com Roll dawn from 0a1061da0c7f to 87f25134a8c1 (7 revisions)
2020-09-10 bsalomon@google.com Revert "Temporary hack to force text texture index varying to be float."

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC reed@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md
2020-09-10 21:03:49 -07:00
skia-flutter-autoroll
a168416c8c
Roll Fuchsia Mac SDK from 5o9onBKYd... to b9rM1nBK1... (#21079)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-mac-sdk-flutter-engine
Please CC jsimmons@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md
2020-09-10 21:03:31 -07:00
chunhtai
833c6a2e00
Implement browser history class for router widget (#20794) 2020-09-10 21:00:02 -07:00
Chris Bracken
0c6c265a6f
Disable iOS ScenariosTests suite (#21080)
This disables the macOS Scenarios app tests until a fix for the current
flakiness is found.

This also reverts commit 55d447a1c3e124e4b1ae6c8a1230808412657a85 where
one test was previously disabled. However, another started failing soon
after, so instead we disable the whole suite here.
2020-09-10 19:50:03 -07:00
Chris Bracken
55d447a1c3
Disable a flaky Scenarios test (#21075)
This disables the macOS Scenarios app test
testFlutterViewControllerDetachingSendsApplicationLifecycle
until a fix for the flakiness is found.

Related issue: https://github.com/flutter/flutter/issues/61620
2020-09-10 13:21:17 -07:00
skia-flutter-autoroll
c88430629a
Roll Skia from 3d41d509a6a9 to fb5e0ebef07c (1 revision) (#21072) 2020-09-10 09:25:03 -07:00