Commit graph

1703 commits

Author SHA1 Message Date
David Simcha
db02d05422 Merge pull request #124 from jmdavis/deprecation
Scheduled the version of receiveTimeout which takes a long for deprecation.
2011-07-02 09:40:50 -07:00
David Simcha
25372043f7 Merge pull request #127 from yebblies/fix3483
Fix3483 - Stop using read-modify-write operations on enums
2011-07-02 09:37:33 -07:00
David Simcha
2312ba224a Merge pull request #121 from jmdavis/datetime
Renamed endOfMonthDay to daysInMonth.
2011-07-02 09:34:13 -07:00
Don Clugston
e3c1185692 IEEE exceptions and status flags are properties
They are all global properties of the processor, so it makes a lot of sense
for them to look like global variables.
2011-06-30 02:12:57 +02:00
Jens K. Mueller
77aa890a72 Add denormalizedException
The denormalizedException is set whenever a denormalized value is
manipulated or created. It is useful to know that denormalized values
are generated because it indicates that precision is low.
Further performance of denormalized number can be up to 100 times slower
even when handled in hardware (see Table 2 in "Quantifying the
Interference Caused by Subnormal Floating-Point Values" by Isaac Dooley
and Laxmikant Kale).
2011-06-30 02:12:57 +02:00
Daniel Murphy
cbe7a73852 Swap the order to allow numeric enums to be read as enums. 2011-06-30 08:14:30 +10:00
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
jmdavis
708f1c16d3 Scheduled the version of receiveTimeout which takes a long for deprecation. 2011-06-26 22:16:45 -07:00
jmdavis
e3a592b126 Merged latest master into branch with std.datetime changes.
Conflicts:
	std/datetime.d
2011-06-26 21:14:16 -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
jmdavis
a6ef12b6c9 Renamed endOfMonthDay to daysInMonth.
endOfMonthDay is too close to endOfMonth, and std.date had daysInMonth
(which amounts to the same thing), so I'm renaming endOfMonthDay to
daysInMonth. So, endOfMonthDay is now scheduled for deprecation. I also
adjusted the various deprecation messages related to std.datetime so
that they included the month when the items in question would be deprecated.
2011-06-25 09:03:48 -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