Commit graph

3362 commits

Author SHA1 Message Date
Walter Bright
18f7d60f0d Win64 fixes 2012-09-11 19:39:15 -07:00
Andrei Alexandrescu
043633d33d Revert "Merge pull request #690 from klickverbot/template-predicates"
This reverts commit 87e9a4e94b, reversing
changes made to 7326c53cb5.
2012-09-08 13:20:16 +02:00
Andrei Alexandrescu
87e9a4e94b Merge pull request #690 from klickverbot/template-predicates
std.typetuple: Add All, Any, Not for template predicates.
2012-09-08 02:49:09 -07:00
David Nadlinger
1c086dc002 Added template{And, Or, Not}.
Names in lowercase as per Andrei's request, see discussion in pull request #690.
2012-09-06 14:52:07 +02:00
Brad Roberts
7326c53cb5 Merge pull request #775 from jwhear/master
Fix small doc mistake in std.container
2012-09-05 20:31:23 -07:00
Justin Whear
67b231d932 Fix documentation mistake in RedBlackTree
RedBlackTree.empty was documented as "Returns true if at least one element exists), when it actually returns false (as expected) when there are items.
2012-09-05 16:19:28 -07:00
kai
54abec0048 snprintf already defined in core.stdc.stdio.
The snprintf function is already defined in core.stdc.stdio. This version has the advantage that it also works with the MS C Runtine on Windows.
2012-09-05 20:53:25 +02:00
Iain Buclaw
5c0855de5c exp, expm1, exp2 return 'inf' for targets that don't use iasm. 2012-09-03 16:21:00 +01:00
Andrei Alexandrescu
6ba8f8c5ec Merge pull request #765 from ntrel/InputRange-doc-fixes
InputRange doc fixes
2012-09-02 16:59:45 -07:00
kai
3632a5ba96 Add required cast for 64 bit. 2012-09-02 20:36:03 +02:00
Andrei Alexandrescu
5272df64b2 Merge pull request #763 from monarchdodra/bug8591
Bug8591
2012-09-02 10:29:44 -07:00
Andrei Alexandrescu
e6a63fbb96 Merge pull request #762 from shoo/enh_stopwatch
Enhancement for std.datetime.StopWatch
2012-09-02 10:24:20 -07:00
Andrei Alexandrescu
4596ab6801 Merge pull request #758 from Dav1dde/patch-1
fixed wrong headers for decompression
2012-09-02 10:17:30 -07:00
Nick Treleaven
d0643925cd Add input range-related links, fix a/an typo 2012-08-30 14:23:34 +01:00
Nick Treleaven
966fb99d4f Fix InputRange example
useRange must take an InputRange!int, not just InputRange.
Remove UsesRanges class - it's clearer just to use a free function.
2012-08-30 14:04:01 +01:00
monarchdodra
4624416409 Fixes for issue 8591 (nothrow) 2012-08-28 21:11:37 +02:00
shoo
8e44dc785e Enhancement for std.datetime.StopWatch
add member function setMeasured
add property running
2012-08-28 22:43:15 +09:00
Andrei Alexandrescu
0a511e3975 Merge pull request #755 from 9rnsr/fix8574
Issue 8574 - [std.format] The flag ' ' works for floating numbers, not only for integers
2012-08-27 01:44:07 -07:00
Andrei Alexandrescu
aa40b3b47d Merge pull request #753 from mylodon/enh6484
fix issue 6484
2012-08-27 01:34:19 -07:00
Jonathan M Davis
d13160a5aa Merge pull request #760 from monarchdodra/documentation
Return value documentation
2012-08-26 02:05:52 -07:00
monarchdodra
3a621e8276 Update std/format.d 2012-08-26 10:50:33 +03:00
dsimcha
172bca14f8 Call executeWorkLoop() from startWorkLoop() like I meant to all along. This should fix the unittest failures. 2012-08-25 19:21:15 -04:00
monarchdodra
0dced45e5f Documenting return of pop[Front|back]N 2012-08-25 18:13:55 +02:00
dsimcha
9ad6be42ba Exception -> Error when submitting to a finishing pool, weird, useless behavior when calling finish() from a worker thread -> deterministic deadlock because it's the least bad solution. 2012-08-25 11:31:17 -04:00
monarchdodra
74982f7d7f Documenting return value of formattedRead 2012-08-25 17:45:25 +03:00
David
9f67ad2096 fixed wrong headers for decompression
In some archives the headers for each indivdual `ArchivMember` are incomplete.
And these incomplete headers would overwrite the actual headers with `0` which
results in a `ZlibException` (since `compressedSize` and `expandedSize` are `0`)
2012-08-25 17:06:37 +03:00
dsimcha
ab9691df2e Fix Bug 8582. 2012-08-24 22:47:49 -04:00
jmdavis
038e30c737 Minor adjustment to better workaround bug# 8521.
Apparently, using the ternary operator makes it worse, so I switched it
to use if instead. The semantics are identical.
2012-08-22 02:26:21 -07:00
k-hara
b7df920554 fix Issue 8574 - [std.format] The flag ' ' works for floating numbers, not only for integers 2012-08-22 00:44:12 +09:00
Ellery Newcomer
e633725a23 pretty findSplit example 2012-08-20 13:19:03 -07:00
jmdavis
6eba82fb56 Slight tweak to static if in find.
The semantics are the same. It's just less redundant this way.
2012-08-19 21:19:36 -07:00
Andrei Alexandrescu
47204076d8 Merge pull request #720 from jmdavis/8334
Fix for issue# 8334: find cannot handle close match at end of haystack in needle isn't bi-directional
2012-08-19 21:00:27 -07:00
jmdavis
3ccbcbaff3 Made spacing of if consistent with string, strideBack, and decode. 2012-08-19 18:54:40 -07:00
Andrei Alexandrescu
30ca818562 Merge pull request #743 from jmdavis/stride
Made stride, strideBack, and decode work with ranges of code units.
2012-08-19 18:51:33 -07:00
Brad Roberts
b6ab5b6e04 remove BOM from std/math.d 2012-08-18 21:08:37 -07:00
jmdavis
a60025bb70 Changes for Andrei's comments on pull request# 743. 2012-08-18 14:03:59 -07:00
Hara Kenji
6d42d02860 Merge pull request #751 from 9rnsr/fix8339
Supplemental change for dmd/pull/1087 (fix Issue 8339)
2012-08-18 08:24:01 -07:00
SHOO
ede978cb39 Fix for issue 8558 2012-08-18 20:48:24 +09:00
k-hara
4a05464800 fix Issue 8339 - is(typeof(...)) is reporting true when it's false due to nested function error
Avoid frame access check and disabled default construction in predicate templates.
2012-08-18 17:49:05 +09:00
jmdavis
27912bb268 Fix for issue# 8334. 2012-08-12 20:57:10 -07:00
Andrei Alexandrescu
230c5000f4 Merge pull request #747 from lomereiter/master
fix behaviour of std.stdio.File.ByLine
2012-08-12 19:53:31 -07:00
Andrei Alexandrescu
a381e4c879 Merge pull request #746 from CyberShadow/std-path-escapeposixargument
std.process: Fix escapePosixArgumentImpl
2012-08-12 19:50:59 -07:00
Andrei Alexandrescu
e68ec9c4d0 Merge pull request #742 from denis-sh/fix-issue-8516
Fix Issue 8516 - std.string.representation works incorrect for shared(const(T)) types
2012-08-12 19:21:07 -07:00
Artem Tarasov
c8e0469019 fix std.stdio.byLine behaviour 2012-08-11 12:34:32 +04:00
Vladimir Panteleev
96556b54f3 std.process: Fix escapePosixArgumentImpl 2012-08-10 10:15:06 +03:00
jmdavis
ad177d0cf1 Workaround for bug# 8521. 2012-08-08 12:43:56 -07:00
jmdavis
4ca0af8662 Made it so that decode works with arbitrary ranges of code units.
I also added decodeFront which operates on the first code point in the
range (unlike stride and strideBack, it requires a different name, since
the signatures of decode and decodeFront are almost identical - the only
difference being that decode takes the index by ref, and decodeFront
takes it as out).
2012-08-07 00:41:18 -07:00
jmdavis
b45e37139e Made it so that strideBack works with arbitrary ranges of code units.
I also added overloads for strideBack which don't require an index
(they operates on the last code point).
2012-08-07 00:38:11 -07:00
jmdavis
acc72035a0 Made it so that stride works with arbitrary ranges of code units.
I also added overloads for stride which don't require an index (they
operate on index 0).
2012-08-07 00:37:50 -07:00
Denis Shelomovskij
ef10bdf6bc Fix Issue 8516 - std.string.representation works incorrect for shared(const(T)) types 2012-08-07 11:17:29 +04:00