5197 Commits

Author SHA1 Message Date
Adam Barth
1ec03246d7 Rev pub packages 2015-10-23 10:09:17 -07:00
Adam Barth
f1f26c93e5 Change VelocityTracker to understand new pointer values
Now we use one velocity tracker per pointer.

Path by Kris Giesing.

Fixes #1704
2015-10-23 10:07:19 -07:00
Adam Barth
46a8d6a2b4 Merge pull request #1757 from abarth/paragraph_builder_fixes
Fix some fiddly bits in ParagraphBuilder
2015-10-23 09:49:36 -07:00
Adam Barth
08729e37d2 Fix some fiddly bits in ParagraphBuilder 2015-10-23 09:47:02 -07:00
Adam Barth
cfc5ac454b Merge pull request #1756 from abarth/fix_android
Fix Android build
2015-10-23 09:37:16 -07:00
Adam Barth
a066323bd6 Fix Android build
RTLD_SELF doesn't appear to be defined on Android.
2015-10-23 08:54:05 -07:00
Adam Barth
aa339af62d Merge pull request #1755 from abarth/new_text_painter
Make NewTextPainter actually work
2015-10-23 08:45:45 -07:00
Adam Barth
eb594bffdc Make NewTextPainter actually work
The NewTextPainter is still disabled by default. A future patch will flip the
flag to enable it.

This patch uses a new approach to writing bindings by encoding data into array
buffers. This approach is more efficient than the existing IDL based approach.
If this works out well, we should convert our other performance-sensitive
interfaces to this approach in future patches.
2015-10-23 08:41:23 -07:00
Chinmay Garde
a3c82eaf5c Merge pull request #1754 from chinmaygarde/master
Avoid building the fitness app on iOS due to build errors
2015-10-22 17:54:28 -07:00
Chinmay Garde
877add6835 Avoid building the fitness app on iOS due to build errors 2015-10-22 17:50:58 -07:00
Chinmay Garde
cb1252762c Merge pull request #1752 from chinmaygarde/precompile_pr
Switch to using precompiled snapshots on iOS
2015-10-22 17:32:09 -07:00
Chinmay Garde
d6ff8e90b0 Switch to using precompiled snapshots on iOS 2015-10-22 17:27:40 -07:00
Adam Barth
db8dc933b6 Merge pull request #1751 from abarth/default_bundle
Add DefaultAssetBundle
2015-10-22 17:08:51 -07:00
Adam Barth
55fe1f69f3 Add DefaultAssetBundle
Now AssetImage will look in the default bundle if you don't supply an explicit
bundle.

Fixes #680
2015-10-22 17:02:42 -07:00
Adam Barth
333721c8a8 Merge pull request #1748 from abarth/reset_path
Add reset to Path
2015-10-22 16:44:20 -07:00
Adam Barth
938abc3142 Add reset to Path
Fixes #88
2015-10-22 16:36:07 -07:00
Jason Simmons
4d4a56e904 Merge pull request #1736 from jason-simmons/flx_gitignore
Add .gitignore file to the flx package
2015-10-22 16:04:10 -07:00
Hans Muller
b5740fe886 Merge pull request #1745 from HansMuller/stack_alignment
Use FractionalOffset alignment value in Stack and IndexedStack
2015-10-22 15:51:35 -07:00
Ian Hickson
bb981738fa Merge pull request #1744 from Hixie/fix-size-magic
Fix size magic
2015-10-22 15:44:41 -07:00
Hans Muller
86b19822a6 Use FractionalOffset alignment value in Stack and IndexedStack 2015-10-22 15:44:25 -07:00
Hixie
6f52529d35 Fix size magic
The magic for updating DebugSize's knowledge about whether it was
allowed to be used by the parent or not previously failed to correctly
deal with sizedByParent.
2015-10-22 15:41:24 -07:00
Ian Hickson
c0a667de4b Merge pull request #1741 from Hixie/heroes
Unmatched heroes don't need to animate
2015-10-22 15:39:24 -07:00
Jim Beveridge
98954be8ab Merge pull request #1717 from jimbeveridge/piano
Fix slow sound init in piano sample app
2015-10-22 15:23:32 -07:00
Hans Muller
326016a7b7 Merge pull request #1740 from HansMuller/dropdown_type
Use a type parameter for Dropdown value
2015-10-22 15:15:29 -07:00
Hans Muller
0eb3a10d0b Use a type parameter for Dropdown value 2015-10-22 15:14:32 -07:00
Ian Hickson
ebaeb78d19 Merge pull request #1737 from Hixie/spinning_mixed_port
Port spinning_mixed demo to fn3
2015-10-22 15:10:24 -07:00
Jim Beveridge
d998b8f3f1 Fix slow sound init in piano sample app
Fixes #1696. Also fixes handles leaking on error.
2015-10-22 14:58:31 -07:00
Hixie
f3a15ee96d Unmatched heroes don't need to animate
By default now heroes won't animate if they don't find a matching hero
on the target page. You can make them animate by setting 'alwaysAnimate:
true' on the Hero constructor.
2015-10-22 14:32:59 -07:00
Hixie
063a6ddcf6 Port spinning_mixed demo to fn3 2015-10-22 14:20:13 -07:00
Hans Muller
8c01e332bd Merge pull request #1738 from HansMuller/dropdown_menu
Adds initial versions of DropdownButton DropdownMenuItem

