20087 Commits

Author SHA1 Message Date
Hans Muller
5711853854 Merge pull request #299 from HansMuller/animated-tab-scrolling
Animate selected scrollable TabBar Tab into position
2015-07-28 10:29:19 -07:00
Hans Muller
c0d7ed0be4 When the selected tab changes in a TabBar for which isScrollable:true, animate the selected tab to the center of the viewport, if that's possible.
Added an optional duration: to Scrollable.scrollTo(newOffset, duration: d) which animates the scroll to newOffset.

Refactored the Scrollable implementation a little to make the roles of the "toEnd" and "toOffset" animations clearer.

_handlePointerDown() now stops both animations.

Similarly, we only call settleScrollOffset() from the cancel gesture handlers if the animations aren't already running.
2015-07-28 10:23:34 -07:00
Viktor Lidholt
d9ed5494ee Optimizes sprite performance by minimizing the number of calls to action controllers 2015-07-28 10:16:16 -07:00
Viktor Lidholt
cb5a2e1751 Optimizes sprite performance by reusing Paint objects 2015-07-28 10:16:15 -07:00
Viktor Lidholt
a3649e6a13 Optimizes sprites by replacing save/restore by caching the total matrix 2015-07-28 10:16:14 -07:00
Asanka Herath
96c401b3c1 Fix typo in README.md 2015-07-28 13:05:20 -04:00
Adam Barth
1e8c0816cc Merge pull request #313 from abarth/mv_sky_package
Move sky package into sky/packages/sky
2015-07-28 08:48:13 -07:00
Adam Barth
eb8329455a Move sky package into sky/packages/sky
This patch makes the sky package match the structure we've adopted for the
other Dart packages we produce from this repo.
2015-07-28 08:42:57 -07:00
Adam Barth
aaa5c9fb0e Teach test_sky about workbench
Previously test_sky was broken because it was still trying to use the
DEPS-based Dart packages.
2015-07-27 22:20:04 -07:00
Adam Barth
01234fc946 Merge pull request #312 from abarth/fix_analyzer
Teach skyanalyzer about workbench
2015-07-27 21:18:09 -07:00
Adam Barth
b74c187eda Teach skyanalyzer about workbench
Hopefully this will make Travis green again.
2015-07-27 20:54:19 -07:00
Adam Barth
3a3607bfdd Merge pull request #311 from abarth/more_sky_init
Run sky:init before creating a snapshot
2015-07-27 20:39:13 -07:00
Adam Barth
8fac8efa1f Run sky:init before creating a snapshot
If we've never run sky:init before, the mojom package will be empty and the
snapshot will fail.
2015-07-27 19:47:25 -07:00
Tony Gentilcore
80cb6863e3 Merge pull request #310 from tonygentilcore/roll
Update to mojo 402986f19a165b3be13108146a913245c2c36d7c
2015-07-27 17:59:22 -07:00
Tony Gentilcore
77fef24c22 Fix compilation 2015-07-27 17:50:11 -07:00
Tony Gentilcore
e1a062f89d Update to mojo 402986f19a165b3be13108146a913245c2c36d7c 2015-07-27 17:33:58 -07:00
Adam Barth
2cee42a2e3 Merge pull request #308 from abarth/rm_dart_pkg
Remove DEPS-managed Dart packages
2015-07-27 17:07:54 -07:00
Adam Barth
4c7a557d56 Merge pull request #309 from abarth/improve_init
Improve init.dart not to assume `dart` is in your PATH
2015-07-27 16:58:26 -07:00
Adam Barth
019d6f8418 Improve init.dart not to assume dart is in your PATH
Instead, use Platform.executable, which is the path to the current `dart`
executable.
2015-07-27 16:56:18 -07:00
Adam Barth
32a881e346 Remove DEPS-managed Dart packages
We now use `pub` to manage Dart packages.
2015-07-27 16:54:30 -07:00
Eric Seidel
2f7ee1b0b5 Merge pull request #307 from eseidelGoogle/pub_get_banana_pants
Work around pub get going crazy
2015-07-27 16:36:46 -07:00
Eric Seidel
4e8c82d288 Work around pub get going crazy
Fixes #306

