Commit graph

1694 commits

Author SHA1 Message Date
Daniel Murphy
fd8797a84d Stop using read-modify-write operations on enums in std.socket 2011-06-30 08:12:54 +10:00
Daniel Murphy
dc0beb97dc Fix unlisted bug found by implementing http://d.puremagic.com/issues/show_bug.cgi?id=5399.
InputRangeObject.popBack calls back when it should call popBack.
2011-06-30 02:39:47 +10:00
Walter Bright
5c7d8bed61 pass improved value range propagation 2011-06-27 12:02:39 -07:00
Walter Bright
bb53c94eb5 safe function isn't safe 2011-06-26 20:41:03 -07:00
Walter Bright
4f28db6ffb not really pure 2011-06-25 19:58:09 -07:00
Andrei Alexandrescu
d6c471bcff Merge pull request #113 from kennytm/bug5873
Issue 5873 - Cannot call iota() on long with step
2011-06-22 07:19:12 -07:00
Steven Schveighoffer
91ef3b4350 Split lines that were too long 2011-06-22 09:13:55 -04:00
Steven Schveighoffer
6452327a1b Fixed issue 6193: Appender.clear() functionality or documentation 2011-06-22 09:09:52 -04:00
KennyTM~
252c29be22 Notice about bug 4040. 2011-06-22 14:47:45 +08:00
jmdavis
fde6d40447 Merge in pull request #92 of D-Programming-Language / phobos.
Conflicts:
	std/array.d
