Radu Racariu
bb3681fd14
fix strerror usage in uClibc version
2018-03-05 09:59:17 +02:00
Martin Nowak
09926f9837
Merge remote-tracking branch 'upstream/stable' into merge_stable
2018-02-23 21:37:12 +01:00
Jack Stouffer
663b5b9278
Revert addition of StdUnittest
2018-02-20 13:32:32 -05:00
Joakim
034988a0db
Add needed changes to get all tests passing with Musl
2018-02-17 14:25:07 +05:30
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
Diederik de Groot
31ca73d58d
Port of phobos to DragonFlyBSD
...
Notes:
- FIXME message related to dragonfly malloc issue (issue reported on upstream dragonfly issue database)
2017-12-20 08:05:49 +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
Jonathan M Davis
ae67887065
Remove use of std.datetime.StopWatch in std.socket tests.
2017-10-03 22:29:19 -06:00
Adrian Matoga
e3a650c2ce
Support abstract UnixAddress
2017-07-21 22:12:14 +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
e7111d4fd0
Fix invalid undefined Ddoc macros
2017-06-15 11:00:47 +02:00
Sebastian Wilzbach
2070d867dd
Sort multiple packages within one line
2017-06-12 08:18:25 +02:00
Sebastian Wilzbach
61717ecc7d
Sort imports
2017-06-12 07:54:38 +02:00
Sebastian Wilzbach
a2c6398332
Automatically add spaces to binary operators (==)
...
command:
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-23 00:57:47 +01: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
Walter Bright
76fb6de79f
std.socket: use proper block comments
2017-02-11 02:05:27 -08:00
Basile Burg
17cea5abdc
style fix - remove wrong usages of the final attribute
2017-01-16 21:00:13 +01:00
Eduard Staniloiu
3d98191ce9
Fix issue 16970 - Fix deprecations and warnings when compiling Phobos
2016-12-27 15:57:20 +02:00
sprinkle131313
0857bdfe27
Enables long line style check.
2016-12-20 04:00:36 -05:00
Vladimir Panteleev
448ddbe2e8
std.socket: Add test for issue 16514
2016-10-13 08:26:47 +00:00
Vladimir Panteleev
b3ea2e4312
Revert "std.socket: Decorate Socket methods"
...
This reverts commit 1fc5f9b34c
.
2016-10-13 08:26:47 +00:00
e-y-e
46824b631f
Changed yes/no enums to Flags in std.datetime, updating uses to Yes/No structs.
2016-09-29 14:45:19 +01:00
Jack Stouffer
67d44e4cdc
Remove package wide std.algorithm imports from Phobos
2016-09-22 08:36:14 +01:00
Atila Neves
5ba5c8326c
Add @system and @safe to std.socket unit tests
2016-07-04 17:19:31 +02:00
Jack Stouffer
75683dc0b7
Fixed local imports in std.socket
2016-07-01 12:27:33 -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
1d34a121e9
apply all-man braces in Phobos
...
// find common cases
sed -E "s/^(\s*)((if|static if|for|foreach|foreach_reverse|while|unittest|switch|else|version).*)\s*\{$/\1\2\n\1{/" -i **/*.d
// catch else-if
sed -E "s/^(\s*)} (else static if| if|else if|else)(.*)\s*\{$/\1}\n\1\2\3\n\1{/" -i **/*.d
// remove created trailing whitespace
sed -i 's/[ \t]*$//' **/*.d
2016-05-31 13:07:53 +02:00
Sebastian Wilzbach
2dfbc51f17
Standardize whitespace after imports
...
Unified with:
sed -E "s/import\s*([^ ]+)\s*:\s*(.*(,|;))/import \1 : \2/" -i **/*.d
2016-05-29 22:09:56 +02:00
Sebastian Wilzbach
18b8abf60a
remove the deprecated wiki macros
2016-05-27 05:52:23 +02:00
Sebastian Wilzbach
484f7bfbe0
enforce: whitespace after catch
2016-05-14 15:28:43 +03:00
Vladimir Panteleev
ebb379f294
std.socket: Cap size_t to int on Windows instead of throwing on overflow
2016-05-01 12:01:56 +00:00
Vladimir Panteleev
1fc5f9b34c
std.socket: Decorate Socket methods
2016-04-30 21:39:08 +00:00
Sebastian Wilzbach
5a8988c149
style fix: add space after for operator
2016-04-27 02:04:02 +03:00
Sebastian Wilzbach
3d67cd228c
style fix: space between operators
2016-04-26 22:26:20 +03:00
Dmitry Olshansky
8a3453129f
Merge pull request #4009 from quickfur/issue14137
...
Fix issue 14137: std.socket.getAddressInfo breaks @safe
2016-04-18 17:51:38 +04:00
Sebastian Wilzbach
2c33fa06ae
std.socket: add examples to unittests
2016-03-23 15:24:40 +02:00
Nikolay Tolstokulakov
eff74ed2a2
netbsd patch
2016-03-11 10:10:47 +06:00
H. S. Teoh
5c53be7676
Merge pull request #3977 from joakim-noah/android
...
Android update
2016-02-23 13:51:42 -08:00
Steven Schveighoffer
b0acb7a394
Fix remaining import deprecation messages
2016-02-22 16:03:12 -05:00
H. S. Teoh
c35d4aa26e
Fix issue 14137: std.socket.getAddressInfo breaks @safe
...
Remove abuse of @trusted in template function getAddressInfo that cannot
guarantee that the incoming type argument is @safe. Localize @trusted
block of the function to the single call to getAddressInfoImpl(), so
that any @system code in T will be caught by the type system.
Add unittest to ensure such examples of T will be rejected at
compile-time.
Mark normal unittest for getAddressInfo as @safe to ensure that the
function body itself does not introduce any non-@safe code.
2016-02-17 22:29:58 -08:00
Joakim
10c01a0614
On Android, update std.datetime to extract timezone data and some other fixes.
2016-02-10 14:25:42 +05:30
Shriramana Sharma
5978ca7831
migrate other Phobos modules to use std.exception.basicExceptionCtors
2016-01-17 10:39:37 +05:30
k-hara
59989ed68a
fix imports
2015-11-01 23:01:04 +09:00
Nick Sabalausky
d121265f9f
Requested fixes from pull request.
2015-10-15 16:34:23 -04:00
Nick Sabalausky
b46de002e1
Doc formatting fixes for https://github.com/D-Programming-Language/dmd/pull/4745
2015-10-14 15:29:14 -04:00
Robert burner Schadek
fd4ca9a23a
std.socket unittest doc
...
One example could be moved to unittest doc
quickfur
2015-09-10 11:05:04 +02:00