12418 Commits

Author SHA1 Message Date
skia-flutter-autoroll
7f3ce0fa46 Roll Fuchsia Linux SDK from flUwG0eOB... to uD1gzvk5P... (flutter/engine#24002) 2021-01-27 15:44:02 -08:00
skia-flutter-autoroll
998ac78143 Roll Skia from dd9449c23b9d to b7f5e1b20db1 (7 revisions) (flutter/engine#24000) 2021-01-27 14:24:02 -08:00
Robert Ancell
b987804693 Add a --linux shortcut to --target-os=linux
The other OSs all have this shortcut.
2021-01-28 11:23:22 +13:00
Jason Simmons
0af9029a51 Fix a null pointer dereference if dladdr is unable to find a symbol name (flutter/engine#23970) 2021-01-27 14:14:01 -08:00
Ferhat
eb6f8bb7f3 [web] Fix svg based stroke rendering. (flutter/engine#23969) 2021-01-27 13:40:21 -08:00
xster
888728a804 Load FlutterLoader when creating FlutterEngineGroup (flutter/engine#23980) 2021-01-27 13:30:23 -08:00
skia-flutter-autoroll
8d29e2f548 Roll Skia from 22cc3be64b3e to dd9449c23b9d (11 revisions) (flutter/engine#23994) 2021-01-27 11:44:02 -08:00
skia-flutter-autoroll
ec379e63c5 Roll Skia from a78376bf2aea to 22cc3be64b3e (1 revision) (flutter/engine#23984) 2021-01-27 09:59:01 -08:00
skia-flutter-autoroll
45c7788257 Roll Skia from 4d6310ab2070 to a78376bf2aea (4 revisions) (flutter/engine#23979) 2021-01-27 03:54:01 -08:00
Ian Hickson
b26007da3e Continue filling in the list of FontFeatures (flutter/engine#23730) 2021-01-27 02:49:02 -08:00
skia-flutter-autoroll
b2cfa36f24 Roll Fuchsia Linux SDK from f9rffU-3C... to flUwG0eOB... (flutter/engine#23981) 2021-01-27 02:24:02 -08:00
James Clarke
eb23235cfc Windows: Add CoreWindow implementation of FlutterWindowsView (Flutter#70205) (flutter/engine#23573)
* Windows: Add CoreWindow implementation of FlutterWindowsView (Flutter#70205)
2021-01-26 21:12:38 -08:00
Yegor
338c8a9da1 [canvaskit] fix text background, foreground, color; add text style tests (flutter/engine#23800)
* [canvaskit] fix text background, foreground, familyFallback; add style tests

* add leak test

* update goldens_lock.yaml

* remove solo

* Warn when popping out of empty text style stack
2021-01-26 20:19:46 -08:00
skia-flutter-autoroll
9b2102b175 Roll Skia from 6742d13cbe2e to 4d6310ab2070 (7 revisions) (flutter/engine#23975) 2021-01-26 20:09:01 -08:00
skia-flutter-autoroll
3479b74a49 Roll Skia from a6bff0c3446b to 6742d13cbe2e (9 revisions) (flutter/engine#23971) 2021-01-26 17:04:02 -08:00
Ferhat
3f6677edd4 Fix flake due to shadow rendering difference on webkit (flutter/engine#23961) 2021-01-26 16:59:01 -08:00
Michael Reed
25a3af4c1c Pass sampling rather than rely on (deprecated) filter-quality (flutter/engine#23963) 2021-01-26 15:14:01 -08:00
skia-flutter-autoroll
b7263556ad Roll Skia from 0ecfdea19978 to a6bff0c3446b (3 revisions) (flutter/engine#23968) 2021-01-26 14:49:01 -08:00
zljj0818
a184dbb90d fix video(texture) with opacity can not play issue (flutter/engine#23793) 2021-01-26 14:44:01 -08:00
skia-flutter-autoroll
c95c7339b5 Roll Fuchsia Linux SDK from DLfskqEUx... to f9rffU-3C... (flutter/engine#23962) 2021-01-26 13:04:01 -08:00
Mouad Debbar
cb1efa116e [web] Fix alignment issue in rich paragraphs (flutter/engine#23965) 2021-01-26 13:02:45 -08:00
skia-flutter-autoroll
3165bfdcd5 Roll Skia from 798021ada347 to 0ecfdea19978 (10 revisions) (flutter/engine#23964) 2021-01-26 12:34:02 -08:00
skia-flutter-autoroll
b0197cb031 Roll Skia from f661ec788b14 to 798021ada347 (3 revisions) (flutter/engine#23960)
https://skia.googlesource.com/skia.git/+log/f661ec788b14..798021ada347

2021-01-26 johnstiles@google.com Add unit test for control statements in do-while loop.
2021-01-26 johnstiles@google.com Revert "Reland "Enable _LIBCPP_DEBUG in Clang for non-Xcode-based debug builds.""
2021-01-26 adlai@google.com Redux merging adjacent ops tasks

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 nifong@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
2021-01-26 11:08:17 -08:00
Dragoș Tiselice
ef98b148e5 Switched engine to use buffer collection. (flutter/engine#23488)
The old way of allocating images meant that one would have to make
sure that Scenic and Flutter were using exactly the same pixel
formats. This patch removes the old image allocation and replaces
it with a sysmem API that uses buffer collections instead. This
permits a smooth negotiation of formats between the two systems.
2021-01-26 12:17:13 -05:00
zljj0818
a18173a94b fix concurrent threads cannot set thread name on Android issue (flutter/engine#23850) 2021-01-26 09:04:02 -08:00
skia-flutter-autoroll
f71f5f2a00 Roll Skia from 98c990eba005 to f661ec788b14 (3 revisions) (flutter/engine#23958) 2021-01-26 08:34:02 -08:00
skia-flutter-autoroll
c83cf4ea5f Roll Skia from bbc5288f2bb1 to 98c990eba005 (1 revision) (flutter/engine#23956) 2021-01-26 07:09:01 -08:00
Daco Harkes
a5d5c05992 add ffi_allocation_patch.dart to libraries.yaml 2 (flutter/engine#23954) 2021-01-26 14:44:35 +01:00
skia-flutter-autoroll
4d07d7df97 Roll Skia from 02621c33b426 to bbc5288f2bb1 (4 revisions) (flutter/engine#23949) 2021-01-26 01:14:02 -08:00
jensjoha
9b85e95b9f Use ToStringTransformer from dart frontend_server (flutter/engine#23915) 2021-01-26 09:51:42 +01:00
skia-flutter-autoroll
a0a7113602 Roll Skia from 76389b7d2444 to 02621c33b426 (3 revisions) (flutter/engine#23945) 2021-01-25 23:54:02 -08:00
skia-flutter-autoroll
1d51bf3a8a Roll Fuchsia Linux SDK from GLRm7LJRm... to DLfskqEUx... (flutter/engine#23943) 2021-01-25 21:29:01 -08:00
skia-flutter-autoroll
6c24bfb739 Roll Skia from 3419dda0588d to 76389b7d2444 (1 revision) (flutter/engine#23940) 2021-01-25 19:14:01 -08:00
skia-flutter-autoroll
f18e768175 Roll Skia from 3f31f3027f69 to 3419dda0588d (1 revision) (flutter/engine#23939) 2021-01-25 17:54:03 -08:00
Lau Ching Jun
b9fbeca5b3 Allow naming shared libraries in deferred component via AndroidManifest (flutter/engine#23925) 2021-01-25 16:34:27 -08:00
skia-flutter-autoroll
b06b814efa Roll Skia from fff4099358bd to 3f31f3027f69 (10 revisions) (flutter/engine#23937) 2021-01-25 16:29:02 -08:00
chunhtai
9eac248c05 rename flutter_export to flutter_darwin_export to prevent naming conflict (flutter/engine#23933) 2021-01-25 16:25:07 -08:00
Harry Terkelsen
f5f5945352 Adds Roboto as a global font fallback in CanvasKit (flutter/engine#23928) 2021-01-25 14:10:04 -08:00
skia-flutter-autoroll
11b5895313 Roll Skia from bd91660b6e12 to fff4099358bd (9 revisions) (flutter/engine#23929) 2021-01-25 13:29:02 -08:00
Alexander Brusher
0cc337ef5b Adds a mechanism for announce events to be forwarded to a11y. (flutter/engine#23499) 2021-01-25 13:24:05 -08:00
Chase Latta
74c7cac41a use a single clang toolchain (flutter/engine#23842) 2021-01-25 13:23:04 -08:00
Kaushik Iska
0176b01d38 [macos] Support smooth resizing for Metal (flutter/engine#23924)
Coordinate command buffer submission with Core Animation
scheduling to ensure smooth resizing.

Fixes: https://github.com/flutter/flutter/issues/74056
2021-01-25 12:50:21 -08:00
skia-flutter-autoroll
f2f642d212 Roll Skia from fe8a4faa4bb2 to bd91660b6e12 (4 revisions) (flutter/engine#23920) 2021-01-25 09:54:01 -08:00
skia-flutter-autoroll
8968b7a005 Roll Fuchsia Linux SDK from mrFdelzNr... to GLRm7LJRm... (flutter/engine#23913)
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 zra@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
2021-01-25 08:10:00 -08:00
skia-flutter-autoroll
27d970afa1 Roll Skia from 607a382298b2 to fe8a4faa4bb2 (4 revisions) (flutter/engine#23910)
https://skia.googlesource.com/skia.git/+log/607a382298b2..fe8a4faa4bb2

2021-01-25 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 465f56090c50 to 09570e87f5f8 (699 revisions)
2021-01-25 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from ff5f715e5c4a to 3c3b82abcf0a (9 revisions)
2021-01-25 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 22f14a877953 to 413f7cb17c77 (3 revisions)
2021-01-25 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from db383498c5c6 to f1f8394de04e (9 revisions)

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 nifong@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
2021-01-25 08:09:17 -08:00
skia-flutter-autoroll
92000ecd63 Roll Skia from 069e484cc3b9 to 607a382298b2 (1 revision) (flutter/engine#23907)
https://skia.googlesource.com/skia.git/+log/069e484cc3b9..607a382298b2

2021-01-25 reed@google.com drawBitmap is deprecated, use drawImage

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 nifong@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
2021-01-24 23:25:36 -08:00
Chris Bracken
85d0c9d969 Rename TextInputManager to TextInputManagerWin32 (flutter/engine#23905)
The current text input manager is win32-specific due to its use of
IMM32. For UWP, we'll need a TSF implementation. Once that happens we'll
want to extract out a TextInputManager interface and add a separate UWP
implementation of this class.
2021-01-24 16:22:00 -08:00
skia-flutter-autoroll
965a1a0ee1 Roll Fuchsia Linux SDK from VYUnZ3Tbh... to mrFdelzNr... (flutter/engine#23903) 2021-01-24 14:19:01 -08:00
Chris Bracken
693063e13d Add support for IME-based text input on Windows (flutter/engine#23853)
This updates the Win32 desktop embedder to support input method (abbreviated IM
or IME) composing regions.

In contrast to languages such as English, where keyboard input is
managed keystroke-by-keystroke, languages such as Japanese require a
multi-step input process wherein the user begins a composing sequence,
during which point their keystrokes are captured by a system input
method and converted into a text sequence. During composing, the user is
able to edit the composing range and manage the conversion from keyboard
input to text before eventually committing the text to the underlying
text input field.

To illustrate this, in Japanese, this sequence might look something like
the following:

1. User types 'k'. The character 'k' is added to the composing region.
   Typically, the text 'k' will be inserted inline into the underlying
   text field but the composing range will be highlighted in some manner,
   frequently with a highlight or underline.
2. User types 'a'. The composing range is replaced with the phonetic
   kana character 'か' (ka). The composing range continues to be
   highlighted.
3. User types 'k'. The character 'k' is appended to the composing
   range such that the highlighted text is now 'かk'
4. User types 'u'. The trailing 'k' is replaced with the phonetic kana
   character 'く' (ku) such that the composing range now reads 'かく'
   The composing range continues to be highlighted.
5. The user presses the space bar to convert the kana characters to
   kanji. The composing range is replaced with '書く' (kaku: to write).
6. The user presses the space bar again to show other conversions. The
   user's configured input method (for example, ibus) pops up a
   completions menu populated with alternatives such as 各 (kaku:
   every), 描く (kaku: to draw), 核 (kaku: pit of a fruit, nucleus), 角
   (kaku: angle), etc.
7. The user uses the arrow keys to navigate the completions menu and
   select the alternative to input. As they do, the inline composing
   region in the text field is updated. It continues to be highlighted
   or underlined.
8. The user hits enter to commit the composing region. The text is
   committed to the underlying text field and the visual highlighting is
   removed.
9. If the user presses another key, a new composing sequence begins.

If a selection is present when composing begins, it is preserved until
the first keypress of input is received, at which point the selection is
deleted. If a composing sequence is aborted before the first keypress,
the selection is preserved. Creating a new selection (with the mouse,
for example) aborts composing and the composing region is automatically
committed. A composing range and selection, both with an extent, are
not permitted to co-exist.

During composing, keyboard navigation via the arrow keys, or home and
end (or equivalent shortcuts) is restricted to the composing range, as
are deletions via backspace and the delete key. This patch adds two new
private convenience methods, `editing_range` and `text_range`. The
former returns the range for which editing is currently active -- the
composing range, if composing, otherwise the full range of the text. The
latter, returns a range from position 0 (inclusive) to `text_.length()`
exclusive.

Windows IME support revolves around two main UI windows: the composition window
and the candidate window. The composition window is a system window overlaid
within the current window bounds which renders the composing string. Flutter
already renders this string itself, so we request that this window be hidden.
The candidate window is a system-rendered dropdown that displays all possible
conversions for the text in the composing region.  Since the contents of this
window are specific to the particular IME in use, and because the user may have
installed one or more third-party IMEs, Flutter does not attempt to render this
as a widget itself, but rather delegates to the system-rendered window.

The lifecycle of IME composing begins follows the following event order:
1. WM_IME_SETCONTEXT: on window creation this event is received. We strip the
   ISC_SHOWUICOMPOSITIONWINDOW bit from the event lparam before passing it to
   DefWindowProc() in order to hide the composition window, which Flutter
   already renders itself.
2. WM_IME_STARTCOMPOSITION: triggered whenever the user begins inputting new
   text. We use this event to set Flutter's TextInputModel into composing mode.
3. WM_IME_COMPOSITION: triggered on each keypress as the user adds, replaces,
   or deletes text in the composing region, navigates with their cursor within
   the composing region, or selects a new conversion candidate from the
   candidates list.
4. WM_IME_ENDCOMPOSITION: triggered when the user has finished editing the text
   in the composing region and decides to commit or abort the composition.

Additionally, the following IME-related events are emitted but not yet handled:
* WM_INPUTLANGCHANGE: triggered whenever the user selects a new language using
  the system language selection menu. Since there some language-specific
  behaviours to IMEs, we may want to make use of this in the future.
* WM_IME_NOTIFY: triggered to notify of various status events such as opening
  or closing the candidate window, setting the conversion mode, etc. None of
  these are relevant to Flutter at the moment.
* WM_IME_REQUEST: triggered to notify of various commands/requests such as
  triggering reconversion of text, which should begin composition mode, insert
  the selected text into the composing region, and allow the user to select new
  alternative candidates for the text in question before re-committing their
  new selection. This patch doesn't support this feature, but it's an important
  feature that we should support in future.
2021-01-24 12:56:08 -08:00
skia-flutter-autoroll
189a7329f6 Roll Skia from 5bbf72757349 to 069e484cc3b9 (2 revisions) (flutter/engine#23900) 2021-01-24 12:04:03 -08:00