7428 Commits

Author SHA1 Message Date
Jeff Brown
a2bf3dc35a Update to new way of passing application environment. (#3209) 2016-11-08 16:58:18 -08:00
Ryan Macnak
a3a13f4a94 Roll Dart VM to pick fix for JITing on the Pixel. (#3204) 2016-11-08 09:20:32 -08:00
Jason Simmons
55d50b2ada Show clearer logs during startup if OpenGL is unavailable (#3207) 2016-11-07 17:01:42 -08:00
Adam Barth
ced9a91c3a Switch Flutter to //lib/fidl (#3206) 2016-11-07 15:51:42 -08:00
Chinmay Garde
84a060820a Tell the raster cache when checkerboarding preferences have been updated. (#3205) 2016-11-07 15:29:03 -08:00
Ian Hickson
041af0e79a Update CONTRIBUTING.md (#3203)
At some point recently we started putting a JSON file in the out/ directory and this broke this suggested build script.
This patch makes the script more resilient to such files.
2016-11-04 14:36:27 -07:00
Chinmay Garde
2e0f870c38 Add SceneBuilder.setCheckerboardRasterCacheImages with documentation. (#3202) 2016-11-03 17:28:11 -07:00
Chinmay Garde
c44d049edd Fix PipelineProducer traces. Also add back the OnDisplayLink trace on iOS. (#3201) 2016-11-03 17:04:21 -07:00
Chinmay Garde
3164a97645 Allow checkerboarding raster cache entries for debugging purposes (can be toggled from Dart). (#3200) 2016-11-03 13:59:57 -07:00
Jason Simmons
5103e40b95 Set the IME action label to null if the label is null in the configuration JSON object (#3199)
(JSONObject.getString() will return the string "null" for a JSON null value)

Fixes https://github.com/flutter/flutter/issues/6643
2016-11-03 12:08:15 -07:00
Petr Hosek
2c092bcf88 Split the snapshot generation into a separate action (#3168)
This is to ensure that the depfile generated by the snapshotter has
the correct target.
2016-11-02 14:38:09 -07:00
Chinmay Garde
16077d474b Update Dart revision again to pick up fix for Analyzer regression. (#3198) 2016-11-02 14:29:30 -07:00
John McCutchan
ef1d8e144a Roll tonic to d171be8076dc3310f43ee67ac49e87765688c3d7 (#3197) 2016-11-02 22:20:31 +01:00
John McCutchan
c30f8bed5e Have sky_snapshot --print-deps print parse errors on standard error (#3196) 2016-11-02 22:05:47 +01:00
Chinmay Garde
dd86cb16cb Update Dart revision to pull in Mac DBC linker errors. (#3195) 2016-11-02 11:09:50 -07:00
Jason Simmons
e54b0e286b Roll Dart (#3194)
Update DartServiceIsolate/FlutterView because VMServiceIO_NotifyServerState
now provides a URI for the observatory
2016-11-01 17:11:56 -07:00
Chinmay Garde
b3ca46b363 Initialize AndroidSurfaceGL and its associated resource context before ANativeWindow acquisition. (#3193)
* Initialize AndroidSurfaceGL and its associated resource context before ANativeWindow acquisition.

This allows us to create the IO thread context way earlier and service load requests on the same. Before this patch, early lifecycle loads would use the default Skia texture loader instead of the Async texture loader we provide.

Fixes https://github.com/flutter/flutter/issues/6581

* Don't destroy surface_gl_ PlatformViewAndroid::ReleaseSurface.
2016-11-01 15:02:56 -07:00
Jason Simmons
801addcfaf Fix warning about converting a null snapshot override path (#3190) 2016-11-01 14:38:27 -07:00
Jason Simmons
643d5cb062 Move SkPicture destruction to the IO thread to fix a GL memory leak (#3192)
An SkPicture may hold a reference to an SkImage backed by a GL texture.
The GL texture is associated with the resource context bound to the IO
thread and must be deleted through that context.
2016-11-01 14:31:20 -07:00
John McCutchan
54b81419aa Fix profile and release mode isolate spawning (#3191)
Fixes #6496
2016-11-01 21:28:41 +01:00
Jason Simmons
cdd7db2674 Fix a leak of RenderObjects in Paragraph/ParagraphBuilder (#3189)
The RenderView destructor does not delete its descendants.
RenderObject::destroy must be called to delete the object tree along with
other cleanup tasks.

Also associate a CustomFontData with dynamically loaded fonts in order to get
the desired FontDataCache behavior at RenderObject::destroy time.
2016-10-31 11:16:04 -07:00
Jeff Brown
3f564f28f3 Remove use of magenta/process.h. (#3188) 2016-10-29 18:25:24 -07:00
Adam Barth
63e71803de Unlink from mojo (#3187)
After this patch, we no longer link with Mojo. We still use some gn definitions
from //mojo to create Dart packages.
2016-10-28 15:01:07 -07:00
Adam Barth
c5c69a2462 Fix Fuchsia build (#3186) 2016-10-28 13:54:53 -07:00
Adam Barth
1bc79ded38 Number keyboard does not work on Android (#3185)
We had a typo in our decoding logic.

Fixes https://github.com/flutter/flutter/issues/6564
2016-10-28 12:26:56 -07:00
Adam Barth
4b8c9051e5 Remove last mojom interface (#3184)
We no longer use mojom to transport messages. We still use the Mojo EDK
to spin the event loop, however.
2016-10-28 11:46:57 -07:00
Adam Barth
e26bf9a813 Unify the various run methods on engine (#3183)
Now they all flow through some common routines.
2016-10-27 17:03:32 -07:00
Chinmay Garde
0799ce9c7f Add ObjC, ObjCXX and ASM files to the compilation database. (#3182) 2016-10-27 16:58:04 -07:00
Chinmay Garde
dfe016e073 Explicitly tell the platform view to update its backing store. (#3181) 2016-10-27 15:32:41 -07:00
Adam Barth
9eaedb0677 Migrate ViewportMetrics away from Mojo (#3180)
Now we just pass the data directly.
2016-10-27 13:12:55 -07:00
Chinmay Garde
5be8ae8084 Add FlutterJSONMessageListener.h to the Flutter umbrella header. (#3179)
Causes warnings in Xcode.
2016-10-27 12:09:11 -07:00
Chinmay Garde
5491f96d76 Remove ycm_extra_conf from flutter. It has been moved into buildroot. (#3178) 2016-10-27 12:04:55 -07:00
Jason Simmons
29676fa53e Update the path to the GDB binary in the current NDK toolchain (#3177) 2016-10-27 10:48:54 -07:00
Adam Barth
cd14345215 Update for API change (#3176) 2016-10-27 10:19:30 -07:00
Jason Simmons
4508530b39 Improvements to the text ellipsizer (#3174)
Fixes https://github.com/flutter/flutter/issues/6450
2016-10-26 16:59:45 -07:00
Chinmay Garde
8ed02f831e Create compile_commands.json on each GN invocation and add a YCM conf. (#3175) 2016-10-26 15:31:19 -07:00
Adam Barth
7e5d63513a Move lifecycle, navigation, and localization to platform messages (#3172)
Previously, these signals were sent over Mojo. Now we send them through
platform messages.
2016-10-25 15:51:27 -07:00
mikejurka
aed8353b89 Don't enable checked mode for Fuchsia release builds (#3173)
Temporary until precompiled code works on Fuchsia
2016-10-25 14:31:17 -07:00
Jason Simmons
9f65114e20 Provide the paragraph style at ParagraphBuilder construction time (#3171)
This enables text span styles to inherit attributes from the paragraph style
2016-10-25 10:58:05 -07:00
Ian McKellar
bbc8f5fe22 Go directly from vmo to vector<char> (instead of via string) (#3170) 2016-10-25 10:17:46 -07:00
Adam Barth
a8604ba9d2 Remove spurious log 2016-10-24 19:54:42 -07:00
Adam Barth
d4f67e6b75 Migrate vsync away from Mojo services (#3169)
Instead, just use JNI and Objective-C directly.
2016-10-24 16:14:37 -07:00
Ryan Macnak
8303461914 Roll Dart VM. (#3167) 2016-10-24 12:32:10 -07:00
Ian McKellar
7353495f78 Update flutter to the new URL(Request|Response) interfaces (#3166)
Depends on: https://fuchsia-review.googlesource.com/c/12243/
2016-10-21 15:03:53 -07:00
Jeff Brown
db12c5e621 Implement ftl::TaskRunner::PostTaskForTime function. (#3165) 2016-10-21 13:09:54 -07:00
Adam Barth
0c212af9a8 Path.transform doesn't work (#3164)
We need to release the typed array so that we can allocate the result value.

Fixes https://github.com/flutter/flutter/issues/6456
2016-10-21 13:04:34 -07:00
Adam Barth
76fce73207 Add support for assets on Fuchsia (#3162) 2016-10-21 13:03:16 -07:00
Todd Volkert
f07c32d247 Rollback 28c29b32a8 (#3155) and b6b927ac04 (#3156) (#3163)
iOS debug builds are broken - we need to go back to a stable state
so we can issue a proper fix without rushing into anything.

https://github.com/flutter/flutter/issues/6458
2016-10-21 12:55:26 -07:00
Adam Barth
0aea498f61 Remove MojoServices from dart:ui (#3161)
We no longer offer mojo handles via this mechanism.
2016-10-20 20:27:07 -07:00
Chinmay Garde
d4ad63b516 Remove DartConverter specializations for enums. Tonic provides a partial specialization for all enums. (#3160) 2016-10-20 16:47:42 -07:00