Commit Graph

2300 Commits

Author SHA1 Message Date
Hixie
768268ad3f Workaround to re-enable test
This is a workaround for:
   https://github.com/dart-lang/sdk/issues/25246
2015-12-15 13:38:45 -08:00
Hans Muller
0d983cd87a CustomMultiChildLayout and CustomOneChildLayout now use their delegate's shouldRelayout() method instead of a "token" to decide if layout is needed.
MultiChildLayoutDelegate and OnChildLayoutDelegate are now expected to be stateless, i.e. they'll typically be built each time their custom layout widget is built. If the identical layout delegate is provided to a new custom layout, layout will not happen.

Revised the bottom sheet implementation per the new custom layout classes. Removed a SizeObserver.

Fixes #899
2015-12-15 12:37:42 -08:00
Devon Carew
d9cab80c8a Merge pull request #939 from devoncarew/update_service_extensions
remove todos for service extension params
2015-12-15 11:57:47 -08:00
Kris Giesing
54cec3f13f Export dependent class from newton package 2015-12-15 11:09:33 -08:00
Devon Carew
4226b6008e remove todos for service extension params 2015-12-15 11:08:42 -08:00
Devon Carew
7d651af4f5 Merge pull request #911 from devoncarew/service_extensions
expose flutter debug functionality using VM service extensions
2015-12-15 10:53:50 -08:00
Devon Carew
cde14ab649 more checked mode guards; more types; fewer todos 2015-12-14 19:04:34 -08:00
Jason Simmons
fb281635bd rev engine 2015-12-14 17:52:14 -08:00
krisgiesing
ac2ad62cce Merge pull request #925 from krisgiesing/doc_tweaks
Fix formatting issue
2015-12-14 16:41:01 -08:00
Kris Giesing
a145490730 Fix formatting issue 2015-12-14 16:35:00 -08:00
Hixie
7a12d70df2 Fix build breakage 2015-12-14 14:31:56 -08:00
Eric Seidel
28c3b5581e Merge pull request #917 from eseidelGoogle/instrument
Split out Instrumentation logic from WidgetTester
2015-12-14 13:54:32 -08:00
Eric Seidel
3053c0ad72 Split out Instrumentation logic from WidgetTester
This will allow writing tests/benchmark which want to use
the engine's default beginFrame and normal passage of time.

@Hixie
2015-12-14 13:54:15 -08:00
Ian Hickson
0f9d8bc2c1 Merge pull request #916 from Hixie/analyze
Always import our packages when analyzing.
2015-12-14 13:45:19 -08:00
Hans Muller
81ab91a6e1 Merge pull request #914 from HansMuller/null_fling_simulation
Only set tolerance if simulation is non-null

Fixes #898
2015-12-14 13:10:26 -08:00
Hixie
0a6b0f9b0b Always import our packages when analyzing. 2015-12-14 12:56:31 -08:00
Devon Carew
211aeabb87 review comments 2015-12-14 12:51:39 -08:00
Jason Simmons
db10a6ee29 Update SoundEffectPlayer to use the SoundPool API 2015-12-14 12:37:17 -08:00
Hans Muller
7ebb6412a9 Only set tolerance if simulation is non-null 2015-12-14 12:27:50 -08:00
Hans Muller
80c5e6a3c2 Support TabBarView swipe
Swiping left or right in a TabBarView now changes the selected tab in the way it's supposed to.

