4097 Commits

Author SHA1 Message Date
Adam Barth
9760cfcf7d Add dartdoc to RenderBlock and RenderFlex 2015-09-09 10:34:32 -07:00
Misha Dynin
1ea0b74b44 Merge pull request #1089 from mishadynin/input_value
Allow setting of initial value in the Input component.
2015-09-08 17:46:19 -07:00
Misha Dynin
0d45941416 Allow setting of initial value in the Input component. 2015-09-08 17:35:08 -07:00
Ian Fischer
8ad13c6d2a Merge pull request #1091 from iansf/T1090
Fix specifying dart files in subdirectories.  Fixes #1090.
2015-09-08 17:17:11 -07:00
Ian Fischer
5f65de1483 Make it possible to start a sky app in an arbitrary relative path, rather than requiring the dart file to be in the current directory. 2015-09-08 17:13:41 -07:00
Adam Barth
f1e0d612f9 Merge pull request #1079 from abarth/skyx_crash
The skyx tool shouldn't crash if an icon variant doesn't exist
2015-09-08 17:04:45 -07:00
Ian Hickson
6e58812e45 Merge pull request #1088 from Hixie/analyzer-error
Fix signature of toStringName()
2015-09-08 14:07:05 -07:00
Hixie
3971cb55f5 Fix signature of toStringName()
...which I accidentally changed in a previous commit.
2015-09-08 14:06:18 -07:00
Adam Barth
92ce657c62 Merge pull request #1087 from abarth/sketch_serialize
Add a sketchy function for serializing SkPictures
2015-09-08 14:03:58 -07:00
Ian Hickson
f49b1710f6 Merge pull request #1083 from Hixie/card-bug
Avoid infinite loop in syncChildren().
2015-09-08 14:03:51 -07:00
Adam Barth
bdc2cdc1e8 Add a sketchy function for serializing SkPictures
We'll need to make this fancier as the compositor gets smarter.
2015-09-08 14:02:13 -07:00
Adam Barth
a70b05dc4d Merge pull request #1086 from abarth/roll_skia
Roll Skia
2015-09-08 13:34:31 -07:00
Adam Barth
c3845a76dc Roll Skia 2015-09-08 13:32:50 -07:00
Adam Barth
0349d441d2 Merge pull request #1085 from abarth/docs_animation2
Add dartdoc for the animation library
2015-09-08 13:29:31 -07:00
Adam Barth
5a3f62b2c5 Add dartdoc for the animation library 2015-09-08 13:22:54 -07:00
Hixie
dec740bc27 Avoid infinite loop in syncChildren().
This was a typo in #1062.

Also, some minor code cleanup and expose (in the app dump) the
_disqualifiedFromEverAppearingAgain boolean for debugging purposes.
2015-09-08 12:16:34 -07:00
Viktor Lidholt
0968152c5c Merge pull request #1082 from vlidholt/master
Adds bindings to Skia for VertexMode and drawVertices
2015-09-08 12:04:28 -07:00
Viktor Lidholt
dc1b773ed1 Cleans up naming and adds documentation to drawVertices bindings 2015-09-08 12:04:03 -07:00
Viktor Lidholt
1d6cd4bc01 Adds bindings to Skia for VertexMode and drawVertices 2015-09-08 11:09:45 -07:00
Adam Barth
1ab7f161d7 Merge pull request #1081 from abarth/rm_base
Remove package:sky/base
2015-09-08 11:00:16 -07:00
Adam Barth
f7095035a1 Remove package:sky/base
These files really belong on other libraries.
2015-09-08 10:59:07 -07:00
Adam Barth
8289caaf97 Merge pull request #1080 from abarth/painting_lib
Introduce painting.dart and move painting code to src/painting
2015-09-08 10:44:01 -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
9ef7ebe79b Merge pull request #1076 from abarth/docs_animation
Introduce package:sky/animation.dart
2015-09-08 09:51: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
Ian Hickson
87e5638153 Merge pull request #1078 from Hixie/sync-removal
Fix breakage caused by sync-across-removal patch.
2015-09-08 09:29:27 -07:00
Hixie
469a584ad6 Fix breakage caused by sync-across-removal patch.
This makes the sync code stop if it would have to rearrange the
RenderObjects. I'll make it handle the cross-RenderObject case, as well
as the insertion-sync case, in subsequent patches.
2015-09-08 09:28:08 -07:00
Adam Barth
339573f082 The skyx tool shouldn't crash if an icon variant doesn't exist
Fixes #1077
2015-09-08 09:25:43 -07:00
Adam Barth
b1ff22654e Merge pull request #1075 from abarth/fold_editing_into_widgets
Fold package:sky/editing/* into package:sky/widgets.dart
2015-09-07 10:40:39 -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
56cfa200a8 Merge pull request #1074 from abarth/docs_render_box
Add dartdoc for RenderBox
2015-09-06 12:37:11 -07:00
Adam Barth
31130e5e43 Add dartdoc for RenderBox 2015-09-06 12:36:47 -07:00
Adam Barth
950c86157e Merge pull request #1073 from abarth/box_docs
Document and bring sanity to BoxConstraints
2015-09-05 12:51:46 -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
Adam Barth
c214d8db4a Merge pull request #1067 from devoncarew/gen_docs
working on generating docs as part of the build
2015-09-04 19:28:33 -07:00
Devon Carew
6f83d5fd3a working on generating docs as part of the build
revert PATH changes

fix typo

some dartdoc changes in files
2015-09-04 19:21:53 -07:00
Adam Barth
ee24e505b9 Merge pull request #1071 from abarth/center_expand
Center and Align should expand by default
2015-09-04 16:21:07 -07:00
Hans Muller
441dd89223 Merge pull request #1070 from HansMuller/scroll-to-drag
Replace Scroll with Drag in names in GestureRecognizer et al

The rationale for this name change is that gesture names should match their input pattern, not their use.
2015-09-04 16:12:06 -07:00
Adam Barth
987e92e92a Center and Align should expand by default
This patch makes Center and Align expand by default, which is usually what you
want. It also adds a ShrinkWrap option to let you shrink wrap in one or both
directions if that's really what you want to do.
2015-09-04 16:11:58 -07:00
Viktor Lidholt
d60244d4ee Merge pull request #1069 from vlidholt/master
Adds bindings for ImageShader to SkShader::CreateBitmapShader
2015-09-04 16:11:31 -07:00
Viktor Lidholt
baabf090f0 Adds bindings for ImageShader to SkShader::CreateBitmapShader 2015-09-04 16:03:14 -07:00
Hans Muller
3eff95eeaa Replace Scroll with Drag in names in GestureRecognizer et al 2015-09-04 16:02:30 -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
Adam Barth
6f9caf9f61 Merge pull request #1065 from abarth/update_links
Update links to READMEs
2015-09-04 14:44:10 -07:00
Hans Muller
f621e01c3b Add Dismissable unit tests 2015-09-04 14:31:03 -07:00
Adam Barth
6996d63414 Update links to READMEs
These needed to be updated because we moved the widgets directory into the src
directory to hide it from dartdoc.
2015-09-04 14:09:07 -07:00
Ian Hickson
79ba8b9fcd Merge pull request #1062 from Hixie/reposition
Handle Widget instances being moved as-is to different parts of the tree.
2015-09-04 13:41:55 -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
Ian Hickson
e1eef8d570 Dart isn't dark. 2015-09-04 13:16:16 -07:00