Commit Graph

18842 Commits

Author SHA1 Message Date
Hixie
0a0a92eb45 Port stocks to fn3 and introduce an App component. 2015-09-25 17:52:33 -07:00
James Robinson
f7e20f4a46 Check that the platform is linux before downloading linux-x64 binaries 2015-09-25 17:42:28 -07:00
James Robinson
2fe4484d9c Merge pull request #57 from jamesr/fix_build
Fix sky_tools build command to look for package-root in global args
2015-09-25 17:39:06 -07:00
Adam Barth
93f1ba5dac Add Mimic to fn3 2015-09-25 16:43:22 -07:00
James Robinson
9e2a83cfa3 Fix sky_tools build command to look for package-root in global args 2015-09-25 16:25:48 -07:00
Ian Fischer
fa59233746 Add stop command and supporting Android support. 2015-09-25 16:16:19 -07:00
James Robinson
ed2877c093 Add --checked flag to mojo_run that runs sky_viewer in checked mode
Also refactors the command line assembling to make a bit more sense.

Fixes #53
2015-09-25 16:14:12 -07:00
James Robinson
9996d4255e Configure ArtifactStore for all commands and make 'package-root' universal
This makes the 'package-root' option universal for sky_tools and configures the
ArtifactStore with it statically at startup. The actual sky_engine revision
is computed on demand.
2015-09-25 15:56:20 -07:00
Adam Barth
24171915aa Fix indent 2015-09-25 15:43:03 -07:00
Adam Barth
e1b8f0b659 Add UniqueComponent helper for creating components with unique states 2015-09-25 15:36:25 -07:00
Adam Barth
ff5676952e Add an onScroll callback to Scrollable 2015-09-25 15:08:22 -07:00
James Robinson
be0b3e61be Merge pull request #52 from nlacasse/release-debug
run_mojo: Add --mojo-release and --mojo-debug flags.
2015-09-25 15:07:04 -07:00
Nicolas Lacasse
f600beeb70 run_mojo: Add --mojo-release and --mojo-debug flags.
The flags control which build of mojo to run (Debug or Release).
Default is Release.
2015-09-25 14:51:03 -07:00
Hixie
a765507c9d fn3: Port Card Collection demo
Also:

- Make Dismissable report when it starts squashing, since otherwise we
  don't invalidate the list early enough and it gets mad that it wasn't
  told one of its children had changed size.

- Have Dismissable check that it gets removed after it's dismissed, to
  avoid having lots of redundant widgets around.

- Start tracking the height of each child of a MixedViewport, so that we
  don't accumulate floating point errors when a child jiggles up and down.

- Have _childOffsets reuse its storage space rather than newing up a new
  copy each time we reset the cache.