TBR=johnmccutchan@google.com
2015-07-27 16:35:04 -07:00
Adam Barth
399958e391 Merge pull request #305 from abarth/rm_go
Remove skygo
2015-07-27 16:12:41 -07:00
Adam Barth
c975de294d Remove skygo
We no longer use sky_server.go. This patch removes it.
2015-07-27 16:11:15 -07:00
Adam Barth
e4583705b9 Merge pull request #304 from abarth/rm_sky_server_go
Break the dependency on Go-based sky_server
2015-07-27 16:04:47 -07:00
Viktor Lidholt
e2beb73adc Merge pull request #300 from vlidholt/master
Optimizations for Particle Systems
2015-07-27 15:42:50 -07:00
Viktor Lidholt
809203024b Refactors randomizations of color sequences and optimizes particle systems (uses single Paint instance, doesn't compute accelerations unless used, reduces number of created objects, faster color calculations)
Fixes indentation
Optimizes lookup in fast version of atan2 (toInt is faster than floor)
Removes frame rate printout and adds assert
2015-07-27 15:41:08 -07:00
Adam Barth
fa5326a3a3 Break the dependency on Go-based sky_server
We now use the Dart sky_server in shelldb.
2015-07-27 15:38:42 -07:00
Adam Barth
bfc92b84ce Merge pull request #302 from abarth/gclient_pub
Teach gclient to run pub in more directories
2015-07-27 14:58:18 -07:00
Adam Barth
d5c77c60a7 Teach gclient to run pub in more directories
At gclient sync time, we now run `pub get` for every Dart package except
`workbench`. This patch ensures that we have all the packages we need locally.
2015-07-27 14:54:09 -07:00
Chinmay Garde
6f6edf3b04 Merge pull request #301 from chinmaygarde/gl_bindings
Avoid manually setting up in-process GL bindings for Skia
2015-07-27 14:49:06 -07:00
Chinmay Garde
ba2fe445fa Avoid manually setting up in-process GL bindings for Skia 2015-07-27 14:30:14 -07:00
Adam Barth
703ed35112 Merge pull request #298 from abarth/pull_new_mojo_services
Pull a newer mojo_services
2015-07-27 14:06:23 -07:00
Adam Barth
734ef1dbb1 Pull a newer mojo_services
This patch picks up a new url_loader.mojom interface that is needed to access
the network in production.
2015-07-27 14:04:37 -07:00
Adam Barth
f737c1dcbc Merge pull request #297 from abarth/network_nits
Cleanups to network service
2015-07-27 14:04:08 -07:00
Adam Barth
a06a3b2f18 Cleanups to network service
This patch contains some minor improvements to the network service:

- We now cache the connection to the network service so we don't need to spin
  it up for each request.
- We now manage the lifetime of NetworkServiceImpl in the same way as other
  services.

Also, update the workbench sky_tools dependency to the latest version.
2015-07-27 13:50:42 -07:00
Chinmay Garde
0fc7d8e96b Merge pull request #296 from chinmaygarde/mac_bindings
Add bindings for "GL_NV_texture_barrier" required on Mac
2015-07-27 12:26:15 -07:00
Adam Barth
c1403a1243 Merge pull request #294 from abarth/big_red_button
Teach big_red_button how to publish sky, sky_engine, sky_services
2015-07-27 12:22:18 -07:00
Adam Barth
d59e4115e6 Teach big_red_button how to publish sky, sky_engine, sky_services
This CL makess big_red_button.py work for the sky, sky_engine, sky_services
packages.
2015-07-27 12:21:33 -07:00
Chinmay Garde
cb75ca645d Add bindings for "GL_NV_texture_barrier" required on Mac 2015-07-27 12:15:18 -07:00
Chinmay Garde
8dfcd3b684 Merge pull request #293 from chinmaygarde/mac_review
Complete OpenGL setup and input event handling on Mac
2015-07-27 11:22:59 -07:00
Hans Muller
ee16e38f6b Merge pull request #291 from HansMuller/enable-scrollable-tabs-fling-scroll
Enable scrollable tabs fling scrolling
2015-07-27 11:16:50 -07:00
Hans Muller
042a7041f6 Enable fling scrolling in TabBar 2015-07-27 11:13:37 -07:00
Chinmay Garde
26a7bd7087 Complete OpenGL setup and input event handling on Mac 2015-07-27 10:56:34 -07:00
Adam Barth
d1aa19081a Update Sky package version
We need to pull in an updated version of sky_tools to get a version that
doesn't try to gzip everything.
2015-07-27 10:07:41 -07:00
Adam Barth
7668ceb254 Merge pull request #292 from abarth/fix_sky_tools
Fix sky_tool's installing of SkyShell.apk
2015-07-27 10:06:53 -07:00
Adam Barth
6b3ac73d1c Fix sky_tool's installing of SkyShell.apk
We were walking over to the realdir too quickly, which meant we lost which
version of the sky_engine package we were supposed to use.
2015-07-27 10:05:16 -07:00
Adam Barth
a3b614bfaf Update README.md 2015-07-27 09:47:29 -07:00
Adam Barth
d566b71be6 Rev Sky package 2015-07-27 09:13:01 -07:00
Adam Barth
96781ddbf2 Update version for material_design_icons 2015-07-27 08:25:40 -07:00