4557 Commits

Author SHA1 Message Date
Chinmay Garde
d2d02a5fe6 Run a CPPLint pass on sky/compositor 2015-09-29 11:55:08 -07:00
Chinmay Garde
cb50ab36dd Import stdint.h for uint64_t in compositor_options.h (Fix non Mac builds) 2015-09-29 11:19:53 -07:00
Chinmay Garde
c18c6bb343 Merge pull request #1383 from chinmaygarde/master
Visualize frame times over the past few seconds in the form of a graph
2015-09-29 10:54:10 -07:00
Chinmay Garde
2c16791321 Visualize frame times over the past few seconds in the form of a graph 2015-09-29 10:53:25 -07:00
James Robinson
aa60ff399e Merge pull request #1384 from jamesr/empty_texture_crash
Empty texture crash
2015-09-28 18:23:23 -07:00
James Robinson
eef941140f Handle a picture in a TextureLayer with an empty cull rect
If we have a layer with a picture where the cull rect computes down to an empty
rectangle attempting to rasterize it into a ganesh surface will fail in the
same manner that trying to ganesh rasterize an empty layer will. This teaches
LayerHost to check for this case and handle it like an empty layer.

Fixes #1337
2015-09-28 18:22:52 -07:00
Chinmay Garde
13ee86e585 Merge pull request #1378 from chinmaygarde/master
Allow display of compositor statistics from Dart
2015-09-28 15:04:24 -07:00
Chinmay Garde
982731bf91 Make the single argument constructor to CompositorOptions explicit 2015-09-28 15:03:59 -07:00
Chinmay Garde
bfb9855c24 Since the statistics scene is not a container layer, rename the API in SceneBuilder 2015-09-28 12:40:19 -07:00
Chinmay Garde
ab927e23e7 Allow displaying compositor statistics from Dart 2015-09-28 12:20:28 -07:00
Devon Carew
16d05d1f9c Merge pull request #1375 from devoncarew/customize_dartdoc
customize the generated dartdoc to look like flutter.io
2015-09-28 12:01:54 -07:00
Ian Hickson
eb6f2f069e Update gestures.md
Replace the old proposal with a placeholder for a description of the actual implementation.
2015-09-28 09:11:59 -07:00
Adam Barth
20fb026cc4 Merge pull request #1369 from abarth/notify_global_key_listeners
Actually notify GlobalKey listeners in fn3
2015-09-27 22:04:15 -07:00
Adam Barth
9752979e99 Actually notify GlobalKey listeners in fn3
This patch makes a number of changes:

1) buildDirtyComponents now prevents all calls to setState, not just those
   higher in the tree. This change is necessary for consistency with
   MixedViewport and HomogeneousViewport because those widgets already build
   subwidgets with that restriction. If the "normal" build didn't enforce that
   rule, then some widgets would break when put inside a mixed or homogeneous
   viewport.

2) We now notify global key listeners in a microtask after beginFrame. That
   means setState is legal in these callbacks and that we'll produce another
   frame if someone calls setState in such a callback.
