3527 Commits

Author SHA1 Message Date
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
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
Collin Jackson
7074c6fa5d Merge pull request #717 from collinjackson/indicator
Add goal weight indicator line to fitness chart
2015-08-20 12:32:50 -07:00
Adam Barth
7dfac2f1ca Merge pull request #718 from abarth/one_stack_trace
Uncaught exceptions get two stack traces
2015-08-20 12:13:44 -07:00
Adam Barth
7f0a28952a Uncaught exceptions get two stack traces
Now we print Dart_GetError only when we don't have a stack trace. Also, improve
the usability of the sky_shell command line tool by defaulting to "packages"
for the package-root and not crashing when we don't have a package-root until
we actually try to load a package. Finally, remove console spam when we fail to
bind the observatory port.

Fixes #689
2015-08-20 12:09:53 -07:00
Hans Muller
a5579f2d78 Merge pull request #716 from HansMuller/drawer-bug
Workaround for Drawer.initState() fails

This is a hack to avoid #715

In theory, the navigator's state should be updated in the event handler that triggers opening the drawer. It's not obvious how to do this, since we only build the Drawer when it's supposed to be visible (and once we're building it's too late).
2015-08-20 11:54:41 -07:00
Collin Jackson
49d7699b5c Add goal weight indicator line to fitness chart 2015-08-20 11:45:31 -07:00
Collin Jackson
46687c8ddd Merge pull request #713 from collinjackson/goalweight
Support for saving goal weight
2015-08-20 11:44:48 -07:00
Hans Muller
2ac2653da8 Workaround for Drawer.initState() fails 2015-08-20 11:25:59 -07:00
Adam Barth
5b7e927bdc Merge pull request #714 from abarth/stack_squish
Stack squishes positioned elements near the edge
2015-08-20 11:25:35 -07:00
Adam Barth
5d6e825519 Merge pull request #712 from abarth/rm_paint_frame
Remove RenderView.paintFrame
2015-08-20 11:25:12 -07:00
Adam Barth
bbdff819f1 Remove RenderView.paintFrame
We now use the repaint system to do all the painting. During initialization, we
set up a root layer that applies the device pixel ratio.

Fixes #706
2015-08-20 11:24:33 -07:00