5532 Commits

Author SHA1 Message Date
Adam Barth
fdb351b620 Add the ability to have translucent gesture detectors
A translucent gesture detector still listens for gestures but also lets the
content visually behind the detector receive events.
2015-11-05 12:47:39 -08:00
krisgiesing
f210b94996 Merge pull request #1951 from flutter/krisgiesing-docs-edit
Update CONTRIBUTING.md
2015-11-04 18:23:45 -08:00
Hans Muller
dd88795b63 Merge pull request #1956 from HansMuller/custom_layout_child_id
Added LayoutId widget, MultiChildLayoutDelegate.isChild()
2015-11-04 17:07:08 -08:00
Hans Muller
4a17b92f1e Added LayoutId widget, MultiChildLayoutDelegate.isChild() 2015-11-04 16:58:21 -08:00
Adam Barth
fadd65d4af Merge pull request #1955 from abarth/fix_test_testing
Improve hit testing
2015-11-04 16:55:19 -08:00
Adam Barth
5b92af7339 Improve hit testing
Now a RenderBox is considered hit if one of its children are hit or it itself
decides that it's hit. In particular, empty space inside a flex won't be hit
because none of the children are located there and a RenderFlex doesn't
consider itself hittable.

Fixes #53
Fixes #1221
2015-11-04 16:51:19 -08:00
Adam Barth
816101eb5d Fix crash in script 2015-11-04 14:51:08 -08:00
Adam Barth
40681d1754 Use sky_tools 37 2015-11-04 14:50:07 -08:00
Adam Barth
34fc86affb Rev pub specs 2015-11-04 14:49:29 -08:00
Adam Barth
558a25b6f3 Add FLX to the release train 2015-11-04 14:47:40 -08:00
Adam Barth
bc1953b810 Rev pub packages 2015-11-04 14:19:44 -08:00
Hans Muller
ef53c0bb40 Merge pull request #1952 from HansMuller/snack_bottom_fab
One Scaffold layout to rule them all

Expanded the existing CustomMultiChildLayout to handle all of the Scaffold's children.

This change also eliminates the FAB input dead-zone.
2015-11-04 14:00:30 -08:00
Matt Perry
5df14df659 Merge pull request #1949 from mpcomplete/async
Remove use of FakeAsync in signing_test.dart
2015-11-04 16:57:55 -05:00
Hans Muller
f364ef7c14 One Scaffold layout to rule them all. 2015-11-04 13:52:15 -08:00
krisgiesing
fa46dda873 Update CONTRIBUTING.md 2015-11-04 13:36:44 -08:00
Ian Hickson
bdefd18f03 Merge pull request #1950 from Hixie/gesture-cleanup
Gesture class hierarchy tune-up
2015-11-04 13:19:10 -08:00
Hixie
bd0e1f1954 Gesture class hierarchy tune-up
Make all the *GestureRecognizer classes inherit from a class called
GestureRecognizer. Give the old GestureRecognizer a name that is more
precise about its purpose. Remove the members of GestureArenaMember that
aren't used by GestureArenas.
2015-11-04 13:18:11 -08:00
Matt Perry
f49f7e806d Remove use of FakeAsync in signing_test.dart 2015-11-04 16:13:10 -05:00
Viktor Lidholt
c225a6af24 Merge pull request #1889 from vlidholt/master
Fixes navigation back to main menu in demo game
2015-11-04 13:12:23 -08:00
Matt Perry
10bfac4f25 Merge pull request #1946 from mpcomplete/throw
Check platform before opening /dev/urandom
2015-11-04 15:43:56 -05:00
Ian Hickson
2e848d002b Merge pull request #1948 from Hixie/more-debugging
Get more debug info into the rendering layer
2015-11-04 12:42:19 -08:00
Hixie
723e3fc85c Get more debug info into the rendering layer
- change how we expose settings at the RenderObject layer so that it's
  easier to maintain.
- expose the Widget owner chain in the RenderObject layer debug output
- add debug info to RenderOpacity, RenderIgnorePointer, RenderListener
- make the output for text nodes prettier
2015-11-04 12:37:39 -08:00
Matt Perry
1763dd35db Merge pull request #1947 from mpcomplete/base64
Use crypto package for BASE64 encoding.
2015-11-04 15:15:06 -05:00
Matt Perry
725511a27a Ensure seedRandom doesn't throw if /dev/urandom doesn't exist. 2015-11-04 14:50:04 -05:00
Matt Perry
83d3bcc47a Use crypto package for BASE64 encoding.
This means we no longer depend on the dart 1.13 beta SDK.
2015-11-04 14:28:04 -05:00
Matt Perry
2e7867bdc2 Merge pull request #1944 from mpcomplete/seed
flx: Support for seeding the RNG for package signing.
2015-11-04 14:02:22 -05:00
Matt Perry
75ca18ca03 flx: Support for seeding the RNG for package signing.
Add a test for signing/verifying with a random generated key pair.
2015-11-04 14:02:00 -05:00
Matt Perry
60e83d589c Merge pull request #1927 from mpcomplete/keypair
flx: Remove deprecated KeyPair class.
2015-11-04 13:13:37 -05:00
Matt Perry
748f5f18a3 flx: Remove deprecated KeyPair class. 2015-11-04 13:00:57 -05:00
Adam Barth
d64e9d811c Rev sky_tools dependency 2015-11-04 09:53:19 -08:00
Hans Muller
2bc6c7d641 Merge pull request #1942 from HansMuller/dropdown_menu
Widen the dropdown menu item InkWells

