2047 Commits

Author SHA1 Message Date
P.Y. Laligand
9e4f6261ec Use the new flutter_tools app. (flutter/engine#3533) 2017-03-28 13:14:02 -07:00
Adam Barth
588c004000 Attempt to fix the Mac build (flutter/engine#3534)
This type appears to be missing in older Mac SDKs.
2017-03-28 10:55:47 -07:00
Florin Malita
ce2f9c15b7 Roll Skia revision to 342977ced701d06df2b3d2eedd8b64aeae1eb5c5 (flutter/engine#3523)
* Roll Skia revision to 342977ced701d06df2b3d2eedd8b64aeae1eb5c5

* Updated license files
2017-03-28 10:25:02 -07:00
Jason Simmons
945b6048da Package the stripped build of libflutter.so inside flutter.jar (flutter/engine#3531) 2017-03-27 17:52:12 -07:00
Jason Simmons
accb36fd66 Skip third_party/android_tools when computing signatures for the license roots (flutter/engine#3518)
android_tools contains a toolchain that is specific to each host platform

Fixes https://github.com/flutter/flutter/issues/8969
2017-03-27 16:54:59 -07:00
Collin Jackson
41ced5aabc Make FlutterActivity extend from FragmentActivity (flutter/engine#3529)
FragmentActivity is required for plugins that use auto managed Google APIs, such as Google Sign-In. Requires flutter/flutter#9036 to land so that gradle builds include FragmentActivity.
2017-03-27 16:53:09 -07:00
Chinmay Garde
becbe8fcc8 Remove dependency on FontConfig. (flutter/engine#3530) 2017-03-27 16:11:57 -07:00
Chinmay Garde
285afefbd9 Explicitly import the CFRunLoop header in message_loop_darwin.mm. (flutter/engine#3528) 2017-03-27 15:58:04 -07:00
Chinmay Garde
d952b95202 Speculative fix for broken build on Mac bots. (flutter/engine#3527) 2017-03-27 15:25:57 -07:00
Jason Simmons
d58a818efc Update scripts for renaming of sky_shell binaries to flutter (flutter/engine#3526) 2017-03-27 15:06:39 -07:00
Jason Simmons
4b2047cdfb Update the docs for the license script (flutter/engine#3525) 2017-03-27 14:27:31 -07:00
Chinmay Garde
6b31213bc7 Rename sky_shell to flutter_tester. (flutter/engine#3521) 2017-03-27 13:09:36 -07:00
Jason Simmons
3cf3a20d3d Fix Javadoc on FlutterMethodChannel (flutter/engine#3522) 2017-03-24 18:23:51 -07:00
Chinmay Garde
7beff03713 Remove libsky_shell.so to libflutter.so. (flutter/engine#3517) 2017-03-24 16:25:33 -07:00
Chinmay Garde
f788187209 Directly generate flutter.jar without APK generation. (flutter/engine#3516) 2017-03-24 15:51:51 -07:00
Jason Simmons
46f0f0b89e Ensure that the license script does not mix state among components (flutter/engine#3514)
The script keeps state in the objects representing the repository files,
and it also maintains a cache of licenses.  This state should be freshly
recreated for each component so data from previous components does not
leak through.
2017-03-24 15:28:29 -07:00
Jason Simmons
e9635a42c5 Add .DS_Store to the license script's file name filter (flutter/engine#3507)
Fixes https://github.com/flutter/flutter/issues/8968
2017-03-24 10:51:17 -07:00
Jason Simmons
b7bbd71f79 Update Canvas.drawVertices to match Skia's latest interface (flutter/engine#3505)
Fixes https://github.com/flutter/flutter/issues/8809
2017-03-24 10:40:19 -07:00
Chinmay Garde
d9bca1929d Avoid linking to GL from the Linux test shell. (flutter/engine#3512) 2017-03-23 16:22:40 -07:00
Chinmay Garde
e037d8e45f Remove last reference to //base from //flutter/shell/platform/linux. (flutter/engine#3511) 2017-03-23 16:01:35 -07:00
Chinmay Garde
3a61e688df Remove the interactive mode on the Linux test shell. (flutter/engine#3510) 2017-03-23 15:52:54 -07:00
Chinmay Garde
025ed263be Allow registering multiple task observers per message loop. (flutter/engine#3509) 2017-03-23 15:29:33 -07:00
Chinmay Garde
52bf72fb46 Add fml::paths::GetExecutableDirectoryPath. (flutter/engine#3508) 2017-03-23 15:20:52 -07:00
P.Y. Laligand
458075d867 Generate a depfile for assets of a flutter_app. (flutter/engine#3497) 2017-03-23 09:43:37 -07:00
James Robinson
c206ff78ab Disable gn check for glue/trace_event.h non-Fuchsia path (flutter/engine#3501)
gn check does not run a C preprocessor, so it cannot understand that a
particular include does not apply to a particular build configuration.
2017-03-22 18:28:27 -07:00
Chinmay Garde
6ff5a41327 Remove uses of //base from all //flutter projects and replace them with //fml variants. (flutter/engine#3492) 2017-03-22 15:42:51 -07:00
Jason Simmons
0d3611119a Improve the shadow drawing parameters (flutter/engine#3499)
See https://github.com/flutter/flutter/issues/8929
2017-03-22 14:47:57 -07:00
Jason Simmons
7f239fb876 Apply the file name filter to all licensed files (not just source/text files) (flutter/engine#3491)
Fixes https://github.com/flutter/flutter/issues/8115
2017-03-22 14:29:27 -07:00
Mikkel Nygaard Ravn
6dd8ce0317 Better value coverage of Flutter standard codec on iOS. Unit tests added. (flutter/engine#3498) 2017-03-22 20:23:23 +01:00
Seth Ladd
502a1ed9ca link from Color to Colors (flutter/engine#3494)
* link from Color to Colors

* from review
2017-03-22 11:17:16 -07:00
Hans Muller
6a452f9ebd Color operator== should compare runtimeTypes (flutter/engine#3495) 2017-03-22 10:58:03 -07:00
Mikkel Nygaard Ravn
0027d03af9 Revert "Improved value coverage of Flutter standard codec. Added unit tests. (#3493)" (flutter/engine#3496)
This reverts commit 3f0d2dc586be84675683e9eee607c2b28bad75eb.
2017-03-22 15:48:59 +01:00
Mikkel Nygaard Ravn
3f0d2dc586 Improved value coverage of Flutter standard codec. Added unit tests. (flutter/engine#3493) 2017-03-22 14:54:12 +01:00
Chinmay Garde
db14a133e2 The Darwin FML backend. (flutter/engine#3490) 2017-03-20 15:47:40 -07:00
Chinmay Garde
d41b5c8298 The Android FML backend. (flutter/engine#3489) 2017-03-20 15:18:01 -07:00
Chinmay Garde
185e75f6ad The Linux FML backend. (flutter/engine#3488) 2017-03-20 14:49:10 -07:00
Jason Simmons
6daf9aeefd Canvas.drawShadow API based on SkShadowUtils::drawShadow (flutter/engine#3486) 2017-03-20 14:17:47 -07:00
Chinmay Garde
7143d8d1d9 Implementations of platform agnostic portions of FML. (flutter/engine#3487) 2017-03-20 13:41:41 -07:00
Adam Barth
401710fd27 Conform to platform protocol (flutter/engine#3485)
The Android and iOS versions of this function had diverged. This patch
makes the iOS version match the Android version (and what the framework
expects).

Fixes https://github.com/flutter/flutter/issues/8878
2017-03-18 13:35:43 -07:00
Mikkel Nygaard Ravn
ac754da610 Remove old flutter messaging API (flutter/engine#3482)
Breaking change: removed facilities for JSON and string messaging from FlutterView/FlutterViewController, leaving only binary messaging there. All other use of flutter communication now goes through FlutterMessageChannel and FlutterMethodChannels. Retained use of String and JSON codecs for now.

Companion flutter PR: flutter/flutter#8837
2017-03-17 09:04:59 +01:00
Chris Bracken
c7a35cdc80 dart_runtime_hooks: revert to syslog() call (flutter/engine#3484)
Fixes buildbot error use of undeclared identifier 'asl_log_message',
which I'm unable to repro locally.
2017-03-16 19:09:39 -07:00
Chris Bracken
b4f50b27ce Perform all iOS logging through ASL (flutter/engine#3481)
* Perform all iOS logging through ASL

As of iOS 10, ASL is deprecated and replaced with os_log. ASL calls
continue to result in logging but as of iOS 10.3, only ASL_LOG_NOTICE
level and above are logged.

This change partially reverts d67972d649157582358876f90a99577cb3708e82,
adding back stdout and stderr redirection, which resulted in loss of
some direct writes to stdout that were necessary for debugging.

This change replaces the direct use of syslog with ASL on iOS, which
Apple has stated will continue to log on iOS >= 10. This eliminates the
need for the previous fwd-declaration of syslog.
2017-03-16 18:50:33 -07:00
Brian Osman
45b19efda8 Do legacy image decoding for now (flutter/engine#3480) 2017-03-15 14:31:05 -07:00
Jason Simmons
0ca8d88853 Update the PhysicalModelLayer child paint bounds to account for the shadow (flutter/engine#3478)
See https://github.com/flutter/flutter/issues/8635
2017-03-15 14:14:15 -07:00
Chris Bracken
d67972d649 Eliminate use of ASL on iOS, --no-redirect-to-syslog flag (flutter/engine#3479)
ASL is deprecated and replaced by os_log() on iOS. As of iOS 10.3,
calling this function breaks our logging altogether. os_log isn't
available pre-iOS 10.0. Rather than implement version checks and
conditional logic, this change eliminates the existing redirection
altogether. All engine code should be logging via the syslog redirection
implemented in Logger_PrintString in dart_runtime_hooks.cc.

Since stdio redirection is eliminated, we eliminate the flag that
controls whether such redirection is enabled.
2017-03-15 13:35:53 -07:00
Chinmay Garde
02e781f347 Wire up memory warning notifications on iOS. (flutter/engine#3477) 2017-03-14 17:12:29 -07:00
Jason Simmons
b2715565a0 Send an event to signal memory pressure (flutter/engine#3475)
See https://github.com/flutter/flutter/issues/7561
2017-03-14 15:42:30 -07:00
Michael Goderbauer
76d4e76b08 re-introduce //flutter/lib/snapshot:generate_snapshot_bin target (flutter/engine#3474) 2017-03-14 10:53:30 -07:00
Adam Barth
51af4a7f08 Introduce OffsetBase.isFinite (flutter/engine#3472)
This property will eventually replace OffsetBase.isInfinite.

See https://github.com/flutter/flutter/issues/4301
2017-03-14 10:26:31 -07:00
Michael Goderbauer
b8c6df01a4 Remove sky_snapshot sources (flutter/engine#3471)
* Remove sky_snapshot sources

* update licenses
2017-03-14 10:24:17 -07:00