Zachary Anderson
ae6d854ec6
[dart:io] Adds Platform.localeName
...
related #29126
R=fschneider@google.com
Review-Url: https://codereview.chromium.org/2785073002 .
2017-03-30 13:31:11 -07:00
William Hesse
1d2b30b147
Start working on version 1.24 of the Dart SDK
...
BUG=
R=kasperl@google.com
Review-Url: https://codereview.chromium.org/2784183003 .
2017-03-30 12:36:07 +02:00
Lasse R.H. Nielsen
ae22eed515
Improve changelog entry for URIs in part-of declarations.
...
Fixes #29185 .
BUG= http://dartbug.com/29185
R=kevmoo@google.com
Review-Url: https://codereview.chromium.org/2782183002 .
2017-03-30 11:55:27 +02:00
Bob Nystrom
cc1ba091e8
Bring dartfmt 1.0.1 (now 1.0.2) into the SDK.
...
R=kevmoo@google.com
Review-Url: https://codereview.chromium.org/2777623003 .
2017-03-29 15:54:19 -07:00
Jennifer Messerly
50be4c5d81
Update CHANGELOG.md ( #29183 )
2017-03-28 11:30:34 -07:00
Bob Nystrom
c62ddf2d40
Update dartfmt to 1.0.0
...
R=kevmoo@google.com
Review-Url: https://codereview.chromium.org/2765093002 .
2017-03-23 14:19:52 -07:00
Florian Loitsch
a382f7845c
Revert "Fix some strong mode issues in the core libraries."
...
This reverts commit e5c091e048
.
Review-Url: https://codereview.chromium.org/2767943002 .
2017-03-22 16:55:05 +01:00
Florian Loitsch
e5c091e048
Fix some strong mode issues in the core libraries.
...
R=vsm@google.com
Review-Url: https://codereview.chromium.org/2764943002 .
2017-03-22 15:59:10 +01:00
Kevin Moore
3e898f12ba
Bring in the latest pub
...
with associated CHANGELOG updates
R=rnystrom@google.com
Review-Url: https://codereview.chromium.org/2758753004 .
2017-03-17 15:15:10 -07:00
Kevin Moore
0d785a7f41
Document pub telemetry
...
and fix an oops from a previous change
R=rnystrom@google.com
Review-Url: https://codereview.chromium.org/2761543002 .
2017-03-17 15:09:46 -07:00
Kevin Moore
72805979f3
changelog updates
...
Missing pub items for 36635d3c05
and other cleanup
R=rnystrom@google.com
Review-Url: https://codereview.chromium.org/2748423002 .
2017-03-17 13:39:15 -07:00
Zach Anderson
b3093ecee6
[dart:io] Move Platform.ansiSupported to {Stdin,Stdout}.supportsAnsiEscapes
...
On Windows, some Windows 10 builds support only ANSI output, but not
input, so these need to be separated.
I'm also improving the detection on Mac and Linux to avoid hardcoding
the result. Instead, supportsAnsiEscapes will be true if isatty() and
the TERM environment variable contains the string 'xterm'.
related #28614
R=lrn@google.com
Review-Url: https://codereview.chromium.org/2753233002 .
2017-03-17 12:35:36 -07:00
Sigmund Cherem
0549e8caef
Add note to changelog about support for importing dart:io in dart2js.
...
R=jacobr@google.com
Review-Url: https://codereview.chromium.org/2754453004 .
2017-03-15 16:54:12 -07:00
Zach Anderson
8be1856589
Update CHANGELOG for Platform.ansiSupported
...
fixes #29079
R=fschneider@google.com
Review-Url: https://codereview.chromium.org/2756493002 .
2017-03-15 10:33:03 -07:00
William Hesse
77ff7cf727
Revert "Bring in the latest pub."
...
This reverts commit b3997dfc0c
.
Many pub tests are failing on Mac OS.
BUG=
R=sortie@google.com
Review-Url: https://codereview.chromium.org/2749643005 .
2017-03-15 11:00:23 +01:00
Natalie Weizenbaum
b3997dfc0c
Bring in the latest pub.
2017-03-14 13:12:52 -07:00
Lasse R.H. Nielsen
5ae186153c
Make Analyzer, VM and dart2js accept URI strings as part-of library identifier.
...
R=brianwilkerson@google.com , floitsch@google.com , hausner@google.com , johnniwinther@google.com , sigmund@google.com
Committed: ef097edad6
Review-Url: https://codereview.chromium.org/2640853005 .
2017-03-13 08:31:40 +01:00
Dmitry Stefantsov
9c340f9eb1
Revert last 4 commits by @lrn
...
Reverted commits:
* ef097edad6
. ("Make Analyzer, VM and
dart2js accept URI strings as part-of library identifier.")
* e8e1857814
. ("Fix bad example of URI
part-of to be bad, not good.")
* 58f7a92ede
. ("Add changelog entry for
allowing URI in part-of.")
* a4a7d98dce
. ("Use FutureOr in
Completer.complete.")
TBR=lrn@google.com
Review-Url: https://codereview.chromium.org/2724853002 .
2017-03-01 16:44:52 +01:00
Lasse R.H. Nielsen
58f7a92ede
Add changelog entry for allowing URI in part-of.
...
R=floitsch@google.com
Review-Url: https://codereview.chromium.org/2722183002 .
2017-03-01 14:04:44 +01:00
Dan Rubel
bfb8e82c6e
Document dartanalyzer analysis options changes ( #28928 )
2017-02-28 15:19:52 -08:00
Zach Anderson
feb64964cc
Updates CHANGELOG.md for windows console unicode
...
related #28571
R=fschneider@google.com
Review-Url: https://codereview.chromium.org/2709323002 .
2017-02-22 13:35:27 -08:00
Lasse R.H. Nielsen
dccdd1b981
Normalize UriData.parse result.
...
Validates base64 encoding, normalizes padding.
Normalizes non-base64 data using URI percent-escapes for all invalid characters.
Fixes issue #28728 , #28700
BUG= http://dartbug.com/28728 http://dartbug.com/28700
R=floitsch@google.com
Review-Url: https://codereview.chromium.org/2694373003 .
2017-02-17 11:02:38 +01:00
Zachary Anderson
3f5458cdcb
[dart:io] Adds functions to set file access and modification time
...
fixes #27877
R=asiva@google.com , floitsch@google.com
Review-Url: https://codereview.chromium.org/2681683005 .
2017-02-09 09:45:25 -08:00
Bob Nystrom
9b4210433b
Fix typo in CHANGELOG.
...
Fix #28613 .
R=kevmoo@google.com
Review-Url: https://codereview.chromium.org/2674803002 .
2017-02-02 16:21:23 -08:00
Bob Nystrom
c3f1212a9c
Add 1.22 features to CHANGELOG.
...
R=eernst@google.com , kevmoo@google.com , lrn@google.com , mit@google.com
Review-Url: https://codereview.chromium.org/2648203003 .
2017-01-30 08:11:04 -08:00
Lasse R.H. Nielsen
dd561d513b
Add Uri.isScheme test function.
...
Allows checking the scheme of a URI against a known value.
Example: `uri.isScheme("http")`.
Has two advantages over `uri.scheme == "http"`:
* It's case insensitive, so you can do `uri.isScheme("HTTP")` as well, and
* for simple URIs, it doesn't need to allocate a new string.
R=floitsch@google.com
Review-Url: https://codereview.chromium.org/2664453003 .
2017-01-30 13:26:39 +01:00
Sigmund Cherem
139d5d15db
Roll pub to the latest version.
...
BUG=
R=nweiz@google.com
Review-Url: https://codereview.chromium.org/2659083002 .
2017-01-27 16:48:58 -08:00
Zachary Anderson
624299811f
Update changelog for GN change
...
R=asiva@google.com
Review-Url: https://codereview.chromium.org/2638383005 .
2017-01-20 11:00:51 -08:00
Florian Loitsch
b002a17811
Add a changelog entry for Null
.
...
Fixes #28024
BUG= http://dartbug.com/28024
R=lrn@google.com
Review-Url: https://codereview.chromium.org/2640163005 .
2017-01-19 15:18:23 +01:00
Bob Nystrom
f0fcb81292
Bring in the latest pub.
...
This rolls back the "tar --name" fix which breaks pub lish on Mac.
R=nweiz@google.com , whesse@google.com
Review-Url: https://codereview.chromium.org/2636593003 .
2017-01-13 13:12:22 -08:00
Michael Thomsen
55b62121b0
Update CHANGELOG.md ( #28221 )
2016-12-30 12:11:15 +01:00
Kevin Moore
bcd63e598b
Add dart syntax to changelog
2016-12-20 10:04:29 -08:00
Michael Thomsen
c95423bc49
Update changelog.md to mention new assert with message feature ( #28156 )
...
* Update changelog.md to mention new assert with message feature
Fixes https://github.com/dart-lang/sdk/issues/28134
* Fix typo per review feedback
2016-12-20 05:20:59 -08:00
Sam Rawlins
f85d65badb
CHANGELOG: add issue links, an article link, and an example ( #28112 )
2016-12-15 12:09:39 +01:00
Bob Nystrom
1d74db1e2d
Add assert messages in DDC to the CHANGELOG.
...
(Also, alphabetize the tools.)
R=kevmoo@google.com
Review-Url: https://codereview.chromium.org/2574283002 .
2016-12-14 12:57:35 -08:00
Florian Loitsch
7374ec71bd
Remove support for mixin typedefs in dart2js.
...
Fixes #14410 .
BUG= http://dartbug.com/14410
R=johnniwinther@google.com , sigmund@google.com
Review-Url: https://codereview.chromium.org/2567943003 .
2016-12-13 14:04:06 +01:00
Natalie Weizenbaum
73a9897d20
Bring in the latest pub. ( #28035 )
2016-12-08 13:17:30 -08:00
William Hesse
b214f5fa7e
Start working on Version 1.22 of Dart
...
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org/2552373003 .
2016-12-07 18:03:20 +01:00
Kevin Moore
b7be77cf92
update docs on dart:developer Service class
...
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2544153003 .
2016-12-02 10:28:42 -08:00
Erik Ernst
f2907070d8
Added CHANGELOG.md entry on syntax-only generic methods.
...
R=lrn@google.com , mit@google.com
Review URL: https://codereview.chromium.org/2532863002 .
2016-11-30 13:36:02 +01:00
Erik Ernst
2812738546
Added CHANGELOG.md entry for initializing formal access.
...
R=kevmoo@google.com , lrn@google.com
Review URL: https://codereview.chromium.org/2540643002 .
2016-11-30 11:47:03 +01:00
Bob Nystrom
8daf4cfb73
Get the basics of deferred libraries working.
...
References to loadLibrary on a library prefix are compiled to a
helper function that returns a Future that always completes
successfully.
The deferred libraries aren't actually deferred, but code that uses
loadLibrary() now doesn't barf.
BUG=#27343
R=vsm@google.com
Review URL: https://codereview.chromium.org/2477673006 .
2016-11-07 10:41:23 -08:00
Jennifer Messerly
43bcc5945e
fix #27766 , allow implicit casts from dynamic to composite types
...
R=leafp@google.com
Review URL: https://codereview.chromium.org/2477093002 .
2016-11-04 17:37:13 -07:00
Lasse R.H. Nielsen
be4b4c6338
Add changes to switch cases warnings to CHANGELOG.md.
...
R=floitsch@google.com
Review URL: https://codereview.chromium.org/2447173005 .
2016-11-02 14:31:04 +01:00
John McCutchan
63e4f69e5e
Provide an API to dart:developer to control the web server hosting the Service Protocol
...
- [x] Add `ServiceProtocolnfo` class to dart:developer.
- [x] Add `Service` class to dart:developer.
- [x] Add `Service.getInfo` static method to dart:developer.
- [x] Add `Service.controlWebServer` static method to dart:developer.
API:
```dart
/// Information about the service protocol.
class ServiceProtocolInfo {
/// The major version of the protocol.
final int majorVersion;
/// The minor version of the protocol.
final int minorVersion;
/// The Uri to access the service. If the web server is not running, this
/// will be null.
final Uri serverUri;
}
/// Access information about the service protocol and control the web server.
class Service {
/// Get information about the service protocol.
static Future<ServiceProtocolInfo> getInfo();
/// Control the web server that the service protocol is accessed through.
static Future<ServiceProtocolInfo> controlWebServer({bool enable: false});
}
```
... and add a randomly generated authentication token path prefix that must be passed in to access the service protocol.
Old base url:
Observatory listening on http://127.0.0.1:54804/
New base url:
Observatory listening on http://127.0.0.1:54804/ <token>/
For example:
Observatory listening on http://127.0.0.1:54804/PTwjm8Ii8qg=/
Many tools will need to be updated.
Fixes #23320
BUG=
R=asiva@google.com , rmacnak@google.com
Review URL: https://codereview.chromium.org/2438613002 .
2016-10-31 12:32:23 -07:00
Florian Loitsch
6beb1fdd11
Change Set.difference API to accept Set<Object>.
...
Fixes #27573
BUG= http://dartbug.com/27573
R=lrn@google.com
Review URL: https://codereview.chromium.org/2413233002 .
2016-10-20 14:37:15 +02:00
William Hesse
bb91445e7e
Update CHANGELOG.md with release dates and patch releases.
...
BUG=
R=lrn@google.com
Review URL: https://codereview.chromium.org/2423973002 .
2016-10-17 14:04:33 +02:00
Lasse R.H. Nielsen
ac76d3eb9f
Update CHANGELOG.md for commit efb9a12811
(allow =
for named parameters)
...
(See efb9a12811
)
R=floitsch@google.com
Review URL: https://codereview.chromium.org/2419893004 .
2016-10-14 11:34:53 +02:00
William Hesse
8c4db65326
Start working on version 1.21
...
BUG=
R=kustermann@google.com
Review URL: https://codereview.chromium.org/2385633002 .
2016-09-30 11:49:21 +02:00
William Hesse
c20e2a0883
Update pub, making --packages-dir false by default
...
BUG=https://github.com/dart-lang/sdk/issues/27399
BUG=https://github.com/dart-lang/pub/issues/1450
R=kustermann@google.com
Review URL: https://codereview.chromium.org/2374143005 .
2016-09-29 14:01:13 +02:00