20087 Commits

Author SHA1 Message Date
Colin Cross
03a647911f Merge "Move LOCAL_PICKUP_FILES out of $OUT/data" am: c4b8bdc4ba
am: 930de2656b

Change-Id: I1e38ef5ae3a4d6a977df856abbb160b2e5fcde4e
2016-12-09 02:05:35 +00:00
Colin Cross
930de2656b Merge "Move LOCAL_PICKUP_FILES out of $OUT/data"
am: c4b8bdc4ba

Change-Id: I0aac6741d2c92bbe46fdf89931460fbb41acc1ea
2016-12-09 02:01:37 +00:00
Colin Cross
c4b8bdc4ba Merge "Move LOCAL_PICKUP_FILES out of $OUT/data" 2016-12-09 01:53:13 +00:00
Ian Hickson
cde66eb625 Trivial changes to analyze.sh (#3303) 2016-12-08 16:50:19 -08:00
Chinmay Garde
2fc99153b7 Decorate kDartWriteProtectCodeArgs with FTL_ALLOW_UNUSED_TYPE since it may not be used in all configurations. (#3302) 2016-12-08 16:26:39 -08:00
John McCutchan
5afca375e3 Disable code page write protection in debug mode (#3299) 2016-12-08 15:06:13 -08:00
Dan Afergan
0ebc19cdb0 mx_size_t -> size_t (#3300) 2016-12-08 14:49:07 -08:00
Jason Simmons
0c985f8f61 Null check before queueing deletion of Skia objects (#3298)
Fixes https://github.com/flutter/flutter/issues/7182
2016-12-08 12:43:50 -08:00
Jason Simmons
2f32e8054d Catch and log exceptions thrown in message listeners provided by apps (#3297)
FlutterView's host message processing methods are invoked from native code,
and the JNI wrappers will abort the process if the Java side has an uncaught
exception.
2016-12-07 14:47:40 -08:00
Jason Simmons
cd04cf5ced Fix invalid JSON in listViews RPC response when a view does not have an isolate (#3295)
Fixes https://github.com/flutter/flutter/issues/7174
2016-12-07 13:11:41 -08:00
Jason Simmons
7ebeee2af1 Update the engine Travis script for changes in dartanalyzer's output format (#3296) 2016-12-07 10:58:43 -08:00
Jason Simmons
74c1b2e4d7 Unblock FlutterView.getBitmap if there is no available layer tree (#3294) 2016-12-06 15:12:03 -08:00
Collin Jackson
6794bc2ad7 rename sky -> flutter in shell (#3293) 2016-12-06 14:43:53 -08:00
Yirui Huang
d478da324d Change language score calculation
Change language score calculation in the calculation of the font family.
Instead of language and script matching, a match in subtag is added.
In addition, a match in subtag has a higher priority than a match in
script. The score levels are divided into 5 score levels and the limit
of the number of font languages is changed to 12 from 17. Multiple
languages selection rule could to be added in the future.

Bug: 31608997
Test: Done by unittests.
Change-Id: I1e7177095f604fd1794bc99ca36c705dcb4c56e7
2016-12-06 18:17:54 +09:00
Chinmay Garde
cdb18a5356 Convert the enable-dart-profiling to a shell argument in SkyActivity. (#3292) 2016-12-05 15:12:48 -08:00
Colin Cross
2e621342bf Move LOCAL_PICKUP_FILES out of $OUT/data
minikin_tests was copying its test data to
$OUT/data/DATA/nativetest/minikin_test, and then packaging that with
LOCAL_PICKUP_FILES=$OUT/data/DATA, which would also pick up anything
any other module copyied to $OUT/data/DATA.  $OUT/data/DATA isn't
where the tests expect to find their data, they look in
/data/nativetest/minikin_test.  Copy the files to the intermediates
directory instead.

A future change will install LOCAL_PICKUP_FILES for local builds
to the correct place, so adb sync and
adb shell /data/nativetest/minikin_tests/minikin_tests will run the
tests.

Test: mma -j
Change-Id: I808ce743f51e5ccac711e22821e7e0d7cd94ffdf
2016-12-02 18:04:42 -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
Adam Barth
596bc3e9e7 Use initialized memory for composited bounds (#3291)
SkRect objects need to be manually initialized. Previously, we were using
unintialized memory in our bounds calculations.
2016-12-02 14:18:11 -08:00
Ian Hickson
543c39e6fa roll buildroot (#3290)
try 2.
2016-12-02 11:18:59 -08:00
Chinmay Garde
b0220a3af3 [iOS] Don’t perform a per frame platform to UI thread switch. (#3288) 2016-12-01 17:35:40 -08:00
Ian Hickson
bd629a04f3 Mention updating the buildroot git remotes (#3285)
* Mention updating the buildroot git remotes

I always forget how to do this...

* Update CONTRIBUTING.md
2016-11-30 20:33:19 -08:00
Ian Hickson
1f78526b3d Roll buildroot (#3287) 2016-11-30 19:58:27 -08:00
Jason Simmons
af79a8918d Roll Dart (#3284) 2016-11-30 15:27:13 -08:00
Jason Simmons
98c18190db Initialize the InputConnection with the text plugin's most recent state (either incoming or outgoing) (#3283)
Fixes https://github.com/flutter/flutter/issues/7033
2016-11-30 15:07:37 -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
Chinmay Garde
0a3c0b5ecf Allow platform frameworks to snapshot FlutterView contents. (#3281) 2016-11-29 14:39:29 -08:00
Philippe Ombredanne
03f68e99b7 Add unzip as a requirement in the contributing documentation. (#3273)
unzip is missing from documentation and is required to run 
"gclient sync"  successfully. Unzip does not come installed by default
on every Linux installations.

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
2016-11-29 11:03:34 -08:00
Adam Barth
a8b7631b7a Remove trailing comma 2016-11-28 21:02:42 -08:00
Todd Volkert
dd17a112c1 Make dylib filename configurable in Info.plist for iOS (#3277) 2016-11-28 19:44:08 -08:00
Chinmay Garde
bc4dac3229 Update buildroot. (#3279) 2016-11-28 17:21:49 -08:00
YoungSeok Yoon
1e53b728c2 Fix the assertion in RadialGradient (#3278) 2016-11-28 17:16:36 -08:00
Adam Barth
ce13c1a040 Tracing (#3276)
* Rename hittable to hitTestable

Apparently hittable is not politically correct.

* Enable tracing on Fuchsia
2016-11-28 16:10:10 -08:00
Adam Barth
33af5a5644 Rename hittable to hitTestable (#3275)
Apparently hittable is not politically correct.
2016-11-28 16:09:56 -08:00
Todd Volkert
e25f2a5126 Make flx filename configurable in Info.plist for iOS (#3274) 2016-11-28 14:47:06 -08:00
Adam Barth
f6547c1df5 Add prune to child scene layers (#3272)
Also, change the hit testing geometry so that we get our hits at the root.
2016-11-28 12:28:18 -08:00
Hal Canary
4fe92f2bdb SkImageEncoder->SkEncodeImage
Test: none
Change-Id: I9115c41f1699ab5d9d677251d96ea8f4fb844845
2016-11-24 12:09:19 -05:00
Adam Barth
310db55cf9 Use BufferProducer::Tick to free memory (#3270) 2016-11-23 18:52:02 -08:00
Ryan Macnak
e702b9787f Roll Dart to 93043a36621ae01a5384ac86e67557324c3f3a71. (#3266) 2016-11-23 16:16:04 -08:00
Chinmay Garde
55ed56040d Add testonly = true to the flutter/testing target and disable WTF tests that depend on ICU. (#3271) 2016-11-23 16:12:39 -08:00
Chinmay Garde
c4bd577379 On host targets, add dependencies on host unit test executables. (#3269) 2016-11-23 15:57:52 -08:00
P.Y. Laligand
64dcfc679c Add a manifest parameter to flutter_app. (#3268)
This will ensure the flx file is rebuilt whenever the manifest is modified.
2016-11-23 15:53:43 -08:00
Chinmay Garde
cd9caf6de6 Update Skia revision to pull in GL native interface construction fixes on iOS. (#3265)
* Update Skia revision to pull in GL native interface construction fixes on iOS.

Fixed in https://skia-review.googlesource.com/c/5212/

* Use the new image encoder API from Skia.
2016-11-23 13:36:14 -08:00
Adam Barth
f627e734c0 Cull offscreen child views (#3267)
There's no reason to present offscreen child views to Mozart.
2016-11-23 13:36:12 -08:00
Adam Barth
77e1a952f1 Remove HandleWatcher (#3260)
This interface has been replaced with HandleWaiter, which is the new hotness.
2016-11-22 20:41:03 -08:00
Chinmay Garde
4ad11efdb5 Update buildroot reference. (#3263) 2016-11-22 17:38:18 -08:00
Chinmay Garde
88a0832247 Remove defunct references to third_party/iccjpeg and third_party/qcms. (#3262)
The same will be removed from buildroot as well.
2016-11-22 17:26:32 -08:00
Chinmay Garde
cc45975563 Rework switches in the shell so that they display help text for all flags. (#3259) 2016-11-22 16:58:55 -08:00
Chinmay Garde
44ef3f3d23 Remove defunct reference to //third_party/libjpeg. (#3261) 2016-11-22 16:55:53 -08:00
P.Y. Laligand
5c0c18c114 Enable analysis of flutter_app targets. (#3256) 2016-11-22 16:40:01 -08:00
John McCutchan
1235483913 Roll Dart runtime to ea94a5dcb0be8af3a3ead5d4be0813e55bd8920e (#3258) 2016-11-22 14:48:49 -08:00