20087 Commits

Author SHA1 Message Date
Justin McCandless
3c9308faad
hasStrings Mac (#20531)
Adds the hasStrings method for Mac, and improves the state of unit testing on Mac.
2020-09-15 08:40:27 -07:00
Chris Bracken
2a26bfba13
Define _USE_MATH_DEFINES on Windows where needed (#21166) 2020-09-15 08:37:02 -07:00
skia-flutter-autoroll
f0a622a620
Roll Skia from aecd484d03d7 to 22aa7d791515 (5 revisions) (#21178) 2020-09-15 08:27:04 -07:00
Damian Wrobel
21fd8917c0
Add missing <cstring> header for (strcmp, strrchr) (#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
c6121c5d51
Roll Skia from 2bc4077c9e42 to aecd484d03d7 (2 revisions) (#21172) 2020-09-15 00:12:01 -07:00
skia-flutter-autoroll
5de5bc7d63
Roll Fuchsia Linux SDK from zKQw_oHsx... to -iBBiPj1C... (#21171) 2020-09-14 22:57:01 -07:00
skia-flutter-autoroll
8326b6ff6d
Roll Skia from 37fd658981dd to 2bc4077c9e42 (4 revisions) (#21170) 2020-09-14 22:52:02 -07:00
skia-flutter-autoroll
c01564e14a
Roll Fuchsia Mac SDK from arL8NjPHW... to 8q8xxvY60... (#21169) 2020-09-14 22:42:01 -07:00
skia-flutter-autoroll
c61258da72
Roll Skia from 6253b5787df8 to 37fd658981dd (1 revision) (#21162) 2020-09-14 21:32:01 -07:00
godofredoc
ccb3339c84
Force builders to run. (#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
skia-flutter-autoroll
7e962ba911
Roll Dart SDK from 27d9970dfeb1 to c835079edda4 (2 revisions) (#21160) 2020-09-14 14:17:01 -07:00
kaisa695275735
555d492a61
delete opengl texture when it detatch from surfacetexture. (#18733) 2020-09-14 14:07:39 -07:00
skia-flutter-autoroll
58edbd426c
Roll Skia from 34b19c575066 to 6253b5787df8 (7 revisions) (#21159) 2020-09-14 13:57:02 -07:00
Chris Bracken
ba972db0bb
Remove suppression of null-related warnings (#21157) 2020-09-14 13:37:01 -07:00
Pragya
455a137171
Updated ColorMatrix to ColorFilter (#19905) 2020-09-14 11:59:57 -07:00
Chris Bracken
b92f788d90
[felt] Eliminate ninja-jobs argument (#21135)
Migrate to autoninja which works out the ideal level of parallelism.
2020-09-14 11:12:16 -07:00
skia-flutter-autoroll
b1c8d0e27d
Roll Skia from 081bc32703b7 to 34b19c575066 (7 revisions) (#21156) 2020-09-14 11:12:02 -07:00
renyou
9dd3f09f3b
Fix an include path to match the others. (#21148) 2020-09-14 10:06:44 -07:00
skia-flutter-autoroll
726877caf1
Roll Dart SDK from b6f67aa2cc72 to 27d9970dfeb1 (1 revision) (#21147) 2020-09-14 09:47:01 -07:00
skia-flutter-autoroll
fd9dbb0e22
Roll Skia from b711737c1384 to 081bc32703b7 (4 revisions) (#21146) 2020-09-14 09:42:02 -07:00
skia-flutter-autoroll
c182a7c55f
Roll Fuchsia Mac SDK from m7z9dEdGg... to arL8NjPHW... (#21151) 2020-09-14 09:37:06 -07:00
skia-flutter-autoroll
8fba7270da
Roll Fuchsia Linux SDK from KA_kDgY7C... to zKQw_oHsx... (#21144) 2020-09-14 09:37:02 -07:00
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