Atila Neves
e113440df1
Move logger out of experimental
2022-07-29 12:15:34 +02:00
Robert burner Schadek
1ebccd3717
move @trusted unittest to @system
2022-07-20 10:06:58 +02:00
Atila Neves
f098027bd4
Fix synchronization when forwarding to the shared logger
2022-07-20 10:06:58 +02:00
Atila Neves
d4972da3d8
Fix typo
2022-07-20 10:06:58 +02:00
Atila Neves
e0855e0f9f
stdSharedDefaultLogger is shared instead __gshared
2022-07-20 10:06:58 +02:00
Atila Neves
b624262394
Delete trustedLoad
2022-07-20 10:06:58 +02:00
Robert burner Schadek
63f49d6687
sharedLog returning shared(Logger)
...
Fixes #16232
changelog
-preview=nosharedaccess
code review
working on the tests
whitespace
spaces behind casts
2022-07-20 10:06:58 +02:00
Robert burner Schadek
1f0ec5405f
remove compile features from std.experimental.logger
...
Fix Iain comment
Razvan suggest changelog fix
2022-06-14 16:42:40 +00:00
Martin Kinkelin
b20444aca4
Use new __traits(classInstanceAlignment)
...
Tackling the Phobos part of issue 16508.
2022-05-13 18:38:09 +00:00
Steven Schveighoffer
526beb3d84
Change default log level to info instead of warning.
2022-03-09 11:51:56 -05:00
Atila Neves
522f953ae1
Add comment saying that the default log level is LogLevel.warning
2022-01-03 18:34:51 +01:00
Atila Neves
13eff04704
Address review comments
2022-01-03 15:14:33 +01:00
Atila Neves
38a8bcbc04
Fix issue 22532 - change default log level to LogLevel.warning
2022-01-03 15:14:33 +01:00
berni44
6f2a0934a7
Adapt imports of std.format to new structure of std.format.
2021-03-19 13:22:00 +01:00
Martin Kinkelin
1a459c5996
Get rid of std.conv.emplace[Ref](), use core[.internal].lifetime
...
The emplace() stuff was moved to druntime; for some reason, it's still
in Phobos.
I've diffed the two versions, and they are still almost identical (incl.
unittests); the druntime version appears to have seen some improvements
(e.g., forwarding r/lvalueness of the arguments) in the meantime.
2021-01-17 16:02:25 +01:00
Nathan Sashihara
453faadf5b
Replace is(Unqual!T == Unqual!U) with is(immutable T == immutable U) for speed & memory usage
2020-08-03 15:07:32 +02:00
Geod24
04f3979317
Replace 'Issue XXX' with Bugzilla links
...
Make the links clickable, as was done in the DMD repository.
Also avoids any ambiguity w.r.t. where the issue is stored.
2020-04-13 16:28:09 +09:00
Jacob Carlborg
fa94658f6a
Fix logger unit test for iOS derived platforms
...
The current working directory is not writeable on Apple's ARM platforms.
2020-03-03 12:51:07 +01: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
Atila Neves
4cfef68d61
Replace in
with const
in preparation of dmd change
...
Changing dmd to implement `in` meaning `scope const` when DIP1000 is
selected causes Phobos to fail to compile. This changes Phobos in
preparation for that change.
2019-10-23 12:41:35 +02:00
Arun Chandrasekaran
09c20ecb76
logger: print log level string.
...
Log message currently doesn't have log level, thread ID, etc. Log messages
without this information is mostly useless.
However, printing the thread ID requires std.concurrency to be @safe
which is not possible at the moment. So I've added only the log level to
the message string.
2018-12-20 20:18:44 -08:00
Iain Buclaw
fd5facfe04
posix.mak: Enforce whitespace before opening parenthesis for version conditions
2018-09-22 16:57:24 +02:00
Sebastian Wilzbach
c324714fde
Remove a few cases of underscore escaping
2018-06-04 13:05:01 +02:00
Sebastian Wilzbach
6f766dce5d
Remove redundant 'static' storage classes
2018-04-05 13:11:48 +02:00
Sebastian Wilzbach
42894784dd
Markdownify Phobos
...
$(D word) -> `word`
2018-04-02 22:32:47 +02:00
carblue
454dd666cf
std.experimental.logger...: Fix -dip1000 compilable issues
2018-03-12 06:21:34 +01:00
Jack Stouffer
663b5b9278
Revert addition of StdUnittest
2018-02-20 13:32:32 -05:00
Jack Stouffer
18cbb29b04
Replaced version(unittest) blocks with version(StdUnittest)
2018-02-01 19:56:59 -05:00
RazvanN7
fa52c3f709
Fix erroneous imports in unittests
2018-01-23 13:10:34 +02:00
Sebastian Wilzbach
233e90bdc1
Add PHOBOSSRC urls to std.experimental
2018-01-08 02:52:50 +01:00
Robert burner Schadek
21df9ea699
fix issue 18021
2017-11-30 11:09:01 +01:00
The Dlang Bot
b97aa79fb6
Merge pull request #5665 from aG0aep6G/16230
...
prepare for fix of druntime issue 16230
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2017-08-01 15:09:18 +02:00
anonymous
7e87d0646a
prepare for fix of druntime issue 16230
2017-08-01 09:22:41 +02:00
RazvanN7
e85381ee42
Fix Issue 15771 - FileLogger should create the output directory if it does not exist
2017-07-12 15:55:44 +03:00
Jack Stouffer
20d40a954c
Switched package-wide datetime imports to new sub-packages
2017-06-30 13:51:53 -04:00
Vladimir Panteleev
d0b9555a06
Revert "Sort selective imports"
...
This reverts commit 998ad51fd7
.
2017-06-13 17:51:52 +00:00
Sebastian Wilzbach
2070d867dd
Sort multiple packages within one line
2017-06-12 08:18:25 +02:00
Sebastian Wilzbach
998ad51fd7
Sort selective imports
2017-06-12 08:12:09 +02:00
Sebastian Wilzbach
61717ecc7d
Sort imports
2017-06-12 07:54:38 +02:00
Andrei Alexandrescu
739d08b6da
Eliminate shared static this() from std.experimental.logger
2017-06-11 12:37:54 -04:00
Robert burner Schadek
27b6122d94
fix Issue 15517
...
was already fixed but had no fixture
2017-05-29 15:52:43 +02:00
Robert burner Schadek
9e6759995a
fix issue 15945, 16256, 17328
...
tab -> space
2017-05-26 11:33:15 +02:00
Robert burner Schadek
7d7ce4a5eb
Logger sharedLog comment on thread-safety
...
fix Issue 16232 - std.experimental.logger.core.sharedLog isn't thread-safe
2017-05-07 10:54:53 +02:00
Rainer Schuetze
a3e7298686
workaround ld rejecting explicit alignment
2017-05-02 15:27:42 +02:00
Rainer Schuetze
8803c5e582
allow precise scanning of DATA/TLS segment: buffers for preallocated class instances should be typed void[], not ubyte[] and must be properly aligned
2017-05-02 14:15:55 +02:00
Steven Schveighoffer
3f0daf00b6
Fix issue 15534 - Rework constructor docs, removing reference to string parameter that
...
doesn't exist, and using more appropriate ddoc style.
2017-04-03 08:44:04 -04:00
Andrei Alexandrescu
30724e67d9
Merge pull request #5166 from wilzbach/dscanner-unittest-safe-or-system
...
Dscanner: let unittest be @safe or @system
2017-02-22 14:44:08 -05:00
Sebastian Wilzbach
a36cec8686
DScanner: automatially set all unattributed unittests to @safe or @system
2017-02-22 05:42:04 +01:00
Sebastian Wilzbach
425ab667a3
Automatically set the range style from a..b -> a .. b
...
Commands:
sed -E "s/([[:alnum:]])[.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]])[.][.] ([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]]) [.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
2017-02-22 05:37:31 +01:00
Sebastian Wilzbach
805c720595
Unify Phobos by ensuring there's always a space after cast(...)
...
Command:
sed -E 's/([^"])cast\(([^)]*?)\)([[:alnum:]])/\1cast(\2) \3/g' -i **/*.d
2017-02-21 16:40:20 +01:00