5090 Commits

Author SHA1 Message Date
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
750e1e682f Merge pull request #1685 from abarth/animated_size_value
Add AnimatedSizeValue
2015-10-19 17:22:33 -07:00
Adam Barth
6a224ab52d Add AnimatedSizeValue 2015-10-19 17:16:05 -07:00
Ian Hickson
c98a9095ea Merge pull request #1683 from Hixie/analyzer
Fix warning in test. Arguments must be typed.
2015-10-19 16:07:33 -07:00
Hixie
5b7934951e Fix warning in test. Arguments must be typed. 2015-10-19 16:07:01 -07:00
Ian Hickson
9338007001 Merge pull request #1681 from Hixie/schedulePostFrameCallback
requestPostFrameCallback()
2015-10-19 16:05:12 -07:00
Hixie
741e4c2f4a requestPostFrameCallback()
Provide a way to schedule a callback for immediately after the current
frame has been sent to the GPU thread. This is useful for times where
you want to immediately schedule yourself for another build or layout
because, for instance, you just displayed frame zero of an animation and
you want to use the metrics from that layout to set up the actual
animation to begin immediately, such that the very next frame is frame 1.
2015-10-19 16:05:01 -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
00c0c43fe2 Merge pull request #1676 from abarth/align_uses_fractional_offset
Convert Align to use FractionalOffset instead of two doubles
2015-10-19 13:10:34 -07:00
Ian Hickson
8cd323cc5c Merge pull request #1675 from Hixie/AnimatedContainer-overanimate
Stop AnimatedContainer from animating every build
2015-10-19 13:09:53 -07:00
Hixie
fb97905231 Stop AnimatedContainer from animating every build
It turns out that an AnimatedContainer with a BoxDecoration would
start animating every single time it was built, whether or not the
container's decoration had changed.
2015-10-19 13:06:59 -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
Adam Barth
2ed393dc8b Merge pull request #1674 from abarth/rm_color_filter
Remove ColorFilter widget
2015-10-19 12:55:12 -07:00
Adam Barth
1652d771e2 Remove ColorFilter widget
This widget is slow and not commonly used. The original reason we added it was
to colorize images, but now that feature is built into the image and background
image widgets.

Fixes #1646
2015-10-19 12:39:22 -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
b2129d83fa Merge pull request #1671 from abarth/scaffold_material
Scaffold should wrap its body in a Material
2015-10-19 12:22:37 -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
Viktor Lidholt
27fb4ce10d Makes sprite physics bodies scalable 2015-10-19 12:13:00 -07:00
Adam Barth
9b3e38bae7 Scaffold should wrap its body in a Material
Fixes #1669
2015-10-19 12:11:10 -07:00
Adam Barth
aefeaefeb8 Rev pub packages 2015-10-19 11:26:31 -07:00
Adam Barth
30751c7452 Rev pub package 2015-10-19 11:15:04 -07:00
Adam Barth
5b4b1a09d4 Merge pull request #1670 from abarth/improve_roll_py
Improve roll.py
2015-10-19 10:40:57 -07:00
Adam Barth
0ce0103f81 Improve roll.py
* Make the paths absolute
 * Using filter to remove tonic from mojo/dart/embedder/BUILD.gn instead of a
   patch
2015-10-19 10:35:02 -07:00
Adam Barth
edb7d79c86 Update includes to account for network service move 2015-10-19 10:30:24 -07:00
Adam Barth
72aca713e9 applied patch mojo_converters_input_events.patch 2015-10-19 10:24:27 -07:00
Adam Barth
e08ee3d455 Update to mojo 15d4677f174b1862d95545bf9b1866b4338c3e92 2015-10-19 10:24:27 -07:00
Collin Jackson
e1a46ff817 Merge pull request #1654 from collinjackson/stub_keyboard
Stub out unimplemented iOS keyboard methods
2015-10-19 10:17:55 -07:00
James Robinson
f0607db403 Merge pull request #1626 from jamesr/shut_up_download
Specify --quiet to download_from_google_storage hooks
2015-10-19 10:11:52 -07:00
Ian Hickson
bc66c747dd Update CONTRIBUTING.md 2015-10-19 09:45:56 -07:00
Adam Barth
bb2c2e3dfa Merge pull request #1666 from abarth/null_dx
The dx and dy properties of PointerInputEvents shouldn't be null
2015-10-19 09:45:16 -07:00
Ian Hickson
42213a86bf Update CONTRIBUTING.md 2015-10-19 09:38:47 -07:00
Adam Barth
640d5ee4d9 The dx and dy properties of PointerInputEvents shouldn't be null
They should be 0.0 when there's no offset.

Fixes #1661
2015-10-19 09:37:51 -07:00
Ian Hickson
cd7bd16d3f Update CONTRIBUTING.md 2015-10-19 09:37:06 -07:00
Ian Hickson
b2b5742d21 Update CONTRIBUTING.md 2015-10-19 09:32:14 -07:00
Ian Hickson
c55783bbcf Update CONTRIBUTING.md 2015-10-19 09:31:01 -07:00
Ian Hickson
333f2fab6a Update CONTRIBUTING.md 2015-10-19 09:27:24 -07:00
Ian Hickson
72ebf68df7 Update CONTRIBUTING.md 2015-10-19 09:26:09 -07:00
Ian Hickson
8e83745044 Update CONTRIBUTING.md 2015-10-19 09:22:58 -07:00
Adam Barth
14939b6714 Merge pull request #1627 from abarth/material_list
Add a MaterialList
2015-10-19 09:18:44 -07:00
Adam Barth
a788c1c9b2 Add a MaterialList
A MaterialList understands the sizing, padding, and scrollbar features of
Material Design lists.

Also, add CircleAvatar for showing the circular avatars that are commonly used
in material lists.
2015-10-19 09:15:17 -07:00
Ian Hickson
b068090ea2 Update CONTRIBUTING.md 2015-10-19 09:10:44 -07:00