Commit graph

13447 commits

Author SHA1 Message Date
The Dlang Bot
7ab0e8c4dc
Merge pull request #6274 from JackStouffer/issue18178
Fix Issue 18178 - std.path should be usable in @safe
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-05-10 16:56:21 +02:00
The Dlang Bot
78c67dcb1d
Merge pull request #6504 from Bolpat/typecons-minor-issues
Fix Misplaced Table
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-05-08 17:01:35 +02:00
Quirin F. Schroll
7356009423 fix table and example in docs 2018-05-08 15:32:03 +02:00
Jack Stouffer
d58250d1fa Removed unused variables from std.conv 2018-05-08 08:41:17 -04:00
Jack Stouffer
f6e4416a72 Fix Issue 18178 - std.path should be usable in @safe 2018-05-08 08:32:09 -04:00
The Dlang Bot
d581c8da97
Merge pull request #6502 from Bolpat/typecons-minor-issues
Typecons minor issues
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-05-08 03:04:51 +02:00
Q. F. Schroll
07dffef19f use unittest as an example 2018-05-08 01:56:37 +02:00
Q. F. Schroll
f73972eada fix documentation 2018-05-08 01:55:10 +02:00
Q. F. Schroll
7f09359211 use static foreach instead of foreach (i, _) 2018-05-07 21:07:50 +02:00
Q. F. Schroll
35c4871e6f justification does not fit a formal documentation 2018-05-07 21:01:18 +02:00
Q. F. Schroll
961ad8c33d remove unnecessary template 2018-05-07 21:00:39 +02:00
Jack Stouffer
cd197654e7 Remove template wide trusted in std.array 2018-05-07 11:03:54 -04:00
Sebastian Wilzbach
79b8fd63ad
Merge pull request #6457 from n8sh/issue-18766
Fix Issue 18766 - std.typecons.Tuple.toHash could be improved
2018-05-03 01:53:37 +02:00
Martin Nowak
2d4fa13f30 Merge remote-tracking branch 'upstream/stable' into merge_stable 2018-05-02 01:06:55 +02:00
Diederik de Groot
cb7bd1b158
truncl is defined as pure in core/stdc/math
(Removed exception for dragonfly, fixed up documentation and comment)
2018-04-30 16:35:13 +02:00
Diederik de Groot
7aa7a2d34e
Fix stdio File.open / resetFile / detach / refcount 2018-04-30 15:31:19 +02:00
Martin Nowak
b2016be155 fix Issue 18800 - Array.length setter segfaults for payloads with indirections 2018-04-30 09:39:52 +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
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
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
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
Eduard Staniloiu
f239d2603a Make AffixAllocator parent pure 2018-04-24 16:23:40 +00:00
Eduard Staniloiu
9384f30faa Make RCIAllocators pure 2018-04-24 15:17:22 +00: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
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
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