Commit graph

33 commits

Author SHA1 Message Date
Brian Wilkerson
7ed0bccca8 Add a README file to the meta package
Change-Id: Id8e9587a0a0f3573dcc713c9244c11d0d142a494
Reviewed-on: https://dart-review.googlesource.com/30140
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
2017-12-17 21:53:17 +00:00
Stephen Adams
4babd94282 Update dart2js.noInline docs
Change-Id: Id6870b405d2a379c221a3fc493adc547c84c450b
Reviewed-on: https://dart-review.googlesource.com/18506
Commit-Queue: Stephen Adams <sra@google.com>
Reviewed-by: Stephen Adams <sra@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
2017-11-03 19:04:20 +00:00
Stephen Adams
b3a93f44eb Add dart2js noInline and tryInline annotations to package:meta
There will be a follow-up change to remove NoInline from package:expect.

Change-Id: I6dc33241ea6d8b6a8994da6a8ec5295dab30f4da
Reviewed-on: https://dart-review.googlesource.com/17043
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2017-10-27 21:21:13 +00:00
Konstantin Shcheglov
6869702dae Deprecate @checked in package:meta, use covariant instead.
R=brianwilkerson@google.com, paulberry@google.com

Bug:
Change-Id: I024d15a804a394efbb3a982d6205f30d7385b89e
Reviewed-on: https://dart-review.googlesource.com/9781
Reviewed-by: Paul Berry <paulberry@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2017-09-30 01:25:15 +00:00
Sam Rawlins
c6d6a69a78 Add an alwaysThrows annotation to indicate that a function always throws.
BUG=https://github.com/dart-lang/sdk/issues/17999
R=brianwilkerson@google.com

Review-Url: https://codereview.chromium.org/2170643003 .
2017-06-13 12:42:25 -07:00
Brian Wilkerson
8d340ee8c6 Add an experimental annotation
R=matanl@google.com

Review-Url: https://codereview.chromium.org/2789843003 .
2017-03-31 10:54:24 -07:00
Brian Wilkerson
37890f995f Add a new annotation
R=pquitslund@google.com

Review URL: https://codereview.chromium.org/2420653002 .
2016-11-09 14:19:27 -08:00
Brian Wilkerson
f61a3eacc4 Add the @immutable annotation
R=pquitslund@google.com

Review URL: https://codereview.chromium.org/2476673004 .
2016-11-07 09:49:45 -08:00
John Messerly
865e808f15 support @virtual fields, fix #27384
R=leafp@google.com

Review URL: https://codereview.chromium.org/2352433002 .
2016-09-19 09:45:24 -07:00
John Messerly
05e945d1c0 follow up for #25578, add @checked to package:meta
R=pquitslund@google.com

Review URL: https://codereview.chromium.org/2334413002 .
2016-09-13 17:26:24 -07:00
Konstantin Shcheglov
5ade4b47f9 Add @visibleForTesting annotation to meta.
R=brianwilkerson@google.com, pquitslund@google.com
BUG=

Review URL: https://codereview.chromium.org/2231993002 .
2016-08-10 13:23:32 -07:00
pq
1ec53e449c Update @factory to allow for statics and nulls.
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org/2087953003 .
2016-06-21 15:33:07 -07:00
pq
bfd06cbd77 Extend @protected to include implemented interfaces.
Fixes: https://github.com/dart-lang/linter/issues/252.
BUG=
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org/2031053002 .
2016-06-02 16:13:03 -07:00
pq
da4f9c0b7f Fixed docs for meta.
BUG=
R=keertip@google.com

Review URL: https://codereview.chromium.org/1902483003 .
2016-04-18 14:29:45 -07:00
pq
1cbf0a4313 Annotation for @optionalTypeArgs (linter#196).
See: https://github.com/dart-lang/linter/issues/196

BUG=
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org/1879853002 .
2016-04-11 16:56:32 -07:00
Brian Wilkerson
e0f7b4f314 Add an optional parameter to the Required annotation
R=pquitslund@google.com

Review URL: https://codereview.chromium.org/1770653002 .
2016-03-07 07:08:07 -08:00
Brian Wilkerson
eadf713dfd Add the @literal annotation
R=pquitslund@google.com

Review URL: https://codereview.chromium.org/1747943002 .
2016-03-01 07:57:26 -08:00
Brian Wilkerson
55df03925a Clarify the semantics of the @required annotation
R=pquitslund@google.com

Review URL: https://codereview.chromium.org/1744273002 .
2016-03-01 07:56:36 -08:00
Brian Wilkerson
f4f8f05d97 Add @factory annotation
R=pquitslund@google.com

Review URL: https://codereview.chromium.org/1735313005 .
2016-02-26 14:48:22 -08:00
Brian Wilkerson
a614bcef5f Define the mustCallSuper annotation
R=pquitslund@google.com

Review URL: https://codereview.chromium.org/1740763003 .
2016-02-25 14:33:34 -08:00
Brian Wilkerson
33250f8ff5 Add the @required annotation
R=pquitslund@google.com

Review URL: https://codereview.chromium.org/1728273003 .
2016-02-25 08:47:36 -08:00
Brian Wilkerson
7d8b260b60 Define protected to apply to fields
R=pquitslund@google.com

Review URL: https://codereview.chromium.org/1719353002 .
2016-02-24 13:55:38 -08:00
Brian Wilkerson
8df095e6e0 Add the @protected annotation
R=ianh@google.com, pquitslund@google.com

Review URL: https://codereview.chromium.org/1706993002 .
2016-02-18 07:51:27 -08:00
pq
6a242d046a Add pkg/meta (#25741).
BUG=
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org/1705803002 .
2016-02-17 09:44:24 -08:00
lrn@google.com
7a76ad7834 Add @proxy to annotations.dart.
Remove package:meta

R=bak@google.com, brianwilkerson@google.com

Review URL: https://codereview.chromium.org//46593003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29525 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 10:25:08 +00:00
lrn@google.com
36332f6188 Add "deprecated" to the standard library.
If the editor supports it, we should have a declaration in the standard library.
I suggest a separte dart:annotation library. It may grow in the future.
Alternatively it can be put in dart:core.

R=bak@google.com

Review URL: https://codereview.chromium.org//27523002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29166 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 11:47:01 +00:00
kathyw@google.com
210edb7a54 Update meta and logging library descriptions; tweak fixnum
R=mcampione@google.com

Review URL: https://codereview.chromium.org//23220007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26562 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 22:17:10 +00:00
brianwilkerson@google.com
4fcdc6ee19 Implement the proxy annotation. Please verify that the semantics described are as desired.
R=gbracha@google.com

Review URL: https://codereview.chromium.org//23172011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26384 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 19:35:55 +00:00
sethladd@google.com
8fd2c2e5ea add installation instructions to pkg packages
BUG=

Review URL: https://codereview.chromium.org//14188048

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21770 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-19 20:51:10 +00:00
gram@google.com
afd6a79416 Update library syntax in pkg files.
Review URL: https://codereview.chromium.org//11362139

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14646 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 18:52:40 +00:00
ahe@google.com
6254729761 Revert "Parts must start with 'part of'" and "Attempt to fix VM build"
This reverts r13961 and r13963.

Review URL: https://codereview.chromium.org//11233061

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13967 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 14:24:04 +00:00
scheglov@google.com
50b5b6e1a8 Parts must start with 'part of'
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13961 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 13:20:50 +00:00
devoncarew@google.com
74f89e5f98 Update the meta package to use the new pub format.
Review URL: https://codereview.chromium.org//10979033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12919 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 16:47:10 +00:00