Commit graph

16625 commits

Author SHA1 Message Date
Brian Callahan
8e9e9b6a34 Fix Issue 22458 - OpenBSD: Add OpenBSD to std/system.d OS list 2021-10-31 23:19:28 +00:00
Nathan Sashihara
2ba87d2ff7 Delete the bodies of a number of private wrapper functions in std.stdio and std.file 2021-10-28 06:10:01 -04:00
Sebastian Wilzbach
63712f491c Remove redundant access specifier from Phobos 2021-10-27 10:04:23 +03:00
Andrei Alexandrescu
b44c0c638a
Use alias assignment in staticMap (#8039)
Use alias assignment in staticMap

Signed-off-by: Nathan Sashihara <n8sh@users.noreply.github.com>
Signed-off-by: Razvan Nitu <RazvanN7@users.noreply.github.com>
Merged-on-behalf-of: unknown
2021-10-26 22:06:41 +00:00
RazvanN7
6f5b2d6b60 Document how the returned value of clamp is converted to the return type 2021-10-26 16:07:27 +03:00
The Dlang Bot
ee3a24b1dd
Merge pull request #8304 from andralex/variadicIsSameLength
Variadic isSameLength

Signed-off-by: Atila Neves <atilaneves@users.noreply.github.com>
Merged-on-behalf-of: Atila Neves <atilaneves@users.noreply.github.com>
2021-10-26 09:04:32 +00:00
Razvan Nitu
8d6c5312b0
Merge pull request #8291 from andralex/issue22408
Fix Issue 22408 - Multiple issues in AllImplicitConversionTargets
2021-10-26 11:12:57 +03:00
Andrei Alexandrescu
c9f94d2461 Fix Issue 22408 - Multiple issues in AllImplicitConversionTargets 2021-10-25 17:32:09 -06:00
Andrei Alexandrescu
fb55df97e4 Add unittests 2021-10-25 17:28:19 -06:00
Andrei Alexandrescu
0efda76c67 Variadic isSameLength 2021-10-25 17:19:50 -06:00
Andrei Alexandrescu
4ded9c6796
Eliminate shared this from std/internal/windows/advapi32.d (#5467)
Eliminate shared this from std/internal/windows/advapi32.d

Signed-off-by: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
Signed-off-by: Petar Kirov <PetarKirov@users.noreply.github.com>
Signed-off-by: Razvan Nitu <RazvanN7@users.noreply.github.com>
Merged-on-behalf-of: unknown
2021-10-25 08:08:29 +00:00
Andrei Alexandrescu
82868eaf9e Variadic mismatch 2021-10-23 08:47:08 +00:00
Andrei Alexandrescu
bd19a80b8f Replace lsof failure with warning for CI's sake 2021-10-22 21:53:40 +00:00
Razvan Nitu
3078e11bf0
Merge pull request #5476 from rjframe/17488/tempfile
Fix issue 17488: Add trailing slash to POSIX tempDir() to match Windows behaviour
2021-10-22 17:55:05 +03:00
RazvanN7
85f426020a Move import of dirSeparator to larger scope 2021-10-22 14:52:57 +03:00
Ryan Frame
02f4f148cf Fix Issue 17488 - Add trailing slash to POSIX tempDir() to match Windows behaviour 2021-10-22 14:52:57 +03:00
Per Nordlöw
4b5785c4e3 Reduce template bloat in IntegralTypeOf-overload of formatValueImpl 2021-10-22 09:37:40 +00:00
Razvan Nitu
e2279cac12
Merge pull request #8284 from andralex/variadicEquals
RFC: alternative variadic implementation of equals
2021-10-20 10:26:37 +03:00
Brian Callahan
089a3b8dc4 Add OpenBSD to the unittest. 2021-10-19 23:56:45 +00:00
Razvan Nitu
e1d6e6f116
Merge pull request #8271 from dukc/fix21022
Fix issue 21022 - only should work with qualifiers
2021-10-19 21:05:56 +03:00
Razvan Nitu
2c7ec9ca2b
Merge pull request #8262 from nordlow/faster-EnumMembers
Use AliasAssign directly in EnumMembers
2021-10-19 21:02:50 +03:00
Andrei Alexandrescu
f91bfff148 Update std/algorithm/comparison.d
Co-authored-by: Razvan Nitu <razvan.nitu1305@gmail.com>
2021-10-19 10:42:27 -04:00
Andrei Alexandrescu
e5766c8c03 Fix related bug in EvenChunks 2021-10-19 10:42:27 -04:00
Andrei Alexandrescu
43cfc832b4 Fix bug 2021-10-19 10:42:27 -04:00
Andrei Alexandrescu
e98114183c Simpler code for length comparison 2021-10-19 10:42:27 -04:00
Andrei Alexandrescu
c21f0ea8eb Compare all available lengths prior to entering the loop 2021-10-19 10:42:27 -04:00
Andrei Alexandrescu
963274f1c1 RFC: alternative variadic implementation of equals 2021-10-19 10:42:27 -04:00
WalterW
32ecd42634 Fix issue 17037 - std.concurrency has random segfaults 2021-10-19 13:29:49 +00:00
Per Nordlöw
08a8c51151 Use AliasAssign directly in EnumMembers
Don’t use map in EnumMembers
2021-10-19 15:09:49 +02:00
Razvan Nitu
7eb5f3baa8
Merge pull request #8293 from andralex/issue22414
Fix Issue 22414 - clamp(a, b, c) should always return typeof(a)
2021-10-19 11:38:41 +03:00
Razvan Nitu
8993dcaf2c
Merge pull request #8298 from nordlow/better-adjoin
Refactor adjoin
2021-10-19 11:38:24 +03:00
Razvan Nitu
5ee65fc2e8
Merge pull request #8292 from andralex/iterative-largest
Iterative Largest
2021-10-19 10:40:24 +03:00
Andrei Alexandrescu
8dbbe55294 Iterative isTypeTuple and a couple of simplifications 2021-10-18 18:42:55 -04:00
Bastiaan Veelo
c087cb5629 Match documentation with template heading. 2021-10-18 18:18:24 +00:00
Andrei Alexandrescu
3041b3768b Fix Issue 22414 - clamp(a, b, c) should always return typeof(a) 2021-10-18 10:14:48 -04:00
Per Nordlöw
049e5da33d Refactor adjoin 2021-10-18 14:11:24 +02:00
Ate Eskola
1d5d1822ed Fix issue 16705 - TaskPool.reduce did not work with non-default initializable ranges 2021-10-18 14:06:54 +03:00
Andrei Alexandrescu
be1d9a252a Replace single-element variadics template idiom with single alias parameter 2021-10-18 07:01:17 +00:00
Andrei Alexandrescu
d715c29567 Simpler TransitiveBaseTypeTuple 2021-10-18 07:01:13 +00:00
Razvan Nitu
9252a88919
Merge pull request #8288 from andralex/simplerCommonType
[TRIVIAL] Simpler CommonType
2021-10-18 09:01:26 +03:00
Brian Callahan
8a42656f67 Fix Issue 22416 - Unify polyImpl implementations 2021-10-18 05:40:34 +00:00
Andrei Alexandrescu
901ef54b7f Iterative maxAlignment 2021-10-17 23:59:46 -04:00
Andrei Alexandrescu
4aaffaf256 Simpler Template*Of 2021-10-17 18:28:21 +00:00
Andrei Alexandrescu
d2c6766dda Iterative Largest 2021-10-17 12:32:43 -04:00
Andrei Alexandrescu
cee36efec4 Simplify and generalize allSameType 2021-10-17 12:14:48 +00:00
Vladimir Panteleev
461101dfa0 Fix Issue 22394 - std.getopt cannot handle "-" 2021-10-17 01:48:51 +00:00
Andrei Alexandrescu
f5c15d8469 [TRIVIAL] Simpler CommonType 2021-10-16 14:25:32 -04:00
Brian Callahan
36eeb42292 OpenBSD: Add polyImpl implementation for x86
Fix Issue 22393 - OpenBSD: Add polyImpl implementation for x86
2021-10-16 08:05:02 -04:00
John Colvin
dc69783cfb @safe tests in std.uni 2021-10-15 11:30:04 +00:00
Per Nordlöw
dd310f3543 Use string compile-time concatenation assigned to enums then passed to put()
Reverts https://github.com/dlang/phobos/pull/8277/files.
2021-10-15 09:16:21 +00:00