11019 Commits

Author SHA1 Message Date
Damian Wrobel
2c4ff91e3c Add missing <cstring> header for (strcmp, strrchr) (flutter/engine#21176)
Fixes the following compilation errors:
../../flutter/shell/platform/linux/fl_platform_plugin.cc:89:7: error: use of undeclared identifier 'strcmp'
  if (strcmp(format, kTextPlainFormat) != 0) {
      ^
../../flutter/shell/platform/linux/fl_platform_plugin.cc:127:7: error: use of undeclared identifier 'strcmp'
  if (strcmp(method, kSetClipboardDataMethod) == 0)
      ^
../../flutter/shell/platform/linux/fl_platform_plugin.cc:129:12: error: use of undeclared identifier 'strcmp'
  else if (strcmp(method, kGetClipboardDataMethod) == 0)
           ^
../../flutter/shell/platform/linux/fl_platform_plugin.cc:131:12: error: use of undeclared identifier 'strcmp'
  else if (strcmp(method, kSystemNavigatorPopMethod) == 0)
           ^
../../flutter/shell/platform/linux/fl_view.cc:194:7: error: use of undeclared identifier 'strcmp'
  if (strcmp(pspec->name, "scale-factor") == 0) {
      ^
../../flutter/shell/platform/linux/fl_engine.cc:67:18: error: use of undeclared identifier 'strrchr'
  gchar* match = strrchr(l, '@');
                 ^
../../flutter/shell/platform/linux/fl_engine.cc:75:11: error: use of undeclared identifier 'strrchr'
  match = strrchr(l, '.');
          ^
../../flutter/shell/platform/linux/fl_engine.cc:83:11: error: use of undeclared identifier 'strrchr'
  match = strrchr(l, '_');
          ^

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-09-15 08:05:12 -07:00
skia-flutter-autoroll
2b4467bbf3 Roll Skia from 2bc4077c9e42 to aecd484d03d7 (2 revisions) (flutter/engine#21172) 2020-09-15 00:12:01 -07:00
skia-flutter-autoroll
4bd7f72670 Roll Fuchsia Linux SDK from zKQw_oHsx... to -iBBiPj1C... (flutter/engine#21171) 2020-09-14 22:57:01 -07:00
skia-flutter-autoroll
ded951e354 Roll Skia from 37fd658981dd to 2bc4077c9e42 (4 revisions) (flutter/engine#21170) 2020-09-14 22:52:02 -07:00
skia-flutter-autoroll
b3773f1f99 Roll Skia from 6253b5787df8 to 37fd658981dd (1 revision) (flutter/engine#21162) 2020-09-14 21:32:01 -07:00
godofredoc
621af6b19d Force builders to run. (flutter/engine#21167)
There was a problem with GoB that made all the builders fail on old
commits. As the last commit was successful we need to force a new
execution to unblock the tree.
2020-09-14 20:36:15 -07:00
kaisa695275735
85f1cd7356 delete opengl texture when it detatch from surfacetexture. (flutter/engine#18733) 2020-09-14 14:07:39 -07:00
skia-flutter-autoroll
01177fdd4d Roll Skia from 34b19c575066 to 6253b5787df8 (7 revisions) (flutter/engine#21159) 2020-09-14 13:57:02 -07:00
Chris Bracken
308206ddd1 Remove suppression of null-related warnings (flutter/engine#21157) 2020-09-14 13:37:01 -07:00
Pragya
5b645efd49 Updated ColorMatrix to ColorFilter (flutter/engine#19905) 2020-09-14 11:59:57 -07:00
Chris Bracken
59e39baf33 [felt] Eliminate ninja-jobs argument (flutter/engine#21135)
Migrate to autoninja which works out the ideal level of parallelism.
2020-09-14 11:12:16 -07:00
skia-flutter-autoroll
e533ed4a92 Roll Skia from 081bc32703b7 to 34b19c575066 (7 revisions) (flutter/engine#21156) 2020-09-14 11:12:02 -07:00
renyou
7d8dc2aa24 Fix an include path to match the others. (flutter/engine#21148) 2020-09-14 10:06:44 -07:00
skia-flutter-autoroll
f3c228cdc4 Roll Skia from b711737c1384 to 081bc32703b7 (4 revisions) (flutter/engine#21146) 2020-09-14 09:42:02 -07:00
skia-flutter-autoroll
1e8ae74566 Roll Fuchsia Linux SDK from KA_kDgY7C... to zKQw_oHsx... (flutter/engine#21144) 2020-09-14 09:37:02 -07:00
xster
e1cfc1ac6b Fix a AppLifecycleTest present time race between the animation and the rest of the test (flutter/engine#21107) 2020-09-14 08:50:16 -07:00
Greg Spencer
b78f92a7c5 Track lock key down state instead of lock state (flutter/engine#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
704bfa2d07 Roll Fuchsia Linux SDK from 0XXjmMun1... to KA_kDgY7C... (flutter/engine#21142) 2020-09-13 08:37:01 -07:00
skia-flutter-autoroll
a41786e595 Roll Skia from 186866c46179 to b711737c1384 (1 revision) (flutter/engine#21140) 2020-09-13 03:07:01 -07:00
skia-flutter-autoroll
6fdce1b6b4 Roll Fuchsia Linux SDK from hO-ki0WJb... to 0XXjmMun1... (flutter/engine#21138) 2020-09-12 19:17:01 -07:00
Chris Bracken
7f7616418b [felt] Use autoninja instead of hardcoding threads (flutter/engine#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
27dd510443 Roll Skia from 582c5a9a84ac to 186866c46179 (1 revision) (flutter/engine#21133) 2020-09-12 09:37:02 -07:00
skia-flutter-autoroll
e82a56ab9b Roll Fuchsia Linux SDK from f3YqG3OdI... to hO-ki0WJb... (flutter/engine#21132) 2020-09-12 04:27:02 -07:00
Chris Bracken
2586db3b22 Clean up C++ includes (flutter/engine#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
a2635619b8 Roll Skia from 9eb848ae8218 to 582c5a9a84ac (1 revision) (flutter/engine#21124) 2020-09-11 18:02:01 -07:00
Emmanuel Garcia
1ec891cb52 Fix comment indentation (flutter/engine#21114) 2020-09-11 17:50:26 -07:00
Chris Bracken
d03692449b Prefer C++ standard headers to their C counterpart (flutter/engine#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
8a317ebabc Add a new raster status kSkipAndRetry frame (flutter/engine#21059) 2020-09-11 16:29:11 -07:00
Jason Simmons
c3a37bec80 Check for a valid SkSL cache directory before calling VisitFiles (flutter/engine#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
eaa458dd36 Disable iOS application lifetime Scenario tests (flutter/engine#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
05bc0c6cd2 Roll Skia from 6518d77a2200 to 9eb848ae8218 (20 revisions) (flutter/engine#21122) 2020-09-11 15:10:01 -07:00
skia-flutter-autoroll
dc2f43df04 Roll Fuchsia Linux SDK from XIejclW2X... to f3YqG3OdI... (flutter/engine#21121) 2020-09-11 15:05:02 -07:00
Sam Rawlins
b72dca37f3 Fix erroneous dartdoc @tool directive. (flutter/engine#21109) 2020-09-11 12:00:02 -07:00
Chris Bracken
7acd2b407c Fix linter errors in mock_engine (flutter/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
xster
a0944e63b4 re-enable scenario tests on iOS (flutter/engine#21088) 2020-09-11 09:21:37 -07:00
Chris Bracken
9ff7d7ca44 Copyright header hygiene improvements (flutter/engine#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
d4cab475f2 Roll Skia from bbe69951b416 to 6518d77a2200 (1 revision) (flutter/engine#21096) 2020-09-11 08:10:02 -07:00
skia-flutter-autoroll
31834626c2 Roll Fuchsia Linux SDK from l8baHga4c... to XIejclW2X... (flutter/engine#21086) 2020-09-11 00:25:01 -07:00
skia-flutter-autoroll
16f7e116e6 Roll Skia from 9d6f955f52e9 to bbe69951b416 (4 revisions) (flutter/engine#21090) 2020-09-11 00:05:02 -07:00
Chris Bracken
c117a411ae Re-enable (most) iOS Scenarios tests (flutter/engine#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 84995bd516d94a3a7e52e752ad666a8b22068498.
2020-09-10 22:57:56 -07:00
skia-flutter-autoroll
5b60d0d508 Roll Skia from 0b6bf1c9668e to 9d6f955f52e9 (8 revisions) (flutter/engine#21085) 2020-09-10 22:45:02 -07:00
stuartmorgan
087ad9a390 Minor windows.h cleanup (flutter/engine#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
1cb8585fa7 Remove deprecated methods from FlutterViewController (flutter/engine#21081)
The template now uses the FlutterEngine versions.
2020-09-10 21:10:28 -07:00
stuartmorgan
91c34dca2e Clean up deprecated EncodableValue code (flutter/engine#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
7f02d137c3 add back a line to build host for scenario tests (flutter/engine#21076) 2020-09-10 21:05:03 -07:00
skia-flutter-autoroll
0a9b5e19ad Roll Skia from fb5e0ebef07c to 0b6bf1c9668e (2 revisions) (flutter/engine#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
chunhtai
da3c08e3ba Implement browser history class for router widget (flutter/engine#20794) 2020-09-10 21:00:02 -07:00
Chris Bracken
84995bd516 Disable iOS ScenariosTests suite (flutter/engine#21080)
This disables the macOS Scenarios app tests until a fix for the current
flakiness is found.

This also reverts commit 9ef075582e0dcaa4df990338b931219465ffcbce 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
9ef075582e Disable a flaky Scenarios test (flutter/engine#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
e40f3637e0 Roll Skia from 3d41d509a6a9 to fb5e0ebef07c (1 revision) (flutter/engine#21072) 2020-09-10 09:25:03 -07:00