6367 Commits

Author SHA1 Message Date
John McCutchan
c9cdcf4ebb Revert "Use tonic's message handler that supports pause on start and exit"
This reverts commit c0a61a0332c4c1a53ae8409d7489e35304e1bcaa.
2016-02-10 11:49:33 -08:00
James Robinson
306c18c33c Merge pull request #2375 from jamesr/magic_statics
Enable threadsafe static initialization (aka 'magic statics')
2016-02-10 10:16:50 -08:00
John McCutchan
1d14ad3812 Merge pull request #2377 from johnmccutchan/dart_message_handler
Use tonic's message handler that supports pause on start and exit
2016-02-10 10:11:52 -08:00
John McCutchan
c0a61a0332 Use tonic's message handler that supports pause on start and exit 2016-02-10 09:49:50 -08:00
John McCutchan
7ee0458222 Merge pull request #2376 from johnmccutchan/roll_dart_forward
Roll Dart forward to b9b0649b9cfe11c8dc62edfd5606c4790c793d3a
2016-02-10 09:14:41 -08:00
John McCutchan
691309a649 Roll Dart forward to b9b0649b9cfe11c8dc62edfd5606c4790c793d3a 2016-02-10 09:04:00 -08:00
James Robinson
760b864368 Enable threadsafe static initialization (aka 'magic statics') 2016-02-09 18:10:19 -08:00
Chinmay Garde
8ac37710f0 Merge pull request #2373 from chinmaygarde/master
Update flag passed in during VM initialization to account for updates in dart-lang/sdk
2016-02-09 14:23:28 -08:00
Chinmay Garde
c7de490b93 Update flag passed in during VM initialization to account for updates in dart-lang/sdk 2016-02-09 14:17:29 -08:00
Chinmay Garde
0c53c6bd83 Merge pull request #2372 from chinmaygarde/master
Update Dart revision to include fixes to precompilation in gen_snapshot
2016-02-09 14:12:27 -08:00
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
John McCutchan
334a01f814 Merge pull request #2371 from johnmccutchan/obs_integration_test
Add heart beat integration tests for Observatory in sky_shell
2016-02-09 13:12:36 -08:00
John McCutchan
31302a2d48 Remove travis/test_observatory.sh helper script 2016-02-09 13:08:43 -08:00
John McCutchan
4511e0c937 Add heart beat integration tests for Observatory in sky_shell 2016-02-09 12:40:28 -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