Martin Nowak
56e9396786
Merge pull request #6486 from MartinNowak/fix18800
...
fix Issue 18800 - Array.length setter segfaults for payloads with indirections
2018-04-30 12:16:22 +02:00
Martin Nowak
b2016be155
fix Issue 18800 - Array.length setter segfaults for payloads with indirections
2018-04-30 09:39:52 +02:00
aG0aep6G
19052b08de
fix issue 18804 - std.algorithm.mutation.copy puts whole source range into target range when it should put elements
2018-04-30 03:06:02 +02:00
Steven Schveighoffer
85844c785b
Merge pull request #6474 from aG0aep6G/LockingTextWriter.put-wchar-to-char
...
fix conversion from wchar to char in LockingTextWriter.put
2018-04-29 13:55:55 -04:00
The Dlang Bot
e1df5c369f
Merge pull request #6483 from carblue/dip1000_mak_2
...
[Trivial] dip1000.mak: Lift some modules
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-04-28 23:19:54 +02:00
The Dlang Bot
081a17e18e
Merge pull request #6482 from MartinNowak/merge_stable
...
Merge remote-tracking branch 'upstream/stable' into merge_stable
merged-on-behalf-of: David Nadlinger <code@klickverbot.at>
2018-04-28 22:11:48 +02:00
carblue
4c84809346
add new module aligned_block_list
2018-04-28 22:03:47 +02:00
carblue
8c31b78548
dip1000.mak: Lift some modules
2018-04-28 19:55:58 +02:00
Martin
8d1929c46a
std.math: Change fmin/fmax semantics wrt. NaNs
...
If one of the arguments is a NaN, return the other. These are the C99
semantics; the previous simple ternary expression is covered by
std.algorithm.min/max.
2018-04-28 16:38:32 +02:00
Martin Nowak
ed910ee711
Merge remote-tracking branch 'upstream/stable' into merge_stable
2018-04-27 18:31:28 +02:00
Martin Nowak
16f812ac01
Merge pull request #6478 from kinke/fixLog1p
...
Fix std.math.log1p() unittest
2018-04-27 11:11:37 +02:00
The Dlang Bot
77a3235534
Merge pull request #6480 from kinke/fixEmplace
...
Fix std.conv.emplaceRef() for 0-sized types
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2018-04-27 07:29:44 +02:00
The Dlang Bot
a7f962dd09
Merge pull request #6481 from kinke/fixVariant
...
Fix std.variant unittest
merged-on-behalf-of: David Nadlinger <code@klickverbot.at>
2018-04-27 00:41:10 +02:00
Martin
536cda61d4
Fix std.conv.emplaceRef() for 0-sized types
...
E.g., T=void[0] is a 0-sized type. When wrapping it in a struct S, the
struct's size is 1. So reinterpret-casting the T target to S and blitting
the S.init value over it doesn't result in a noop, but a 1-byte copy to
the 0-sized target.
2018-04-26 22:57:25 +02:00
Martin
7583d5434c
Fix std.math.log1p() unittest
...
log1p(-2.0) returns +NaN for the non-x87 software implementation, and so
does the MSVC runtime function. The x87 asm implementation and libm on
Linux return -NaN. So just ignore the sign.
2018-04-26 22:54:57 +02:00
Martin
a459a23245
Fix std.variant unittest
...
For all 64-bit targets with real.sizeof < 16, e.g., Win64 MSVC for LDC.
2018-04-26 22:53:59 +02:00
The Dlang Bot
42e9d6ffb9
Merge pull request #6466 from JackStouffer/path-examples
...
Added examples to std.path
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-04-26 19:17:58 +02:00
Jack Stouffer
c1399d34b0
Added examples to std.path
2018-04-26 11:55:07 -04:00
The Dlang Bot
4549c4bf2d
Merge pull request #6475 from GilesBathgate/patch-1
...
Remove duplicated document text in Socket.close()
merged-on-behalf-of: Vladimir Panteleev <github@thecybershadow.net>
2018-04-25 15:59:54 +02:00
The Dlang Bot
4b26eb20f7
Merge pull request #6454 from JackStouffer/functional-docs
...
Added Params and Returns to std.functional
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2018-04-25 09:51:11 +02:00
The Dlang Bot
b2ca647ecf
Merge pull request #6476 from n8sh/zip-zlib-uninitializedArray
...
[Trivial] zip & zlib: don't zero-fill buffers before writing to them
merged-on-behalf-of: Vladimir Panteleev <github@thecybershadow.net>
2018-04-25 05:47:49 +02:00
The Dlang Bot
832ace0832
Merge pull request #6413 from edi33416/fix_i17806
...
Fix Issue 17806 - processAllocator getter will override set value if …
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-04-25 04:34:03 +02:00
Nathan Sashihara
8d070a5c81
Merge branch 'master' into fix_i17806
2018-04-24 21:19:02 -04:00
Nathan Sashihara
8ae499e963
zip & zlib: don't zero-fill buffers before writing to them
2018-04-24 21:00:16 -04:00
Giles Bathgate
06c523dd01
Remove duplicated document text in Socket.close()
2018-04-24 20:52:20 +01:00
The Dlang Bot
810ffe6990
Merge pull request #6463 from edi33416/purify_affixAlloc_parent
...
Make AffixAllocator parent pure
merged-on-behalf-of: jercaianu <jercaianu@users.noreply.github.com>
2018-04-24 19:32:57 +02:00
Eduard Staniloiu
f239d2603a
Make AffixAllocator parent pure
2018-04-24 16:23:40 +00:00
jercaianu
02ff01b098
Merge pull request #6444 from edi33416/purify_rciallocators
...
Make RCIAllocators pure
2018-04-24 19:22:26 +03:00
Eduard Staniloiu
9384f30faa
Make RCIAllocators pure
2018-04-24 15:17:22 +00:00
Steven Schveighoffer
30e0d82b18
Update documented unit test now that char[] can be an output range.
2018-04-24 11:12:29 -04:00
BBasile
5d2590ed8c
fix issue 17084 - Can't sort array of structs with alias this ( #6472 )
2018-04-24 16:38:50 +03:00
aG0aep6G
b771e175d0
only decode when there's a highSurrogate
2018-04-24 07:45:21 +02:00
aG0aep6G
5fa8ba12e2
merge imports
2018-04-23 23:39:23 +02:00
aG0aep6G
bf1b4db8a3
only store the high surrogate, and use \0
to indicate its empty
2018-04-23 23:11:53 +02:00
aG0aep6G
2ab81bcbe7
add comment about the final throw
2018-04-23 23:03:02 +02:00
aG0aep6G
8611e450d8
destroy file_ before possibly throwing
2018-04-23 23:02:21 +02:00
The Dlang Bot
63ff830b9a
Merge pull request #6468 from ntrel/patch-3
...
[trivial] Fix `Nullable.get` docs
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-04-23 19:53:40 +02:00
Nick Treleaven
a7c1d1ae2a
Clarify that Nullable!T.get doesn't always throw
2018-04-23 18:51:38 +02:00
Nick Treleaven
778cdaac51
get doesn't throw in release mode
2018-04-23 18:51:38 +02:00
Nick Treleaven
f94a50db48
Fix Nullable.get
docs
2018-04-23 18:51:38 +02:00
Sebastian Wilzbach
428edb50e2
Merge pull request #6470 from BBasile/rnd-nogc
...
[Trivial] Annotates std.random unittests with `@nogc` when already possible
2018-04-23 18:41:45 +02:00
Steven Schveighoffer
8769ea9e46
Fix issue 18790 - Add ability for char[] and wchar[] to be output ranges.
2018-04-23 09:17:49 -04:00
aG0aep6G
d5cc4c5087
fix conversion from wchar to char in LockingTextWriter.put
...
Fixes the easier part of issue 18789.
2018-04-23 13:43:57 +02:00
Basile Burg
cac1be5408
Annotates std.random unittests with @nogc when already possible
2018-04-21 22:01:19 +02:00
The Dlang Bot
7ba6fbb66c
Merge pull request #6328 from John-Colvin/string_remove
...
Fix Issue 18525: std.algorithm.mutate.remove should work on mutable strings
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-04-21 18:35:30 +02:00
Jack Stouffer
626cabcdc4
Added Params and Returns to std.functional
2018-04-19 20:13:34 -04:00
jercaianu
559aa6d7c7
Allocator list does not return null if two empty nodes are found ( #6462 )
2018-04-19 15:07:30 +03:00
Nathan Sashihara
307ac7e462
Fix Issue 18766 - std.typecons.Tuple.toHash could be improved
2018-04-18 12:08:28 -04:00
The Dlang Bot
777685ffb6
Merge pull request #6460 from jercaianu/region_nogc
...
Add deallocateAll for SharedRegion
merged-on-behalf-of: Eduard Staniloiu <edi33416@users.noreply.github.com>
2018-04-18 17:49:27 +02:00
The Dlang Bot
abba3388dc
Merge pull request #5873 from wilzbach/std-concurrency-tests-4
...
Issue 17127 - bad example code for std.concurrency.Generator
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-04-18 17:00:15 +02:00