Commit Graph

18842 Commits

Author SHA1 Message Date
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
Hans Muller
4264d5e749 Added button dialog and snackbar demos 2016-02-09 10:09:54 -08:00
Hixie
9cea6c50f5 Fix drawer in accessibility mode
The "leaf merge" feature was getting confused when we reset the
SemanticsNode. We now separately track whether the node itself is marked
as being merged vs whether we inherited that state, and we don't reset
the inherited state until you're reattached or reserialised. In the
latter case, we do a "just in time" clearing of the flag just like we
previously did a "just in time" setting of the flag, except now the flag
we're setting or clearing is the inherited flag not the actual flag.
2016-02-09 10:05:16 -08:00
Adam Barth
70d96ecb0b Improve unit conversions in Scrollable 2016-02-09 09:50:35 -08:00
Matt Perry
1cf36da1e1 Fix flutter stop to stop the right Android activity.
Previously we'd always stop org.domokit.sky.shell. If an
AndroidManifest.xml exists, we'll use the activity specified in there
instead.
2016-02-09 11:53:37 -05:00
Eric Seidel
f116872301 Merge pull request #1711 from eseidelGoogle/create_test_mac
Skip flutter_simple in create_test on Mac for now
2016-02-09 08:36:59 -08:00
Eric Seidel
91c2255894 Skip flutter_simple in create_test on Mac for now
Returns 69 instead of 0 in the `create --out` part.
https://github.com/flutter/flutter/issues/1709

@devoncarew
2016-02-09 05:26:21 -08:00
Adam Barth
67145aabe9 Provide a better error for setState on a defunct State
Fixes #1695
2016-02-08 19:28:44 -08:00
Adam Barth
2cb534dc11 Merge pull request #1584 from abarth/populate_view_host
Actually populate the view host proxy
2016-02-08 18:15:44 -08:00
Adam Barth
508112d3e3 Update engine 2016-02-08 17:43:03 -08:00
Ian Hickson
6f107d0a03 Merge pull request #1702 from Hixie/checked-mode
Add a "SLOW MODE" banner in checked mode
2016-02-08 17:22:27 -08:00
Adam Barth
3de7121b8e Merge pull request #1700 from abarth/rm_merge
Remove ParentData#merge
2016-02-08 17:21:51 -08:00
Hixie
bf30c1ab74 Add a "SLOW MODE" banner in checked mode 2016-02-08 17:12:06 -08:00
Adam Barth
d0240c4eae Remove ParentData#merge
There aren't any clients anymore.

Fixes #1684
2016-02-08 16:58:39 -08:00
Chinmay Garde
db4016c633 Merge pull request #1699 from chinmaygarde/master
Use the same flags as Android on iOS while starting on the simulator
2016-02-08 15:51:12 -08:00
Chinmay Garde
495c53335e Use the same flags as Android on iOS 2016-02-08 15:44:24 -08:00
Adam Barth
256af1433c Actually populate the view host proxy
Now that the engine lets us take the view host handle, we can actually
access the view host from Dart.
2016-02-08 15:14:09 -08:00
Devon Carew
e96f6600e3 start the simulator with -arch x86_64 2016-02-08 14:59:11 -08:00
Chinmay Garde
26b657019d iOS Sim: Wire in launch arguments to simctl 2016-02-08 13:56:12 -08:00
Collin Jackson
9ec12824aa Make flutter create generate a manifest that is similar to SkyShell.apk, fixes #1587 2016-02-08 11:11:25 -08:00
Viktor Lidholt
b727f34fc2 Fixes issue with replacing the root node 2016-02-08 09:56:56 -08:00
Devon Carew
9e6d45cb03 general refactoring around device management
remove the device factory methods as well as the device cache
2016-02-06 11:49:48 -08:00
Devon Carew
01a5b83766 Merge pull request #1649 from devoncarew/checked_mode_fixes
two fixes for checked mode
2016-02-05 22:31:36 -08:00
Adam Barth
a4048970f8 Merge pull request #1648 from abarth/polish_overlay
Overlay polish
2016-02-05 22:02:51 -08:00
Adam Barth
f3b1748ca6 Merge pull request #1646 from abarth/rm_color_transition
Remove ColorTransition
2016-02-05 22:02:42 -08:00
Devon Carew
ebd8078b06 two fixes for checked mode 2016-02-05 20:57:41 -08:00
Adam Barth
26d239049b Overlay polish
Fixes #1607
2016-02-05 20:42:22 -08:00
Adam Barth
68f33d3012 Merge pull request #1642 from abarth/rm_viewport
Remove HomogeneousViewport
2016-02-05 20:30:46 -08:00
Adam Barth
d44e601a0a Remove ColorTransition
There are no clients anymore. We added it for the Drawer a while ago,
which is a use case that's now better covered by AnimatedModalBarrier,
complete with semantics.
2016-02-05 20:29:07 -08:00
Adam Barth
bc3202ff35 Merge pull request #1644 from abarth/doc_widget2
Add more dartdoc to widgets.dart
2016-02-05 20:28:25 -08:00
Adam Barth
9251504a57 Add more dartdoc to widgets.dart
This patch includes documentation for transitions.dart and for
scrollable.dart.
2016-02-05 20:21:42 -08:00
Adam Barth
5b89669424 Remove HomogeneousViewport
The virtual viewport machinery now handles all of these use cases.
Previous clients of ScrollableWidgetList can use ScrollableLazyList
instead.
2016-02-05 20:12:18 -08:00
Devon Carew
67124dc3a5 refactor to parse xcrun simctl list as json
add device notifications for the simulator
2016-02-05 19:04:47 -08:00
Todd Volkert
60b6b79319 Create flutter_tools.dart to represent public tools API 2016-02-05 14:20:20 -08:00
Hixie
1a0484cc7e Improve exceptions and asserts for rendering lib.
* Use actual exceptions rather than assertions containing code
  containing strings when trying to give messages to authors.
