Commit graph

11578 commits

Author SHA1 Message Date
anonymous
73bd032bbd fix issue 15686 - std.uni overloads documentation
No actual code changes. Just moving one overload of toLower next to the
other one.
2016-02-16 23:25:32 +01:00
H. S. Teoh
b642e1023b Merge pull request #4003 from dcarp/fix_15675
Issue 15675 - BinaryHeap!(Array!T) is built wrong
2016-02-16 08:49:44 -08:00
H. S. Teoh
5bb30cc23c Fix broken links and missing ddoc identifier escapes. 2016-02-15 08:08:35 -08:00
Dragos Carp
b1537b3cb0 Issue 15675 - BinaryHeap!(Array!T) is built wrong 2016-02-15 11:12:16 +01:00
JakobOvrum
5c37fa25f6 Merge pull request #4000 from BBasile/issue-15683
fixed issue 15683 : broken link
2016-02-15 17:09:04 +09:00
Akihiro Shoji
2d9415dea8 Fix Document of process.d with pipe
Current document says:
```d
auto p = pipe();
p.writeEnd.writeln("Hello World");
assert (p.readEnd.readln().chomp() == "Hello World");
```

This means that buffer is yet to be flushed.
Therefore `p.readEnd.readln` can't recieve the input, for readln waits forever if the buffer is not flushed.
Then I fixed as follow:
```d
auto p = pipe();
p.writeEnd.writeln("Hello World");
p.writeEnd.flush();
assert (p.readEnd.readln().chomp() == "Hello World");
```
2016-02-15 15:28:18 +09:00
Basile Burg
c871ab44cc fixed issue 15683 2016-02-15 06:08:07 +01:00
Lars T. Kyllingstad
84600a2265 Merge pull request #3979 from QAston/patch-1
Fix Issue 15677. Take array by ref for expandArray with init
2016-02-14 18:13:04 +01:00
John Colvin
2a29bb1592 make std.meta.Alias orthogonal to std.meta.AliasSeq and public 2016-02-14 14:39:04 +00:00
Jonathan M Davis
6c71d3e41e Merge pull request #3998 from klickverbot/fix-toutf-compare-tests
Fix testAliasedString() unit test helper
2016-02-14 06:10:21 -08:00
Kai Nacke
8acb8306a5 Solaris: Add inline assembly version of poly().
Uses the same code as FreeBSD.
2016-02-14 14:19:25 +01:00
Lars T. Kyllingstad
8388e5e151 Merge pull request #3997 from klickverbot/fix-std-string-test
lineSplitter: Remove gratuitous filesystem access from unit test
2016-02-14 10:04:56 +01:00
David Nadlinger
6b0be3b89f Fix testAliasedString() unit test helper
Many of the functions for which this wrapper is used return
string ranges. Comparing these for object identity does not
make a lot of sense.

