- 27 Jul, 2015 6 commits
-
-
Adam Barth authored
This CL makess big_red_button.py work for the sky, sky_engine, sky_services packages.
-
Adam Barth authored
We need to pull in an updated version of sky_tools to get a version that doesn't try to gzip everything.
-
Adam Barth authored
Fix sky_tool's installing of SkyShell.apk
-
Adam Barth authored
We were walking over to the realdir too quickly, which meant we lost which version of the sky_engine package we were supposed to use.
-
Adam Barth authored
-
Adam Barth authored
-
- 25 Jul, 2015 6 commits
-
-
Hixie authored
Scoped focus, so you can have a dialog with input controls and not lose your focus in the background. This introduces a GlobalKey registry so that you can tell when a key has gone away (so you can unfocus dead dialogs). Also I added an assert that you're not calling setState() during a build. It turns out that doing so means you have a bug, because since you're dirty already (you're building), you won't get rebuilt. The focus code itself is gnarly. It uses a Component and an internal Inherited TagNode to manage the focus state, and does crazy things like updating its state during build to pretend retroactively that it was built with some other state, once someone asks for focus the first time (i.e. the first time it's examined, so you can't tell that it was in a different state before). It does this so that it can autofocus controls which otherwise wouldn't be focused. This moves all the focus management into Navigator and showDialog(), so the complexity is all buried deep and not visible to apps, hopefully. To do something like two tabs that each have an Input widget that needs to be focused when you switch panes, you'd need to have two Focus objects, one in each tab, and you need to set their autofocus to true (maybe that should be the default?).
-
Hixie authored
@abarth doesn't like Futures that explicitly point out they're type-unsafe. :-P
-
Hixie authored
-
Ian Hickson authored
Fix the crash for buttons.
-
Hixie authored
Turns out there was a typo in lerpColor. Fixes #277.
-
Hixie authored
-
- 24 Jul, 2015 18 commits
-
-
Collin Jackson authored
-
Ian Hickson authored
Use the navigator to stack dialogs.
-
Hixie authored
-
Hixie authored
This removes the need to manually include the dialog builder in the main window's build() function. It also removes the need to track if a dialog is visible. Other changes: - I made dialog.dart a bit more readable. - I renamed transitionFinished to fullyOpaque since that's what actually matters. - I made Routes track if they're opaque. Eventually this should probably be more configurable when creating the route. Directions for Future Research: - Use this for focus management somehow. - The popup menu should use something like this. - We should factor the following out into a showDialog() function that returns a future for the dialog's exit result: navigator.push(new DialogRoute(builder: (navigator, route) { ... })); - Maybe navigator.pop() should take a value to return to that Future.
-
Adam Barth authored
Examples as libraries
-
Viktor Lidholt authored
Optimizations for Particle Systems
-
Viktor Lidholt authored
-
Adam Barth authored
Create //sky/packages/workbench
-
Viktor Lidholt authored
-
Jim Simon authored
Converted demo launcher example to library Converted fitness example to library Converted hello world example to library Converted mine digger example to library Converted stocks example to library
-
Viktor Lidholt authored
Conflicts: sky/sdk/example/game/lib/particle_system.dart
-
Viktor Lidholt authored
-
Eric Seidel authored
Use Skia's drawAtlas now that we've rolled to a newer Skia
-
Hans Muller authored
-
Eric Seidel authored
Roll was ff8bbe4e1674ae57f2ea3a2841a37a9c099beac8 This is another step in fixing #138 R=viktork@google.com
-
Collin Jackson authored
-
Adam Barth authored
The workbench package exists to pull in pub packages from both pub.dartlang.org and from the source tree (using dependency overrides). The idea is that workbench will reflect a typical Sky developer's environment so that we can use the same tools as a typical sky developer by running them with the workbench as the cwd.
-
Adam Barth authored
Turns out if we don't have these deps, nothing builds these packages.
-
- 23 Jul, 2015 10 commits
-
-
Adam Barth authored
We now just symlink the lib directory into the packages directory in the output directory.
-
Adam Barth authored
This package contains the mojom.dart files we generate from the sky_engine repository.
-
Adam Barth authored
Move Material Design Icons to their own package
-
Adam Barth authored
After this patch, we use pub to manage versioning and fetching the material design icons.
-
Viktor Lidholt authored
Adds test case for drawAtlas in games
-
Viktor Lidholt authored
-
Ian Hickson authored
Add a dialog to the address book app to test scoped focus.
-
Adam Barth authored
Add a sky_engine package to contain the dart:sky SDK extensions
-
Adam Barth authored
-
Hixie authored
-