487 Commits

Author SHA1 Message Date
Ian Hickson
4f78a67dd4 Revert "Capture Skia trace events" (#2831) 2016-07-27 08:51:03 -07:00
Jason Simmons
eae38aef3a Capture Skia trace events (#2830) 2016-07-26 17:06:06 -07:00
Adam Barth
7c87227702 Update Skia (#2825) 2016-07-26 12:33:37 -07:00
Adam Barth
11dd5cada9 Add trace events to swap buffers (#2823) 2016-07-26 12:16:32 -07:00
Jason Simmons
d71a864e58 Clear invalid resources from the raster cache when the surface is destroyed (#2821) 2016-07-25 16:14:34 -07:00
Jason Simmons
789c1e799f Disable rendering if the rasterizer can not create a GL/EGL context (#2817)
Fixes https://github.com/flutter/flutter/issues/4972
2016-07-22 11:13:21 -07:00
Jason Simmons
9546168c37 Recreate the EGL surface after a resize in order to correctly handle screen rotation on Android (#2813) 2016-07-21 15:13:26 -07:00
John McCutchan
855e23910a Add intent for running from a script file (#2807) 2016-07-20 10:35:45 -07:00
Jason Simmons
0df124f969 Add an alternate name for an FLX built in profile mode (#2806) 2016-07-19 15:13:08 -07:00
Chinmay Garde
c876974381 Attempt font fallback resolution using CoreText on iOS. (#2800) 2016-07-18 14:58:23 -07:00
John McCutchan
0b1986a5c1 Fix DevFS on Android devices (#2801) 2016-07-18 12:16:57 -07:00
Jason Simmons
ca72520d93 Provide a PlatformView implementation for Linux (#2796) 2016-07-13 14:39:53 -07:00
Collin Jackson
1280c527e3 Make FlutterAppDelegate an empty AppDelegate (#2792) 2016-07-12 18:24:40 -07:00
Chinmay Garde
fe69b034c0 Remove dependencies on ui, third_party/mesa and mojo/convertors. Provide simple alternatives. (#2783) 2016-07-12 14:47:44 -07:00
Jason Simmons
7040ec5855 Use immersive mode on Android when all system UI overlays have been disabled (#2791)
This requires adding a way for platform services (namely SystemChromeImpl) to
listen for activity lifecycle events

Fixes https://github.com/flutter/flutter/issues/4885
2016-07-12 10:12:32 -07:00
Jason Simmons
5ccb7f9abd Allow multiple Android resource names for the app bundle (#2790)
Also provide an API for obtaining the path where the app bundle was extracted
2016-07-11 13:44:42 -07:00
Adam Barth
469d954a83 Remove spurious log message 2016-07-11 09:41:46 -07:00
Adam Barth
2ee12a847f We need to make these paths absolute before reading them (#2787) 2016-07-08 15:45:04 -07:00
Adam Barth
0d2c049fc2 Conditionally enable accessibility (#2785)
Previously we enabled accessibility unconditionally on iOS, which is more
expensive than necessary. We still enable it unconditionally on the simulator
because there's no API for determining whether accessibility is needed on the
simulator.
2016-07-08 14:03:55 -07:00
Adam Barth
304881d62c Don't crash if no root semantics node (#2784)
Fixes #4849
2016-07-08 13:39:39 -07:00
Chris Bracken
d5fe823eff Do not convert the package map to an absolute path
Package map entries can contain relative paths.
See related commit: d7d99c6
2016-07-07 14:05:47 -07:00
Ian McKellar
834d81e12e Better debugging support for flutter on mojo. (#2779)
Add a --pause-isolates-on-start flag to the flutter mojo content
handler to match the one that's supported by the dart mojo content
handler.

Fixes: https://github.com/flutter/flutter/issues/4802
2016-07-01 17:06:40 -07:00
Adam Barth
71ce354a44 Harmonize Android and iOS accessibility bridges (#2777)
These classes now use the same terminology and work in the same way.
Also, change semantics.mojom to use an enumeration of actions instead of
having a separate method per action. This will hopefully scale better.
2016-06-30 16:49:04 -07:00
Adam Barth
93753789bb Add isAdjustable to SemanticFlags (#2776) 2016-06-28 15:07:55 -07:00
Chinmay Garde
bb9865538b Rename uri_launcher.mojom to url_launcher.mojom. (#2773) 2016-06-22 17:15:51 -07:00
Adam Barth
f91f5ad62f Update to mojo fd8d18dbf7a4f9ed8a607648cca6d2c595b1c580 (#2770)
* Update to mojo fd8d18dbf7a4f9ed8a607648cca6d2c595b1c580

* Update mojo_sdk

* Update to account for Mojo API changes

* Backport to older base
2016-06-21 12:52:09 -07:00
Jason Simmons
f59f7dadbd Remove FlutterView.onResume (#2768)
It's empty and is easily confused with onPostResume
2016-06-20 15:01:15 -07:00
Jason Simmons
471beb05aa Pass the FlutterView to app message listeners (#2767)
This will make it simpler to write listeners that can be reused in multiple
applications.
2016-06-20 13:29:46 -07:00
Chinmay Garde
78af411d47 Fix leaky descriptor in dart_init and use the correct macro to handle EINTRs on close syscall wrappers. (#2765)
* Use IGNORE_EINTR instead of HANDLE_EINTR when using the `close` syscall wrapper.
* Don't leak the file descriptor used to memory map Dart related artifacts.
2016-06-17 12:04:30 -07:00
Adam Barth
211f2d4afb Revert base roll and its fallout.
Updating base turns out to be more complicated than I thought.

This reverts commit daa822aae70a8ab860ed8f085cdadf6987c28d03.
This reverts commit c38428c7b98951e2cccf6b38881eabd87786da49.
This reverts commit 4b73a8a0486d45081c5dde4e2c51c32d1376250b.
2016-06-15 17:30:27 -07:00
Adam Barth
daa822aae7 Fix Mac build 2016-06-15 17:19:07 -07:00
Adam Barth
c38428c7b9 Fix Mac build 2016-06-15 15:08:20 -07:00
Adam Barth
4b73a8a048 Roll base (#2761)
Update base, gn, and their clients.
2016-06-15 14:52:53 -07:00
Adam Barth
93e9328662 Fix iOS build 2016-06-15 14:03:35 -07:00
Chinmay Garde
02b7238cbb Android platform implementation of uri_launcher.mojom (#2760) 2016-06-15 12:35:06 -07:00
Chinmay Garde
0b31c01843 Add platform/uri_launcher.mojom with an iOS backend. (#2759) 2016-06-15 12:17:50 -07:00
Adam Barth
e34327b7b5 Move //mojo/icu to //services/icu (#2757)
The upstream mojo.git no longer contains this code.
2016-06-15 11:04:13 -07:00
John McCutchan
341495d517 Support for hot source reloading in the Linux glfw sky_shell (#2755)
- [x] Wire up synchronous script reloading in the library tag handler.
- [x] Allow glfw sky_shell to start from dart source as well as bundle.
2016-06-15 10:11:57 -07:00
Todd Volkert
be96958c6f Remove unused copy of xcode files during iOS build (#2751) 2016-06-13 16:25:54 -07:00
Adam Barth
12fab2f28a Move dart:jni to //flutter/lib/jni (#2744)
This patch disentangles dart:jni from //sky/engine and moves it into
//flutter/lib/jni. Eventually dart:ui will move into a peer directory.
2016-06-11 09:15:39 -07:00
Adam Barth
633d674c48 Move tonic to //flutter/tonic (#2742)
Now that tonic doesn't depend on anything in //sky/engine anymore, we
can move the code to a location where its dependencies are clearer.
2016-06-10 22:36:38 -07:00
Adam Barth
81ae27ab61 Remove startup flicker on Android (#2733)
According to hackbod on Stack Overflow, we're supposed to block in the
surfaceCreated callback until we've actually drawn into the surface:

http://stackoverflow.com/questions/8772862/surfaceview-flashes-black-on-load/8888108#8888108
2016-06-02 21:01:02 -07:00
Todd Volkert
482e63dfae System chrome platform service updates (#2732)
1) Add ability to specify a system UI overlay style, to
   provide a hook into the style of the status bar icons on iOS.

2) Migrate the Activity service's task description API to the
   system chrome platform service. The old API will be removed
   once the Flutter repo is updated to use the new API after an
   engine roll.

flutter/flutter#3544
2016-06-02 15:05:51 -07:00
Todd Volkert
6c6faf5856 Run clang-format on FlutterViewController.* (no-op change) (#2731) 2016-06-01 14:18:32 -07:00
Adam Barth
4dc3c05636 FlutterViewController should not retain listeners (#2726)
This patch makes the FlutterViewController interface more idiomatic by not
retaining listeners. It's the callers responsibility to make sure the lifetimes
work out.
2016-05-31 13:18:45 -07:00
Jason Simmons
7a49b37a74 Implement a protocol for discovering active Flutter instances on Android (#2720)
Tools can send a broadcast intent that will cause Flutter processes to
write their names and observatory ports to the log in JSON format.
2016-05-27 17:11:34 -07:00
Adam Barth
b6ad88501f Roll mojo2 (#2722)
* Update to mojo 7d579155cc597aa3befcbfad66eef54bda06b57c

* Update to new API
2016-05-27 17:06:21 -07:00
Chinmay Garde
6ef35837d8 The app.flx is now present in the main application bundle. Look for it in there. (#2714) 2016-05-26 12:33:06 -07:00
Adam Barth
44429c06eb Clear the background during load (#2710)
Previously we'd draw uninitialized memory. Now we draw black.

Fixes #3447
2016-05-25 17:45:40 -07:00
Todd Volkert
38dd52719b Close the app after the user acknowledges the Launch Error alert. (#2711)
* Close the app after the user acknowledges the Launch Error alert.
2016-05-25 16:57:32 -07:00