2016 Commits

Author SHA1 Message Date
Kris Giesing
f2fd5e32a5 Restore previous tap behaviors: no timeout, one pointer
Don't use a timeout to cancel tap tracking. Track only one primary pointer
and ignore non-primary pointers. Update tests to reflect desired behaviors.

Fixes #1779, #1780, #1781.
2015-10-26 13:41:29 -07:00
Jason Simmons
310ce31891 Merge pull request #1791 from jason-simmons/stocks_example_fetch
In the stock list, filter out any symbols that have not yet been fetched
2015-10-26 12:37:03 -07:00
Ian Hickson
7822bd03ae Merge pull request #1776 from Hixie/stocks-back
Fix Stocks search mode back button.
2015-10-26 12:02:33 -07:00
Ian Hickson
98f2c78e32 Merge pull request #1777 from Hixie/debug-touches
debugPaintPointersEnabled mode
2015-10-26 12:02:27 -07:00
Ian Hickson
6c0635ca64 Merge pull request #1782 from Hixie/gesture-fixes
trivial cleanup in gesture code
2015-10-26 12:02:24 -07:00
Ian Hickson
6684b16599 Merge pull request #1783 from Hixie/better-feedback-for-null-child
better feedback for null child to a Block or Column
2015-10-26 12:02:18 -07:00
Ian Hickson
194255e5f5 Merge pull request #1789 from Hixie/ValueChange
Radio<T> and ValueChanged<T>
2015-10-26 12:02:09 -07:00
Matt Perry
cdcd3de95b Add LICENSE file to flx package. 2015-10-26 14:52:52 -04:00
Matt Perry
80667ded1f Change updater to use shared flx package.
This changes flutter's updater package to depend on and use the new flx
package. I also did a little cleanup of the Bundle interface.
2015-10-26 14:20:32 -04:00
Jason Simmons
194f0f22e3 In the stock list, filter out any symbols that have not yet been fetched
If you load the example and immediately switch to the Portfolio tab, you may
see exceptions due to symbols that are in the portfolio list but whose
data is not yet present in the stocks map
2015-10-26 11:12:08 -07:00
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
Ian Hickson
e667b3c097 better feedback for null child to a Block or Column
Fixes #1687.
2015-10-25 20:27:10 -07:00
Ian Hickson
665e665763 trivial cleanup in gesture code 2015-10-25 20:09:20 -07:00
Ian Hickson
a66e55a89c Fix Stocks search mode back button.
Back button wasn't reliably working in checked mode.
2015-10-25 18:31:03 -07:00
Ian Hickson
76381b8f42 debugPaintPointersEnabled mode
Implements a mode that highlights RenderBoxes while events are being
routed through them.

Also, moves the size painting to after paint, so that opaque boxes
don't obscure the debugging lines.
2015-10-25 18:30:52 -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