Commit graph

894 commits

Author SHA1 Message Date
Lasse Reichstein Holst Nielsen b3c12d4e3a Dart 2 Libraries Wave 3
Add `typeArguments` to Invocation.
Add constructors to Invocation, making it less necessary for users to create their own implementations.
Add tests.
Add Symbol.unaryMinus and Symbol.empty constants.

Change-Id: I70cb3265f9413617cf57fce1297e393a29eeb26a
Reviewed-on: https://dart-review.googlesource.com/40741
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
2018-03-08 16:36:07 +00:00
Vyacheslav Egorov 675048d0b6 Add pragma class to dart:core.
This class can be used to annotate declarations with
tool specific hints.

For example @pragma('vm:extern') can tell that a method is invoked from
outside (e.g. via VM C API), which informs Kernel based tools not to
tree-shake this method.

Design doc (internal) https://docs.google.com/document/d/1yqje8uctBqITcwKxhebb0EHunY1bt0Qd4yZExrTHIW8/edit

Change-Id: Icf2106accfb1167124582466a3a55486d432793d
Reviewed-on: https://dart-review.googlesource.com/43062
Reviewed-by: Leaf Petersen <leafp@google.com>
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Commit-Queue: Vyacheslav Egorov <vegorov@google.com>
2018-03-07 11:01:57 +00:00
Natalie Weizenbaum 699f7bc1b1 Bring in the latest pub
Closes #32030

Bug: 32030
Change-Id: I349bfff94ebd2700f9950ed151da08c0becc9500
Reviewed-on: https://dart-review.googlesource.com/44022
Reviewed-by: Kevin Moore <kevmoo@google.com>
Commit-Queue: Natalie Weizenbaum <nweiz@google.com>
2018-02-27 23:49:46 +00:00
Lasse R.H. Nielsen 8d38d94ddb Add static list methods.
Change-Id: I40574d695826a3ed038c7c756ce980fae001325d
Reviewed-on: https://dart-review.googlesource.com/43040
Reviewed-by: Leaf Petersen <leafp@google.com>
Reviewed-by: Peter von der Ahé <ahe@google.com>
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
2018-02-26 11:34:43 +00:00
Kevin Moore 696a8fcfa9 Changelog updates for SDK APIs through -dev.28
Excluding web-specific APIs – for now

Change-Id: I7a1c9b5550e1104d89dc1b338bc485e5324b5cc6
Reviewed-on: https://dart-review.googlesource.com/42889
Reviewed-by: Zach Anderson <zra@google.com>
2018-02-22 04:12:44 +00:00
Kevin Moore f5a8ac6c95 Update changelog entries for Dart 2 library changes
Includes async, cli, collection, convert, and core through -dev.28

Change-Id: I8b8769196e14a7d3952575edf1c79d54d8007523
Reviewed-on: https://dart-review.googlesource.com/42522
Reviewed-by: Leaf Petersen <leafp@google.com>
2018-02-21 01:36:15 +00:00
Mike Fairhurst 4c402f06da Add void semantic changes to the changelog, as they are now.
Deliberately a bit vague so that it is compliant with various subtle
changes that could still occur. Also, some suggestions to help people
migrate mockito, broadened into more general advice.

Bug: 32117
Change-Id: I93ee5575e85a6fb5f7fc7d2c5806b237a19c0ce4
Reviewed-on: https://dart-review.googlesource.com/40505
Reviewed-by: Samuel Rawlins <srawlins@google.com>
2018-02-12 02:15:58 +00:00
Lasse R.H. Nielsen f72e327df7 Add new Iterable/List/Set/Map changes to CHANGELOG.md.
Change-Id: I3486631d64f37fe66ee38c3f87dfd4e053bc7a30
Reviewed-on: https://dart-review.googlesource.com/39660
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
2018-02-07 14:58:11 +00:00
Florian Loitsch 3b8e4d41a7 Reapply "Run async functions immediately."
Which was reverted in commit 032be73dbe.
Originally commited in commit 67bac0bce6.
Original review URL: https://dart-review.googlesource.com/5263

Change-Id: Ic7333c29e502a3924dc6aade8ffa46fc8aa5b04a
Reviewed-on: https://dart-review.googlesource.com/38120
Commit-Queue: Florian Loitsch <floitsch@google.com>
Reviewed-by: William Hesse <whesse@google.com>
2018-02-02 15:50:16 +00:00
Florian Loitsch 032be73dbe Revert "Run async functions immediately."
This reverts commit 67bac0bce6.

Reason for revert: broke the bot.

Original change's description:
> Run async functions immediately.
> 
> Migrated from https://codereview.chromium.org/2478703003/
> 
> Change-Id: I1d678c01ba5876490b12c676c500171328361d31
> Reviewed-on: https://dart-review.googlesource.com/5263
> Commit-Queue: Florian Loitsch <floitsch@google.com>
> Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
> Reviewed-by: Vijay Menon <vsm@google.com>
> Reviewed-by: William Hesse <whesse@google.com>
> Reviewed-by: Martin Kustermann <kustermann@google.com>
> Reviewed-by: Régis Crelier <regis@google.com>

TBR=whesse@google.com,rnystrom@google.com,vegorov@google.com,kustermann@google.com,zra@google.com,floitsch@google.com,jmesserly@google.com,vsm@google.com,regis@google.com,sigmund@google.com

Change-Id: I20c948057423c3fa5aa8c72843f8f2a17e086ad5
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/37981
Reviewed-by: Florian Loitsch <floitsch@google.com>
Reviewed-by: William Hesse <whesse@google.com>
2018-02-01 15:01:21 +00:00
Florian Loitsch 67bac0bce6 Run async functions immediately.
Migrated from https://codereview.chromium.org/2478703003/

Change-Id: I1d678c01ba5876490b12c676c500171328361d31
Reviewed-on: https://dart-review.googlesource.com/5263
Commit-Queue: Florian Loitsch <floitsch@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
Reviewed-by: Vijay Menon <vsm@google.com>
Reviewed-by: William Hesse <whesse@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
Reviewed-by: Régis Crelier <regis@google.com>
2018-02-01 14:08:57 +00:00
Lasse Reichstein Holst Nielsen 0c18b643c6 Add RegExp.escape methods.
Fixes 4706

Bug: http://dartbug.com/4706
Change-Id: If635cb0eb7c20405ab0127a443fe51176191b5ad
Reviewed-on: https://dart-review.googlesource.com/35641
Reviewed-by: Stephen Adams <sra@google.com>
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
2018-02-01 09:56:47 +00:00
Leaf Petersen 991753313f Remove deep future flattening from analyzer and DDC
Change-Id: Ic48f29adec3a46744b259ba5b2b8ad7d97caa6c2
Reviewed-on: https://dart-review.googlesource.com/37424
Reviewed-by: Jenny Messerly <jmesserly@google.com>
2018-01-30 18:11:11 +00:00
Zachary Anderson c8f1af91a1 [dart:io] Update changelog for ProcessStartMode.INHERIT_STDIO
Change-Id: I917152a42c3054021047724d49624dcee77481dc
Reviewed-on: https://dart-review.googlesource.com/36565
Reviewed-by: Kevin Moore <kevmoo@google.com>
2018-01-24 16:39:57 +00:00
Alexander Markov 3c3c50e352 Add CHANGELOG entry for fixed-size integers in VM
Change-Id: I47fd1aef8765e927899cda164ed5a3764eaaf51c
Reviewed-on: https://dart-review.googlesource.com/36080
Reviewed-by: Kevin Moore <kevmoo@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2018-01-19 21:55:40 +00:00
Natalie Weizenbaum 1065b68388 Update the CHANGELOG to include the latest pub changes
Change-Id: Iacdf8023b6d4c429e1e709ef97c874da3a6c78ca
Reviewed-on: https://dart-review.googlesource.com/35814
Reviewed-by: Kevin Moore <kevmoo@google.com>
Commit-Queue: Natalie Weizenbaum <nweiz@google.com>
2018-01-19 01:01:24 +00:00
Zachary Anderson 9c40a7e662 Reland: [dart:cli] Adds waitFor(Future)
This is a reland of https://dart-review.googlesource.com/#/c/sdk/+/28920/
with the following changes:
- It creates a new library dart:cli
- waitFor(Future) goes in dart:cli instead of dart:io
- Removes a flaky test, and adds a missing precompiler entrypoint
- Adds waitFor(Future)
- Improves doc comments

fixes #31102

Change-Id: I04d2c46fd0afac049dd4fd1353905dc20da18f90
Reviewed-on: https://dart-review.googlesource.com/29449
Commit-Queue: Zach Anderson <zra@google.com>
Reviewed-by: Natalie Weizenbaum <nweiz@google.com>
Reviewed-by: Keerti Parthasarathy <keertip@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
2018-01-18 16:38:54 +00:00
Natalie Weizenbaum ed431d5a61 Bring in the latest pub
Change-Id: I8d2d11394a07cd116147e2ae86f3326c85cfe0f7
Reviewed-on: https://dart-review.googlesource.com/33661
Reviewed-by: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Natalie Weizenbaum <nweiz@google.com>
2018-01-12 22:47:50 +00:00
Lasse R.H. Nielsen 4dd367c652 Fix return type of Base64Codec.decode to say Uint8List.
Update some documentation.

Change-Id: I4e05d89e84bd35068ca57917e752af235c62b647
Reviewed-on: https://dart-review.googlesource.com/32762
Reviewed-by: Erik Ernst <eernst@google.com>
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
2018-01-08 13:27:02 +00:00
Sam Rawlins a8de95a55a Update changelog with analyzer features
Change-Id: Ibf8f08d43bd84faad5fad10bf73996273175428b
Reviewed-on: https://dart-review.googlesource.com/32144
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
2018-01-03 20:51:04 +00:00
Zachary Anderson 0e826ed894 Remove entry from CHANGELOG.md for reverted change
Trying to reland here: https://dart-review.googlesource.com/c/sdk/+/29449

Change-Id: Ia823a0e59ac68e169ebd7302d75d3204422c6f31
Reviewed-on: https://dart-review.googlesource.com/31743
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Zach Anderson <zra@google.com>
2018-01-02 17:38:03 +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
Zachary Anderson 3cd62c4b74 [dart:core] Adds @Provisional annotation
@Experimental is already defined in dart:html. Adding the same
annotation to dart:core breaks the build. Removing the annotation from
dart:html and adding it to dart:core is a breaking change, e.g.
if someone has said "import 'dart:html' show Experimental".

This annotation is for use in the upcoming dart:standalone with
the waitFor(Future f) function:

