Commit Graph

29153 Commits

Author SHA1 Message Date
Hans Muller
66d855274a gallery dialog demos 2016-02-10 16:29:55 -08:00
Hans Muller
8b1229874d Merge pull request #1768 from abarth/scroll_padding
ScrollableList was applying padding twice
2016-02-10 16:13:34 -08:00
Adam Barth
40151689f1 ScrollableList was applying padding twice
We need to subtract the padding instead of adding it.
2016-02-10 15:51:25 -08:00
Devon Carew
4363cf8a77 Merge pull request #1767 from devoncarew/fix_npe
fix an NPE when the flutter.yaml file is missing
2016-02-10 15:51:00 -08:00
Devon Carew
aa66a7720c fix an NPE when the flutter.yaml file is missing 2016-02-10 15:41:57 -08:00
Ian Hickson
4e4887a93e Merge pull request #1763 from Hixie/asserts
More BoxConstraints asserts
2016-02-10 15:01:25 -08:00
Todd Volkert
1e2e09ed09 Rev engine 2016-02-10 13:51:50 -08:00
Hixie
296540168a More BoxConstraints asserts
The asserting will continue until morale improves!

* Convert all assert(*.isNormalized) checks to use the new
  debugAssertIsNormalized technology.
* Convert CustomMultiChildLayout to use the new RenderingError
  technology to greatly improve the detail in errors you get when
  writing CustomMultiChildLayout delegates.
* Add BoxConstraints.copyWith().
* Indent the descendants in the rendering exception data dump so that
  when you have multiple children it's clearer what's going on.
2016-02-10 13:32:04 -08:00
Adam Barth
64f588c12b Merge pull request #1761 from abarth/min_scroll_behavior
ScrollBehavior should support negative min scroll offset
2016-02-10 12:42:14 -08:00
Adam Barth
ec9ab32435 ScrollBehavior should support negative min scroll offset
Fixes #1730
2016-02-10 12:13:20 -08:00
Matt Perry
eaadaa79f0 Merge pull request #1627 from mpcomplete/ios
Refactor service-related code to be shared between android and IOS.
2016-02-10 15:01:05 -05:00
Ian Hickson
877cfd1c9d Merge pull request #1760 from Hixie/asserts
Improve asserts around BoxConstraints
2016-02-10 11:55:36 -08:00
Matt Perry
a02d583d02 Refactor service-related code to be shared between android and IOS.
The IOS code is totally untested. Need a Mac to test it.
2016-02-10 14:52:17 -05:00
Hixie
3bd8bc3362 Improve asserts around BoxConstraints
Negative constraints never make sense, so catch those too.

Make RenderObject.layout's isNormalized assert use the newer more fancy
debug version of isNormalized.
2016-02-10 11:12:13 -08:00
Collin Jackson
96405fb42f Merge pull request #1756 from collinjackson/upgrade_anywhere
Upgrade command shouldn’t validate project, fixes #1745
2016-02-10 10:48:05 -08:00
Adam Barth
2c993549b5 Merge pull request #1758 from abarth/page_anchor
Teach PageableList about scroll anchors
2016-02-10 10:41:05 -08:00
Adam Barth
4ba5e712bc Teach PageableList about scroll anchors 2016-02-10 10:34:59 -08:00
Collin Jackson
5cd9d5b214 Upgrade command shouldn’t validate project, fixes #1745 2016-02-10 10:04:35 -08:00
Adam Barth
b07203a887 Merge pull request #1749 from abarth/viewport_scroll_anchor
Teach ScrollableList about scroll anchors
2016-02-10 09:47:41 -08:00
Adam Barth
d6ae53fec4 Teach ScrollableList about scroll anchors 2016-02-10 09:25:49 -08:00
Devon Carew
244239d982 Merge pull request #1753 from devoncarew/fix_logging_ios
fix an issue with logging ios simulator output
2016-02-10 09:24:55 -08:00
Devon Carew
0a837813e4 Merge pull request #1722 from devoncarew/introduce_globals
Introduce globals
2016-02-09 22:59:54 -08:00
Devon Carew
2dbceafbc6 introduce globals scoped to the app's context 2016-02-09 22:03:13 -08:00
Devon Carew
05113d5829 fix an issue with logging ios simulator output 2016-02-09 21:21:02 -08:00
Ian Hickson
b2c710dd8d Merge pull request #1744 from Hixie/tap-drag-target
Tapping through drag targets.
2016-02-09 17:15:08 -08:00
Hixie
4d5e40675b Tapping through drag targets.
Factor out the HitTestBehavior logic so that RenderMetaData can use it.

