4285 Commits

Author SHA1 Message Date
Matt Perry
0e92d9004f Use pointycastle as crypto library. cipher is deprecated. 2016-02-25 15:13:30 -05:00
Devon Carew
65e01accce Merge pull request #2159 from flutter/devoncarew-patch-1
Update android_workflow.dart
2016-02-25 11:41:02 -08:00
Devon Carew
80d6130463 Update android_workflow.dart 2016-02-25 11:36:17 -08:00
Ian Hickson
135a38d693 Merge pull request #2165 from Hixie/size-obs-3
SizeObserver crusade: ScrollableViewport and tabs
2016-02-25 11:05:17 -08:00
Hixie
f808055756 Remove size observers from scrollables.
Also:
 - add operator==/hashCode/toString to ViewportDimensions
 - add toString to BindingBase
 - add toString and debugFillDescription to ScrollBehavior
 - fix a bug in the RawGestureDetectorState's replaceGestureRecognizers
 - rename MixedViewport's onExtentsUpdate to onExtentChanged
 - replace ExtentsUpdateCallback with ValueChanged<double>
 - remove a microtask for dispatching scroll start, since it
   did not appear to have any purpose
 - added dartdocs to Instrumentation until I understood it
 - made all event dispatch in Instrumentation drain microtasks
2016-02-25 10:55:12 -08:00
Andrew Wilson
1ce3146df2 Merge pull request #2160 from apwilson/curves
Add flipped curved
2016-02-25 10:36:30 -08:00
Andrew Wilson
203415771e And inverted and reversed curves. 2016-02-25 10:28:43 -08:00
Devon Carew
6e0c4f0fcf Update android_workflow.dart
fix https://github.com/flutter/flutter/issues/2157
2016-02-25 09:25:06 -08:00
Devon Carew
4860e63f44 Merge pull request #2153 from devoncarew/add_android_icon
add an android icon to the starter app
2016-02-25 00:40:49 -08:00
Devon Carew
c6dcac15d5 remove templates/create/.analysis_options.tmpl 2016-02-25 00:38:31 -08:00
Devon Carew
7c53004da1 Merge pull request #2152 from devoncarew/fix_android_manifest
fix a regression in the android manifest
2016-02-25 00:37:08 -08:00
Devon Carew
5ee1cba149 fix a regression in the android manifest 2016-02-24 23:40:00 -08:00
Devon Carew
f57afa762f add an android icon to the starter app 2016-02-24 23:12:33 -08:00
Adam Barth
6af4492773 Merge pull request #2147 from abarth/static_arena
Remove PointerRouter and GestureArena arguments
2016-02-24 22:32:26 -08:00
Adam Barth
4b1a9ff14c Remove PointerRouter and GestureArena arguments
There's no reason to make clients supply a PointerRounter and a
GestureArena when constructing gesture recognizers. These objects are
statics and the gesture recognizers can just grab them directly.

Also, remove the callback constructor arguments. Almost no code used
them. Instead, people seem to prefer using the `..` operator to set
callbacks on the recognizers. Removing the arguments removes a bunch of
boilerplate.
2016-02-24 22:23:00 -08:00
Devon Carew
dc0e97e51a Merge pull request #2139 from devoncarew/doctor_create
run flutter doctor as part of create
2016-02-24 19:21:27 -08:00
Devon Carew
bc8e560779 run flutter doctor as part of create 2016-02-24 19:07:19 -08:00
Adam Barth
9d4e0e8551 Merge pull request #2142 from abarth/interactive_text
Add the ability to recognize gestures on text spans
2016-02-24 17:32:30 -08:00
Ian Hickson
4ef2014865 Merge pull request #2143 from Hixie/move-markNeedsLayout
Fix move() to call markNeedsLayout().
2016-02-24 17:28:18 -08:00
Hixie
512b2e1972 Fix move() to call markNeedsLayout().
Otherwise, changing the order of your children (e.g. shuffling a list of
children) will have no visible effect.
2016-02-24 17:10:59 -08:00
Adam Barth
8e326d724a Add the ability to recognize gestures on text spans
Currently the interface for recognizing gestures on text spans is pretty ugly,
but hopefully we can improve it with time.

