Commit Graph

96 Commits

Author SHA1 Message Date
Adam Barth
ab1aa07e8f Update engine (#9484) 2017-04-19 15:42:02 -07:00
Mikkel Nygaard Ravn
945cfc3ee2 Make naming consistent across channel APIs (#9270) 2017-04-18 15:23:15 +02:00
Jason Simmons
70536223ee roll engine (#9397) 2017-04-14 10:37:19 -07:00
Chris Bracken
62613ddf6e Roll engine to 5c4e20c4c53751bf7a1caf85bb45338335580e8b (#9382) 2017-04-13 12:30:58 -07:00
Ian Hickson
bf017b79b3 Move Point to Offset (#9277)
* Manually fix every use of Point.x and Point.y

Some of these were moved to dx/dy, but not all.

* Manually convert uses of the old gradient API

* Remove old reference to Point.

* Mechanical changes

I applied the following at the root of the Flutter repository:

git ls-files -z | xargs -0 sed -i 's/\bPoint[.]origin\b/Offset.zero/g'
git ls-files -z | xargs -0 sed -i 's/\bPoint[.]lerp\b/Offset.lerp/g'
git ls-files -z | xargs -0 sed -i 's/\bnew Point\b/new Offset/g'
git ls-files -z | xargs -0 sed -i 's/\bconst Point\b/const Offset/g'
git ls-files -z | xargs -0 sed -i 's/\bstatic Point /static Offset /g'
git ls-files -z | xargs -0 sed -i 's/\bfinal Point /final Offset /g'
git ls-files -z | xargs -0 sed -i 's/^\( *\)Point /\1Offset /g'
git ls-files -z | xargs -0 sed -i 's/ui[.]Point\b/ui.Offset/g'
git ls-files -z | xargs -0 sed -i 's/(Point\b/(Offset/g'
git ls-files -z | xargs -0 sed -i 's/\([[{,]\) Point\b/\1 Offset/g'
git ls-files -z | xargs -0 sed -i 's/@required Point\b/@required Offset/g'
git ls-files -z | xargs -0 sed -i 's/<Point>/<Offset>/g'
git ls-files -z | xargs -0 sed -i 's/[.]toOffset()//g'
git ls-files -z | xargs -0 sed -i 's/[.]toPoint()//g'
git ls-files -z | xargs -0 sed -i 's/\bshow Point, /show /g'
git ls-files -z | xargs -0 sed -i 's/\bshow Point;/show Offset;/g'

* Mechanical changes - dartdocs

I applied the following at the root of the Flutter repository:

git ls-files -z | xargs -0 sed -i 's/\ba \[Point\]/an [Offset]/g'
git ls-files -z | xargs -0 sed -i 's/\[Point\]/[Offset]/g'

* Further improvements and a test

* Fix minor errors from rebasing...

* Roll engine
2017-04-12 15:06:12 -07:00
Chris Bracken
7b0b5c5760 Roll engine to 059ab3a47165d98cb1d7ac5e2a2e4b50abf39832 (#9352) 2017-04-12 14:43:34 -07:00
Ian Hickson
2a54524337 Fix tests to use Ahem, and helpful changes around that (#9332)
* Fix tests to use Ahem, and helpful changes around that

- Fix fonts that had metric-specific behaviours.

- LiveTestWidgetsFlutterBinding.allowAllFrames has been renamed
  to LiveTestWidgetsFlutterBinding.framePolicy.

- LiveTestWidgetsFlutterBinding now defaults to using a frame policy
  that pumps slightly more frames, to animate the pointer crosshairs.

- Added "flutter run --use-test-fonts" to enable Ahem on devices.

- Changed how idle() works to be more effective in live mode.

- Display the test name in live mode (unless ahem fonts are enabled).

- Added a toString to TextSelectionPoint.

- Style nit fixes.

* Roll engine to get Ahem changes.

* Update tests for dartdoc changes.

* Fix flutter_tools tests
2017-04-12 13:33:02 -07:00
Chris Bracken
c6cd0bc344 Roll engine to 5d9a6422577d95c242f45f48c47b431f7cf3c548 (#9181) 2017-04-04 09:51:55 -07:00
Chris Bracken
a246811953 Roll engine to 878f0ff09dd1d03029c2deac1a5f44d95a83a465 (#9170) 2017-04-03 19:47:41 -07:00
Jason Simmons
91dbb3c91e roll engine and update tools for the removal of dart:jni (#9137) 2017-03-31 16:20:14 -07:00
Collin Jackson
60e05e9a0e Remove Android support library in Flutter builds. Fixes #9120, #9102, #9121. (#9123)
This reverts commit 8f9d4a2260.
2017-03-31 09:35:25 -07:00
Jason Simmons
72effdd27c Roll the engine and update for new binary names (#9089) 2017-03-29 15:31:36 -07:00
Mikkel Nygaard Ravn
b9aec9389e Engine roll to get #3498 (#8966) 2017-03-23 07:58:27 +01:00
Jason Simmons
09b6850499 roll engine (#8917) 2017-03-20 15:25:27 -07:00
Adam Barth
3e37b1ef13 Update engine (#8879) 2017-03-18 13:59:41 -07:00
Mikkel Nygaard Ravn
dce4bf8599 Remove old platform messaging API (#8837)
Breaking change: removed deprecated methods of PlatformMessages, leaving only binary messaging there. All other use of platform communication now goes through PlatformMessageChannel and PlatformMethodChannels. Retained use of String and JSON codecs for now.

Companion engine PR: flutter/engine#3482
2017-03-17 11:56:50 +01:00
Chris Bracken
60bb5d43dd Roll engine to 4a5a32466958dab49b9940e4528ee6d523f4a5ac (#8843) 2017-03-16 19:35:01 -07:00
Chris Bracken
06faf0f15b Roll the engine to 2937f06a15cecf5e9398334617ca156316dae52b (#8806) 2017-03-15 14:08:25 -07:00
Mikkel Nygaard Ravn
898b6f8549 Enable iOS use of platform channels (#8695)
Changed standard encoding to use host endianness. Engine roll.
2017-03-14 00:24:41 +01:00
Michael Goderbauer
03d3186531 Transfer URIs instead of platform-dependent file paths (#8701) 2017-03-10 10:13:53 -08:00
Michael Goderbauer
906103dd10 eliminate sky snapshot (#8631)
* eliminate sky snapshot

* roll engine
2017-03-08 13:33:06 -08:00
Mikkel Nygaard Ravn
2571474755 Engine roll (#8583)
Engine roll to include https://github.com/flutter/engine/pull/3462
2017-03-06 14:56:09 +01:00
Michael Goderbauer
d579d58702 Enable Hot Reload on Windows (backed by gen_snapshot) (#8512)
* Enable Hot Reload on Windows (backed by gen_snapshot)

\o/

Two caveats:
* Hot Reload on Windows is slower than on other platforms because gen_snapshot is slower then sky_snapshot
* We currently cannot hot reload projects with spaces in the path

* enable tests
2017-03-02 10:57:27 -08:00
Mikkel Nygaard Ravn
390993d070 PlatformXxxChannel concepts added to support Flutter/platform interop (#8394)
New concepts: PlatformMessageChannel (basic message send/receive superseding some existing  PlatformMessages methods), PlatformMethodChannel (method invocation and event streams), pluggable codecs for messages and method calls: unencoded binary, string, json, and 'standard' flutter binary encoding.
2017-03-01 14:35:41 +01:00
Jason Simmons
6571b41f40 Roll engine (#8480) 2017-02-28 17:09:11 -08:00
Michael Goderbauer
96ba7f76d2 Revert "Simplify path handling logic in dependency checker and devFS (#8414)" (#8467)
This reverts commit e7bde11cc3.

Reason: broke hot reload when using "package:" style imports for sources
within the same project.
2017-02-28 11:17:26 -08:00
Jason Simmons
af03ed1c79 Roll engine (#8441) 2017-02-27 17:11:13 -08:00
Michael Goderbauer
e7bde11cc3 Simplify path handling logic in dependency checker and devFS (#8414)
* Simplify path handling logic in dependency checker and devFS

Simplification will make it easier to port this to Windows.

* Roll Engine to 0a7b177c330367904597a6129b3eb653d29dfca0
2017-02-27 11:01:14 -08:00
Chris Bracken
b880dff349 Roll engine to 335daf19304ffbbf96c1e1ff840e546f17ce50d6 (#8404) 2017-02-24 13:37:42 -08:00
Jason Simmons
b592868249 Roll the engine (#8402) 2017-02-24 12:20:22 -08:00
Ryan Macnak
9ec5330f32 Roll engine to ab0953092743319e0dde3a0c8f582d261c232964. (#8223)
Update stack_trace_test.dart for changes to the naming of async body functions.
2017-02-16 16:13:17 -08:00
Todd Volkert
54f79e5aad Roll engine to 8218674d4af35b94cd9844aad3487dcffcdf6423 (#8208)
Fixes #8200
2017-02-15 16:34:54 -08:00
Ryan Macnak
15af4a04af Roll engine to b64c88766dbd83bf4bab1cd1cd1757139b6cdb74. (#8124)
* Roll engine to b64c88766dbd83bf4bab1cd1cd1757139b6cdb74.

Picks up changes to include inlined frames and line numbers in AOT stack traces.

* Adjust/weaken stack_trace_test.dart to pass in the face of async causal stack traces (Issue #8128).
2017-02-14 16:32:28 -08:00
Chris Bracken
30f3a896e6 Roll engine to f306a6f7011244e5b5c7470e178760bf87560e4b (#8044) 2017-02-09 16:00:54 -08:00
Chris Bracken
1a741cdbbe Roll engine to 4baeae886a42ca4056a3af8cd498903482b25ddf (#7961) 2017-02-08 12:51:29 -08:00
Chris Bracken
11532cea5f Roll engine to cbf49d06521ff4c673084803c2a2afa8fc905132 (#7914) 2017-02-06 17:13:05 -08:00
Jason Simmons
883bae074a Roll engine (#7862) 2017-02-03 14:39:16 -08:00
Chris Bracken
484067edd7 Roll engine to c354127d4dfd2b960a6fa7ca173d65cb005801fa (#7843) 2017-02-02 17:33:55 -08:00
Michael Goderbauer
4c0fdc02ea Roll Engine to b8d144dab8b5e597017b76b019523aa73d56ef44 (#7820)
With this commit `flutter run --release` and `flutter run --profile` is fully supported on Windows.
2017-02-02 10:49:07 -08:00
Chinmay Garde
9c4b10014b Roll engine to pull in fixes to service integration on iOS. (#7801) 2017-02-01 17:08:44 -08:00
Michael Goderbauer
f02153ae5d Roll Engine to 4da9d87cf10a57ae0181fb6bdb1d9cec48014d03 (#7777) 2017-02-01 16:49:48 -08:00
Chris Bracken
cfa8e5b0b8 Roll engine to 2d54edf0f96b76ecb111e481fb775c617acc23d4 (#7759) 2017-01-31 14:32:59 -08:00
Ian Hickson
56eca97a75 Engine roll to pick up Ahem font crash (#7691) 2017-01-26 23:58:54 -08:00
Chris Bracken
3cde53590c Roll engine to fb69728f33fec15fd39a2b7528cdd8eb45a254d9 (#7650) 2017-01-25 19:52:18 -08:00
Chris Bracken
efa1120a99 Roll the engine to 8fea842f027cdc98e2d338f1a04b2c0cb319e204 (#7635) 2017-01-25 12:33:32 -08:00
Chris Bracken
ba4d78acb3 Roll engine to 16b2964f5c300ceea7aac17a82a6afd1ac36b594 (#7612) 2017-01-24 11:10:52 -08:00
Ryan Macnak
76460967e6 Adapt to refactoring of snapshot APIs in the Dart VM. (#7589) 2017-01-23 13:28:35 -08:00
Chris Bracken
1e1463216a Roll engine to 858e401c4d83f44634341a0e1fe2b01428fe6746 (#7576) 2017-01-22 09:34:12 -08:00
Matt Perry
75f39789c7 Add support for specifying maxLines for Text. (#7493)
Overflow handling works with clipping, adding an ellipsis on the last
line, or fading the last line.

Fixes https://github.com/flutter/flutter/issues/7271
2017-01-18 12:34:34 -05:00
Michael Goderbauer
394a736984 Roll engine to b3ed79122edd7172327ce415688ef674d6a7fa5d (#7476)
fixes #7433
2017-01-12 18:56:43 -08:00