2252 Commits

Author SHA1 Message Date
Ryan Macnak
ea66ec5bb7 Roll Dart VM to pick fix for JITing on the Pixel. (flutter/engine#3204) 2016-11-08 09:20:32 -08:00
Jason Simmons
0ce2408afb Show clearer logs during startup if OpenGL is unavailable (flutter/engine#3207) 2016-11-07 17:01:42 -08:00
Adam Barth
1d7337b4d8 Switch Flutter to //lib/fidl (flutter/engine#3206) 2016-11-07 15:51:42 -08:00
Chinmay Garde
b09b35cc06 Tell the raster cache when checkerboarding preferences have been updated. (flutter/engine#3205) 2016-11-07 15:29:03 -08:00
Ian Hickson
d0de04bfa7 Update CONTRIBUTING.md (flutter/engine#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
e1cdf9ef48 Add SceneBuilder.setCheckerboardRasterCacheImages with documentation. (flutter/engine#3202) 2016-11-03 17:28:11 -07:00
Chinmay Garde
6dbbb9c0a5 Fix PipelineProducer traces. Also add back the OnDisplayLink trace on iOS. (flutter/engine#3201) 2016-11-03 17:04:21 -07:00
Chinmay Garde
20ad790b7f Allow checkerboarding raster cache entries for debugging purposes (can be toggled from Dart). (flutter/engine#3200) 2016-11-03 13:59:57 -07:00
Jason Simmons
b91c77590b Set the IME action label to null if the label is null in the configuration JSON object (flutter/engine#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
b0015c4e06 Split the snapshot generation into a separate action (flutter/engine#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
7e47e8790b Update Dart revision again to pick up fix for Analyzer regression. (flutter/engine#3198) 2016-11-02 14:29:30 -07:00
John McCutchan
cec24b9abe Roll tonic to d171be8076dc3310f43ee67ac49e87765688c3d7 (flutter/engine#3197) 2016-11-02 22:20:31 +01:00
John McCutchan
23843e3d29 Have sky_snapshot --print-deps print parse errors on standard error (flutter/engine#3196) 2016-11-02 22:05:47 +01:00
Chinmay Garde
53623d9023 Update Dart revision to pull in Mac DBC linker errors. (flutter/engine#3195) 2016-11-02 11:09:50 -07:00
Jason Simmons
17815b3421 Roll Dart (flutter/engine#3194)
Update DartServiceIsolate/FlutterView because VMServiceIO_NotifyServerState
now provides a URI for the observatory
2016-11-01 17:11:56 -07:00
Chinmay Garde
7f99dd8528 Initialize AndroidSurfaceGL and its associated resource context before ANativeWindow acquisition. (flutter/engine#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
cfddf80a97 Fix warning about converting a null snapshot override path (flutter/engine#3190) 2016-11-01 14:38:27 -07:00
Jason Simmons
12af865808 Move SkPicture destruction to the IO thread to fix a GL memory leak (flutter/engine#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
0a7dfa77ba Fix profile and release mode isolate spawning (flutter/engine#3191)
Fixes #6496
2016-11-01 21:28:41 +01:00
Jason Simmons
2db913d253 Fix a leak of RenderObjects in Paragraph/ParagraphBuilder (flutter/engine#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
Adam Barth
f04d8c0314 Unlink from mojo (flutter/engine#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
d8092db223 Fix Fuchsia build (flutter/engine#3186) 2016-10-28 13:54:53 -07:00
Adam Barth
e963abe485 Number keyboard does not work on Android (flutter/engine#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
414e5bcd60 Remove last mojom interface (flutter/engine#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
7e0fbaec13 Unify the various run methods on engine (flutter/engine#3183)
Now they all flow through some common routines.
2016-10-27 17:03:32 -07:00
Chinmay Garde
c25ca2e17d Add ObjC, ObjCXX and ASM files to the compilation database. (flutter/engine#3182) 2016-10-27 16:58:04 -07:00
Chinmay Garde
dd6331d3ad Explicitly tell the platform view to update its backing store. (flutter/engine#3181) 2016-10-27 15:32:41 -07:00
Adam Barth
b5219d5dcf Migrate ViewportMetrics away from Mojo (flutter/engine#3180)
Now we just pass the data directly.
2016-10-27 13:12:55 -07:00
Chinmay Garde
7e65ad2853 Add FlutterJSONMessageListener.h to the Flutter umbrella header. (flutter/engine#3179)
Causes warnings in Xcode.
2016-10-27 12:09:11 -07:00
Chinmay Garde
2d3f4623eb Remove ycm_extra_conf from flutter. It has been moved into buildroot. (flutter/engine#3178) 2016-10-27 12:04:55 -07:00
Jason Simmons
1934a52f37 Update the path to the GDB binary in the current NDK toolchain (flutter/engine#3177) 2016-10-27 10:48:54 -07:00
Adam Barth
ab147d1977 Update for API change (flutter/engine#3176) 2016-10-27 10:19:30 -07:00
Chinmay Garde
401818e044 Create compile_commands.json on each GN invocation and add a YCM conf. (flutter/engine#3175) 2016-10-26 15:31:19 -07:00
Adam Barth
44ec9e55c9 Move lifecycle, navigation, and localization to platform messages (flutter/engine#3172)
Previously, these signals were sent over Mojo. Now we send them through
platform messages.
2016-10-25 15:51:27 -07:00
mikejurka
adb39de906 Don't enable checked mode for Fuchsia release builds (flutter/engine#3173)
Temporary until precompiled code works on Fuchsia
2016-10-25 14:31:17 -07:00
Jason Simmons
192bf80d39 Provide the paragraph style at ParagraphBuilder construction time (flutter/engine#3171)
This enables text span styles to inherit attributes from the paragraph style
2016-10-25 10:58:05 -07:00
Adam Barth
aeab1fd456 Remove spurious log 2016-10-24 19:54:42 -07:00
Adam Barth
54ee61e60a Migrate vsync away from Mojo services (flutter/engine#3169)
Instead, just use JNI and Objective-C directly.
2016-10-24 16:14:37 -07:00
Ryan Macnak
562000be9a Roll Dart VM. (flutter/engine#3167) 2016-10-24 12:32:10 -07:00
Jeff Brown
94cb74f076 Implement ftl::TaskRunner::PostTaskForTime function. (flutter/engine#3165) 2016-10-21 13:09:54 -07:00
Adam Barth
bb90af8f4a Path.transform doesn't work (flutter/engine#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
Todd Volkert
6ac4890a4b Rollback a2872f8aa3 (#3155) and c19eca2eb9 (#3156) (flutter/engine#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
6a513ae913 Remove MojoServices from dart:ui (flutter/engine#3161)
We no longer offer mojo handles via this mechanism.
2016-10-20 20:27:07 -07:00
Chinmay Garde
bdcf84a5be Remove DartConverter specializations for enums. Tonic provides a partial specialization for all enums. (flutter/engine#3160) 2016-10-20 16:47:42 -07:00
Chinmay Garde
2f07ca6011 Add hsw_sources from Skia opts to fix missing symbol issue. (flutter/engine#3159) 2016-10-20 15:54:11 -07:00
Chinmay Garde
2dddbb171e Fix breaking builds because of Skia roll. (flutter/engine#3158)
* Update skia/BUILD to pull in missing header include paths and files.
* Update the tonic dep to pull in partial template specialization for enums.
2016-10-20 15:33:01 -07:00
Adam Barth
a4f6c12e73 Update Skia (flutter/engine#3157) 2016-10-20 13:23:09 -07:00
Ryan Macnak
c19eca2eb9 Adapt to vm isolate and isolate snapshot pieces being emitted as assembly. (flutter/engine#3156) 2016-10-20 12:11:15 -07:00
John McCutchan
a2872f8aa3 Roll dart forward (flutter/engine#3155) 2016-10-20 09:11:12 -07:00
Adam Barth
cbeb991d9e Teach Fuchsia build about FLUTTER_ROOT (flutter/engine#3154)
We need to pass the FLUTTER_ROOT to the flutter_tools so that it can find
resources such as the schema for flutter.yaml.
2016-10-20 01:32:39 -07:00