20087 Commits

Author SHA1 Message Date
Etienne Membrives
0b96a64a8a Merge pull request #954 from emembrives/upload_symbols
Upload sky_viewer symbols to Google Storage.
2015-09-01 18:31:02 +02:00
Ian Fischer
e5b39b335d Merge pull request #977 from iansf/fix_stop_tracing
Fix stop_tracing
2015-09-01 09:17:54 -07:00
Etienne Membrives
83209d65a5 Upload sky_viewer symbols to Google Storage.
With this change, each time sky_viewer.mojo is uploaded to Google
Storage (both for Linux and Android), debugging symbols are also
uploaded in a symbols/ subdirectory.
2015-09-01 18:07:59 +02:00
Etienne Membrives
d11f61b5a2 Merge pull request #980 from emembrives/update_deps
Update mojo_sdk and mojo_devtools in DEPS
2015-09-01 18:03:32 +02:00
Etienne Membrives
b6bedd27e3 Update mojo_sdk and mojo_devtools in DEPS.
Updating mojo_sdk to 3ec8c53e9c9e5a8cd3cf251c4ae4754b75172225
Updating mojo_devtools to 49879d78ce4486e10c2214a101d9b2e82794b2f4
2015-09-01 17:51:39 +02:00
Ian Fischer
23958b15e1 Make it possible to download trace files on rooted devices using sky_tool stop_trace 2015-08-31 17:12:09 -07:00
Ian Fischer
2956f669e7 Merge pull request #976 from domokit/iansf-update-readme-install
Update README.md to reflect removal of --install flag.
2015-08-31 16:55:46 -07:00
Ian Fischer
8f96a4efff Update README.md to reflect removal of --install flag. 2015-08-31 16:48:16 -07:00
Hans Muller
3a25de84c6 Merge pull request #974 from HansMuller/dismissable-uses-gestures
Convert Dismissable to use gestures

Convert Dismissable to use the ScrollStart, ScrollUpdate, and ScrollEnd gestures. Support for fling gestures is TBD.

Included a basic unit test that checks that one item can be dismissed with a press-drag-release gesture.

Fixed the scroll gesture recognizer: if the last pointer goes up and candidate recognizers still exist, then reject the gesture.
2015-08-31 16:46:26 -07:00
Hans Muller
7d6119c2de Convert Dismissable to use gestures
Convert Dismissable to use the ScrollStart, ScrollUpdate, and ScrollEnd gestures. Support for fling gestures is TBD.

Included a basic unit test that checks that one item can be dismissed with a press-drag-release gesture.

Fixed the scroll gesture recognizer: if the last pointer goes up and candidate recognizers still exist, then reject the gesture.
2015-08-31 16:44:25 -07:00
Adam Barth
0c15b35045 Merge pull request #972 from abarth/parent_data_madness
Positioned 'remembers' things it shouldn't
2015-08-31 16:41:36 -07:00
Adam Barth
1119f36040 Positioned 'remembers' things it shouldn't
This patch makes ParentDataNode less general purpose and instead teaches Flex
and Stack how to program the parent data for their children. We used to have
this general system because parent data used to carry CSS styling, but we don't
need it anymore.

Fixes #957
2015-08-31 16:41:14 -07:00
Ian Hickson
4d99c732d0 Merge pull request #971 from Hixie/address
Remove the silly dialog.
2015-08-31 16:11:46 -07:00
Ian Hickson
f081f2bb1e Merge pull request #880 from Hixie/homogeneousviewport
Add a HomogeneousViewport class that works like MixedViewport but handles only children that have all the same height.
2015-08-31 15:58:31 -07:00
Hixie
c01bb264c7 Remove the inner SizeObserver from ScrollableWidgetList.
Adds a HomogeneousViewport class that works like MixedViewport but
handles only children that have all the same height.

Converts ScrollableWidgetList to use that, so that we don't waste a
frame looking at the size of the contents each time we change size.

This allows a number of seemingly pointless double-pumps in the tests
to be removed.

