Adam Barth
f140ec7aff
Rename syncFields to syncConstructorArguments
2015-08-21 17:21:42 -07:00
Adam Barth
09dc726985
Merge pull request #763 from abarth/scroll_gravity
...
Cleanup how we manage scrollOffset in Scrollable
2015-08-21 17:06:13 -07:00
Adam Barth
c763472aac
Cleanup how we manage scrollOffset in Scrollable
...
- Introduce _setScrollOffset as a backend for the animations so that scrollTo
can stop animations.
- Create a single function that stops both kinds of scroll animations.
- Refactor how we update the bounds for bounded scroll behaviors so that we
update the bounds and compute the new scroll offset at the same time.
2015-08-21 17:05:29 -07:00
Hixie
1cdfe25958
Reimplement 'stretch' for flexible items correctly.
...
Fixes #698 to actually work.
Also, adds some debugging aids around Flex.
And a test to check this fix.
2015-08-21 16:47:44 -07:00
Collin Jackson
47921c196f
Merge pull request #747 from collinjackson/fitness_loading
...
Don’t flash a message while fitness data is loading
2015-08-21 16:21:05 -07:00
Adam Barth
67708a47c7
Merge pull request #754 from abarth/print_exception
...
Switch to the other stack trace printer
2015-08-21 14:58:20 -07:00
Adam Barth
aaacd90b8e
Switch to the other stack trace printer
2015-08-21 14:55:46 -07:00
Adam Barth
c0bf822d34
Merge pull request #752 from abarth/scrollable_rename
...
Rename all the scrollable classes
2015-08-21 14:40:50 -07:00
Adam Barth
c354abc7e0
Rename all the scrollable classes
...
Block -> BlockBody
ScrollableBlock -> Block
FixedHeightScrollable -> ScrollableWidgetList
VariableHeightScrollable -> ScrollableMixedWidgetList
BlockViewport -> MixedViewport
2015-08-21 14:39:41 -07:00
James Robinson
ed3ea8cf31
Merge pull request #746 from jamesr/deps_sky
...
Pull Mojo SDK in via deps instead of checked in files
2015-08-21 13:11:54 -07:00
James Robinson
536d1af000
Pull Mojo SDK in via deps instead of checked in files
...
This means that //mojo/public is pulled in by gclient using the hash
specified in the DEPS file from the github.com/domokit/mojo_sdk mirror.
Each mojo_sdk commit corresponds to its originating
github.com/domokit/mojo commit and has the origin commit in the
message. Thus to find the mojo_sdk revision to use for a particular
mojo revision, grep through the commit log in the mojo_sdk repo for the
matching "Cr-Mirrored-Commit:" line.
If you need to back your local checkout to earlier than this commit
after running gclient, do 'rm -rf mojo/public && git reset --hard' to
get the locally checked in versions back. Otherwise you'll get subtree
commits in mojo/public/... and have a bad time.
2015-08-21 13:07:29 -07:00
Adam Barth
a2cef9525c
Add missing file
2015-08-21 12:59:38 -07:00
Adam Barth
ea9602361a
Merge pull request #749 from abarth/rev_dart_sdk
...
Update Dart SDK
2015-08-21 12:52:54 -07:00
Adam Barth
16f59e583a
Merge pull request #748 from abarth/screen_orientation
...
Add SetRequestedOrientation to Activity service
2015-08-21 12:52:15 -07:00
Adam Barth
13355a99b0
Add SetRequestedOrientation to Activity service
...
Fixes #743
2015-08-21 12:49:49 -07:00
Adam Barth
f0803677e7
Update Dart SDK
2015-08-21 12:21:37 -07:00
Collin Jackson
65e6d44e09
Don’t flash a message while fitness data is loading
2015-08-21 11:19:26 -07:00
Adam Barth
5980e865c2
Merge pull request #745 from abarth/circle_border
...
Add the ability to draw borders on circles
2015-08-21 10:51:37 -07:00
Adam Barth
f14976d3e4
Add the ability to draw borders on circles
...
We now support uniform borders on circular box decorations.
Fixes #741
2015-08-21 10:48:28 -07:00
Adam Barth
9c507ba761
Merge pull request #742 from abarth/box_test
...
Migrate RenderBox tests to box_test.dart
2015-08-21 10:21:18 -07:00
Adam Barth
4c50536198
Migrate RenderBox tests to box_test.dart
2015-08-21 10:18:48 -07:00
Adam Barth
8f462fd175
Merge pull request #740 from abarth/migrate_more_tests
...
Migrate sky/tests/layout to sky/unit/test
2015-08-21 10:02:38 -07:00
Adam Barth
643c636f4b
Migrate sky/tests/layout to sky/unit/test
...
Also, I've organized the tests by the render object they're testing.
2015-08-21 10:01:58 -07:00
Ian Fischer
89e9f13af1
Merge pull request #719 from iansf/add_listen_command
...
Add listen command to sky_tool, and related changes.
2015-08-21 09:54:04 -07:00
Ian Fischer
94aa33c71b
Make sky_tool install to ios devices and simulators if available, and add a ‘listen’ command that will listen to filesystem changes in the current directory and update running versions of the app.
...
Also refactors ios_sim.py to be part of sky_tool.
The current skyx file that ‘listen’ generates does not contain material design icons, so icons will be missing.
2015-08-21 09:53:35 -07:00
Adam Barth
f82c55488e
Merge pull request #737 from abarth/migrate_tests
...
Migrate three tests to sky/unit/test
2015-08-21 09:14:06 -07:00
Adam Barth
68dc5655f1
Migrate some tests to sky/unit/test
2015-08-21 09:13:52 -07:00
Adam Barth
d68c9bc32c
Merge pull request #733 from abarth/sky_unit_test
...
Introduce sky/unit/test
2015-08-20 21:25:21 -07:00
Adam Barth
1133c5c0ef
Introduce sky/unit/test
...
This patch adds a new test harness and a first, trivial test to run with the
harness. The new test harness is built on package:test and should run on
Travis. Over time, we'll migrate our existing tests into this harness.
2015-08-20 21:01:13 -07:00
Collin Jackson
309d6469b5
Merge pull request #726 from collinjackson/fix_dialogs
...
Fix #721 Dialogs should appear in place rather than animating in from bottom
2015-08-20 17:25:39 -07:00
Chinmay Garde
74299c072b
Merge pull request #731 from chinmaygarde/master
...
Ensure the actual iOS bundle has been created before attempting to generate an Xcode harness for the same
2015-08-20 17:15:20 -07:00
Chinmay Garde
c0909f20db
Ensure the actual iOS bundle has been created before attempting to generate an Xcode harness for the same
2015-08-20 17:12:20 -07:00
Collin Jackson
c9ee3fc252
Fix #721 Dialogs should appear in place rather than animating in from bottom
2015-08-20 17:04:13 -07:00
Chinmay Garde
b2eef150d8
Merge pull request #728 from chinmaygarde/master
...
Enable launching iOS applications using Xcode for profiling and tracing
2015-08-20 16:55:22 -07:00
Adam Barth
04137441f3
Merge pull request #730 from abarth/ship_sky_snapshot
...
Include sky_snapshot in the binary artifacts
2015-08-20 15:44:35 -07:00
Adam Barth
d96a0ec827
Merge pull request #729 from Hixie/rendering
...
Reorder bootstrapping code in rendering/ for slightly cleaner code.
2015-08-20 15:44:10 -07:00
Adam Barth
b5fe9b4465
Include sky_snapshot in the binary artifacts
...
We'll need sky_snapshot to produce skyx files and eventually APKs.
2015-08-20 15:42:43 -07:00
Hixie
cf41d86394
Reorder bootstrapping code in rendering/ for slightly cleaner code.
2015-08-20 15:31:10 -07:00
Chinmay Garde
25cff7c321
Enable launching iOS applications using Xcode for profiling and tracing
2015-08-20 15:06:43 -07:00
Ian Hickson
4240a0563d
Merge pull request #727 from Hixie/trunk-bustage
...
Fix compile error on trunk.
2015-08-20 15:05:42 -07:00
Hixie
e6ae2f27b7
Fix compile error on trunk.
2015-08-20 15:05:01 -07:00
Ian Hickson
20e515e320
Merge pull request #724 from Hixie/issue-626
...
Rewrite the MultiChildRenderObjectWrapper syncing algorithm.
2015-08-20 14:58:03 -07:00
Hixie
b0a1649e48
Rewrite the MultiChildRenderObjectWrapper syncing algorithm.
...
This also changes the way we insert nodes into a
MultiChildRenderObjectWrapper's renderObject, which fixes issue #626 .
Now, instead of the slot being a renderObject, it's the Widget that
currently uses that renderObject. That way when the Widget changes
which renderObject to use, the siblings of that Widget in the same
child list don't have to be notified of the change.
I tested performance of the new algorithm vs the old algorithm using
the stocks demo at idle and the stocks demo scrolling steadily. The
data suggests the algorithms are roughly equivalent in performance.
2015-08-20 14:56:04 -07:00
Ian Hickson
1f92cf5213
Merge pull request #725 from Hixie/new-test
...
Fix typo in display_list.dart: _insertChild was renamed to insertChild
2015-08-20 14:51:58 -07:00
Hixie
b2520e76c4
Fix typo in display_list.dart: _insertChild was renamed to insertChild
2015-08-20 14:51:27 -07:00
Adam Barth
ae0b417c13
Merge pull request #723 from abarth/rename_built_child
...
Rename Component._built to Component._child
2015-08-20 14:29:54 -07:00
Adam Barth
a9195e313a
Rename Component._built to Component._child
...
Rationalizes this name with walkChildren.
2015-08-20 14:17:08 -07:00
Adam Barth
f2faa74f98
Update TransferMode.dart
2015-08-20 14:13:53 -07:00
Adam Barth
52f777bb65
Merge pull request #722 from abarth/remove_remove_child
...
Remove Widget.removeChild
2015-08-20 14:07:34 -07:00
Adam Barth
61a38f38b7
Remove Widget.removeChild
...
This function just calls remove(). Also, have Widget do the recursive remove
walk by calling walkChildren.
2015-08-20 13:59:02 -07:00