Commit Graph

1850 Commits

Author SHA1 Message Date
Adam Barth
764c198065 Update skydoc.py now that dartdoc is in the Dart SDK
Now that dartdoc is part of the Dart SDK, we can use the SDK version directly.
2015-08-30 13:38:54 -07:00
Adam Barth
a861fae346 Rev pub package 2015-08-28 16:08:30 -07:00
Adam Barth
2b72616971 Merge pull request #933 from abarth/rm_only
Remove --only from run_tests
2015-08-28 14:52:28 -07:00
Adam Barth
45d5a43276 Remove --only from run_tests
This feature is built into package:test. We don't need to reimplement it
poorly.
2015-08-28 14:39:53 -07:00
James Robinson
407fc24508 Merge pull request #927 from jamesr/tp_khr_only_egl
Remove //gpu and GLES* headers from third_party/khronos
2015-08-28 13:28:32 -07:00
James Robinson
ab56367cfc Remove //gpu and GLES* headers from third_party/khronos
This gets rid of the rest of the files in //gpu and the GLES{2,3}
headers from //third_party/khronos. The GL headers used for GLES{2,3}
come from the platform being targetted, that is
//mojo/public/c/gpu/GLES2 for Mojo,
//third_party/android_tools/ndk/platforms/android-XX/usr/include/GLES2
for Android and the OpenGL framework for Mac/iOS.

The //third_party/khronos/EGL headers are still being used by some
utility code in //ui/gl. This code is only really useful on Android, as
Sky doesn't use EGL on iOS/Mac/Mojo, but it's compiled in on all
platforms currently and relies on some EGL defines that are not set in
the EGL headers we currently use. These could probably be removed
without much trouble.

The //third_party/khronos/GLES2 headers are still used by some of
//ui/gl on iOS. These should be using the iOS OpenGL framework headers,
and will in the future.

Removes the unneeded KHRONOS_APICALL override from KHR/khrplatform.h

Rolls to a newer Mojo SDK that doesn't expect //third_party/khronos
2015-08-28 13:26:57 -07:00
Ian Hickson
95ccc6efca Merge pull request #928 from Hixie/numeric-key
Rationalise the Key API.
2015-08-28 13:21:21 -07:00
Hixie
e016635792 Rationalise the Key API.
Add a way of having keys based on numeric types or DateTimes by having a ValueKey<T> class.
Remove the redundant ways of declaring things, except for leaving one shorthand -- you can say `new Key(s)` instead of `new ValueKey<String>(s)`.
2015-08-28 13:17:34 -07:00
Adam Barth
c18de38551 Merge pull request #921 from abarth/use_tap
Use GestureDetector in the framework and examples
2015-08-28 12:52:51 -07:00
Chinmay Garde
b0beb3d979 Avoid generating dSYM files using GN rules. 2015-08-28 12:08:20 -07:00
Adam Barth
dd7e42eeb3 Use GestureDetector in the framework and examples
We're now using it at the widget layer for everything except scrolling and
flinging.
2015-08-28 10:58:46 -07:00
Chinmay Garde
4778467d67 Manually specify all files part of the XcodeProj in the GN rule 2015-08-28 10:55:52 -07:00
Chinmay Garde
9734b7b108 Fix warnings about multiple targets generating the Xcode harness 2015-08-28 10:31:15 -07:00
James Robinson
a3774a757f Merge pull request #905 from jamesr/trim_gpu
Remove //gpu and other unused code
2015-08-27 17:08:43 -07:00
James Robinson
b57cbd1970 Remove //gpu and other unused code
Oneline diffstat: 489 files changed, 4 insertions(+), 186980
deletions(-)

This deletes all of //gpu (except for one export header) and
various bits of //mojo/{gpu,gles2} that are
not used. SkyShell on Android/iOS/etc bind to the system's GL
driver via //ui/gl. sky_viewer.mojo
binds to the Mojo C entry points.
2015-08-27 16:38:20 -07:00
James Robinson
aa27d6665b Use C bindings to Mojo GL entry points exclusively 2015-08-27 15:58:24 -07:00
Chinmay Garde
17ba6050eb Merge pull request #893 from chinmaygarde/master
Update Skia and account for API changes
2015-08-27 13:25:44 -07:00
Chinmay Garde
f1b6cb7e83 Get rid of unused benchmarking_canvas.cc in skia/ext 2015-08-27 12:58:27 -07:00
Chinmay Garde
768d5177d3 Update Skia revision 2015-08-27 12:34:53 -07:00
Chinmay Garde
97ca488d53 Merge branch 'skia' 2015-08-27 12:19:55 -07:00
Adam Barth
85aa59d2e2 Update CONTRIBUTING.md 2015-08-27 12:11:02 -07:00
Chinmay Garde
a453ff1943 Merge pull request #892 from chinmaygarde/master
Explicitly generate dSYM file so that OpenGL traces and Instruments profiles can find symbols automatically
2015-08-27 11:01:53 -07:00
Chinmay Garde
0f636a45c2 Explicitly generate dSYM file so that OpenGL traces and Intruments profiles can find symbols automatically 2015-08-27 10:55:34 -07:00
Adam Barth
792607e560 Rev pub packages 2015-08-27 10:27:41 -07:00
Chinmay Garde
cbc5abaa22 Update skia to latest revision 2015-08-26 15:28:05 -07:00
James Robinson
64f658f8bc Merge pull request #867 from jamesr/mojo_roll_0a98599b44b070b72c4284498bab781d343cc282
Update to mojo 0a98599b44b070b72c4284498bab781d343cc282
2015-08-26 14:35:31 -07:00
Adam Barth
ffd6bc9f66 Revert Dart SDK version
Experiment to see whether this reduces flakiness on Travis.
2015-08-26 14:19:43 -07:00
James Robinson
a0986e7f1f Update to mojo 0a98599b44b070b72c4284498bab781d343cc282
Updates the //mojo snapshotted code and the mojo SDK to
0a98559b4, which includes several cleanups in the GL headers.

