Commit graph

12251 commits

Author SHA1 Message Date
Boris Carvajal
55bb175431 [dmd-cxx] Simplify some Proxy.opDispatch conditions 2021-06-11 12:19:08 +00:00
Bernd Edlinger
63f4caa900 Cleanup temp files in libphobos unittest at src/std/process.d 2021-05-14 12:20:47 +02:00
Iain Buclaw
32cfe9b615 [dmd-cxx] std.process: Change visibility of searchPathFor to package 2021-05-04 12:44:15 +02:00
Andrei Alexandrescu
7f55fad8c2 Review 2021-04-19 18:14:05 +02:00
Andrei Alexandrescu
7026bb98a5 Try a different syntax for echo 2021-04-19 18:13:54 +02:00
Andrei Alexandrescu
fd0499132e Use std.ascii.newline 2021-04-19 18:13:45 +02:00
Andrei Alexandrescu
a6f17e2bd7 Do the right thing and verify the stderr output 2021-04-19 18:13:21 +02:00
Andrei Alexandrescu
b3f6f26638 Use redirection of stderr to null 2021-04-19 18:12:34 +02:00
Andrei Alexandrescu
ac4bda3f78 EASY: obey the rule of silence. 2021-04-19 18:11:47 +02:00
Vladimir Panteleev
57641fc7a0 std.process: Update Config documentation for stderrPassThrough 2021-04-19 17:19:01 +02:00
Vladimir Panteleev
9f6b86f7ae Fix Issue 17844 - std.process.execute should allow not capturing stderr 2021-04-19 17:18:42 +02:00
Iain Buclaw
f89dc217a6
[dmd-cxx] Backport some more import fixes (#7933)
[dmd-cxx] Backport some more import fixes
merged-on-behalf-of: Iain Buclaw <ibuclaw@users.noreply.github.com>
2021-04-03 01:43:32 +02:00
Sebastian Wilzbach
46134e0153 [dmd-cxx] Split-up regex tests due to DMD's enormous memory consumption 2021-04-02 13:53:32 +08:00
Walter Bright
3061c451d2 [dmd-cxx] printf format fixes 2021-04-02 13:53:32 +08:00
RazvanN7
5ccd697c3f [dmd-cxx] Fix erroneous imports in unittests 2021-04-02 13:53:32 +08:00
RazvanN7
abdfc51bc4 [dmd-cxx] Fix erroneous imports 2021-04-02 13:53:32 +08:00
FeepingCreature
83a7cd4d59 [dmd-cxx] Fix issues arising from the DMD 9029 fix (types match to alias) 2021-04-02 13:53:32 +08:00
Iain Buclaw
9d575282ed
[dmd-cxx] Backport platform fixes to phobos (#7784)
[dmd-cxx] Backport platform fixes to phobos
merged-on-behalf-of: Iain Buclaw <ibuclaw@users.noreply.github.com>
2021-02-03 18:01:57 +01:00
Razvan Nitu
3dd5df6864 Fix double initialization of field errno in std/file.d 2021-01-25 14:19:31 +01:00
Iain Buclaw
efb80d384b std.stdio: Deprecate extern(C) getline and getdelim
The publicly available `extern(C)` bindings for `getline` and `getdelim`
in `std.stdio` have been deprecated. Any code that still needs them can
import the symbol from `core.sys.posix.stdio` in druntime instead.
2021-01-25 10:35:09 +01:00
Iain Buclaw
814cba478d std.datetime.systime: Skip unsupported clocks in unittests 2021-01-25 10:23:34 +01:00
Iain Buclaw
1296f486f9 std.file: Don't initialize errno multiple times 2021-01-25 10:20:44 +01:00
Geod24
38873fe6ee Remove support for extern(Pascal) 2020-11-24 16:32:12 +01:00
Iain Buclaw
1abb731895 std.math: Add support for FreeBSD x86 53-bit precision reals 2020-11-24 12:37:13 +01:00
Iain Buclaw
a98d770398 std.internal.math.gammafunction: Define MAXGAMMA, MAXLOG, MINLOG for FreeBSD x86 reals 2020-11-24 12:26:03 +01:00
Iain Buclaw
780521d928 std.conv: Fix unittests for FreeBSD x86 53-bit precision reals 2020-11-24 12:25:19 +01:00
Iain Buclaw
1ca6addba8 std.complex: Relax unittests for FreeBSD x86 53-bit precision reals 2020-11-24 12:21:37 +01:00
MoonlightSentinel
7948e09673 Remove deprecated functions from std.string 2020-11-13 15:03:56 +01:00
Iain Buclaw
0f8c02cf9a [dmd-cxx] Don't shorten the width of the iteration variable 2020-06-08 01:05:41 +02:00
Vladimir Panteleev
be670d56c6 Fix Issue 19367 - std.net.curl does not understand HTTP/2 status lines 2020-05-17 17:33:55 +02:00
Berni
7de732f831 Remove posix only unittest relying on presence of unzip untility. 2020-05-17 17:33:00 +02:00
Walter Bright
bf0d0a37c4 [dmd-cxx] Appender and RefAppender: use opSlice() instead of data() 2020-04-19 18:11:51 +02:00
Iain Buclaw
84002fe229 [dmd-cxx] std.range.primitives: Fix static condition for X32 targets 2020-04-16 12:25:35 +02:00
Iain Buclaw
b1fe1c5f65 [dmd-cxx] Backport IeeeFlagsSupport and FloatingPointControlSupport 2020-03-31 11:21:11 +02:00
Iain Buclaw
91c4342247 [dmd-cxx] std.algorithm.iteration: Fix typo.
Taken from patch for gdc bugzilla PR other/93756
2020-03-14 19:14:51 +01:00
Joakim
0ebe8647dc Add needed changes to get all tests passing with Musl
This is a cherry-pick of 034988a0db
2019-07-13 22:57:33 +09:00
Iain Buclaw
16a447f584 [S390] std.math: Use IBMZ_Any for SystemZ bindings 2019-04-28 09:51:30 +02:00
Johannes Pfau
be5984b355 MinGW build fixes 2019-04-27 13:13:30 +02:00
Iain Buclaw
2c46a9c086 std/net/curl.d: Don't call exit in non-main thread 2019-04-21 23:44:28 +02:00
Iain Buclaw
96d2868309 Fix tests that fail on version (BigEndian) 2019-04-21 23:38:17 +02:00
Iain Buclaw
aa19bd7570 std.experiment.allocator: SPARC64 stack grows downwards 2019-04-16 07:26:17 +02:00
Alexandru Jercaianu
ea14499333 std.process: Skip permission test when running as root
A spawnProcess unittest checks that we are unable to enter a directory
if we don't have the right permissions.  However, programs running
under the root user can chdir to a directory, despite it not having
execute permissions.

Thus, skip this test when running as root.
2019-04-16 07:24:52 +02:00
Iain Buclaw
efc7a07bdf Add minimum RISCV support to phobos 2019-04-10 21:02:56 +02:00
Diederik de Groot
579c7c55ca Reinstate unittest for dragonfly in std/traits.d
Exclude assertion for dragonfly in std/experimental/allocator/mallocator.d (Needs further investigation, not sure why alliagned_realloc is causing trouble)
cleanup in std/datetime/timezone.d
2019-04-06 15:19:58 +02:00
Diederik de Groot
65e1b46212 Port of phobos to DragonFlyBSD 2019-04-06 15:19:58 +02:00
Sebastian Wilzbach
0b109327ec Address review 2019-04-06 15:05:44 +02:00
Sebastian Wilzbach
bb83449d97 Make imports in std.net.curl local & lazy 2019-04-06 15:05:38 +02:00
Diederik de Groot
4177c1851f Port of phobos to DragonFlyBSD
Notes:
- FIXME message related to dragonfly malloc issue (issue reported on upstream dragonfly issue database)
2019-04-06 15:05:12 +02:00
Martin
98888f2902 Solaris fixes for std.datetime 2019-04-06 14:51:56 +02:00
Steven Schveighoffer
a181958b93 Fix issue 18084 - tempCString type should not change layout when used in
unittests.
2019-04-06 14:46:59 +02:00