Commit graph

385 commits

Author SHA1 Message Date
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
MoonlightSentinel
e9826a65c1 Enable -preview=dtorfields for phobos 2020-09-05 00:10:15 +02:00
Sebastian Wilzbach
203429d231 Disable Windows builds on auto-tester 2020-08-30 23:36:17 +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
Nicholas Lindsay Wilson
a6e14cffb1 Update make files 2020-05-05 13:07:10 +08: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
MoonlightSentinel
1096cf4c1a Remove deprecated std.experimental.all 2019-11-16 18:23:04 +01:00
Martin Kinkelin
7be7b5ccec win*.mak: Sync compiler flags with Posix ones
Unfortunately, these files seem untested by CI here, but they are used
by Azure pipelines for DMD, so one can easily break DMD CI by a
seemingly fine Phobos change (#7142 in this case, which requires
DIP1000).
2019-08-15 21:23:19 +02:00
Sebastian Wilzbach
351abd6604 Move all from experimental to std 2019-03-21 11:42:18 +01:00
Rainer Schuetze
4c06d7d174 windows: build phobos unittests through posix.mak to allow parallel builds 2018-06-19 00:25:16 +02:00
JinShil
aff18e8205 Remove deprecated std.c package 2018-05-31 10:00:09 +09:00
Alexandru Jercaianu
0fb44b0d45 Add AlignedBlockList 2018-04-16 19:36:45 +03:00
Sebastian Wilzbach
66f4316734
Merge pull request #6186 from wilzbach/scripting-all
Renaming the upcoming global import file to std.experimental.all
2018-02-24 12:38:50 +01:00
Jack Stouffer
663b5b9278 Revert addition of StdUnittest 2018-02-20 13:32:32 -05:00
Sebastian Wilzbach
62a1825cfd Renaming the upcoming global import file to std.experimental.all 2018-02-18 04:07:41 +01:00
Sebastian Wilzbach
f8684bfb30 Add a global convenience package file 2018-02-09 19:45:43 +01:00
Sebastian Wilzbach
a60fd0c1a5 Splitup regex tests to please auto-tester 2018-01-24 17:59:40 +01:00
Sebastian Wilzbach
c5a89310a4 Remove deprecated std.windows.iunknown 2018-01-01 14:58:47 +01:00
The Dlang Bot
da00e8f390
Merge pull request #5927 from wilzbach/udflags
Add a StdUnittest version
merged-on-behalf-of: David Nadlinger <code@klickverbot.at>
2017-12-21 13:10:52 +01:00
Sebastian Wilzbach
c136ec575b Set StdUnittest for Windows builds 2017-12-21 09:36:18 +01:00
Sebastian Wilzbach
2c54a120fc Remove docs build from the Windows Makefiles 2017-12-18 08:40:57 +01:00
The Dlang Bot
562a1a0a2f
Merge pull request #5809 from skl131313/gcstub
Remove gcstub.
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-12-02 15:33:56 +01:00
Sebastian Wilzbach
ea90c1ab4f Fix DMD path to ../generated 2017-11-28 19:39:40 +01:00
The Dlang Bot
e40f180649
Merge pull request #5876 from jercaianu/ascendingalloc
AscendingPageAllocator
merged-on-behalf-of: unknown
2017-11-28 05:42:39 +01:00
Rainer Schuetze
604a70ea97 split unittest6.obj, it's becoming too large for OMF 2017-11-23 09:39:08 +01:00
Alexandru Jercaianu
d7479b7964 Added AscendingPageAllocator
remove trailing whitespace
2017-11-21 01:01:04 +02:00
skl131313
03984acee5 Remove gcstub. 2017-10-25 21:43:49 -04:00
Eduard Staniloiu
230f72e612 Split unittest6.obj to get past the 32767 max symbols limitation 2017-10-12 13:30:19 +00:00
H. S. Teoh
9091b16f5c Add unittest.
Needs to be a standalone module because the problem does not show up
within std.range itself.
2017-08-11 08:48:23 -07:00
Sebastian Wilzbach
5774d017eb Fix issue 16191 - std/digest/digest.d should be renamed to package.d 2017-07-10 05:10:53 +02:00
Sebastian Wilzbach
16431f11c1 Trigger a hard error on deprecation messages 2017-07-05 18:18:02 +02:00
The Dlang Bot
abfffae14f Merge pull request #5462 from andralex/concurrencybasesux
Remove std.concurrencybase
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-06-17 06:09:08 +02:00
Andrei Alexandrescu
2f16ae7cb7 Eliminate shared this from std/process.d 2017-06-15 17:01:43 +02:00
Andrei Alexandrescu
44a3be48db Remove std.concurrencybase 2017-06-11 11:01:08 -04:00
The Dlang Bot
76d3a4124c Merge pull request #5421 from andralex/no-more-durn-stdiobase
Get rid of static this for initializing std{in,out,err}
merged-on-behalf-of: unknown
2017-06-01 20:57:41 +02:00
Andrei Alexandrescu
78b3328faa Get rid of static this for initializing encoding 2017-05-23 19:17:47 -04:00
Andrei Alexandrescu
099fa37bb5 Get rid of static this for initializing std{in,out,err} 2017-05-23 15:40:05 -04:00
Jonathan M Davis
ac62197c36 Add the MonoTime equivalents of std.datetime.StopWatch/benchmark.
std.datetime.package has StopWatch, benchmark, comparingBenchmark, and
measureTime, all of which use TickDuration (which would be deprecated,
but it can't be deprecated as long as those functions in std.datetime
are deprecated). This commit introduces
std.datetime.stopwatch to replace those functions in std.datetime. In
order to avoid symbol conflicts, std.datetime.stopwatch will not be
publicly import in std.datetime.package until the old symbols have been
removed.

