1965 Commits

Author SHA1 Message Date
Hixie
1f40d96fbf Improve debugging output
Teach dumpRenderTree() to draw actual trees.
Make the TextStyle output terser so it doesn't overflow the output.
Make debugDumpApp() say what mode we're in (checked vs release).
Hide lifecycle state from release mode dumps (since it's checked-only state).
2015-10-15 11:23:23 -07:00
Jason Simmons
5b72a2fdaf Fix warnings seen when running skyanalyzer in strong mode 2015-10-15 10:56:03 -07:00
Kris Giesing
269ba86a3e Export new InputEvent classes from appropriate places 2015-10-15 10:29:09 -07:00
Viktor Lidholt
79ec74541a Improves sprite physics debug drawing 2015-10-15 10:20:26 -07:00
Viktor Lidholt
6e91cfa49a Merge pull request #1623 from vlidholt/master
Fixes touch handling and refactors sprite physics
2015-10-15 09:01:20 -07:00
Adam Barth
0442b642fe Fix TextDecoration.lineThrough
We had a typo in our CSS translation.
2015-10-14 21:30:00 -07:00
Jason Simmons
6bdd288379 Merge pull request #1615 from jason-simmons/edit_text_action_button_2
Implement better synchronization between the state of the input widget and the keyboard IME
2015-10-14 17:36:33 -07:00
Adam Barth
3c94991c96 Merge pull request #1624 from abarth/list_item
Add a ListItem widget
2015-10-14 17:03:32 -07:00
Kris Giesing
e8a0ea3593 Add release semantics, add test 2015-10-14 17:03:26 -07:00
Adam Barth
c17782569d Add a ListItem widget 2015-10-14 16:33:31 -07:00
Viktor Lidholt
5fa5971bf7 Refactors sprite physics debug drawing 2015-10-14 16:30:36 -07:00
Viktor Lidholt
c912ee2301 Fixes touch handling in SpriteBox 2015-10-14 16:28:51 -07:00
Hixie
3c95ce621c Transform alignment
For those times where you want to spin something around a point relative
to the size of your box, but you don't know the size of your box.
2015-10-14 15:30:56 -07:00
Jason Simmons
98b83e0cf5 Implement better synchronization between the state of the input widget and the keyboard IME
Also add an input widget API for the keyboard submit button
2015-10-14 15:19:46 -07:00
Kris Giesing
14c9a2c755 Merge remote-tracking branch 'upstream/master' into arena_sweep 2015-10-14 13:39:30 -07:00
krisgiesing
2032d3e41f Merge pull request #1605 from krisgiesing/events-merge
Add dart-layer input event abstraction
2015-10-14 13:36:07 -07:00
Viktor Lidholt
dd568690ac Merge pull request #1614 from vlidholt/master
Adds missing sprite physics shapes
2015-10-14 13:18:11 -07:00
Kris Giesing
52c1fe5105 Refactor to move conversion into the binding class 2015-10-14 13:09:51 -07:00
Viktor Lidholt
29f2a0f227 Adds missing sprite physics shapes 2015-10-14 12:58:47 -07:00
Jason Simmons
1beda0d6bf Update the package versions of flutter and flutter_sprites 2015-10-14 12:20:58 -07:00
Jason Simmons
d3b5603871 Merge pull request #1604 from jason-simmons/mojo_merge_client_part3
Update to mojo 1292152bf533de1bfebf5966d6246e149f87add3
2015-10-14 11:03:25 -07:00
Hixie
7946dc3a34 Write down some unwritten rules of Flutter development. 2015-10-14 09:58:29 -07:00
Hans Muller
921d432092 Added Painter, ScrollingListPainter, MaterialScrollbarPainter
Enabled displaying a scrollbar in ScrollingLists. The scrollbar is painted as an "overlay", i.e. it's painted on top of the scrolling list's visible children.

Added an abstract Painter base class that encapsulates a paint method and the renderer that it's attached to. RenderBlockViewport and HomogenousViewport now support an overlayPainter property. If specified, RenderBlockViewport attaches itself to the overlayPainter when it's attached to the rendering tree. RenderBlockViewport now calls overlayPainter.paint() after it has painted its children.

Added an abstract ScrollingListPainter class that exposes ScrollingList's state which might be needed for painting. Like its scroll direction and scrollOffset. The ScrollingListPainter is notified when a scroll starts and ends.

Defined a Material-specific ScrollingListPainter that renders a scrollbar. The scrollbar thumb is faded in/out when the scroll starts/ends.

Added onScrollStart and onScrollEnd listeners to Scrollable.
2015-10-14 07:59:41 -07:00
Kris Giesing
0284321483 Address more comments 2015-10-13 17:32:04 -07:00
Adam Barth
faa7f8180a Merge pull request #1602 from jimbeveridge/readme
Show new flutter tool and its use in the widgets dir.
2015-10-13 16:59:22 -07:00
Kris Giesing
9f74a178fd Address comments 2015-10-13 16:57:40 -07:00
Adam Barth
6529f54c08 Rev pub packages 2015-10-13 16:52:01 -07:00
Adam Barth
a88a85e695 Rename skysprites to flutter_sprites 2015-10-13 16:34:01 -07:00
Jason Simmons
090c37077b Update imports of skysprites to flutter_sprites 2015-10-13 16:07:38 -07:00
Kris Giesing
3021381456 Add hold and sweep semantics to gesture arena 2015-10-13 16:00:15 -07:00
Kris Giesing
0c22900861 Merge remote-tracking branch 'upstream/master' into events-merge 2015-10-13 15:35:45 -07:00
Jason Simmons
f343b7af07 Update to mojo 1292152bf533de1bfebf5966d6246e149f87add3 2015-10-13 15:24:40 -07:00
Kris Giesing
ec205ac5c5 Add dart-layer input event abstraction 2015-10-13 15:16:04 -07:00
Adam Barth
42469d2cb9 Fix game's pubspec.yaml 2015-10-13 14:26:58 -07:00
Adam Barth
89faf21a10 Merge pull request #1596 from abarth/moar_nine
Add a centerSlice parameter to images
2015-10-13 14:24:06 -07:00
Viktor Lidholt
f0de94e230 Merge pull request #1603 from vlidholt/master
Adds publishing for Flutter Sprites
2015-10-13 14:23:11 -07:00
Hixie
1cf1cf9c64 Port first sector demo to fn3
Also, fix warnings in rendering/sector_layout.dart
Also, fix hit testing in rendering/sector_layout.dart
Also, add WidgetToRenderBoxAdapter
Also, make the rendering library debugging tools more resilient to
dumping stuff before layout is complete.
2015-10-13 14:21:52 -07:00
Viktor Lidholt
e3d7cba482 Updates flutter sprites pubspec 2015-10-13 14:15:27 -07:00
Jim Beveridge
93fa4464ba Show new flutter tool and its use in the widgets dir. 2015-10-13 13:53:05 -07:00
Viktor Lidholt
8f65e0cb34 Add callback when physics joints break 2015-10-13 13:51:15 -07:00
Adam Barth
998a066a82 Add a centerSlice parameter to images
This lets you draw nine-patch images.
2015-10-13 13:21:36 -07:00
Viktor Lidholt
2feb51d6bc Adds more joint types to sprite physics 2015-10-13 13:18:30 -07:00
Viktor Lidholt
7c5092f7b1 Adds support for dampening on weld physics joints in sprites 2015-10-13 09:39:53 -07:00
Viktor Lidholt
106d3c4bd1 Merge pull request #1588 from vlidholt/master
Adds check for breaking forces in sprite physics joints
2015-10-13 07:32:14 -07:00
Collin Jackson
adb0d2e2df Merge pull request #1586 from collinjackson/dispatchOnScroll
Allow derived classes of Scrollable to listen for scroll events
2015-10-12 17:13:01 -07:00
Hixie
cb77bd44f6 Remove an infinity in layout code. 2015-10-12 17:07:27 -07:00
Viktor Lidholt
6488a13315 Adds breakingForce argument to joints constructors in sprite physics 2015-10-12 16:59:58 -07:00
Viktor Lidholt
3784086322 Break sprite physics joints 2015-10-12 16:54:58 -07:00
Viktor Lidholt
2d2b4a8a58 Save list of sprite physics joints 2015-10-12 16:53:41 -07:00
Hixie
f2cc43a483 Lots of trivial warning fixes
Add type annotations in many places.
Fix some identifiers to have more lint-satisfying names.
Make all operator==s consistent in style.
Reorder some functions for consistency.
Make ParentData no longer dynamic, and fix all the code around that.
2015-10-12 16:31:20 -07:00