24470 Commits

Author SHA1 Message Date
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
Devon Carew
b7f918c92b change how we specify test timeout 2015-10-24 12:33:17 -07:00
Devon Carew
98d61fc181 create an all.dart test script to work around an issue with pub run test on windows 2015-10-24 12:28:05 -07:00
Devon Carew
e7da41afd5 Update init_test.dart
Increase the test timeout for the `init` test to 2 minutes (test was timing out downloading assets on appveyor).
2015-10-24 11:42:19 -07:00
Devon Carew
5dbeb8f018 fix tests on windows
remove a runInShell arg on windows when launching pub
2015-10-23 22:44:56 -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
Chinmay Garde
6b2d6fdc8c Update pubspec and changelog for 0.0.26 2015-10-23 14:54:03 -07:00
Nathan Kerr
bfeaaa8fb7 Web paths should always replace \ with / 2015-10-23 14:04:09 -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
Adam Barth
a9ef4e1ff4 Merge pull request #121 from TheBosZ/master
Don't rely on external shasum program to calculate sum of the APK.
2015-10-23 13:14:36 -07:00
Nathan Kerr
54e45e2b56 Don't rely on external shasum program to calculate sum of the APK.
Windows has no direct way to kill a process based on port. Uses netstats and loops through the results to find the correct process to kill.

Also modify Process.run for the server to runInShell if on Windows.

Style nits.
2015-10-23 13:06:26 -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
Nathan Kerr
24fe7efa28 Don't rely on external shasum program to calculate sum of the APK. 2015-10-23 09:30:03 -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