Fixes #156
2016-02-24 17:07:35 -08:00
Adam Barth
62609669d8 Merge pull request #2141 from abarth/text_span_equals
Fix TextSpan's operator==
2016-02-24 17:04:45 -08:00
Adam Barth
25219277f6 Fix TextSpan's operator==
We forgot to compare the lengths of the lists.
2016-02-24 16:53:22 -08:00
Ian Hickson
941d69dbb7 Merge pull request #2140 from Hixie/mutable-gesture-detector
Just-in-time mutations of GestureDetector
2016-02-24 16:48:09 -08:00
Hixie
0df3730d3e Just-in-time mutations of GestureDetector
This allows us to adjust exactly which gestures we're listening for
during layout, which I'll use to kill a SizeObserver.
2016-02-24 16:18:05 -08:00
Adam Barth
d1154c2573 Rev engine 2016-02-24 16:16:38 -08:00
Eric Seidel
fbe4cdf5c6 Merge pull request #2129 from eseidelGoogle/space_per_flex
Don't give children negative sizes when overconstrained
2016-02-24 15:30:16 -08:00
Eric Seidel
4e7a9de578 Fix two bugs in Flex exposed by the Game in landscape mode
One bug was masking the other, hence they both needed to be fixed
and tested separately.

@Hixie
2016-02-24 15:30:05 -08:00
Adam Barth
2514d8a663 Merge pull request #2135 from abarth/improve_text_span
Improve TextSpan
2016-02-24 14:16:41 -08:00
Yegor
586ab30c98 Merge pull request #2126 from yjbanov/sample-driver-test-waits
wait for text to change in the sample driver test
2016-02-24 14:11:41 -08:00
Adam Barth
fb4dbf4584 Improve TextSpan
Now we just have one TextSpan class that handles both simple strings, trees of
children, and styling both. This approach simplifies the interface for most
clients.

This patch also removes StyledText, which was weakly typed and tricky to use
correctly. The replacement is RichText, which is strongly typed and uses
TextSpan.
2016-02-24 14:07:10 -08:00
yjbanov
d2c94990fa deflake retry_test.dart (using FakeAsync) 2016-02-24 13:58:59 -08:00
yjbanov
54194a9075 wait for text to change in the sample driver test 2016-02-24 13:58:31 -08:00
Chinmay Garde
ccc9a25a47 Merge pull request #2134 from chinmaygarde/develop
Disable flaky retry_test
2016-02-24 13:41:38 -08:00
Chinmay Garde
54daeaa252 Disable flaky retry_test 2016-02-24 13:40:31 -08:00
Adam Barth
755a180af2 Merge pull request #2128 from abarth/animation_bounds
Keep AnimationController's _value in bounds
2016-02-24 13:05:44 -08:00
Devon Carew
dc4830b0fa Merge pull request #2123 from devoncarew/device_commands
additional validation for device commands
2016-02-24 12:54:28 -08:00
Chinmay Garde
21057de9ae Merge pull request #2118 from chinmaygarde/develop
Remove all inline templates and provide a way to specify templates as resources
2016-02-24 12:47:37 -08:00
Adam Barth
9e45b85e72 Keep AnimationController's _value in bounds
Rather than clamping _value on read, we now clamp the value when writing it,
which simplifies reasoning about _value.
2016-02-24 12:15:57 -08:00
Chinmay Garde
038367ad24 Remove all inline templates and provide a way to specify templates as resources 2016-02-24 11:33:07 -08:00
Yegor
1acdfb7933 Merge pull request #2120 from yjbanov/driver-wait-on-reads
support waiting for things to happen in Flutter Driver
2016-02-24 11:13:40 -08:00
Devon Carew
37290d866e additional validation for device commands 2016-02-24 11:11:23 -08:00
yjbanov
7f39703759 support waiting for things to happen in Flutter Driver 2016-02-24 10:01:00 -08:00
Hans Muller
df52a77ffd Merge pull request #2119 from HansMuller/rebuild_test
Test BottomSheet rebuilding with ScaffoldFeatureController.setState()
2016-02-24 08:37:37 -08:00
Hans Muller
ba93987c6e Added bottom_sheet_rebuild_test 2016-02-24 07:49:08 -08:00
Phil Quitslund
1062c44f4a Merge pull request #2094 from flutter/analyze_fixes
Enumerate lints for analysis in synthesized options file.
2016-02-23 16:36:09 -08:00
Hans Muller
8111fa7995 Merge pull request #2117 from HansMuller/gallery_home
Moved the Gallery's home page padding inside its Block
2016-02-23 16:10:04 -08:00
Hans Muller
8dcdec532f Moved the home page padding to inside the Block 2016-02-23 15:49:54 -08:00
Hans Muller
7915e909a6 Merge pull request #2110 from HansMuller/list_demo
Gallery List Demo
2016-02-23 15:35:33 -08:00
Hans Muller
25e22f5648 List Gallery Demo 2016-02-23 15:24:41 -08:00