Commit graph

9123 commits

Author SHA1 Message Date
Johan Engelen
321f8d7493 Add integer ilogb 2015-08-02 23:46:31 +02:00
Hara Kenji
deeab6c867 Merge pull request #3522 from 9rnsr/fix14860
Supplemental fix for issue 14860
2015-08-02 20:07:52 +09:00
k-hara
35f1f6226a Supplemental fix for issue 14860
`task[] = RTask.init;` has two bugs:

1. `RTask` is a nested struct, so `RTask.init` contains null context pointer.
2. That is a block assignment, so there is a possibility to call
   `RTask.~this()` on garbage objects (stack allocated `buf` is initialized by `void`).

Fixed to use `emplaceRef` on each elements.
2015-08-02 19:05:30 +09:00
Iain Buclaw
89f53cb619 Merge pull request #3045 from JohanEngelen/gamma64bit
std.mathspecial: for 64-bit reals, provide MAXGAMMA, MAXLOG, and MINLOG
2015-07-30 08:42:57 +02:00
Hara Kenji
4abd953376 Merge pull request #3519 from 9rnsr/fix14846
Supplemental fix for issue 14846
2015-07-30 07:51:17 +09:00
David Nadlinger
e308ff1c28 Merge pull request #3517 from rainers/outbuffer_gccalls
std.outbuffer: remove gratuitious calls into the GC
2015-07-29 23:24:46 +02:00
Rainer Schuetze
13cb3dede1 std.outbuffer: remove call into GC by using appropriate type for data, tweak pre-allocation 2015-07-29 22:41:09 +02:00
Dmitry Olshansky
dd838f1d6b Merge pull request #3516 from sigod/patch-1
std.concurrency: receiveTimeout: document behavior with negative timeout
2015-07-29 21:09:51 +02:00
Johan Engelen
98638abfc4 Add a D implementation for std.math.ilogb, templated for different floating point types. 2015-07-29 19:10:07 +02:00
k-hara
5cdf726149 Supplemental fix for issue 14846
`new Input!(Range, ErrorLevel)` should take the `input` parameter to initialize its field by that, because: if `Range` is a nested struct, its context pointer is not accessible from inside CsvReader.
2015-07-29 19:50:09 +09:00
Dmitry Olshansky
b34ff324f0 Merge pull request #3465 from karronoli/fix-curl-http
Issue 14762 - Reduce confusion for libcurl after HTTP request.
2015-07-28 09:28:13 +02:00
Dmitry Olshansky
cc64dc38e9 Merge pull request #3486 from WalterBright/rmdirr
Range-ify std.file rmdir()
2015-07-28 08:51:08 +02:00
Yannick Koechlin
e4a596746d use UFC and nicer lambda syntax for example 2015-07-27 12:47:34 +02:00
sigod
c8048fa488 std.concurrency: receiveTimeout: document behavior with negative timeout 2015-07-25 12:10:53 +03:00
Hara Kenji
1b3f6d60ec Merge pull request #3515 from MartinNowak/merge_stable
Merge remote-tracking branch 'upstream/stable' into merge_stable
2015-07-25 09:03:15 +09:00
Robert burner Schadek
971a76d941 std.variant housekeeping
variant hat some code disabled due to compiler bugs.
Some of these bugs have been fixed.
This re-enables this dead code.

removed some old code

bug remove reverse
2015-07-24 14:46:56 +02:00
Martin Nowak
5ca7ddad60 Merge remote-tracking branch 'upstream/stable' into merge_stable
Conflicts:
	posix.mak

Manually edited:
	std/datetime.d (rename toNormalizedPath -> asNormalizedPath)
