1393 Commits

Author SHA1 Message Date
amirh
5afc1e2848
Enable WebP (#4359) 2017-11-15 16:49:50 -08:00
P.Y. Laligand
6fcb45991d Move //dart to //third_party/dart. (#4245) 2017-10-19 01:20:38 -07:00
P.Y. Laligand
5fae5d52cf Allow the project to be mapped to a location other than //flutter. (#4203)
This is for Fuchsia where we would like it to be located at //third_party/flutter.
2017-10-13 17:00:58 -07:00
Ryan Macnak
f7685ddf16 Roll Dart to 4b64a835b9c10480063739d1e73847dcc4d8bfb6. (#4174) 2017-10-04 11:26:07 -07:00
Michael Goderbauer
8f1c0e97a2 Revert "Revert "Revert engine Dart roll. (#4158)"" (#4168)
* Revert "libtxt: handle characters encoded as multiple UTF-16 code units (#4165)"

This reverts commit 414c3fe3dfdd3e3d575d192b492ce429ddcc9736.

* Revert "Proper horizontal a11y scrolling on Android (#4163)"

This reverts commit 0448bf9bd7a52dc281aa18db8e08194105d6d419.

* Revert "Update Skia revision to 74a8296d7c. (#4164)"

This reverts commit ac53d29a416385d574a71120528c161db1b05c12.

* Revert "Revert "Revert engine Dart roll. (#4158)" (#4162)"

This reverts commit f97e974e8cd58da75c699295384cd439a7369b13.
2017-10-03 11:23:00 -07:00
Alexander Aprelev
f97e974e8c Revert "Revert engine Dart roll. (#4158)" (#4162)
This reverts commit 14aab33edd199fe453cd01b9c8a05e9dc3c6679f.

e1aa86739b84dd9f0e69d3ea5c704342397ac93a fixes issue with last dart
roll.
2017-10-02 13:26:58 -07:00
gspencergoog
14aab33edd Revert engine Dart roll. (#4158)
* Revert "Include _http into sky_engine libraries for analyzer (#4154)"

This reverts commit b930f107c3d6648423c42ed10b54f36a92edcbc8.

It is dependent upon the Dart roll, which breaks the engine.

* Revert "Roll dart to ade37f931e90b0fdb8fe16d6bf6f089545da55b6 (#4151)"

This reverts commit 6f1264fb3e11d25a26bc7c44246110ecb5159011.

This Dart roll breaks the engine build on Travis.
2017-09-29 14:32:15 -07:00
Alexander Aprelev
b930f107c3 Include _http into sky_engine libraries for analyzer (#4154) 2017-09-29 08:51:51 -07:00
Jason Simmons
e31d0f4ea1 Update the license script to include the topaz root and exclude Skia's version of libpng (#4136) 2017-09-22 14:03:14 -07:00
Michael Goderbauer
08961f8ec5 Format all c-like sources with clang-format (#4088)
* format

* license script adaptions

* updated licenses

* review comments
2017-09-12 15:36:20 -07:00
Carlo Bernaschina
3a5bf56733 Roll Dart to 7b56ef96e2cc77150738366566357912c442ff5b (#4075)
* Roll Dart to 7b56ef96e2cc77150738366566357912c442ff5b
* Updated license
2017-09-07 19:30:11 -07:00
Alexander Aprelev
fe0e123b12 Introduce frontend_server that flutter tools will use for compilation. (#3982)
* Introduce frontend_server that allows for interactive and batch modes.

Example of batch mode:
```
$ dart $HOME/p/f/t11/flutter/engine/src/flutter/frontend_server/bin/server.dart --sdk-root=$HOME/p/f/t11/flutter/engine/src/out/android_debug/flutter_patched_sdk --platform-kernel-dill=$HOME/p/f/t11/flutter/engine/src/out/android_debug/flutter_patched_sdk/platform.dill $HOME/p/f/t11/flutter/flutter/examples/flutter_gallery/lib/main.dart

out: result 79256789-598c-4909-a9e4-0ef36d4c26ba
out: 'State&TickerProviderStateMixin^#U0^' is exported from both 'package:flutter/src/widgets/animated_cross_fade.dart' and 'package:flutter/src/widgets/animated_list.dart'.
...
out: Superclass has no method named 'hitTest'.
out: 79256789-598c-4909-a9e4-0ef36d4c26ba $HOME/p/f/t11/flutter/flutter/examples/flutter_gallery/lib/main.dart.dill
$
```

Example of interactive mode - communication via stdin/stdout:
```
$ dart $HOME/p/f/t11/flutter/engine/src/flutter/frontend_server/bin/server.dart --sdk-root=$HOME/p/f/t11/flutter/engine/src/out/android_debug/flutter_patched_sdk --platform-kernel-dill=$HOME/p/f/t11/flutter/engine/src/out/android_debug/flutter_patched_sdk/platform.dill --incremental

out: Frontend server is ready.
in: compile abc.dart
out: result fd99c0f9-12bb-4083-818e-2521d454fdc8
out: fd99c0f9-12bb-4083-818e-2521d454fdc8 abc.dart.dill
in: accept
in: recompile kuka
in: 123.dart
in: 456.dart
in: kuka
out: result d12f8d05-6c79-44f7-a775-1d3469e1be53
in: quit
$
```

* Add test. Cleanup dependencies.

* One more test with mocks

* Remove platform-kernel option. Refactored CompilerOptions. Clean up comments.

* Update license

* Use Uri.base.resolve consistently. Ensure folder path for sdk root. Fix test.

* Fix main_dart for frontend_server build target

* Reintroduce .packages file, add README.md, revert changes to licenses_flutter

* Run analyzer on frontend-server. Update .packages deps so tests can be run too.

* Add analyzer options file

* Clean up dependencies

* Add frontend_server files to license file back

* Fix comment in analysis_options.yaml

* Run frontend_server tests in travis

* Update licenses

* Change a+x permission on travis/test.sh

* pub get before pub run test

* Fix path to when

* Clarify accept/reject instructions

* Formatting, fixed docs, style

* Update license script to skip .travis.yml, when/example. Update license file.

* Update style nits

* Fix license

* Trim license extracted text. Fix licenses

* Update licenses_third_party signature

* Few more tests

* Update dart license

* Update dart license

* Style changes. Fix return value for Future<Null>
2017-08-21 12:55:17 -07:00
Jason Simmons
c80860ad1c Skip third_party/benchmark in the license source crawl (#3986)
Also regenerate sky_engine/LICENSE to include libtxt
2017-08-16 16:35:14 -07:00
Zachary Anderson
23036e515a Fixes for gypi -> gni change in Dart (#3977) 2017-08-15 07:44:27 -07:00
Carlo Bernaschina
64421f6717 Roll Dart to a67d798841ec6379c39c6cd20e9b867689df0e64 (#3936)
The new `dart_observatory_pub_packages_rev` dependent on the rolled `dart_revision` required the update of the licensing files
2017-07-31 16:26:06 -07:00
Ian Hickson
ca7836108b Roll tonic to pick up my crash fixes (#3816) 2017-06-23 12:32:44 -07:00
Chris Bracken
fffe502d43 Revert libtxt integration (#3802)
* Revert "Fix licenses_lib golden file (#3798)"

This reverts commit d8ac43c3c9123fead15af3004d1e445834115bbd.

* Revert "Remove ParagraphConstriants (#3796)"

This reverts commit 8ccf767ff71c781588fb1e79cf3369604099a7cc.

* Revert "Reland "Initial integration of libtxt with Flutter alongside Blink." (#3793)"

This reverts commit 3c049219e1429c8e08632889b6c9e7b070bba534.
2017-06-20 09:59:56 -07:00
Gary Qian
3c049219e1 Reland "Initial integration of libtxt with Flutter alongside Blink." (#3793)
* Transition to Hybrid lib/txt and blink text system.
2017-06-19 15:21:41 -07:00
Ian McKellar
d2c77f973d Revert "Initial integration of libtxt with Flutter alongside Blink." (#3785)
* Revert "Enable line join styles and miter limit. (#3777)"

This reverts commit 5403f65bcad98bd0d434cae590e2a337a1ea218c.

* Revert "Revert "Update switches to use StringView." (#3784)"

This reverts commit 80f039ff324b827cc17567867bd17c788277b0cf.

* Revert "Initial integration of libtxt with Flutter alongside Blink. (#3771)"

This reverts commit c548c65b5020653087b63f1f156741a1f95b5117.
2017-06-16 15:15:48 -07:00
Gary Qian
c548c65b50 Initial integration of libtxt with Flutter alongside Blink. (#3771) 2017-06-16 14:15:53 -07:00
P.Y. Laligand
3ddf163063 Fixed some analysis issues. (#3656) 2017-05-05 18:37:40 -07:00
Ian Hickson
ce9251b349 Remove the Android NDK and SDK from the license file. (#3627)
As advised.
2017-04-25 17:22:25 -07:00
P.Y. Laligand
f0694bbc01 Added missing dependencies for the sky_engine package on Fuchsia. (#3619)
This was exposed by minimal builds which do not build //flutter.
2017-04-22 08:36:45 -07:00
Adam Barth
fd286ae445 Make dart:ui more consistent with other built in libraries (#3609)
The other libraries don't repeat the "dart" name in their path inside the
package.
2017-04-19 13:20:30 -07:00
P.Y. Laligand
2c892e134d Update the layout of framework sources in sky_engine to match the Dart SDK's layout. (#3575)
This allows the analyzer service to properly locate these files.
2017-04-07 10:04:32 -07:00
Michael Goderbauer
68a462fd0f Roll FTL to 77f430179ddc1ad82e9ad3c056b708f583804151 (#3553)
* Roll FTL to 77f430179ddc1ad82e9ad3c056b708f583804151

This makes FTL compilable on Windows.

* fix license
2017-04-03 15:05:13 -07:00
Jason Simmons
29f289acbb Remove dart:jni (#3546)
Fixes https://github.com/flutter/flutter/issues/9129
2017-03-31 13:07:52 -07:00
Florin Malita
5ee2ba9cb8 Roll Skia revision to 342977ced701d06df2b3d2eedd8b64aeae1eb5c5 (#3523)
* Roll Skia revision to 342977ced701d06df2b3d2eedd8b64aeae1eb5c5

* Updated license files
2017-03-28 10:25:02 -07:00
Michael Goderbauer
1bd1f0e25b Roll Dart to 890dff146ac4733018c059b36bc4d67c45da3232 (#3461)
* Roll Dart to 890dff146ac4733018c059b36bc4d67c45da3232

* uddate licenses
2017-03-03 19:30:13 -08:00
Chinmay Garde
d7199e513c Update skia to 1c8e82b72bfeb1a02297688cf082c365b62705f7 (#3433) 2017-02-16 15:40:11 -08:00
xster
ffde33dc11 Fix multi-font ttc rendering for iOS (#3418)
Merged iOS and Android font fallback mechanisms and push font discovery logic into skia
2017-02-14 23:54:39 -08:00
Ryan Macnak
588d6a4798 Roll Dart VM to 9a7a04525f638b57a746706c3575df66cf02bc2d. (#3413)
Picks up changes to include inlined frames and line numbers in AOT stack traces.
2017-02-13 13:34:12 -08:00
Chinmay Garde
d58696936f Revert ShadowMaskFilter use and roll Skia to 246a3c269d8dc91a47ff27f7b71508bf9e74edf5. (#3409) 2017-02-10 16:01:36 -08:00
Chris Bracken
858e401c4d Roll Dart SDK to b43da048c31a16b9993de1536406ed014ef73ffd (#3353)
* Roll Dart SDK to b43da048c31a16b9993de1536406ed014ef73ffd

* Update licenses.golden for Dart SDK

* Update LICENSE for sky_engine
2017-01-20 19:55:26 -08:00
Chinmay Garde
94306f4103 Add a Vulkan backend for Fuchsia and Android. (#3282) 2017-01-20 14:37:10 -08:00
Chinmay Garde
b03af31861 Re-format all GN files using gn format. (#3319) 2017-01-03 15:59:48 -08:00
Ian Hickson
99b991290d Update licenses, and test that licenses are valid (#3286)
* Test that licenses are valid.

* Move license script from flutter/buildroot to flutter/engine
2016-12-02 14:51:39 -08:00
P.Y. Laligand
7c80a8b657 Include internal Dart libraries in sky_engine. (#3280)
This allows analysis to succeed. Otherwise we're seeing errors on List which does not appear as Iterable in core/list.dart unless one has knownledge of EfficientLengthIterable which is defined in internal/internal.dart.
2016-11-30 09:50:17 -08:00
P.Y. Laligand
61d182a619 Build sky on Fuchsia. (#3247)
This requires an updated buildroot.
2016-11-21 13:53:32 -08:00
P.Y. Laligand
9383817e04 Import Dart rules from buildroot, to make them available in Fuchsia. (#3246)
This also removes a reference to mojo_gni.
2016-11-18 15:24:14 -08:00
Chinmay Garde
eaad1b34ee Remove mojo/public from DEPS and update buildroot. (#3240) 2016-11-17 16:24:44 -08: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
0aea498f61 Remove MojoServices from dart:ui (#3161)
We no longer offer mojo handles via this mechanism.
2016-10-20 20:27:07 -07:00
Adam Barth
f1b740c8c2 Remove editing.mojom (#3152)
Clients have been migrated to the TextInputPlugin.
2016-10-19 22:12:19 -07:00
Adam Barth
be9761268a All the clients have migrated to platform messages (#3142) 2016-10-18 00:57:23 -07:00
Adam Barth
d999f6c123 Remove Activity service (#3136)
This functionality has been replaced by the PlatformPlugin. Also move the
contents of //flutter/services/common to more sensible homes.
2016-10-14 16:12:01 -07:00
Adam Barth
50f1b8d9ca Remove unused services (#3128)
The platform use cases are handled by the PlatformPlugin. The media service and
the sensor service have no clients. If we want to use them, we should create
plugins for them.
2016-10-13 12:14:38 -07:00
Adam Barth
8e41be8f6f Remove semanitcs.mojom (#3117)
We've cut over to the new semantics interface.
2016-10-11 15:39:08 -07:00
Adam Barth
166f44c0f7 Remove pointer.mojom (#3102)
This patch moves the rest of the clients to use the new PointerData
transport.
2016-10-06 10:59:30 -07:00
Jeff Brown
e13412bd24 Port Flutter to Mozart. (#3094)
Example: $ mojo:launcher mojo:spinning_square
2016-10-04 12:54:54 -07:00