Commit graph

15404 commits

Author SHA1 Message Date
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
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
berni44
3bff76a820 std.format: formatting floating points is meanwhile pure 2021-05-08 21:23:57 +02:00
Andrei Alexandrescu
3c45f08ab6 Reduce template instantiations when importing std.bitmanip 2021-05-08 22:30:56 +09:00
Max Haughton
f04cbc612f
Issue 19446 - [std.encoding] BOM.utf7 is missing (#8051)
Issue 19446 - [std.encoding] BOM.utf7 is missing
merged-on-behalf-of: Max Haughton <maxhaton@users.noreply.github.com>
2021-05-08 02:14:02 +02:00
berni44
430d506d35 Fix Issue 21900 - std.format: round to even does not work for hex integers with letters 2021-05-07 15:24:27 +02:00
berni44
e53d010def extractBitpattern: Add implied bit to mantissa and subtract bias from exponent. 2021-05-07 09:37:18 +02:00
Razvan Nitu
9909b6ebe3
Merge pull request #8030 from berni44/fixup_7775
Add transition note from approxEqual to isClose.
2021-05-07 15:00:23 +08:00
Razvan Nitu
b78773c5a4
Merge pull request #8015 from berni44/add_integer_efga
std.format: Add formatting integers with %e, %f, %g and %a.
2021-05-07 14:59:25 +08:00
berni44
03447d6cc7 Fix Issue 21808 - std.format: It should be possible to change the order of key and value of AAs. 2021-05-05 09:12:40 +02:00
Ate Eskola
5e55db84c5
Typifiy an always throwing method as noreturn (#7834) 2021-05-05 10:56:48 +08:00
Nathan Sashihara
efced87ae8 Again use core.math intrinsics instead of std.math wrappers
As in PR #7821 & PR #7825. Mostly changes imports
from std.math being divided into submodules.
2021-05-04 15:59:34 +02:00
berni44
974a88a967 Fix Issue 21456 - std.format does not accept enum member with string base type as template parameter 2021-05-04 14:36:02 +02:00
DoctorNoobingstoneIPresume
afeb00d580 container.array: RangeT: moveBack: Improve an assertion. 2021-05-04 08:13:40 +02:00
Andrei Alexandrescu
073d85c1b9 Workaround for https://issues.dlang.org/show_bug.cgi?id=21889 2021-05-04 01:40:54 +02:00
Florian
f2ad29e5b2
Sync Fields with FieldNameTuple for interfaces (#8023)
Sync Fields with FieldNameTuple for interfaces
merged-on-behalf-of: Razvan Nitu <RazvanN7@users.noreply.github.com>
2021-05-03 12:55:23 +02:00
berni44
6d5d3e6f0e std.format: handle "exotic" reals by casting to double 2021-05-03 12:29:15 +02:00
Iain Buclaw
567b2d716f std.process: Add scope to pipeProcessImpl command parameter 2021-05-03 11:46:50 +02:00
berni44
8408ce3108 Add transition note from approxEqual to isClose. 2021-05-03 11:41:44 +02:00
berni44
6b7a10ecef Fix Issue 21512 - RedBlackTree!Tid treats any values as duplicated except for Tid.init 2021-05-03 00:48:43 +02:00
The Dlang Bot
a1ee4fd4fd
Merge pull request #8026 from andralex/isSame
Simplify isSame
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2021-05-02 03:45:45 +02:00
Andrei Alexandrescu
3b12a7ffea Use two alias parameters instead of variadics 2021-05-01 19:21:56 -04:00
Andrei Alexandrescu
4375ce271b Add couple of unittests, back to previous implementation 2021-05-01 19:12:56 -04:00
Andrei Alexandrescu
49f0eecf50 Petar Kirov's implementation 2021-05-01 19:03:03 -04:00
Andrei Alexandrescu
514b24944c Simplify isSame 2021-05-01 11:39:48 -04:00
Andrei Alexandrescu
4b8e234ed7 Simplify and improve staticIndexOf 2021-05-01 16:41:41 +02:00
berni44
8d97da17d0 Move bitpattern extraction from std.format to std.math. 2021-04-30 09:37:22 +02:00
Iain Buclaw
1d0da90d82 std.math.exponential: Fix imports for non-INLINE_YL2X path 2021-04-30 02:15:43 +02:00
berni44
dbfb742ccd Fix Issue 21875 - std.format: wrong number of format specifiers in
nested format string of associative arrays should be detected
2021-04-29 15:26:05 +02:00
Mathis Beer
2fac584959 Fix issue 20756: Handle interface argument in AllImplicitConversionTargets. 2021-04-27 13:42:06 +02:00
berni44
3206e52aae Clean up after making formating floating point numbers @nogc. 2021-04-27 13:18:11 +02:00
The Dlang Bot
afc2df6ef2
Merge pull request #8012 from MartinNowak/merge_stable
merge stable
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2021-04-27 11:42:34 +02:00
MoonlightSentinel
95bfdd78e8 Revert change to FieldNameTuple for non-interface types 2021-04-27 10:34:10 +02:00
Nicholas Wilson
2d9e4e2717
Merge branch 'master' into merge_stable 2021-04-27 16:28:29 +08:00
berni44
99cbab9584 Fix Issue 21858 - std.format: centering output 2021-04-26 19:20:41 +02:00
MoonlightSentinel
9d5db86e9d Issue 20257 - Add wait(Pid, Duration) for windows
`wait(Pid, Duration)` allows to wait until the process terminates
or the timeout expires.

It's currently windows-only because a decent posix implementation
is quite difficult and this allows us to sort out the API beforehand.
2021-04-26 17:37:06 +02:00
berni44
5fbc1da0fa Fix Issue 21847 - std.format: %e, %g and %a should be supported for integers too 2021-04-26 17:10:05 +02:00
berni44
ad5247072f std.format: Add formatting integers with %e, %f, %g and %a. 2021-04-26 16:28:00 +02:00
berni44
edb1237abc Add rounding tool. 2021-04-26 16:28:00 +02:00