2025 Commits

Author SHA1 Message Date
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
Jakob Andersen
7fbb663617 Fix pod name in Flutter.podspec. (flutter/engine#3473)
Names matter, and I apparently forgot to test after adding ' Engine' to
the name. Names can't contain spaces, and must match the filename.
2017-03-14 15:40:59 +01:00
Mikkel Nygaard Ravn
6afc504feb Flutter channels for iOS (flutter/engine#3470)
Flutter channels now also supported on iOS. Use FlutterMessageChannel or FlutterMethodChannel with binary/string/json/standard codecs.
2017-03-13 23:57:46 +01:00
Chinmay Garde
e3861ff767 Remove deprecated SkyApplication and SkyActivity. (flutter/engine#3464) 2017-03-08 10:47:53 -08:00
Jakob Andersen
fb41fe688d Add podspec to Flutter iOS framework. (flutter/engine#3467)
* Add podspec to Flutter iOS framework.

Flutter iOS apps are already pod-enabled, so we might as well turn the
engine framework into a pod, so we don't have to manually copy the
current Flutter.framework into the app directory on every build, but
rather let Cocoapods wire things up for us.

For that to happen, we need a pod spec for Flutter.framework. This spec
will not be published, but rather downloaded as part of the engine
artifacts, and the app's Podfile will have a local path dependency on
it.

* Update licenses_golden...
2017-03-08 09:00:59 +01:00
Chinmay Garde
aac27e52b3 Use software rendering on iOS simulators without needing a flag. (flutter/engine#3465) 2017-03-06 14:49:25 -08:00
Michael Goderbauer
2757bf1dac whitespace fix (flutter/engine#3463) 2017-03-06 13:14:56 -08:00
Mikkel Nygaard Ravn
b3b9d628ba Remove usage of JDK7 features not available until Android SDK 19+ (flutter/engine#3462) 2017-03-06 13:22:29 +01:00
Michael Goderbauer
f12729bb6f Roll Dart to 890dff146ac4733018c059b36bc4d67c45da3232 (flutter/engine#3461)
* Roll Dart to 890dff146ac4733018c059b36bc4d67c45da3232

* uddate licenses
2017-03-03 19:30:13 -08:00
mikejurka
f6a5f79902 Workaround for surface size on Fuchsia/Magma (flutter/engine#3458)
Allow surface size to be passed by caller
temporarily until we get a proper Display API
2017-03-01 21:08:06 -08:00
Jason Simmons
ce364521c0 Skip license processing for top-level source directories that are unchanged (flutter/engine#3437)
See https://github.com/flutter/flutter/issues/8106
2017-03-01 10:36:51 -08:00
Mikkel Nygaard Ravn
895fce4709 FlutterXxxChannel concepts added to support Flutter/Android interop (flutter/engine#3446)
New concepts: FlutterMessageChannel (basic message send/receive superseding existing FlutterView methods), FlutterMethodChannel (method invocation and event streams), pluggable codecs for messages and method calls: unencoded binary, string, json, and 'standard' flutter binary encoding.
2017-03-01 13:54:32 +01:00
Jason Simmons
5976337c94 Do a glFlush after creating textures on the IO thread before they are used by the GPU thread (flutter/engine#3456)
Fixes https://github.com/flutter/flutter/issues/8431
2017-02-28 15:50:02 -08:00
Michael Goderbauer
40c66c6b17 Roll-forward #3454 and roll tonic (flutter/engine#3455)
Bug causing roll-back #3454 has been resolved upstream in tonic.
2017-02-28 15:25:28 -08:00
Michael Goderbauer
50e15ad8ad Revert "--print-deps now returns resolved paths (#3449)" (flutter/engine#3454)
This reverts commit 6655e40784210f58dae010bb5d2c980c30c37d24.

Reason: broke hot reload when using "package:" style imports for
sources within the same project.
2017-02-28 10:54:00 -08:00
Jason Simmons
6b00d896c4 Allow translucent background colors in PhysicalModel (flutter/engine#3452)
Set the TransparentOccluder shadow flag if the color is not opaque
2017-02-27 16:27:44 -08:00
Jason Simmons
5683b4d5fc Disable the cache on the GrContext used for decoding images (flutter/engine#3451)
Fixes https://github.com/flutter/flutter/issues/8429
2017-02-27 16:21:21 -08:00
Michael Goderbauer
396912456c better document sky_snapshot (flutter/engine#3450) 2017-02-27 11:27:36 -08:00
Michael Goderbauer
6655e40784 --print-deps now returns resolved paths (flutter/engine#3449) 2017-02-27 10:27:24 -08:00
Chris Bracken
f2594cae0f Apply iOS status bar padding to flutter views (flutter/engine#3447)
This change eliminates two previous assumptions:
1. If a Flutter view is embedded in a parent view, that the parent view
   controller would apply any status bar padding necessary.
2. That we should not apply padding unless the flutter view is
   fullscreen.

A simple case where the first assumption fails to hold is a Flutter view
embedded in a UINavigationController with a hidden toolbar. A simple
case where the second assumption fails to hold is a view in a window
whose top overlaps the status bar but isn't fullscreen.
2017-02-24 13:11:10 -08:00
Jason Simmons
2e755736a5 Return an error to Dart when spawning an isolate with an unsupported URI (flutter/engine#3443)
Fixes https://github.com/flutter/flutter/issues/8084
2017-02-24 09:44:36 -08:00
Chinmay Garde
b016356c1e Roll Skia revision to 3f81f3703a68755c88f5cc4a87728b98f34c4cd4 (flutter/engine#3438) 2017-02-23 17:58:05 -08:00
Jason Simmons
339ee9d8ea Adapt the physical model layer for Fuchsia (flutter/engine#3441) 2017-02-23 16:27:33 -08:00