Commit graph

18912 commits

Author SHA1 Message Date
Iain Buclaw
a8cd46e149 Revert "Annotate std/string.d to please dlang/dmd#12520"
This reverts commit 086ad984dd.
2021-05-18 01:04:18 +02:00
nordlow
1a72c4f83e Annotate std/net/isemail.d to please dlang/dmd#12520 2021-05-18 00:29:19 +02:00
The Dlang Bot
a01c94531e
Merge pull request #8079 from nordlow/fix-pure-scope-searching
Annotate std/algorithm/searching.d to please dlang/dmd#12520
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2021-05-17 23:44:59 +02:00
nordlow
93ea473f53 Annotate std/internal/digest/sha_SSSE3.d to please dlang/dmd#12520 2021-05-17 23:00:24 +02:00
nordlow
6ce97eb9ff Annotate std/socket.d to please dlang/dmd#12520 2021-05-17 21:50:31 +02:00
nordlow
5a18d8cea1 Annotate std/stdio.d to please dlang/dmd#12520 2021-05-17 20:43:46 +02:00
nordlow
086ad984dd Annotate std/string.d to please dlang/dmd#12520 2021-05-17 19:37:00 +02:00
nordlow
88a4ebbc1f Annotate std/uni/package.d to please dlang/dmd#12520 2021-05-17 18:30:15 +02:00
nordlow
0db0187885 Annotate std/utf.d to please dlang/dmd#12520 2021-05-17 17:15:35 +02:00
nordlow
778495cd9a Annotate std/xml.d to please dlang/dmd#12520 2021-05-17 14:09:09 +02:00
nordlow
db6a3ac21c Annotate std/process.d to please dlang/dmd#12520 2021-05-17 19:00:50 +08:00
nordlow
384b4be243 Annotate std/path.d to please dlang/dmd#12520 2021-05-17 19:00:35 +08:00
nordlow
5d31a68082 Break line to please maximum line length enforced by style checker 2021-05-17 12:04:06 +02:00
nordlow
f8bc7a1181 Annotate allocator/common.d to please dlang/dmd#12520 2021-05-17 05:21:35 +02:00
nordlow
6bef53dd1a Annotate std/algorithm/searching.d to please dlang/dmd#12520 #8076 2021-05-17 00:02:04 +02:00
Max Haughton
bc0a16273e Fix Issue 21125 - Typo in std.range.refRange documentation for opIndex 2021-05-16 21:14:25 +02:00
Iain Buclaw
859a367ffa Cleanup temp files in std.process and std.experimental.checkedint
Co-Authored-By: Bernd Edlinger <bernd.edlinger@hotmail.de>
2021-05-14 15:03:34 +02:00
Razvan Nitu
d154c239c4
Merge pull request #8050 from berni44/rounding_e
std.format: Use rounding tool to round %e on floats.
2021-05-14 14:38:42 +08:00
Razvan Nitu
dba3cbc88c
Merge pull request #8059 from berni44/rounding_a
std.format: Use rounding tool to round %a on floats.
2021-05-13 14:35:19 +08:00
Vladimir Panteleev
28b9d08fa2 Fix Issue 21916 - Error message is obfuscated when using wrong format specifier at compile-time 2021-05-13 02:22:27 +02:00
The Dlang Bot
b5b4dc176c
Merge pull request #8069 from MartinNowak/merge_stable
merge stable
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2021-05-12 12:06:44 +02:00
Martin Nowak
29f4db1f21 Merge remote-tracking branch 'upstream/stable' into merge_stable 2021-05-12 11:13:19 +02:00
berni44
838da632cb Fix Issue 9489 - writeln of struct with disabled copy ctor 2021-05-12 09:41:58 +02:00
Martin Nowak
0f71d7494f Merge remote-tracking branch 'upstream/master' into stable 2021-05-12 08:29:15 +02:00
Boris Carvajal
5dd42968e3 Rename the initial value of some enums from init to _init 2021-05-12 10:56:46 +08:00
berni44
3b4dc67878 Make unittests in std.format @safe 2021-05-11 16:13:09 +02:00
Razvan Nitu
82b995814f
Merge pull request #8067 from ibuclaw/complex/test
std.complex: Add missing imports in unittests for non-DigitalMars targets
2021-05-11 21:42:09 +08:00
Iain Buclaw
f3567fbb69 std.complex: Add missing imports in unittests for non-DigitalMars targets 2021-05-11 14:30:35 +02:00
Iain Buclaw
79bf8c3c32 std.math.algebraic: Convert hypot to a template 2021-05-11 12:22:13 +02:00
Andrei Alexandrescu
5c931c89fa Replace the use of format() during compilation in std.traits with concatenations 2021-05-11 09:40:56 +02:00
Iain Buclaw
52699fc020 std.math: Adjust whitespace of a few unittests 2021-05-11 09:14:14 +02:00
Iain Buclaw
543a3d0cd6 std.math.algebraic: Support more float types in hypot 2021-05-11 02:59:57 +02:00
Witold Baryluk
46b7b3b02a Fix missing space in exception text in std.conv.to
For example:

Evaluating `to!(int[])("")`
Leads to `ConvException` with message:

`Can't parse string: unexpected end of input when expecting"["`

but should be

`Can't parse string: unexpected end of input when expecting "["`
2021-05-11 02:00:12 +02:00
Andrei Alexandrescu
4655240bbe Make staticIsSorted use static foreach instead of recursion 2021-05-10 19:20:37 +02:00
berni44
36221cf4cc Revert "Fix Issue 21456 - std.format does not accept enum member with string base type as template parameter"
This reverts commit 974a88a967.
2021-05-10 18:30:05 +02:00
Razvan Nitu
33b19c7cc1
Merge pull request #8060 from atilaneves/std-file-safe-ut
Make unittests in std.file @safe
2021-05-10 23:42:52 +08:00
Atila Neves
771e5460b7 Make rmdir unittest @safe 2021-05-10 16:36:18 +02:00
Atila Neves
834ecfb609 Make mkdirRecurse unittest @safe 2021-05-10 16:35:37 +02:00
Atila Neves
f13839de44 Make unittest @safe 2021-05-10 16:34:33 +02:00
Atila Neves
e1a1c286b2 Make isFile unittest @safe 2021-05-10 16:30:50 +02:00
Atila Neves
cd16c4e741 Make DirEntry unittest @safe 2021-05-10 16:30:06 +02:00
Atila Neves
c2b6dbb0bb Make timeLastModified unittest @safe 2021-05-10 16:29:17 +02:00
Atila Neves
88808733f8 Make setTimes unittest @safe 2021-05-10 16:27:55 +02:00
Atila Neves
8573787e1c Make gettimes unittest @safe 2021-05-10 16:26:46 +02:00
Atila Neves
09e1f93043 Make append unittest @safe 2021-05-10 16:24:49 +02:00
Atila Neves
6dd5f57225 Make write test @safe 2021-05-10 16:23:16 +02:00
MoonlightSentinel
ff934f9332 Remove duplicate assumePureFunction from std.regex
It's redundant and has the same invalid constraint that was
fixed for the other implementation
2021-05-10 13:17:42 +02:00
berni44
73b1ab5f9d std.format: Use rounding tool to round %a on floats. 2021-05-10 10:37:03 +02:00
Razvan Nitu
f33b92f74f
Merge pull request #8049 from berni44/issue_21900
Fix Issue 21900 - std.format: round to even does not work for hex integers with letters
2021-05-10 15:50:30 +08:00
berni44
6bcc66a071
std.format: Remove outdated printFloatTest (#8054) 2021-05-09 21:37:08 +08:00