Adam Barth
78d70176a3
Fix iOS build
2016-08-09 16:39:09 -07:00
Adam Barth
9c09565712
Update paths to account for buildroot
2016-08-09 13:52:15 -07:00
Adam Barth
5f75e0bf30
Remove more //base dependencies from //sky/shell ( #2889 )
...
This patch hides the base::SingleThreadedTaskRunner, which pulls a big
switchover to ftl::WeakPtr and std::function.
2016-08-08 20:00:37 -07:00
Adam Barth
4fa03ded48
Remove //base dependencies from //sky/shell ( #2888 )
2016-08-08 14:58:25 -07:00
Adam Barth
13af58bfc4
Remove //base dependency from asset system ( #2885 )
...
This patch centralizes the asset bundle processing in //flutter/assets and
removes the //base dependency from the code.
2016-08-08 12:56:13 -07:00
mikejurka
cb40b67f55
Roll mojo ( #2881 )
...
* Update to mojo ba13534f2b2af27a1d73e176f7406dbab25f8e14
* Fix build for updated mojo
* Fix android build. Undo some of the mojo roll.
* Fix iOS build.
2016-08-08 12:00:35 -07:00
Chinmay Garde
cebfd92d5b
Give the mac desktop its own VSync provider. ( #2877 )
2016-08-05 16:37:12 -07:00
Jason Simmons
6394e04973
On Android, create a global resource context that is shared with all PlatformViews ( #2867 )
...
Previously we had created a resource context for each PlatformView which would
be destroyed when the PlatformView lost its surface.
Fixes https://github.com/flutter/flutter/issues/5200
2016-08-04 19:48:27 -07:00
Chinmay Garde
1f03d60a27
Delay setting up the accessibility bridge till after the flutter view has appeared. ( #2854 )
2016-08-02 12:39:55 -07:00
Adam Barth
a415e0e748
Fix Linux build
2016-08-01 16:35:08 -07:00
Chinmay Garde
ace8307aab
Asynchronous texture upload. ( #2837 )
2016-08-01 16:05:45 -07:00
Jason Simmons
349cf38ba2
Another OpenGL library build system fix ( #2842 )
2016-07-28 12:02:42 -07:00
Jason Simmons
62772bbf66
Link to the OpenGL library to fix the host_debug_unopt build ( #2841 )
2016-07-28 11:24:08 -07:00
Adam Barth
11dd5cada9
Add trace events to swap buffers ( #2823 )
2016-07-26 12:16:32 -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
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
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
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
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
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
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
Adam Barth
d178eafa74
Don't call Dart_TimelineGetMicros during startup on Mac ( #2696 )
...
It crashes. We either need to make it safe to call before
Dart_Initialize on Mac or we need to use some other way of measuring
startup time.
Fixes #4006
2016-05-18 09:55:11 -07:00
Yegor
a1f4a12baa
report engine_main_enter_ts during iOS startup ( #2640 )
2016-05-13 15:35:10 -07:00