Andrej Mitrovic
fe532ece6f
Merge pull request #1888 from CyberShadow/std-stdio-handle
...
std.stdio: Add File.windowsHandle, fdopen and windowsHandleOpen
2014-02-16 21:59:34 +01:00
Andrej Mitrovic
cc09f11d05
Merge pull request #1947 from Poita/bug5699
...
Fix Issue 5699 - TotalContainer opBinaryRight for 'in'
2014-02-16 21:33:42 +01:00
Peter Alexander
4229d024ca
Fix Issue 5699 - TotalContainer opBinaryRight for 'in'
...
https://d.puremagic.com/issues/show_bug.cgi?id=5699
2014-02-16 20:34:03 +00:00
Andrej Mitrovic
4bdd5f2c6a
Merge pull request #1870 from MartinNowak/fix1832
...
fix Issue 1832 - rebuilding ZipArchive looses data
2014-02-16 21:01:54 +01:00
Andrej Mitrovic
a56882e036
Merge pull request #1929 from rbanderton/fix-issue-1668
...
Fix issue 1668 - std.stream readf can't read int, nan, inf as floats
2014-02-16 18:19:30 +01:00
monarchdodra
9ba09aa59c
change emplace for emplaceRef in algorithm
2014-02-16 17:04:34 +01:00
monarchdodra
8f71c4e59a
Cleanup emplace useage for emplaceRef
2014-02-16 17:04:34 +01:00
monarchdodra
95152081f3
swap isAssignable and !hasElaborateAssign
2014-02-16 17:04:34 +01:00
monarchdodra
5930a3c183
Introduce std.conv.emplaceRef
2014-02-16 17:04:25 +01:00
Blake Anderton
f476f47bab
Fixed Issue 1668 std.stream readf can't read int, nan, inf as floats
2014-02-16 09:55:36 -06:00
Ivan Kazmenko
e58a84aed9
typo in memoize example
2014-02-16 18:04:50 +04:00
Andrej Mitrovic
e25fa58aee
Merge pull request #1923 from CyberShadow/std-net-curl-curloption
...
std.net.curl: Publicly import CurlOption
2014-02-16 14:59:35 +01:00
monarch dodra
1a063adbd5
Merge pull request #1944 from Poita/bug4417
...
Fix Issue 4417 - isUniformRNG constraints for std.random.uniform
2014-02-16 08:37:15 +01:00
Andrej Mitrovic
5a5f89946a
Merge pull request #1864 from CyberShadow/std-conv-opcall-and-ctor
...
std.conv: Fix ambiguity when target has ctor and source has opCast
2014-02-16 01:41:40 +01:00
Andrej Mitrovic
7330607afe
Merge pull request #1865 from CyberShadow/std-array-join-const
...
std.array: Allow joining constant arrays
2014-02-16 01:11:59 +01:00
Andrej Mitrovic
adb9685694
Merge pull request #1936 from Kapps/fix10958
...
Fix issue 10958 - Variant fails to compile for types with sizeof == 0.
2014-02-15 23:55:34 +01:00
Peter Alexander
26eecf4651
Fix Issue 4417 - isUniformRNG constraints for std.random.uniform
...
https://d.puremagic.com/issues/show_bug.cgi?id=4417
2014-02-15 20:55:56 +00:00
Peter Alexander
f8aa638c5a
Fix Issue 12046 - Disallow Rebindable!(T[N])
...
https://d.puremagic.com/issues/show_bug.cgi?id=12046
2014-02-15 20:00:12 +00:00
Peter Alexander
c9fe9679d4
Fix Issue 7654 - Fix Rebindable of narrow strings.
...
`Rebindable!(const(T)[])` should be `T[]`, but `Rebindable` was using `ElementType` instead of `ElementEncodingType`, which would result in `dchar[]` for narrow strings. This pull fixes this simple mistake.
https://d.puremagic.com/issues/show_bug.cgi?id=7654
2014-02-15 14:53:12 +00:00
Dmitry Olshansky
969d7fe0fa
Merge pull request #1857 from monarchdodra/unseal
...
Unseal containers
2014-02-15 16:29:36 +03:00
Andrej Mitrovic
2b558a95f2
Merge pull request #1887 from Poita/bug11945
...
Fix Issue 11945 - LockingTextWriter.put
2014-02-15 13:47:52 +01:00
Andrej Mitrovic
45ef22eeab
Merge pull request #1940 from JakobOvrum/fixgloblink
...
Fix cross-reference to std.path.globMatch from std.file.dirEntries
2014-02-15 12:32:00 +01:00
Andrej Mitrovic
af88623990
Merge pull request #1937 from CyberShadow/std-file-rmdirrecurse-symlink
...
std.file: Fix rmdirRecurse and symlinks/junctions on Windows
2014-02-15 11:57:13 +01:00
Jakob Ovrum
27a9b5987d
Fix cross-reference to std.path.globMatch from std.file.dirEntries
2014-02-15 11:16:08 +01:00
monarch dodra
05e611a5a0
Merge pull request #842 from 9rnsr/fix_predicates
...
Fix predicate template implementations in std.traits and std.range
2014-02-15 08:21:21 +01:00
monarch dodra
acdb1d0a9a
Merge pull request #1205 from andralex/4725
...
Fix Issue 4725 - std.algorithm.sum()
2014-02-15 08:20:01 +01:00
monarch dodra
8a3962b778
Merge pull request #1248 from AndrejMitrovic/Fix7666_2
...
Issue 7666 - Implement reverse property for Tuple.
2014-02-15 08:19:48 +01:00
k-hara
d9e9832021
fix Issue 12135 - [AA] Format tail after associative array value is treated as separator if explicit separator is empty
2014-02-15 15:04:41 +09:00
Vladimir Panteleev
88f694dee3
std.file: Fix rmdirRecurse and symlinks/junctions on Windows
2014-02-15 03:36:54 +00:00
Andrej Mitrovic
a86721bb4c
Merge pull request #1885 from shoo/fix_issue12003
...
Fix Issue 12003 - std\zip.d(421): Deprecation
2014-02-14 23:43:38 +01:00
Andrej Mitrovic
4aab80ef53
Merge pull request #1461 from monarchdodra/issue10039
...
Fix Issue 10039 - std.algorithm enhancements: min, max, clamp
2014-02-14 22:27:05 +01:00
monarchdodra
01ef8978c2
Improve min/max recursion
2014-02-14 19:55:25 +01:00
Andrej Mitrovic
09c5220105
Merge pull request #1498 from monarchdodra/uniniArray2
...
Fixup [un|minimally]InitializedArray
2014-02-14 17:03:38 +01:00
Andrej Mitrovic
eb4b70dc61
Merge pull request #1935 from CyberShadow/std-regex-static-import
...
fix Issue 12156 - static import of std.ascii in std.regex causes conflict
2014-02-14 09:00:47 +01:00
Ognjen Ivkovic
467d5d684b
Fixed unittests to include original, proper, test case.
2014-02-14 00:26:32 -06:00
Ognjen Ivkovic
23f292ce1c
Add assignment to EmptyArray.init to prevent use before set error.
2014-02-14 00:09:50 -06:00
Ognjen Ivkovic
b21c398ca2
Fix issue 10958 - Variant fails to compile for types with sizeof == 0.
2014-02-14 00:04:22 -06:00
Vladimir Panteleev
0cc1d70178
fix Issue 12156 - static import of std.ascii in std.regex causes conflict
2014-02-14 05:39:06 +00:00
Walter Bright
3089fb2d0b
Merge pull request #1909 from 9rnsr/fix12071
...
[REG2.065a] Issue 12071 - Algebraic won't take delegate returning structure
2014-02-13 19:18:26 -08:00
Peter Alexander
5dbb6539e3
Fix Issue 11945 - LockingTextWriter.put
...
The function just had sloppy constraints while assuming it was a string. This fixes it up and adds some basic unit tests.
https://d.puremagic.com/issues/show_bug.cgi?id=11945
2014-02-13 21:35:09 +00:00
monarch dodra
b16a3ed609
Add note about CTFE/pure issue
2014-02-13 22:19:18 +01:00
monarchdodra
3e97991dc7
Fixup [un|minimally]InitializedArray
...
Solves:
* http://d.puremagic.com/issues/show_bug.cgi?id=9803 : minimallyInitializedArray fails past "1D" depth
* http://d.puremagic.com/issues/show_bug.cgi?id=10637 : minimallyInitializedArray: postblit on non-initialized
* http://d.puremagic.com/issues/show_bug.cgi?id=10847 : uninitializedArray accepts arguments which make it fail internally
Improvements also include:
* Documented as nothrow, and weakly pure.
* Works with 0 args (returns an empty slice).
* All args are pre-emptivelly changed to size_t, to avoid template over-instantiation.
2014-02-13 22:19:18 +01:00
monarch dodra
b9376581bd
Merge pull request #1917 from Poita/bug5753
...
Fix Issue 5753 - Disallow map with void function.
2014-02-13 11:39:26 +01:00
monarch dodra
b88dd4df9b
Merge pull request #1932 from AndrejMitrovic/UniformDocs
...
Add uniform example for enums.
2014-02-13 09:40:38 +01:00
Andrej Mitrovic
749143754a
Add uniform example for enums.
2014-02-13 08:18:54 +01:00
monarch dodra
2b71a0bf5c
Merge pull request #1927 from Poita/bug8282
...
Regression Test 8282 - new Array!T
2014-02-13 07:52:49 +01:00
Peter Alexander
c3e988de9f
Minor style updates.
2014-02-12 21:35:34 +00:00
Peter Alexander
80ef8ef7f5
Fix Issue 7287 - BinaryHeap example
...
Two changes:
1. Fixed the array in the final assert. Not sure where the original array came from -- not Intro to Algorithms, I checked my copy!
2. Moved to documented unit test so we make sure it actually passes.
https://d.puremagic.com/issues/show_bug.cgi?id=7287
2014-02-12 21:20:57 +00:00
Peter Alexander
cef8d54a7b
Fix Issue 5753 - Disallow map with void function.
...
https://d.puremagic.com/issues/show_bug.cgi?id=5753
2014-02-12 18:49:40 +00:00
Andrej Mitrovic
f9994612b8
Fixes Issue 7666 - Implement reverse property for Tuple.
2014-02-12 12:54:01 +01:00