Commit graph

15296 commits

Author SHA1 Message Date
Eduard Staniloiu
f0bae44334 Ternary opBinary should be able to take bool 2017-10-24 14:34:25 +00:00
The Dlang Bot
3f34eefe9a Merge pull request #5800 from Darredevil/issue-6895-covariance
Fix issue 6895 std.traits.isCovariantWith doesn't work for function, …
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-10-24 16:09:32 +02:00
Andrei Alexandrescu
e5a146bca3 Merge pull request #5784 from Darredevil/issue-9362-slist-remove
Fix Issue 9362 - Add a method to remove one item to std.container.SList
2017-10-24 09:28:18 -04:00
Andrei Alexandrescu
526c6af5ea Merge pull request #5786 from Darredevil/issue-9362-dlist-remove
Add liniarRemoveElement for Dlist
2017-10-24 09:25:53 -04:00
Alexandru Caciulescu
1d26b5fef7 Fix issue 6895 std.traits.isCovariantWith doesn't work for function, function pointer and delegate 2017-10-24 15:48:53 +03:00
Martin Nowak
a34a25ead9 fix Issue 17730 - move escapes scope variable in @safe code
- needs to be annotated with return scope, so that the return value
  lifetime depends on the argument's lifetime
- cannot be tested because phobos doesn't yet work with DIP1000 and
  also because of Issue 17932
