Commit graph

19551 commits

Author SHA1 Message Date
MoonlightSentinel
c0981769a0 Fix 22487 - Don't access payload for unititialized array data
Explicitly return `[]` when `store` wasn't intialized yet.
2021-11-08 05:40:08 +00:00
MoonlightSentinel
a22571f59a Fix 22488 - Add inout to allow Array.data for const/immutable Array's
Simply propagate the const'ness to the return slice.
2021-11-08 05:34:08 +00:00
Brian Callahan
8e9e9b6a34 Fix Issue 22458 - OpenBSD: Add OpenBSD to std/system.d OS list 2021-10-31 23:19:28 +00:00
Razvan Nitu
3e91c074aa
Merge pull request #8307 from n8sh/stdio-file-delete-some-wrapper-bodies
Delete the bodies of a number of private wrapper functions in std.stdio and std.file
2021-10-28 15:54:39 +03: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
Razvan Nitu
1f9e05606f
Merge pull request #5477 from wilzbach/redundant-attributes
Remove redundant access specifier from Phobos
2021-10-27 16:41:20 +03:00
MoonlightSentinel
e3888d416c Switch to the new CodeCov uploader
Reuse the script introduced in dlang/dmd#13139
2021-10-27 10:14:23 +00: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
Andrei Alexandrescu
fa14ddbc8c
Merge pull request #8305 from RazvanN7/clamp_doc
Document how the returned value of clamp is converted to the return type
2021-10-26 10:51:30 -04: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
Razvan Nitu
ec3b2325bc
Merge pull request #8294 from andralex/isTypeTuple
Iterative isTypeTuple and a couple of simplifications
2021-10-19 10:34:28 +03:00
Andrei Alexandrescu
8dbbe55294 Iterative isTypeTuple and a couple of simplifications 2021-10-18 18:42:55 -04:00
The Dlang Bot
71087a1707
Merge pull request #8258 from dukc/fix16705
Fix regression 16705

Signed-off-by: Razvan Nitu <RazvanN7@users.noreply.github.com>
Merged-on-behalf-of: Razvan Nitu <RazvanN7@users.noreply.github.com>
2021-10-18 19:42:01 +00: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
cea7588592 Restarting the tests 2021-10-18 14:06:54 +03: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
Razvan Nitu
b5ea06d18c
Merge pull request #8297 from andralex/maxAlignment
Iterative maxAlignment
2021-10-18 09:00:27 +03:00