3029 Commits

Author SHA1 Message Date
Ian Hickson
d998edd366 Merge pull request #2236 from Hixie/raw-gesture-detector-assert
Fix crash in Block.
2016-02-26 16:41:15 -08:00
Adam Barth
6f7ceff048 Merge pull request #2235 from abarth/animation_status
Elide fewer AnimationStatus callbacks
2016-02-26 16:36:04 -08:00
Adam Barth
25ab5555b7 Elide fewer AnimationStatus callbacks
Previously we would elide forward and reverse callbacks that canceled each
other out, which broke the expected state machine. Now we synchronously deliver
status callbacks when start an animation.

Fixes #1913
2016-02-26 16:29:14 -08:00
Hans Muller
8cb9ef70fa tabs 2016-02-26 16:03:05 -08:00
Hixie
fcb3071936 Fix crash in Block.
This assert was overzealous. You can update a RawGestureDetector any
time before the semantics phase, it doesn't have to only be during your
child's layout.

This is good because Block has additional PointerListeners between its
GestureDetector and its Viewport.
2016-02-26 15:56:40 -08:00
Ian Hickson
13b8777f89 Merge pull request #2230 from Hixie/size-obs-7
SizeObserver crusade: Heroes
2016-02-26 15:47:39 -08:00
Adam Barth
6ecbd548c4 Merge pull request #2227 from abarth/scroll_events
Scrollable's callbacks should follow a state machine
2016-02-26 14:47:53 -08:00
Devon Carew
3298f874f7 Merge pull request #2226 from devoncarew/remove_connected
remove the isConnected() method from device
2016-02-26 14:43:08 -08:00
Adam Barth
c629006748 Scrollable's callbacks should follow a state machine
Now onScroll callbacks are always bracketed by onScrollStart and onScrollEnd
callbacks.

Fixes #1822
2016-02-26 14:39:50 -08:00
Ian Hickson
0f92316bea Merge pull request #2223 from Hixie/size-obs-6
SizeObserver crusade: Remove EnterExitTransition
2016-02-26 14:26:29 -08:00
Ian Hickson
fa659389e4 Merge pull request #2215 from Hixie/prints-in-tests
Remove some prints in tests.
2016-02-26 14:26:18 -08:00
Hans Muller
8edeecbcd0 Merge pull request #2216 from HansMuller/stocks_demo
Add CheckedPopupMenuitem, update the Stocks demo
2016-02-26 14:04:56 -08:00
Hixie
8f2ef23736 SizeObserver crusade: Heroes
Somehow this actually made heroes way simpler.
2016-02-26 13:56:55 -08:00
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
022047f5eb remove the isConnected() method from device 2016-02-26 13:23:48 -08:00
Hans Muller
3d377305f4 updated per review feedback 2016-02-26 13:13:46 -08:00
Hixie
f7d493b65b SizeObserver crusade: Remove EnterExitTransition
...and friends.
2016-02-26 12:55:52 -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
Hans Muller
179d41e68f Add CheckedPopupMenuitem, update the Stocks demo 2016-02-26 11:27:44 -08:00
Hixie
e5087d4dd4 Remove some prints in tests. 2016-02-26 11:07:55 -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