2985 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
Matt Perry
f5c907d663 Fix bug with text input where the cursor would render before a single (#2828)
trailing space rather than after.

We were including an empty rectangle in the list of TextBoxes for that
range.

BUG=https://github.com/flutter/flutter/issues/4911
2016-07-26 18:13:44 -04:00
Ian Hickson
e99cbb038e Tool for managing licenses. (#2822) 2016-07-26 13:10:57 -07:00
Chinmay Garde
b34d69becb Disable chattly log in SimpleFontData and stop reading VDMX metrics for fonts on iOS/OSX. (#2824) 2016-07-26 12:51:08 -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
Chinmay Garde
b164edaea8 Revert "Only suppress the sampling profiler on Mac/iOS when the engine is in …" (#2814) 2016-07-21 14:18:05 -07:00
Chinmay Garde
5ed6b6ec26 Minor update to the name of the argument used to find the fallback font. (#2808) 2016-07-20 11:49:37 -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
Jason Simmons
6e92a5e34d Remove unused code in FontCacheSkia (#2805) 2016-07-19 11:02:53 -07:00
Ryan Macnak
3a4e0a0c80 Only suppress the sampling profiler on Mac/iOS when the engine is in debug mode. Makes the profiler available when using 'flutter run --profile' for iOS. (#2804)
Don't pass the --background-compilation vm flag as it has been enabled by default for quite awhile now.
2016-07-19 10:59:49 -07:00
Chinmay Garde
f738deb0ab Account for surrogate pairs when constructing the string used to pass (#2803)
to CoreText for font fallback selection.
2016-07-18 15:02:40 -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
Ian Hickson
6303108d45 Drop GCM (#2795) 2016-07-13 14:42:38 -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
94753133bb Add missing file from https://github.com/flutter/engine/pull/2791 (#2793) 2016-07-12 11:30:29 -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
John McCutchan
b0d50e4860 Fix service isolate startup (#2788) 2016-07-11 10:47:26 -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
Adam Barth
574d72fe46 Copy dart_ui and dart_jni to sky_engine package (#2781)
Previously we failed to copy these files to the correct place.
2016-07-07 11:27:23 -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
John McCutchan
a757125bae Avoid re-entering the message loop while reloading. Fixes on stack reloading in Flutter embedder. (#2775) 2016-06-30 07:44:54 -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
a89a5c91c4 The gen_snapshot tool requires this field to be present (#2762) 2016-06-16 09:25:15 -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