30246 Commits

Author SHA1 Message Date
Sarah Zakarias
d981e6764e Add script for generating ojbc doc for Flutter iOS libraries (flutter/engine#3788) 2017-06-21 09:51:47 +02:00
P.Y. Laligand
19a7291579 Prevent GN from choking on conditional imports. (flutter/engine#3805) 2017-06-20 23:39:18 -07:00
P.Y. Laligand
96ec6f66a4 Update to newer version of the FTL. (flutter/engine#3804) 2017-06-20 16:53:14 -07:00
Gary Qian
3f5ae2f4a3 Add support for underline, overline, and strikethrough.
Change-Id: Id98ecb8409be69d9de44dc931ed6143163469c27
2017-06-20 16:51:44 -07:00
Chris Bracken
1fd2bd9850 Revert libtxt integration (flutter/engine#3802)
* Revert "Fix licenses_lib golden file (#3798)"

This reverts commit d8ac43c3c9123fead15af3004d1e445834115bbd.

* Revert "Remove ParagraphConstriants (#3796)"

This reverts commit 2358613f9b.

* Revert "Reland "Initial integration of libtxt with Flutter alongside Blink." (#3793)"

This reverts commit d9bc2f5604.
2017-06-20 09:59:56 -07:00
Chris Bracken
22674ba9e6 Eliminate ASL stdout forwarding on iOS (flutter/engine#3797)
ASL was deprecated in iOS 10 and started causing SIGPIPE issues in iOS
10.3. Under the iOS 8 SDK, syslog() stopped working as of iOS 10.3
devices, with the result that ASL stdout/stderr forwarding was the only
means of logging. The engine now builds against the iOS 10 SDK, with
deployment target of iOS 8. Under this SDK, syslog() works correctly
across all supported OS versions.

NOTE: This is a temporary fix to get developers unblocked. While this
does fix the SIGPIPE issue and put iOS logging on par with the Android
solution, the intent is to move to a dedicated communication channel
with flutter_tools that isn't log-based.
2017-06-19 18:10:30 -07:00
Gary Qian
2358613f9b Remove ParagraphConstriants (flutter/engine#3796) 2017-06-19 17:12:54 -07:00
Ankur Mittal
197827c35c Remove deps on gtest from static lib rule
Change-Id: Iae0c4370ad0c7c3194209b7784797e81ee5f6825
2017-06-19 15:55:35 -07:00
Jason Simmons
c95fc6fd28 Set the initial route before launching the Dart app (flutter/engine#3795)
See https://github.com/flutter/flutter/issues/10813
2017-06-19 15:25:47 -07:00
Gary Qian
d9bc2f5604 Reland "Initial integration of libtxt with Flutter alongside Blink." (flutter/engine#3793)
* Transition to Hybrid lib/txt and blink text system.
2017-06-19 15:21:41 -07:00
Chris Bracken
ec07bed91f Revert "Update to newer version of the FTL. (#3786)" (flutter/engine#3792)
This reverts commit f757c49416.
2017-06-19 15:02:52 -07:00
P.Y. Laligand
f757c49416 Update to newer version of the FTL. (flutter/engine#3786) 2017-06-19 12:48:23 -07:00
Ryan Macnak
bbc94b95a5 [fuchsia] core-jit (flutter/engine#3753) 2017-06-19 12:12:18 -07:00
Gary Qian
23cc989a35 Add preliminary support for letter-spacing and word-spacing
Change-Id: If3f64cf0c18ff0aa087091626532bcd983f6b54c
2017-06-19 11:33:15 -07:00
Ian Hickson
aefd77ae94 Allow infinite cull rects. (flutter/engine#3787) 2017-06-16 23:43:12 -07:00
Gary Qian
6baa479ed0 Respect letter spacing and word spacing. Remove ParagraphConstraint.
Change-Id: Ie833eab67b50be40b7ea38f9c82577cb46e0e1a7
2017-06-16 17:32:26 -07:00
Ian McKellar
756341be6e Revert "Initial integration of libtxt with Flutter alongside Blink." (flutter/engine#3785)
* Revert "Enable line join styles and miter limit. (#3777)"

This reverts commit cafd4b93a0.

* Revert "Revert "Update switches to use StringView." (#3784)"

This reverts commit 5ffa5ef3a6.

* Revert "Initial integration of libtxt with Flutter alongside Blink. (#3771)"

This reverts commit b4a9f9c6d5.
2017-06-16 15:15:48 -07:00
gspencergoog
cafd4b93a0 Enable line join styles and miter limit. (flutter/engine#3777)
* Add support for join types and miter limits.

* Fix miter limit data type.

* Adding some clearer documentation to painting.dart

* Clarifying more documentation.

* Code review changes

* Fixed debug printing of stroke width and miter limit

* Adding missing periods at the ends of sentences.
2017-06-16 14:48:16 -07:00
P.Y. Laligand
5ffa5ef3a6 Revert "Update switches to use StringView." (flutter/engine#3784)
* Revert "Initial integration of libtxt with Flutter alongside Blink. (#3771)"

This reverts commit b4a9f9c6d5.

* Revert "Call Selection.removeSelection if the framework has cleared the selection (#3782)"

This reverts commit 2a34ee9a67.

* Revert "Update switches to use StringView. (#3781)"

This reverts commit 6adf58135e.
2017-06-16 14:32:09 -07:00
Gary Qian
b4a9f9c6d5 Initial integration of libtxt with Flutter alongside Blink. (flutter/engine#3771) 2017-06-16 14:15:53 -07:00
Jason Simmons
2a34ee9a67 Call Selection.removeSelection if the framework has cleared the selection (flutter/engine#3782)
Fixes https://github.com/flutter/flutter/issues/10748
2017-06-16 14:01:45 -07:00
P.Y. Laligand
6adf58135e Update switches to use StringView. (flutter/engine#3781)
See https://fuchsia-review.googlesource.com/#/c/31931/.
2017-06-16 12:51:26 -07:00
Gary Qian
1493b676ff Add Getters for intrinsic widths and implement MaxInstrinsicWidth. Update tests.
Change-Id: I210fac9d47f55f8317ca77bca64cfcfd438a246a
2017-06-16 12:13:47 -07:00
Mikkel Nygaard Ravn
da3ae8fc95 Add alignment padding to floats in std codec (flutter/engine#3780) 2017-06-15 21:22:18 -07:00
Jason Simmons
156f123b12 Align doubles to 8 bytes in the StandardMessageCodec (flutter/engine#3779)
See https://github.com/flutter/flutter/issues/10701
2017-06-15 21:15:25 -07:00
Gary Qian
4823485245 Restructure Building of tests and FontCollection
Change-Id: Ifd7d9cd505b119684ccb42c998204d41ee7ef93e
2017-06-15 12:17:29 -07:00
gspencergoog
1b33b0f50b Removed 'pub get' from the instructions (flutter/engine#3774)
* Removed 'pub get' from the instructions

According to Hixie, 'pub get' is abstracted into flutter packages upgrade, and so there shouldn't be a need to run pub get directly.

* Removed pub get lines entirely.
2017-06-14 16:28:21 -07:00
Michael Goderbauer
c49f348d7c Revert "Run Flutter on iOS and Android with color correct Skia (#3743)" (flutter/engine#3775)
This reverts commit bac6502d62.
2017-06-14 16:26:20 -07:00
Jason Simmons
f77a01eaca Simplify state management in the Android text editing plugin (flutter/engine#3769)
In particular, this avoids some unnecessary calls to InputMethodManager.restartInput
that caused noticeable lag when moving the cursor.

Fixes https://github.com/flutter/flutter/issues/9928
2017-06-14 10:24:41 -07:00
Gary Qian
94900efe1d Now supporting initial integration with Flutter.
Change-Id: Id71461bd96e08eae0e24ab35a040874d960af8e0
2017-06-13 17:09:43 -07:00
Todd Volkert
e69672b40a Add support for application:openURL:options: in FlutterPlugin (flutter/engine#3766)
Both the following, which we also support, are deprecated in UIKit:

* `application:handleOpenURL:`
* `application:openURL:sourceApplication:annotation:`
2017-06-12 20:57:12 -07:00
Mehmet Fidanboylu
f38ab73dab Expose performActionForShortcutItem call to all registered plugins so we can handle quick actions (flutter/engine#3763)
* Expose performActionForShortcutItem call to all registered plugins so we can handle quick actions

* Should return BOOL not void

* clang-formatted
2017-06-09 17:55:48 -07:00
Michael Goderbauer
89ab65beea Adding SemanticsFlag.isSelected (flutter/engine#3764)
* Adding SemanticsFlag.isSelected

* typo
2017-06-09 15:58:30 -07:00
Gary Qian
56e4048b17 Fix Minikin to allow proper compilation in Hyphenator.
Change-Id: I2aeb3d5e494ce941dcc8baec2f0bacd15c163094
2017-06-09 12:27:25 -07:00
Gary Qian
ef3b6d0b6e Restructure Building and new features for Flutter support.
Change-Id: Ia0454fabcd89806cfb0e07148696e9ae66c351b6
2017-06-09 12:27:25 -07:00
Todd Volkert
923bb8cc3b Fix some minor issues with Javadocs (flutter/engine#3761) 2017-06-09 07:35:50 -07:00
mattsarett
bac6502d62 Run Flutter on iOS and Android with color correct Skia (flutter/engine#3743)
* Run Flutter on iOS and Android with color correct Skia (#3716)

***Turns on color correct rendering for Android and iOS
***Communicates dst color space to raster cache
***Turns on color space aware image decoding

Test:
***color_testing_demo on Pixel XL
***flutter_gallery on iPad Mini and iPad Pro (haven't figured out how to run manual_tests on iOS)

TODO:
I needed to split up this CL somewhere. These are follow-up tasks.
***Make desktop backends color correct
***Make debugging tools (ex: encoding frames to png) preserve color space
***Investigate using UIKit API to allow iOS to fine tune color space of rendered content
2017-06-09 08:39:21 -04:00
Sarah Zakarias
4c97eefa3d Add setInitialRoute on FlutterViewController (flutter/engine#3754) 2017-06-09 10:37:53 +02:00
Todd Volkert
6461f544bb Add android v4 support lib to classpath when generating docs (flutter/engine#3760) 2017-06-08 18:58:08 -07:00
Todd Volkert
9685ff633a Create FlutterFragmentActivity (flutter/engine#3757)
This creates a `FlutterFragmentActivity` class that extends
the Android v4 Support librray's `FragmentActivity` class.
However, we intentionally do not bundle the support library
with our engine, so apps that wish to use this class are
responsible for including the support library .jar file in
their runtime deps when creating the final app.

flutter/flutter#10072
2017-06-08 16:40:37 -07:00
Gary Qian
cf223546c4 Add TextStyle properties to better support Flutter API
Change-Id: I13174dafa497328c80aada02fe144bd1b3d7f396
2017-06-08 15:38:46 -07:00
Jason Simmons
d6d464164f Call the superclass onConfigurationChanged in FlutterActivity (flutter/engine#3758) 2017-06-08 14:58:22 -07:00
Zachary Anderson
e17349b426 [Fuchsia] For profiling, export symbols, profile the VM (flutter/engine#3756) 2017-06-08 13:57:31 -07:00
Todd Volkert
17c9a56d2e Only handle refresh intent when the app is marked as debuggable. (flutter/engine#3752) 2017-06-08 08:13:52 -07:00
Gary Qian
d86d3c526a Add more testing for Paragraph and FontCollection.
Change-Id: Idec0077f44225f0af8bbcd6464d226555f79beae
2017-06-07 15:09:27 -07:00
Gary Qian
4e5639d921 Add additional test framework and tests for Italics. Overloaded paragraph text entry methods.
Change-Id: I0ae9abd6130edd276b1144a0092e03e47373427d
2017-06-07 13:55:28 -07:00
Chris Bracken
a7a3027d76 Don't override ios deployment target in gn (flutter/engine#3751)
Use the value specified in build/config/ios/ios_sdk.gni in the buildroot
repo.

Updates buildroot to 4d1c1fd7103d6daba559e456a6a68e4385bb28f1
2017-06-07 13:47:13 -07:00
Todd Volkert
397b37065a Refactor FlutterActivity to be more composable (flutter/engine#3748)
This factors the functionality that was in `FlutterActivity`
to live in `FlutterActivityDelegate`. This will allow the creation of a
`FlutterFragmentActivity` that has the same core functionality, which in
turn unlocks certain Android plugins that choose to require the v4
support library (like Google Sign-In).

https://github.com/flutter/flutter/issues/10072
2017-06-07 12:28:41 -07:00
Chris Bracken
899581c3a1 Exclude ios_tools from license script (flutter/engine#3750)
ios_tools exists to provide find_xcode.py, which is used only on the Mac
Engine bot to select the correct version of Xcode to build with.
2017-06-07 10:01:44 -07:00
Ryan Macnak
aa1c5cb32f Plumbing for a core snapshot with code (currently empty). (flutter/engine#3749) 2017-06-07 09:57:24 -07:00