Currently swipe gestures that start while the selection change is underway are ignored. Will fix that in a separate change.
2015-12-14 11:23:12 -08:00
Hixie
889a1e8eb3 Analyze more tests. 2015-12-14 11:06:42 -08:00
Jason Simmons
80e2422f6a Use Scheduler.instance in flutter_sprites 2015-12-14 10:27:55 -08:00
Devon Carew
ce6b330a80 expose flutter debug functionality using VM service extensions 2015-12-14 10:22:20 -08:00
Devon Carew
9ad9422007 Merge pull request #907 from devoncarew/mini_fab
support mini fabs
2015-12-14 09:52:21 -08:00
Devon Carew
a858222839 support mini fabs 2015-12-14 09:46:06 -08:00
Ian Hickson
d29970df8b Rename Pointerer to Gesturer. 2015-12-14 07:54:54 -08:00
Ian Hickson
ade93651ac Refactor bindings. 2015-12-13 23:34:41 -08:00
Ian Hickson
9487197502 Merge pull request #895 from Hixie/overlays
Avoid rebuilding entire app when an overlay needs updating
2015-12-11 21:55:11 -08:00
Ian Hickson
e78d6cbc6b Merge pull request #857 from Hixie/hashCodes
Use hashValues instead of hard-coded hashCode getters
2015-12-11 21:46:32 -08:00
Ian Hickson
76319df5df Avoid rebuilding entire app when an overlay needs updating 2015-12-11 21:35:10 -08:00
Ian Hickson
1ab83e668f Merge pull request #894 from Hixie/rev
rev the engine
2015-12-11 21:20:08 -08:00
Ian Hickson
ab901beb27 rev the engine 2015-12-11 21:05:26 -08:00
Ian Hickson
cb39108146 Minor fixes in comments and style. 2015-12-11 20:25:08 -08:00
Jason Simmons
e8efac19ba Merge pull request #883 from jason-simmons/roll_mojo_1210
Upgrade the test package (needed by the latest mojo roll)
2015-12-11 09:43:57 -08:00
Ian Hickson
d1364643db applyPaintTransform() improvements
Previously, applyPaintTransform() had to know how it was positioned in
its parent, even though that's really the parent's responsibility.

Now, applyPaintTransform() is given a child and applies the transform
that it would give the child during paint.

This makes it possible for applyPaintTransform() to work across
coordinate system boundaries (e.g. box to sector, or view to box --
previously, view to box only worked because we explicitly skipped that
step -- since view doesn't actually apply a transform, it doesn't
really matter).
2015-12-10 22:22:00 -08:00
Ian Hickson
5996d381a7 Check for cycles in our various tree structures. 2015-12-10 19:30:46 -08:00
Adam Barth
2a2784e822 Merge pull request #882 from abarth/image_docs
Add dartdoc for image classes
2015-12-10 18:52:03 -08:00
Adam Barth
40dda1ed4b Add dartdoc for image classes
- Adds dartdoc for all the `of` functions.
 - Renames Image to RawImage. This widget is rarely used and shouldn't take up
   such a nice global name.

Fixes #361
2015-12-10 18:34:56 -08:00
Florian Loitsch
e8367f5346 Merge pull request #881 from floitschG/remove_scheduler_from_animation
Remove reference to scheduler in animation.
2015-12-10 16:27:39 -08:00
Jason Simmons
cb6eef70e8 Upgrade the test package (needed by the latest mojo roll) 2015-12-10 16:25:12 -08:00
Florian Loitsch
86dbf9431f Remove reference to scheduler in animation. 2015-12-10 15:38:39 -08:00
Adam Barth
87e6a5cc12 Add more dartdoc for basic widgets 2015-12-10 14:58:57 -08:00
Jim Beveridge
f92cd47651 Merge pull request #853 from jimbeveridge/pagetest
Added rotation test for new PageableList code.
2015-12-10 12:57:28 -08:00
Hans Muller
54f2d4cb94 Merge pull request #878 from HansMuller/pageable_list_tabs
TabBarView is-a PageableList, doesn't need itemExtent

Base TabBarView on PageableList so that itemExtent and its SizeObserver aren't needed.

TabBarView scrolling is still TBD.
2015-12-10 12:34:32 -08:00
Adam Barth
ffad464c96 Merge pull request #877 from abarth/better_asserts
Improve asserts when performLayout missing
2015-12-10 12:23:36 -08:00
Hans Muller
55f6593017 tabs scroll duration is 300ms 2015-12-10 12:20:29 -08:00
Hans Muller
9651db22df TabBarView is-a PageableList, doesn't need itemExtent 2015-12-10 12:20:29 -08:00
Adam Barth
2edb6807b8 Improve asserts when performLayout missing
Fixes #566
2015-12-10 12:15:07 -08:00
Adam Barth
4fa9e57185 Merge pull request #872 from abarth/build_errors
Improve error messages when build fails
2015-12-10 12:00:30 -08:00
Adam Barth
2f973faeaa Merge pull request #871 from abarth/recognize_offline
Recognize offline status in adb
2015-12-10 11:27:50 -08:00