Also adds /sky/packages/sky_services/lib to .gitignore
2015-08-26 14:06:56 -07:00
Adam Barth
f454d673cc Add a basic test for DatePicker
Most of this work in this patch is building out the test framework to the point
where we can write this test.
2015-08-26 13:38:05 -07:00
Ian Hickson
dbfcdf1296 Merge pull request #848 from Hixie/flex-part3
Replace Flex to Row and Column in tests and examples.
2015-08-26 09:13:52 -07:00
Hixie
18c464b1c9 Replace Flex to Row and Column in tests and examples.
This still leaves Flex and FlexDirection available. At some point once
people have transitioned to Row/Column we should rename Flex to _Flex
and stop reexporting FlexDirection from basic.dart.
2015-08-26 09:05:14 -07:00
John McCutchan
1f932c3c52 Merge pull request #845 from johnmccutchan/roll_dart_2
Update Dart
2015-08-26 07:21:29 -07:00
John McCutchan
e77178a8be Update Dart 2015-08-26 06:52:07 -07:00
James Robinson
4ea8d107ac Merge pull request #839 from jamesr/deps_mojo_devtools
Pull in mojo/devtools via DEPS
2015-08-25 16:31:56 -07:00
James Robinson
4f9b618745 Pull in mojo/devtools via DEPS 2015-08-25 16:18:50 -07:00
Adam Barth
9337c8fb92 Rev pub packages 2015-08-25 15:42:20 -07:00
Adam Barth
260d76b7c7 Update dart SDK 2015-08-25 15:41:26 -07:00
James Robinson
55e8d482ce Update to mojo d259eb58aa59e14a13d5e0dc3984b855b475ba09
This updates to mojo commit d259eb58aa59 and limits the roll script to
only pull in the parts of //mojo that are currently being used. More
stuff will be dropped in the future.
2015-08-25 14:56:25 -07:00
Eric Seidel
38f544fd27 Merge pull request #800 from devoncarew/skydoc
fix skydoc.py to work with the latest dartdoc
2015-08-25 13:16:44 -07:00
Devon Carew
740c3eb9b2 Update README.md
Add a badge for the Travis build.
2015-08-25 11:32:25 -07:00
Devon Carew
3c0985b02c fix skydoc.py to work with the latest dartdoc 2015-08-25 11:24:15 -07:00
Adam Barth
e25fc1ea8b Include sky_snapshot in binary distribution 2015-08-25 09:42:45 -07:00
Adam Barth
94cc6a4dc5 Rev pub packages 2015-08-25 09:36:36 -07:00
Ian Fischer
a8f2aaa052 Update documentation for new sky_tool version 2015-08-24 17:18:13 -07:00
Chinmay Garde
b296cbf615 Add media service implementation for iOS 2015-08-24 12:36:15 -07:00
Adam Barth
b87b107434 Run tests one-at-a-time on Travis
Hopefully this will reduce the flakiness we're seeing on the bot.
2015-08-22 08:05:25 -07:00
Adam Barth
2f4015b7bd Merge pull request #752 from abarth/scrollable_rename
Rename all the scrollable classes
2015-08-21 14:40:50 -07:00
Adam Barth
5804b81d74 Rename all the scrollable classes
Block -> BlockBody
ScrollableBlock -> Block
FixedHeightScrollable -> ScrollableWidgetList
VariableHeightScrollable -> ScrollableMixedWidgetList
BlockViewport -> MixedViewport
2015-08-21 14:39:41 -07:00
James Robinson
df71b6d017 Merge pull request #746 from jamesr/deps_sky
Pull Mojo SDK in via deps instead of checked in files
2015-08-21 13:11:54 -07:00
James Robinson
f296722585 Pull Mojo SDK in via deps instead of checked in files
This means that //mojo/public is pulled in by gclient using the hash
specified in the DEPS file from the github.com/domokit/mojo_sdk mirror.
Each mojo_sdk commit corresponds to its originating
github.com/domokit/mojo commit and has the origin commit in the
message. Thus to find the mojo_sdk revision to use for a particular
mojo revision, grep through the commit log in the mojo_sdk repo for the
matching "Cr-Mirrored-Commit:" line.

If you need to back your local checkout to earlier than this commit
after running gclient, do 'rm -rf mojo/public && git reset --hard' to
get the locally checked in versions back.  Otherwise you'll get subtree
commits in mojo/public/... and have a bad time.
2015-08-21 13:07:29 -07:00