This is actually an issue, because toUTF, which is used in quite
a few of the tested functions, contains a void-initialized buffer,
so the identity comparison is not guaranteed to succeed. The tests
just so happen to pass on current DMD regardless, but this is not
the case for an optimized LDC build.
2016-02-14 00:28:41 +01:00
David Nadlinger
3667b1e03d lineSplitter: Remove gratuitous filesystem access from unit test
The test assumed that the unit test runner would be executed from
the Phobos root directory, which is neither specified anywhere,
nor the case for the LDC build system.
2016-02-13 23:12:56 +01:00
Martin Nowak
0dfff30ab4 Merge pull request #3994 from WalterBright/streamstdio
fix lookup of core.stdc.stdio.remove()
2016-02-13 22:29:04 +01:00
sigod
770f7cde90 Issue 12563 - SList: add reverse method 2016-02-13 23:24:54 +03:00
Walter Bright
6eb03eef35 fix lookup of core.stdc.stdio.remove() 2016-02-13 09:54:41 -08:00
Iain Buclaw
604fa79b1c Merge pull request #3993 from WalterBright/parserLookup
conform to new import lookup rules
2016-02-13 15:37:09 +01:00
Walter Bright
a33a6d8660 conform to new import lookup rules 2016-02-13 04:12:35 -08:00
Robert Schadek
c548dbfbb4 Merge pull request #3987 from quickfur/schwartzSort-doc
Improve schwartzSort documentation.
2016-02-12 18:53:03 +01:00
Andrei Alexandrescu
208cb8e0ac Merge pull request #3990 from WalterBright/streamFile
fix import shadowing
2016-02-12 09:35:42 -05:00
Walter Bright
fd5f8476de fix import shadowing 2016-02-12 03:12:41 -08:00
Lars T. Kyllingstad
51097537bb Merge pull request #3988 from quickfur/issue15663
Fix issue 15663: format("%#o", 0) should be "0" not "00".
2016-02-12 09:43:27 +01:00
Lars T. Kyllingstad
50e3fc6b74 Merge pull request #3989 from WalterBright/zipprocess
fix problems that prevent implementing import shadowing protection
2016-02-12 08:45:46 +01:00
Walter Bright
8e6faa560f fix problems that prevent implementing import shadowing protection 2016-02-11 22:38:53 -08:00
H. S. Teoh
4a762a9ae4 Fix issue 15663: format("%#o", 0) should be "0" not "00". 2016-02-11 17:24:15 -08:00
H. S. Teoh
8ddd8e9f4f Merge pull request #3986 from kyllingstad/fix-issue-12914
Fix #12914: std.typecons.alignForSize will not accept immutable names argument
2016-02-11 17:14:39 -08:00
H. S. Teoh
ba10d5c3a0 Improve schwartzSort documentation. 2016-02-11 14:00:27 -08:00
H. S. Teoh
cadc819761 Merge pull request #3943 from tsbockman/dchar-crash
Fix Phobos Issue 15586
2016-02-10 18:51:26 -08:00
H. S. Teoh
3fd73c9025 Merge pull request #3984 from jmdavis/deprecations
Moving deprecations along.
2016-02-10 17:53:46 -08:00
Jonathan M Davis
c3cd933131 Moving deprecations along.
This is mostly just putting dates on existing deprecations that were
missing dates, but it does remove a few things that have been deprecated
long enough to be removed.
2016-02-10 16:43:25 -08:00
Lars T. Kyllingstad
45a7d8efb5 Fix #12914: alignForSize will not accept immutable 2016-02-10 21:50:51 +01:00
Joakim
10c01a0614 On Android, update std.datetime to extract timezone data and some other fixes. 2016-02-10 14:25:42 +05:30
Jonathan M Davis
0faa191fc8 Fix issue# 15655.
SysTime.from*String accepted single digit time zones and minutes > 59,
which is against the ISO standard. This commit fixes that.
2016-02-09 22:25:24 -08:00
Steven Schveighoffer
679298a7a9 Merge pull request #3964 from aG0aep6G/cleanup-changelog
Cleanup changelog
2016-02-09 12:24:56 -05:00
AndrejMitrovic
14cd9966ea Merge pull request #3982 from s-ludwig/master
Fix Tid.toString().
2016-02-09 16:19:44 +01:00
Sönke Ludwig
09b69b2fdf Add unit test for Tid.toString. 2016-02-09 12:58:21 +01:00
Sönke Ludwig
d6908237c9 Fix Tid.toString().
The previous behavior generated a string that was different for every copy of the same Tid. With this change it outputs the address of the unique MessageBox instance instead.
2016-02-09 12:43:35 +01:00
JakobOvrum
f62c716072 Merge pull request #3980 from sigod/slist-clear-crash
Fix Issue 15659 - fix crash in SList.clear()
2016-02-09 14:14:07 +09:00
sigod
b847c5a194 Fix Issue 15659 - fix crash in SList.clear() 2016-02-08 23:22:31 +03:00
Dariusz Antoniuk
338dfff953 Take array by ref for expandArray with init 2016-02-08 17:33:37 +01:00
Jonathan M Davis
7ded5fcf68 Rename SimpleTimeZone.to/fromISOString to to/fromISOExtString.
This is per issue# 15654.
2016-02-07 18:50:27 -08:00
David Nadlinger
70db575ba8 Merge pull request #3974 from rjframe/master
Add missing import
2016-02-05 20:47:28 +01:00
Ryan Frame
5c63480147 Add missing import
std.stdio.File is needed in the upload function.
2016-02-05 06:43:47 -05:00
David Nadlinger
6bb36bf522 Merge pull request #3969 from tsbockman/issue_15480
Fix Phobos issue 15480
2016-02-05 00:04:45 +01:00
tsbockman
b23608b635 Fix Phobos issue 15480 2016-02-04 12:01:36 -08:00
anonymous
174c78bfb3 fix broken link 2016-02-03 22:45:58 +01:00
anonymous
717f0a8b8b remove entries for 2.070 from changelog
2.070 has been released, and its changelog in the dlang.org repository has
these entries.
2016-02-03 22:45:58 +01:00
David Nadlinger
7652976a59 Merge pull request #3957 from ZombineDev/nothrow-mallocator
Add attributes to most functions in allocator.mallocator and allocator.common.
2016-02-03 21:42:18 +01:00
Vladimir Panteleev
c9c31287dd Merge pull request #3965 from aG0aep6G/setTimes
remove @safe from template setTimes
2016-02-03 19:17:01 +00:00