20087 Commits

Author SHA1 Message Date
Jim Beveridge
6549dabbf9 Fixed adb version checking per code review 2015-08-04 10:42:19 -07:00
Jim Beveridge
d7ecd5a5b6 Make sky_tool much more user-friendly.
B=Fixes #187
2015-08-04 10:42:19 -07:00
Eric Seidel
fed00af7a2 Roll SkyDemo.apk version in preparation for release demo_apk_22 2015-08-04 10:38:27 -07:00
Viktor Lidholt
01d26fe7ae Merge pull request #443 from vlidholt/master
First pass on sprite 3D node
2015-08-04 10:31:57 -07:00
Viktor Lidholt
9274ddc178 First pass on sprite 3D node (does not yet support perspective projections). 2015-08-04 10:29:58 -07:00
Viktor Lidholt
15d169b139 Merge pull request #442 from vlidholt/master
Fixes path in SerializePicture call
2015-08-04 10:24:57 -07:00
Viktor Lidholt
8f4b77fbe1 Fixes path in SerializePicture call 2015-08-04 10:21:19 -07:00
Viktor Lidholt
3e6ace0420 Merge pull request #441 from vlidholt/master
Optimizes drawing performance in sprites
2015-08-04 10:19:43 -07:00
Viktor Lidholt
042bbdbae5 Optimizes texture drawing by removing a canvas.translate call 2015-08-04 10:16:06 -07:00
Viktor Lidholt
354b94596c Disables anti alias for sprite drawing 2015-08-04 10:14:49 -07:00
Adam Barth
8de26370b4 Merge pull request #440 from abarth/make_skia_go_fast
Enable GrLayerHoister optimizations in Skia
2015-08-04 09:04:15 -07:00
Adam Barth
c7f9c68a87 Enable GrLayerHoister optimizations in Skia
Turns out we weren't passing kComputeSaveLayerInfo_RecordFlag, which meant we
weren't computing the information necessary for the GrLayerHoister in Skia to
do its work.

This CL makes demo_launcher scrolling 3x faster on a Nexus 5.
2015-08-04 09:01:08 -07:00
James Robinson
76e69eb2e9 Merge pull request #436 from jamesr/event_disposition
Teach event system about disposition and make 'consumed' disposition …
2015-08-03 17:54:55 -07:00
Viktor Lidholt
f9626a22d6 Merge pull request #439 from vlidholt/master
Refactors the sprite matrix handling to do most calculations in Dart
2015-08-03 17:33:54 -07:00
James Robinson
8a361dde58 Teach event system about disposition and make 'consumed' disposition terminal
This introduces the notion of event disposition and allows event
targets (widgets and render objects) to consume events that should not
be processed further. This is needed by the Switch component in the
Drawer in the stocks example. The Switch is embedded in a DrawerItem.
The Switch handles the gesture tap event to toggle its state and should
handle pointer events to allow swiping and draw its own radial
reaction. The DrawerItem also handles gesture taps to allow toggling
the switch value when tapping anywhere on the drawer and to draw its
own ink splash. When tapping on the switch, both the switch's render
object and the DrawerItem's listener are in the event dispatch path.
The Switch needs to signal in some fashion that it consumed the event
so the DrawerItem does not also try to toggle the switch's state.
2015-08-03 17:31:30 -07:00
Viktor Lidholt
1b4f1a6d96 Refactors the sprite matrix handling to do most calculations in Dart, minimizes the number of calls down to Skia 2015-08-03 17:31:13 -07:00
Adam Barth
7a220802a1 Remove unused import to make analyzer happy 2015-08-03 16:42:21 -07:00
Viktor Lidholt
f1cc0efdc1 Merge pull request #437 from vlidholt/master
Refactors matrix handling in sprites
2015-08-03 16:10:20 -07:00
Viktor Lidholt
0aea22f7dc Refactors matrix handling in sprites 2015-08-03 16:04:27 -07:00
Adam Barth
54f29d86d2 Rev Sky package 2015-08-03 15:57:21 -07:00
Adam Barth
8f76a9ec85 Fix build
This file was deleted.
2015-08-03 15:52:07 -07:00
Ian Fischer
3a8351e48d Merge pull request #435 from iansf/bugfix_ios_refresh
Avoid crashing when building an app without an app.skyx file in DEBUG mode.
2015-08-03 15:45:41 -07:00
Ian Fischer
a84528c10d Avoid crashing when building an app without an
app.skyx file in DEBUG mode.
2015-08-03 15:43:36 -07:00
mpcomplete
830357ee74 Merge pull request #434 from mpcomplete/card.test
Fix failing test card_collection.dart
2015-08-03 18:22:03 -04:00
Matt Perry
36e6ad344c Fix failing test card_collection.dart. 2015-08-03 18:14:51 -04:00
Adam Barth
e0a11e8d1b Merge pull request #433 from abarth/widgets_dart
Add a widgets.dart uber library
2015-08-03 15:14:08 -07:00
Adam Barth
78379cf4aa Add a widgets.dart uber library
Now you can import 'package:sky/widgets.dart' to get all the widgets.
2015-08-03 15:09:49 -07:00
mpcomplete
bf482952b9 Merge pull request #431 from mpcomplete/renames
Rename some animation classes.
2015-08-03 18:07:13 -04:00
Matt Perry
8d2aa7994f Rename some animation classes.
* Intentions => Behaviors
* SlideIn => SlideTransition
* FadeIn => FadeTransition
* removed unused AnimatedContainer intentions
2015-08-03 17:30:34 -04:00
mpcomplete
ffc33bbd68 Merge pull request #427 from mpcomplete/dismissable
Use transitions for Dismissable
2015-08-03 17:18:06 -04:00
Adam Barth
a9bf204c11 Merge pull request #430 from abarth/sk_image
Use SkImage instead of SkBitmap
2015-08-03 14:17:08 -07:00
Adam Barth
cf193ccb9b Merge pull request #428 from abarth/stocks_visuals
Fix visual bugs in Stocks
2015-08-03 14:15:05 -07:00
Adam Barth
c4fd79b512 Use SkImage instead of SkBitmap
Apparently SkImage is the new hotness.
2015-08-03 14:12:44 -07:00
Matt Perry
d3dbc72145 Use transitions for Dismissable.
Simplifies the code a bit.
2015-08-03 16:56:36 -04:00
Adam Barth
ac9bf03564 Merge pull request #429 from abarth/italics
Add support for FontStyle.italics
2015-08-03 13:52:27 -07:00
Adam Barth
c8f99a60dc Add support for FontStyle.italics 2015-08-03 13:50:46 -07:00
Adam Barth
4e9f2d6dde Fix visual bugs in Stocks
- Center the labels on the tabs
 - Make the drawer's mask visible
