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
Martin Nowak
18c5b270e0
Merge remote-tracking branch 'upstream/stable' into merge_stable
...
Conflicts:
std/internal/cstring.d
win64.mak
2015-09-07 00:44:29 +02:00
Vladimir Panteleev
e885e163f0
std.socket: Add test for issue 14980
2015-08-31 13:04:43 +00:00
Jonathan M Davis
7b4abd0aa7
Move deprecations along.
2015-08-29 17:01:23 -07:00
Steven Schveighoffer
1b857ae5e5
Remove superfluous ctor in ddoc version of UnixAddress
2015-06-01 14:59:10 -04:00
Steven Schveighoffer
0b171c5e3e
Merge pull request #3340 from Imagix/InternetAddress_Constructors
...
Internet address constructors
2015-06-01 14:05:59 -04:00
Lionello Lunesu
8fc047f277
Fixed DDoc warnings
2015-05-30 09:17:43 -06:00
Daniel Murphy
ebc90dc149
Merge pull request #2657 from joakim-noah/separate_glibc
...
Separate linux kernel, glibc, and bionic APIs where appropriate
2015-05-30 08:22:30 -06:00
Andre Kostur
46898690e2
Fix one typo that would have only been found on a machine that is generating the documentation, and does not supply a sockaddr_un.
2015-05-29 18:40:35 -06:00
Andre Kostur
4390b78e25
Amend UnixAddress to use the AddressFamily enum instead of directly using AF_UNIX, to be consistent with InternetAddress.
2015-05-29 18:40:35 -06:00
Andre Kostur
8812a888d1
Add asserts to the new constructors to verify that they are receiving sockaddrs of the correct family.
2015-05-29 18:40:34 -06:00
Andre Kostur
e6522794ab
Complete the idea by adding the similar constructor to UnixAddress
2015-05-29 18:40:34 -06:00
Andre Kostur
4152f5f4dd
Amend the constant to be consistent with the rest of the file.
2015-05-29 18:40:05 -06:00
Andre Kostur
61b96d20f3
Add the constructors for InternetAddress and Internet6Address from the appropriate sockaddrs.
2015-05-29 18:40:04 -06:00
Steven Schveighoffer
badd9c3acf
fix ddoc issues for UnixAddress
2015-05-29 15:48:14 -06:00
Joakim
3352c90c2e
Separate linux kernel, glibc, and bionic APIs where appropriate
2015-05-27 21:54:52 -05:00
Martin
86511b3ca9
[Windows] Fix a range error in std.socket.SocketSet.add()
...
`fds()` returns a slice of size `count()`, and since fds() is invoked
before evaluating the index expression (incl. increasing the count),
its length is the old count, so we cannot assign to the element at
index = old count, that's 1 past the end.
2015-05-23 23:59:55 +02:00
Dragos Carp
6ffb0926ed
More dummy implementations for ddoc
2015-05-23 14:27:41 +02:00
Dragos Carp
797595892c
Add UnixAddress dummy implementation for ddoc
2015-05-22 22:20:45 +02:00
Dragos Carp
a6ed886949
Remove unneeded unitilizedFill
2015-05-22 17:04:48 +02:00
Dragos Carp
1fabffe86c
UnixAddess uses packed struct instead of union
2015-05-22 17:04:41 +02:00
Dragos Carp
0f7753cd3d
Don't create UnixAddress on Windows
2015-05-22 17:04:23 +02:00
Dragos Carp
e58dba2072
Fix 14611
2015-05-20 17:58:30 +02:00
Vladimir Panteleev
5aff75618d
fix Issue 14012 - std.socket: wrong SocketSet.max on Posix
2015-01-20 01:12:10 +00:00
Vladimir Panteleev
0d08691c6d
fix Issue 14013 - std.socket: off-by-one error when automatically resizing on POSIX
2015-01-20 01:05:10 +00:00
Andrei Alexandrescu
a13cee766d
Ensure each module has a description at the top.
2015-01-11 14:14:29 -08:00
Jonathan Marler
422cf57624
Added opEquals to InternetAddress
2015-01-03 17:39:55 -07:00
Walter Bright
c84ce85e35
correct use of See_Also
2014-12-27 16:30:07 -08:00
kai
e838cc73ac
Solaris changes for std.file and std.socket.
...
std.file: Add implementation for thisExePath(), fix struct DirEntry
std.socket: Add implementation for formatSocketError
2014-11-22 00:18:49 +01:00
Joakim
800506b794
Deprecate last remaining module from std.c and move it to druntime
2014-10-31 12:04:41 -05: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
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
Denis Shelomovskij
7c04398e5d
[Fix] Fix SocketSet.count
return type.
2014-08-15 11:24:16 +04:00
Denis Shelomovskij
e69098065d
[Fix][DDoc] Add missing third /
to DDoc comment.
2014-08-15 11:24:16 +04:00
Denis Shelomovskij
312d64dd73
Add @safe
/@trusted
/@system
attributes to std.socket
.
2014-08-15 11:24:16 +04:00
Denis Shelomovskij
d451c969e5
Make getnameinfo
, getaddrinfo
, and freeaddrinfo
pointers immutable
.
2014-08-05 19:54:39 +04:00
Denis Shelomovskij
ddffb3d651
Add pure
/nothrow
/@nogc
attributes to std.socket
.
...
Also add `in` parameter storage class to `validHostent` function.
Also add attributes to `std.c.windows.winsock`.
2014-08-05 19:54:39 +04:00
Joakim
60cfc11a11
Make all tests that create a temporary file in the local directory get the path from one central function, so they can be made to use an absolute path
2014-08-04 23:33:25 -05:00
Jakob Ovrum
96893cbf46
Pre-allocate result array in getAddress and use Appender in getAddressInfoImpl
...
Fixes issue #13159
2014-07-20 00:11:09 +09:00
Joakim
dc67efc3c4
Deprecate std.c.string and move its contents to druntime
2014-07-13 12:47:26 -05:00
Joakim
11de397dd7
Start getting tests passing on Android/x86
2014-07-09 17:52:15 -05:00
k-hara
18efc8c5dc
fix Issue 13000 - Casts should be removed to utilize features of inout
2014-06-28 21:37:02 +09:00
k-hara
d2345918b4
Remove redundant attributes
2014-06-27 08:34:15 +09:00
jmdavis
73cf16849e
Fix deprecation messages caused by recent changes to Duration.
2014-06-11 20:43:32 -07:00
Daniel Murphy
4d0892baba
Remove uses of the comma operator
2014-02-18 00:48:40 +11:00
k-hara
b391b2ec9f
Convert to new alias syntax
2014-02-11 15:27:05 +09:00
Dmitry Olshansky
3f521ca8eb
Merge pull request #1393 from CyberShadow/std-socket-dynamic-socketset
...
std.socket: Remove size restriction from SocketSet
2014-01-27 00:49:05 -08:00
Vladimir Panteleev
3156d77079
std.socket: Remove size restriction from SocketSet
2014-01-26 21:35:27 +00:00