Hixie
2ffd0ffb95
RenderOverflowBox baseline logic
...
I accidentally lost this when extracting RenderOverflowBox from
RenderProxyBox.
2015-10-20 09:52:48 -07:00
Adam Barth
1d6191cb71
Move animation curves into a Curves namespace
2015-10-19 18:08:52 -07:00
Adam Barth
75fe9414e7
Give the CustomPaint and SizeObserver callbacks better names
...
The style we use for callbacks in widgets is "onFoo". These classes were using
an order naming convention and just called their callbacks "callback".
2015-10-19 17:27:40 -07:00
Adam Barth
82ee0a0810
Merge pull request #1679 from abarth/fix_analyzer
...
Fix analyzer warnings in examples
2015-10-19 15:31:59 -07:00
Matt Perry
d939abff59
Merge pull request #1612 from mpcomplete/signer.cipher
...
Add support for verifying .flx signatures when updating
2015-10-19 17:18:17 -04:00
Adam Barth
5d83fa5c1a
Fix analyzer warnings in examples
2015-10-19 13:46:52 -07:00
Matt Perry
9f9605d3eb
Support verifying .flx signatures when updating.
...
Adds a step to the updater to verify that the new .flx package is signed and
untampered.
Each .flx contains a signed manifest file. The manifest contains a SHA-256 hash
of the .flx contents. See bundle.dart for a description of the new .flx format.
2015-10-19 16:39:02 -04:00
Adam Barth
586d89ba2b
Merge pull request #1678 from abarth/show_color_filter
...
Show ColorFilter
2015-10-19 13:37:55 -07:00
Adam Barth
8c6d3e2a9e
Show ColorFilter
...
Instead of requiring clients to use ui.ColorFilter, we show show the
ColorFilter class, similar to what we do for Color.
2015-10-19 13:33:39 -07:00
Viktor Lidholt
e37f67dea0
Merge pull request #1677 from vlidholt/master
...
Renames PhysicsNode to PhysicsWorld
2015-10-19 13:33:19 -07:00
Viktor Lidholt
126881fd47
Renames PhysicsNode to PhysicsWorld
2015-10-19 13:27:32 -07:00
Adam Barth
07c5dfe266
Convert Align to use FractionalOffset instead of two doubles
...
It was confusing as to whether these were fractions or pixels.
Fixes #1622
2015-10-19 12:56:38 -07:00
Viktor Lidholt
facecac7e0
Merge pull request #1672 from vlidholt/master
...
Makes sprite physics bodies scalable
2015-10-19 12:30:02 -07:00
Adam Barth
5719f66f25
Merge pull request #1673 from abarth/rm_old_paint_setters
...
Remove old setFoo functions on Paint
2015-10-19 12:28:09 -07:00
Adam Barth
1782be8d98
Remove old setFoo functions on Paint
...
We now just use Dart properties, which is more idiomatic.
2015-10-19 12:21:34 -07:00
Viktor Lidholt
141f36ff51
Updates physics test
2015-10-19 12:13:20 -07:00
Adam Barth
9b3e38bae7
Scaffold should wrap its body in a Material
...
Fixes #1669
2015-10-19 12:11:10 -07:00
Collin Jackson
9a06592805
Merge pull request #1640 from collinjackson/stocks_app
...
test harness for stocks app on iOS
2015-10-16 15:34:45 -07:00
Hans Muller
3efa869233
Merge pull request #1647 from HansMuller/restore_overlay_geometry
...
Restored overlay_geometry example
2015-10-16 11:13:16 -07:00
Hans Muller
829d7ebb5d
Restored overlay_geometry example
2015-10-16 11:00:12 -07:00
Hans Muller
068ab33911
OMG I've been running with checking turned off. Fixed scrollbar assertion failures.
2015-10-16 10:14:26 -07:00
Viktor Lidholt
a3644e03b4
Merge pull request #1642 from vlidholt/master
...
Animated sprite physics bodies now correctly transfers energy to dynamic bodies
2015-10-16 08:57:12 -07:00
Viktor Lidholt
477b231b63
Updates physics test
2015-10-15 17:08:51 -07:00
Collin Jackson
bce1efd5e7
Build stocks app on iOS
2015-10-15 16:17:25 -07:00
Jason Simmons
9ccb5fa917
Merge pull request #1610 from jason-simmons/slice_border_warning
...
Fix warnings seen when running skyanalyzer in strong mode
2015-10-15 12:59:28 -07:00
Hixie
8c24f976db
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
94fa673029
Fix warnings seen when running skyanalyzer in strong mode
2015-10-15 10:56:03 -07:00
krisgiesing
37226db237
Merge pull request #1605 from krisgiesing/events-merge
...
Add dart-layer input event abstraction
2015-10-14 13:36:07 -07:00
Hixie
5afa5dec55
Write down some unwritten rules of Flutter development.
2015-10-14 09:58:29 -07:00
Hans Muller
9cbb830991
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
Adam Barth
77a4704560
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
Adam Barth
06a9623906
Rename skysprites to flutter_sprites
2015-10-13 16:34:01 -07:00
Jason Simmons
c5e01a4067
Update imports of skysprites to flutter_sprites
2015-10-13 16:07:38 -07:00
Kris Giesing
9d3230e582
Merge remote-tracking branch 'upstream/master' into events-merge
2015-10-13 15:35:45 -07:00
Kris Giesing
29dfecd803
Add dart-layer input event abstraction
2015-10-13 15:16:04 -07:00
Adam Barth
1e4bc6ddb9
Fix game's pubspec.yaml
2015-10-13 14:26:58 -07:00
Adam Barth
44e17ac1e9
Merge pull request #1596 from abarth/moar_nine
...
Add a centerSlice parameter to images
2015-10-13 14:24:06 -07:00
Hixie
7165952c1a
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
Jim Beveridge
d5490b2628
Show new flutter tool and its use in the widgets dir.
2015-10-13 13:53:05 -07:00
Adam Barth
8a8fd8779c
Add a centerSlice parameter to images
...
This lets you draw nine-patch images.
2015-10-13 13:21:36 -07:00
Hixie
9f174def11
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
Adam Barth
30a28ddd7f
Remove demo_launcher
...
This example is outdated.
2015-10-12 14:20:28 -07:00
Viktor Lidholt
9aafb26ae6
Merge pull request #1580 from vlidholt/master
...
Working joints in sprite physics
2015-10-12 14:10:19 -07:00
Adam Barth
404f7d3433
Add .old extension to silence analyzer
...
These examples haven't been ported to fn3 yet. Before this patch, they caused a
lot of noise in the analyzer output.
2015-10-12 13:45:33 -07:00
Viktor Lidholt
74c59a749f
Updates sprite physics test
2015-10-12 13:39:47 -07:00
Adam Barth
fe3229b730
Merge pull request #1574 from abarth/material_canvas
...
Change the default MaterialType to canvas
2015-10-12 11:09:48 -07:00
Adam Barth
8758e26928
Update arrow in stocks search to use ColorFilter
...
We changed IconButton to require a ColorFilter to filter the color of the icon.
2015-10-12 10:09:57 -07:00
Adam Barth
be7074806c
Change the default MaterialType to canvas
...
Canvas is by far the most popular type of material by call site (and makes for
a faster default because it doesn't have a RRect clip).
2015-10-12 09:36:47 -07:00
Adam Barth
9f736f197b
Reattach fitness to the build
...
We can build Fitness again now that playfair has been updated to account for
the package:flutter rename.
2015-10-12 00:24:24 -07:00
Adam Barth
4d0b7911a0
Import dart:ui as ui (instead of as sky)
2015-10-09 20:55:54 -07:00