6354 Commits

Author SHA1 Message Date
Chinmay Garde
a77e9bd3c6 Update Dart revision to include fixes to precompilation in gen_snapshot
Fixes in https://codereview.chromium.org/1673423004/
2016-02-09 14:05:18 -08:00
Jason Simmons
8a7011985f Merge pull request #2369 from jason-simmons/refresh_update_snapshot
Add a way to override the snapshot when running an FLX bundle
2016-02-09 11:11:01 -08:00
John McCutchan
24808307ae Merge pull request #2368 from johnmccutchan/fix_observatory
Fix Observatory
2016-02-09 10:19:10 -08:00
Jason Simmons
ae517c2fee Add a way to override the snapshot when running an FLX bundle 2016-02-09 10:08:26 -08:00
John McCutchan
c76877487d Fix Observatory 2016-02-09 09:25:52 -08:00
Collin Jackson
f0e0d05e18 Merge pull request #2367 from collinjackson/remaining_ios
Implement remaining methods of Firebase class on iOS
2016-02-08 19:16:36 -08:00
Collin Jackson
3de670dcc8 Implement remaining methods of Firebase class on iOS 2016-02-08 18:27:47 -08:00
Chinmay Garde
110cfe671a Merge pull request #2366 from chinmaygarde/master
Wire in the device observatory port while initializing the Dart VM
2016-02-08 15:49:24 -08:00
Chinmay Garde
b8457c90f8 Log to the console in case the manually specified observatory port is malformed. 2016-02-08 15:48:28 -08:00
Chinmay Garde
930bfee5dc Wire in the device observatory port while initializing the Dart VM 2016-02-08 15:43:12 -08:00
Ian Hickson
bc8fae514c Merge pull request #2364 from Hixie/accessibility
Accessibility fixes
2016-02-08 14:50:46 -08:00
Adam Barth
e5689cb00c Rev pub packages 2016-02-08 14:46:40 -08:00
Adam Barth
323674e8d1 Merge pull request #2365 from abarth/mozart_transform
Make Mozart draw child views
2016-02-08 14:44:19 -08:00
Adam Barth
4b921cbb5e Make Mozart draw child views
Previously we weren't factoring in the layer's offset properly and we were
drawing the child views below the background layer.
2016-02-08 14:36:38 -08:00
Hixie
920e411493 Accessibility fixes
- Correctly enable accessibility on startup if it's already enabled.
- Avoid using deprecated APIs.
- Map FORWARD/BACKWARD scrolling actions to up/down even when left/right
  is also possible.
- Clear the accessibility focus when removing a focused semantics node.
- Unregister listeners when view goes away.
- Call setWillNotDraw(false) if accessibility is enabled.
- Clean the handling of hover events.
- Work around an Android bug where the system focus rect isn't drawn
  the first time.
2016-02-08 10:35:40 -08:00
Jason Simmons
2b6f8b6f76 Merge pull request #2360 from jason-simmons/refresh_flx_serve
Serve the asset bundle directly out of an FLX zip file
2016-02-08 10:21:39 -08:00
Chinmay Garde
59781e9315 Merge pull request #2358 from chinmaygarde/master
Add a dynamic services target with a variant for the embedder and dylib each
2016-02-08 10:12:51 -08:00
Chinmay Garde
fcc9e95f3c Add a dynamic services target with a variant for the embedder and dylib each
* The embedder depends on dynamic:embedder
* The dylib depends on dynamic:dylib
* The embedder calls OnLoad and OnUnload callbacks that setup and teardown the dylib environment
* The dylib contains a thin library that services OnLoad, OnUnload and OnInvoke so that vendors dont have to do it themselves (and potentially mess it up)
* The vendor only has to implement the `FlutterServicePerform` method that takes a fully scoped handle
* This patch is a WIP till we get a stable Flutter ABI. The stuff in mojo/public is *NOT* stable
2016-02-08 10:11:09 -08:00
John McCutchan
319863f7e9 Merge pull request #2355 from rmacnak-google/error-missing-entry
Fix-up tree-shaking entry points. Toward making missing entry points …
2016-02-08 10:08:57 -08:00
Devon Carew
c0e87a4c44 Merge pull request #2361 from flutter/devoncarew-patch-1
Update project.pbxproj
2016-02-06 16:32:45 -08:00
Todd Volkert
514b5290c2 Merge pull request #2363 from tvolkert/google3
Fix sky_snapshot build to only link libgcc_s if on Linux
2016-02-06 16:01:10 -08:00
Todd Volkert
0ecee00696 Fix sky_snapshot build to only link libgcc_s if on Linux 2016-02-06 15:55:48 -08:00
Todd Volkert
413f98e1ed Merge pull request #2362 from tvolkert/google3
Pass -lgcc_s to sky_snapshot build.
2016-02-06 15:03:48 -08:00
Todd Volkert
c6eb3c521d Pass -lgcc_s to sky_snapshot build.
libgcc_s is not a DT_NEEDED library; it gets loaded implicitly.
This change ensures that rpath is referenced when searching for
the so. This in turn gets the resulting sky_snapshot binary
closer to being able to run in Google's production environment.
2016-02-06 14:38:46 -08:00
Devon Carew
8fe65ccb68 Update project.pbxproj
Make the ios simulator build incremental wrt `pub get` - don't call it each time unless the pubspec file has changed.
2016-02-06 12:56:28 -08:00
Jason Simmons
97e65a4571 Serve the asset bundle directly out of an FLX zip file
Currently, during application startup we:
  * copy the FLX file to a Mojo pipe
  * write the Mojo pipe contents back to a temporary file on disk
  * unzip the FLX contents into cache storage
