Commit Graph

214 Commits

Author SHA1 Message Date
Adam Barth c94726ec32 Remove EventDisposition
All the use cases for EventDisposition are now addressed by the gesture
detection system.
2015-09-21 16:45:09 -07:00
Hixie 16f28c7939 Introduce a showPopupMenu() function
Instead of having to manage the popup menu from your app's build
function, you now just call showPopupMenu() with the menu's position and
it takes care of everything for you.

This solves the problem that the popup menu was trying to mutate the
state of the navigator from within its own initState() function.

Also, remove the "route" argument to RouteBase.build() since it equals
"this" by definition...

Also, remove ModalOverlay, and instead put that logic in the navigator.
2015-09-18 16:57:15 -07:00
Viktor Lidholt 655e91a28b Improvements to EffectLine in sprites 2015-09-18 15:58:16 -07:00
Adam Barth 2b57997836 Merge pull request #1234 from abarth/game_imports
SkySprites should import the public libraries
2015-09-18 12:41:11 -07:00
Adam Barth 3dbef8ac26 SkySprites should import the public libraries
Importing the public libraries caused a name conflict with dart:sky because we
assume people will import dart:sky into a namespace, so I've also changed
skysprites to import dart:sky into a namespace.
2015-09-18 11:19:39 -07:00
Hixie 8dcec9bf93 Require that you pass transitions a performance.
This fixes #1103.
2015-09-18 10:30:47 -07:00
Adam Barth 9cef3e61e9 Move theme into material.dart
Also, introduce Colors and Typography to hold the material colors and the
typography declarations. Previously we expected clients of these libraries to
import them into a namespace, but that doesn't play nice with re-exporting them
from material.dart.
2015-09-18 09:57:21 -07:00
Viktor Lidholt 263d06c533 Adds TexturedLine and animated EffectLine to sprites 2015-09-17 13:27:43 -07:00
Adam Barth 0cc094288e Move mojo frontend into services.dart
What's important about this code is that it's presenting services outside the
VM, not the particular technology used to present the services.
2015-09-16 19:13:50 -07:00
Collin Jackson aa6251a276 Update scale API and add example 2015-09-16 17:20:23 -07:00
Adam Barth db9c46213b Remove MimicOverlay
This widget has no client.
2015-09-16 09:27:50 -07:00
Adam Barth 8a652df63e Add dartdoc for proxy_box.dart and other code in rendering
Almost done adding dartdoc to the rendering layer.
2015-09-14 10:35:31 -07:00
Adam Barth b0719a47b6 Remove use of some deprecated functions on sky.Paint
We now expose idiomatic setters for these properties. Eventually we'll remove
the setter functions.
2015-09-13 17:24:15 -07:00
Adam Barth 305fb7e10f Add some more docs to the rendering library 2015-09-11 15:09:38 -07:00
Matt Perry 2994380377 Compare versions before updating an app bundle.
The version and update URL are stored in the app's manifest (sky.yaml).
2015-09-10 14:17:58 -04:00
Adam Barth c78b7d05af Remove redundant enum declarations from text_style.dart
These are now declared in dart:sky as part of ParagraphBuilder.
2015-09-10 08:03:48 -07:00
Scott Graham 7bc355c6e3 mine_digger: Fix not being able to de-flag on Android 2015-09-09 14:53:35 -07:00
Adam Barth ad0d74a41e Introduce painting.dart and move painting code to src/painting 2015-09-08 10:36:14 -07:00
Adam Barth ef880695d5 Introduce package:sky/animation.dart
Move the animation libraries into src/animation and change importers to use
package:sky/animation.dart. Also, move scheduler.dart into the animation
library so that the animation library can be self-contained.
2015-09-08 09:44:01 -07:00
Adam Barth 169e1d6cff Fold package:sky/editing/* into package:sky/widgets.dart
The editing directory just defined two widgets. We might as well fold them into
the main widgets library.
2015-09-07 10:07:41 -07:00
Adam Barth 79c280a703 Document and bring sanity to BoxConstraints
Turns out many of the functions on BoxConstraints weren't used or had callers
that could easily be updated to other functions. I've added dartdoc to all the
public functions as well as renamed some functions that had similar names but
did different things.
2015-09-05 11:33:02 -07:00
Hans Muller 12692debe7 Merge pull request #1066 from HansMuller/more-dismissable-unit-tests
Add Dismissable unit tests

Add coverage for the DismissDirection paramter.
2015-09-04 14:45:46 -07:00
Hans Muller f621e01c3b Add Dismissable unit tests 2015-09-04 14:31:03 -07:00
Chinmay Garde b522f93f07 Merge pull request #1063 from chinmaygarde/master
Setup mac target for Fitness app
2015-09-04 13:34:14 -07:00
Chinmay Garde b3b8833219 Setup mac target for Fitness app 2015-09-04 13:29:47 -07:00