2002 Commits

Author SHA1 Message Date
Hixie
b1dbf4528c Radio<T> and ValueChanged<T>
Make Radio widgets take a type that describes the type of their value,
so that you can catch when you use the wrong value.

Standardise on ValueChanged<Foo> instead of having a FooValueChanged
for every value of Foo.
2015-10-26 11:03:24 -07:00
Adam Barth
3154d55ea2 Rev pub packages 2015-10-26 10:42:14 -07:00
Jason Simmons
a09ac6cc8c Merge pull request #1762 from jason-simmons/selection_delete_surround
Keep the selection within bounds in deleteSurroundingText
2015-10-26 09:58:06 -07:00
Hixie
a6c473ea95 Strong modeify the examples
This makes skyanalyzer also check the examples, and fixes everything it
found there.
2015-10-23 18:13:25 -07:00
Viktor Lidholt
1dbf9bc891 Fixes issue in sprite node 2015-10-23 16:42:27 -07:00
Jason Simmons
76f83d1de1 Keep the selection within bounds in deleteSurroundingText
If the text is empty, the IME may call deleteSurroundingText(1, 0) if the user
hits the delete key.  The selection should remain at position 0 if this
happens.
2015-10-23 14:55:14 -07:00
Viktor Lidholt
5a481ed554 Merge pull request #1746 from vlidholt/master
Working node to physics world conversions
2015-10-23 13:48:45 -07:00
Viktor Lidholt
68be30e0ec Removes debug printouts in sprite physics 2015-10-23 13:46:19 -07:00
Viktor Lidholt
3708667308 Fixes sprite physics to work correctly with the node graph
Teleportation for physics bodies works again
2015-10-23 13:31:13 -07:00
Jason Simmons
6669aafad7 Merge pull request #1759 from jason-simmons/edit_text_keyboard_flicker
Hide the keyboard in a deferred task.
2015-10-23 12:46:58 -07:00
Adam Barth
375f3247a7 Merge pull request #1761 from abarth/rm_old_text_painter
Delete OldTextPainter
2015-10-23 12:22:19 -07:00
Adam Barth
aa418844ea Delete OldTextPainter
Also, delete all references to DOM APIs.
2015-10-23 12:07:55 -07:00
Kris Giesing
73eae93b74 Remove inadvertently committed file 2015-10-23 12:02:18 -07:00
Jason Simmons
6c98721d65 Hide the keyboard in a deferred task.
This is intended to eliminate the flicker that occurs when one widget hides
the keyboard and then another shows it within the same update cycle.
2015-10-23 11:45:28 -07:00
krisgiesing
739fda1af4 Merge pull request #1743 from krisgiesing/doubletap
Fix #1471 Add double tap gesture
2015-10-23 11:31:06 -07:00
Kris Giesing
bf9e21876e Mark field final in double tap recognizer 2015-10-23 11:26:40 -07:00
Kris Giesing
c7ccf256b1 Style tweak in double tap recognizer 2015-10-23 11:25:01 -07:00
Adam Barth
228469bbb7 Enable the new TextPainter 2015-10-23 10:18:49 -07:00
Adam Barth
549569637f Rev pub package 2015-10-23 10:15:14 -07:00
Adam Barth
315d77a9ec Rev pub packages and simplify big_red_button 2015-10-23 10:12:02 -07:00
Adam Barth
615445566f 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
5ba7a1c7ad 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
eda3a18c31 Avoid building the fitness app on iOS due to build errors 2015-10-22 17:50:58 -07:00
Kris Giesing
c2916f47f9 Add assertions to tap recognizer 2015-10-22 17:30:16 -07:00
Kris Giesing
709b3550a6 Address comments 2015-10-22 17:21:47 -07:00
Adam Barth
54bf20e107 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
Jason Simmons
4816997bd6 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
7ea42642f1 Merge pull request #1745 from HansMuller/stack_alignment
Use FractionalOffset alignment value in Stack and IndexedStack
2015-10-22 15:51:35 -07:00
Hans Muller
6c27d38337 Use FractionalOffset alignment value in Stack and IndexedStack 2015-10-22 15:44:25 -07:00
Hixie
f67bd7d745 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
dd136c49de Merge pull request #1741 from Hixie/heroes
Unmatched heroes don't need to animate
2015-10-22 15:39:24 -07:00
Kris Giesing
608e971f5b Add another double-tap test 2015-10-22 15:29:39 -07:00
Jim Beveridge
9ea722d9b6 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
d25039df30 Use a type parameter for Dropdown value 2015-10-22 15:14:32 -07:00
Kris Giesing
219e189a18 Merge branch 'master' into doubletap 2015-10-22 15:08:04 -07:00
Jim Beveridge
4b60def23c 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
5c439f2b7e 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
bd9036cdb8 Port spinning_mixed demo to fn3 2015-10-22 14:20:13 -07:00
Hans Muller
33c7820d7e 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
de395582d5 Add Navigator.of
Now you don't need to pass the navigator around everywhere.
2015-10-22 12:32:42 -07:00
Jason Simmons
57d1bbbfbf Add .gitignore file to the flx package 2015-10-22 11:26:03 -07:00
Jason Simmons
35bd448bdd 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
Hixie
fa8c45151f Heroes 2015-10-21 16:58:36 -07:00
Jason Simmons
8288769661 Fix a type mismatch in IconThemeData.operator== 2015-10-21 16:41:18 -07:00
Adam Barth
8414b4c1a1 Merge pull request #1721 from Hixie/temp
Export gridpaper.dart
2015-10-21 15:26:26 -07:00
Matt Perry
63dbae7eb0 Merge pull request #1722 from mpcomplete/flx.1
Create new 'flx' package. Just a copy for now.
2015-10-21 17:56:37 -04:00
Matt Perry
6c00740663 deps 2015-10-21 17:55:20 -04:00
Matt Perry
104e125d93 Create new 'flx' package. Just a copy for now.
This will be shared by sky/updater and flutter_tools. Currently
bundle.dart and signing.dart are unmodified copies of the files from
updater and flutter_tools, respectively. This is so future changes are
easier to see.
2015-10-21 17:20:25 -04:00
Hixie
9a0b1f815c Export gridpaper.dart 2015-10-21 13:35:41 -07:00
Hixie
4ab0720189 Debug grid over the navigator stack
This grid makes it significantly easier to track down errors when you're
looking at coordinates in a render tree dump and want to see if they're
what you expect or if they're wildly away from the right location.
2015-10-21 13:31:09 -07:00