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