Commit graph

541 commits

Author SHA1 Message Date
Walter Bright
c9b415a817
add -preview=fieldwise to build (#6858)
add -preview=fieldwise to build

Signed-off-by: Nicholas Wilson <thewilsonator@users.noreply.github.com>
Signed-off-by: Razvan Nitu <RazvanN7@users.noreply.github.com>
Merged-on-behalf-of: Razvan Nitu <RazvanN7@users.noreply.github.com>
2021-09-28 16:21:04 +00:00
Luís Ferreira
a95ac6ed35 treewide: rename index.d to index.dd
Dscanner struggles to read .d files as `Ddoc` and explicitly marking
files as Ddoc files using .dd extension is desired, since the compiler
interpret those files the same way as normal .d files.

Signed-off-by: Luís Ferreira <contact@lsferreira.net>
2021-09-13 17:57:21 +09:00
Luís Ferreira
c3cea420e8
make: add support to build phobos with NO_BOUNDSCHECKS
Signed-off-by: Luís Ferreira <contact@lsferreira.net>
2021-08-30 00:42:55 +01:00
Luís Ferreira
f92527f157 make: remove duplicate ifdef block for NO_AUTODECODE
Signed-off-by: Luís Ferreira <contact@lsferreira.net>
2021-08-29 18:44:21 +00:00
RazvanN7
c1e85e12ef Update dscanner commit hash to include AliasAssign detection 2021-08-27 09:20:04 +00:00
Iain Buclaw
09c6e53f40
Issue 21488 - Always compile phobos library with -fPIC on POSIX targets (#8154) 2021-07-02 10:07:30 +08:00
berni44
e9014c4342 std.math: Move floating point operations into operations submodule. 2021-04-17 21:52:27 +02:00
berni44
66324313a8 Remove std.math.integral. 2021-04-14 14:15:38 +02:00
Iain Buclaw
33902a933e Remove -transition=complex from the Makefiles 2021-04-07 08:31:38 +09:00
berni44
7031340f5f Add empty submodules to std.math. 2021-04-04 11:56:27 +02:00
berni44
309b72f915 Prepare to split up std.math into submodules. 2021-03-19 04:51:15 +01:00
berni44
bc5f64994e std.format: Split off std/format/write.d 2021-03-16 11:48:44 +01:00
berni44
e2045219ff std.format: Split off std/format/read.d 2021-03-15 21:29:29 +01:00
berni44
4415e4047e std.format: Split off std/format/spec.d 2021-03-15 15:16:29 +01:00
Paul Backus
51a70ee267
Add sumtype to Phobos (#7702)
Add sumtype to Phobos
merged-on-behalf-of: unknown
2021-03-05 12:41:34 +01:00
berni44
fa4682442b Move internal read stuff into internal submodule. 2021-02-18 10:16:51 +01:00
berni44
eb8188b25a Move internal write stuff into internal submodule. 2021-02-17 21:44:15 +01:00
berni44
cec24c5289 Move floating point algorithms into internal submodule. 2021-02-17 18:06:49 +01:00
berni44
ef887be5c6 Prepare to split up std.format into submodules. 2021-02-16 08:11:20 +01:00
Martin Nowak
498b4b97d6 Merge remote-tracking branch 'upstream/master' into stable
Conflicts:
	posix.mak
2020-09-09 10:18:21 +02:00
MoonlightSentinel
a3c60cd53f Remove deprecated -preview=markdown flag
The preview is now enabled by default
2020-09-05 23:42:51 +02:00
MoonlightSentinel
e9826a65c1 Enable -preview=dtorfields for phobos 2020-09-05 00:10:15 +02:00
Steven Schveighoffer
d38ba1e51f Add makefile target for testing with no autodecode. This is so CI can
run a valid target without failing.
2020-08-28 19:21:13 +02:00
MoonlightSentinel
d291084ccb Add -cov=ctfe to enable CTFE coverage reports
Makes coverage reports more accurate now that it can trace CTFE.
2020-08-22 16:54:37 +02:00
Steven Schveighoffer
17ae8fc9be Make it so std.utf can be tested with no autodecoding. 2020-08-17 06:53:34 +02:00
Steven Schveighoffer
ba02646078 Add makefile target for testing with no autodecode. This is so CI can
run a valid target without failing.
2020-08-09 19:30:49 +02:00
Steven Schveighoffer
fdafe199f9 Make the style checks run first -- they are way more likely to fail than
the documented unittests (which don't change much), and putting them
last makes the push/test/debug cycle much longer for stuff like a
missing space on an if statement.
2020-08-07 19:10:15 +02:00
Nicholas Lindsay Wilson
5ce7af501e Update style checker whitelist 2020-05-05 14:37:47 +08:00
Nicholas Lindsay Wilson
a6e14cffb1 Update make files 2020-05-05 13:07:10 +08:00
Geod24
77097809ec Bump minimum MACOSX version to 10.9
This was done in DMD two years ago but never applied here.
2020-03-30 15:58:32 +09:00
Sebastian Wilzbach
4421a4f157 Fix @betterC testsuite 2020-03-04 16:07:28 -08:00
MoonlightSentinel
75ba9aef5f
Update D-Scanner to >0.8.0 2020-02-12 03:38:06 +01:00
Petar Kirov
3c15fd28c2 Don't define version CoreUnittest as it's not necessary any more
The following druntime commit:
ddf4bcc6e3
removed the need for that, by preventing phobos from instantiating
template nested unittest blocks (from core.time).
2020-01-21 13:36:17 +02:00
Alexandru Militaru
bb62aaca3d Replaced version (unittest) with version (StdUnittest) to avoid unnecessary overhead when compiling with -unittest 2020-01-19 14:05:17 +02:00
سليمان السهمي (Suleyman Sahmi)
e9e4c078ff Disable make install for the Darwin_64_32 target on the auto-tester
OSX 32 bits on the auto-tester isn't supposed to be busy.
2019-12-31 09:38:14 +00:00
Bernhard Seckinger
467c467bb3 Fix Issue 20408 - style checker should not check backup files 2019-11-19 11:02:51 +01:00
ZombineDev
e857ce1127 [posix.mak]: Build @betterC extracted tests without -unittest
We don't want to compile -betterC test files with -unittest because this
will also compile the unit tests of imported files, and those unit tests
were not written in -betterC in mind.

PR https://github.com/dlang/tools/pull/386 allows us to not compile with
-unittest such files and this commit makes this change.

Also enable command output for the last 2 lines of the %.betterc rule is
it's quite helpful in order to see what's going on.
2019-11-13 09:30:50 +02:00
David Gileadi
775bcdee51 Turn on -preview=markdown 2019-07-04 10:28:30 -07:00
Jonathan Marler
d25706d30d Explicitly link to math library 2019-05-30 20:33:13 -06:00
Jonathan Marler
8337ed2a3f Explicitly link to pthread 2019-05-22 16:13:05 -06:00
Sebastian Wilzbach
4b3537980f Build entire Phobos with -preview=dip1000 2019-05-14 23:14:59 +02:00
Ernesto Castellotti
800850eb59 We must have a symlink to the soname because
otherwise it is problematic to link the shared
library.

Before this patch to distribute phobos it was
necessary to manually create the symlink
(e.g. 482840bf5b/linux/dmd_phobos.sh (L169)),
this was a really uncomfortable and confusing solution
for external package maintainers.

This symlink was actually already created in the
phobos build phase but for some reason unknown to
me was not copied into the installation target.

I also noticed that the libphobos2.so symlink is
already created, so I simply removed the redundant
symlink creation with a simple copy from generated/$(OS)/$(BUILD)/$(MODEL)

Signed-off-by: Ernesto Castellotti <erny.castell@gmail.com>
2019-04-21 22:21:57 +02:00
Sebastian Wilzbach
721d4e4b48
Merge pull request #6927 from wilzbach/dip1000-all
Compile entire Phobos with -dip1000
2019-03-22 08:38:11 +01:00
Sebastian Wilzbach
75a2faf6eb
Merge pull request #6889 from wilzbach/all
Move std.experimental.all to std
2019-03-21 12:42:09 +01:00
Sebastian Wilzbach
351abd6604 Move all from experimental to std 2019-03-21 11:42:18 +01:00
Sebastian Wilzbach
36d8f1602e Test entire Phobos with -dip1000 2019-03-21 11:08:08 +01:00
Basile Burg
b1d535349e Update D-scanner version 2019-03-04 13:04:35 +01:00
Sebastian Wilzbach
9470bddae7 Disable OSX-32 on the auto-tester (build) 2019-03-01 02:48:30 +01:00
Sebastian Wilzbach
2e0b6ca9a3 Disable OSX-32 on the auto-tester 2019-02-27 04:28:39 +01:00
Iain Buclaw
8d51519f3f fix Issue 18519: missing curl + phobos = std.net.curl unittest timing out
Disable the std.net.curl tests in the makefile, not the module.
2019-01-03 15:12:44 +01:00