Commit graph

3362 commits

Author SHA1 Message Date
David Nadlinger
61f991ba51 Issue 7796 - std.typecons.Unique is using writeln without importing std.stdio.
With Unique being a template, commit 4ee4efe (pull request #601) caused the messages to be printed for unittest builds of client code as well.
2012-05-23 18:48:18 +02:00
David Nadlinger
ca86dad193 Bug 4356 is fixed, use ordinary assertion. 2012-05-23 18:47:45 +02:00
Jonathan M Davis
4a88cd82bf Merge pull request #601 from 9rnsr/fix7796
Issue 7796 - std.typecons.Unique is using writeln without importing std.stdio
2012-05-23 09:22:41 -07:00
Hara Kenji
adafbe0595 Merge pull request #590 from jmdavis/range
Fixed note on bidirectional ranges.
2012-05-23 07:47:25 -07:00
k-hara
4ee4efe2b0 fix Issue 7796 - std.typecons.Unique is using writeln without importing std.stdio 2012-05-23 20:24:16 +09:00
jmdavis
4b8143afee Deprecated stuff scheduled for deprecation in May 2012. 2012-05-23 01:31:25 -07:00
jmdavis
1a4e2892b6 Removed deprecated functions which were to be removed in May 2012. 2012-05-23 00:51:12 -07:00
k-hara
95c49e3762 fix Issue 8040 - writeln(null) too 2012-05-23 13:02:18 +09:00
k-hara
f5ccd7fdab Retry to fix Issue 7348 - Format and unformat typeof(null) objects properly
We should represent null literal as "null" instead of "" in formatting, because unformatting requires one or more length string representation of the object.
2012-05-23 13:01:50 +09:00
k-hara
93da97d514 typeof(null) is not any reference types in std.traits module (string, array, associative array, pointer, class, and interface) 2012-05-23 12:49:57 +09:00
Graham Fawcett
4aae62cb95 std/regex.d: fix typo in documentation (occurrence) 2012-05-22 17:12:47 -03:00
k-hara
40de9e601b fix Issue 8080 - 'alias this' causes toString to be shadowed by aliased object 2012-05-22 16:10:13 +09:00
k-hara
2e3d877f76 fix Issue 7348 - to!string(null) matches more than one template declaration 2012-05-22 16:10:11 +09:00
k-hara
8d455147cf fix Issue 6175 - String corruption when passing static char arrays to std.conv 2012-05-22 16:10:10 +09:00
k-hara
d964333d35 Fix documentations 2012-05-22 16:10:09 +09:00
k-hara
532f88e3d3 Arrangement tests 2012-05-22 16:10:07 +09:00
k-hara
fb964ae04b Merge conversions representing with string into one toImpl function 2012-05-22 16:06:39 +09:00
Don Clugston
a8aa8cdcd6 Implement feqrel!(float) + fix code formatting 2012-05-22 07:34:38 +02:00
Walter Bright
ac143b63fd Merge pull request #537 from 9rnsr/fix7909
Issue 7909 - to!enum(string) and to!string(enum) break when enum is integral
2012-05-21 22:32:59 -07:00
Mike Wey
bff3254afc File.detach should decrement the ref count - Issue 7022
Because detach invalidates a copy of the File struct it should also decrement the ref count.
The File destructor doesn't take care of this because by then p is already null.
2012-05-21 20:26:06 +02:00
Karl Broman
11f02dbfd1 Merge branch 'master' into patch-1 2012-05-21 06:18:19 -05:00
Karl Broman
320c92d355 Change second paramater of gammaIncompleteComplInverse from x to p
- more meaningful for it to be p rather than x
  - also, this matches the corresponding internal function in
    std.internal.math.gammafunction
  - revise comments to match
2012-05-21 06:10:34 -05:00
Andrei Alexandrescu
28bca62304 Merge pull request #565 from jmdavis/8026
Fix issue 8026
2012-05-20 15:38:41 -07:00
Andrei Alexandrescu
d7ea3c808d Merge pull request #541 from blackwhale/ctRegex
A quick shot at ctRegex issue 7740
2012-05-20 15:35:26 -07:00
Andrei Alexandrescu
f41c9c48a7 Merge pull request #527 from mylodon/fix-issues-7831-7022
fix issue 7022
2012-05-20 15:32:36 -07:00
Andrei Alexandrescu
21c21ad0ec Merge pull request #517 from deadalnix/isbuiltin
Add isBuiltin to detect builtin types.
2012-05-20 15:31:25 -07:00
Andrei Alexandrescu
41e6decef9 Merge pull request #460 from quickfur/6926-process
Code cleanup & fix issue 6926
2012-05-20 14:48:10 -07:00
deadalnix
cb261343cb Fix empty range creation when using stride. 2012-05-19 16:54:26 +02:00
jmdavis
53cf501d8c Fixed note on bidirectional ranges.
It said that they were input ranges (plus the extra functions for a
bidirectional range), but isBidirectionalRange requires a forward range.
2012-05-18 19:33:00 -07:00
Karl Broman
d83f9cbdaf Fix comment describing gammaIncompleteComplInverse in std/mathspecial.d 2012-05-18 16:30:59 -05:00
Guillaume Chatelet
0bc122f7d2 std.algorithm.fill must accept InputRange 2012-05-17 18:53:35 +02:00
alexrp
b4157cd573 Remove std.contracts (deprecated a long, long time ago). 2012-05-15 03:17:19 +02:00
Brad Roberts
18954dbc0a Merge pull request #574 from wfunction/master
Mehrdad's first pull!
2012-05-14 11:50:27 -07:00
k-hara
618a3b72f3 Add enum base types 2012-05-14 14:10:17 +09:00
Jonathan M Davis
90a104d157 Merge pull request #535 from 9rnsr/fix_scoped
Change scoped to "voldemort type"
2012-05-13 21:35:50 -07:00
Brad Roberts
81301fb0ea Merge pull request #543 from CyberShadow/patch-2
std.regex: Fix math in replace example
2012-05-13 16:54:47 -07:00
Jonathan M Davis
d88482d552 Merge pull request #581 from alexrp/remove-deprecated
Remove deprecated modules.
2012-05-13 15:28:00 -07:00
alexrp
aaaca447cc Make generated accessor for bitfields @safe pure nothrow. 2012-05-13 23:14:06 +02:00
alexrp
a64b6175fa Remove std.loader (deprecated for six years). 2012-05-13 16:23:23 +02:00
jmdavis
cc17f794e7 Improve the const-correctness of Appender and RefAppender. 2012-05-13 02:36:25 -07:00
alexrp
4bd65cbec2 Remove std.stdarg (deprecated since 2010). 2012-05-13 04:03:26 +02:00
alexrp
f569b4daa0 Remove std.intrinsic for good. 2012-05-13 04:03:26 +02:00
alexrp
38ef7d09c2 Remove std.bind (deprecated from the day delegates were added to the language). 2012-05-13 04:03:26 +02:00
k-hara
5edac8f10e Remove meaningless comment 2012-05-13 02:47:21 +09:00
Brad Roberts
a47332ca0d Merge pull request #540 from 9rnsr/fix7919
Issue 7919 - Sample code works on GDC but fails with DMD
2012-05-12 10:32:26 -07:00
k-hara
0320e5bd1c fix Issue 8015 - std.typecons.Tuple does not support struct with alias method this 2012-05-13 01:15:51 +09:00
k-hara
64d983edaa Bit cleaner constraints 2012-05-12 20:06:30 +09:00
k-hara
b3c079c040 Add test for the conversion from string to enum 2012-05-12 20:06:30 +09:00
k-hara
cce4aec10e Add test for the conversion from enum to string
string based enum to string conversion should return member name, instead of base value.
2012-05-12 20:06:30 +09:00
k-hara
038daa5b03 Remove redundant constraints 2012-05-12 20:06:29 +09:00