977 Commits

Author SHA1 Message Date
mpcomplete
c780e0cb13 Merge pull request #991 from mpcomplete/update.service
Introduce an UpdateService for android
2015-09-02 15:44:24 -04:00
Adam Barth
a17c01874d Remove dead code
These files were breaking clean builds.
2015-09-02 12:32:57 -07:00
Matt Perry
d05b9480e6 Introduce an UpdateService for android.
Very simple so far. This schedules an alarm to fire once a day, kicking
off a service that downloads a new app.skyx from a hardcoded URL. The
new skyx replaces the current one.
2015-09-02 15:32:09 -04:00
Hans Muller
63f1627a89 Restore PageableList itemsWrap:true
Makes PageableList with itemsWrap:true work again.

Plumbed the itemsWrap parameter through to HomogenousViewport.

Fixes issue #877.
2015-09-02 10:56:19 -07:00
Adam Barth
5551c6ee35 Merge pull request #1010 from abarth/clean_idls
Remove some unused dart:sky IDLs
2015-09-02 10:54:50 -07:00
Adam Barth
ed655b8973 Merge pull request #1009 from abarth/improve_paint
Improve the Paint API in dart:sky
2015-09-02 10:54:41 -07:00
Adam Barth
b379439e37 Remove some unused dart:sky IDLs
This CL deletes a bunch of unused IDL files and removes some dead code in the
engine.
2015-09-02 00:09:43 -07:00
Adam Barth
f9201ea9a6 Improve the Paint API in dart:sky
Now that we've hoisted Paint into the VM, we can expose these values as normal
properties. After we've updated all the callers, I'll remove the old setters.
2015-09-01 23:28:12 -07:00
Adam Barth
73d29cfd36 Fix typos in dart:sky
We renamed lerpNum to lerpDouble and forgot to update these callers.
2015-09-01 23:21:35 -07:00
Adam Barth
e0d44249cc Fix typo in Travis script 2015-09-01 20:44:39 -07:00
Adam Barth
c828dd8d77 Merge pull request #1004 from abarth/prebuilt_travis
Run unit test on Travis with a prebuilt sky_shell
2015-09-01 20:41:13 -07:00
Adam Barth
8507e8ab40 Run unit test on Travis with a prebuilt sky_shell 2015-09-01 20:39:51 -07:00
Adam Barth
4d46a0e0eb Rev pub package 2015-09-01 20:00:23 -07:00
Adam Barth
7e88cf2402 Rev pub spec 2015-09-01 19:54:33 -07:00
Adam Barth
b04cb30609 Remove a number of unneeded filters from skyanalyzer
The dartanalyzer no longer emits these warnings (or the code has been cleaned
up).
2015-09-01 16:13:44 -07:00
James Robinson
8dcf72f0d1 Only attempt to copy sky_viewer_library symbols on Linux and Android 2015-09-01 15:48:08 -07:00
Ian Hickson
28e097f489 Merge pull request #978 from Hixie/sync-removal
Still try to sync even if a node has been removed from the tree.
2015-09-01 14:08:23 -07:00
Ian Hickson
48a7506491 Merge pull request #992 from Hixie/skyanalyzer
Silence skyanalyzer's complaints about third-party packages.
2015-09-01 14:01:23 -07:00
Ian Fischer
051cf4b5f8 Log a warning when developers are using a dev build of the sky package. 2015-09-01 13:42:00 -07:00
Ian Fischer
c938128873 Merge pull request #990 from iansf/remove_required_arg
Don't require -p for ios_sim commands
2015-09-01 13:39:51 -07:00
Hixie
8f580207f8 Still try to sync even if a node has been removed from the tree.
This should handle a case like a stateful component inside a Container
inside another Container having one of those Containers removed while
still keeping that stateful component around with its state.

The problem of how to handle the Container then being reinserted is a
separate issue not handled by this patch.
2015-09-01 13:32:28 -07:00
Hixie
d96b1e84ca Silence skyanalyzer's complaints about third-party packages. 2015-09-01 13:22:44 -07:00
Adam Barth
e70448c179 Merge pull request #979 from abarth/render_object_docs
Add dartdocs for RenderObject
2015-09-01 12:25:04 -07:00
Adam Barth
dc671f272a Add dartdocs for RenderObject
... and other code in object.dart.
2015-09-01 12:24:27 -07:00
Ian Fischer
07c2379338 Don’t require specifying -p in ios_sim commands under normal circumstances. 2015-09-01 11:26:46 -07:00
Ian Fischer
33470ab2e7 Refactor sky_tool install slightly and fix non-local builds. 2015-09-01 10:37:27 -07:00
Ian Fischer
63763ab0e8 Fix missing paren 2015-09-01 10:07:20 -07:00
Etienne Membrives
0b96a64a8a Merge pull request #954 from emembrives/upload_symbols
Upload sky_viewer symbols to Google Storage.
2015-09-01 18:31:02 +02:00
Etienne Membrives
83209d65a5 Upload sky_viewer symbols to Google Storage.
With this change, each time sky_viewer.mojo is uploaded to Google
Storage (both for Linux and Android), debugging symbols are also
uploaded in a symbols/ subdirectory.
2015-09-01 18:07:59 +02:00
Ian Fischer
23958b15e1 Make it possible to download trace files on rooted devices using sky_tool stop_trace 2015-08-31 17:12:09 -07:00
Ian Fischer
2956f669e7 Merge pull request #976 from domokit/iansf-update-readme-install
Update README.md to reflect removal of --install flag.
2015-08-31 16:55:46 -07:00
Ian Fischer
8f96a4efff Update README.md to reflect removal of --install flag. 2015-08-31 16:48:16 -07:00
Hans Muller
3a25de84c6 Merge pull request #974 from HansMuller/dismissable-uses-gestures
Convert Dismissable to use gestures