This contributes to startup latency and requires that we later clean up the
cache.

With this change, the assets will be extracted from the FLX archive
on demand with no writes to storage. Runtime cost should be minimal
given that most assets (except for the snapshot) are not compressed
in the archive.
2016-02-05 14:38:42 -08:00
Ian Hickson
e774630b98 Merge pull request #2357 from Hixie/accessibility
Track whether accessibility is enabled.
2016-02-05 10:34:20 -08:00
Hixie
d0e17e679a Track whether accessibility is enabled.
If we send accessibility events when accessibility is disabled, we crash.
2016-02-05 10:05:57 -08:00
Ian Hickson
380d5353cb Merge pull request #2353 from Hixie/actions
Make AccessibilityNodeInfos interactive.
2016-02-05 07:47:34 -08:00
Chinmay Garde
36c536f4e0 Merge pull request #2356 from chinmaygarde/master
Service vendors no longer specify the service entry point
2016-02-04 19:25:48 -08:00
Hixie
707ff9b4e2 Implement hover touch exploration mode on Android. 2016-02-04 16:56:07 -08:00
Chinmay Garde
800de4b122 Service vendors no longer specify the service entry point
Instead, the entry point is well known. The service name is passed as an argument to the service.
2016-02-04 16:55:17 -08:00
Hixie
0fa8524288 Android accessibility focus support
This lets you focus and unfocus a node.

Still doesn't seem to be enough to actually have the node exposed in
TalkBack. We probably need hover for that (that's next).

(Also fixes a leak for when a subtree has been disconnected; previously
we were only forgetting the top node of the subtree, not the
descendants. Thanks @krisgiesing for catching that.)
2016-02-04 15:53:17 -08:00
Hixie
17806fdb76 Tell Android when the accessibility tree changes
Hard to say if this actually works. We'll find out once we've filled
this out enough that you can walk the tree in Android's Talkback UI.
2016-02-04 14:53:22 -08:00
Hixie
cb789edc94 Make AccessibilityNodeInfos interactive.
This exposes the actions on AccessibilityNodeInfo nodes.
It also tries to make the code that handles reloads more correct.
2016-02-04 14:53:22 -08:00
Jason Simmons
fcc26eeff8 Merge pull request #2351 from jason-simmons/roll_dart_0204
Roll Dart to 1.14.1
2016-02-04 14:23:36 -08:00
Jason Simmons
7980c7fc5c Roll Dart to 1.14.1 2016-02-04 14:05:55 -08:00
Ryan Macnak
6ec57b450f Fix-up tree-shaking entry points. Toward making missing entry points an error. 2016-02-04 13:32:09 -08:00
Chinmay Garde
99bc35379a Merge pull request #2354 from chinmaygarde/master
iOS: Dont strip release binaries
2016-02-04 13:19:13 -08:00
Chinmay Garde
6c46cfed8f iOS: Dont strip release binaries 2016-02-04 13:06:30 -08:00
Chinmay Garde
8dd3800e9d Merge pull request #2352 from chinmaygarde/master
Dont keep the fake runner around as it fails validation when preparing release archives
2016-02-04 13:06:08 -08:00
Chinmay Garde
b815431cde Dont keep the fake runner around as it fails validation when preparing release archives 2016-02-04 12:58:13 -08:00
Ian Hickson
5a7907d351 Merge pull request #2350 from Hixie/accessibility
Flutter<->Android accessibility bridge
2016-02-04 09:46:59 -08:00
Hixie
adbb587ab1 Flutter<->Android accessibility bridge
This is another step towards enabling accessibility for Flutter on
Android. It exposes the semantics tree to Android's accessibility API
when accessibility is enabled.

It does not yet:
 - allow one to actually interact with the application via the
   accessibility API
 - expose the accessibility tree to touch exploration
 - implement the accessibility focus API

However, you can see the tree if you run uiautomatorviewer. It is there,
and it matches the UI. At least in Stocks. I didn't test anything else.
2016-02-04 09:15:07 -08:00
Adam Barth
447f7fc14f Merge pull request #2348 from abarth/view_host
Pass the Mozart ViewHost into Dart
2016-02-04 08:59:33 -08:00
Jason Simmons
6c35840837 Merge pull request #2344 from jason-simmons/sound_file_cleanup
Change services to create temporary files that will be deleted by the…
2016-02-03 15:15:58 -08:00
Chinmay Garde
055a053b58 Merge pull request #2349 from chinmaygarde/master
Update service handler in dylib to use the Mojo C API only
2016-02-03 15:11:47 -08:00
Chinmay Garde
42019c43da Update service handler in dylib use the Mojo C API only 2016-02-03 15:00:17 -08:00
Adam Barth
aec7d422e7 Pass the Mozart ViewHost into Dart
Dart needs access to the ViewHost in order to create child views.
2016-02-03 14:39:45 -08:00
Adam Barth
4192794b60 Merge pull request #2347 from abarth/composite_child_scenes
Include child scenes when uploading to Mozart
2016-02-03 14:21:22 -08:00