34 Commits

Author SHA1 Message Date
Adam Barth
78d70176a3 Fix iOS build 2016-08-09 16:39:09 -07:00
Adam Barth
9c09565712 Update paths to account for buildroot 2016-08-09 13:52:15 -07:00
Adam Barth
5f75e0bf30 Remove more //base dependencies from //sky/shell (#2889)
This patch hides the base::SingleThreadedTaskRunner, which pulls a big
switchover to ftl::WeakPtr and std::function.
2016-08-08 20:00:37 -07:00
Adam Barth
4fa03ded48 Remove //base dependencies from //sky/shell (#2888) 2016-08-08 14:58:25 -07:00
mikejurka
cb40b67f55 Roll mojo (#2881)
* Update to mojo ba13534f2b2af27a1d73e176f7406dbab25f8e14

* Fix build for updated mojo

* Fix android build. Undo some of the mojo roll.

* Fix iOS build.
2016-08-08 12:00:35 -07:00
Chinmay Garde
1f03d60a27 Delay setting up the accessibility bridge till after the flutter view has appeared. (#2854) 2016-08-02 12:39:55 -07:00
Chinmay Garde
ace8307aab Asynchronous texture upload. (#2837) 2016-08-01 16:05:45 -07:00
Collin Jackson
1280c527e3 Make FlutterAppDelegate an empty AppDelegate (#2792) 2016-07-12 18:24:40 -07:00
Chinmay Garde
fe69b034c0 Remove dependencies on ui, third_party/mesa and mojo/convertors. Provide simple alternatives. (#2783) 2016-07-12 14:47:44 -07:00
Adam Barth
469d954a83 Remove spurious log message 2016-07-11 09:41:46 -07:00
Adam Barth
0d2c049fc2 Conditionally enable accessibility (#2785)
Previously we enabled accessibility unconditionally on iOS, which is more
expensive than necessary. We still enable it unconditionally on the simulator
because there's no API for determining whether accessibility is needed on the
simulator.
2016-07-08 14:03:55 -07:00
Adam Barth
304881d62c Don't crash if no root semantics node (#2784)
Fixes #4849
2016-07-08 13:39:39 -07:00
Adam Barth
71ce354a44 Harmonize Android and iOS accessibility bridges (#2777)
These classes now use the same terminology and work in the same way.
Also, change semantics.mojom to use an enumeration of actions instead of
having a separate method per action. This will hopefully scale better.
2016-06-30 16:49:04 -07:00
Adam Barth
93753789bb Add isAdjustable to SemanticFlags (#2776) 2016-06-28 15:07:55 -07:00
Adam Barth
93e9328662 Fix iOS build 2016-06-15 14:03:35 -07:00
Todd Volkert
482e63dfae System chrome platform service updates (#2732)
1) Add ability to specify a system UI overlay style, to
   provide a hook into the style of the status bar icons on iOS.

2) Migrate the Activity service's task description API to the
   system chrome platform service. The old API will be removed
   once the Flutter repo is updated to use the new API after an
   engine roll.

flutter/flutter#3544
2016-06-02 15:05:51 -07:00
Todd Volkert
6c6faf5856 Run clang-format on FlutterViewController.* (no-op change) (#2731) 2016-06-01 14:18:32 -07:00
Adam Barth
4dc3c05636 FlutterViewController should not retain listeners (#2726)
This patch makes the FlutterViewController interface more idiomatic by not
retaining listeners. It's the callers responsibility to make sure the lifetimes
work out.
2016-05-31 13:18:45 -07:00
Chinmay Garde
6ef35837d8 The app.flx is now present in the main application bundle. Look for it in there. (#2714) 2016-05-26 12:33:06 -07:00
Todd Volkert
38dd52719b Close the app after the user acknowledges the Launch Error alert. (#2711)
* Close the app after the user acknowledges the Launch Error alert.
2016-05-25 16:57:32 -07:00
Chinmay Garde
ba168e97e9 Look for the service dylib in the frameworks directory of the main bundle. (#2680) 2016-05-11 15:49:48 -07:00
Chinmay Garde
694b492b20 Look inside the main bundle for the service definitions manifest. (#2678)
Earlier, the dynamic service loader was part of the main application
bundle. But now, we package it into Flutter.framework and let the user
control "main". The old path was looking for the manifest in the wrong
spot.
2016-05-11 11:43:46 -07:00
Todd Volkert
77426f65fd Wire up accessibility scrolling (#2664)
* Wire up accessibility scrolling

flutter/flutter#1664
2016-05-09 12:04:38 -07:00
Adam Barth
1035e5e60b Roll Mojo to 9a791294e429f9f2ca4f427796a284edb6f6768e (#2663)
* Update to mojo 9a791294e429f9f2ca4f427796a284edb6f6768e

* Update to account for Mojo API changes
2016-05-09 10:56:47 -07:00
Todd Volkert
98f020ff2d Correctly report accessibilityFrame as screen coordinates (#2660)
flutter/flutter#1664
2016-05-06 15:46:48 -07:00
Chinmay Garde
d52d3a4448 Wire up the interpreter on iOS devices. (#2648) 2016-05-06 15:37:59 -07:00
Jason Simmons
c0a5c08cd5 Roll Skia (#2658) 2016-05-06 12:04:57 -07:00
Todd Volkert
6770b4a5d5 Fix copy-paste error from code review (#2657) 2016-05-06 11:31:45 -07:00
Todd Volkert
fdc0b71889 Move node implementation to Objective C (#2652)
* Move node implementation to Objective C

This changes AccessibilityBridge::Node (C++) to be AccessibilityNode (objc)
in order to have the nodes returned directly as ui accessibility elements.
This buys us a few things:

1) We can now return an element tree instead of a flat list, thus negating
   the need to maintain a global rect and global translation
2) We use less memory since we don't need to instantiate both nodes and
   their ensuing accessibility elements
3) accessibility elements can now implement the methods necessary to respond
   to events like user scrolling

https://github.com/flutter/flutter/issues/1664
2016-05-06 11:26:01 -07:00
Adam Barth
7af714532d Make iOS Flutter apps extensible (#2654)
This patch switches us to building Runner.app on the end-developer's machine,
which will eventually let them customize their app.
2016-05-06 11:16:04 -07:00
Adam Barth
1d23f210d2 Add support for app messages to iOS (#2651)
Fixes https://github.com/flutter/flutter/issues/3256
2016-05-05 16:58:27 -07:00
Adam Barth
29c802278e Move main_ios.mm over to public APIs (#2637)
After this patch, main_ios.mm now consumes Flutter.framework via public APIs.
This patch prepares us to move Flutter on iOS over to consuming
Flutter.framework as a binary artifact.
2016-05-03 11:56:43 -07:00
Adam Barth
d980ee5d6f Clarify which source files are part of Flutter.framework (#2630)
All the headers for Flutter.framework are now in framework/Headers and all the
source files for Flutter.framework are now in framework/Source. Previously it
was unclear that FlutterAppDelegate and main_ios.mm weren't part of
Flutter.framework. (They still build as part of the framework, but that's
something I'll fix in a later patch.)
2016-04-28 12:33:19 -07:00
Chinmay Garde
a021befd19 Prepare a framework providing an embeddable Flutter view controller 2016-03-08 16:42:07 -08:00