593 Commits

Author SHA1 Message Date
Chris Bracken
4883131507
Set FlutterTexture copyPixelBuffer return nullable (#4934)
This is to support Swift users, where nil is allowed for CVPixelBufferRef.
2018-04-04 13:53:49 -07:00
Jason Simmons
deea53519b
Set the asset bundle path when initializing the shell in the embedder API (#4925)
This is required so that Dart initialization can find the platform kernel
assets when running in Dart 2 mode
2018-04-03 09:47:57 -07:00
Jason Simmons
04f3c6557c
Provide a texture registry to the compositor context used for screenshots (#4921)
Fixes https://github.com/flutter/flutter/issues/16143
2018-04-02 15:19:04 -07:00
Alan Russian
924b111cea
Add CallSuper annotation to onCreate(). (#4789)
This provides improved code inspection, making it easier for developers to figure out what might be going wrong if they override this and don't call super, like I just did. :-)
2018-03-30 19:03:49 -07:00
Ryan Macnak
dd6f46c485 Make flutter_test on Mac exit on error like Linux and Windows. (#4873) 2018-03-26 20:51:19 -07:00
Jason Simmons
5e8557330a
Allow FirstFrameListeners to remove themselves from the FlutterView's list (#4871)
Fixes https://github.com/flutter/flutter/issues/15884
2018-03-26 15:43:38 -07:00
Stanislav Baranov
7fa08b3ba9
Support for decimal and signed numeric keyboard (#4853)
* Support for decimal and signed numeric keyboard

* Comments
2018-03-26 13:14:38 -07:00
Brian Salomon
3e877d371a Remove declaration for undefined GPUSurfaceGL::SelectPixelConfig (#4857) 2018-03-23 12:38:58 -04:00
Jason Simmons
01be4c6017
Fix GPUSurfaceGL includes on Linux (#4849) 2018-03-22 11:40:29 -07:00
Chris Bracken
2ec5a67d53
Fix supported color type check on iOS simulators (#4846)
Since OS_MACOSX and OS_IOS are both enabled for simulator builds, ensure
we're using constants conistent with our #includes.
2018-03-21 19:31:24 -07:00
Chris Bracken
9b837652b1
Fix GPUSurfaceGL includes on macOS (#4844)
macOS doesn't include GLES support.
2018-03-21 16:45:41 -07:00
Chris Bracken
604f51e675
Handle Apple-specific GLES headers (#4843)
In 60befc2cdec54818ce738fd07236624dc1b287a2, includes were added for
GLES. On macOS/iOS, these headers are named slightly differently.
2018-03-21 16:16:04 -07:00
Brian Salomon
60befc2cde VulkanSurface and GPUSurfaceGL no longer use GrPixelConfig (#4814)
* VulkanSurface and GPUSurfaceGL no longer use GrPixelConfig

* fix 565

* fix gpu_surface_gl changes
2018-03-21 14:13:05 -07:00
Sarah Zakarias
2114a88b5e
Provide asset lookup key on ios (#4817) 2018-03-21 11:36:49 +01:00
Michael Goderbauer
c3ab0c9143
Rename isPassword to isObscured (#4815) 2018-03-19 15:52:16 -07:00
Jason Simmons
a9b5e1bdac
Fix a missing paren (#4808) 2018-03-19 12:07:28 -07:00
Michael Goderbauer
cc6b45014b
Support password fields on Android (#4781) 2018-03-19 10:25:09 -07:00
Chris Bracken
cd9c438ce3
Eliminate iOS depth/stencil buffer code (#4802)
As of ba67d0fe718299050bf0195295aba3415c417b91, depth/stencil buffer
attachments are never used. This patch eliminates generation and binding
of depth/stencil render buffers since these code paths are no longer hit.
2018-03-16 16:47:06 -07:00
Chris Bracken
c9fe39978c
Cache render buffer extents when no depth/stencil buffer (#4801)
Previously iOS render buffer storage width and height were not cached if
not using a depth/stencil buffer. This adds a similar check for
colorBuffer to avoid reallocating render buffer storage.
2018-03-16 15:40:31 -07:00
Sarah Zakarias
2c5a1bf507
Provide lookup key to access Flutter assets in the APK (#4785) 2018-03-16 12:59:57 +01:00
Mikkel Nygaard Ravn
9671f63459
Make standard codecs extensible (#4770) 2018-03-16 00:08:08 +00:00
Michael Goderbauer
7d9e42ac61
Add API guard to a11y setTraversalAfter (#4794) 2018-03-15 10:15:56 -07:00
Brian Salomon
7eb06c1b1d Update external texture image code to specify GL texture format and image color type rather than GrPixelConfig (#4786) 2018-03-14 10:29:12 -07:00
Michael Goderbauer
d042b3e830
Send TYPE_VIEW_SELECTED event for changes to SemanticsFlag.isSelected (#4780) 2018-03-13 12:49:30 -07:00
Jason Simmons
e61bb9ac3a
Enable libtxt as the default text renderer (#4779) 2018-03-13 11:35:40 -07:00
Michael Goderbauer
e44cd55fc4
Manually given hint,value,label,trait has precedence for TextFields on iOS (#4777) 2018-03-12 17:56:08 -07:00
Chinmay Garde
ba67d0fe71
Don’t specify a stencil buffer attachment for the onscreen FBO. (#4778) 2018-03-12 17:37:11 -07:00
Jason Simmons
f0c0da5ca5
Revert "Enable libtxt as the default text renderer" (#4774)
This reverts commit d9fcdfb676fcec50b0bdf6e57731b511fa922b46.
2018-03-12 11:40:19 -07:00
Jason Simmons
d9fcdfb676
Enable libtxt as the default text renderer (#4773) 2018-03-12 11:15:21 -07:00
Adam Barth
14c940e277
Switch from fxl::Mutex to std::mutex (#4764)
We're going to remove fxl::Mutex soon.
2018-03-09 11:19:23 -08:00
Chinmay Garde
5bffdefbbf
Use weak pointers to the accesibility bridge from objects vended to the UIKit accessibility framework. (#4761) 2018-03-08 17:23:01 -08:00
Jason Simmons
1d0da77995
Revert "Enable libtxt as the default text renderer (#4751)" (#4758)
This reverts commit 1b7325ca6825a1305d5521a5c0abe6fb32688dea.
2018-03-08 16:17:02 -08:00
Michael Goderbauer
7f7634fa17
Add SemanticsFlag for Header (#4752) 2018-03-06 15:43:13 -08:00
Jason Simmons
1b7325ca68
Enable libtxt as the default text renderer (#4751) 2018-03-06 13:12:39 -08:00
Jason Simmons
24cf8ebd86
Support hot and cold reload when using the APK asset provider on Android (#4746)
* deprecate snapshot_override, which is an obsolete predecessor of hot reload
* give the APKAssetProvider to the engine in the initial call to RunBundle
* later calls to Engine::RunBundleAndSource or Engine::SetAssetBundlePath
  will replace the APK asset provider with a DirectoryAssetBundle that uses
  the newly pushed assets
2018-03-06 10:40:19 -08:00
Michael Goderbauer
16fe8f6b98
Use android.view.View as default for a11y nodes (#4737) 2018-03-05 09:51:08 -08:00
Sarah Zakarias
a00f8e8bc0
Read assets out of APK on Android (#4742) 2018-03-05 14:09:45 +01:00
Chris Bracken
269bab73b6
Add nil check for country code and language code (#4732)
NSLocale objectForKey: may return nil for NSLocaleLanguageCode and
NSLocateCountryCode in certain cases.

This adds a defensive nil check for such cases.
2018-03-01 13:46:22 -08:00
Michael Goderbauer
a4b1fccdaa
Fix traversal order for a11y scrolling (#4726)
Fixes https://github.com/flutter/flutter/issues/14987, but why?
2018-03-01 04:53:58 -08:00
Sarah Zakarias
4d7065af2d
remove unavailabe API from FlutterDartProject.mm (#4724) 2018-02-28 14:04:14 +01:00
Sarah Zakarias
42bbef1d7e
Remove unavailable API in FlutterDartProject.h (#4723) 2018-02-28 13:37:00 +01:00
Mikkel Nygaard Ravn
3656278894
Make deprecated API unavailable (#4722) 2018-02-28 11:14:43 +01:00
xster
ba98f2634b
Add more haptic feedback varieties (#4699)
* Add more haptic feedback varieties

* Make the specific feedback types do nothing on <iOS 10
2018-02-27 14:55:18 -08:00
Jason Simmons
e133da723c
Revert "Enable libtxt as the default text renderer (#4697)" (#4717)
This reverts commit 33b88173f3820690169348859bbdc29133179e0b.

The libtxt font collection cache is consuming too much memory at startup.
2018-02-27 10:25:27 -08:00
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