7566 Commits

Author SHA1 Message Date
Jason Simmons
fdcd65eedd Exit the non-interactive sky_shell on Linux when the Dart script has completed (#3358)
The script will be finished when the microtask queue has been drained and
Dart_HasLivePorts is returning false for the main isolate
2017-01-24 15:39:30 -08:00
Chris Bracken
16b2964f5c Handle double-height status bar on iOS (#3357)
* Handle double-height status bar on iOS

In certain cases, iOS displays a double-height status bar (e.g., when an
application is using device location or while in a call). In such cases,
iOS offsets the app view origin by 20px, reduces view height by 20px,
then overlays a 40px opaque status bar: 20px covering the newly opened
20px gap at the top of the screen, 20px covering the top 20px of the
view, which had previously been under the standard-sized status bar.

Flutter previously set top padding to the height of the status bar,
which resulted in 40px padding with a double-sized status bar. However,
the padding should match the portion of the status bar overlapping the
view, which is 20px.

Note that the final case is the one in which no status bar is shown and
padding should be zero.

* Only apply status bar padding on root views
2017-01-24 10:30:36 -08:00
Michael Goderbauer
0206d20dab Make gen_snapshot compile on Windows (#3355) 2017-01-23 14:12:26 -08:00
Ryan Macnak
adef37080f Adapt to refactoring of snapshot APIs in the Dart VM. (#3354)
Adapt to refactoring of snapshot APIs in the Dart VM.
2017-01-23 12:09:59 -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
Chris Bracken
ab3fef5e7d Add MultiLicense license class (#3349)
Add MultiLicense license class
2017-01-20 16:25:04 -08:00
Jason Simmons
d9cc317771 Add flags for disabling the diagnostic server or setting its port (#3352)
Fixes https://github.com/flutter/flutter/issues/7557
2017-01-20 15:18:13 -08:00
Chinmay Garde
94306f4103 Add a Vulkan backend for Fuchsia and Android. (#3282) 2017-01-20 14:37:10 -08:00
Chris Bracken
dd106ae8e0 Add .packages to .gitignore (#3350)
Generated by pub in tools/licenses for license aggregation.
2017-01-20 13:40:45 -08:00
Michael Goderbauer
93fce94482 Expose justify TextAlign option (#3348)
fixes flutter/flutter#6865
2017-01-19 15:07:42 -08:00
Chris Bracken
596b3e971c Trim off BoringSSL header boilerplate (#3347)
The first 23 lines of the BoringSSL license contain informational text
including Buganizer issue numbers that is not part of the license text
itself.
2017-01-19 14:06:00 -08:00
Chris Bracken
5406903208 Add OpenSSL as supported licence type (#3345)
* Add OpenSSL as supported licence type

Adds special handling for the OpenSSL licensed files under BoringSSL.
Specifically, some of the ARM assembly files in the latest Dart SDK are
dual-licensed with OpenSSL.

* Support blocks that ref by type with no copyright

The upcoming Dart SDK includes files (e.g., sha256-armv4.S) with a block
that specifies teh code is dual-licenced under OpenSSL, but doesn't
include a copyright date of its own.
2017-01-18 17:38:43 -08:00
Jason Simmons
d394e8a9bf Clear the GPU thread's EGL context only after the GPUSurfaceGL has been destroyed (#3346)
The GPUSurfaceGL holds references to Skia objects that may own GL objects.
If the GL objects are destructed on the GPU thread after the EGL context has been
dropped, then the GL delete calls will not take effect.
2017-01-18 17:19:50 -08:00
Matt Perry
2efc78cc24 Stop processing multiline text after maxLines. (#3342)
Added a Paragraph.didExceedMaxLines property to query when this occurs.

Needed for https://github.com/flutter/flutter/issues/7271
2017-01-18 10:53:24 -05:00
Jason Simmons
e573c6b5a6 Do not pass negative selection indexes to InputConnection.setSelection (#3344)
This was causing exceptions on Jellybean
2017-01-17 17:43:24 -08:00
Chris Bracken
81d8973caa Search full license root subtree in search by type (#3343)
Previously, search by license type only searched the contents of the
chain of direct ancestor subdirectories. This change broadens the search
to the full subtree of the current license root when no license is found
in the chain of direct ancestor directories.
2017-01-17 15:57:19 -08:00
Jason Simmons
c01c8c4a39 Apply window insets using an older API on pre-Lollipop systems (#3340)
Fixes https://github.com/flutter/flutter/issues/6586
2017-01-17 15:36:47 -08:00
Chris Bracken
8316841960 Add @ character to set of supported comment chars (#3341)
Used in ARM assembly in BoringSSL after Dart SDK SHA
c1f00f786a87c36374f31818e6acf86ed1065e44.
2017-01-17 14:45:11 -08:00
Matt Perry
17237e98dd Add support for a maxLines property on Paragraph. (#3338)
Also fix 'ellipsis' overflow handling to work for multiline text.

Fixes https://github.com/flutter/flutter/issues/7271
2017-01-17 13:55:43 -05:00
Jason Simmons
ccf1f09906 Check if the canvas bounds rect contains infinite or NaN values (#3339)
See https://github.com/flutter/flutter/issues/7431
2017-01-13 17:08:24 -08:00
Chris Bracken
ea78d625ea Extract more uses of the indent regex (#3337)
In 54d1913d9, we extracted a regular expression matching licence
indentation. This patch extracts two more instances.
2017-01-13 15:31:05 -08:00
Chris Bracken
b3ed79122e Ensure licence diff works on both Linux and macOS (#3336)
On macOS diff -u6 results in:
  diff: `-6' option is obsolete; use `-U 6'
the latter syntax is supported on both Linux and macOS.
2017-01-12 17:19:42 -08:00
Jason Simmons
5f91ff02a9 An API for setting the tag for Flutter log messages on Android (#3335)
Fixes https://github.com/flutter/flutter/issues/7226
2017-01-12 15:47:18 -08:00
Chinmay Garde
a28805731c iOS: Ensure that task observers for VSync callbacks are not bypassed in VSyncWaiterIOS. (#3334) 2017-01-11 14:58:06 -08:00
Chris Bracken
fc421489b1 Roll Dart SDK to 3a422bceb76d6155cab0c728b68f2badad8ff0e9 (#3333)
* Roll Dart SDK to 3a422bceb76d6155cab0c728b68f2badad8ff0e9

* Update licences.golden for latest Dart SDK
2017-01-11 14:01:41 -08:00
Chris Bracken
08fa6b1672 Fix exception message formatting (#3332)
Add a couple missing newlines.
2017-01-10 17:28:04 -08:00
Chris Bracken
54d1913d9e Extract common indent constant (#3331) 2017-01-10 13:52:40 -08:00
Chris Bracken
1068c6f849 Ignore VERSION_MACOSX_[SN]DK in licence aggregator (#3330)
Not shipped to clients.
2017-01-10 12:43:16 -08:00
Chris Bracken
2d9d9bcb48 Remove commented out Intel licence block (#3329) 2017-01-10 12:43:00 -08:00
Adam Barth
d15ef6535a Add Size.flipped (#3328) 2017-01-10 10:45:38 -08:00
Zachary Anderson
4d811cd43b Include Observatory on Fuchsia (#3326) 2017-01-06 15:13:20 -08:00
Adam Barth
f13518d7e7 Rename TransferMode to BlendMode (#3323)
Fixes https://github.com/flutter/flutter/issues/7200
2017-01-05 23:44:47 -08:00
amirh
13044ca1c4 Add a getter for flutterView in FlutterActivity. This allows fullscreen flutter apps to extend FlutterActivity and do custom stuff with the flutter view. (#3324) 2017-01-05 20:35:00 -08:00
Chinmay Garde
ed5a1d2d37 Fix Linux builds by correctly initializing the GPURasterizer. (#3322)
The API was updated recently so platforms can report memory usage for the
rasterizer to display as an overlay.
2017-01-05 11:34:42 -08:00
Adam Barth
eefc7aecd5 Remove Canvas.setMatrix and MaskFilter flags (#3321)
The Skia team says these APIs are outdated and should be removed. They
do not appear to have any clients.

Fixes https://github.com/flutter/flutter/issues/7202
Fixes https://github.com/flutter/flutter/issues/7204
2017-01-05 11:08:59 -08:00
Chinmay Garde
a126f0b8c2 Make GN generate Xcode projects on Mac. (#3320) 2017-01-03 16:40:15 -08:00
Chinmay Garde
b03af31861 Re-format all GN files using gn format. (#3319) 2017-01-03 15:59:48 -08:00
Adam Barth
847ee8d7a4 Fix Fuchsia build (#3318) 2017-01-03 13:25:38 -08:00
Chinmay Garde
8ae2d455be Display resident memory statistics on the performance overlay. (#3314) 2017-01-03 12:27:30 -08:00
Michael Thomsen
7b4a631a09 Update editor recommendation (#3317)
Fixes https://github.com/flutter/flutter/issues/7294
2016-12-22 21:41:15 +01:00
Jason Simmons
c6e008178e Detach the EGL surface from the GPU thread and then destroy it during the FlutterView surfaceDestroyed callback (#3316)
Fixes https://github.com/flutter/flutter/issues/7147
2016-12-16 15:36:33 -08:00
teisenbe
5fe37a2251 Fuchsia: Switch to new VM interface (#3315) 2016-12-16 14:34:55 -08:00
Benjamin Lerman
5311211b21 Remove obsolete usage of the fuchsia tracing macros. (#3311) 2016-12-14 16:08:42 +01:00
Chinmay Garde
37231e749c Dont override the explicitly set paint bounds in Layer::Preroll. (#3313) 2016-12-13 17:14:25 -08:00
Collin Jackson
b65e1b91b5 Fix reference SkyWindow > FlutterWindow (#3309) 2016-12-13 08:46:16 -08:00
Ian Hickson
7127a18bab Color docs (#3310) 2016-12-12 23:40:04 -08:00
Jason Simmons
60681a233f Do not dispatch UI events if they arrive after the FlutterView has been destroyed (#3306)
Fixes https://github.com/flutter/flutter/issues/7234
2016-12-12 16:30:26 -08:00
Chinmay Garde
c677a1b7a4 Fix typo in README regarding --unopt builds on host. (#3308) 2016-12-12 16:04:57 -08:00
Collin Jackson
6ad1261d0c Fix reference to nib file (#3307) 2016-12-12 15:57:33 -08:00
Chinmay Garde
8973de90eb Update buildroot revision. (#3305) 2016-12-09 16:18:42 -08:00