Commit Graph

131 Commits

Author SHA1 Message Date
Alexander Aprelev
3db402ec98 Roll Flutter Engine dependency (#10753) 2017-06-15 23:01:25 -07:00
Michael Goderbauer
d3f9608247 roll engine to 18fdfb86bb3876fcbb4e1d25e5b2aad0c5cd669f (#10711) 2017-06-14 17:10:56 -07:00
Todd Volkert
b4ba972bf3 Rev engine to ffe8181ffe7432b61a67323c80fd8025704e4695 (#10651) 2017-06-12 21:47:41 -07:00
Chris Bracken
4bde698ffc Roll engine to ffe8181ffe7432b61a67323c80fd8025704e4695 (#10597) 2017-06-09 10:54:47 -07:00
Chris Bracken
21441aa366 Roll engine to 4d423b62b99b9d943a26fad776769cfe2c7f016d (#10591) 2017-06-08 18:13:49 -07:00
Chris Bracken
b5365d9352 Roll engine to 1f765cdba7aee9d0a953043209b05d2c59270391 (#10572)
This picks up the latest engine build, built with ios_deployment_target
set to iOS 8 (changed from iOS 7).
2017-06-07 16:10:29 -07:00
Todd Volkert
b83ddcd192 Rev engine to pick up FlutterActivity change (#10560)
https://github.com/flutter/flutter/issues/10072
2017-06-07 13:41:42 -07:00
Michael Goderbauer
cee36e306a Roll engine to 8686a458104628c4cd5e142e59cac53458724e31 (#10518) 2017-06-05 18:06:55 -07:00
Chris Bracken
03e7ebe67d Roll engine to c3721a589b50e3d2c2e56befbfd6f860d0de12a1 (#10512) 2017-06-05 15:44:54 -07:00
Chris Bracken
7c68cf50bc Roll the engine to bd09286e4aec422a1f77eac9de84274f22484846 (#10467) 2017-06-02 16:15:21 -07:00
Chris Bracken
a8fe276c55 Roll engine to 9af413ca8b44ede5dd961dca099149ead4ac8358 (#10457) 2017-06-02 12:36:50 -07:00
Michael Goderbauer
a6069aee30 Roll engine to 1f2aa075717169d6058ad97b3b5c2794a97a43d7 (#10447)
Picks up accessibility fixes.
2017-06-02 10:10:36 -07:00
Chris Bracken
9452a3448c Support inactive, suspending AppLifecycleStates (#10306)
* Rolls the engine to 75c74dc463d56e17be10315cfde409010fd8f90b.
* Adds framework support for the `AppLifecycleState.inactive` and `AppLifecycleState.suspending` states.

What are the new states?
------------------------
* `AppLifecycleState.inactive` is emitted on iOS only and corresponds to iOS's foreground inactive state. Current iOS state transitions are:
`resumed` <--> `inactive` <--> `paused`

* `AppLifecycleState.suspending` is currently emitted on Android only and corresponds to the
transition to Android's stopped state. Current Android state transitions are:
`resumed` <--> `paused` --> `suspending` --> `resumed`

These transitions may change in future.

This is a breaking change on iOS
--------------------------------

This changes the semantics of the `AppLifecycleState.paused` state on
iOS. The behaviour associated with this state is unchanged on Android.

For background on iOS application states see the state transition
diagram in the [App Programming Guide for iOS](https://developer.apple.com/library/content/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/TheAppLifeCycle/TheAppLifeCycle.html#//apple_ref/doc/uid/TP40007072-CH2-SW6).

On iOS, prior to this change, `AppLifecycleState.paused` corresponded to
a transition to the _foreground inactive_ state. It now corresponds to a
transition to the _background state_. The newly-added
`AppLifecycleState.inactive` state now corresponds to entering the
_foreground inactive_ state, which (currently) has no exact analogue on
Android.

Briefly, the _foreground inactive_ state is the state entered when
switching from an app to the app switcher, receiving a phone call, or
responding to a TouchID request. Apps are permitted to continue
animating/updating views in this state if desired. From the _foreground
inactive_ state, the app may transition back to _active_ (e.g., entering
the app switcher then resuming the app), or to the _background_ state
(e.g., switching to the home screen or another app).

What to change
--------------
If your app does not handle the `AppLifecycleState.paused` state in a
`WidgetsBindingObserver.didChangeAppLifecycleState` implementation, no
changes are required.

If you do handle `AppLifecycleState.paused`, you may additionally wish
to also handle `AppLifecycleState.inactive`. For example, games should
probably pause on entering the app switcher rather than wait to be
backgrounded.

More details
------------
For background on Android application states see the state transition
diagram in the [Android Activity Lifecycle docs](https://developer.android.com/guide/components/activities/activity-lifecycle.html#alc).
2017-05-25 10:52:21 -07:00
Chris Bracken
f1816d6d23 Roll engine to af60e003d06a82310d9d5240fdb6753729edb10f (#10285) 2017-05-23 19:34:18 -07:00
Chris Bracken
8046f68a31 Roll engine to 1295b4718b204c627c71d80e309b3d5fea0592b8 (#10279) 2017-05-23 16:42:35 -07:00
Todd Volkert
daad83880f Revert "Roll engine to 8b09c7231e0d32ec8aba476dd2b8319a8e5d6a73 (#10262)" (#10269)
This reverts commit 4a9205572b.
2017-05-23 08:01:42 -07:00
Chris Bracken
4a9205572b Roll engine to 8b09c7231e0d32ec8aba476dd2b8319a8e5d6a73 (#10262) 2017-05-22 17:12:02 -07:00
Chris Bracken
0ec9132248 Roll engine to 5a7e862cbeabdf021374c2b122505a5fcd6ca37b (#10222) 2017-05-20 12:36:50 -07:00
Chris Bracken
bac2f0d01f Roll engine to 82815836eba0a9ebaaa9d191944710d7581ec865 (#10167) 2017-05-18 10:08:11 -07:00
Ian Hickson
ce2c834f70 Adjust the tests to handle a higher-DPI test harness. (#10056)
Requires https://github.com/flutter/engine/pull/3688
2017-05-15 16:47:14 -07:00
Adam Barth
a8b553d52b Update engine (#10088) 2017-05-15 11:18:12 -07:00
Adam Barth
c5cf8e0190 Update engine (#10067) 2017-05-13 11:11:58 -07:00
Jason Simmons
b4e0e541ec roll engine (#10047) 2017-05-12 12:43:30 -07:00
Chris Bracken
5be2fb0b8a Roll engine to f99d3ef1083b9a126b64fab0c576647108c9a7eb (#9997) 2017-05-11 10:35:33 -07:00
Chris Bracken
6ab2958039 Roll engine to f2581c9bcc32f9e2e7372eb7e94a8aa9f5aab0b2 (#9978) 2017-05-10 17:25:33 -07:00
Jason Simmons
d9165f96d4 Roll engine (#9970) 2017-05-10 15:08:23 -07:00
Mikkel Nygaard Ravn
c1feee93d3 iOS plugin registry (#9818) 2017-05-09 12:00:07 +02:00
Chris Bracken
9846385b32 Roll engine to 1b01211ee68fffae3c2acb33ce03b5a3c0d6c774 (#9861) 2017-05-05 18:11:33 -07:00
Ian Hickson
031c4360af Roll engine (#9830) 2017-05-05 07:34:24 -07:00
Todd Volkert
20da5c1beb Rev engine (#9829) 2017-05-04 22:10:42 -07:00
Mikkel Nygaard Ravn
bba043bab3 Roll engine to da8ebf40bd5fc76774bc4d291094344074fa432c (#9680) 2017-04-29 00:53:32 +02:00
Chris Bracken
9da22bd92f Roll engine to 7c699ce7721b32d7893e68e260474a7eec811fd5 (#9660) 2017-04-27 16:51:09 -07:00
Jason Simmons
1d6a8249f8 roll engine (#9650) 2017-04-27 13:34:48 -07:00
Mikkel Nygaard Ravn
70ff50f929 Integration test for channel communication (#9621) 2017-04-27 08:44:28 +02:00
xster
311d35354a roll (#9488) 2017-04-19 18:45:14 -07:00
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