- Avoid double-updating child sizes when handling mixed viewport invalidations.
2015-09-25 14:44:54 -07:00
Adam Barth
af8019bf69 Merge pull request #1355 from abarth/current_state
Add a currentWidget and currentState accessor to GlobalKeys
2015-09-25 14:22:39 -07:00
Adam Barth
80997a68d6 Add a currentWidget and currentState accessor to GlobalKeys 2015-09-25 14:22:22 -07:00
Adam Barth
6c3b20be8e Merge pull request #1354 from abarth/fn3_ensure_widgets_is_visible
Add ensureWidgetIsVisible to fn3
2015-09-25 14:21:27 -07:00
Adam Barth
3387bbaa37 Add ensureWidgetIsVisible to fn3 2015-09-25 14:21:12 -07:00
Viktor Lidholt
55dc7108a5 Merge pull request #1351 from vlidholt/master
Renames pointQuickDist in GameMath
2015-09-25 13:50:48 -07:00
Hans Muller
91cb07f649 Merge pull request #1353 from HansMuller/bump_newton_version
Bumped Newton version to 0.1.4
2015-09-25 13:45:44 -07:00
Adam Barth
d717be946a Add findRenderObject to BuildContext 2015-09-25 13:37:14 -07:00
Hans Muller
b64989e96f Bumped Newton version to 0.1.4 2015-09-25 13:32:37 -07:00
Devon Carew
c35c06e6f2 rename sky ==> flutter in the starting app template 2015-09-25 13:28:21 -07:00
Viktor Lidholt
0cb811ef06 Renames pointQuickDist in GameMath 2015-09-25 13:12:01 -07:00
Hans Muller
09099a1703 Added FrictionSimulation.through() constructor 2015-09-25 13:11:12 -07:00
James Robinson
5c9413d0f6 Merge pull request #49 from jamesr/cached_file_location
Make cached artifact location mirror local builds more closely
2015-09-25 12:28:39 -07:00
Adam Barth
ee45832818 Rev pub package 2015-09-25 12:04:25 -07:00
Adam Barth
fd18f76b20 Merge pull request #1346 from abarth/fn3_sync_tests
Port some more tests to fn3
2015-09-25 11:58:12 -07:00
Adam Barth
d19e86f0a9 Merge d8ea1b194b446f555402770acd8ac6b217becb7c to fn3 2015-09-25 11:57:30 -07:00
Adam Barth
4ad83fa059 Port some more tests to fn3 2015-09-25 11:27:48 -07:00
James Robinson
b7fc56eb31 Make cached artifact location mirror local builds more closely 2015-09-25 11:27:07 -07:00
Andrew Wilson
75061728e6 Merge pull request #1342 from apwilson/fling
Add fling to Scrollable.
2015-09-25 11:18:53 -07:00
Andrew Wilson
d771927219 Add fling to Scrollable. 2015-09-25 11:15:24 -07:00
James Robinson
36c03cb40e Fix sky_tools cache clear command 2015-09-25 11:13:15 -07:00
Adam Barth
96b0801c7b Merge pull request #1345 from abarth/fn3_more_tests
Port some more tests to fn3
2015-09-25 10:56:53 -07:00
Adam Barth
7d02880cf4 Port some more tests to fn3 2015-09-25 10:51:56 -07:00
Adam Barth
0768ea973e Merge pull request #1341 from abarth/fn3_editing
Port Input and EditableText to fn3
2015-09-25 10:51:31 -07:00
Hixie
5f9cb4aa38 Port ScrollableMixedWidgetListState to fn3. 2015-09-25 10:27:43 -07:00
Adam Barth
481b764f67 Port Input and EditableText to fn3 2015-09-25 10:08:29 -07:00
Adam Barth
fe77808d08 Copy Input and EditableText into fn3 2015-09-25 10:06:59 -07:00
Adam Barth
06ffa75919 Convert some tests to fn3 2015-09-25 09:29:04 -07:00
Adam Barth
b5893f9e13 Fix typos in fn3 2015-09-25 08:42:39 -07:00
Hixie
a3a238238a fn3: GlobalKey registration progress
Remove the "update" notification logic.
Hook the register/unregister functions. We're still not notifying.
2015-09-24 16:06:00 -07:00
Ian Fischer
3638f9380d Merge pull request #46 from iansf/android_start
Refactor all the commands to be Commands from the Args package.  Also use CommandRunner for the top-level command.
2015-09-24 16:01:19 -07:00
Hixie
c3b3b71bed Rename ComponentState and use initState().
ComponentState becomes State, for brevity.
Instead of overriding its constructor, override initState().
This makes writing States much simpler.
2015-09-24 16:00:51 -07:00
Ian Fischer
cae053c353 Refactor all the commands to be Commands from the Args package. Also use CommandRunner for the top-level command. 2015-09-24 15:51:23 -07:00
Adam Barth
7dd26a7a5a Port some more examples to fn3 2015-09-24 15:43:40 -07:00
Adam Barth
9edd65502b Merge pull request #1330 from abarth/date_picker_example
Port Date Picker example to fn3
2015-09-24 14:52:30 -07:00
Hixie
b948967855 fn3: MixedViewport
Also:
- Expose the slot of each Element.
- Minor improvements to HomogeneousViewport.
- Replace TestComponent with FlipComponent in tests.
2015-09-24 14:52:13 -07:00
Adam Barth
cefbfa3bea Port Date Picker example to fn3 2015-09-24 14:46:29 -07:00