Hans Muller
f6b20de855
Support dismissing the modal bottom sheet with a drag gesture
2015-10-28 13:08:34 -07:00
Adam Barth
3c57f107d4
Merge pull request #1854 from abarth/fix_deps
...
Stop excluding sky/packages/sky during pub update
2015-10-28 12:12:02 -07:00
Adam Barth
ed8dcb7ce3
Stop excluding sky/packages/sky during pub update
...
There's no need to exclude it anymore.
2015-10-28 12:01:44 -07:00
Adam Barth
a164934108
Merge pull request #1852 from abarth/rm_view
...
Remove ui.view
2015-10-28 11:21:22 -07:00
Adam Barth
234f792f51
Remove ui.view
...
We don't use ui.view anymore.
2015-10-28 11:15:59 -07:00
Adam Barth
939835ea49
Merge pull request #1848 from abarth/icon_size
...
Icon should use an enum rather than an int for size
2015-10-28 09:13:23 -07:00
Adam Barth
dcfdbc25d5
Merge pull request #1849 from abarth/rm_edges
...
Remove unused material edge definition
2015-10-28 09:13:11 -07:00
Adam Barth
1e5b25be8c
Icon should use an enum rather than an int for size
...
Material design icons are defined to work at specific sizes: 18, 24, 36, 48.
The current API doesn't reflect that and just takes a size int. If an invalid
size is chosen an error is printed to the console and no icon shows up.
Fixes #1816
2015-10-28 08:55:49 -07:00
Adam Barth
2a5d48bed8
Merge pull request #1847 from abarth/switch_off_view
...
Switch clients from ui.view to ui.window
2015-10-28 08:54:57 -07:00
Adam Barth
e839883ecd
Remove unused material edge definition
...
The one we actually use is in material.dart.
2015-10-28 07:34:11 -07:00
Adam Barth
4bbd3d543c
Switch clients from ui.view to ui.window
2015-10-28 07:16:56 -07:00
Adam Barth
b7436de274
Rev pub packages
2015-10-27 20:15:58 -07:00
Adam Barth
e0b655afba
Merge pull request #1846 from abarth/rehost
...
Re-host View on Window
2015-10-27 19:20:32 -07:00
Adam Barth
5968c60e48
Re-host View on Window
...
After this patch View is just a shim on top of Window and can be removed
easily.
2015-10-27 17:55:07 -07:00
Adam Barth
1f59d9281c
Merge pull request #1845 from abarth/window_works
...
Start booting up the new binding system for window
2015-10-27 17:51:03 -07:00
Adam Barth
e4dadf2079
Merge branch 'master' into window_works
2015-10-27 17:49:37 -07:00
Chinmay Garde
e7a107f1d7
Merge pull request #1844 from chinmaygarde/master
...
Default to a known code signing identity when a new XCode project harness is generated
2015-10-27 16:59:19 -07:00
Adam Barth
02d75552c9
Start booting up the new binding system for window
...
Currently this code isn't completely wired up, but this patch is an incremental
step in that direction.
2015-10-27 16:53:52 -07:00
Chinmay Garde
b0e2a42045
Default to a known code signing identity when a new XCode project harness is generated
2015-10-27 16:45:49 -07:00
Chinmay Garde
575ecd6cd6
Merge pull request #1843 from chinmaygarde/master
...
In the precompiler, add an explicit dependency to the target that generates `dart_ui.dart`
2015-10-27 16:45:00 -07:00
Chinmay Garde
921243f4c0
In the precompiler, add an explicit dependency to the target that generates dart_ui.dart
2015-10-27 16:41:02 -07:00
Chinmay Garde
f0ab362bfe
Merge pull request #1842 from chinmaygarde/master
...
Update Dart revision to pull in armv7 precompiled snapshotting updates
2015-10-27 16:39:36 -07:00
Chinmay Garde
391583fdf7
Update Dart revision to pull in armv7 precompiled snapshotting updates
2015-10-27 16:05:14 -07:00
Chinmay Garde
11b013be73
Merge pull request #1820 from chinmaygarde/master
...
Remove `ios_active_arch` and directly specify `arm64` vs `armv7` preference via `target_cpu`
2015-10-27 16:03:49 -07:00
Chinmay Garde
33f8df16d1
Remove ios_active_arch and directly specify arm64 vs armv7 preference via target_cpu
2015-10-27 15:58:55 -07:00
krisgiesing
a429a7058e
Merge pull request #1838 from krisgiesing/tap-fix
...
#1834 Reset tap state after successful tap
2015-10-27 15:28:43 -07:00
krisgiesing
659b5c7067
Merge branch 'master' into tap-fix
2015-10-27 15:24:04 -07:00
Jason Simmons
dabcd4c19c
Merge pull request #1837 from jason-simmons/canvas_image_memory_leak
...
Fix a memory leak in CanvasImageDecoder
2015-10-27 15:11:43 -07:00
Jason Simmons
7983d5f0c5
Fix a memory leak in CanvasImageDecoder
...
CanvasImageDecoder is instantiated with a callback into a Dart closure.
That closure was holding references to the ImageDecoder and the returned
Image. The circular reference between the ImageDecoder and the callback
prevented the objects from being GCed, resulting in leakage of the image
buffer.
CanvasImageDecoder will now destroy the callback after it is invoked,
thus releasing its handle to the Dart closure.
2015-10-27 15:05:30 -07:00
Hans Muller
21244bb13a
Merge pull request #1810 from HansMuller/modal_bottom_sheet
...
Adds modal bottom sheets: showModalBottomSheet()
2015-10-27 15:02:25 -07:00
Hans Muller
66d2fc33a3
Adds modal bottom sheets: showModalBottomSheet()
2015-10-27 14:57:18 -07:00
Kris Giesing
36023151e7
#1834 Reset tap state after successful tap
2015-10-27 14:47:09 -07:00
Ian Hickson
cd74be1090
Merge pull request #1836 from Hixie/metrics-changed
...
Notification of metrics changes.
2015-10-27 14:36:19 -07:00
Hixie
e34aefbd8a
Notification of metrics changes.
...
The Rendering layer binding now multiplexes the dart:ui metrics change
notification so that multiple consumers can all listen to the change.
2015-10-27 14:32:00 -07:00
Adam Barth
5855f72202
Merge pull request #1835 from abarth/drag_start
...
Add the position at which drags start
2015-10-27 14:31:40 -07:00
Adam Barth
1e51daa530
Add the position at which drags start
...
Fixes #1807
2015-10-27 14:25:03 -07:00
Adam Barth
d25ff94259
Merge pull request #1832 from abarth/tap_position
...
Add a position to the onTap callback
2015-10-27 14:20:35 -07:00
Adam Barth
0d1e58072b
Add a position to the onTap callback
...
Fixes #1807
2015-10-27 14:12:54 -07:00
Viktor Lidholt
400ba1799e
Merge pull request #1833 from vlidholt/master
...
Improves physics debug drawing
2015-10-27 14:08:05 -07:00
Ian Hickson
ce83055a17
Merge pull request #1830 from Hixie/track-scroll-position
...
Track scroll position
2015-10-27 13:50:16 -07:00
Ian Hickson
4b56dd50a0
Track scroll position
...
- Change RouteArguments to pass the route's BuildContext rather than
the Navigator. This caused the bulk of the examples/ and .../test/
changes (those are mostly mechanical changes). It also meant I could
simplify Navigator.of().
- Make initState() actually get called when the State's Element is in
the tree, so you can use Foo.of() functions there. Added a test for
this also.
- Provide a RouteWidget so that routes have a position in the Widget
tree. The bulk of the route logic is still in a longer-lived Route
object for now.
- Make Route.setState() only rebuild the actual route, not the whole
navigator.
- Provided a Route.of().
- Provided a Route.writeState / Route.readState API that tries to
identify the clients by their runtimeType, their key, and their
ancestors keys, up to the nearest ancestor with a GlobalKey.
- Made scrollables hook into this API to track state. Added a test to
make sure this works.
- Fix the debug output of GestureDetector and the hashCode of
MixedViewport.
- Fixed ScrollableWidgetListState<T> to handle infinite lists.
2015-10-27 13:46:07 -07:00
Viktor Lidholt
6358ddfd62
Updates physics test to draw debug
2015-10-27 13:39:19 -07:00
Viktor Lidholt
851c96d194
Improves physics debug drawing
2015-10-27 13:38:52 -07:00
Viktor Lidholt
872ff30305
Fixes issue with physics collision groups
2015-10-27 13:38:20 -07:00
Adam Barth
0d0f49b4a5
Merge pull request #1829 from abarth/more_void_callback
...
Use VoidCallback in more places
2015-10-27 11:50:38 -07:00
Adam Barth
9c8196b4d1
Use VoidCallback in more places
...
We still use special-purpose typedefs in the gesture code for symmetry with
other gesture callbacks.
Fixes #1827
2015-10-27 11:19:44 -07:00
Adam Barth
b507577966
Merge pull request #1822 from abarth/custom_shifted_box
...
Add CustomOneChildLayout
2015-10-27 11:10:00 -07:00
Adam Barth
c8b9359b7d
Merge pull request #1825 from abarth/tap_tracker
...
Make TapTracker and TapGesture private classes
2015-10-27 11:09:34 -07:00
Adam Barth
fbfbd57f65
Add CustomOneChildLayout
...
A CustomOneChildLayout is a widget that lets you perform a custom layout in the
simplified setting of sizing and positioning a single child.
2015-10-27 11:04:32 -07:00
Adam Barth
4dc478948c
Merge pull request #1826 from abarth/void_callback
...
Use VoidCallback for onPressed and friends
2015-10-27 10:41:22 -07:00