30246 Commits

Author SHA1 Message Date
Jason Simmons
7b095d731a Build fixes for the sky_engine and sky_services Dart packages
* Add some missing dependecies to sky_services
* Create a script that excludes unnecessary files when preparing the package for release
2016-03-22 15:30:05 -07:00
Todd Volkert
9fb117efa4 Revert "The dynamic services SDK produces a fat Mach binary of x64 and arm64 variants."
This reverts commit 3cf712d230 in order to fix the build breakage: ".../obj/sky/services/dynamic/libFlutterServices.a and .../clang_x64/obj/sky/services/dynamic/libFlutterServices.a have the same architectures (x86_64) and can't be in the same fat output file"
2016-03-22 14:52:07 -07:00
Chinmay Garde
1f32b1f42d Merge pull request #2538 from chinmaygarde/master
The dynamic services SDK produces a fat Mach binary of x64 and arm64 variants.
2016-03-22 12:11:29 -07:00
Chinmay Garde
3cf712d230 The dynamic services SDK produces a fat Mach binary of x64 and arm64 variants. 2016-03-21 17:51:35 -07:00
Adam Barth
7ee2e454ca Revert "Update to mojo 891577b0517de5aeca538d99669787c6dc72412a"
This reverts commit bbeca72bbf.
This reverts commit 4b6e1f1f14.
2016-03-21 17:17:50 -07:00
Adam Barth
4b6e1f1f14 Update use of Mojo APIs 2016-03-21 16:52:01 -07:00
Adam Barth
0ebfd66653 Fix iOS build
Previously we failed to compile some SSE code in Skia.
2016-03-21 15:42:47 -07:00
Adam Barth
ac113c2965 Update Skia
This required a bunch of changes because of the new sk_sp type Skia has
introduced into their API.
2016-03-21 14:59:49 -07:00
Adam Barth
be608ee2e9 Merge pull request #2508 from abarth/glfw
Import GLFW into //third_party/glfw
2016-03-21 09:48:17 -07:00
Hixie
b105feb361 Move the "current frame" marker in the perf graph 2016-03-18 13:38:30 -07:00
Chinmay Garde
f59aae0397 Merge pull request #2525 from chinmaygarde/master
Update Dart dependency
2016-03-18 11:29:50 -07:00
Chinmay Garde
26341315ec Update Dart dependency 2016-03-17 17:51:02 -07:00
Ian Hickson
ed9c49397b Merge pull request #2520 from Hixie/addPerformanceOverlay-docs
Performance Overlay fixes
2016-03-17 17:21:26 -07:00
Hixie
695b7df241 Performance Overlay fixes
- fix dartdocs for addPerformanceOverlay
- make PerformanceOverlayLayer honour its x, y, and height.
- fix the y axis of PerformanceOverlayLayer to only show 3x16ms, since
  if it's more than 16ms it really doesn't matter what it is.
- make the label on the PerformanceOverlayLayer show the worst time on
  record not the instantaneous time.