Other changes that were necessary to support the above:

 - RenderBlock now supports minExtent (think 'min-height' in CSS)
 - RenderBlock now supports itemExtent (forces the height of each
   child to be the same, so that the itemExtent passed to the fixed-
   height scrollables are all authoritative instead of a source of
   bugs when they don't match)
 - RenderBlockViewport now supports horizontal scrolling
 - improved the style of the isInfinite assert in box.dart
 - fixed the position of a comment in mixed_viewport.dart
 - added a test
 - made the logic for how many items to show be more precise
2015-08-31 15:57:45 -07:00
Adam Barth
60119d0d4d Merge pull request #973 from abarth/hide_constants
Make these constants private
2015-08-31 15:56:46 -07:00
Adam Barth
d57e9ca53c Make these constants private
These constants aren't useful outside these files and are cause noise in the
dartdoc.
2015-08-31 15:53:33 -07:00
Hixie
bb3d3aa8de Remove the silly dialog.
Fixes #247.
2015-08-31 14:41:34 -07:00
Andrew Wilson
87f6405e34 Merge pull request #970 from apwilson/persist
Persist immersiveness.
2015-08-31 14:32:07 -07:00
Andrew Wilson
38be8f6e8d Persist immersiveness. 2015-08-31 14:31:25 -07:00
Ian Fischer
ede7233afc Merge pull request #969 from iansf/extract_install
Extract install from StartSky
2015-08-31 14:30:29 -07:00
Ian Fischer
c1315e5bb2 Extract install into its own sky_tool command. 2015-08-31 14:20:18 -07:00
Hans Muller
1ee124fb60 Merge pull request #966 from HansMuller/fix-mixed-viewport-example
Update mixed_viewport example to new Key API
2015-08-31 14:11:04 -07:00
Adam Barth
fe572e2cbe Merge pull request #968 from abarth/basic_assert
Basic widgets should validate their parameters with asserts
2015-08-31 13:55:51 -07:00
Adam Barth
696372a293 Basic widgets should validate their parameters with asserts
Also fixes #937.
2015-08-31 13:34:30 -07:00
Adam Barth
187146e841 Merge pull request #961 from abarth/transform_origin
Add an origin parameter to transforms
2015-08-31 13:22:01 -07:00
Adam Barth
aa778b3190 Add an origin parameter to transforms
This parameter makes it easier to do math when you don't want to center your
tranform at (0, 0).
2015-08-31 13:21:26 -07:00
Chinmay Garde
f5a896e3bc Merge pull request #967 from chinmaygarde/master
Implement platform VSyncProvider for iOS
2015-08-31 12:43:31 -07:00
Chinmay Garde
d726d4f822 Implement platform VSyncProvider for iOS 2015-08-31 12:30:11 -07:00
Hans Muller
527772f18f Update mixed_viewport example to new Key API 2015-08-31 11:37:25 -07:00
James Robinson
cb31828cde Merge pull request #962 from jamesr/revert_ui_gl_deletions
Revert //ui/gl changes, will need more thought
2015-08-31 11:05:47 -07:00
James Robinson
b716f1f7d0 Revert //ui/gl changes, will need more thought 2015-08-31 11:02:16 -07:00
Ian Fischer
12d82fdef2 Merge pull request #960 from iansf/fix_ios_deploy_crashes
Avoid crashing when an iOS device isn't connected
2015-08-31 10:43:23 -07:00
Ian Fischer
1dfcbbd76d Avoid crashing when an iOS device isn’t connected. 2015-08-31 10:41:52 -07:00
Ian Hickson
c36ddfe008 Merge pull request #897 from Hixie/sync-children
Provide a fast path for MultiChildRenderObjectWrapper.syncRenderObject() when the children lists are identical.
2015-08-31 10:36:28 -07:00
James Robinson
7114178aaf Merge pull request #959 from jamesr/fix_linux_build
Fix Linux build - only use EGL on Android
2015-08-31 10:33:52 -07:00
James Robinson
503a507f14 Merge pull request #958 from jamesr/fix_android_build
Fix android build
2015-08-31 10:30:26 -07:00
James Robinson
b05b5c2c66 Fix Linux build - only use EGL on Android 2015-08-31 10:27:02 -07:00
James Robinson
997722db17 Fix android build
The OS_FOO macros are set by build/build_config.h, so be sure to
include that before testing the macros.
2015-08-31 10:24:39 -07:00
James Robinson
e2b960ecc3 Merge pull request #956 from jamesr/ui_gl_trim
Trim unused code from //ui/gl
2015-08-31 10:15:16 -07:00
James Robinson
04344ddb27 Trim unused code from //ui/gl
This deletes lots of unused code from //ui/gl:

*) GLImage and GLFence are not used or likely to be used soon

*) GLX/X11/Ozone are not used, Sky doesn't draw to screen on these platforms

*) EGL code is used exclusively on Android

This also restricts the use of the third_party/khronos headers to only Android
builds, where they are used to pick up a few enum values from EGL not present
in the NDK's copy of the headers.
2015-08-31 10:00:42 -07:00
Adam Barth
9f43b5a490 Merge pull request #953 from abarth/painting_docs
Add dartdoc for the painting code
2015-08-31 09:37:10 -07:00
Adam Barth
e2638c189d Add dartdoc for the painting code 2015-08-31 09:36:35 -07:00
Adam Barth
bb427e08e1 Merge pull request #952 from abarth/lerp
Move lerp for the engine types into dart:sky
2015-08-31 09:25:35 -07:00
Adam Barth
96e203329c Move lerp for the engine types into dart:sky
This patch just adds them to dart:sky. A future patch will actually use them in
the framework once we've published an updated sky_engine package. Also, add
dartdoc to the classes touched in this patch.
2015-08-31 09:25:22 -07:00
Adam Barth
29b0c96e46 Merge pull request #955 from abarth/can_flex_overflow
onPressed not called when in a Positioned Flex
2015-08-31 09:17:00 -07:00
Adam Barth
c6c4c5d26a onPressed not called when in a Positioned Flex
We were setting the main axis extent to zero because we had a sign error.

Fixes #918
2015-08-31 09:12:40 -07:00
Adam Barth
088958e8f6 Unbreak link when deployed 2015-08-30 18:43:17 -07:00
Ian Hickson
969dfe5273 Add gestures/ to README.md prose 2015-08-30 16:30:59 -07:00
Ian Hickson
9152f4643f Add gestures/ to README.md diagram 2015-08-30 16:29:48 -07:00