Convert Dismissable to use the ScrollStart, ScrollUpdate, and ScrollEnd gestures. Support for fling gestures is TBD.

Included a basic unit test that checks that one item can be dismissed with a press-drag-release gesture.

Fixed the scroll gesture recognizer: if the last pointer goes up and candidate recognizers still exist, then reject the gesture.
2015-08-31 16:46:26 -07:00
Hans Muller
7d6119c2de Convert Dismissable to use gestures
Convert Dismissable to use the ScrollStart, ScrollUpdate, and ScrollEnd gestures. Support for fling gestures is TBD.

Included a basic unit test that checks that one item can be dismissed with a press-drag-release gesture.

Fixed the scroll gesture recognizer: if the last pointer goes up and candidate recognizers still exist, then reject the gesture.
2015-08-31 16:44:25 -07:00
Adam Barth
0c15b35045 Merge pull request #972 from abarth/parent_data_madness
Positioned 'remembers' things it shouldn't
2015-08-31 16:41:36 -07:00
Adam Barth
1119f36040 Positioned 'remembers' things it shouldn't
This patch makes ParentDataNode less general purpose and instead teaches Flex
and Stack how to program the parent data for their children. We used to have
this general system because parent data used to carry CSS styling, but we don't
need it anymore.

Fixes #957
2015-08-31 16:41:14 -07:00
Hixie
c01bb264c7 Remove the inner SizeObserver from ScrollableWidgetList.
Adds a HomogeneousViewport class that works like MixedViewport but
handles only children that have all the same height.

Converts ScrollableWidgetList to use that, so that we don't waste a
frame looking at the size of the contents each time we change size.

This allows a number of seemingly pointless double-pumps in the tests
to be removed.

Other changes that were necessary to support the above:

 - RenderBlock now supports minExtent (think 'min-height' in CSS)
 - RenderBlock now supports itemExtent (forces the height of each
   child to be the same, so that the itemExtent passed to the fixed-
   height scrollables are all authoritative instead of a source of
   bugs when they don't match)
 - RenderBlockViewport now supports horizontal scrolling
 - improved the style of the isInfinite assert in box.dart
 - fixed the position of a comment in mixed_viewport.dart
 - added a test
 - made the logic for how many items to show be more precise
2015-08-31 15:57:45 -07:00
Adam Barth
d57e9ca53c Make these constants private
These constants aren't useful outside these files and are cause noise in the
dartdoc.
2015-08-31 15:53:33 -07:00
Andrew Wilson
87f6405e34 Merge pull request #970 from apwilson/persist
Persist immersiveness.
2015-08-31 14:32:07 -07:00
Andrew Wilson
38be8f6e8d Persist immersiveness. 2015-08-31 14:31:25 -07:00
Ian Fischer
ede7233afc Merge pull request #969 from iansf/extract_install
Extract install from StartSky
2015-08-31 14:30:29 -07:00
Ian Fischer
c1315e5bb2 Extract install into its own sky_tool command. 2015-08-31 14:20:18 -07:00
Adam Barth
696372a293 Basic widgets should validate their parameters with asserts
Also fixes #937.
2015-08-31 13:34:30 -07:00
Adam Barth
187146e841 Merge pull request #961 from abarth/transform_origin
Add an origin parameter to transforms
2015-08-31 13:22:01 -07:00
Adam Barth
aa778b3190 Add an origin parameter to transforms
This parameter makes it easier to do math when you don't want to center your
tranform at (0, 0).
2015-08-31 13:21:26 -07:00
Chinmay Garde
f5a896e3bc Merge pull request #967 from chinmaygarde/master
Implement platform VSyncProvider for iOS
2015-08-31 12:43:31 -07:00
Chinmay Garde
d726d4f822 Implement platform VSyncProvider for iOS 2015-08-31 12:30:11 -07:00
Ian Fischer
12d82fdef2 Merge pull request #960 from iansf/fix_ios_deploy_crashes
Avoid crashing when an iOS device isn't connected
2015-08-31 10:43:23 -07:00
Ian Fischer
1dfcbbd76d Avoid crashing when an iOS device isn’t connected. 2015-08-31 10:41:52 -07:00
Ian Hickson
c36ddfe008 Merge pull request #897 from Hixie/sync-children
Provide a fast path for MultiChildRenderObjectWrapper.syncRenderObject() when the children lists are identical.
2015-08-31 10:36:28 -07:00