Adam Barth
11fa94cd6b
Simplify demo template
...
We don't need these keys. Also, improve style in several places.
Fixes #2225
2016-02-26 13:42:25 -08:00
Devon Carew
240e499bc0
Merge pull request #2219 from devoncarew/speed_up_start
...
some performance optimizations for starting apps
2016-02-26 12:21:42 -08:00
Devon Carew
8c95500ea1
some performance optimizations for starting apps
2016-02-26 12:01:41 -08:00
Ian Hickson
c04b4c7580
Merge pull request #2206 from Hixie/analyzer-messages
...
Handle conflicting 'library' identifiers
2016-02-26 11:06:51 -08:00
Adam Barth
44ffb6f453
Merge pull request #2196 from abarth/update_packages
...
Move update_packages.dart to `flutter update-packages`
2016-02-26 11:03:48 -08:00
Hixie
a33e256ab8
Handle conflicting 'library' identifiers
...
Also, handle the new directory structure of the flutter repo.
2016-02-26 10:58:39 -08:00
Devon Carew
58f69e7f97
Merge pull request #2211 from devoncarew/flx_times
...
add timing info for flx creation
2016-02-26 10:44:45 -08:00
Ian Hickson
e843d9d0af
Merge pull request #2207 from Hixie/size-obs-5
...
SizeObserver crusade: RawInputLine
2016-02-26 10:41:23 -08:00
Yegor
6757515dce
Merge pull request #2204 from yjbanov/driver-ios-emulator
...
decouple `flutter drive` from `flutter start`; make things in `flutter_tools` more testable
2016-02-26 10:33:55 -08:00
Devon Carew
9c9bda23bb
string interpolation
2016-02-26 10:22:54 -08:00
Yegor Jbanov
677e63b79d
decouple flutter drive
from flutter start
...
flutter start's method of finding devices to run the app on is not suitable for flutter drive.
This commit also refactors several tool services to allow mocking in unit tests.
2016-02-26 10:18:24 -08:00
Hixie
be865e1e1a
SizeObserver crusade: RawInputLine
2016-02-26 10:17:47 -08:00
Devon Carew
ee8f325bc0
add timing info for flx creation
2016-02-26 10:03:42 -08:00
Ian Hickson
76b9d8d1a0
Merge pull request #2199 from Hixie/analyzer-annoyance
...
Pin analyzer package so that we're consistent
2016-02-25 16:33:36 -08:00
Adam Barth
357fbf8a42
Move update_packages.dart to flutter update-packages
...
Now that we don't require the Dart SDK to be in your path, it's hard to run
./dev/update_packages.dart. Instead, you can now run `flutter update-packages`.
Fixes #1906
2016-02-25 16:27:56 -08:00
Hans Muller
f1df2bd7c0
Gallery Menu Demo etc
2016-02-25 16:16:44 -08:00
Hixie
e4ddd950f0
Pin analyzer package so that we're consistent
...
See the comment in the patch for details.
2016-02-25 15:57:07 -08:00
Ian Hickson
0c05666ee1
Merge pull request #2178 from Hixie/size-obs-4
...
SizeObserver crusade: Dismissable
2016-02-25 15:35:35 -08:00
Phil Quitslund
ba7c992861
Merge pull request #2180 from flutter/error_codes
...
Ignore `flutter analyze` errors via analysis options.
2016-02-25 14:03:38 -08:00
Hixie
a78d2c9e8b
SizeObserver crusade: Dismissable
...
Refactor Dismissable to not need a SizeObserver and to generally tighten
up the code a bit.
2016-02-25 14:02:49 -08:00
pq
fdb2819e1e
Ignore errors via analysis options.
...
Migrates error suppression from regexps to analysis options.
* Ignore TODOs.
* Ignore strong mode field and method overrides (see `InvalidFieldOverride` and `InvalidMethodOverride` in `strong/info.dart`.
* Remove stale regexp to capture refs to dead `dart:ui_internals` URI.
* Remove stale regexp to capture dead strong mode "will need runtime check to cast to type" error (https://github.com/dart-lang/sdk/issues/24542 ).
5 regexp downs, another small handful (~4) to go! :)
2016-02-25 13:49:05 -08:00
Jason Simmons
23641c2d7e
Do not create a font manifest if the app has no flutter.yaml
2016-02-25 13:17:05 -08:00
Matt Perry
ad158f7862
Merge pull request #1996 from mpcomplete/pointy
...
Use pointycastle as crypto library. cipher is deprecated.
2016-02-25 15:30:03 -05:00
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
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
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
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
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
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
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
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