Previously the horizontal padding on each menu item didn't response to taps.

Fixes #1916
2015-11-04 09:16:44 -08:00
Adam Barth
49298fa3c1 Rev flx version 2015-11-04 09:13:21 -08:00
Adam Barth
7615cdd5fb Merge pull request #1937 from abarth/split_big_red_button
Split big_red_button into two scripts:
2015-11-04 09:03:43 -08:00
Hans Muller
5039245587 Widen the dropdown menu item InkWells 2015-11-04 08:54:40 -08:00
Adam Barth
381cd4667f Merge pull request #1912 from aghassemi/master
Adding RawImage component
2015-11-04 08:45:30 -08:00
Ali Ghassemi
a0c541af3f Updating styles 2015-11-04 08:17:59 -08:00
Adam Barth
40e0586802 Merge pull request #1941 from abarth/stale_parent_data
Always reset parentData when dropping children
2015-11-04 08:06:48 -08:00
Adam Barth
3ef74ca7ac Always reset parentData when dropping children
Previously, we'd leave the old values in the parent data if the types matches,
but not all render objects would reset these values during layout. For example,
RenderProxyBox doesn't set the position field because it doesn't read the
position field. However, leaving the old data there violates the invariants of
the box protocol and can cause trouble (e.g., localToGlobal giving the wrong
result).

Fixes #1939
2015-11-04 08:02:05 -08:00
Adam Barth
08cd77ebf4 Drop dbus pkg_config, we don't need it 2015-11-03 23:01:27 -08:00
Ian Hickson
6cb1b0007f Merge pull request #1935 from Hixie/double-tap
Triple doubletap touch slop, add a doubletap test
2015-11-03 17:55:30 -08:00
Hixie
f5bf203c14 Fix double tap constants, add a doubletap test
Document the Gesture Detector constants.

Remove kEdgeSlop since it's obsolete on Android.

Add a test that verifies that when the first tap is canceled, the second
tap can become the first tap of a subsequent two-tap sequence.
2015-11-03 16:53:08 -08:00
Collin Jackson
891cc57210 Merge pull request #1938 from collinjackson/http
Bare bones Mojo reimplementation of Dart’s http package
2015-11-03 16:35:50 -08:00
Collin Jackson
c9e621cd6c Bare bones Mojo reimplementation of Dart’s http package 2015-11-03 16:27:20 -08:00
Hans Muller
dd4090a836 Merge pull request #1907 from HansMuller/toolbar_bottom
Add support for "extended height" toolbars - ToolBar bottom

Added a Widget-valued bottom ToolBar property. If set the bottom widget appears below the normal toolbar.

Removed the kToolBarHeight hardwiring from Scaffold.

Updated the "swipe away" demo to use an extended height toolbar.
2015-11-03 16:10:07 -08:00
Adam Barth
573ce5881b Split big_red_button into two scripts:
- sky/tools/release_engine.py, which releases sky_engine and sky_services
 - sky/tools/release_packages.py, which releases flutter and flutter_sprites
2015-11-03 15:50:45 -08:00
Adam Barth
05326bf487 Rev sky_engine and sky_services 2015-11-03 15:43:18 -08:00
Adam Barth
6bda3b353b Merge pull request #1934 from abarth/stocks_list
Stocks list doesn't update when stocks are loaded
2015-11-03 14:28:23 -08:00
Adam Barth
7e6b5f850b Stocks list doesn't update when stocks are loaded
Previously, we passed widgets up the hierarchy to display them in the overlay,
but that breaks the change propagation logic because those widgets won't get
rebuilt.  Now we pass WidgetBuilders instead, which can be rebuilt when the
overlay rebuilds.

Fixes #1913
2015-11-03 14:27:54 -08:00
Hans Muller
f6cd880078 ToolBar withSizeOffsets() is now withPadding() 2015-11-03 14:27:34 -08:00
Hans Muller
9b8f7e042a Scaffold toolBar is-a ToolBar 2015-11-03 14:16:45 -08:00