https://dart-review.googlesource.com/c/sdk/+/29449
Change-Id: Iea2f537a2ae89a6097c4284084a2a168e833bb04
Reviewed-on: https://dart-review.googlesource.com/30261
Commit-Queue: Zach Anderson <zra@google.com>
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2017-12-19 19:00:22 +00:00
William Hesse 7a481b1a96 Add CHANGELOG.md section for stable patch release 1.24.3
Bug:
Change-Id: I7e087042dbb2cc20865f94a2e36724a4da9aa72c
R=floitsch@google.com
Reviewed-on: https://dart-review.googlesource.com/30341
Reviewed-by: Florian Loitsch <floitsch@google.com>
2017-12-19 15:39:33 +00:00
Leaf Petersen 53908b0790 Remove warning for "is" checks with generic type parameters.
The analyzer used to emit a warning when a type parameter to a generic
method was used in an "is" check.  This warning was there to help
users write code that worked correctly on both Dart 1.0 and 2.0.  Now
that 2.0 generic methods are being more broadly supported and used,
this warning is blocking further library work, and is being removed.

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

Bug:
Change-Id: I70395305ad082aee3072b5beeb0b1b7f7883391b
Reviewed-on: https://dart-review.googlesource.com/29821
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2017-12-15 18:12:03 +00:00
Zachary Anderson d0be2749e9 Update CHANGELOG.md
Change-Id: Ie27d414fbe054ea609f465ecd40880f09592a305
Reviewed-on: https://dart-review.googlesource.com/29041
Reviewed-by: Ryan Macnak <rmacnak@google.com>
2017-12-13 18:05:56 +00:00
Lasse Reichstein Holst Nielsen 757d806b36 Add type parameter to Isolate.spawn.
This is a strong mode migration that was missed in the earlier rounds.
It allows use of functions that have a more restricted argument type than Object in strong mode
while still ensuring that the argument has a correct type.

Change-Id: Ib00e3f4b4a679c003a992d674c36ef672729b22e
Reviewed-on: https://dart-review.googlesource.com/24540
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
2017-12-04 07:11:44 +00:00
Lasse R.H. Nielsen 847cf039f0 Lower-case Isolate.{IMMEDIATE,BEFORE_NEXT_EVENT}.
Change-Id: I9a7071a7f6dc61b502f5aa9bc9bc2455247a7513
Reviewed-on: https://dart-review.googlesource.com/22984
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Florian Loitsch <floitsch@google.com>
2017-11-24 12:44:17 +00:00
Zachary Anderson 40c3e129c2 Fix typo in CHANGELOG
Change-Id: Ifa0ee6d23df6e79aca83717ff3115392229d9657
Reviewed-on: https://dart-review.googlesource.com/23222
Reviewed-by: Zach Anderson <zra@google.com>
2017-11-22 23:18:11 +00:00
Zachary Anderson 616215df1b [dart:io] Adds Stdin.hasTerminal to mirror Stdout.hasTerminal
fixes #29083

Change-Id: I5f4d7ac2a5df9600fd3ad12abc2dd6068d9980af
Reviewed-on: https://dart-review.googlesource.com/23145
Reviewed-by: Ryan Macnak <rmacnak@google.com>
2017-11-22 22:41:37 +00:00
Lasse R.H. Nielsen b8c1fc6434 Add lower-case constants to CHANGELOG.
Change-Id: I77950835659bbf7a119617197da4686fbbb66ada
Reviewed-on: https://dart-review.googlesource.com/21940
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
2017-11-20 19:33:46 +00:00
Stephen Adams 854ee4011a CHANGELOG.md entry for TextDecoder
R=kevmoo@google.com

Change-Id: I4a3c79c3fcaae6395ab835b7b6c44dfe89162c6f
Reviewed-on: https://dart-review.googlesource.com/21526
Commit-Queue: Stephen Adams <sra@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
2017-11-17 00:42:21 +00:00
Zachary Anderson 346e1edf7e [dart:io] Rename IoOverrides -> IOOverrides
fixes #31063

Change-Id: Ib49ae77903805a5c027ab870898954bb43901fda
Reviewed-on: https://dart-review.googlesource.com/13120
Reviewed-by: Kevin Moore <kevmoo@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Zach Anderson <zra@google.com>
2017-10-11 20:31:00 +00:00
Zachary Anderson dcd275fa74 [dart:io] Begins work on mocking support
Change-Id: I770ed9485a934af07e570fbad3f3fb84ebef973d
Reviewed-on: https://dart-review.googlesource.com/3302
Commit-Queue: Zach Anderson <zra@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Florian Loitsch <floitsch@google.com>
2017-10-10 17:39:12 +00:00
Michael Thomsen e62ac32a7b Clarify status of function-type syntax in 1.24
Bug:
Change-Id: Ic4d49612e8e4202bc25e0fb9ae5b194d29dc2f7e
Reviewed-on: https://dart-review.googlesource.com/12286
Reviewed-by: Anders Sandholm <sandholm@google.com>
Commit-Queue: Anders Sandholm <sandholm@google.com>
2017-10-09 11:19:25 +00:00
Zachary Anderson 2948f8c1b7 Reland: [dart:io] Moves Http code into a separate library.
This moves Http code into dart:_http. dart:io then imports and
re-exports dart:_http. This is the first stage of moving
dart:_http into its own pub package.

This CL was reverted due to a failure in the Flutter engine build
which happened due to an incomplete change in gen_snapshot.cc, and to
update sdk/lib/libraries.yaml and sdk/lib/libraries.json

Change-Id: Ie90c77ef631aea7a163774b58e8ccbaf71a24d3c
Reviewed-on: https://dart-review.googlesource.com/7588
Reviewed-by: Zach Anderson <zra@google.com>
2017-09-21 19:21:25 +00:00
Zach Anderson 64bf1b49b0 Revert "[dart:io] Moves Http code into a separate library."
Reverting for broken Flutter build and kernel platform compilation test. It looks like the new _http library is missing from various snapshots. Not sure why this didn't fail locally.

This reverts commit ac9ff3f3af.

Change-Id: I7fbc2f842cf1380793e7af9fb869cacd14682885
Reviewed-on: https://dart-review.googlesource.com/7600
Reviewed-by: Zach Anderson <zra@google.com>
2017-09-21 15:57:59 +00:00
Zachary Anderson ac9ff3f3af [dart:io] Moves Http code into a separate library.
This moves Http code into dart:_http. dart:io then imports and
re-exports dart:_http. This is the first stage of moving
dart:_http into its own pub package.

Change-Id: Icd33232a97b3d75511ef7ec88b01fd47cdcf5a23
Reviewed-on: https://dart-review.googlesource.com/6420
Reviewed-by: Siva Annamalai <asiva@google.com>
Reviewed-by: Florian Loitsch <floitsch@google.com>
2017-09-21 15:10:22 +00:00
Florian Loitsch 9572b5e2ec Update Changelog entry for strong zones.
Change-Id: I15dac60dfec77315dd3701c066c546fe979f3f0a
Reviewed-on: https://dart-review.googlesource.com/7400
Reviewed-by: Kevin Moore <kevmoo@google.com>
2017-09-21 06:56:22 +00:00
Florian Loitsch 38bf70d7ac Use generic functions in zones.
Migrated from https://chromiumcodereview.appspot.com/2893893002/

Change-Id: I0bd6dc1438eb1e6762e7760a08b5a760b07d4b10
Reviewed-on: https://dart-review.googlesource.com/4942
Reviewed-by: Florian Loitsch <floitsch@google.com>
Commit-Queue: Florian Loitsch <floitsch@google.com>
2017-09-20 15:46:06 +00:00
William Hesse adb0e8864f Update Dart version to 2.0.0
Bug:
Change-Id: I13a8daea5f7adae670cea73d429d552c1e96c8e6
Reviewed-on: https://dart-review.googlesource.com/6461
Commit-Queue: William Hesse <whesse@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
2017-09-18 09:31:05 +00:00
Jacob MacDonald 2506174830 update pub for latest changes
Bug:
Change-Id: I67d3ade64561f8623df4fc6ab488e33bac2db480
Reviewed-on: https://dart-review.googlesource.com/3281
Reviewed-by: Kevin Moore <kevmoo@google.com>
Reviewed-by: Bob Nystrom <rnystrom@google.com>
2017-09-15 22:36:44 +00:00
Lasse Reichstein Holst Nielsen 06f2a2eead Remove @proxy from the specification. Deprecate the annotation.
R=floitsch@google.com

Review-Url: https://codereview.chromium.org/3007853003 .
2017-09-04 07:56:53 +02:00
Zachary Anderson e2bce948ed [dart:io] Adds Platform.operatingSystemVersion
fixes #30018

R=rmacnak@google.com

Review-Url: https://codereview.chromium.org/3006873002 .
2017-09-01 22:08:48 -07:00
William Hesse b1bf62ca54 Fix spelling errors in CHANGELOG.md
This is a port of commit 1abadb5e84 from the dev branch to the master branch

BUG=
TBR=kevmoo@google.com

Review-Url: https://codereview.chromium.org/2999423002 .
2017-08-23 13:33:31 +02:00
Jennifer Messerly 65e609548d fix #28988, remove throw on Dart1 incompatible is-checks for dartdevc
We've had this flag off in testing for quite a while. This should not affect user code because it's removing a throw.

R=leafp@google.com

Review-Url: https://codereview.chromium.org/2996573002 .
2017-08-07 16:41:18 -07:00
Zachary Anderson 633ed4cf83 [corelib] dart:developer timeline flow events
This change adds an API to dart:developer Timeline for
adding flow events to the timeline. For details see the
changes in:

sdk/lib/developer/timeline.dart

R=rmacnak@google.com

