17232 Commits

Author SHA1 Message Date
skia-flutter-autoroll
9a9ed6386f
Roll src/third_party/skia d276e3f0099a..9ff1d841f6cc (4 commits) (#17733) 2020-04-15 11:25:01 -07:00
Vyacheslav Egorov
9afc6faaa3
Release acquired typed data before calling Dart_SetReturnValue. (#17729) 2020-04-15 10:35:04 -07:00
skia-flutter-autoroll
e076a964f8
Roll src/third_party/dart 3e43a3dcadf9..eb18db2116dc (37 commits) (#17731) 2020-04-15 09:10:02 -07:00
skia-flutter-autoroll
175a00533d
Roll src/third_party/skia e6995c74cdfa..d276e3f0099a (2 commits) (#17730) 2020-04-15 08:25:02 -07:00
stuartmorgan
7498dc2af5
Fix Windows clipboard handling (#17706)
Fixes several bugs in the clipboard code, and makes some structural
improvements:
- Adds scoped wrappers for clipboard open/close and global lock/unlock,
  to prevent missing cleanup, fixing at least one case where the lock
  was not released.
- Adds the relevant window handle to the clipboard calls, since the docs
  suggest that some operations won't work without one.
- Adds a missing clear step to setting the clipboard data.
- Switches from TEXT to UNICODETEXT to handle non-ASCII text correctly.
  - To enable that, adds UTF-16/-8 conversion utilities built on the
    Win32 APIs (rather than the deprecated std::codecvt functions, as
    have been previously used in the engine).
- Fixes handling of getting data when the clipboard is empty, correctly
  returning null.
- Passes more errors back through the method channel, with details, for
  easier debugging of future issues.

Fixes https://github.com/flutter/flutter/issues/54226
2020-04-15 07:02:58 -07:00
skia-flutter-autoroll
adfa86d6fa
Roll src/third_party/skia 44e2c5f0babc..e6995c74cdfa (12 commits) (#17727) 2020-04-15 05:20:03 -07:00
skia-flutter-autoroll
6712c3f461
Roll fuchsia/sdk/core/mac-amd64 from X4B0z... to dqerH... (#17726) 2020-04-15 00:35:01 -07:00
Yegor
3882d43385
reduce web shard count from 8 to 4 (#17635)
reduce web shard count from 8 to 4 by using WEB_SHARD_COUNT
2020-04-14 20:10:10 -07:00
Yegor
dd87e3f944
Optimize static content scrolling (#17621)
* store paint command bounds
* do not apply commands outside the clip region
* better cull rect prediction
* enforce RecordingCanvas.endRecording
2020-04-14 20:08:10 -07:00
skia-flutter-autoroll
04cfe7c253
Roll fuchsia/sdk/core/linux-amd64 from LnaL2... to M1a9q... (#17715)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-linux-sdk-flutter-engine
Please CC  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/+/master/autoroll/README.md
2020-04-14 19:29:48 -07:00
godofredoc
7720ae7dd7
Updates to use predefined keys. (#17716)
* Updates to use predefined keys.

It starts using:
  * timeouts for paving.
  * timeouts for ssh commands.
  * timeouts for tests.

https://github.com/flutter/flutter/issues/54416

* Update key location and autogenerate public key.

* Use ssh-keygen instead of openssl.

* Fix typo on test name.
2020-04-14 18:29:13 -07:00
stuartmorgan
e6a2534b63
Add a gn flag to disable desktop embeddings (#17708)
Desktop embedding dependencies can trigger gn-generation-time
requiremenets; e.g., the Linux embeddings have pkg-config dependencies.
This can be problematic in some build environments, such as building
flutter_engine.so with a custom sysroot where those higher-level
dependencies aren't available.

This flag allows generating build files that don't have those
dependencies.
2020-04-14 17:48:18 -07:00
Ferhat
1192667a7a
[web] Fix extra canvas generation due to context access (#17710)
* Fix extra canvas generation due to context access
* add comment
* address review comment
2020-04-14 15:40:16 -07:00
gaaclarke
6d17ce60cb
switched to using the ocmock build file in //build (#17707) 2020-04-14 14:43:29 -07:00
skia-flutter-autoroll
1dabddf113
Roll src/third_party/skia ad653d8378d7..44e2c5f0babc (9 commits) (#17709) 2020-04-14 14:20:01 -07:00
stuartmorgan
dfe13788ed
Adjust the GLFW build options (#17704)
- Adds an explicit option for not building the GLFW embedding.
- Disables GLFW by default on Windows, where it's no longer the
  uploaded embedding.
- Moves the X11 pkg-config, which is only used by the GLFW embedding,
  behind the GLFW build flag.
2020-04-14 12:45:21 -07:00
skia-flutter-autoroll
e8d71b4d2f
Roll fuchsia/sdk/core/mac-amd64 from 8JtFK... to X4B0z... (#17701) 2020-04-14 09:25:03 -07:00
skia-flutter-autoroll
7dccc731b4
Roll src/third_party/dart 4aa896464a48..3e43a3dcadf9 (3 commits) (#17698) 2020-04-14 03:50:01 -07:00
skia-flutter-autoroll
662d7977a5
Roll src/third_party/skia f50063625a0c..ad653d8378d7 (3 commits) (#17697) 2020-04-14 02:40:02 -07:00
skia-flutter-autoroll
d3b2da0385
Roll src/third_party/skia 4f17b60208fa..f50063625a0c (1 commits) (#17696) 2020-04-13 23:45:02 -07:00
skia-flutter-autoroll
6bbdf33b0c
Roll src/third_party/dart 2aecf30d2b2e..4aa896464a48 (26 commits) (#17694) 2020-04-13 21:20:01 -07:00
Robert Ancell
b360eab6f7
Move Linux shell docstrings to headers (#17410)
Update docstrings for typos and grammar style specified in the style guide.
2020-04-14 15:41:23 +12:00
skia-flutter-autoroll
f82a615ffb
Roll src/third_party/skia f3953d04a0b8..4f17b60208fa (9 commits) (#17693) 2020-04-13 20:35:02 -07:00
skia-flutter-autoroll
43e0a98410
Roll fuchsia/sdk/core/mac-amd64 from G7eYf... to 8JtFK... (#17689) 2020-04-13 17:50:01 -07:00
Alexander Aprelev
053da38449
In tests run dart code on ui(rather than on platform) thread. (#17686) 2020-04-13 16:50:11 -07:00
skia-flutter-autoroll
d8632496d4
Roll src/third_party/skia d468a1619a2f..f3953d04a0b8 (11 commits) (#17685) 2020-04-13 16:50:08 -07:00
George Wright
fd1db54e02
Use VK_LAYER_KHRONOS_validation only on Fuchsia (#17683) 2020-04-13 16:45:03 -07:00
Ferhat
4a1085a6f2
[web] Fix compositing order when adding paragraph tags (#17645)
* Add test and dartfmt
* Update golden locks
* Addressed review comments
* Fix lint error (unused widthConstraint)
* Add maxDiffRatePercent for text diff on mac/linux
2020-04-13 13:30:52 -07:00
gaaclarke
61ec840edd
Made it so unit tests can be written against all ios engine code. (#17624) 2020-04-13 12:34:54 -07:00
George Wright
b241ec1d46 Enable required extension 2020-04-13 12:14:06 -07:00
skia-flutter-autoroll
b9059b55d7
Roll src/third_party/dart c9710e5059ad..2aecf30d2b2e (1 commits) (#17680) 2020-04-13 11:15:03 -07:00
Nurhan Turgut
deef2663ac
Run integration tests on ci (#17598)
* changing felt script to fetch flutter

* changing the clone_flutter.sh code

* running integration tests with felt on cirrus. fetch framework in CI (not in local).

* only run cirrus tests on chrome. fix a comma in the flutter command path

* adding comments to public flags

* use local engine parameter for flutter pub get

* change flutter executable used for flutter drive command

* fix a cleanup issue. address comments. add toolException. enable web in flutter

* address reviwer comments. fix issue with local-engine

* address reviwer comments. fix issue with local-engine

* using engine/flutter/.dart_tools as clone directory. enabling clone script for local usage

* clean flutter repo with felt clean. add a flag to skip cloning the repo. always clone the repo even for local development, unless this flag is set

* fixing typos. updating readme for the new flag.

* fix directory error

* addressing reviewer comments
2020-04-13 09:54:54 -07:00
skia-flutter-autoroll
85b9c9cc43
Roll src/third_party/skia 4b4efe4d6f1f..d468a1619a2f (1 commits) (#17677) 2020-04-13 07:00:02 -07:00
skia-flutter-autoroll
405fe37dcd
Roll src/third_party/skia 32c61af49cdb..4b4efe4d6f1f (3 commits) (#17675) 2020-04-13 02:50:01 -07:00
skia-flutter-autoroll
521c1d4431
Roll src/third_party/dart 8ef508ba3667..c9710e5059ad (1 commits) (#17673) 2020-04-12 23:45:01 -07:00
skia-flutter-autoroll
d957befe13
Roll src/third_party/skia 6dfc55454671..32c61af49cdb (1 commits) (#17672) 2020-04-12 23:10:01 -07:00
skia-flutter-autoroll
926f6fcbbc
Roll fuchsia/sdk/core/mac-amd64 from yCVt4... to G7eYf... (#17671) 2020-04-12 18:05:01 -07:00
skia-flutter-autoroll
cc7d2857a9
Roll src/third_party/dart 23a8788f6a9c..8ef508ba3667 (2 commits) (#17668) 2020-04-12 14:30:02 -07:00
skia-flutter-autoroll
aef9986cf1
Roll fuchsia/sdk/core/mac-amd64 from zCKPv... to yCVt4... (#17661) 2020-04-12 02:10:02 -07:00
skia-flutter-autoroll
80ada900a5
Roll src/third_party/skia 459ecee2cbdc..6dfc55454671 (2 commits) (#17663) 2020-04-12 01:45:02 -07:00
skia-flutter-autoroll
720645e18d
Roll src/third_party/dart 89b0f6726123..23a8788f6a9c (1 commits) (#17659) 2020-04-12 00:55:02 -07:00
stuartmorgan
9992a4ae66
Fix C++ MethodChannel reply type (#17607)
Makes InvokeMethod's reply a high-level response object, rather than
binary data, matching the abstraction level of the class (and the other
languages' implementations).

In support of that:
- Adds the logic to the codecs to decode response envelopes, which had
  never been implemented.
- Adds a convience implementation of MethodResult that forwards to
  lambdas, so that one-off invocation handlers are easier to write.

Also simplified BinaryMessenger's API so that subclasses only need to
implement one version of Send, rather than two almost-identical versions.

Fixes https://github.com/flutter/flutter/issues/53223
2020-04-11 19:06:37 -07:00
Jason Simmons
beb8a7ec48
Update editing state in InputConnectionAdaptor.setSelection (#17652)
The BaseInputConnection superclass does not call endBatchEdit
in setSelection and therefore does not implicitly cause
InputConnectionAdaptor to send a state update.

Some input modes such as numeric keypads will not function without
these updates.
2020-04-11 17:29:50 -07:00
skia-flutter-autoroll
e66389398e
Roll src/third_party/dart 9e2c8ef0009b..89b0f6726123 (8 commits) (#17658) 2020-04-11 15:50:02 -07:00
skia-flutter-autoroll
f0e489600a
Roll src/third_party/skia daf94c56bcb3..459ecee2cbdc (1 commits) (#17655) 2020-04-11 12:00:02 -07:00
Mehmet Fidanboylu
47a88e8ea3
Add support for setting allow http flag in Dart VM (#17653) 2020-04-11 11:55:05 -07:00
stuartmorgan
71d8edb13a
Always build GTK shell (#17634) 2020-04-11 11:50:03 -07:00
skia-flutter-autoroll
f779f09058
Roll fuchsia/sdk/core/mac-amd64 from teyLc... to zCKPv... (#17651) 2020-04-10 19:35:05 -07:00
skia-flutter-autoroll
d6c1398a3f
Roll src/third_party/dart 9a51d7003dd5..9e2c8ef0009b (20 commits) (#17648) 2020-04-10 16:55:05 -07:00
Gary Qian
2d19576f24
Implement Hashcode for TextEditingValue in InputConnectionAdaptor (#17643) 2020-04-10 16:00:01 -07:00