std.datetime.experimental.stopwatch contains StopWatch and benchmark
which have essentially the same APIs as the ones in
std.datetime.package, but they use MonoTime and Duration.

comparingBenchmark has not been ported to MonoTime and Duration, because
it is simply a wrapper around benchmark.

measureTime has not been ported to MonoTime and Duration, because it is
equivalent to using StopWatch with a scope(exit) statement.

The old functionality will be deprecated the major release after the new
symbols have been introduced.
2017-05-07 10:54:25 +02:00
Jonathan M Davis
3042d4fe7a Remove std.datetime.common,datetime,timeofday. 2017-05-06 16:48:09 +02:00
Jonathan M Davis
e532c4f155 Create the new (empty) files in std/datetime for the split. 2017-05-03 09:44:04 +02:00
Jonathan M Davis
8ceb2542e1 Move std/datetime.d into std/datetime/package.d. 2017-05-03 09:44:04 +02:00
Sebastian Wilzbach
d6d6831d3b Remove std.experimental.ndslice (#5187)
Remove std.experimental.ndslice
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-03-02 09:02:45 +01:00
Andrei Alexandrescu
e7be3c823d Add changes to winxx.mak too 2017-02-24 09:12:12 -05:00
Jack Stouffer
5a2491a847 Fix Issue 17161 - Revert all changes to std.regex from 2.072.2 onwards 2017-02-12 12:30:40 -05:00
Martin Nowak
df34e4266c Merge pull request #4845 from MartinNowak/merge_stable
Merge remote-tracking branch 'upstream/stable' into merge_stable
2016-10-09 17:38:06 +02:00
Martin Nowak
9d73d18c0c fix Issue 16291 - EncodingScheme.create fails
- add EncodingScheme.register overload that references the registered class
- just adding the FQN name of a class does not reference that class, so
  it must not end up in the binary and subsequently EncodingScheme.create failed
- This used to work by chance b/c all the EncodingScheme implementations
  were in a module w/ static ctor. Any user of std.encoding did drag in
  that ModuleInfo, which in turn referenced all classes of std.encoding.
  Since moving the static ctor to std.internal.phobosinit to break a
  cycle, the classes were no longer referenced by a ModuleInfo w/ shared
  ctor, so they wouldn't end up in the binary unless explicitly
  referenced elsewhere.
- deprecate the old EncodingScheme.register(string fqn) b/c relying on
  Object.factory is slow, error prone (linkage), and really unnecessary
- import encodinginit in std.encoding so that the
  std_encoding_shared_static_this callback actually gets run
2016-10-05 01:54:22 +02:00