1103 Commits

Author SHA1 Message Date
mpcomplete
ea9851a1a0 Merge pull request #1123 from mpcomplete/build.fix
Fix the build
2015-09-10 17:21:54 -04:00
Matt Perry
ec47806621 rm.jni 2015-09-10 17:19:13 -04:00
Adam Barth
0112dcc63e Fold fling gesture into onDragEnd
That way the fling engages in the same direction as the scroll. For example, if
you have a horizontal scroll nested inside a vertical scroll, the fling will
take place in the same direction as the scroll.
2015-09-10 12:38:11 -07:00
Adam Barth
800126cc52 Merge pull request #1120 from abarth/fewer_handlers
Don't register gesture detectors when Scrollable can't scroll
2015-09-10 12:10:09 -07:00
Adam Barth
e87ae65c60 Don't register gesture detectors when Scrollable can't scroll
Previously, if you used a number of nested Blocks, they'd each try to register
drag gesture detectors even though they can't actually scroll. This CL teaches
Scrollable to watch for drag gestures only when it can actually scroll.
2015-09-10 12:03:35 -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
5881fc1486 Merge pull request #1118 from abarth/rm_dart_pub_cache
Remove dart-pub-cache
2015-09-10 11:01:09 -07:00
Scott Graham
6ea6ed9224 Merge pull request #1108 from sgraham/android-home
Look in $ANDROID_HOME/platform-tools/adb too
2015-09-10 11:00:51 -07:00
Scott Graham
405eda02f8 Look in ANDROID_HOME/platform-tools/adb for adb too 2015-09-10 09:55:21 -07:00
Adam Barth
de0a445d2f Remove dart-pub-cache
There's no reason for us to have our own dart-pub-cache in the source tree.  We
can just use the default one on the system.
2015-09-10 08:49:56 -07: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
Adam Barth
012cbc56b9 Rev pub package 2015-09-09 17:24:06 -07:00
Adam Barth
fac747d456 Rev pub versions 2015-09-09 17:20:39 -07:00
Adam Barth
d3124e8010 Merge pull request #1115 from abarth/no_more_disqualify
Remove "disqualified" concept
2015-09-09 17:18:29 -07:00
Adam Barth
aba0593069 Remove "disqualified" concept
Allows a non-initialised stateful component to be used as a source of
settings more than once. Instead of asserting that it was only being
used once, we assert that once you are stateful you don't get used as a
bag of settings, which is the real thing we were trying to avoid.

A lot of code ends up using StatefulComponents as a source multiple
times in a row, and before this would fail.

Patch by Ian Hickson
2015-09-09 17:17:03 -07:00
Chinmay Garde
1f9818fa6f Merge pull request #1112 from chinmaygarde/master
Allow images rasterized by the picture rasterizer to be highlighted for debugging purposes
2015-09-09 17:10:49 -07:00
Chinmay Garde
e0fc9cd69f Rename compositor_tools -> checkerboard 2015-09-09 17:10:08 -07:00
Hans Muller
d18c0f7758 Initial support for the fling gesture detector
Added FlingGestureRecognizer and exposed it in the GestureDetector class. FlingGestureRecognizer is based on the Android/Chromium VelocityTracker class which computes a velocity vector for for a list of X,Y,Time tuples.

The Scrollable classes now use the FlingGestureRecognizer. Dismissable and Drawer still need to be updated
2015-09-09 16:49:31 -07:00
Chinmay Garde
5607ac31e7 Allow images rasterized by the picture rasterizer to be highlighted for debugging purposes 2015-09-09 16:15:42 -07:00
Adam Barth
3c2d566390 Fix build with clang plugin 2015-09-09 15:11:03 -07:00
Chinmay Garde
cade1a64c8 Merge pull request #1105 from chinmaygarde/master
PictureRasterizer for caches pictures as images
2015-09-09 14:54:53 -07:00
Chinmay Garde
d0009550c0 PictureRasterizer for caches pictures as images 2015-09-09 14:52:58 -07:00
Adam Barth
e0a2f16514 Rev pub package 2015-09-09 14:50:27 -07:00
Adam Barth
de66d84e63 Rev pub package 2015-09-09 14:47:35 -07:00
Ian Fischer
185aeb67af Merge pull request #1106 from iansf/sky_tool_log_tag
Only log the tag and the message from Android, so logs look like “ANDROID: I/sky     : Hello from Sky!”.
2015-09-09 14:25:20 -07:00
Ian Fischer
62e6c8a175 Only log the tag and the message from Android, so logs look like “ANDROID: I/sky : Hello from Sky!”. 2015-09-09 14:22:48 -07:00
Adam Barth
af2068123e Merge pull request #1102 from abarth/mv_getting_started
Move Getting Started and Tutorial to GitHub pages
2015-09-09 14:12:51 -07:00
Adam Barth
e5371d24db Move Getting Started and Tutorial to GitHub pages
Along with some other docs.
2015-09-09 13:52:03 -07:00
Ian Fischer
4afe359f47 Change warning to info when there are no running simulators. 2015-09-09 13:44:13 -07:00
Adam Barth
c3f04f3f2f Merge pull request #1093 from abarth/block_docs
Add dartdoc to RenderBlock and RenderFlex
2015-09-09 10:35:26 -07:00
Adam Barth
9760cfcf7d Add dartdoc to RenderBlock and RenderFlex 2015-09-09 10:34:32 -07:00
Chinmay Garde
153a800578 Update SketchySerializeLayerTree to account for API updates.
Usually disabled via the `SERIALIZE_LAYER_TREE` macro.
2015-09-09 10:30:03 -07:00
Adam Barth
48c0505587 Fix build 2015-09-09 10:21:34 -07:00
Chinmay Garde
b44a86c08a PictureLayers cache the contents of their pictures if the pictures
dont mutate from frame to frame
2015-09-09 09:54:30 -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
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
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
f7095035a1 Remove package:sky/base
These files really belong on other libraries.
2015-09-08 10:59:07 -07:00