- pin the fps to a maximum of 60Hz
2016-03-17 17:14:04 -07:00
Ian Hickson
95872c3e06 Mention android:debuggable in CONTRIBUTING.md 2016-03-17 13:54:14 -07:00
Roozbeh Pournader
0eaf80b016 Do not allow line breaks before currency symbols
Implement the change proposed in UTC document L2/16-043R
(http://www.unicode.org/L2/L2016/16043r-line-break-pr-po.txt) to make
sure we do not break between letters and currency symbols.

Bug: 24959657
Change-Id: Ia29d0e5625f84870bd910d0c6e19036d17206704
2016-03-16 16:21:09 -07:00
Adam Barth
623cb3fe18 Import GLFW into //third_party/glfw
This patch includes GLFW 3.1.2.
2016-03-15 14:46:46 -07:00
Chinmay Garde
afa0a614bd Remove prototype.patch 2016-03-12 19:22:01 -08:00
P.Y. Laligand
3522239acb Merge pull request #2499 from pylaligand/mojo
Store the Mojo revision in mojo/VERSION.
2016-03-11 20:19:29 -08:00
P.Y. Laligand
f3ad6eb1b0 Store the Mojo revision in mojo/VERSION. 2016-03-11 17:17:05 -08:00
Adam Barth
e1713c3f1d Fix device pixel ratios in Mozart for reals
We need to adjust the transform matrix to undo the device scale.
2016-03-11 17:01:06 -08:00
Jason Simmons
c5e72aee36 Merge pull request #2492 from jason-simmons/gradle_flutter_jar
Build a Flutter.jar output for use by Android projects built without …
2016-03-11 14:11:07 -08:00
Adam Barth
63976f2ef4 Flutter embedded in Flutter via Mozart is double scaled
We weren't correctly dividing by the device pixel ratio when asking Mozart to
present our child scene.
2016-03-11 13:36:59 -08:00
Jeff Brown
4ab948ecee Specify a clip rect for ChildSceneLayers.
When linking in a scene, it's a good idea to specify its clip rectangle
to ensure that its content does not draw or capture input from its
surrounding space.

A future version of the Mozart view manager may automatically wrap a
view's scene with a clip rectangle to avoid composition gotchas like this
but it currently doesn't.  So the net effect is that if you embed a view
without specifying a clip, it can draw or capture input from anywhere
within its container.
2016-03-10 18:33:08 -08:00
Jason Simmons
8f3d202fb6 Build a Flutter.jar output for use by Android projects built without the Flutter tools
Flutter.jar contains the Flutter engine Java code, native code and resources.
It can be incorporated into projects built with external build systems such as Gradle.
2016-03-10 14:41:33 -08:00
Adam Barth
f0765e867c Update mojo_sdk 2016-03-10 12:58:18 -08:00
Adam Barth
9fd4af08ef Update to mojo b76db373e90403dbf8f63d86efb80f07ae9b128c 2016-03-10 12:58:04 -08:00
Chinmay Garde
84ea34d4dd Allow PlatformMacMain to be called multiple times
It is called each time the embedder initializes a Flutter view controller. The Mac shell (which does not have a view controller), calls it before NSApplicationMain.

Common items like the base::AtExitManager and the platform message loop are stored in `EmbedderState`
2016-03-09 17:49:17 -08:00
Jason Simmons
57406a0be8 Handle both absolute and relative paths when generating sky_snapshot dependencies 2016-03-09 15:19:17 -08:00
Alhaad Gokhale
277dc6c36c Merge pull request #2478 from alhaad/depfile_support
Depfile support for sky_snaphot.
2016-03-08 22:08:51 -08:00
Alhaad Gokhale
ee5c415beb sky_snapshot should use --snaphsot as the defualt value for
--build-output.
Also, dependency collection should be done by Loader.
2016-03-08 21:56:44 -08:00
Alhaad Gokhale
1625e84ae9 Depfile support for sky_snaphot.
Ref #1942
2016-03-08 16:43:49 -08:00
Chinmay Garde
6e62e249ca Prepare a framework providing an embeddable Flutter view controller 2016-03-08 16:42:07 -08:00
Devon Carew
6234a8c19b update the embedder file 2016-03-07 14:09:36 -08:00
Collin Jackson
4c465a4baf Enable conditional directives 2016-03-06 17:29:42 -08:00
Ian Hickson
3e01645c36 Update CONTRIBUTING.md
Mention the waterfall and conventions around it.
2016-03-03 22:56:03 -08:00
Seigo Nonaka
5ccdf654f5 Suppress log span due to returning null for itemize result.
Bug: 26808815
Change-Id: I2a5a52f2c441d27c7ef270342b4ef93c3de9e56e
2016-03-03 15:51:55 -08:00
Adam Barth
e826a6f503 Remove packages/material_design_icons
We no longer use a pub package to distribute these icons.
2016-03-03 10:59:10 -08:00
Seigo Nonaka
f4c679ca68 Break regional indicators at even numbered code points.
Bug: 23288449
Change-Id: If1419ff9e44e8e640616979bae88311f414b42a1
2016-03-02 17:44:14 -08:00
Jason Simmons
fb48f3f3e7 Merge pull request #2448 from jason-simmons/gitignore_gcm
Add GCM to gitignore
2016-03-02 15:08:01 -08:00
Jason Simmons
e42875d5e2 Add GCM to gitignore 2016-03-02 14:30:03 -08:00
Adam Barth
1780891545 Update mojo_sdk to 683e2a3c441b187abf0d6ba103495f59701fd6fa 2016-03-02 12:16:58 -08:00
Adam Barth
e959eb9c8f Update to mojo 2b11118a29f15658972d6c7ac0217d9c53b73c6b 2016-03-02 12:14:34 -08:00
John McCutchan
09e56bb76d Reland _embedder.yaml support to Flutter engine 2016-03-02 11:01:13 -08:00
Matt Perry
c47be46163 Remove unused UpdateService. 2016-02-29 15:11:33 -05:00
Matt Perry
af1214c6a3 Add flutter_gcm back to build deps if --enable-gcm is present. 2016-02-29 14:15:29 -05:00
Raph Levien
a58530bccc Fix wrong conditions in isEmojiBase
I computed ranges using low <= c || c <= high, should be &&.

Bug: 26829153
Change-Id: Ic1002d90b6a408a0b415f2d117d0e57adcbc2fa9
2016-02-27 07:43:56 -08:00
Collin Jackson
7e6631a78a Support for jars with large numbers of classes 2016-02-26 17:45:22 -08:00
Raph Levien
7f9de429d4 Suppress line breaks in emoji + modifier
An emoji base with an emoji modifier renders as a single glyph and
thus should not be a line break. Current (Unicode 8) logic does
indicate a line break, so we override the results of the ICU line
break iterator. The code references a proposal to improve Unicode
behavior; when that is adopted and we upgrade ICU accordingly, the
special-case code should be deleted, but the tests can remain.

Bug: 27343378
Change-Id: I5de9c53e9a34c503816f9131e3d894e6f7a57d13
2016-02-26 19:05:34 +00:00
Seigo Nonaka
b7d66e3db0 Use color font if skin tone is specified.
If skin tone is specified, the base emoji should be emoji style even
if it is text presentation default emoji.

This patch also removes wrong test case which expects default emoji
presentation but it is controlled by family order in /etc/fonts.xml
and there is no special logic for default presentation in minikin.
Thus the default presentation unit test should not be in minikin.

Bug: 27342346

Change-Id: I74a2b2feab4d559535049e368cfd833063cce81c
2016-02-26 11:26:30 +09:00