2015-09-27 17:22:48 -07:00
Devon Carew
0c20a2096c customize the generated dartdoc like flutter.io 2015-09-26 23:19:25 -07:00
Adam Barth
ef2c86864b Merge pull request #1370 from abarth/nit
Address review comments from @hixie
2015-09-26 21:08:59 -07:00
Adam Barth
db3923a017 Address review comments from @hixie 2015-09-26 20:18:16 -07:00
Adam Barth
31585045ea Merge pull request #1367 from abarth/update_navigation_example
Update navigation example
2015-09-26 18:39:33 -07:00
Adam Barth
dd4d4f30c1 Merge pull request #1368 from abarth/fn3_address_book
Fn3 address book
2015-09-26 14:24:31 -07:00
Adam Barth
88b797bf1c Port hello_world to fn3 2015-09-26 13:18:20 -07:00
Adam Barth
f005958b72 Port address_book to fn3 2015-09-26 13:16:33 -07:00
Adam Barth
16706a94ae Update navigation example after Navigator changes
Now this example uses the App widget to drive the adventure game.
2015-09-26 13:07:46 -07:00
Adam Barth
43349f82f6 Fix analyzer warnings 2015-09-26 13:07:31 -07:00
Adam Barth
7a6b22e622 Add missing export 2015-09-26 13:07:21 -07:00
Adam Barth
5c3a0cb4ba Merge pull request #1366 from abarth/fn3_mine_digger
Port MineDigger to fn3
2015-09-26 13:06:57 -07:00
Adam Barth
adaa06f7d8 Add missing .gitignore file 2015-09-26 12:54:17 -07:00
Adam Barth
4a13cf5d1f Port MineDigger to fn3 2015-09-26 12:53:14 -07:00
Adam Barth
1a332aef01 Merge pull request #1365 from abarth/renames
Rename Sky to Flutter in a few more places
2015-09-26 12:49:00 -07:00
Adam Barth
198f23cb53 Rename Sky to Flutter in a few more places 2015-09-26 12:46:03 -07:00
Ian Hickson
4112922564 Merge pull request #1363 from Hixie/stocks
Port stocks to fn3 and introduce an App component.
2015-09-25 21:22:41 -07:00
Hixie
d8ef78edcf Port stocks to fn3 and introduce an App component. 2015-09-25 17:52:33 -07:00
Adam Barth
497f0c1fa2 Merge pull request #1362 from abarth/mimic
Add Mimic to fn3
2015-09-25 16:44:09 -07:00
Adam Barth
c6e10010ca Add Mimic to fn3 2015-09-25 16:43:22 -07:00
Adam Barth
f67e7879b9 Fix indent 2015-09-25 15:43:03 -07:00
Adam Barth
b69c6ceb7d Merge pull request #1360 from abarth/fn3_unique_component
Add UniqueComponent helper for creating components with unique states
2015-09-25 15:37:23 -07:00
Adam Barth
ea7522c0d5 Add UniqueComponent helper for creating components with unique states 2015-09-25 15:36:25 -07:00
Adam Barth
4ce42f6c7b Merge pull request #1359 from abarth/fn3_onscroll
Add an onScroll callback to Scrollable
2015-09-25 15:08:45 -07:00
Adam Barth
c5042aff8a Add an onScroll callback to Scrollable 2015-09-25 15:08:22 -07:00
Ian Hickson
601251bbca Merge pull request #1357 from Hixie/mixed
fn3: Port Card Collection demo
2015-09-25 14:50:51 -07:00
Chinmay Garde
b2de4bed44 Merge pull request #1356 from chinmaygarde/master
Update Dart revision
2015-09-25 14:49:37 -07:00
Hixie
0abd6f2b9c fn3: Port Card Collection demo
Also:

- Make Dismissable report when it starts squashing, since otherwise we
  don't invalidate the list early enough and it gets mad that it wasn't
  told one of its children had changed size.

- Have Dismissable check that it gets removed after it's dismissed, to
  avoid having lots of redundant widgets around.

- Start tracking the height of each child of a MixedViewport, so that we
  don't accumulate floating point errors when a child jiggles up and down.

- Have _childOffsets reuse its storage space rather than newing up a new
  copy each time we reset the cache.

- Avoid double-updating child sizes when handling mixed viewport invalidations.
2015-09-25 14:44:54 -07:00
Chinmay Garde
82ce491db3 Update Dart revision 2015-09-25 14:28:39 -07:00
Adam Barth
b07509159c Merge pull request #1355 from abarth/current_state
Add a currentWidget and currentState accessor to GlobalKeys
2015-09-25 14:22:39 -07:00
Adam Barth
1f4e6df48f Add a currentWidget and currentState accessor to GlobalKeys 2015-09-25 14:22:22 -07:00
Adam Barth
58e887a404 Merge pull request #1354 from abarth/fn3_ensure_widgets_is_visible
Add ensureWidgetIsVisible to fn3
2015-09-25 14:21:27 -07:00
Adam Barth
b753a37b9e Add ensureWidgetIsVisible to fn3 2015-09-25 14:21:12 -07:00
Viktor Lidholt
367935b777 Merge pull request #1351 from vlidholt/master
Renames pointQuickDist in GameMath
2015-09-25 13:50:48 -07:00
Hans Muller
f5f8e7bcf7 Merge pull request #1353 from HansMuller/bump_newton_version
Bumped Newton version to 0.1.4
2015-09-25 13:45:44 -07:00
Adam Barth
7431ecfd45 Merge pull request #1350 from abarth/localToGlobal
Add findRenderObject to BuildContext
2015-09-25 13:40:12 -07:00
Adam Barth
4fc3eb0f7a Add findRenderObject to BuildContext 2015-09-25 13:37:14 -07:00