Commit graph

59 commits

Author SHA1 Message Date
Kevin Moore
7d560f8385 Remove outdated entries from .packages
Change-Id: I52caf28cdfa17b0481f24d317ffb384bac13284e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/96822
Reviewed-by: William Hesse <whesse@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
2019-03-13 17:10:12 +00:00
Kevin Moore
ca4978e363 Add pkg:analysis_tool as an SDK-only set of utils
Reduces the API surface of pkg:analyzer that requires pkg:html

Related to https://github.com/dart-lang/sdk/issues/35802

Change-Id: Icd08d76190d6ab77cd180561cdde6df254b22557
Reviewed-on: https://dart-review.googlesource.com/c/91701
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
2019-01-31 16:52:05 +00:00
Kevin Moore
7a1e7b5fff Remove four packages from DEPS
pkg:platform is no longer useds. process and file were only needed by platform
pkg:func is no longer used

Also removed non-existent entries in .packages

Change-Id: I927856efa0f6fc49676885616c3ecd5183250454
Reviewed-on: https://dart-review.googlesource.com/c/91101
Commit-Queue: Kevin Moore <kevmoo@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
2019-01-24 21:40:58 +00:00
Janice Collins
193b0a72e0 Update to dartdoc 0.28.0.
Dependency on mustache4dart replaced with mustache (1.1.0)

Release notes:  https://github.com/dart-lang/dartdoc/releases/tag/v0.28.0

Change-Id: I767b5d4b032e4e0bfe9b5d8e43d61c4c360ff370
Reviewed-on: https://dart-review.googlesource.com/c/89920
Reviewed-by: Devon Carew <devoncarew@google.com>
Commit-Queue: Janice Collins <jcollins@google.com>
2019-01-18 19:45:18 +00:00
Kevin Moore
b9463d0719 Remove pkg:tuple from DEPS
Was needed for pkg:dartdoc, but that dependency has been removed

Change-Id: I2d314f8400e3ea5d905864e8728384dd3dc86800
Reviewed-on: https://dart-review.googlesource.com/c/87263
Reviewed-by: Janice Collins <jcollins@google.com>
2018-12-13 22:51:21 +00:00
Kevin Moore
1337062779 Remove pkg:microlytics
Never used, not touched in 4+ years

Change-Id: Ia1568969b2d07c56b5cbe3258e6a13e10b80813d
Reviewed-on: https://dart-review.googlesource.com/c/86941
Reviewed-by: Devon Carew <devoncarew@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
2018-12-11 17:18:00 +00:00
danrubel
a82e025739 Move dartfix to its own package
Fix https://github.com/dart-lang/sdk/issues/34765

Change-Id: I44b3ccc4861b383601fea1b006f1fd4726b11062
Reviewed-on: https://dart-review.googlesource.com/c/81080
Commit-Queue: Dan Rubel <danrubel@google.com>
Reviewed-by: Devon Carew <devoncarew@google.com>
2018-10-22 17:50:25 +00:00
Janice Collins
248a15f994 Upgrade dartdoc and dependencies for 0.22.0.
Bug: https://github.com/dart-lang/sdk/issues/34651
Change-Id: I384f2516d359b7e233058b3a3c501d9575955e0a
Reviewed-on: https://dart-review.googlesource.com/c/77900
Reviewed-by: Devon Carew <devoncarew@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Janice Collins <jcollins@google.com>
2018-10-03 21:05:17 +00:00
Brian Wilkerson
2390b3605f Create a package for shared diagnostics
Change-Id: I7e43d4c738a187a608f98f008770b169839de1ce
Reviewed-on: https://dart-review.googlesource.com/76722
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Bob Nystrom <rnystrom@google.com>
2018-09-27 16:23:20 +00:00
Kevin Moore
0f1fa9eeae Remove pkg/dart_messages
Not used

Fixes https://github.com/dart-lang/sdk/issues/27832

Change-Id: Ia1e00fc8be2c904f21a95e89640099fa900a15a5
Reviewed-on: https://dart-review.googlesource.com/74461
Reviewed-by: Peter von der Ahé <ahe@google.com>
2018-09-11 16:20:06 +00:00
Paul Berry
0f7abef23c Begin writing code to compare analyzer and front_end behaviors.
This will help us ensure that the analyzer and the front end interpret
programs in the same way, e.g. they should produce the same type
inference results.

