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