30246 Commits

Author SHA1 Message Date
yjbanov
5053f22f25 add section on submitting code in CONTRIBUTING.md 2016-02-02 11:25:43 -08:00
Adam Barth
ae5919844a Rev pub packages 2016-02-02 10:44:46 -08:00
Jason Simmons
bd83ff4388 Clear the Flow raster cache when a GrContext is destroyed
After an application is suspended and the GrContext associated with the
Flutter view is destroyed, the raster cache still contains images tied
to the defunct context.  The SkyShell process will crash if these images
are used after the application resumes.
2016-02-01 10:36:09 -08:00
Adam Barth
e9171f9608 Move Flow layers to //flow/layers 2016-01-30 23:35:22 -08:00
Adam Barth
27a98d4b87 Rev pub packages 2016-01-30 13:33:49 -08:00
Jason Simmons
7bed50e0b7 Rollback third_party/dart-sdk to 1.13.0 2016-01-29 15:04:14 -08:00
Adam Barth
b4e000fc90 Rev pub packages 2016-01-29 12:44:02 -08:00
Adam Barth
6ebbe493b7 Update mojo_sdk 2016-01-29 12:42:00 -08:00
Adam Barth
d24913f2ee Update Dart SDK to 1.14 2016-01-29 12:13:39 -08:00
Adam Barth
4e813129b4 Fix gn build error
We need to specify this variable now that we're sharing base with
mojo.git.
2016-01-28 23:49:06 -08:00
Adam Barth
c6ea9e0c44 Move base to an external repository that will pull in via DEPS
This change lets us share base with mojo.git.
2016-01-28 17:04:23 -08:00
Adam Barth
fd3b3e110f Add the ability to create child scenes
This patch contains Dart bindings for adding a child scene when running in
Mozart. The child scene is currently ignored, but a later patch will actually
incoporate it into the tree.
2016-01-28 16:08:42 -08:00
Collin Jackson
8037cc3e3f rev engine 2016-01-28 13:46:59 -05:00
Adam Barth
b37f4446a5 Update Mojo DEPS 2016-01-27 15:31:55 -08:00
Chinmay Garde
7c907f7a8c iOS: Implementation of ::activity::Activity from activity.mojom 2016-01-27 15:01:53 -08:00
Adam Barth
ff79c6893c Update Skia version 2016-01-27 12:21:26 -08:00
Hixie
31e9f5096f revving engine 2016-01-27 09:35:03 -08:00
Adam Barth
32da3fa6ab Remove unused build files
We don't use these anymore.
2016-01-26 23:24:22 -08:00
Ian Hickson
b301b4d872 Merge pull request #2277 from Hixie/semantics
Semantics (Accessibility, Indexability)
2016-01-26 17:44:18 -08:00
Stephen Hines
e7f39cb730 Disable unsigned integer overflow sanitization until libc++ is fixed. am: 900a7c36fb
am: 711e2e5d39

* commit '711e2e5d39e4db68803407262b4af6ad3e104c9d':
  Disable unsigned integer overflow sanitization until libc++ is fixed.
2016-01-26 14:35:15 +00:00
Stephen Hines
711e2e5d39 Disable unsigned integer overflow sanitization until libc++ is fixed.
am: 900a7c36fb

* commit '900a7c36fb2953605bae61a70fb508d0f8fe515c':
  Disable unsigned integer overflow sanitization until libc++ is fixed.
2016-01-26 14:33:16 +00:00
Stephen Hines
900a7c36fb Disable unsigned integer overflow sanitization until libc++ is fixed.
Bug: http://b/26781196
Bug: http://b/25884483
Bug: http://b/26432628

Although this issue was first only manifesting on Fugu, it now affects
N9 and N6p as well. This change disables unsigned overflow sanitization
on all platforms. The real fix for libc++ (r257368) can't be committed
until we have updated Clang at least one more time.

Change-Id: I71e9c50d25ae4566d4c06f348183c4b22a4bb60a
2016-01-26 00:49:26 -08:00
Jason Simmons
dc3ae23db0 Add third_party/firebase to gitignore 2016-01-25 17:10:47 -08:00
Collin Jackson
37b7270df3 rev engine 2016-01-22 19:02:01 -08:00
Collin Jackson
8489e54b03 Use the same registration process as GCM for Firebase 2016-01-22 18:23:22 -08:00
Matt Perry
e59d1f33e9 rev engine 2016-01-21 17:08:44 -05:00
Matt Perry
a82e0f6beb Support dynamic registration of mojo services on Android
SkyApplication now reads service info from a services.json file bundled
with the apk. For each service, it registers a method that invokes
connectToService on a named class. This way, third party services can
register themselves.

There's a corresponding change to flutter_tools to generate this
services.json when building an apk that depends on services.
2016-01-21 16:55:51 -05:00
Keisuke Kuroyanagi
84b080abc5 Add light weight methods for text measurement.
The intruduced method measureText can be used instead of
doLayout for text measurement purpose.

Bug: 24505153
Change-Id: Ic29bbb347daf18d1f6c13f86970dcdd11dd6a2bd
2016-01-21 18:23:25 +09:00
Hixie
2bfb673252 Semantics (Accessibility, Indexability) 2016-01-19 16:29:34 -08:00
Adam Barth
09441005e2 Rev pub packages 2016-01-19 10:00:41 -08:00
Adam Barth
0b66cb81fe Fix order of matrix operations
When rasterzing with a non-zero left and top offset, we need to apply the scale
first so that we're translating in the correct coordinate system.