This code is in its own package for now to avoid making the analyzer
package unnecessarily depend on the details of the kernel
representation (which would couple it even more tightly to kernel than
it's already coupled).  We can move it into the analyzer later if we
see fit.

Change-Id: I055e83c7b83b6cd9b1082b4424a2f4144b5abf0e
Reviewed-on: https://dart-review.googlesource.com/72480
Commit-Queue: Paul Berry <paulberry@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
2018-08-31 17:54:59 +00:00
Kevin Moore
b13f496974 misc: remove compiler_unsupported entry in .packages file
Change-Id: I22ec6c8e2e67034e9525e8031ffdf3fa4dde0546
Reviewed-on: https://dart-review.googlesource.com/69800
Reviewed-by: Devon Carew <devoncarew@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
2018-08-13 20:52:28 +00:00
Sigmund Cherem
7c77ed04f4 Move deobfuscation tools to the SDK repo
This is an initial implementation of the dart deobfuscator tool.

Let me know your thoughts on the package name. I used to have this named as
`package:deobfuscate`, but it feels like we will want to add more tools that are
not about deobfuscation in the future, so I picked `package:dart2js_tools`
instead. That also gives us the opportunity to move over the dart2js_info code
here too.

Change-Id: I2ff948982969c9c76bc84cdc78cbe237abc87378
Reviewed-on: https://dart-review.googlesource.com/69243
Reviewed-by: Stephen Adams <sra@google.com>
Commit-Queue: Sigmund Cherem <sigmund@google.com>
2018-08-09 22:55:04 +00:00
Bob Nystrom
a4c7cf388f First stab at a parsing library for named configurations.
Change-Id: I1a2660914715d529b0233645b109b13c2fa9171a
Reviewed-on: https://dart-review.googlesource.com/61121
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Reviewed-by: William Hesse <whesse@google.com>
2018-06-26 22:17:08 +00:00
Kevin Moore
10dcad1dd2 pkg:kernel - cleanup pubspec file
Reference pkg:testing by path
Remove dependency on pkg:ansicolor - not used

Also removed outdated reference to fasta in .packages

Change-Id: Iaeaa4a868e376e6cfdd5dad35d87521a18b213f2
Reviewed-on: https://dart-review.googlesource.com/61908
Reviewed-by: Kevin Millikin <kmillikin@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
2018-06-22 15:43:04 +00:00
Sigmund Cherem
8c0f5747a0 Add build_integration package and move multi_root_file_system there.
This is following the design discussion we had a few months ago.

Change-Id: I48b2e82af33d10b9cd1e599e1b3a4e8e419417c8
Reviewed-on: https://dart-review.googlesource.com/56035
Commit-Queue: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Peter von der Ahé <ahe@google.com>
2018-05-22 20:09:24 +00:00
Sigmund Cherem
a173784a31 Readd web-components: it is used for unit tests of dart:html
Change-Id: I61a8c397515fa33217011112b8204738475ed191
Reviewed-on: https://dart-review.googlesource.com/49261
Reviewed-by: Kevin Moore <kevmoo@google.com>
Commit-Queue: Sigmund Cherem <sigmund@google.com>
2018-04-03 20:13:19 +00:00
Kevin Moore
3ba478a258 Remove SDK browser DEP
Last usage was removed

Change-Id: Ib8c6d67f22c514c8f706c2c4a683c7022a05ea87
Reviewed-on: https://dart-review.googlesource.com/49000
Reviewed-by: William Hesse <whesse@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
2018-04-02 19:35:54 +00:00
Kevin Moore
b3c4b1c2ef Remove pkg/browser from SDK source – use mirror
Change-Id: I79e86ef8681b0b169b0b40da26a5834eaace66a3
Reviewed-on: https://dart-review.googlesource.com/47580
Reviewed-by: William Hesse <whesse@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
2018-03-21 20:31:24 +00:00
Konstantin Shcheglov
fae3a83629 Remove typed_mock
Bug: https://github.com/dart-lang/sdk/issues/32271
Change-Id: I32d7708f269b9618f6a031f0323f5cea646066f3
Reviewed-on: https://dart-review.googlesource.com/42862
Reviewed-by: Kevin Moore <kevmoo@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2018-02-21 22:22:32 +00:00
Zachary Anderson
c2d24d59e1 DEPS in package:http_io
This brings package:http_io into third_party/pkg_tested so that its
migrated tests will run on sdk commits.

Change-Id: I516152747cdaeb1e874a900cb8ad57d84594ed6c
Reviewed-on: https://dart-review.googlesource.com/36842
Reviewed-by: Kevin Moore <kevmoo@google.com>
Commit-Queue: Zach Anderson <zra@google.com>
2018-01-26 18:49:59 +00:00
Bob Nystrom
7434bf6b73 Bring dart_style 1.0.9 into the repo and update its dependencies.
This removes scheduled_test which is important for rolling other
packages. In return, it brings in two new packages, test_descriptor and
test_process.

There are no changes in the formatter's actual output. All of the
differences are in tests or internal dependencies, so I don't think we
need to worry about coordinating this with the PRESUBMIT version of
dartfmt as in https://github.com/dart-lang/sdk/issues/30164.

Change-Id: I1c81e157c32326801985615abc353f2239fe2470
Reviewed-on: https://dart-review.googlesource.com/32664
Reviewed-by: Zach Anderson <zra@google.com>
Commit-Queue: Bob Nystrom <rnystrom@google.com>
2018-01-05 22:36:08 +00:00
Zach Anderson
dfe3368141 Revert "Update dart_style to 1.0.9 and bring in its new dependencies."
This reverts commit 8b8d9b08e1.

Reason for revert: Github mirrors need to be created *before* landing.

Original change's description:
> Update dart_style to 1.0.9 and bring in its new dependencies.
> 
> This removes the dependency on scheduled_test which is important for
> rolling other packages. In return, it brings in two new packages,
> test_descriptor and test_process.
> 
> There are no changes in the formatter's actual output. All of the
> differences are in tests or internal dependencies, so I don't think we
> need to worry about coordinating this with the PRESUBMIT version of
> dartfmt as in https://github.com/dart-lang/sdk/issues/30164.
> 
> Change-Id: I1d6426303055a4400a0ca3d16965a3e05ab39cf7
> Reviewed-on: https://dart-review.googlesource.com/32445
> Reviewed-by: Kevin Moore <kevmoo@google.com>
> Commit-Queue: Bob Nystrom <rnystrom@google.com>

TBR=kevmoo@google.com,rnystrom@google.com

Change-Id: I3af883a6f41339e3cc79096e0f61639c11af1e20
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/32640
Reviewed-by: Zach Anderson <zra@google.com>
Commit-Queue: Zach Anderson <zra@google.com>
2018-01-05 18:00:09 +00:00
Bob Nystrom
8b8d9b08e1 Update dart_style to 1.0.9 and bring in its new dependencies.
This removes the dependency on scheduled_test which is important for
rolling other packages. In return, it brings in two new packages,
test_descriptor and test_process.

There are no changes in the formatter's actual output. All of the
differences are in tests or internal dependencies, so I don't think we
need to worry about coordinating this with the PRESUBMIT version of
dartfmt as in https://github.com/dart-lang/sdk/issues/30164.

Change-Id: I1d6426303055a4400a0ca3d16965a3e05ab39cf7
Reviewed-on: https://dart-review.googlesource.com/32445
Reviewed-by: Kevin Moore <kevmoo@google.com>
Commit-Queue: Bob Nystrom <rnystrom@google.com>
2018-01-05 17:29:38 +00:00
Kevin Moore
9e8a3e2d31 Bring in the latest pub
Change-Id: I8e482110392180f82ef83106583f64d396a39480
Reviewed-on: https://dart-review.googlesource.com/30961
Reviewed-by: Keerti Parthasarathy <keertip@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
2017-12-21 04:22:52 +00:00
Bob Nystrom
03c8767f73 Here's a start at exposing an API to address https://github.com/dart-lang/sdk/issues/31371.
There is no actual implementation here yet (that's your job :) ), but there is:

- An external method in dart:_internal, extractTypeArguments().
- Empty patch methods for that for the VM, dart2js, and DDC. These need to have implementations
  filled in.
- A "dart_internal" package to expose a subset of the API. It gives you:

    extractListTypeArgument()
    extractMapTypeArguments()

  We'll bring this into Google, but not publish it externally unless we find we really need to.
- A test for the behavior. It probably has bugs since I can't run it.

See: https://github.com/dart-lang/sdk/issues/31371
Change-Id: I7d9f9a3a36f8e8be106440375c80d584898c83cb
Reviewed-on: https://dart-review.googlesource.com/26467
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Régis Crelier <regis@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
Reviewed-by: Vijay Menon <vsm@google.com>
2017-12-08 21:57:00 +00:00
Alexander Markov
39f049d643 [Kernel/VM] Introduce VM-specific translation of Dart sources to kernel
This CL introduces compileToKernel() function in package:vm/kernel_front_end
as the replacement for kernelForProgram() from package:front_end/kernel_generator.

The new function will be used to customize kernel Programs for VM need.
For example, it will perform additional AOT-specific global transformations.
In future, compileToKernel() will be used from Flutter and precompiler2.

Also, this CL cleans up Target.strongModeSdk as it is no longer used.

Issue: https://github.com/dart-lang/sdk/issues/30480
Change-Id: Ib9c2b5d0af955475292df8e456073a5f0e6a64be
Reviewed-on: https://dart-review.googlesource.com/25080
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2017-11-30 20:44:45 +00:00
Johnni Winther
b9a222615b Add sourcemap_testing package
Change-Id: I9655ebf5bb93c61f9d1f0eae1fbc615761f23b47
Reviewed-on: https://dart-review.googlesource.com/22520
Reviewed-by: Jens Johansen <jensj@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2017-11-21 15:09:38 +00:00
William Hesse
fabb04d47c Make test.dart always create a result.log file when --write-result-log is set
Before this, if zero tests were run the file wasn't created.

Bug:
Change-Id: I446a90eeb68dca3ee1fe66d473cd55887c206bc1
R=athom@google.com
CC=mkroghj@google.com
Reviewed-on: https://dart-review.googlesource.com/16527
Reviewed-by: Alexander Thomas <athom@google.com>
2017-10-25 17:27:15 +00:00
Harry Terkelsen
b7666dd327 dart2js: Remove lookup map support
Change-Id: Id435dc0f54165285c0d291d2e1c984da92bfd22a
Reviewed-on: https://dart-review.googlesource.com/5284
Reviewed-by: Stephen Adams <sra@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Harry Terkelsen <het@google.com>
2017-09-12 20:16:12 +00:00
William Hesse
67b116b150 Point DEPS to mirrored repos of dart-lang packages, add term_glyph.
BUG=https://github.com/dart-lang/sdk/issues/30445
BUG=https://github.com/dart-lang/sdk/issues/30458
R=vegorov@google.com

Review-Url: https://codereview.chromium.org/3001393002 .
2017-08-22 18:32:43 +02:00
Max Kim
4e42dbc1f9 Add analysis_server_client without analysis_server.
BUG=
R=brianwilkerson@google.com, scheglov@google.com

Review-Url: https://codereview.chromium.org/2994723003 .
2017-08-08 14:57:43 -07:00
Carlo Bernaschina
a67d798841 Update observatory_pub_packages dependency
Updated all observatory dependencies.
In particular charted to 0.4.8

R=rmacnak@google.com
TBR=asiva@google.com

Review-Url: https://codereview.chromium.org/2990913002 .
2017-07-31 13:03:35 -07:00
Bob Nystrom
796eb21071 Move the status file parser into its own package.
This required munging a bit of test.dart code too to tease out some
dependencies, but the changes are minor. I considered moving all of
test.dart out into a package and making the status file library a
public one that other packages in the repo could import but this seemed
like the less intrusive change.

R=bkonyi@google.com

Review-Url: https://codereview.chromium.org/2984203002 .
2017-07-25 15:29:59 -07:00
Konstantin Shcheglov
72d14b8202 Replace typed_mock with mockito in front_end.
R=ahe@google.com, paulberry@google.com, sigmund@google.com
BUG=

Review-Url: https://codereview.chromium.org/2984123002 .
2017-07-24 11:46:18 -07:00
Kevin Moore
a83a69ff3e Another follow-up for Dependency cleanup
TDB=sigmund@google.com

Review-Url: https://codereview.chromium.org/2978243003 .
2017-07-18 18:03:18 -07:00
Kevin Moore
1418ba2fe6 Fix for DEP cleanup CL
at 500f5cb324

Review-Url: https://codereview.chromium.org/2983803002 .
2017-07-18 13:46:40 -07:00
Kevin Moore
500f5cb324 2nd try: SDK dep cleanup
Retry https://github.com/dart-lang/sdk/commit/7a9cc03c09
Which was reverted at https://github.com/dart-lang/sdk/commit/b6d15d87bc

R=devoncarew@google.com

Review-Url: https://codereview.chromium.org/2978233002 .
2017-07-18 13:13:50 -07:00
Kevin Moore
f33a75257d remove pkg/metatest from DEPS
R=whesse@google.com

Review-Url: https://codereview.chromium.org/2983763002 .
2017-07-18 08:27:20 -07:00
Kevin Moore
b6d15d87bc Revert "Remove several packages from DEPS"
Looks like we have tests that require these

This reverts commit 7a9cc03c09.

Review-Url: https://codereview.chromium.org/2980303002 .
2017-07-18 07:36:37 -07:00
Kevin Moore
7a9cc03c09 Remove several packages from DEPS
Copied the corresponding code from pkg/web_components

R=whesse@google.com

Review-Url: https://codereview.chromium.org/2977333002 .
2017-07-18 07:21:19 -07:00
Kevin Moore
be4df24c5f Remove when/which packages from .packages
Follow-up on c31c3c436b

R=devoncarew@google.com

Review-Url: https://codereview.chromium.org/2971023002 .
2017-07-05 14:05:27 -07:00
Devon Carew
8e45759a67 Add initial version of analytics and crash reporting package.
BUG=
R=brianwilkerson@google.com

Review-Url: https://codereview.chromium.org/2954733002 .
2017-06-29 16:46:54 -07:00
Janice Collins
14bbfa2321 Upgrade dartdoc to v0.12.0.
Tested manually, can generate SDK and package docs not withstanding https://github.com/dart-lang/dartdoc/issues/1448. All unit tests except the integration test pass (comment docs have changed for some SDK libraries since 0.12.0).

BUG=
R=devoncarew@google.com, whesse@google.com

Review-Url: https://codereview.chromium.org/2919823002 .
2017-06-16 07:51:13 -07:00
Florian Loitsch
979183decf Add support for the new function-type syntax.
Fixes #27967
BUG= http://dartbug.com/27967
R=ahe@google.com, johnniwinther@google.com, paulberry@google.com, sigmund@google.com

Committed: 85227ba8a6
Reverted: f5fc210f4f
Committed: e4999a6310
Reverted: c64c351539
Committed: c289af39c3
Reverted: c66479f407
Review-Url: https://codereview.chromium.org/2567133002 .
2017-02-23 13:36:28 +01:00
Florian Loitsch
c66479f407 Revert "Add support for the new function-type syntax."
This reverts commit c289af39c3.

BUG=

Review-Url: https://codereview.chromium.org/2710973002 .
2017-02-22 17:19:35 +01:00
Florian Loitsch
c289af39c3 Add support for the new function-type syntax.
Fixes #27967
BUG= http://dartbug.com/27967
R=ahe@google.com, johnniwinther@google.com, sigmund@google.com

Committed: 85227ba8a6

Reverted: f5fc210f4f

Committed: e4999a6310

Reverted: c64c351539
Review-Url: https://codereview.chromium.org/2567133002 .
2017-02-22 16:53:49 +01:00
William Hesse
a45c4ce68f Update third-party packages to most recent versions
BUG=
R=keertip@google.com, nweiz@google.com

Review-Url: https://codereview.chromium.org/2702483003 .
2017-02-17 00:33:09 +01:00
Peter von der Ahé
d0d27c1c38 Use parser and scanner from package:front_end.
Originally reviewed as:

    Review-Url: https://codereview.chromium.org/2650413002 .
    Review-Url: https://codereview.chromium.org/2652203002 .
    Review-Url: https://codereview.chromium.org/2655843002 .
    Review-Url: https://codereview.chromium.org/2654433009 .
    Review-Url: https://codereview.chromium.org/2647343003 .
    Review-Url: https://codereview.chromium.org/2652663005 .
    Review-Url: https://codereview.chromium.org/2650813002 .
    Review-Url: https://codereview.chromium.org/2650803002 .
    Review-Url: https://codereview.chromium.org/2651843004 .
    Review-Url: https://codereview.chromium.org/2649923002 .
    Review-Url: https://codereview.chromium.org/2651563003 .
    Review-Url: https://codereview.chromium.org/2649123002 .
    Review-Url: https://codereview.chromium.org/2644843006 .
    Review-Url: https://codereview.chromium.org/2647043002 .
    Review-Url: https://codereview.chromium.org/2642903003 .
    Review-Url: https://codereview.chromium.org/2645513002 .
    Review-Url: https://codereview.chromium.org/2642663003 .
    Review-Url: https://codereview.chromium.org/2642713002 .
    Review-Url: https://codereview.chromium.org/2635473002 .
    Review-Url: https://codereview.chromium.org/2624373003 .
    Review-Url: https://codereview.chromium.org/2627723006 .
    Review-Url: https://codereview.chromium.org/2627093007 .
    Review-Url: https://codereview.chromium.org/2629543008 .
    Review-Url: https://codereview.chromium.org/2629543007 .
    Review-Url: https://codereview.chromium.org/2631503002 .
    Review-Url: https://codereview.chromium.org/2621153006 .
2017-02-01 10:29:25 +01:00
Brian Wilkerson
53f498ad6d Create the directory for the plugin package
R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2659523006 .
2017-01-30 13:21:37 -08:00