Adds a dropdown menu button as shown in the Material design spec here: https://www.google.com/design/spec/components/buttons.html#buttons-dropdown-buttons. It's the video at the bottom of this section of the Material design spec.

This version of the component doesn't deal with scrollable menus or constrain the height of the menu.
2015-10-22 13:40:15 -07:00
Hans Muller
a4147ee22c Adds initial versions of DropdownButton DropdownMenuItem
Adds a dropdown menu button as shown in the Material design spec here: https://www.google.com/design/spec/components/buttons.html#buttons-dropdown-buttons. It's the video at the bottom of this section of the Material design spec.

This version of the component doesn't deal with scrollable menus or
constrain the height of the menu.
2015-10-22 13:38:50 -07:00
Adam Barth
5ee6a6e51d Merge pull request #1739 from mxia/master
Fixed build errors when building for Mac desktop.
2015-10-22 13:10:32 -07:00
Michael Xia
4809545d63 Fixed build errors when building for Mac desktop. 2015-10-22 13:04:14 -07:00
Adam Barth
3f45fb0817 Merge pull request #1735 from abarth/navigator_of
Add Navigator.of
2015-10-22 12:36:33 -07:00
Adam Barth
95e1e57033 Add Navigator.of
Now you don't need to pass the navigator around everywhere.
2015-10-22 12:32:42 -07:00
Jason Simmons
7d08617121 Add .gitignore file to the flx package 2015-10-22 11:26:03 -07:00
Adam Barth
69347130c6 Merge pull request #1733 from abarth/offset_type
Offset constructor is missing types
2015-10-22 10:20:30 -07:00
Ian Hickson
79cf856f53 Update style-guide.md 2015-10-22 09:55:59 -07:00
Ian Hickson
b3a3d1b142 Merge pull request #1734 from Hixie/sentinel-fix
Remove an unused constant.
2015-10-22 09:01:33 -07:00
Adam Barth
fa3b51c0be Offset constructor is missing types
Fixes #1730
2015-10-22 08:56:01 -07:00
Hixie
ee6fc727a5 Remove an unused constant. 2015-10-22 08:53:11 -07:00
Adam Barth
3d9ebae899 Merge pull request #1728 from abarth/run_intent
Teach SkyShell.apk how to respond to the RUN intent
2015-10-21 19:50:19 -07:00
Jason Simmons
e77a9e0b8e Merge pull request #1729 from jason-simmons/mixed_viewport_lock
Fix a type mismatch in IconThemeData.operator==
2015-10-21 17:37:05 -07:00
Ian Hickson
e2b78f7bef Merge pull request #1720 from Hixie/heroes
Heroes
2015-10-21 17:03:39 -07:00
Hixie
197bd2951b Heroes 2015-10-21 16:58:36 -07:00
Jason Simmons
bfa7489a8f Fix a type mismatch in IconThemeData.operator== 2015-10-21 16:41:18 -07:00
Adam Barth
96b610f366 Teach SkyShell.apk how to respond to the RUN intent
We'll use this to run app bundles off the device's file system.
2015-10-21 16:29:07 -07:00
Adam Barth
322219cd26 Merge pull request #1721 from Hixie/temp
Export gridpaper.dart
2015-10-21 15:26:26 -07:00
Adam Barth
de3a3e8bad Merge pull request #1724 from abarth/fix_trace_file
Don't use a \0 to separate base and Dart trace events
2015-10-21 15:21:02 -07:00
Adam Barth
9422e0a427 Don't use a \0 to separate base and Dart trace events
Instead, we can just concatenate the records together, which means you can view
the generated trace file without post-processing. Also, I've made the trace
file world-readable, so that you can trace a device without needing root
access.
2015-10-21 15:14:19 -07:00