anonymous
7e87d0646a
prepare for fix of druntime issue 16230
2017-08-01 09:22:41 +02: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
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
Benjamin L. Merritt
5f08c058ab
Changed "Examples:" in Ddoc to "Example:"
2015-12-17 18:32:41 -08:00
k-hara
59989ed68a
fix imports
2015-11-01 23:01:04 +09:00
Dmitry Olshansky
c29a14edd5
Merge pull request #3682 from burner/std.experimental.logger_housekeeping
...
logger housekeeping
2015-10-02 19:36:30 +03:00
Robert burner Schadek
fdf19251ee
structs and classes with @system or @trusted toString methodes did not
...
used to work. This test checks that it does work now
comment fix
2015-10-01 19:49:20 +02:00
Robert burner Schadek
fda33d0b24
logger housekeeping
...
* removed some debug statements
* fixed TODO (because of druntime fix)
2015-10-01 14:41:46 +02:00
Dmitry Olshansky
1e647d9321
Merge pull request #3582 from burner/issue14940
...
fix Issue 14940: Can't call logger with more complex objects
2015-09-02 11:03:42 +03:00
Jonathan M Davis
f3af4ca0f0
Update to logger due to fracSec deprecation in std.datetime.
...
I also fixed it so that it casts to DateTime rather than calling all of
the various properties on SysTime individually, since that's more or
less equivalent to casting to DateTime and getting the property off of
it for each call. I probably never should have put those properties on
SysTime in the first place, though it is more user-friendly in the cases
where you don't care about efficiency. I expect that we _do_ care about
efficiency in the logger however.
2015-08-29 17:03:40 -07:00
Robert burner Schadek
0390fba7e7
fix Issue 14940
...
https://issues.dlang.org/show_bug.cgi?id=14940
format
2015-08-26 10:29:00 +02:00
Joakim
10f2081c5e
Modify remaining tests that create a temporary file in the local directory to use std.file.deleteme, which writes to /tmp or some other absolute path instead
2015-08-13 07:23:39 -05:00
Robert burner Schadek
eb9b3b16f1
logger cleanup2:
...
* random filenames were not the best idea
2015-06-12 11:30:46 +02:00
Andrei Alexandrescu
66c5b91587
package-shared unittest functions should not be under version(unittest)
2015-06-11 23:04:05 -07:00
Robert burner Schadek
ca529d6266
logger clean up
...
* file is not completely the same on win and posix
win again
removed unused import
DmitryOlshansky fix
2015-06-11 13:59:39 +02:00
Lionello Lunesu
8fc047f277
Fixed DDoc warnings
2015-05-30 09:17:43 -06:00
Martin Nowak
c01731e0f0
Merge remote-tracking branch 'upstream/stable' into merge_stable
...
Conflicts:
index.d
std/string.d
2015-04-11 00:49:55 +02:00
Robert burner Schadek
bc0f5254eb
default LogLevel should all be equal
...
less
klickverbot
klickverbot
2015-03-29 20:05:34 +02:00
Paul O'Neil
ce690fe6e3
Typo & grammar fixes
2015-03-27 21:15:46 -04:00
Robert burner Schadek
0c3fb67ff8
std.logger defaultLogFunction constraint fix
...
* the defaultLogFunctions were not callable with zero arguments
2015-03-25 23:33:16 +01:00
Martin Nowak
92ab2a4154
synchronized (mutex) isn't pure
2015-03-06 21:41:49 +01:00
Martin Nowak
0915442a55
can't synchronize on a const mutex
...
- deprecate MessageBox.isClosed
2015-03-06 21:41:39 +01:00
Robert burner Schadek
2bca140b84
log specification of zero arg call was broken
...
some more
2015-02-10 16:52:47 +01:00
Robert burner Schadek
5ee9d8724d
unittest to make sure everything is set right
2015-01-26 18:10:55 +01:00
Dicebot
197725e0ee
Add a test case of thread-local logging
2015-01-26 18:21:03 +02:00
Robert burner Schadek
d250e5cc26
Revert "Remove concurrency @trusted workarounds"
...
This reverts commit 299f0183e2661cb2640749a692a3463a0e51c1f9.
thread local forward
thread local default log function forward
nicer imports
forwardMsg must not be final
moved comments to package and started to integerade Martin's log disabling
more compile time function disabling
style and dscanner suggestions
stdThreadLog fix and doc
a lot of updates
* spell fixes
* better tests
* docu changes
docu update
whitespace
moduleLogLevel docu
2015-01-26 16:09:48 +01:00
Dicebot
8a77147276
Relax safety requirements on logging methods
...
Allows logging objects with @system toString
To compensate the change unittest blocks where marked as @safe where
applicable
Remove concurrency @trusted workarounds
Relevant druntime PR has been merged, plain @safe works now
2015-01-25 21:31:24 +01:00
Robert burner Schadek
bb1929b7b5
some more on multilogger
...
doc and style fixes mostly
rebase
2015-01-25 21:31:24 +01:00
Dicebot
e47421c878
Make std.concurrency constructors @safe
...
Fix safety of logger.core
Replaces @trusted abuse with @safe annotations and few occasional
@trusted tweaks.
Improve safety of all logger
Cleans usage of @safe and @trusted in derived modules
2015-01-25 21:31:24 +01:00