tibi77
7ae2e67a47
Remove redundant body of @disable functions. Issue 14854 DMD ( #6893 )
...
Remove redundant body of @disable functions. Issue 14854 DMD
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2019-03-06 02:00:04 +01:00
Nathan Sashihara
6ffd4e7f28
Replace imports of core.sys.windows.windows to speed up compilation
2018-12-17 21:03:31 -05:00
Iain Buclaw
fd5facfe04
posix.mak: Enforce whitespace before opening parenthesis for version conditions
2018-09-22 16:57:24 +02:00
Walter Bright
33cceac7ac
switch Digital Mars copyright to D Language Foundation
2018-09-05 13:49:46 -07:00
Walter Bright
e80f0089a6
charset: add scope
2018-06-09 00:47:22 -07:00
Sebastian Wilzbach
c324714fde
Remove a few cases of underscore escaping
2018-06-04 13:05:01 +02:00
Sebastian Wilzbach
42894784dd
Markdownify Phobos
...
$(D word) -> `word`
2018-04-02 22:32:47 +02: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
Sebastian Wilzbach
c5a89310a4
Remove deprecated std.windows.iunknown
2018-01-01 14:58:47 +01:00
Sebastian Wilzbach
df6365092a
Replace body
keyword with its replacement: do
...
Automatic replacement with
sed -i "s/^\([ ]*\)body/\1do/" -i **/*.d
2017-11-20 15:33:52 +01:00
Martin
9410feb3c0
std.windows.registry: Keep Key object alive while iterating over it
...
The `Key` and `{Key,Value}NameSequence` objects weren't referenced during
and after iteration in `...NameSequence.opApply()`, so there was no
guarantee the `Key` object owning the HKEY handle would stay alive and
keep the handle open - its destructor closes the handle.
This lead to a failing std.datetime.timezone unittest for optimized LDC
builds.
2017-10-01 15:33:01 +02:00
Sebastian Wilzbach
70f06b2357
Remove old, redundant private import access specifier
...
Very very old versions of D (well into 0.x) had imports public by default,
like C header files. This modernizes the codebase and removes the
redundant `private` access specifier.
This has been done with:
sed "s/private import/import/g" -i **/*.d
2017-07-11 12:28:39 +02:00
Sebastian Wilzbach
d8959320e0
Fix deprecations on Windows
2017-07-06 01:01:52 +02:00
Vladimir Panteleev
d0b9555a06
Revert "Sort selective imports"
...
This reverts commit 998ad51fd7
.
2017-06-13 17:51:52 +00: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
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
87dec58a41
DStyle: Constraints on declarations should have the same indentation level
2017-02-17 07:36:23 +01:00
Walter Bright
13191fa416
fix deprecation messages about core.bitop.bswap
2017-02-07 00:38:49 -08:00
Jack Stouffer
67d44e4cdc
Remove package wide std.algorithm imports from Phobos
2016-09-22 08:36:14 +01:00
Jack Stouffer
cafb16ec67
Fixed local imports in std.windows.syserror
2016-07-01 15:35:46 -04: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
Sebastian Wilzbach
18b8abf60a
remove the deprecated wiki macros
2016-05-27 05:52:23 +02:00
Jack Stouffer
827b677a0b
Fixed long lines in std/windows/registry.d
2016-05-10 20:51:39 -04:00
Jonathan M Davis
c3cd933131
Moving deprecations along.
...
This is mostly just putting dates on existing deprecations that were
missing dates, but it does remove a few things that have been deprecated
long enough to be removed.
2016-02-10 16:43:25 -08:00
H. S. Teoh
3f6a69a8eb
Fix missing ')' in std.c.windows.com deprecation message.
2016-01-06 12:18:33 -08:00
H. S. Teoh
6463fb827c
Move ddoc comments to version(StdDdoc) block.
...
As a workaround for the inability to generate ddocs for symbols
versioned for non-host platforms.
2016-01-06 11:32:38 -08:00
H. S. Teoh
ca9ae57626
Fix ddoc errors in std.windows.syserror.
2016-01-06 11:26:39 -08:00
Jonathan M Davis
0899d9403f
Move deprecations along.
...
This includes deprecating std.c.*, which apparently was marked as
scheduled for deprecation in 2.068 but never actually deprecated (though
it looks like it was previously removed from the documentation build,
since it doesn't show up on dlang.org).
2015-12-30 00:18:53 -08:00
Vladimir Panteleev
7c3373eacc
Remove declarations already declared by the new Windows headers
2015-10-14 04:09:32 +00:00
Walter Bright
162f1cbd96
Range-ify: std.file chdir and others
2015-07-15 17:02:11 -07:00
Vladimir Panteleev
3024e3d3be
fix Issue 14288 - std.windows.registry should use std.windows.syserror
2015-03-24 00:49:50 +00:00
Vladimir Panteleev
a2102aa66c
fix Issue 14289 - WindowsException should not attempt to parse code 0
2015-03-24 00:49:50 +00:00
Daniel Murphy
6af3fb5525
Remove implicit conversions from array to bool
2015-01-27 21:55:00 +11:00
Vladimir Panteleev
d1f2b64b0d
Temporarily replace new deprecations with comments
...
Removes deprecations added in 093d636de4
2015-01-04 15:52:05 +00:00
Vladimir Panteleev
aa0cf9e262
std.windows.syserror: Fix doc build error
2014-11-12 20:52:37 +00:00
Ilya Yaroshenko
6670bb0e6b
added scope imports
2014-11-11 22:54:54 +03:00
jmdavis
76df657bb4
Move some deprecations along.
2014-10-26 19:31:08 -07:00
Martin Nowak
c855945f46
Merge pull request #2614 from Geod24/fix-license-doc
...
[DDOC] Usage of WEB macro for License everywhere
2014-10-17 00:16:49 +02:00
Geod24
0fb95b8c27
Usage of WEB macro for License everywhere
2014-10-15 11:30:42 +02:00
Joakim
093d636de4
Deprecate std.c.* and move all remaining declarations to core.stdc.*
2014-10-14 09:26:21 -05:00
H. S. Teoh
74b9cf7fb0
Merge pull request #2570 from tom-tan/fix-windows-syserror-wenforce
...
Fix the arguments for std.windows.syserror.wenforce
2014-10-05 07:48:13 -07:00
Tomoya Tanjo
c1441c1dcf
Add missing std.traits.isSomeString
2014-10-03 17:06:25 +09:00
Vladimir Panteleev
447556059d
std.windows.syserror: Fix langId parameter being ignored
2014-10-03 06:01:11 +00:00
Tomoya Tanjo
6b19164b37
Parameterize a string type for error message
2014-10-03 14:35:32 +09:00
Tomoya Tanjo
b3c9178931
Fix the arguments for std.windows.syserror.wenforce
2014-09-29 16:05:39 +09:00