Commit graph

195 commits

Author SHA1 Message Date
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