Fixes https://github.com/flutter/flutter/issues/1292
2016-01-19 09:57:26 -08:00
Hixie
2165c768fb rev engine 2016-01-15 15:43:47 -08:00
Raph Levien
95a63d665b Reject fonts with invalid ranges in cmap am: f5d2fa97bb am: 8d10d3a0f9 am: 97ef1a4890 am: 0d004fc9b6 am: 5936f34f86
am: f76c8acaf6

* commit 'f76c8acaf67dc263dddc9f9691f6e87d2450c013':
  Reject fonts with invalid ranges in cmap
2016-01-15 21:50:24 +00:00
Raph Levien
f76c8acaf6 Reject fonts with invalid ranges in cmap am: f5d2fa97bb am: 8d10d3a0f9 am: 97ef1a4890 am: 0d004fc9b6
am: 5936f34f86

* commit '5936f34f8604542b6ab2714195c69456974e2590':
  Reject fonts with invalid ranges in cmap
2016-01-15 21:45:37 +00:00
Raph Levien
5936f34f86 Reject fonts with invalid ranges in cmap am: f5d2fa97bb am: 8d10d3a0f9 am: 97ef1a4890
am: 0d004fc9b6

* commit '0d004fc9b6e9f438ba67a0188e1072247a7618a9':
  Reject fonts with invalid ranges in cmap
2016-01-15 21:43:03 +00:00
Raph Levien
0d004fc9b6 Reject fonts with invalid ranges in cmap am: f5d2fa97bb am: 8d10d3a0f9
am: 97ef1a4890

* commit '97ef1a4890fddf0945f06c644a8a27bf834df3f1':
  Reject fonts with invalid ranges in cmap
2016-01-15 21:40:23 +00:00
Raph Levien
97ef1a4890 Reject fonts with invalid ranges in cmap am: f5d2fa97bb
am: 8d10d3a0f9

* commit '8d10d3a0f9d87d90839da17e20a1812aaaa1e754':
  Reject fonts with invalid ranges in cmap
2016-01-15 21:36:37 +00:00
Raph Levien
8d10d3a0f9 Reject fonts with invalid ranges in cmap
am: f5d2fa97bb

* commit 'f5d2fa97bbdbf5075e293fb641cd2e5dbaa29cfa':
  Reject fonts with invalid ranges in cmap
2016-01-15 21:28:10 +00:00
Seigo Nonaka
6cefe2eab1 Introduce multiple language based font fallback.
The motivation of this CL is enhance the font fallback score design
to support multiple language font fallback.

This CL contains following changes:
- Break language based font score into two: script-based score and
  primary-language-based score.
- The primary-language-based score is 0 if the script-based score is 0.
  If the script-based score is not 0 and the primary language is the
  as same as the requested one, the font gets an extra score of 1.
- The language score gets a higher multiplier for languages higher in
  the locale list.

Bug: 25122318
Bug: 26168983
Change-Id: Ib999997a88e6977e341f4c325e2a1b41a59db2d5
2016-01-15 14:35:14 +09:00
Tony Gentilcore
c54832e77d Roll to mojo_sdk 0.2.9. 2016-01-14 15:35:26 -08:00
Adam Barth
939123fb0b Rev pub packages 2016-01-14 09:41:57 -08:00
Adam Barth
dc498c912c Fix typo in image raster offset
We shouldn't plumb the "right" value into the y coordinate.
2016-01-14 09:29:34 -08:00
Raph Levien
2dd7d8f92e Tailor grapheme boundaries so sequence emoji are one grapheme - DO NOT MERGE
am: c4e24421ec

* commit 'c4e24421ecb8b4532bde4e759625107367cd60e3':
  Tailor grapheme boundaries so sequence emoji are one grapheme - DO NOT MERGE
2016-01-13 23:17:11 +00:00
Raph Levien
c4e24421ec Tailor grapheme boundaries so sequence emoji are one grapheme - DO NOT MERGE
Make it so it's not possible to position the cursor inside an emoji
formed by a sequence including zero-width joiners.

Bug: 25368653
Change-Id: I67ec0874cd1505f3c82ab91492ffc3d39a52fae6
2016-01-13 14:12:56 -08:00
Adam Barth
3a3f0d6c46 Rev pub packages 2016-01-13 13:38:14 -08:00
Raph Levien
4760a9f190 Tailor grapheme boundaries so sequence emoji are one grapheme
Make it so it's not possible to position the cursor inside an emoji
formed by a sequence including zero-width joiners.

Bug: 25368653
Change-Id: I67ec0874cd1505f3c82ab91492ffc3d39a52fae6
2016-01-13 12:52:38 -08:00
Adam Barth
6bb4c2374e Stocks FAB "+" sometimes teleports to near the top left
The matrix argument to drawPicture doesn't seem to do what we want exactly.
Instead, use the normal matrix in the canvas. Also, handle cull rects with
non-zero left and top coordinates.

Fixes #1229
2016-01-13 12:31:03 -08:00
Adam Barth
e8a3a0b90c Move //sky/compositor to //flow
Now that the compositor doesn't have any tricky deps, we can make it a
top-level project, which saves a bunch of typing.
2016-01-12 22:39:51 -08:00
Adam Barth
1aa853db4f Rev pub packages 2016-01-12 10:33:52 -08:00
Adam Barth
dc07f4f040 Update versions 2016-01-11 19:57:56 -08:00