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
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
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
Sebastian Wilzbach
a36cec8686
DScanner: automatially set all unattributed unittests to @safe or @system
2017-02-22 05:42:04 +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
Walter Bright
13191fa416
fix deprecation messages about core.bitop.bswap
2017-02-07 00:38:49 -08: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
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
Vladimir Panteleev
7c3373eacc
Remove declarations already declared by the new Windows headers
2015-10-14 04:09:32 +00:00
Vladimir Panteleev
3024e3d3be
fix Issue 14288 - std.windows.registry should use std.windows.syserror
2015-03-24 00:49:50 +00: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
Geod24
7100047473
Replace enforceEx with enforce where it's possible
2014-08-25 12:18:02 +02:00
Denis Shelomovskij
ff144b0ae0
Replace most toStringz
/toUTF16z
/toUTFz
usages with tempCString*
ones.
...
Only non-trivial cases left when a refactoring is required to use a temporary buffer.
Also add `nothrow`/`@nogc` attributes.
2014-08-23 17:23:13 +04:00
w0rp
4852a69672
Fix a minor typo.
...
I noticed a small typo while I was looking at random documentation pages.
2014-07-28 22:28:20 +01:00
jmdavis
efd6ea0cbf
Move various deprecations along.
2013-12-11 23:44:12 -08:00
Martin Nowak
54e91f266c
add version (Windows): too all windows only sources
2013-07-21 03:34:56 +02:00
Andrej Mitrovic
4da1639c98
Merge pull request #1337 from 9rnsr/fix_attrs
...
Potentially @safe & pure formatting
2013-06-27 18:53:22 -07:00
k-hara
03a32d6fa4
Fix issue 313 & 314
2013-06-25 08:38:30 +09:00
k-hara
92bef24f2f
fix Issue 10254 - Purity correctness is broken with constructor
2013-06-20 10:54:30 +09:00
Andrej Mitrovic
aaa6854eb7
Fixes Issue 9373 - Add deprecation messages to Phobos.
2013-01-23 02:44:08 +01:00
Andrei Alexandrescu
49e4bb0ef0
Merge pull request #406 from denis-sh/get-rid-of-win9x-support
...
Get rid of win9x support
2012-02-18 12:32:37 -08:00
Denis Shelomovskij
8a92201226
Fix minor memory wasting in std.windows.registry
2012-02-10 14:28:14 +04:00
Denis Shelomovskij
4d451796fe
Fix unsafe *A function using
...
* Supersede unsafe ExpandEnvironmentStringsA using by its *W version
* Remove an outdated commented out function
* Remove std.windows.charset import which have become unnecessary
2012-02-10 14:28:14 +04:00
Denis Shelomovskij
f01bcb71f5
Remove unnecessary stuff from std.windows.registry
...
* remove stuff which have become unnecessary because of previous commit from std.windows.registry
2012-02-10 14:28:13 +04:00
Denis Shelomovskij
99ab2b6175
Remove __file.d and it's using
...
* remove `useWfuncs` using
* remove std.__file using
* remove __file.d
* remove variables which have become unnecessary
* remove std.windows.charset import and alias in file.d
2012-02-10 14:27:34 +04:00
qchikara
6a768c3c41
error message fix:"Value" to "Key"
2012-02-09 15:19:31 +09:00
qchikara
539ff6a68b
Issue 7460 - std.windows.registry reports a false exception message
2012-02-09 15:17:01 +09:00
Daniel Green
bc453c2a0e
Win64 changes from MinGW64
2012-01-22 23:06:34 -05:00
Walter Bright
380ae65511
remove empty statements
2011-12-29 00:05:45 -08:00
k-hara
c9c8e594db
Move static ctor/dtor into internal module to avoid cycle dependency.
2011-10-03 03:55:51 +09:00
k-hara
1fba4c385d
Registry is now final class with @disable this()
2011-10-03 03:34:50 +09:00
k-hara
54b65ba227
Apply improvements from the review comments.
...
- Use std.utf.toUTF16z
- Fix array operations
- Add next parameter for exceptions constructors
- Remove unused code
- Put the brace on its own line
- Fix conditional compilation with endian
- Move default case to the last of a switch block
- Add more @safe pure
- Fix ddoc comments.
- Change auto to immutable
- Add enforceSucc, and use enforce family
- Change uint to size_t around indexing
2011-10-03 03:34:49 +09:00
k-hara
5dbc7371cc
Restore useWfuncs certainly.
2011-10-02 18:43:48 +09:00
k-hara
cb122aeea8
Cleanup ddoc
2011-10-02 18:43:48 +09:00
k-hara
baaae771e6
Change to use *W functions
2011-10-02 18:43:48 +09:00
k-hara
adbb5a58eb
Change private function names more generic.
2011-10-02 18:43:47 +09:00
k-hara
a50c08acae
Add file and line in Win32Exception and RegistryException
2011-10-02 18:43:47 +09:00