WalterW
07d4c37229
Add thorough unittest to std.algorithm.remove
2016-12-29 00:07:54 -05:00
WalterW
424aec1159
Fix Issue 16996 - std.algorithm.remove with SwapStrategy.unstable removes more entries
2016-12-28 23:16:37 -05:00
dukc
5fed1e4292
Add attributes to unittests of std.range
2016-12-28 05:28:50 +01:00
The Dlang Bot
032d04df03
Merge pull request #4956 from edi33416/fix_deprecations
...
Fix issue 16970 - Fix deprecations and warnings when compiling Phobos
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2016-12-27 22:43:11 +01:00
Stefan Koch
085e41ed00
Merge pull request #4989 from wilzbach/add-nullable-helper
...
Add nullable{,Ref} construction functions
2016-12-27 20:51:32 +01:00
Eduard Staniloiu
3d98191ce9
Fix issue 16970 - Fix deprecations and warnings when compiling Phobos
2016-12-27 15:57:20 +02:00
Martin Nowak
9cbc862544
Merge pull request #4995 from MartinNowak/fix16626
...
disable kickstart in ctfe to workaround Issue 16626
2016-12-27 00:33:32 +01:00
WalterW
aa55068709
Fix random std.datetime unit test failure
2016-12-25 20:26:08 -05:00
Martin Nowak
dc2109ebbb
Merge pull request #4981 from wilzbach/bitwise-cleanup
...
First cleanup of bitwise adapter + add to docs
2016-12-25 12:06:59 +01:00
Andrei Alexandrescu
bd2f35cbd2
Revert "[DEMO for DIP1005] Converted imports to selective imports in std.array"
2016-12-25 09:17:33 +01:00
Andrei Alexandrescu
515b6a4ea2
Merge pull request #4991 from wilzbach/fix-issue-16255-each-opApply
...
Fix issue 16255 - std.algorithm.iteration.each on opApply doesn't support
2016-12-24 15:38:32 -05:00
Andrei Alexandrescu
ee68d8486f
Merge pull request #4993 from WalterWaldron/fix16352
...
Addendum PR4988 - dead-lock in std.allocator.free_list unittest
2016-12-24 11:08:23 -05:00
Martin Nowak
07090ae2fd
disable kickstart in ctfe to workaround Issue 16626
...
- consumes too much memory, introduced by
e98fa4ad5a
(#4286 )
2016-12-24 17:03:01 +01:00
Martin Nowak
12c56c935c
partly fix Issue 9378 - SHA1 asm not PIC compatible
...
- access SHA1 constants through extra register in x64 code
- tried same for x86 but there is no register left and
loading constants via stack was way too slow
2016-12-24 16:26:23 +01:00
Sebastian Wilzbach
b95b67a687
Merge pull request #4986 from jmdavis/string_trivial
...
Make std.string.StringException use basicExceptionCtors.
2016-12-24 11:00:53 +01:00
WalterW
f7e14e905b
Fix issue 16352 - dead-lock in std.allocator.free_list unittest
...
This fixes the actual unittest.
2016-12-24 01:40:47 -05:00
Sebastian Wilzbach
f903de7bc6
Fix issue 16255 - std.algorithm.iteration.each on opApply doesn't support ref
2016-12-23 23:46:37 +01:00
Sebastian Wilzbach
cf65a3be03
Remove deprecated doFormat
2016-12-23 23:24:23 +01:00
Sebastian Wilzbach
e67c579f91
Add nullable{,Ref} construction functions
2016-12-23 23:22:21 +01:00
WalterW
776202b4e4
SharedFreeList - Fix nodes count desync and use after free on deallocateAll
2016-12-23 12:55:32 -05:00
WalterW
5caa66ef31
Fix issue 16352 - dead-lock in std.allocator.free_list unittest
2016-12-23 12:55:32 -05:00
Jonathan M Davis
bd6204f2c0
Make std.string.StringException use basicExceptionCtors.
...
This is a trivial change to take advantage of
std.exception.basicExceptionCtors and avoid having StringException
explicitly declare the normal exception constructors. It also has the
advantage of adding the second constructor that was missing from
StringException.
2016-12-22 04:57:58 -08:00
Andrei Alexandrescu
6acf4a289d
Merge pull request #4975 from somzzz/issue_16634
...
fix issue 16634 - std.math exposes yl2x and yl2xp1 publicly
2016-12-21 21:18:05 -05:00
Jack Stouffer
c4996852dc
Merge pull request #4980 from wilzbach/minmax-index-to-booktable
...
Add new min/maxIndex symbols to booktables
2016-12-21 13:41:09 -05:00
Jack Stouffer
be8713aedb
Merge pull request #4906 from ntrel/tuple-docs
...
Improve tuple-related docs
2016-12-21 10:28:57 -05:00
Jack Stouffer
ab84f306fa
Merge pull request #4976 from ErinaceusEuropaeus/fix_zip_save
...
Fix std.range.Zip.save
2016-12-21 09:53:49 -05:00
Andrei Alexandrescu
64ed49be5a
Merge pull request #4977 from somzzz/issue_16653
...
fix issue 16653 - ParameterDefaultValueTuple fails to compile when function has lazy param
2016-12-21 08:09:56 -05:00
Sebastian Wilzbach
8f725361b7
First cleanup of bitwise adapter + add to docs
2016-12-21 11:54:05 +01:00
Sebastian Wilzbach
d8c5437d36
Add new min/maxIndex symbols to booktables
2016-12-21 10:51:16 +01:00
The Dlang Bot
22badfc725
Merge pull request #4974 from sprinkle131313/long-lines-check
...
Enables long line style check.
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2016-12-21 01:40:11 +01:00
ErinaceusEuropaeus
3daef3fb4f
Fix std.range.Zip.save
2016-12-20 17:19:24 +01:00
somzzz
48398dbd0f
fix issue 16653
2016-12-20 04:27:50 -08:00
somzzz
f10dd947cd
fix issue 16634
2016-12-20 02:50:29 -08:00
sprinkle131313
0857bdfe27
Enables long line style check.
2016-12-20 04:00:36 -05:00
Sebastian Wilzbach
e2025c2c34
Add public examples to std.algorithm
2016-12-20 04:14:10 +01:00
Andrei Alexandrescu
b6bcf753ad
Merge pull request #4927 from edi33416/bitwise_adapter
...
[WIP] std.range: implement bitwise adapter over Integral type Ranges
2016-12-19 15:42:04 -05:00
Andrei Alexandrescu
428217b317
Merge pull request #4961 from edi33416/uniq_consistency
...
Fix issue 16588 - uniqs BidirectionalRange behavior is inconsistent w…
2016-12-19 14:58:51 -05:00
Eduard Staniloiu
e1c5362995
Add tests for empty range
2016-12-19 20:50:59 +02:00
Eduard Staniloiu
b9d271d52c
Remove picking policy
2016-12-19 20:02:11 +02:00
Andrei Alexandrescu
7c2dc1ccba
Merge pull request #4957 from RazvanN7/Issue_16724
...
Fix Issue 16724 - RandomCover.popFront is a no-op for the first call
2016-12-19 10:33:04 -05:00
RazvanN7
17e3e642e9
Nitpicks
2016-12-19 16:02:15 +02:00
Andrei Alexandrescu
cf07aeddc1
Merge pull request #4888 from nordlow/better-merge
...
Improve merge() algorithm
2016-12-19 08:45:11 -05:00
Sebastian Wilzbach
870cf27bbf
Merge pull request #4946 from 9il/rmndslice
...
deprecate std.experimental.ndslice
2016-12-19 09:32:15 +01:00
Per Nordlöw
28153fb3c6
Make merge with bi-directional and have infiniteness and more docs
2016-12-19 09:10:47 +01:00
Andrei Alexandrescu
996543316e
Merge pull request #4963 from andralex/selective_import_demo
...
[DEMO for DIP1005] Converted imports to selective imports in std.array
2016-12-17 12:26:16 -05:00
Andrei Alexandrescu
e064d5664f
[DEMO][DONOTPULL] Converted imports to selective imports in std.array
2016-12-17 11:50:16 -05:00
Eduard Staniloiu
a502b2a254
Fix issue 16588 - uniqs BidirectionalRange behavior is inconsistent with its InputRange behavior
2016-12-16 18:05:37 +02:00
Sebastian Wilzbach
f3a840144a
Merge pull request #4921 from RazvanN7/Issue_8573
...
Issue 8573 - A simpler Phobos function that returns the index of the …
2016-12-16 16:16:48 +01:00
Andrei Alexandrescu
c65d9e46f4
Merge pull request #4943 from wilzbach/add-check-for-public-unittests
...
Add check for public unittests
2016-12-16 08:33:19 -05:00
RazvanN7
d2c7d3761b
Issue 8573 - A simpler Phobos function that returns the index of the mix or max item
...
Issue 8573 - A simpler Phobos function that returns the index of the mix or max item
added some review fixes
fixed an issue with a mutable variable
Applied review feedback
Renamed functions to minIndex and maxIndex + used sizediff_t for return value type
Updated function so that it works optimally even for lazy ranges and algorithms
Reverted to having only copyable elements in ranges
Added more unittests; implemented an array path; fixed documentation
Squashed commits
2016-12-16 11:11:07 +02:00