2015-07-24 01:28:58 +02:00
Martin Nowak
3e5e14b079 Merge pull request #3514 from MartinNowak/fix14732
Fix-up coefficients and smallest denormal value for ieeeDouble in exp()
2015-07-24 00:55:03 +02:00
Martin Nowak
39806a85f5 Merge pull request #3512 from MartinNowak/fix14765
add std.traits.isAutodecodableString() to fix Issue 14765
2015-07-24 00:42:08 +02:00
David Nadlinger
7281178cfb Merge pull request #3507 from MartinNowak/AliasSeq
Rename Arguments to AliasSeq
2015-07-23 22:56:11 +02:00
Iain Buclaw
73493bbb49 Fix-up coefficients and smallest denormal value for ieeeDouble in exp() 2015-07-23 08:02:11 +02:00
Walter Bright
31c9630702 add std.traits.isAutodecodableString() to fix Issue 14765 2015-07-23 07:22:25 +02:00
Adam D. Ruppe
87f7af1fd5 eliminate dangerous and/or useless casts from zlib 2015-07-22 10:28:33 -04:00
H. S. Teoh
f62e911b89 [trivial] Make NullSink unittest a ddoc'd example. 2015-07-21 16:50:24 -07:00
Steven Schveighoffer
2f7a73b24d Merge pull request #3504 from quickfur/lockstep_docs
Improve Lockstep docs.
2015-07-21 15:01:17 -04:00
H. S. Teoh
aebeac9363 Merge pull request #3506 from MartinNowak/stable
Revert "Merge pull request #3139 from mrkline/better-unique"
2015-07-21 10:08:33 -07:00
H. S. Teoh
90ad7e5fe9 Remove bug section from docs: bug has been fixed in compiler.
Add unittest to prevent regressions in the future.
2015-07-21 10:03:24 -07:00
Martin Nowak
70c8969b25 Merge pull request #3498 from JinShil/AliasTuple
Revert AliasTuple back to AliasSeq
2015-07-21 11:40:04 +02:00
Steven Schveighoffer
efab578a32 Merge pull request #3488 from JinShil/AliasTuple
Rename AliasSeq to AliasTuple
2015-07-21 11:39:49 +02:00
Dmitry Olshansky
a4be49ef84 Merge pull request #3463 from deadalnix/metarename
Rename Arguments to AliasSeq for alias sequence
2015-07-21 11:39:18 +02:00
Steven Schveighoffer
bfd84f9515 Merge pull request #3440 from deadalnix/metatypetuple
Move TypeTuple alias to std.typetuple.
2015-07-21 11:38:52 +02:00
Martin Nowak
e3b2a9a847 Merge pull request #3454 from CyberShadow/renames-2.068
2.068 renames
2015-07-21 11:33:31 +02:00
Martin Nowak
60f9b8b538 Revert "Merge pull request #3139 from mrkline/better-unique"
This reverts commit 8f4a85bc83, reversing
changes made to d74e4d787a.

Delay unfinished feature until after 2.068.x.
2015-07-21 09:31:54 +02:00
Steven Schveighoffer
033cdd8568 Merge pull request #3503 from quickfur/take_docs
[dox] Document what happens to take/takeExactly if the range is too short.
2015-07-20 17:16:08 -04:00
Johan Engelen
0bd234bfe2 Provide MAXGAMMA, MAXLOG, and MINLOG for 64-bit reals.
Inside gammaStirling(), fix a call to pow() that would overflow for 64-bit reals.
2015-07-20 22:42:04 +02:00
Steven Schveighoffer
73281a95d2 Merge pull request #3505 from quickfur/transposed_docs
[trivial] Remove stray redundant word 'example' from code examples.
2015-07-20 16:38:12 -04:00
Steven Schveighoffer
c7ea82e3f5 Merge pull request #3462 from japplegame/patch-1
Rebindable support for AAs.
2015-07-20 15:22:31 -04:00
H. S. Teoh
8393378b6b [trivial] Remove stray redundant word 'example' from code examples. 2015-07-20 11:35:32 -07:00
H. S. Teoh
e21c9a5dc0 Improve Lockstep docs.
Remove stray // from generated docs.

Reorder that example to flow better with the preceding prose.

Fix coding style in code examples.
2015-07-20 11:32:18 -07:00
H. S. Teoh
38b6d70493 Document what happens to take/takeExactly if the range is too short. 2015-07-20 11:24:45 -07:00
H. S. Teoh
037168113f Merge pull request #3500 from jpf91/docs
Extend documentation for toHexString
2015-07-20 08:22:13 -07:00
Johannes Pfau
70ac0312e7 Extend documentation for toHexString 2015-07-19 23:56:13 +02:00
Dmitry Olshansky
a9cd76147f Merge pull request #3481 from jmdavis/issue14792
Implement issue# 14792: Add SysTime.fromUnixTime.
2015-07-19 16:15:19 +02:00
Martin Nowak
764312eea6 Merge pull request #3498 from JinShil/AliasTuple
Revert AliasTuple back to AliasSeq
2015-07-17 14:49:18 +02:00
Mike
29abd583ba Fix a few typos in std/meta.d 2015-07-17 20:51:21 +09:00
Jack Applegame
66e3a52a62 Rebindable support for AAs 2015-07-17 10:21:31 +03:00
Mike
8b51537f50 Revert AliasTuple back to AliasSeq 2015-07-17 08:52:29 +09:00
Dmitry Olshansky
777db2696a Merge pull request #3484 from WalterBright/chdirr
Range-ify: std.file chdir and others
2015-07-16 23:45:42 +03:00
anonymous
3d02450030 Ddoc: add missing parenthesis 2015-07-16 21:35:31 +02:00
anonymous
dd2161705a std.traits.hasMember: just forward to __traits(hasMember, ...)
This way opDispatch'ed members are recognized.

Fixes issue 14605 - RefAppender fails isOutputRange.
2015-07-16 21:29:46 +02:00