130 Commits

Author SHA1 Message Date
Jason Simmons
94fa673029 Fix warnings seen when running skyanalyzer in strong mode 2015-10-15 10:56:03 -07:00
James Robinson
1dcecefb40 Merge pull request #1619 from jamesr/trim_mojo_dart
Remove unused code in //mojo/dart, we only want //mojo/dart/embedder
2015-10-14 15:33:22 -07:00
James Robinson
050de596d0 Remove unused code in //mojo/dart, we only want //mojo/dart/embedder 2015-10-14 14:32:05 -07:00
Jason Simmons
795c23b036 Merge pull request #1604 from jason-simmons/mojo_merge_client_part3
Update to mojo 1292152bf533de1bfebf5966d6246e149f87add3
2015-10-14 11:03:25 -07:00
Jason Simmons
19258a6d71 Update to mojo 1292152bf533de1bfebf5966d6246e149f87add3 2015-10-13 15:24:40 -07:00
Viktor Lidholt
09abe52a03 Adds Flutter Sprites to publishing script 2015-10-13 14:18:48 -07:00
Jason Simmons
5bdbdb5a80 Merge pull request #1583 from jason-simmons/mojo_merge_client_part2
Update to mojo aff2415d1e1f4c4a16b3bb608d4dc17c4e924667
2015-10-13 09:58:59 -07:00
Ian Hickson
0252c38d2e Merge pull request #1585 from Hixie/strong-lint
Lots of trivial warning fixes
2015-10-12 16:35:28 -07:00
Adam Barth
5fc5d3e0f0 Remove dart:ui_builtin_natives
Now this code is just in dart:ui.
2015-10-12 16:33:15 -07:00
Hixie
9f174def11 Lots of trivial warning fixes
Add type annotations in many places.
Fix some identifiers to have more lint-satisfying names.
Make all operator==s consistent in style.
Reorder some functions for consistency.
Make ParentData no longer dynamic, and fix all the code around that.
2015-10-12 16:31:20 -07:00
Jason Simmons
69b47bfab9 Update to mojo 298d9942de7819c4a837b049bc98d2cbcd61554f 2015-10-12 15:34:11 -07:00
Adam Barth
72c103cefa Rename dart:sky to dart:ui 2015-10-09 19:27:13 -07:00
Hixie
203db4ac6a Remove workarounds that avoided 'super' in mixins
Dart supports this properly now.
2015-10-09 11:24:50 -07:00
John McCutchan
2f453bb582 Roll the Dart runtime forward 2015-09-30 15:22:04 -07:00
Devon Carew
0c20a2096c customize the generated dartdoc like flutter.io 2015-09-26 23:19:25 -07:00
Matt Perry
81b2b81b1d Replace C++ UpdateTask with an empty dart version, loaded as a snapshot.
This adds a new placeholder dart package updater in sky/packages. This is built
into a snapshot and compiled into the Sky engine binary using the same
mechanism as the Dart isolate.

I also added a SkyHeadless class, similar to SkyView, used for running Dart
code without a view.
2015-09-23 14:09:38 -04:00
Jason Simmons
148dade286 Merge pull request #1255 from jason-simmons/skyanalyzer_pub_cache
Some cleanup of the Sky analyzer script
2015-09-22 09:29:27 -07:00
Jason Simmons
d0668c002e Some cleanup of the Sky analyzer script
* If no source path is provided, then run the analyzer on the Sky unit tests
* Fix the filter for errors found in pub cache packages
* Generalize the filter for the analyzer's "xx errors/warnings/hints found" status message

Also fix a test that caused a warning in the analyzer.
2015-09-21 14:14:30 -07:00
Adam Barth
c2304d81fa Make big_red_button work with the current Dart SDK
Previously --stage-two would error out because the LICENSE was git ignored.
This patch includes the LICENSE file in the repo to avoid the error. Also,
refactor the big_red_button.py to be clearer about what's shared between stage
one and stage two of the release process.
2015-09-21 12:43:57 -07:00
Adam Barth
32cb06fb34 Add missing file 2015-09-17 16:28:40 -07:00
Adam Barth
2fceed4672 Remove the skyx package
This code is now part of sky_tools.
2015-09-17 16:00:28 -07:00
Adam Barth
b8d0fa5172 Remove sky/tools/test_sky
This patch also removes webkitpy, which now has no clients.
2015-09-16 09:09:59 -07:00
Adam Barth
de0a445d2f Remove dart-pub-cache
There's no reason for us to have our own dart-pub-cache in the source tree.  We
can just use the default one on the system.
2015-09-10 08:49:56 -07:00
Adam Barth
339573f082 The skyx tool shouldn't crash if an icon variant doesn't exist
Fixes #1077
2015-09-08 09:25:43 -07:00
Devon Carew
6f83d5fd3a working on generating docs as part of the build
revert PATH changes