* Introduce RenderingError which is an AssertionError that takes a
  string argument, to support the above.
* Provide a BoxDimensions.hasBoundedWidth/hasBoundedHeight API.
* Document BoxDimensions.isNormalized.
* Provide more useful information when we assert isNormalized and find
  that it is false.
* When finding the size is infinite, crawl the tree to figure out which
  render box is likely responsible for the infinite constraints.
* Provide more information when size doesn't match the constraints.
* Provide more information when intrinsic dimension methods violate the
  constraints.
* Only spam a huge amount of information for the first exception from
  the rendering library. I've noticed a lot of people looking at the
  last exception printed rather than the first and that's very
  misleading -- after the rendering library hits an exception, all bets
  are off regarding what'll happen in the future. All kinds of asserts
  might fire.
* Improve docs around the debug methods and flags for the above.
* Make Block default to have no children. Previously, giving no children
  crashed with a confusing message about a null deref in an assert.
2016-02-05 13:55:40 -08:00
Adam Barth
79828ef209 Merge pull request #1631 from abarth/doc_widgets
Add more dartdoc to widgets.dart
2016-02-05 13:02:58 -08:00
Adam Barth
a663d2550f Add more dartdoc to widgets.dart
Making progress documenting the widget library.
2016-02-05 10:54:54 -08:00
Hans Muller
82e4309960 Support a TabLabel icon Widget builder. 2016-02-05 09:43:17 -08:00
Adam Barth
0e33151eed Merge pull request #1612 from abarth/doc_gestures
Add some more dartdoc to gestures.dart
2016-02-04 20:09:55 -08:00
Adam Barth
8319a6c282 Add some more dartdoc to gestures.dart 2016-02-04 20:01:35 -08:00
Adam Barth
29d1d2eee4 Add more dartdoc to animation.dart
After the refactoring of the animation library, we were missing some
dartdoc.
2016-02-04 19:51:09 -08:00
Todd Volkert
f0379df5c7 Refactor flx.build() to allow for external toolchain hooks.
This splits flx.build() into two methods, flx.build() and
flx.assemble().  builD() now does the following:
1) constructs the manifest map by reading the manifest from the
   file system
2) "compiles" the dart code into the snapshot file
3) Invokes assemble()

This allows external build toolchains to construct their own
manifest map (possibly using a different manifest syntax)
and create their own snapshot file
2016-02-04 15:44:03 -08:00
Devon Carew
68fa1a636d remove no longer needed code from the service protocol extensions 2016-02-04 14:56:49 -08:00
Devon Carew
f423951cc2 Merge pull request #1619 from devoncarew/device_names
get the adb device name when using the adb server
2016-02-04 14:04:45 -08:00
Devon Carew
4ff43bf418 get the adb device name when using the adb server 2016-02-04 14:03:16 -08:00