2011-06-21 21:22:04 -07:00
Andrei Alexandrescu
0b26f67636 Merge pull request #96 from dsimcha/master
uninitializedArray
2011-06-21 21:01:45 -07:00
jmdavis
308df18f16 Added an example to std.utf.codeLength. 2011-06-21 19:36:01 -07:00
jmdavis
1684abf962 Revert "Fixed codeLength fatal misprint."
This reverts commit 1fc3a08fcb.
2011-06-21 19:22:33 -07:00
Andrei Alexandrescu
452926cf0a Merge pull request #105 from blackwhale/regexp-to-regex
make dirEntries return InputRange (formly regex to regexp)
2011-06-21 11:55:27 -07:00
Andrei Alexandrescu
31773e053e Merge pull request #110 from dawgfoto/master
fix std.random uniform for ulong
2011-06-21 11:47:45 -07:00
Denis
1fc3a08fcb Fixed codeLength fatal misprint. 2011-06-21 10:35:45 -07:00
Andrei Alexandrescu
ee5c3a39e5 Fixed http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D&artnum=139182 and unlisted bug in std.stdio.write 2011-06-21 09:41:59 -05:00
Andrei Alexandrescu
b49bee5400 Merge branch 'master' of github.com:D-Programming-Language/phobos 2011-06-21 09:16:18 -05:00
KennyTM~
8f7b9d0d13 Issue 5873 - Cannot call iota() on long with step 2011-06-21 16:42:44 +08:00
Dmitry Olshansky
37393151e2 DirIterator: add _ to private fields, detab, more asserts. 2011-06-20 17:25:36 +04:00
Andrei Alexandrescu
805bb5ee12 Merge pull request #111 from dawgfoto/Bug5705
fixup #5705
2011-06-20 05:54:55 -07:00
Walter Bright
a319cd365a update for pure inference 2011-06-20 01:10:33 -07:00
dawg
ab43002fa0 add unittests for std.random.uniform 2011-06-20 01:32:46 +02:00
dawg
449459a25d fixup #5705
- don't do bitwise compare of structs but compare their memory locations
2011-06-20 00:36:28 +02:00
Dmitry Olshansky
8c29e10ced Clean up code and revert description for insertInPlace 2011-06-19 22:29:10 +04:00
Andrei Alexandrescu
d2dd5d0336 Merge branch 'master' of github.com:D-Programming-Language/phobos 2011-06-19 12:47:45 -05:00
dawg
61ac0be324 fix overlapping array copy in swap #5705 2011-06-19 05:34:26 +02:00
dawg
8e96ae8b77 fix shift overflow 2011-06-19 04:54:22 +02:00
dsimcha
8aac844b81 Add minimallyInitializedArray 2011-06-16 20:28:42 -04:00
Dmitry Olshansky
399d782441 Minor fixes to dirEntries, std.regexp -> local import. 2011-06-16 01:33:16 +04:00
David Nadlinger
364bcc872b Fixed c_long->int issue in std.socket – the code was probably written back when D on x86_64 was a faint dream.
Actually, the timeval struct could be removed altogether as it isn't used anywhere in std.socket (I didn't realize that I wasn't using the C standard library one), but this would be still a breaking API change, so I refrained from it.
2011-06-15 21:48:45 +02:00
David Nadlinger
375e9d1212 Fixed x86_64 issue in Socket timeout code. 2011-06-15 21:37:45 +02:00
David Nadlinger
955b112d71 Added InternetAddress.toHostNameString() for looking up the host name.
I am not particularly fond of the method name, but it follows the existing scheme.
2011-06-15 19:51:33 +02:00
David Nadlinger
e5f81404a7 Use new core.sys.posix.netdb. 2011-06-15 19:51:33 +02:00
David Nadlinger
d5b4ceb3b4 Added send/receive timeout socket options.
The strange timeout behavior on Windows (effective timeout = value + ~500ms) has been confirmed on Windows 7, Windows Server 2008 R2 and Windows XP.
2011-06-15 19:51:33 +02:00
David Nadlinger
b34b8bc595 Added cleaned up std.socket.socketPair() unittest as example. 2011-06-15 19:51:33 +02:00
Andrei Alexandrescu
4c8bf23732 Merge branch 'master' of github.com:D-Programming-Language/phobos 2011-06-15 11:44:25 -05:00
Andrei Alexandrescu
37763e3fe7 Merge pull request #63 from denis-sh/patch-3
Windows's altsep support in getExt, getName and join (bugfix, I think)
2011-06-15 08:00:20 -07:00
Andrei Alexandrescu
3b912122b8 Merge pull request #63 from denis-sh/patch-3
Windows's altsep support in getExt, getName and join (bugfix, I think)
2011-06-15 07:59:26 -07:00
Andrei Alexandrescu
badb5cc363 Merge pull request #102 from klickverbot/getpid-fix
Fixed getpid() alias and std.process documentation.
2011-06-15 06:46:16 -07:00
Andrei Alexandrescu
ef28e9843b Merge pull request #103 from kyllingstad/complex-helper
Add std.complex.complex()
2011-06-15 06:45:18 -07:00
Denis
d3c7cfd14a The ping is accepted. 2011-06-15 05:50:05 -07:00
Andrei Alexandrescu
10243e8110 Merge pull request #90 from klickverbot/concurrency-off-by-one
Fixed an off-by-one error in mailbox size handling.
2011-06-15 05:41:47 -07:00
Lars T. Kyllingstad
b3357696db Merge pull request #104 from klickverbot/findskip-example
Fixed findSkip doc example.
2011-06-15 04:45:43 -07:00
Dmitry Olshansky
3653fc1a71 DDoc examples for dirEntries 2011-06-15 13:57:05 +04:00
jmdavis
eea58346b0 Okay. _Actually_ remove std.encodingbase.
Apparently, I fixed all of the makefiles and whatnot but did not
actually remove the file. This has now been rectified.
2011-06-15 00:48:50 -07:00
jmdavis
cc37a7b40d Removed std.encodingbase.
I was _sure_ that I tested std.encodingbase on Linux, but it's
segfaulting, and after I had added it, I determined that it wasn't
actually needed (simply removing the unused imports for std.encoding in
std.string and std.array fixed the circular dependency with
std.datetime), much as it theoretically would be less likely to cause
problems later to have std.encodingbase. So, for the moment, I'm
removing it. We need to revisit std.encoding's existance anyway.
2011-06-15 00:16:44 -07:00
Jonathan M Davis
9693652b2f Merge pull request #95 from jmdavis/broken
Fixed circular dependency between std.datetime and std.encoding.
2011-06-14 23:42:30 -07:00
Dmitry Olshansky
6309e595dd Docs for dirEntries 2011-06-15 03:14:04 +04:00
Dmitry Olshansky
6c7b9a0697 Another attempt to generalize insertInPlace. 2011-06-15 02:04:08 +04:00