7576 Commits

Author SHA1 Message Date
Chinmay Garde
d45638fc2b [content_handler] Make RuntimeHolder convey its viewport metrics to the direct input instance. (#3367) 2017-01-26 14:36:30 -08:00
Chinmay Garde
a042f57550 On Fuchsia with Vulkan on Acer, bypass Mozart and read input directly. (#3366) 2017-01-26 14:00:57 -08:00
Jason Simmons
fe9fb6803e Do not double delete the test font data stream (#3365)
SkTypeface::MakeFromStream takes ownership of the passed SkStreamAsset*

Fixes https://github.com/flutter/flutter/issues/7657
2017-01-26 12:08:18 -08:00
Chris Bracken
fb69728f33 Roll Dart SDK to ed00447138f95ea4ba612509a244ca8205735372 (#3364)
* Roll Dart SDK to ed00447138f95ea4ba612509a244ca8205735372

Make the VM happy with a spurious instruction snapshot.

* Revert "Snapshots: Don't use an empty array where a NULL array is expected. (#3361)"

This reverts commit 275ffdcef80ffb85f4be62b9e8d1b17b5c0fdacf.

Broke iOS simulator builds; should no longer be necessary after rolling
the Dart SDK to ed00447138f95ea4ba612509a244ca8205735372.

On iOS simulator builds, we were seeing DartLookupSymbolInLibrary return
a pointer to a address of the snapshot data rather than the address of
the snapshot buffer itself. On simulator builds we don't build the
snapshot data into a buffer in app.dylib (kDartVmSnapshotData) but link
it statically into the engine itself.
2017-01-25 19:08:33 -08:00
Jason Simmons
8fea842f02 Add a flag to sky_shell that keeps the process alive after the Dart script completes (#3363) 2017-01-25 12:06:23 -08:00
Chinmay Garde
1afa280c86 Use threads with configurable stack sizes in the content handler. (#3356) 2017-01-25 11:33:38 -08:00
Chris Bracken
0854b95aba Apply iOS status bar padding only to fullscreen views (#3362)
* Apply iOS status bar padding only to fullscreen views

Previously padding was applied to account for the status bar, whether in
standard or expanded 'in-call' geometry only if the current view was not
a subview of a containing view. This didn't cover the case of root views
embedded in other windows (e.g. dialogs).

We also ensure that the window is fullscreen to account for cases like
small dialogs centred on the screen.

* Do not apply padding if we're a subview in a containing view
2017-01-25 01:35:55 -08:00
Ryan Macnak
275ffdcef8 Snapshots: Don't use an empty array where a NULL array is expected. (#3361)
Fixes dart-lang/sdk#28504
2017-01-24 18:26:21 -08:00
Jason Simmons
1210a2e7e1 Roll FTL (#3360) 2017-01-24 17:49:55 -08:00
Ian Hickson
82eaffd42f Improve documentation for the winding rule API and rename 'winding' to 'nonZero'. (#3359) 2017-01-24 17:01:58 -08:00
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