Review-Url: https://codereview.chromium.org/2985253002 .
2017-07-31 07:46:52 -07:00
Natalie Weizenbaum 5a74d8ab09 Properly handle Windows file: URLs on Node.js (#30098)
This adds logic to the JS implementation of URI to determine whether
the code is running on Windows under Node.js.
2017-07-12 14:57:01 -07:00
Jacob MacDonald c4ea80a74c update pub to get --build-delay arg and remove require.js loading timeouts
BUG=
R=nweiz@google.com

Review-Url: https://codereview.chromium.org/2968213002 .
2017-07-06 14:16:09 -07:00
Bob Nystrom d107b64680 Bring the latest dart_style into the repo. (#30083) 2017-07-06 10:37:11 -07:00
Natalie Weizenbaum f4750db137 Bring in the latest pub. (#30053) 2017-06-29 13:50:09 -07:00
Michael Thomsen 29fee6b997 Synchronize 1.24 entries with stable (#30013)
Synchronize master changelog with stable changelog
2017-06-26 16:04:51 +02:00
Ben Konyi 06456e83d8 Added timeout parameter to RawSecureSocket and SecureSocket connect methods. Also updated CHANGELOG and SecureSocket tests to reflect this change. Issue 19120.
BUG=
R=zra@google.com

Review-Url: https://codereview.chromium.org/2950413002 .
2017-06-22 13:45:26 -07:00
Zachary Anderson ac16656161 Remove MIPS support
R=asiva@google.com

Review-Url: https://codereview.chromium.org/2858623002 .
2017-06-22 08:49:22 -07:00
Ben Konyi 86fdbde70a Added timeout parameter to RawSocket and Socket connect, which allows for the specification of a maximum time to wait for a valid connection to be established.
fixes #19120

R=zra@google.com

Review-Url: https://codereview.chromium.org/2946333002 .
2017-06-21 14:31:52 -07:00
Florian Loitsch 4598e15f8b Add a changelog entry for the new part-of syntax.
R=leafp@google.com

Review-Url: https://codereview.chromium.org/2902163002 .
2017-06-19 13:40:10 +02:00
Jacob MacDonald b5717a77ae update pub to get latest dartdevc fixes
BUG=
R=jacobr@google.com, nweiz@google.com

Review-Url: https://codereview.chromium.org/2939763002 .
2017-06-13 13:24:45 -07:00
Natalie Weizenbaum 4146852999 Bring in the latest http_throttle. (#29793)
Bring in the latest http_throttle.

See dart-lang/pub#1610
2017-06-08 15:14:28 -07:00
Ben Konyi 033c18472d Revert "Removed SecurityContext.alpnSupported, as ALPN is now supported on all platforms. Also updated CHANGELOG.md to announce its removal."
This reverts commit 4b6fa0d5fb.

BUG=
R=kevmoo@google.com

Review-Url: https://codereview.chromium.org/2928013002 .
2017-06-08 14:32:41 -07:00
Kevin Moore e41c56580a CHANGELOG updates for dart:html and friends
R=terry@google.com

Review-Url: https://codereview.chromium.org/2924203002 .
2017-06-07 21:19:08 -07:00
Kevin Moore 3fdae3b5c3 1.24 changelog cleanup
R=devoncarew@google.com

Review-Url: https://codereview.chromium.org/2926213002 .
2017-06-07 17:16:13 -07:00
Ben Konyi 4b6fa0d5fb Removed SecurityContext.alpnSupported, as ALPN is now supported on all platforms. Also updated CHANGELOG.md to announce its removal.
BUG=
R=zra@google.com

Review-Url: https://codereview.chromium.org/2926153004 .
2017-06-07 15:15:58 -07:00
Ben Konyi 9cf7ba4f84 Updated changelog to describe changes made to SecureSocket, SecurityContext, and X509Certificate.
BUG=
R=zra@google.com

Review-Url: https://codereview.chromium.org/2924133002 .
2017-06-07 14:42:49 -07:00
Florian Loitsch 33f360cc38 Revert "Add groupBy to Stream."
This reverts commit 3e8bfb1adb and 3f90b06836.

R=lrn@google.com

Review-Url: https://codereview.chromium.org/2921663002 .
2017-06-01 16:11:39 +02:00
William Hesse dfbce8f779 Start working on version 1.25 of Dart SDK
BUG=
R=kasperl@google.com

Review-Url: https://codereview.chromium.org/2920753003 .
2017-06-01 13:54:22 +02:00
Jacob MacDonald 1d9a2e8a95 update changelog to mention pub support for dartdevc
BUG=
R=nweiz@google.com

Review-Url: https://codereview.chromium.org/2910523002 .
2017-05-27 16:58:27 -07:00
Florian Loitsch e9e9835afc Add a changelog entry for the function-type syntax.
Fixes #27527
BUG= http://dartbug.com/27527
R=leafp@google.com

Review-Url: https://codereview.chromium.org/2906453002 .
2017-05-24 18:23:06 +02:00
Zachary Anderson 467dad857e Adds deprecation messages for MIPS cross-builds
fixes #29678

R=asiva@google.com

Review-Url: https://codereview.chromium.org/2899803002 .
2017-05-22 13:35:23 -07:00
Erik Ernst ecd86d9bfc Adjusted wording for "return anything from void =>" to include setters
Addresses issue https://github.com/dart-lang/sdk/issues/29683.

R=floitsch@google.com

Review-Url: https://codereview.chromium.org/2899753002 .
2017-05-22 15:58:21 +02:00
Erik Ernst 9820535bc1 Announced #28939 (void f() => e allows an e of any type) in changelog
Addresses sdk issue #29646.

R=floitsch@google.com

Review-Url: https://codereview.chromium.org/2887253003 .
2017-05-18 17:12:46 +02:00
Florian Loitsch 5202df2238 Warn when adding something to a closed sink and improve documentation.
Adding to a closed sink will throw once https://codereview.chromium.org/2857393003/ is committed.

Also:
Fixes #29122.

BUG= http://dartbug.com/29122
R=lrn@google.com, whesse@google.com

Committed: 8e19729b89
Reverted: 8f3ae7e7e1
Committed: c0090fa01f
Reverted: a4eb8b8fe3
Review-Url: https://codereview.chromium.org/2822173002 .
2017-05-08 15:52:19 +02:00
Florian Loitsch a4eb8b8fe3 Revert "Warn when adding something to a closed sink and improve documentation."
This reverts commit c0090fa01f.

Review-Url: https://codereview.chromium.org/2872603002 .
2017-05-08 15:18:46 +02:00
Florian Loitsch c0090fa01f Warn when adding something to a closed sink and improve documentation.
Adding to a closed sink will throw once https://codereview.chromium.org/2857393003/ is committed.

Also:
Fixes #29122.

BUG= http://dartbug.com/29122
R=lrn@google.com, whesse@google.com

Committed: 8e19729b89
Reverted: 8f3ae7e7e1
Review-Url: https://codereview.chromium.org/2822173002 .
2017-05-08 14:27:06 +02:00
Florian Loitsch 8e01f69305 Void is not required to be null anymore.
In checked mode, `void` now accepts any value.

Fixes #28937.
Fixes #28938.

BUG= http://dartbug.com/28937
BUG= http://dartbug.com/28938
R=johnniwinther@google.com, kmillikin@google.com, lrn@google.com, regis@google.com

Committed: 521dc6620f
Reverted: a3c0cb65af
Committed: 4e52c457a9
Reverted: 4b35d3995b
Committed: 6caf9ef443
Reverted: 30d9bf2ed3
Review-Url: https://codereview.chromium.org/2718513002 .
2017-05-08 11:31:37 +02:00
Lasse R.H. Nielsen 3e8bfb1adb Add groupBy to Stream.
R=floitsch@google.com

Review-Url: https://codereview.chromium.org/2850393003 .
2017-05-08 10:25:17 +02:00
Jens Johansen 30d9bf2ed3 Revert "Void is not required to be null anymore."
This reverts commit 6caf9ef443.

Commit breaks vm-kernel-linux-debug-x64-be.

Triggers asserts like
../../runtime/vm/flow_graph_compiler_x64.cc: 658: error: expected: dst_type.IsMalformedOrMalbounded() || (!dst_type.IsDynamicType() && !dst_type.IsObjectType() && !dst_type.IsVoidType())

Quick-check with python tools/test.py -cdartk -t120 --builder-tag no_ipv6 --vm-options --no-enable-malloc-hooks isolate

BUG=

Review-Url: https://codereview.chromium.org/2865603003 .
2017-05-05 08:56:26 +02:00
Leaf Petersen 006c22d0a2 Re-remove ad hoc Future.then inference.
Ad hoc inference for Future.then (and overrides) was kept in place for
an extra release cycle to allow code that implemented the Future
interface to work both before and after the transition to using
FutureOr for the callback return type.  This CL removes support for
this ad hoc inference.

BUG=
R=jmesserly@google.com

Review-Url: https://codereview.chromium.org/2859703004 .
2017-05-04 10:45:21 -07:00
Florian Loitsch 6caf9ef443 Void is not required to be null anymore.
In checked mode, `void` now accepts any value.

Fixes #28937.
Fixes #28938.

BUG= http://dartbug.com/28937
BUG= http://dartbug.com/28938
R=johnniwinther@google.com, lrn@google.com, regis@google.com

Committed: 521dc6620f
Reverted: a3c0cb65af
Committed: 4e52c457a9
Reverted: 4b35d3995b
Review-Url: https://codereview.chromium.org/2718513002 .
2017-05-04 16:27:52 +02:00
Florian Loitsch 8f3ae7e7e1 Revert "Throw when adding something to a closed sink and improve documentation."
This reverts commit 8e19729b89.

BUG=

Review-Url: https://codereview.chromium.org/2864443002 .
2017-05-04 12:52:47 +02:00
Florian Loitsch 8e19729b89 Throw when adding something to a closed sink and improve documentation.
As port of this CL all changes of https://codereview.chromium.org/20036002 are reverted.

Also fixes issue 29122.

BUG= http://dartbug.com/29122
R=lrn@google.com, whesse@google.com

Review-Url: https://codereview.chromium.org/2822173002 .
2017-05-04 11:42:22 +02:00
Florian Loitsch 4b35d3995b Revert "Void is not required to be null anymore."
This reverts commit 4e52c457a9.

BUG=

Review-Url: https://codereview.chromium.org/2863463002 .
2017-05-03 19:22:22 +02:00
Florian Loitsch 4e52c457a9 Void is not required to be null anymore.
In checked mode, `void` now accepts any value.

Fixes #28937.
Fixes #28938.

BUG= http://dartbug.com/28937
BUG= http://dartbug.com/28938
R=johnniwinther@google.com, lrn@google.com, regis@google.com

Committed: 521dc6620f
Reverted: a3c0cb65af
Review-Url: https://codereview.chromium.org/2718513002 .
2017-05-03 17:43:23 +02:00
Florian Loitsch a3c0cb65af Revert "Void is not required to be null anymore."
This reverts commit 521dc6620f.

BUG=

Review-Url: https://codereview.chromium.org/2855173002 .
2017-05-03 17:36:39 +02:00
Florian Loitsch 521dc6620f Void is not required to be null anymore.
In checked mode, `void` now accepts any value.

Fixes #28937.
Fixes #28938.

BUG= http://dartbug.com/28937
BUG= http://dartbug.com/28938
R=johnniwinther@google.com, lrn@google.com, regis@google.com

Review-Url: https://codereview.chromium.org/2718513002 .
2017-05-03 17:31:21 +02:00
Florian Loitsch f6020b6d7e Make json-maps implement Map<String, dynamic>.
Fixes #26407.
http://dartbug.com/26407

R=lrn@google.com

Review-Url: https://codereview.chromium.org/1980663002 .
2017-05-02 14:51:32 +02:00
Florian Loitsch bc877a83d3 Move dart-convert changelog entry to the correct place.
Review-Url: https://codereview.chromium.org/2851233002 .
2017-05-01 18:20:04 +02:00
Florian Loitsch 5aff94f980 Fix some strong mode issues in the core libraries.
R=vsm@google.com

Committed: e5c091e048
Reverted: a382f7845c
Review-Url: https://codereview.chromium.org/2764943002 .
2017-05-01 15:20:30 +02:00
Ben Konyi f6881162fe Updated CHANGELOG.md to include addition of RawSynchronousSocket. Fix issue #29485.
BUG=
R=zra@google.com

Review-Url: https://codereview.chromium.org/2849603002 .
2017-04-27 13:16:32 -07:00
Bob Nystrom 5d311f151a Bring dart_style 1.0.4 into the repo. (#29487) 2017-04-26 14:54:05 -07:00
Florian Loitsch ae601122e6 Use a better example of overriding fields in the changelog.
Review-Url: https://codereview.chromium.org/2833063003 .
2017-04-21 17:49:38 +02:00
Zachary Anderson 63ffa88171 Update CHANGELOG.md for recent dart:io additions
R=kevmoo@google.com

Review-Url: https://codereview.chromium.org/2819383003 .
2017-04-18 08:39:22 -07:00
Florian Loitsch 9add06fe7f Remove changelog entry for part-of in 1.23.
Review-Url: https://codereview.chromium.org/2827433007 .
2017-04-18 16:12:47 +02:00
Bob Nystrom 8abc899c0a Bring in the latest Pub.
R=nbosch@google.com

Review-Url: https://codereview.chromium.org/2805893004 .
2017-04-07 17:57:04 -07:00
Nate Bosch 5f6c950695 Update to latest pub
BUG=
R=kevmoo@google.com, rnystrom@google.com

Review-Url: https://codereview.chromium.org/2789213002 .
2017-04-03 11:24:00 -07:00
Leaf Petersen d9e7a36616 Strong mode changelog updates for 1.23.0
Update changelog for down cast composite changes, and new mixin
restriction.  Also move Strong Mode section underneath Language.

BUG=
R=kevmoo@google.com

Review-Url: https://codereview.chromium.org/2788703002 .
2017-03-30 14:22:23 -07:00
Zach Anderson bc923bed16 [dart:io] Reland: Adds Platform.localeName
The Mac OS build broke because a typedef wasn't added until 10.12.

related #29126

Review-Url: https://codereview.chromium.org/2786183003 .
2017-03-30 13:51:46 -07:00
Zachary Anderson e75df3cce3 Revert "[dart:io] Adds Platform.localeName"
This reverts commit ae6d854ec6.

The build failed on the mac build bots. Need to investigate.

Review-Url: https://codereview.chromium.org/2791453002 .
2017-03-30 13:35:02 -07:00
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
Kevin Moore f7e6c02e22 Document thrown errors during function parsing
Other cleanup
Closes https://github.com/dart-lang/sdk/issues/27376

R=whesse@google.com

Review URL: https://codereview.chromium.org/2368413003 .
2016-09-28 11:35:45 -07:00
John Messerly 361cd4c61c fix #27408, reverts "ignore dynamic in inference"
this reverts 8c25a41acc

R=vsm@google.com

Review URL: https://codereview.chromium.org/2360973004 .
2016-09-23 17:01:33 -07:00
Bob Nystrom f8bca9b5bc Bump dart_style to 0.2.10.
R=kevmoo@google.com

Review URL: https://codereview.chromium.org/2365503004 .
2016-09-23 13:56:57 -07:00
John Messerly 8c25a41acc ignore dynamic when doing inference
R=leafp@google.com

Review URL: https://codereview.chromium.org/2343863004 .
2016-09-20 09:59:08 -07: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 cbdfa87b88 add a changelog entry for #27151
R=leafp@google.com

Review URL: https://codereview.chromium.org/2338293003 .
2016-09-16 16:06:19 -07:00
Zachary Anderson 3360b3cef9 Update CHANGELOG for tcmalloc change
R=asiva@google.com

Review URL: https://codereview.chromium.org/2345273002 .
2016-09-16 09:30:45 -07:00
Zachary Anderson 139db22be5 Use OS-provided trusted root certs on Linux
First, the look for trusted root certificates
in standard locations on the file system
(/etc/pki/tls/certs/ca-bundle.crt followed by
/etc/ssl/certs), and only if these do not exist
will we fall back on the compiled-in trusted root
certificates. This behavior can be overridden
with the new flags --root-certs-file and
--root-certs-cache.

R=asiva@google.com

Review URL: https://codereview.chromium.org/2346683003 .
2016-09-16 09:08:51 -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
Florian Loitsch 6255638cd0 Return futures on Stream.cancel when possible.
Deprecate returning `null`.

Also, fixes cases where transformations on a stream didn't forward the cancel future

Fixes #26777.

BUG= http://dartbug.com/26777.
R=lrn@google.com

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

Committed: 395e7aaa69
Reverted: 99e5328eac
Committed: 1905ddafaa
Reverted: 46a8579c1e
2016-09-05 17:41:22 +02:00
John Messerly f57ed4d894 fix #26992, inference failures are now an error
R=leafp@google.com

Review URL: https://codereview.chromium.org/2295853002 .
2016-09-01 13:38:09 -07:00
Zachary Anderson b990bc3794 Fix native extension lookup
This CL allows native extension lookup to defer to the platform's
library lookup (e.g. dlopen) when the library cannot be found next to
the importing Dart library. It also allows dart-ext: to accept an
absolute path to the native library.

R=asiva@google.com

Review URL: https://codereview.chromium.org/2285223003 .
2016-08-30 09:31:47 -07:00
Lasse R.H. Nielsen 99ec987a09 Remove deprecated Resource class from dart:core.
BUG=
R=floitsch@google.com, mit@google.com

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

Committed: f61143153a
Committed: 35437dda1f
2016-08-26 11:58:04 +02:00
Lasse Nielsen 35437dda1f Remove deprecated Resource class from dart:core.
BUG=
R=floitsch@google.com, mit@google.com

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

Committed: f61143153a
2016-08-26 10:50:58 +02:00
Lasse Nielsen f61143153a Remove deprecated Resource class from dart:core.
BUG=
R=floitsch@google.com, mit@google.com

Review URL: https://codereview.chromium.org/2272373002 .
2016-08-26 10:31:08 +02:00
Ryan Macnak aa38062a23 Add WebSocket.addUtf8Text to allow sending pre-encoded text without a round-trip UTF-8 conversion.
Use it to implement the vm-service, where in particular we are concerned about the space overhead of the conversion leading to the process being killed on iOS.

Closes #27129

R=johnmccutchan@google.com, lrn@google.com

Review URL: https://codereview.chromium.org/2260073002 .
2016-08-24 16:15:07 -07:00
Florian Loitsch 33b7b45252 Deal with synchronous errors in Future.wait.
Synchronous errors are caught and piped into the returned future. This makes handling errors in Future.wait uniform.

Fixes #23656
BUG= http://dartbug.com/23656
R=lrn@google.com

Review URL: https://codereview.chromium.org/2252823004 .
2016-08-18 14:09:20 +02:00
Kevin Moore 10508d48b5 fixed merge issue in CHANGELOG
Review URL: https://codereview.chromium.org/2252113002 .
2016-08-17 10:54:48 -07:00
Kevin Moore c1a0a039ee Changelog tweaks
Remove not on glibc upgrade - reverted
Moved tool notes above strong mode notes - more important to more people
Remove dart:io notes – bug fixes don't meet the bar for changelog

R=mit@google.com

Review URL: https://codereview.chromium.org/2252803002 .
2016-08-17 10:48:58 -07:00
Lasse R.H. Nielsen afbbbb97cf Reapply fast-URI patch.
Review URL: https://codereview.chromium.org/2245533004 .
2016-08-17 10:54:24 +02:00
Natalie Weizenbaum 38dccc88ff Bring in the latest pub.
R=rnystrom@google.com

Review URL: https://codereview.chromium.org/2250053004 .
2016-08-16 15:48:20 -07:00
Natalie Weizenbaum 279c5d6334 Bring in the latest pub.
This time bring in its dependencies as well.

R=rnystrom@google.com

Review URL: https://codereview.chromium.org/2252493002 .
2016-08-15 14:57:49 -07:00
Natalie Weizenbaum 9c0364edca Revert "Bring in the latest pub."
This reverts commit bb65edde0d.

TBR

R=rnystrom@google.com

Review URL: https://codereview.chromium.org/2246213002 .
2016-08-15 14:25:53 -07:00
Natalie Weizenbaum bb65edde0d Bring in the latest pub.
R=rnystrom@google.com

Review URL: https://codereview.chromium.org/2243553002 .
2016-08-15 14:21:59 -07:00
John Messerly e36fa2b3be fix #26120, sideways casts no longer supported
R=vsm@google.com

Review URL: https://codereview.chromium.org/2231273002 .
2016-08-12 14:32:36 -07:00
John Messerly e0a6e71c75 update changelog for recent strong mode fixes to future
R=shaza@google.com

Review URL: https://codereview.chromium.org/2232583002 .
2016-08-10 12:40:37 -07:00
Lasse R.H. Nielsen 3502fd5fd7 Revert "Reapply fast-URI patch."
Seems to trigger VM bug.

Review URL: https://codereview.chromium.org/2225243003 .
2016-08-09 12:51:58 +02:00
Lasse R.H. Nielsen 99e94db85b Reapply fast-URI patch.
R=whesse@google.com

Review URL: https://codereview.chromium.org/2220373002 .
2016-08-09 09:38:47 +02:00
Florian Loitsch 46a8579c1e Revert "Return futures on Stream.cancel when possible."
This reverts commit 1905ddafaa.

Review URL: https://codereview.chromium.org/2223133002 .
2016-08-08 19:31:04 +02:00
Florian Loitsch 1905ddafaa Return futures on Stream.cancel when possible.
Deprecate returning `null`.

Also, fixes cases where transformations on a stream didn't forward the cancel future

Fixes #26777.

BUG= http://dartbug.com/26777.
R=lrn@google.com

Committed: 395e7aaa69

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

Reverted: 99e5328eac
2016-08-08 17:30:36 +02:00
Zachary Anderson 33d2787483 Fix typo in CHANGELOG
Review URL: https://codereview.chromium.org/2226733002 .
2016-08-08 07:57:18 -07:00
Søren Gjesse f9404b969b Handle HTTP header parameters with empty values better
This handles the null issue reported.

Closes #26598

BUG= https://github.com/dart-lang/sdk/issues/26958
R=floitsch@google.com

Review URL: https://codereview.chromium.org/2225003002 .
2016-08-08 16:35:15 +02:00
Michael Thomsen 7482613351 Add trailing comma support to changelog
BUG=
R=lrn@google.com

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

Committed: 8770a64d91
Committed: 06ccf2882c
2016-08-08 11:08:37 +02:00
Michael Thomsen 06ccf2882c Add trailing comma support to changelog
BUG=
R=lrn@google.com

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

Committed: 8770a64d91
2016-08-08 11:04:46 +02:00
Michael Thomsen 8770a64d91 Add trailing comma support to changelog
BUG=
R=lrn@google.com

Review URL: https://codereview.chromium.org/2220963002 .
2016-08-08 10:42:15 +02:00
Michael Thomsen cfc2f577e1 Add link to building wiki page
BUG=
R=whesse@google.com

Review URL: https://codereview.chromium.org/2220353002 .
2016-08-08 10:41:51 +02:00
Zachary Anderson b2c771263f Update changelog for BoringSSL roll
R=asiva@google.com

Review URL: https://codereview.chromium.org/2217103003 .
2016-08-05 11:03:06 -07:00
John Messerly efe9f1140d fix #26965, allow promotion from type param upper bound in strong mode
Also updates the changelog with this, and adds notes on a few other missing strong mode features.

R=leafp@google.com

Review URL: https://codereview.chromium.org/2214833002 .
2016-08-05 08:51:44 -07:00
John Messerly 1bb6da7937 fix #26414, infer return types of local functions
R=leafp@google.com

Review URL: https://codereview.chromium.org/2209293002 .
2016-08-05 07:25:14 -07:00
Florian Loitsch 99e5328eac Revert "Return futures on Stream.cancel when possible."
This reverts commit 395e7aaa69.

Review URL: https://codereview.chromium.org/2213193004 .
2016-08-05 14:32:14 +02:00
Florian Loitsch 395e7aaa69 Return futures on Stream.cancel when possible.
Deprecate returning `null`.

Also, fixes cases where transformations on a stream didn't forward the cancel future

Fixes #26777.

BUG= http://dartbug.com/26777.
R=lrn@google.com

Review URL: https://codereview.chromium.org/2202533003 .
2016-08-05 13:58:45 +02:00
Sigmund Cherem 0eee4027a6 Delete dart_backend from compiler.
R=sra@google.com

Review URL: https://codereview.chromium.org/2213673002 .
2016-08-04 15:57:04 -07:00
Florian Loitsch b8c12bc9ff Make Mac-port non-blocking.
Fixes issue #26790.

BUG= http://dartbug.com/26790
R=sgjesse@google.com

Review URL: https://codereview.chromium.org/2211523002 .
2016-08-04 15:58:20 +02:00
Florian Loitsch ef4933df25 Better error-message when bind fails.
See #26790.

R=sgjesse@google.com

Committed: 34aed6a08b

Reverted: a1005bad7e

Committed: 8c4954492f

Reverted: 5ebcd3cda0

Committed: eaeb260244

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

Reverted: 90a194be3c
2016-08-04 14:45:01 +02:00
Florian Loitsch 90a194be3c Enter a description of the change.
Merge branch 'master' into revert

Revert "Better error-message when bind fails."

This reverts commit eaeb260244.

Review URL: https://codereview.chromium.org/2213533002 .
2016-08-03 23:18:39 +02:00
Florian Loitsch eaeb260244 Better error-message when bind fails.
See #26790.

R=sgjesse@google.com

Committed: 34aed6a08b

Reverted: a1005bad7e

Committed: 8c4954492f

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

Reverted: 5ebcd3cda0
2016-08-03 22:44:28 +02:00
Ryan Macnak 5ebcd3cda0 Revert "Better error-message when bind fails."
This reverts commit 8c4954492f.

This change broke the Android build.

Review URL: https://codereview.chromium.org/2201183004 .
2016-08-03 09:54:57 -07:00
Florian Loitsch 8c4954492f Better error-message when bind fails.
See #26790.

R=sgjesse@google.com

Committed: 34aed6a08b

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

Reverted: a1005bad7e
2016-08-03 16:27:48 +02:00
Florian Loitsch a1005bad7e Revert "Better error-message when bind fails."
This reverts commit 34aed6a08b.

Review URL: https://codereview.chromium.org/2210523002 .
2016-08-03 15:47:15 +02:00
Florian Loitsch 34aed6a08b Better error-message when bind fails.
See #26790.

R=sgjesse@google.com

Review URL: https://codereview.chromium.org/2205913003 .
2016-08-03 15:29:41 +02:00
William Hesse 17536f15f7 Update changelog with stable patch 1.18.1
BUG=
R=mit@google.com

Review URL: https://codereview.chromium.org/2202923004 .
2016-08-03 13:33:41 +02:00
Bob Nystrom 326357fd7e Update dart_style to 0.2.9.
This adds support for trailing commas in argument and parameter lists
along with a slew of other fixes.

R=nweiz@google.com

Review URL: https://codereview.chromium.org/2202023004 .
2016-08-01 17:14:37 -07:00
Natalie Weizenbaum 4b894d469a Bring in the latest pub.
R=rnystrom@google.com

Review URL: https://codereview.chromium.org/2201943002 .
2016-08-01 14:04:13 -07:00
William Hesse ca49303576 Revert "Add fast-mode Uri class."
This reverts commit 00090a0c72.

Revert "Add fast-mode Uri class."

This reverts commit 323ca7e410.

Revert "Fix regression for the one case where we deliberately don't follow the RFC."

This reverts commit b39e048c4b.

Revert "Cache hashCode in Uri implementations to improve performance when used as, e.g., Map key."

This reverts commit a11ad27723.

BUG=https://github.com/dart-lang/sdk/issues/26917
TBR=keertip@google.com

Review URL: https://codereview.chromium.org/2167663002 .
2016-07-20 14:32:52 +02:00
Lasse R.H. Nielsen 323ca7e410 Add fast-mode Uri class.
Optimize parser and make it recognize a class of URIs that don't need extra
handling: no escapes, no funny characters, already (nearly or completely)
normalized.
Have a class specifically for those URIs which retains the original
input string without having allocate any further strings.

R=floitsch@google.com

Committed: 00090a0c72

Review URL: https://codereview.chromium.org/2086613003 .
2016-06-30 13:25:36 +02:00
Zachary Anderson 678cb048ed Adds blocking file locks.
Fixes #26665

R=sgjesse@google.com

Review URL: https://codereview.chromium.org/2050413002 .
2016-06-13 07:58:09 -07:00
Kevin Moore c790c11ac5 update changelog for 1.17.1 release
Review URL: https://codereview.chromium.org/2056973003 .
2016-06-10 10:35:40 -07:00
Michael Thomsen 6b3247c277 Update 1.17 release date to actual ship date
BUG=
R=whesse@google.com

Review URL: https://codereview.chromium.org/2056593003 .
2016-06-09 14:32:40 +02:00
William Hesse e9b92b73fe Start working on version 1.18 of Dart
BUG=
R=nweiz@google.com

Review URL: https://codereview.chromium.org/2039093004 .
2016-06-06 23:31:00 +02:00
Natalie Weizenbaum 66dacc643b Bring in the latest pub.
R=rnystrom@google.com

Review URL: https://codereview.chromium.org/1987813002 .
2016-05-17 14:56:10 -07:00
Florian Loitsch fe1fda0766 Make dart:convert strong mode clean.
Also removes the ChunkedConverter.

R=lrn@google.com

Review URL: https://codereview.chromium.org/1964953003 .
2016-05-11 16:15:31 +02:00
Natalie Weizenbaum a984c50dc4 Bring in the latest pub.
R=rnystrom@google.com

Review URL: https://codereview.chromium.org/1953723003 .
2016-05-05 16:09:51 -07:00
Zachary Anderson ba550f1c43 Fixes NetworkInterface.list crash on Android
Previously, Socket::ListInterfaces failed to set the os_error out
parameter causing a crash in the caller. This change sets an error here.

I've also added NetworkInterface.listSupported, which returns false on
Android, and true everywhere else. ifaddrs.h continues not to exist in
the NDK, so in order to support NetworkInterface.list, we'd have to
reimplement it, or find a suitable reimplementation somewhere.

related #26329

R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/1916223003 .
2016-04-26 07:48:58 -07:00
Kevin Moore fd08dae063 Update changelog for event changes in dart:html, etc in 1.16
Closes https://github.com/dart-lang/sdk/issues/25970

R=alanknight@google.com, terry@google.com

Review URL: https://codereview.chromium.org/1911213002 .
2016-04-25 14:43:43 -07:00
Florian Loitsch 84ec63e9fc Make dart:core strong-mode clean.
R=leafp@google.com, lrn@google.com

Review URL: https://codereview.chromium.org/1895473004 .
2016-04-21 14:01:48 +02:00
Natalie Weizenbaum 4bed72be27 Bring in the latest pub.
Once this lands, I intend to merge it into dev.

R=jmesserly@google.com

Review URL: https://codereview.chromium.org/1880413003 .
2016-04-13 16:25:08 -07:00
Kevin Moore 1616aa3c87 fix duplicate dart:convert entries in changelog
R=whesse@google.com

Review URL: https://codereview.chromium.org/1889663002 .
2016-04-13 15:35:27 -07:00
Florian Loitsch 50bdab3841 Steps towards making the convert library strong-mode compliant.
This version has a few deprecated methods. In a future release they will be removed.

See https://codereview.chromium.org/1827803002 for the final patch (once the deprecated methods have been removed).

R=leafp@google.com, lrn@google.com

Committed: 4ab1219bf9
Reverted: 045a375366

Review URL: https://codereview.chromium.org/1847843002 .
2016-04-12 20:59:21 +02:00
Guillaume Girou 6728a8ce2a Fix typo 2016-04-09 10:56:09 +02:00
Lasse R.H. Nielsen 3f0ad9d4f2 Add "url-safe" encoding to base64 in dart:convert.
Fixes issue #24813.
Doesn't add a second codec. The codec is unimportant,
only the BASE64 and BASE64URL constants need to be public anyway.

BUG= http://dartbug.com/24813
R=floitsch@google.com, nweiz@google.com

Review URL: https://codereview.chromium.org/1858113003.
2016-04-07 16:36:14 +02:00
Kevin Moore 87ce6254a9 fix changelog entry for dartdevc
R=zra@google.com

Review URL: https://codereview.chromium.org/1850323003 .
2016-04-01 14:19:57 -07:00
Regis Crelier 786623ee61 Removing unnecessary entry according to https://github.com/dart-lang/sdk/issues/26157
R=iposva@google.com

Review URL: https://codereview.chromium.org/1848933003 .
2016-04-01 08:20:50 -07:00
Zachary Anderson 9c9b5e2f2f Update changelog for SecurityContext.alpnSupported
fixes #26157

R=kevmoo@google.com

Review URL: https://codereview.chromium.org/1850913002 .
2016-04-01 07:49:09 -07:00
Kevin Moore 8613e9c6d0 Document addition of dartdevc in CHANGELOG
R=vsm@google.com

Review URL: https://codereview.chromium.org/1845963004 .
2016-03-31 16:55:51 -07:00
Regis Crelier 48dc790398 Fix core lib DateTime in the VM (fixes #19923).
Symptom of the problem:
Set your Linux workstation (or Mac or MIPS board) to the Europe/London timezone
and the corelib/date_time test will fail, claiming that 1/1/1970 was a Wednesday
(it was actually a Thursday, trust me, I was already born).

Problem:
The implementation of DateTime in the VM relies on Unix time_t, the number of
seconds since the Epoch (1/1/1970 UTC). When asked for the weekday of a given
time, our implementation limits itself to a 32-bit positive range of time_t.
If the time falls outside of this range, the implementation picks an equivalent
time in the valid range with the same weekday, also in leap year or not, etc...
The issue is that DateTime is using the underlying OS in an inconsistent manner.
Let's take the example above: 1/1/1970 in the Europe/London timezone.
First, the number of seconds since the Epoch in UTC is calculated, here 0.
Then, the timezone offset at the given time is calculated using the underlying
OS. In this case, an historical deviation is taken into account. Indeed, London
stayed on British Summer Time between 27 October 1968 and 31 October 1971. See
https://en.wikipedia.org/wiki/British_Summer_Time#Periods_of_deviation for
details.
Our resulting time is therefore negative (one hour difference with UTC).
When asked about the weekday of this time, the implementation notices that the
time is not in the positive range and picks an "equivalent" time in the future.
It then asks the underlying OS about the timezone offset for this time, which
is 0 (usually no daylight saving time in January in London). Unfortunately,
this time is not really equivalent, because it ignores the original historical
deviation. The result is wrongly equivalent to 12/31/1969 23:00 in London, i.e.
a Wednesday, and not a Thursday as expected.

Solution:
We should use the underlying OS in a consistent way, by simply allowing the
value of time_t passed to the underlying OS to be negative, which is legal.

R=floitsch@google.com, rmacnak@google.com

Review URL: https://codereview.chromium.org/1845483002 .
2016-03-30 10:09:58 -07:00
Natalie Weizenbaum c7b7c6490a Bring in the latest pub.
This updates a number of other dependencies as well.

R=rnystrom@google.com

Review URL: https://codereview.chromium.org/1811183002 .
2016-03-21 12:43:25 -07:00
Kevin Moore 6f6b345f75 Added details of dartfmt change to 1.15 changelog
Moved Dartium updates under new Tools section

R=rnystrom@google.com

Review URL: https://codereview.chromium.org/1777483009 .
2016-03-09 15:19:30 -08:00
William Hesse 00e6b92e20 Change bleeding-edge version to 1.16.0, merge stable and bleeding-edge changelog.
BUG=
R=kevmoo@google.com, mit@google.com

Review URL: https://codereview.chromium.org/1781703002 .
2016-03-09 19:14:31 +01:00
Kevin Moore 3ab25d2803 fix changelog formatting 2016-03-09 09:48:26 -08:00
Kevin Moore 3cb353b4c5 update version that analyzer changes landed
Follow-up on 18f46ec2a7

Review URL: https://codereview.chromium.org/1784443002 .
2016-03-09 09:46:57 -08:00
Bob Nystrom 18f46ec2a7 Mention for-in static checking in CHANGELOG.
R=nweiz@google.com

Review URL: https://codereview.chromium.org/1777733002 .
2016-03-08 16:13:03 -08:00
Kevin Moore edd6054d13 update changelog for Dartium roll
R=terry@google.com

Review URL: https://codereview.chromium.org/1760903004 .
2016-03-03 19:52:53 -08:00
Kevin Moore 06606b4c35 Cleanup/moving around config inputs sections for 1.15 changelog
TBR

Review URL: https://codereview.chromium.org/1764553003 .
2016-03-03 10:53:37 -08:00
John McCutchan ecaf2c99b8 Add Changelog entry for CL 1710593002
BUG=

Review URL: https://codereview.chromium.org/1759053003 .
2016-03-03 07:12:13 -08:00
Zachary Anderson e2729705ff Rolls back fix of SecurityContext method names.
R=iposva@google.com

Review URL: https://codereview.chromium.org/1757453002 .
2016-03-01 10:34:15 -08:00
Kevin Moore 6437886ef9 updated ordering of changelog items
R=floitsch@google.com

Review URL: https://codereview.chromium.org/1745223002 .
2016-02-29 13:19:06 -08:00
Florian Loitsch 1d2a46e6b4 Update Changelog with conditional imports.
R=kevmoo@google.com

Review URL: https://codereview.chromium.org/1749953002 .
2016-02-29 22:14:42 +01:00
Zachary Anderson 38786e9566 More SecurityContext calls accept a password.
Any PKCS12 container, not just those containing a private key, can be
protected by a password. This change adds an optional named `password`
parameter to other SecurityContext calls, and plumbs it through to
the calls reading PKCS12 data.

R=whesse@google.com

Review URL: https://codereview.chromium.org/1699163002 .
2016-02-17 10:58:19 -08:00
Florian Loitsch 257272fd42 Use internal const-constructor.
BUG= http://dartbug.com/25760
R=lrn@google.com

Review URL: https://codereview.chromium.org/1696453002 .
2016-02-12 20:29:41 +01:00
Natalie Weizenbaum 3011aff047 Add the 1.14.2 pub change to the changelog.
R=kevmoo@google.com

Review URL: https://codereview.chromium.org/1683843005 .
2016-02-11 13:22:54 -08:00
Zachary Anderson 89f414dc37 Adds support for PKCS12 containers to SecurityContext
Looking forward to using platform specific APIs, this container type is
more common on MacOS and Windows, and is the only container type
supported by the native iOS API.

R=whesse@google.com

Review URL: https://codereview.chromium.org/1687533002 .
2016-02-10 14:20:59 -08:00
Zachary Anderson 2cf6405ca9 Adds SecurityContext.setTrustedCertificatesBytes
Implements SecurityContext.setTrustedCertificates in terms of the new
function. This requires setTrustedCertificates to return a Future,
and removing the `directory` named argument as it is not possible to
implement with BoringSSL without blocking IO.

R=whesse@google.com

Review URL: https://codereview.chromium.org/1665433002 .
2016-02-08 08:41:49 -08:00
Michael Thomsen b18e7f2dd8 Add note about 14.1 stable patch
BUG=
R=whesse@google.com

Review URL: https://codereview.chromium.org/1664863003 .
2016-02-04 15:24:35 +01:00
Kevin Moore a49249b18f CHANGELOG: add date to 1.14 release
Review URL: https://codereview.chromium.org/1654673002 .
2016-01-31 14:38:17 -08:00
Kevin Moore 17c3da093c Fixed link in README 2016-01-29 16:15:13 -08:00
Kevin Moore 213c8504e0 final changlog updates for 1.14
Closes https://github.com/dart-lang/sdk/issues/25595

Review URL: https://codereview.chromium.org/1640303002 .
2016-01-27 09:43:24 -08:00
Lasse R.H. Nielsen 3990be61d9 Update Stream.listen doc and use ?? in some places.
R=floitsch@google.com

Review URL: https://codereview.chromium.org/1606543005 .
2016-01-21 12:58:24 +01:00
Søren Gjesse 4e35dd3b05 Update changelog with information on WebSocket compression
Closes #24980

BUG= https://github.com/dart-lang/sdk/issues/24980
R=mit@google.com

Review URL: https://codereview.chromium.org/1587043002 .
2016-01-14 15:55:24 +01:00
Lasse R.H. Nielsen 0083cf8439 Change Platform.isiOS to isIOS.
R=rnystrom@google.com

Review URL: https://codereview.chromium.org/1583763002 .
2016-01-14 11:14:59 +01:00
Lasse R.H. Nielsen f70bef4a2c Support the same parameter key more than once in Uri query parameters.
R=floitsch@google.com, sgjesse@google.com

Review URL: https://codereview.chromium.org/1520943002 .
2016-01-13 13:07:18 +01:00
Michael Thomsen 571db61b4a Fix typo in changelog introduced in previous CL land
BUG=

Review URL: https://codereview.chromium.org/1581453003 .
2016-01-12 11:16:03 +01:00
Michael Thomsen 1bf4ee0841 Kevin/Bill, there was a good suggestion in #25374 that we should maintain the changelog even for SDK patch releases. I think that is a good idea. I went back and added entries for 1.13.1 and 1.13.2. What do you think?
Fixes #25374

R=kevmoo@google.com

Review URL: https://codereview.chromium.org/1573163002 .
2016-01-12 11:09:23 +01:00
Natalie Weizenbaum 2e57ac69a4 Bring in the latest pub.
R=rnystrom@google.com

Review URL: https://codereview.chromium.org/1569983002 .
2016-01-11 12:43:51 -08:00
Lasse R.H. Nielsen 8487d57e48 Add Future.any and Stream.fromFutures.
R=floitsch@google.com

Review URL: https://codereview.chromium.org/1563223002 .
2016-01-08 10:17:34 +01:00
Natalie Weizenbaum 71187d41fe Bring in the latest pub.
This brings in the fix for dart-lang/pub#1367.

R=rnystrom@google.com

Review URL: https://codereview.chromium.org/1540443004 .
2015-12-17 16:44:37 -08:00
Bob Nystrom 1d3d4049ce Add dartfmt to changelog.
R=kevmoo@google.com

Review URL: https://codereview.chromium.org/1504333008 .
2015-12-09 16:13:57 -08:00
Florian Loitsch 6bb8d76ce0 Update changelog for DateTime.microsecond support.
R=kevmoo@google.com

Review URL: https://codereview.chromium.org/1510863003 .
2015-12-09 00:58:57 +01:00
Natalie Weizenbaum 85dc0454b3 Bring in the latest version of pub.
R=rnystrom@google.com

Review URL: https://codereview.chromium.org/1491933003 .
2015-12-02 14:06:05 -08:00
Lasse R.H. Nielsen 027b8dca39 Add StackTrace.current getter.
R=floitsch@google.com, iposva@google.com, sra@google.com

Review URL: https://codereview.chromium.org/1448003002.
2015-11-24 08:26:03 +01:00
William Hesse d9397d8a16 Copy changes to CHANGELOG.md from stable to bleeding-edge.
BUG=
R=kevmoo@google.com

Review URL: https://codereview.chromium.org/1454293002 .
2015-11-18 16:45:21 -08:00
Lasse R.H. Nielsen 517a443481 Add List.filled parameter to CHANGELOG.md. Sort by library name.
R=kevmoo@google.com, mit@google.com

Review URL: https://codereview.chromium.org/1444263002 .
2015-11-18 13:34:19 +01:00
Ryan Macnak f3759dedd3 Report iOS as iOS rather than OS X.
R=iposva@google.com

Review URL: https://codereview.chromium.org/1417013011 .
2015-11-13 11:15:04 -08:00
Lasse R.H. Nielsen ed0b187d58 Add data-URI support class to dart:core (next to Uri).
R=floitsch@google.com, fschneider@google.com

Committed: bbc66c2c41

Review URL: https://codereview.chromium.org/1381033002 .
2015-11-12 13:02:20 +01:00
Alan Knight 6a6103318c Add CHANGELOG entries for Dartium and dart:html changes
BUG=
R=kevmoo@google.com

Review URL: https://codereview.chromium.org/1432143004 .
2015-11-11 17:06:25 -08:00
Kevin Moore e7e012e386 fix readme for pkg/js and prepare another release
Update SDK changelog to mention improved JS interop

R=jacobr@google.com

Review URL: https://codereview.chromium.org/1438003002 .
2015-11-11 12:19:43 -08:00
William Hesse df5ef1b136 Revert "Add data-URI support class to dart:core (next to Uri)."
This reverts commit bbc66c2c41.

BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org/1432203002 .
2015-11-11 11:42:04 +01:00
Lasse R.H. Nielsen bbc66c2c41 Add data-URI support class to dart:core (next to Uri).
R=floitsch@google.com

Review URL: https://codereview.chromium.org/1381033002 .
2015-11-11 10:27:08 +01:00
Michael Thomsen f100ef8000 Corrected resource text in changelog
BUG=
R=lrn@google.com

Review URL: https://codereview.chromium.org/1412963009 .
2015-11-06 10:00:03 +01:00
John McCutchan c34b23ccfe Update CHANGELOG.md
Added note about dart:developer VM service protocol extensions
2015-11-03 06:04:57 -08:00
John McCutchan 7ea2b300f1 Update CHANGELOG.md
Add dart:developer TImeline
2015-11-03 06:02:23 -08:00
William Hesse 03bfdf5f24 Add information about BoringSSL change to CHANGELOG.md.
BUG=https://github.com/dart-lang/sdk/issues/24671
R=sgjesse@google.com

Review URL: https://codereview.chromium.org/1426653007 .
2015-11-03 13:32:10 +01:00
Kevin Moore bf713555bf Remove dart:isolate changes from 1.13 changelog, documented spawnUri environment argument
Closes https://github.com/dart-lang/sdk/issues/24757
helps https://github.com/dart-lang/sdk/issues/24474

R=sethladd@google.com

Review URL: https://codereview.chromium.org/1423323003 .
2015-10-29 16:36:58 -07:00
Kevin Moore 8a3784582f update changelog for 1.13 socket reference change
helps with https://github.com/dart-lang/sdk/issues/24474

R=sgjesse@google.com

Review URL: https://codereview.chromium.org/1427883002 .
2015-10-29 15:01:59 -07:00
Kevin Moore a8ada7d767 Add 1.13 changelog entries for dart:convert WRT Base64
helps https://github.com/dart-lang/sdk/issues/24474

R=lrn@google.com

Review URL: https://codereview.chromium.org/1413053003 .
2015-10-29 15:00:02 -07:00
Kevin Moore 4627a8e916 Added 1.13 changelog entries for changes in dart:async
Helps with https://github.com/dart-lang/sdk/issues/24474

R=lrn@google.com

Review URL: https://codereview.chromium.org/1417983005 .
2015-10-29 14:57:10 -07:00
William Hesse 9fc82d04aa Update changelog
BUG=
R=mit@google.com

Review URL: https://codereview.chromium.org/1419163002 .
2015-10-23 12:44:32 +02:00
Regis Crelier a604838e22 Update CHANGELOG.md with Random.secure for 1.14.
R=sethladd@google.com

Review URL: https://codereview.chromium.org/1416683002 .
2015-10-19 13:03:05 -07:00
Lasse R.H. Nielsen 57f4827c76 Rename [packages] to [packageMap] as Isolate.spawnUri parameter.
This matches the static [packageMap] getter on Isolate.

Fixes issue #24545.
BUG= http://dartbug.com/24545
R=floitsch@google.com

Review URL: https://codereview.chromium.org/1401713002.
2015-10-12 16:31:48 +02:00
Søren Gjesse a1063f6c62 Update CHANGELOG with information on removed socket references
R=whesse@google.com
BUG=

Review URL: https://codereview.chromium.org/1389273002 .
2015-10-07 09:43:21 +02:00
Seth Ladd 7b18bc7e14 clearly mark resource as deprecated
BUG=
R=floitsch@google.com

Review URL: https://codereview.chromium.org/1385933002 .
2015-10-06 09:08:11 -07:00
Todd Turnidge 473413753d Some changes to service protocol before we land 1.13.
- Split AddBreakpoint into two rpcs: AddBreakpoint and
  AddBreakpointWithScriptUri.

- Remove Isolate.entry.

Closes #24329

R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org//1379163002 .
2015-10-01 10:46:44 -07:00
Seth Ladd 28078f3117 intent to remove legacy debug protocol
BUG=
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org//1378643003 .
2015-10-01 10:36:07 -07:00
Kevin Moore 87c694918d sort and format changelog
R=mit@google.com

Review URL: https://codereview.chromium.org//1376993005 .
2015-10-01 09:58:49 -07:00
keertip 18b68f7290 remove docgen remnants from repo, update CHANGELOG
BUG=
R=alanknight@google.com, whesse@google.com

Review URL: https://codereview.chromium.org//1361163002 .
2015-09-23 10:27:15 -07:00
Michael Thomsen bc4fdc3e3a Fix typo in changelog
Fixed typo
2015-09-09 15:18:24 +02:00
Natalie Weizenbaum 5778d87dd2 Forward stack traces through stream transformers.
R=lrn@google.com

Review URL: https://codereview.chromium.org//1302363003 .
2015-08-27 11:38:27 -07:00
Michael Thomsen 8c346abeef Mentioning null-aware in 1.12 changelog
BUG=none
R=johnniwinther@google.com

Review URL: https://codereview.chromium.org//1305273005 .
2015-08-25 11:34:34 +02:00
Kevin Moore 01fd5dcd1a Cleanup changelog for 1.12
Sort entries in each section
Removed duplicate entries
Grouped notes on documentation tools

R=sethladd@google.com

Review URL: https://codereview.chromium.org//1298053004 .
2015-08-18 15:56:42 -07:00
Seth Ladd c2d49794ff changelog updates for dartdoc
BUG=
R=kevmoo@google.com

Review URL: https://codereview.chromium.org//1300963003 .
2015-08-18 15:30:30 -07:00
Lasse R.H. Nielsen 2d38e15b82 Document errorsAreFatal, onExit, onError in Changelog
Fixes issue 23884

R=sgjesse@google.com

Review URL: https://codereview.chromium.org//1299513003 .
2015-08-18 09:44:48 +02:00
Seth Ladd e6423fa5eb tweak CHANGELOG
BUG=
R=kevmoo@google.com

Review URL: https://codereview.chromium.org//1295233002 .
2015-08-17 16:30:20 -07:00
Seth Ladd ec730f64c7 changelog for observatory
BUG=
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org//1300693003 .
2015-08-17 15:25:57 -07:00
Natalie Weizenbaum 7c06881680 Bring in the latest Pub.
R=rnystrom@google.com

Review URL: https://codereview.chromium.org//1293473003 .
2015-08-14 15:27:22 -07:00
Ryan Macnak 954d6cac0f API bookkeeping.
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org//1288923003 .
2015-08-14 10:37:48 -07:00
Lasse R.H. Nielsen 67ff13a437 Add StreamController getters to changelog.
R=sgjesse@google.com

Review URL: https://codereview.chromium.org//1289813002 .
2015-08-12 14:26:37 +02:00
Lasse R.H. Nielsen edff0face7 Make String.allMatches lazy.
R=floitsch@google.com, iposva@google.com

Review URL: https://codereview.chromium.org//1273713003 .
2015-08-12 11:01:21 +02:00
Michael Thomsen 5046443f93 Fixed typo in link in CHANGELOG
Closes https://github.com/dart-lang/sdk/issues/24042

BUG=24042
R=ricow@google.com

Review URL: https://codereview.chromium.org//1291433002 .
2015-08-11 15:18:49 +02:00
Lasse R.H. Nielsen 90643a7ef7 Make HttpClient not send fragments as part of request.
Make HttpServer ignore fragments sent in requests (which are invalid HTTP request syntax).

Add `removeFragment` method to Uri.

R=sgjesse@google.com

Review URL: https://codereview.chromium.org//1281973004 .
2015-08-10 12:18:12 +02:00
Lasse R.H. Nielsen 0a35f7be3b Update Changelog.
Fix various typos and style nits.

BUG=23961
R=sgjesse@google.com

Review URL: https://codereview.chromium.org//1272593002 .
2015-08-05 12:58:30 +02:00
Natalie Weizenbaum 1b7c33a5b5 Bump the VM service protocol version to 2.0.
This reflects the breaking changes since version 1.0, which was released
in Dart 1.11. It also gets rid of the "draft" language in the VM service
protocol documentation, since it will be (and has been) shipped in a
stable Dart release.

R=turnidge@google.com

Review URL: https://codereview.chromium.org//1270603003 .
2015-08-03 14:58:51 -07:00
Bob Nystrom 9ae71739a2 Update to latest dart_style.
R=kevmoo@google.com

Review URL: https://codereview.chromium.org//1266913002 .
2015-07-30 15:48:22 -07:00
Natalie Weizenbaum 61ea0618ce Support JSON-RPC 2.0-compatible VM service events.
This adds a parameter to streamListen that will cause it to produce JSON-RPC
2.0-compatible events.

R=turnidge@google.com

Review URL: https://codereview.chromium.org//1257943003 .
2015-07-28 17:17:40 -07:00
Natalie Weizenbaum e5a9479fd2 Bring in the latest json_rpc_2 and barback.
R=rnystrom@google.com

Review URL: https://codereview.chromium.org//1253023004 .
2015-07-27 16:16:56 -07:00
Natalie Weizenbaum 4153313dfd Make VM service id handling JSON-RPC 2 compliant.
* Numeric ids will not be converted to strings.

* String ids will be escaped, so an id of '"' doesn't produce invalid
  JSON.

* List or map ids will be rejected.

* Null ids will produce no response.

R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org//1255003003 .
2015-07-27 16:14:34 -07:00
Natalie Weizenbaum cf0955a83e Include a "jsonrpc" property in all VM service responses.
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org//1258733004 .
2015-07-27 11:10:16 -07:00
Natalie Weizenbaum 7d6a44908a Bring in the latest pub and barback.
R=rnystrom@google.com

Review URL: https://codereview.chromium.org//1247563003 .
2015-07-20 15:29:48 -07:00
Lasse R.H. Nielsen 848f6c978c Do "path normalization" when creating a URI.
Path normaliztion removes '.' and '..' segments from a URI. Such relative references are only intended for URI References, and Uri References are only intended for resolving against a full URI.

We do path normalization on all URIs that have a scheme, authority or an absolute path, and partial normalization on what are really just relative paths. The partial normalization can leave ".." at the start of the path.

The URI reference resolution algorithm doesn't work as expected for a URI ending in "..". Resolving "./foo" wrt. a base of "/a/.." results in  "/a/foo" - this is avoided when the base is path normalized before it's used.

This also fixes the "normalizePath" function which currently removes leading '..' segments, contrary to its documentation. It also makes the function redundant since all URI paths are normalized automatically.

See discussion on http://dartbug.com/23688

Also fix bug in the removeDotSegments function.

R=floitsch@google.com

Review URL: https://codereview.chromium.org//1224263009.
2015-07-17 17:08:36 +02:00
Lasse R.H. Nielsen 4a8a844c34 Add setters for callbacks on StreamController.
This allows you to create a stream controller at one point and
add or change the callbacks later. This can be useful if you
want to store a stream controller in a final instance field and
also want the controller to call instance methods as callbacks.

R=floitsch@google.com

Review URL: https://codereview.chromium.org//1242023007.
2015-07-17 12:03:00 +02:00
Natalie Weizenbaum bdd5803006 Fix a WebSocket crash.
Previously, a WebSocket would crash if it was closed after its
StreamSubscription was canceled. Now, it tracks whether the subscription
was canceled by canceling and nulling out its own internal subscription.

Fixes #23845

R=ajohnsen@google.com

Review URL: https://codereview.chromium.org//1234163002 .
2015-07-15 13:30:06 -07:00
Lasse R.H. Nielsen 4ee6246556 Add split function to LineSplitter class in dart:convert.
The split function returns a lazy iterable of the lines, unlike the convert
function which returns a list.
This makes the function usable on large strings where not all of the lines
are needed.

Closes https://github.com/dart-lang/sdk/issues/23837

R=kevmoo@google.com

Review URL: https://codereview.chromium.org//1240623002 .
2015-07-15 12:26:24 +02:00
Natalie Weizenbaum b47940fb82 Update pub.
R=rnystrom@google.com

Review URL: https://codereview.chromium.org//1233243002 .
2015-07-14 13:19:30 -07:00
Kevin Moore 8902768e0d Changelog: document dart:core Iterable can be extended as of Dart 1.11
Closes https://github.com/dart-lang/sdk/issues/23735

R=lrn@google.com

Review URL: https://codereview.chromium.org//1235643004 .
2015-07-14 06:37:06 -07:00
Søren Gjesse 36b82c9fe2 Update CHANGELOG
BUG=https://github.com/dart-lang/sdk/issues/19334
TBR=kevmoo@google.com

Review URL: https://codereview.chromium.org//1235543003.
2015-07-10 16:29:57 +02:00
Natalie Weizenbaum 3fe8cf3211 Bring in the latest pub.
R=rnystrom@google.com

Review URL: https://codereview.chromium.org//1223343003 .
2015-07-09 13:20:03 -07:00
Søren Gjesse 6aeb934e3c Update CHANGELOG with information on opening file read only
R=lrn@google.com
BUG=

Review URL: https://codereview.chromium.org//1217093004.
2015-07-03 14:52:40 +02:00
Kevin Moore d676b3fbd1 Fix commit links for 1.11 and 1.10 in changelog
Closes https://github.com/dart-lang/sdk/issues/23715

R=jakemac@google.com

Review URL: https://codereview.chromium.org//1217603003.
2015-06-30 10:17:53 -07:00
Natalie Weizenbaum 6446e906bf Bring in the latest pub.
R=kevmoo@google.com, ricow@google.com

Review URL: https://codereview.chromium.org//1215013003.
2015-06-29 16:26:45 -07:00
Kevin Moore 9b56fe8e39 CHANGELOG: 1.11 - add note on checked flag to Isolate.spawn
TBR

Review URL: https://codereview.chromium.org//1211923002.
2015-06-25 09:29:47 -07:00
Kevin Moore d436d579a6 CHANGELOG: add date to 1.11.0 release 2015-06-25 09:04:34 -07:00
Regis Crelier 034497033f update CHANGELOG.md for gcd
R=kevmoo@google.com

Review URL: https://codereview.chromium.org//1204883002.
2015-06-23 14:44:48 -07:00
Kevin Moore 05988c71f4 changelog updates for dart:developer library and editor removal
R=kathyw@google.com

Review URL: https://codereview.chromium.org//1203823002.
2015-06-23 14:35:59 -07:00
Kevin Moore d3a16303a2 final changelog updates for 1.11
R=kathyw@google.com

Review URL: https://codereview.chromium.org//1202853002.
2015-06-23 14:17:32 -07:00
Kevin Moore d7bf5501fc CHANGELOG a number of updates for 1.11
TBR

Review URL: https://codereview.chromium.org//1197283005.
2015-06-23 13:39:40 -07:00
Alan Knight 1d5b657427 Make it easier and more efficient to use trusted HTML text
BUG=
R=sra@google.com

Review URL: https://codereview.chromium.org//1154423009.
2015-06-22 09:41:01 -07:00
Alan Knight 857b581b49 Add links to CHANGELOG announcement for appendHtml sanitizing
BUG=
R=kevmoo@google.com

Review URL: https://codereview.chromium.org//1159563008
2015-05-26 14:40:48 -07:00
Lasse R.H. Nielsen 1f42f878a7 Update CHANGELOG
R=kevmoo@google.com

Review URL: https://codereview.chromium.org//1149883005
2015-05-26 14:21:20 +02:00
Seth Ladd c0d0410273 Update CHANGELOG.md 2015-05-19 08:39:11 -07:00
Seth Ladd 4862e6e13f mention dart2dart 2015-05-19 08:38:01 -07:00
alanknight@google.com 1f20842389 Another try at appendHtml and insertAdjacentHtml should be consistently sanitized
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45818 260f80e4-7a28-3924-810f-c04153c831b5
2015-05-15 17:59:23 +00:00
alanknight@google.com bfa61f62e0 "Reverting 45815"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45816 260f80e4-7a28-3924-810f-c04153c831b5
2015-05-15 17:04:53 +00:00
alanknight@google.com 1c69173804 Test Dartium with appendHtml sanitizing. Will immediately revert.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45815 260f80e4-7a28-3924-810f-c04153c831b5
2015-05-15 16:30:17 +00:00
alanknight@google.com 90a31f8fea "Reverting 45807"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45808 260f80e4-7a28-3924-810f-c04153c831b5
2015-05-15 01:29:49 +00:00
alanknight@google.com 2faa58eb4c Testing for appendHtml and insertAdjacentHtml should be consistently sanitized
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45807 260f80e4-7a28-3924-810f-c04153c831b5
2015-05-15 01:10:19 +00:00
alanknight@google.com e1c798b0fd "Reverting 45790"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45791 260f80e4-7a28-3924-810f-c04153c831b5
2015-05-14 19:04:23 +00:00
alanknight@google.com 9453809937 appendHtml and insertAdjacentHtml should be consistently sanitized
BUG=
R=terry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45790 260f80e4-7a28-3924-810f-c04153c831b5
2015-05-14 18:04:17 +00:00
kevmoo@google.com 60405022e6 Changelog: More updates for 1.10
R=sethladd@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45462 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-30 21:50:46 +00:00
kevmoo@google.com 605fd81f2e format and improve changelog
R=kathyw@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45453 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-29 18:11:59 +00:00
lrn@google.com b3ee3a85bf Improve return type of markUnmodifiableList to JSArray instead of List.
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45372 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-23 10:20:53 +00:00
alanknight@google.com 25c6f198f5 "Reverting 45351"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45353 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-22 17:51:58 +00:00
alanknight@google.com 7431beaec2 appendHtml and insertAdjacentHtml should be consistently sanitized
BUG=
R=terry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45351 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-22 17:16:01 +00:00
sra@google.com b840a38c69 CHANGELOG entry for CssClassSet
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45310 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-21 05:09:53 +00:00
sra@google.com 39dfecbfb5 Revert "Change ListIterator to only check for concurrent modification at each iteration"
Revert "Fix ListIterator.iterator function hash for VM."

This is not as easy to optimize for dart2js as initially thought.
Revert this change while we discuss.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45216 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-16 18:53:39 +00:00
lrn@google.com 5a79c03e09 Change ListIterator to only check for concurrent modification at each iteration
in checked mode.

It also checks at the end in all cases.

Iteration only goes from 0 to the original length of the list.
This ensures that iterating a list while adding to it (like by x.addAll(x))
is caught instead of growing until out-of-memory.
For well-behaved programs this makes no difference since length and original
length stay the same.
Also, it means that calling moveNext again later, after increasing the length,
will not make iteration continue. After returning false, iteration is always
done.
However, it means that reducing the length causes an out-of-range read before
reaching the end, and before a concurrent modification error can happen.

R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45198 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-16 09:07:58 +00:00
lrn@google.com d26580a98b Update changelog.md with Isolate API and HtmlConvert changes.
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45197 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-16 09:02:52 +00:00
kevmoo@google.com c4fe1b74c9 update changelog for 1.9.3 release and date
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45179 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-15 19:47:54 +00:00
kevmoo@google.com 9f351b8142 update changelog for 1.9.2
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45076 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-10 19:24:32 +00:00
nweiz@google.com 7d852fb237 Add a core SDK changelog.
This is based on the archive of release notes. Its primary goal is to
provide a canonical source for Dart package developers to refer to
when determining what SDK constraints to use for their packages. It
only goes back through 1.7.0 because older SDKs aren't in wide use and
it's unlikely that package authors will need to know what features
changed back then.

R=kevmoo@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44899 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-03 23:31:36 +00:00