Adam Barth
7b0856d8b2
Update CONTRIBUTING.md
2015-08-04 12:18:59 -07:00
Adam Barth
43e6d4bcd9
Merge pull request #445 from abarth/rename_widget_dart
...
Rename widgets/widget.dart to widgets/framework.dart
2015-08-04 12:00:10 -07:00
Adam Barth
e18c698625
Rename widgets/widget.dart to widgets/framework.dart
...
It was confusing to have both widget.dart and widgets.dart
2015-08-04 11:13:33 -07:00
Jim Beveridge
d195a46c17
Merge pull request #432 from jimbeveridge/sky_tool
...
Make sky_tool much more user-friendly.
2015-08-04 11:07:25 -07:00
Adam Barth
0b13398f98
Merge pull request #444 from abarth/pre_line
...
Switch the default whitespace mode to pre-line
2015-08-04 11:01:55 -07:00
Adam Barth
0694d40bd3
Switch the default whitespace mode to pre-line
...
This mode will preserve new lines, allow breaks, but collapse whitespace. That
means whitespace at the start of lines will be collapsed.
2015-08-04 11:00:02 -07:00
James Robinson
234848e824
Merge pull request #438 from jamesr/refactor_checkbox
...
Add RenderToggleable base and use in Switch and Checkbox
2015-08-04 10:48:25 -07:00
James Robinson
9593b80d69
Add RenderToggleable base and use in Switch and Checkbox
...
This refactors Checkbox to own a RenderObject similar to how Switch was
refactored in https://github.com/domokit/sky_engine/pull/376 and
extracts common functionality for toggleable renderers into a base
class. Switch and Checkbox's render objects derive from this base
class to add their own custom painting and theming logic.
2015-08-04 10:45:30 -07:00
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