2017-10-23 22:10:19 +02:00
Walter Bright
dc07f1ae3f Merge pull request #5714 from WalterBright/slice-tmp
std.digest.package: fix slicing of temp array
2017-10-20 22:06:48 -07:00
The Dlang Bot
bd49f407d6 Merge pull request #5793 from WalterBright/ROUNDING_MASK
fix math.d for 16997
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-10-20 13:07:16 +02:00
Andrei Alexandrescu
d072f7ca10 Update math.d 2017-10-20 12:36:02 +02:00
Walter Bright
2256a314f3 fix math.d for 16997 2017-10-20 02:32:15 -07:00
Alexandru Caciulescu
aee56671f8 Fix issue 9362 - Add linearRemoveElement from Slist 2017-10-19 17:32:17 +03:00
Alexandru Caciulescu
7d5708b0a8 Add liniarRemoveElement from Dlist 2017-10-19 17:31:27 +03:00
Eduard Staniloiu
97ddc3d11d Improve unittests 2017-10-19 13:30:24 +00:00
Alexandru Jercaianu
cb67c5d50f Fix Issue 9661 - LockingTextWriter should increment file handle reference count
test for locking binary writer
2017-10-19 15:39:55 +03:00
Eduard Staniloiu
97e6d45688 Make goodAllocSize @safe 2017-10-19 09:35:58 +00:00
Eduard Staniloiu
1dbfb9d3d1 Make owns pure nothrow @safe @nogc 2017-10-19 09:31:50 +00:00
The Dlang Bot
05e65e6086 Merge pull request #5790 from dlang/9il-patch-1
allow n=0 for std.meta.Repeat
merged-on-behalf-of: MetaLang <MetaLang@users.noreply.github.com>
2017-10-18 17:24:19 +02:00
Ilya Yaroshenko
2eb41fd1bc allow n=0 for std.meta.Repeat 2017-10-18 21:44:09 +07:00
The Dlang Bot
ca4677117f Merge pull request #5766 from jercaianu/open
Fix Issue 4763 - std.stdio.File.open() : more efficient implementation
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-10-18 02:47:48 +02:00
Andrei Alexandrescu
5d7ad2df82 Merge pull request #5785 from jmdavis/issue_17905
Issue 17905: Add source property to byCodeUnit
2017-10-17 23:31:52 +02:00
Andrei Alexandrescu
7f9a371317 Minor adjustment 2017-10-17 23:26:09 +02:00
Alexandru Jercaianu
04b0eee836 Fix Issue 10395 - [std.stdio] Closing a popened File with unread output throws an exception 2017-10-17 11:34:53 +03:00
Jonathan M Davis
eedc41ffbf Make spacing consistent. 2017-10-16 22:10:03 -06:00
Jonathan M Davis
6d7c2b0ba1 Fix Issue 17905: Add source property to byCodeUnit. 2017-10-16 22:10:03 -06:00
Alexandru Jercaianu
459becf7ee undo change 2017-10-16 22:04:54 +03:00
The Dlang Bot
ad489989ec Merge pull request #5722 from DmitryOlshansky/regex-matcher-interfaces
std.regex: major internal redesign, also fixes issue 13532
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-10-16 20:16:33 +02:00
The Dlang Bot
24cc67c157 Merge pull request #5761 from jercaianu/powmod
Fix Issue 6244 - Add powmod / modpow function to std.math
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-10-16 19:46:13 +02:00
Andrei Alexandrescu
67019022ad Minor doc 2017-10-16 19:14:49 +02:00
Alexandru Jercaianu
d8406557b5 minor refactor 2017-10-16 20:11:26 +03:00
Alexandru Jercaianu
30b65e77f5 typo 2017-10-16 20:09:42 +03:00
Alexandru Jercaianu
298f160d86 updated documentation 2017-10-16 19:24:40 +03:00
Dmitry Olshansky
f4c963b5e9 Silence the circleCI style check? 2017-10-16 19:14:42 +03:00
The Dlang Bot
2d2592f538 Merge pull request #5758 from jercaianu/rmdir
Make DirEntry and DirIterator safe
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-10-16 18:02:10 +02:00
The Dlang Bot
58a987ae5f Merge pull request #5781 from edi33416/bucketizer_fix
Fix bucketizer aligned allocate
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-10-16 14:14:22 +02:00
Martin Nowak
783e151605 Merge pull request #5782 from MartinNowak/merge_stable
Merge remote-tracking branch 'upstream/stable' into merge_stable
2017-10-16 13:43:04 +02:00
Martin Nowak
7ff7aec86f Merge remote-tracking branch 'upstream/stable' into merge_stable 2017-10-16 13:35:29 +02:00
Martin Nowak
ffe479e105 Merge remote-tracking branch 'upstream/master' into stable 2017-10-16 11:52:27 +02:00
Eduard Staniloiu
035d7d651b Fix bucketizer aligned allocate 2017-10-16 08:56:28 +00:00
Andrei Alexandrescu
bdcde881e5 Merge pull request #5331 from edi33416/emplace_classes_safely
Make emplace infer class ctor safety
2017-10-15 10:19:50 -04:00
Eduard Staniloiu
981e1b0cd2 Make emplace infer class ctor safety 2017-10-12 20:47:03 +00:00
The Dlang Bot
3da450413a Merge pull request #5779 from edi33416/win32_mak
Split unittest6.obj to get past the 32767 max symbols limitation
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2017-10-12 16:14:37 +02:00
Eduard Staniloiu
230f72e612 Split unittest6.obj to get past the 32767 max symbols limitation 2017-10-12 13:30:19 +00:00
The Dlang Bot
f24da9d895 Merge pull request #5725 from RazvanN7/Issue_4582
Fix Issue 4582 - distinct field names constraint for std.typecons.Tuple
merged-on-behalf-of: MetaLang <MetaLang@users.noreply.github.com>
2017-10-12 15:20:30 +02:00
RazvanN7
9af56d0223 Update distinct function + add unittest for it 2017-10-12 15:22:36 +03:00
The Dlang Bot
5a9cbe9c30 Merge pull request #5726 from RazvanN7/Issue_6409
Fix Issue 6409 - std.array.empty for associative arrays too
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-10-12 12:27:53 +02:00
RazvanN7
8525d60821 Replace hasLength 2017-10-12 11:14:09 +03:00
Dmitry Olshansky
13ea5f9aea Drop another level of templatizations in backtracking 2017-10-11 18:18:12 +03:00
The Dlang Bot
acf85ce46d Merge pull request #5775 from joakim-noah/select
Move new top-level selective imports in std.uni to local scopes
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-10-11 16:31:45 +02:00
Joakim
afdae06936 Move new top-level selective imports in std.uni to local scopes 2017-10-11 00:16:10 +05:30
Iain Buclaw
4ccbd65ef0 std.math: Fix names of PI/4 constants for RealFormat.ieeeQuadruple 2017-10-10 02:21:34 +02:00