7633 Commits

Author SHA1 Message Date
Chinmay Garde
df9e9560be Allow plugging in a software backend for rendering in the shell. (#3404) 2017-02-22 15:40:23 -08:00
vardhan-cr
98e0091f47 Remove callback from ApplicationController.Kill fidl interface. (#3435) 2017-02-21 11:03:35 -08:00
Dan Rubel
304355436b modify RunFrom<X> methods to return error code rather than call exit (#3428) 2017-02-21 11:31:27 -05:00
Jason Simmons
a44647afac Physical model layer that can draw shadows for a Material widget (#3424) 2017-02-16 17:30:57 -08:00
Chinmay Garde
516b832dbb Remove texture image. (#3434) 2017-02-16 16:26:02 -08:00
Chinmay Garde
d7199e513c Update skia to 1c8e82b72bfeb1a02297688cf082c365b62705f7 (#3433) 2017-02-16 15:40:11 -08:00
James Robinson
ab09530927 Update invocation of create_snapshot_bin.py (#3429)
This applies commit 88441bfc0f712ad451784851bfcf0b0cc418ad75 from the
skia_rev_130a118cc68f8f9973e9572356011de378463fea branch to master so
master works in the Fuchsia build again.
2017-02-16 13:27:37 -08:00
Ryan Macnak
22476d16e5 Roll Dart to 1ed4c27c01de6680766593b88a531ef86883a117. (#3431) 2017-02-16 13:26:31 -08:00
Dan Rubel
481049f9cd add kernel support (#3369) 2017-02-16 10:11:38 -05:00
Jason Simmons
8218674d4a Transfer ownership of the buffer in the image decoder bitmap fallback path (#3426)
Previously we had passed a local generator to flow::BitmapImageCreate /
SkImage::MakeFromGenerator, which takes ownership of the generator.
That generator in turn referenced an SkData backed by a local vector.
The result was an SkImage backed by a deleted buffer.
2017-02-15 15:37:39 -08:00
xster
ffde33dc11 Fix multi-font ttc rendering for iOS (#3418)
Merged iOS and Android font fallback mechanisms and push font discovery logic into skia
2017-02-14 23:54:39 -08:00
Zachary Anderson
ff087dd07d Enable Observatory in the content handler (#3420)
I'm not sure that this is the right way to do this, but this change causes the Observatory to come up correctly in the content handler.
2017-02-14 19:03:16 -08:00
mattsarett
9d8923a80f Use SkImage::makeShader() in place of bitmap workaround (#3419) 2017-02-14 14:35:12 -08:00
Chinmay Garde
2f3d960369 Use updated calls to SkColorSpace in flutter/vulkan. (#3416) 2017-02-13 18:23:32 -08:00
Ryan Macnak
b64c88766d Remove generated pyc files and update licenses.golden. (#3415)
See issue flutter/flutter#8115
2017-02-13 17:05:58 -08:00
James Robinson
8cad3ecae1 Updates for modular->app rename of //application interfaces (#3414) 2017-02-13 14:28:14 -08:00
Ryan Macnak
588d6a4798 Roll Dart VM to 9a7a04525f638b57a746706c3575df66cf02bc2d. (#3413)
Picks up changes to include inlined frames and line numbers in AOT stack traces.
2017-02-13 13:34:12 -08:00
Chinmay Garde
d58696936f Revert ShadowMaskFilter use and roll Skia to 246a3c269d8dc91a47ff27f7b71508bf9e74edf5. (#3409) 2017-02-10 16:01:36 -08:00
xster
6e1ba3f2fb Add instructions for debugging engine with xcode (#3411) 2017-02-10 13:56:02 -08:00
Jason Simmons
e70d3ea1df Enable some new Dart VM features (#3408)
Fixes https://github.com/flutter/flutter/issues/7579
2017-02-10 12:28:41 -08:00
Chinmay Garde
0e9d44dc3f Roll buildroot. (#3410) 2017-02-10 12:28:07 -08:00
xster
b2b6f50941 Add CONTRIBUTING instructions for simulator (#3407) 2017-02-09 23:06:11 -08:00
Zachary Anderson
f2866146a7 Properly return VM service assets on Fuchsia. (#3406)
In a previous change I re-included the observatory assets in the Fuchsia build, but didn't notice this bit here.

After this, if Settings::enable_observatory can be set to true somehow, the Observatory will come up in Flutter apps on Fuchsia. Unfortunately, I'm not sure how to do that.
2017-02-09 15:18:35 -08:00
xster
26beb34a4f Document the need to sync the engine repo to avoid #8005 (#3403)
* Document the need to sync the engine repo to avoid #8005

* Flit gclient sync and git pull
2017-02-09 12:08:37 -08:00
Jason Simmons
6ca2f8e739 Export the Skia ShadowMaskFilter API (#3401)
See https://github.com/flutter/flutter/issues/6807
2017-02-09 10:25:33 -08:00
Hans Muller
44eaa4161d Added a point about Point&Size to the Rect dartdoc (#3405) 2017-02-09 09:27:27 -08:00
xster
fc61ec1130 Some tweaks to the contributing doc (#3402) 2017-02-08 18:29:11 -08:00
James Robinson
f306a6f701 Updates for application extraction from //apps/modular (#3397) 2017-02-08 13:02:40 -08:00
Collin Jackson
36dda92316 Call the correct super method in FlutterViewController’s viewDidAppear (#3399) 2017-02-08 06:43:45 -08:00
Chris Bracken
4baeae886a Switch iOS keyboard type if required (#3400)
Ensure that the text input keyboard is reloaded if the view keyboardType
changes.
2017-02-07 18:01:19 -08:00
Chinmay Garde
9053b6c0ab Allow running in debug product mode with checked mode off. (#3398) 2017-02-07 17:01:27 -08:00
Chinmay Garde
0904cf3e2d Bump up limits on the GrResourceCache used for the main GrContext. (#3394) 2017-02-07 16:04:06 -08:00
Jason Simmons
d49a6b110b Obtain test font attributes from the font description (#3396)
Fixes https://github.com/flutter/flutter/issues/7724
2017-02-07 15:36:17 -08:00
Chris Bracken
cbf49d0652 Add missing keys from Framework Info.plist (#3393)
Added:
* UIRequiredDeviceCapabilities=[arm64]
* MinimumOSVersion=8.0
2017-02-06 14:51:37 -08:00
Jason Simmons
cdf46381d4 Script for running javadoc on the Flutter Android libraries (#3392) 2017-02-06 12:41:54 -08:00
Jason Simmons
2466d31edf Fix some Javadoc warnings (#3391) 2017-02-03 16:25:25 -08:00
Jason Simmons
cd34b0ef39 Remove ParagraphStyle.lineCount, which has been superseded by maxLines (#3390)
Fixes https://github.com/flutter/flutter/issues/7723
2017-02-03 13:49:10 -08:00
Jason Simmons
d317fb3b9d Return the expected exit code if sky_shell sees a compilation error during script loading (#3389) 2017-02-03 12:14:35 -08:00
Chris Bracken
c354127d4d Support status bar taps in FlutterAppDelegate (#3387)
Provide a default status bar tap handler for FlutterAppDelegate.
By default, taps are passed to the key window's rootViewController if
it's a FlutterViewController. Apps with custom app delegates can
customize this behaviour to send the tap to the FlutterViewController(s)
they prefer by overriding touchesBegan:withEvent.
2017-02-02 16:29:22 -08:00
Jason Simmons
c1524787df Set Platform.executable and executableArguments for Linux sky_shell (#3378) 2017-02-02 12:28:52 -08:00
Michael Goderbauer
b8d144dab8 Roll Dart SDK to a7eb2f45c3a0ed935c049bae805fe76ecdd95a22 (#3386) 2017-02-01 19:32:49 -08:00
Chinmay Garde
cd19497b3b Fix breaking build after formats reorder in #3384 (#3385) 2017-02-01 15:01:16 -08:00
Chinmay Garde
dd45346928 [Vulkan] Try a desired list of surface formats before picking one at random. (#3384) 2017-02-01 14:54:10 -08:00
Chinmay Garde
01afda49b1 [iOS] Ensure FlutterMain is called before interacting with the engine in any way. (#3383)
* [iOS] Ensure FlutterMain is called before interacting with the engine in any way.

* Licenses
2017-02-01 13:53:15 -08:00
Jason Simmons
20bdd2f458 Roll Dart (#3382) 2017-02-01 11:31:16 -08:00
Michael Goderbauer
4da9d87cf1 Roll Dart SDK to 9994a0b44fce95e2012fabdea8d364cc71352e18 (#3381) 2017-01-31 23:39:33 -08:00
Jason Simmons
2c5f028ddd Fix a race in PlatformView construction (#3380)
The PlatformView superclass constructor was posting a task to the UI thread
that adds the view to the shell's global list.  This could result in UI thread
operations seeing PlatformView instances that are not fully constructed and do
not yet have an engine.

This was happening in https://github.com/flutter/flutter/issues/7735
2017-01-31 17:54:34 -08:00
Chris Bracken
2d54edf0f9 Support scroll to top on iOS statusbar touches (#3375)
On iOS, when a tap is detected in the status bar, provide a means to
pass that touch event through to one or more FlutterViewControllers to
trigger a scroll to top. In iOS apps, scroll to top should occur under
the following conditions:

1. There is one and only one UIScrollView visible with
   scrollsToTop == YES.
2. The status-bar is in standard height mode, not in double-height mode.
   In double-height mode, the expected behaviour is to trigger a switch
   to the application associated with the double-height status bar.
3. A tap or a drag gesture occurs that is entirely constrained to the
   status bar frame. (We currently only handle the tap scenario).

Unfortunately, AppDelegates only get touchesBegan events for status bar
taps, though get get touchesBegan and touchesEnded events for drags
within the status bar frame. As such, we currently synthesise the
touchesEnded event for taps.
2017-01-31 13:42:58 -08:00
Chinmay Garde
25791da8ab [iOS] Make FlutterInit redundant and deprecate the same. (#3377) 2017-01-31 12:56:55 -08:00
Michael Goderbauer
e5c05a8964 Option to compile gen_snapshot.exe on Windows to target android. (#3379) 2017-01-31 12:55:21 -08:00