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
Karl Klose
ff99a0ce59
Merge kernel closure conversion into the Dart SDK
...
This is the result of:
- taking the diff of the branch closure_conversion to master in the kernel
repository
- updating the file paths
- applying the diff to the Dart SDK
- fixing conflicts between the changes to pkg/kernel in the Dart SDK and the master branch in the kernel repository
R=asgerf@google.com
Review-Url: https://codereview.chromium.org/2561723003 .
2016-12-15 10:16:22 +01:00
Asger Feldthaus
ce428a1f20
Complete merge of kernel repo into SDK.
...
This removes third_party/pkg/kernel and changes dependencies to
refer to pkg/kernel instead.
Some status files are updated to reflect new test outcomes.
2016-11-23 12:46:29 +01:00
Kevin Moore
90da9eeddc
Revert "Remove smoke and observe from SDK DEPS"
...
This reverts commit 4710e92cfc
.
Analyzer tests seem to still want to use the SDK DEPS for observatory – which needs smoke and observe
Review URL: https://codereview.chromium.org/2508523002 .
2016-11-15 12:58:51 -08:00
Kevin Moore
4710e92cfc
Remove smoke and observe from SDK DEPS
...
R=whesse@google.com
Review URL: https://codereview.chromium.org/2500393003 .
2016-11-15 12:38:40 -08:00
Kevin Moore
cee0f585ad
Remove pkg/pub_cache from pkg/third_party
...
R=devoncarew@google.com
Review URL: https://codereview.chromium.org/2498983006 .
2016-11-15 10:47:01 -08:00
Paul Berry
28b6a1f7ea
Add implementations of the front end FileSystem API.
...
This required some small changes to the API contract.
Note that the tests use supermixins. I'm assuming that supermixin
functionality will be available on all platforms by the time this is
needed. If not, I will be happy to rewrite them.
R=scheglov@google.com , sigmund@google.com
Review URL: https://codereview.chromium.org/2471283002 .
2016-11-03 08:21:10 -07:00
William Hesse
61eee9ee52
Use checked-in .package file for building and testing
...
Stop creating [build dir]/packages directory with symbolic links.
BUG=https://github.com/dart-lang/sdk/issues/23565
R=rnystrom@google.com
Committed: 5d3e356ca7
Review URL: https://codereview.chromium.org/1746743002 .
Reverted: 6d238ba197
2016-09-16 15:03:18 +02:00
William Hesse
6d238ba197
Revert "Use checked-in .package file for building and testing"
...
This reverts commit 5d3e356ca7
.
BUG=
R=eernst@google.com
Review URL: https://codereview.chromium.org/2340813004 .
2016-09-15 15:46:49 +02:00
William Hesse
5d3e356ca7
Use checked-in .package file for building and testing
...
Stop creating [build dir]/packages directory with symbolic links.
BUG=https://github.com/dart-lang/sdk/issues/23565
R=rnystrom@google.com
Review URL: https://codereview.chromium.org/1746743002 .
2016-09-15 14:50:30 +02:00