4155 Commits

Author SHA1 Message Date
Adam Barth
ae42346bb5 Fix build after recent compositor changes 2015-09-11 09:02:20 -07:00
Chinmay Garde
244de91699 Merge pull request #1119 from chinmaygarde/master
Allow compositor options to be modified at runtime
2015-09-10 23:51:33 -07:00
Ian Hickson
a7bbeb70f6 Fix markdown 2015-09-10 18:12:00 -07:00
Ian Hickson
d28a3e33f4 Mention Mac-specific needs for building for Android
TBR @abarth
2015-09-10 18:11:41 -07:00
Chinmay Garde
804f0c7b46 The gr_context and canvas are stored at the frame level instead of the storing the same temporarily in the context 2015-09-10 17:32:42 -07:00
Chinmay Garde
d2bd4cba15 Remove unnecessary include 2015-09-10 17:06:13 -07:00
Chinmay Garde
08da55706c Make the paint context own the rasterizer and options. Also give it the ability to vend frames to render into. 2015-09-10 16:41:54 -07:00
Adam Barth
b091101bdb Merge pull request #1124 from abarth/fix_build
Fix Linux build
2015-09-10 14:29:56 -07:00
Adam Barth
6271dbbbd1 Fix Linux build
We don't have jni on Linux.
2015-09-10 14:28:58 -07:00
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
888b0bfb21 Merge pull request #1121 from abarth/fling_at_drag_end
Fold fling gesture into onDragEnd
2015-09-10 12:46:41 -07: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
mpcomplete
2c7f0bdb9a Merge pull request #1109 from mpcomplete/version.check
Compare versions before updating an app bundle.
2015-09-10 14:19:26 -04: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
Chinmay Garde
ccf1ee8661 Allow compositor options to be modified at runtime 2015-09-10 11:14:19 -07: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
261e4a5471 Merge pull request #1117 from abarth/rm_redundant
Remove redundant enum declarations from text_style.dart
2015-09-10 08:53:36 -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
aecd7e4796 Update README.md 2015-09-09 22:22:58 -07:00
Adam Barth
a0f57f8e01 Merge pull request #1116 from abarth/rev_dart_sdk
Pull in a new version of the Dart SDK
2015-09-09 17:27:35 -07:00
Adam Barth
183cc925ff Pull in a new version of the Dart SDK 2015-09-09 17:26:36 -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
Adam Barth
ee93335e95 Merge pull request #1107 from sgraham/fiddle-mine-digger
mine_digger: Fix not being able to de-flag on Android
2015-09-09 17:10:04 -07:00
Hans Muller
a86ebf047c Merge pull request #1111 from HansMuller/velocity-tracker
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:55:04 -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
Chinmay Garde
79980b7eed Merge pull request #1110 from chinmaygarde/master
Silence benign warnings about surface resizes on Mac
2015-09-09 15:38:22 -07:00
Chinmay Garde
f9eadec614 Silence benign warnings about surface resizes on Mac 2015-09-09 15:25:49 -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
Scott Graham
7bc355c6e3 mine_digger: Fix not being able to de-flag on Android 2015-09-09 14:53:35 -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
35788670f7 Merge pull request #1104 from iansf/T1053
Change warning to info when there are no running simulators.
2015-09-09 13:46:14 -07:00