Commit graph

93 commits

Author SHA1 Message Date
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
Sebastian Wilzbach
5521541032 Unify assert style to have no spaces between the first brace
Application of:

sed -E "s/assert +\(/assert(/" -i **/*.d
2017-02-21 15:27:15 +01:00
Sebastian Wilzbach
87dec58a41 DStyle: Constraints on declarations should have the same indentation level 2017-02-17 07:36:23 +01:00
Walter Bright
03b6ee586d Merge pull request #5092 from JackStouffer/logger-imports
Removed many global imports from std.experimental.logger.core
2017-02-10 15:51:26 -08:00
Jack Stouffer
7ebfead68b Removed many global imports from std.experimental.logger.core 2017-02-06 11:20:32 -05:00
Basile Burg
63f463b140
style, remove several useless usage of "final"
signals: concerned methods are templatized so never virtual
bitnfa: inside final class, methods always final
2017-02-06 09:34:28 +01:00
Sebastian Wilzbach
18ecb6b72c Make more modules publicly runnable on dlang.org 2017-01-06 23:29:55 +01:00
Jack Stouffer
67d44e4cdc Remove package wide std.algorithm imports from Phobos 2016-09-22 08:36:14 +01:00
crimaniak
c66c3208b9 Fix mistake in std.experimental.logger.multilogger unit test 2016-09-19 02:15:29 +03:00
Ľudovít Lučenič
d1064467a0 Typos corrections
Sole improvements of documentation.
2016-07-29 23:35:54 +02:00
Sebastian Wilzbach
ec47ac4224 Remove the WEB macro in favor of HTTP
replacement: sed 's/\$(WEB/\$(HTTP/g' -i **/*.d
2016-06-16 00:14:51 +02:00
Andrei Alexandrescu
9753c3159b Merge pull request #4411 from wilzbach/kill_web_http
Fix broken WEB links
2016-06-15 17:47:43 -04:00
Sebastian Wilzbach
49531e3c73 fix broken web links
sed 's/(WEB http:\/\//(WEB /' -i **/*.d
2016-06-07 18:54:17 +02:00
Sönke Ludwig
f07dfe6df0 Add empty doc comments to all public Phobos modules to fix /library/.
The DDOX based documentation is configured to only show entities with doc comments and thus hides modules without one. This adds an empty comment to all public Phobos modules that have stayed undocumented so far.

They should probably get a proper documentation with description/license/copyright/.... This just fixes the documentation until then.
2016-06-06 10:53:11 +02:00
anonymous
a3070094d7 Ddoc: add missing UL 2016-06-03 11:10:54 +02:00
Rishub Nagpal
abfd50c473 Updated examples for FileLogger: Logger name parameter has been removed 2016-05-18 15:55:38 -04:00
Dmitry Olshansky
57bcf5f9e9 Merge pull request #4123 from 9il/master
Remove unused import from filelogger.d
2016-03-26 21:30:54 +04:00