Use that in DragTarget.
2016-02-09 17:03:46 -08:00
Devon Carew
a9a445b19d Merge pull request #1743 from devoncarew/ignore_io_build
ignore derived resources in ios/build
2016-02-09 16:24:08 -08:00
Jason Simmons
8baffeb9a6 Merge pull request #1724 from jason-simmons/refresh_update_snapshot
Add a refresh command that rebuilds the snapshot and reloads it on th…
2016-02-09 16:22:51 -08:00
Devon Carew
427bc1e392 ignore derived resources in ios/build 2016-02-09 15:41:45 -08:00
Adam Barth
efd5aea004 Merge pull request #1736 from abarth/scroll_anchor3
Add scroll anchor for Block
2016-02-09 15:23:37 -08:00
Adam Barth
f0276d09e4 Add scroll anchor for Block
This patch teaches block how to anchor its scrolling to the end rather than the
start.

Fixes #136
2016-02-09 15:17:39 -08:00
Ian Hickson
a82b8963a4 Merge pull request #1741 from Hixie/drags
Draggable: childWhenDragging, maxSimultaneousDrags
2016-02-09 15:14:10 -08:00
Viktor Lidholt
02d23e0add Merge pull request #1660 from vlidholt/spriteboxfix
Fixes issue with replacing the root node
2016-02-09 15:01:20 -08:00
Hixie
c56d378868 Draggable: childWhenDragging, maxSimultaneousDrags 2016-02-09 14:47:53 -08:00
Devon Carew
1f0d292079 Merge pull request #1735 from devoncarew/filter_offline_devices
filter offline devices from notifications
2016-02-09 14:38:39 -08:00
Devon Carew
36b6210c93 filter offline devices from notifications 2016-02-09 13:30:21 -08:00
Devon Carew
1616f2a189 Merge pull request #1729 from devoncarew/rename_extensions
rename the service protocol extensions
2016-02-09 13:29:29 -08:00
Jason Simmons
bf1246d881 Add a refresh command that rebuilds the snapshot and reloads it on the device
This provides a fast way to iterate on changes to a Flutter app that only
involve updates to Dart code and do not require a full build and install
of the FLX and APK
2016-02-09 13:08:19 -08:00
Adam Barth
b6678c62bd Merge pull request #1734 from abarth/rm_flutter_dev
Remove FLUTTER_DEV environment var
2016-02-09 13:05:13 -08:00
Adam Barth
c83b663afd Remove FLUTTER_DEV environment var
This check is triggering even for folks who don't have FLUTTER_DEV set, which
is breaking their toolchain because we're not running `pub get` on the
flutter_tools package.
2016-02-09 12:55:54 -08:00
Ian Hickson
33885a3c46 Merge pull request #1713 from Hixie/bench
Update docs for benchmarks.
2016-02-09 12:34:25 -08:00
Hans Muller
f7dfcd24f2 Merge pull request #1728 from HansMuller/kStatusBarHeight
removed kStatusBarHeight constant
2016-02-09 12:00:45 -08:00
Devon Carew
284db8cc76 rename the service protocol extensions 2016-02-09 11:53:52 -08:00
Hans Muller
b96939a67b removed kStatusBarHeight constant 2016-02-09 11:51:38 -08:00
Adam Barth
7458ed226a Merge pull request #1710 from abarth/scroll_anchor
Preliminaries for scroll anchoring
2016-02-09 10:37:43 -08:00
Adam Barth
3c8cbef973 Rationalize RenderViewport and RenderVirtualViewport
These classes now share more code and have feature parity.
2016-02-09 10:30:52 -08:00
Hans Muller
f1cc388f3f Merge pull request #1703 from HansMuller/button_demo
Gallery Demos: button, dialog, snack bar

Added button, dialog, and snack bar gallery demos.

Split gallery main.dart into files in the lib/gallery subdirectory.

Enable TabBarSelectionState to deal with the PageStorage saved selected value no longer equalling any value.

Changed the color of Dialog text to match the theme's caption color.

Also: uppercased tab labels per #1617
2016-02-09 10:23:58 -08:00
Hixie
79b531db87 Update docs for benchmarks. 2016-02-09 10:20:18 -08:00
Ian Hickson
e0c24e2601 Merge pull request #1706 from Hixie/accessibility
Fix drawer in accessibility mode
2016-02-09 10:14:52 -08:00
Hans Muller
4264d5e749 Added button dialog and snackbar demos 2016-02-09 10:09:54 -08:00