fix typo

some dartdoc changes in files
2015-09-04 19:21:53 -07:00
Adam Barth
f0bdd4c590 Rev pub package 2015-09-02 13:49:34 -07:00
Alhaad Gokhale
c5931dda3e Merge pull request #1019 from alhaad/skyx_fix
Fix a type error being triggered when this is being run as a snapshot.
2015-09-02 13:45:04 -07:00
Alhaad Gokhale
51189135da Fix a type error being triggered when this is being run as a snapshot. 2015-09-02 13:40:20 -07:00
Adam Barth
cc54440aa3 Remove unused icons from the material design icons package
We only use the "drawable" version of the icons.
2015-09-02 13:18:41 -07:00
Adam Barth
e0d44249cc Fix typo in Travis script 2015-09-01 20:44:39 -07:00
Adam Barth
8507e8ab40 Run unit test on Travis with a prebuilt sky_shell 2015-09-01 20:39:51 -07:00
Adam Barth
b04cb30609 Remove a number of unneeded filters from skyanalyzer
The dartanalyzer no longer emits these warnings (or the code has been cleaned
up).
2015-09-01 16:13:44 -07:00
Hixie
d96b1e84ca Silence skyanalyzer's complaints about third-party packages. 2015-09-01 13:22:44 -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
Adam Barth
bd01a89958 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
e25c6aafa3 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
3c7f75853a 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
James Robinson
ac393ede71 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
8b4bdd242d Use C bindings to Mojo GL entry points exclusively 2015-08-27 15:58:24 -07:00
Adam Barth
fb58c4a7eb 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
Adam Barth
412a4a9e27 Merge pull request #827 from jamesr/mojo_roll_d259eb58aa59e14a13d5e0dc3984b855b475ba09
Update to mojo d259eb58aa59e14a13d5e0dc3984b855b475ba09
2015-08-25 15:02:52 -07:00
James Robinson
c8eff5e44f 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
Adam Barth
0f5e9b2a5e test_sky shouldn't run skyanalyzer
If we want to run the analyzer, we should do that as a separate step.
2015-08-25 14:20:40 -07:00
Devon Carew
8f84614e63 fix skydoc.py to work with the latest dartdoc 2015-08-25 11:24:15 -07:00
Adam Barth
125509931f 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
1133c5c0ef Introduce sky/unit/test
This patch adds a new test harness and a first, trivial test to run with the
harness. The new test harness is built on package:test and should run on
Travis. Over time, we'll migrate our existing tests into this harness.
2015-08-20 21:01:13 -07:00
Adam Barth
b5fe9b4465 Include sky_snapshot in the binary artifacts
We'll need sky_snapshot to produce skyx files and eventually APKs.
2015-08-20 15:42:43 -07:00
Hixie
3cc25bb255 Fix analyzer to not change the working directory.
I didn't understand what was going on before. Now I do. This is a better fix that making the path absolute.
2015-08-17 16:57:08 -07:00
Hixie
108f3b6b75 Analyzer updates
- Remove shelldb analyze, since we want to remove shelldb.
- Make skyanalyzer pass the absolute path to dartanalyzer. I'm not
  sure why this is sometimes needed, but without it, I sometimes get
  file not found errors.
- Remove some of the patterns we were ignoring, since either the
  errors have been fixed or the analyzer has been fixed.

There's still hundreds of warnings in the mojo and sky packages (the
ones in the sky packages are all bogus, I believe).
2015-08-17 15:42:34 -07:00
Chinmay Garde
f86f0ed5ad Merge pull request #652 from chinmaygarde/master
Avoid disabling extra clang plugins on iOS
2015-08-17 13:40:07 -07:00