2015-08-03 12:43:25 -07:00
Ian Fischer
e7d1dc73eb Merge pull request #426 from iansf/ios_refresh
Allow iOS apps to restart by copying the app.skyx to the Documents directory on the device.
2015-08-03 11:36:56 -07:00
Ian Fischer
057798813d Allow iOS apps to restart by copying the app.skyx to the Documents
directory on the device.

This work is to support a workflow where developers testing on an iOS
device will automatically see their app updates as they change their Sky
code. Currently this works by using the ios-deploy tool:
$ ios-deploy --bundle_id 'org.domokit.sky.game' --upload out/ios_Debug/game_app.app/app.skyx --to Documents/app.skyx
Upcoming commits will incorporate this into skytool.
2015-08-03 11:33:28 -07:00
Adam Barth
215ffde9e7 Update Sky package deps 2015-08-03 11:12:09 -07:00
Adam Barth
bb1ade9e1a Rev pub packages 2015-08-03 10:54:54 -07:00
Adam Barth
dd0b5a500c Merge pull request #425 from abarth/skyanalyzer
Fix skyanalyzer
2015-08-03 10:37:41 -07:00
Adam Barth
fc1c68217c Merge pull request #424 from abarth/scrollable_block_cannot_overscroll
ScrollableBlock should be able to overscroll
2015-08-03 10:37:35 -07:00
Adam Barth
6942e9557e Fix skyanalyzer
Our supressions for the generated mojom.dart files weren't working after we
deleted the mojom package. This CL updates the filters to catch mojom.dart
files again.
2015-08-03 10:00:52 -07:00
Adam Barth
cf293bba1b ScrollableBlock should be able to overscroll
When a ScrollableBlock can scroll, we want to be able to drag into the
overscroll region. Previously we could fling into the overscroll region, but we
couldn't actually drag there.
2015-08-03 09:57:38 -07:00
Adam Barth
264e00c743 Merge pull request #422 from abarth/rm_sky_init
Remove sky:init
2015-08-01 21:30:22 -07:00
Adam Barth
a6017e214d Remove sky:init
Now that we don't have a magicaly mojom package, we don't need sky:init.
2015-08-01 19:02:54 -07:00
Adam Barth
7615f23992 Remove unused imports to make the analyzer happy 2015-08-01 18:58:13 -07:00
Adam Barth
3eb424fa37 Add documentation about layout models 2015-08-01 18:56:54 -07:00
Adam Barth
6ea7788ac5 Add some documentation for the basic widgets 2015-08-01 16:35:37 -07:00