Chris Bracken
a5134d878b
Re-enable Dart_TimelineGetMicros on init on macOS ( #4712 )
...
Previously, a call to Dart_TimelineGetMicros() before a call to
Dart_Initialize() resulted in a crash. This was fixed in
dart-lang/sdk@7434bcad57 .
Related:
* flutter/flutter#4006 : SkyShell.app on Mac crashes on startup
* dart-lang/sdk#26486 : [dart_tools_api.h] Dart_TimelineGetMicros crashes on Mac if called before Dart_Initialize
2018-02-24 10:21:40 -08:00
Yegor
3bbc71df69
fix naming of static function intToComparisonResult ( #4685 )
2018-02-22 11:24:51 -07:00
Jason Simmons
33b88173f3
Enable libtxt as the default text renderer ( #4697 )
2018-02-21 13:34:31 -08:00
Todd Volkert
ead227f118
Respect Switch::SkiaDeterministicRendering in all runtime modes ( #4695 )
...
https://github.com/flutter/flutter/issues/14519
2018-02-20 19:36:34 -08:00
Todd Volkert
4cafde3c80
Add flag to skip call to SkGraphics::Init() ( #4694 )
...
https://github.com/flutter/flutter/issues/14519
2018-02-20 17:42:11 -08:00
Mikkel Nygaard Ravn
13cf22c284
Place LICENSE as sibling of podspec ( #4691 )
2018-02-19 16:33:30 +01:00
Yegor
503f86d54c
iOS a11y: Implement strong down weak up reference management ( #4602 )
...
* fix iOS crash in a11y mode when used too fast
* clang-format
2018-02-15 16:33:05 -08:00
Jason Simmons
a8bda71e62
Use an alpha type that matches the color type in Android software rendering ( #4681 )
...
Fixes https://github.com/flutter/flutter/issues/14709
2018-02-15 13:00:57 -08:00
Siva
19e8d9b2bf
Fix strong flag setting ( #4683 )
...
* Turn on strong mode by default when a platform file is present in the
bundle instead of using a flag passed into the engine which might not be
true when we invoke an installed app.
* - Roll dart to version fe96de2858f078e4ad04f8f30640184bf3d8102d
* Update license file.
2018-02-15 11:02:31 -08:00
Brian Osman
f8778fce17
On iOS, render to an offscreen surface to avoid renderbuffer slowdown ( #4680 )
...
* On iOS, render to an offscreen surface to avoid renderbuffer slowdown
Fixes https://github.com/flutter/flutter/issues/14565
* null out old offscreen surface
2018-02-14 16:17:35 -05:00
Chris Bracken
439edca287
Fix unguarded availability warnings for iOS ( #4664 )
...
Place all iOS code that relies on APIs introduced in iOS versions later
than our base SDK version (iOS 8) behind @available checks. This allows
us to enable the -Wunguarded-availability compiler flag for iOS builds
in the buildroot repo.
2018-02-13 11:49:43 -08:00
Greg Spencer
f5a4a93787
Swap setTraversalBefore to setTraversalAfter, since setTraversalBefore is broken. ( #4656 )
...
It seems that setTraversalBefore doesn't work as well as setTraversalAfter for some reason, although I'm using them the same way. Some apps would lock up TalkBack when traversing if setTraversalBefore was set, but not with the equivalent setTraversalAfter.
It's not entirely clear why this is, but I'm going with this to at least get it fixed for apps we know about.
Addresses flutter/flutter#14600
See also flutter/flutter#14607
2018-02-12 10:02:25 -08:00
Michael Goderbauer
a00f94582b
Add accessibilityFocus and loseAccessibilityFocus as a11y actions ( #4655 )
2018-02-09 17:47:52 -08:00
Michael Goderbauer
8ac6f6efa1
Encode scrolling status into tree ( #4647 )
2018-02-09 15:39:58 -08:00
Alexander Aprelev
c60d817093
Remove xibs ( #4648 )
2018-02-07 16:20:06 -08:00
Brian Salomon
58e6c23ece
Modernize GrContext creation ( #4640 )
2018-02-06 13:45:31 -08:00
Jason Simmons
9d93a07bde
Update PlatformViewAndroid for the new definition of SemanticsNodeUpdates ( #4636 )
2018-02-05 16:11:51 -08:00
Yegor
6dd49f0695
iOS a11y text entry (~70% of it) ( #4575 )
...
* implement iOS text field editing in a11y mode
* address Chinmay's comments
* replace node in child list when changing type
2018-02-05 15:14:13 -08:00
Jason Simmons
15430edc1f
Fix some errors in Javadoc annotations ( #4622 )
2018-01-31 13:56:32 -08:00
Greg Spencer
96acd1a383
Adding semantics traversal order support ( #4540 )
...
This adds support for semantics traversal ordering.
It is a companion to flutter/flutter#14060 , adding support for a sortIndex in the semantics data passed to the engine.
Addresses flutter/flutter#12187
2018-01-30 13:42:12 -08:00
Chris Bracken
dbc071aa62
Use @available checks for iOS 11 features ( #4619 )
...
Use @available checks for iOS 11 features
2018-01-30 09:36:21 -08:00
Coder256
c92e3df2b1
Only implement application:performActionForShortcutItem:completionHandler: on iOS 9.0+. And fix some tests. ( #4600 )
2018-01-30 08:00:39 -08:00
Michael Goderbauer
3107f167dc
Remove unnecessary trim ( #4616 )
...
... which caused trouble for a11y "select all".
2018-01-29 18:12:29 -08:00
Chris Bracken
521c73ded8
Revert "Use @available checks for iOS 11 features ( #4596 )" ( #4597 )
...
This reverts commit 89b6d435205d9bcdf8dde965dd1b0432482407c5.
Apparently the clang toolchain is still hitting issues. Will give this
another go after the next clang toolchain update.
2018-01-26 16:08:18 -08:00
Chris Bracken
89b6d43520
Use @available checks for iOS 11 features ( #4596 )
...
Guard code that deals with iOS safe area insets behind an @available
check.
This cleans up some old TODOs from before out clang toolchain supported
@available.
2018-01-26 15:51:00 -08:00
Chris Bracken
f937d93138
Extract common iOS asset path lookup code ( #4594 )
...
Consolidates the asset path lookup logic from FlutterDartProject and FlutterMain().
2018-01-26 14:27:46 -08:00
Alexander Aprelev
6921873c71
Lookup FTLAssetsPath when deducing assets path on ios ( #4593 )
...
* Lookup FTLAssetsPath when deducing assets path on ios
* WS
* Proper fix
* Another whitespace fix
2018-01-26 13:45:04 -08:00
Michael Goderbauer
a1e4f2f991
Add semantic actions for copy, cut, and paste ( #4592 )
2018-01-26 12:11:38 -08:00
Abhishek Amit
2dd385fd7e
Allow embedder clients to provide a resource context ( #4588 )
...
* Allow embedder clients to provide a resource context. Closes flutter/flutter#14263 .
2018-01-25 17:30:23 -08:00
Michael Goderbauer
7c34dfafc9
Adds a11y action for selecting text (and moving cursor) ( #4589 )
...
See https://github.com/flutter/flutter/pull/14275 for framework side change.
Also includes some minor clean-ups for consistency.
Required for https://github.com/flutter/flutter/issues/13469 .
2018-01-25 15:00:29 -08:00
Michael Goderbauer
4c82c566ed
a11y: Announce changes to cursor position on Android ( #4587 )
2018-01-24 16:54:14 -08:00
Abhishek Amit
93296fb4ea
Fix comment for non-string arg ( #4583 )
2018-01-24 16:24:12 -08:00
Yegor
2fe8b648ed
use Human Interface Guidelines for a11y and non-a11y text sizes ( #4586 )
2018-01-24 15:46:35 -08:00
Michael Goderbauer
e4cabae56f
Add a11y support for selected text ( #4584 )
2018-01-24 15:08:29 -08:00
Jason Simmons
8b7ebb7730
Convert other Android clipboard formats into text ( #4578 )
...
Fixes https://github.com/flutter/flutter/issues/14093
2018-01-22 13:55:48 -08:00
Michael Goderbauer
c98443ee37
Echo letters and words typed into TextField back ( #4574 )
...
Fixes https://github.com/flutter/flutter/issues/13392 .
2018-01-22 11:14:12 -08:00
Ali Bitek
8e9598df97
Get active Context from the Registrar ( #4523 )
2018-01-20 08:46:40 +01:00
Alexander Aprelev
e45eb692b1
Fix typo in main_win. This is follow up https://github.com/flutter/engine/pull/4564 ( #4572 )
2018-01-19 10:59:19 -08:00
Alexander Aprelev
e582928a49
Accommodate flutter test --preview-dart-2 on windows and linux ( #4564 )
...
* Support .packages option in frontend_server, bundle_path in main_mac.
This is needed to be able to run in mode.
* Remove byte store tests
* Remove unused import
* Fix formatting
* Enable flutter test argument passing on win and linux.
* Fix formatting
2018-01-18 16:05:19 -08:00
Abhishek Amit
31f223f254
Add API for embedder clients to process platform events ( #4549 )
2018-01-17 16:59:36 -08:00
Michael Goderbauer
7173a158db
Announce when checked status changes on Android ( #4557 )
...
Fixes https://github.com/flutter/flutter/issues/14092
2018-01-16 23:10:17 -08:00
Sarah Zakarias
73a9ea68b9
Mark deprecated API in FlutterDartProject.h as unavailable ( #4552 )
2018-01-15 13:29:43 +01:00
Michael Goderbauer
e7e94c6307
Properly identify CheckBox and RadioButton on Android ( #4547 )
2018-01-12 15:27:55 -08:00
Michael Goderbauer
5ce89a0f3d
Fixes crash on Android when activating Now on Tap ( #4536 )
2018-01-12 10:22:55 -08:00
Alexander Aprelev
cdf869bcd7
When running on iOS deduce bundle path during engine initialization. ( #4532 )
2018-01-10 17:40:47 -08:00
Mikkel Nygaard Ravn
84fc920fde
Deprecate support for big integers in standard message codec ( #4528 )
2018-01-09 23:58:45 +01:00
Mehmet Fidanboylu
9b98d194f2
Fix build break caused by https://github.com/flutter/engine/pull/4491 ( #4524 )
2018-01-07 07:51:46 -08:00
Mehmet Fidanboylu
d43ae0b41b
Add unwrap to JSONUtil ( #4491 )
...
We have a use for this for the internal messaging plugin. Instead of rolling our own, it made sense to add it here especially since it has the mirror functionality (wrap).
2018-01-06 14:32:00 -08:00
Jason Simmons
e1b01d7d7b
API version check for AccessibilityNodeInfo.setEditable call ( #4522 )
...
Fixes https://github.com/flutter/flutter/issues/13896
2018-01-05 14:45:35 -08:00
Michael Goderbauer
12e0e38a8b
Split SemanticsFlags.isDisabled into two ( #4517 )
2018-01-04 15:15:54 -08:00