Commit graph

154 commits

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