Walter Bright
1b8314c4e0
add source links
2011-02-26 15:32:21 -06:00
Andrei Alexandrescu
4196a49db4
addendum to changeset 2359
2011-01-22 17:12:13 +00:00
Brad Roberts
c5a7e8573f
Fix bad %.*s usage.
2011-01-03 04:48:22 +00:00
Kenji Hara
e0737dee46
bugzilla 5371, ambiguous stringnize of class with alias this
2010-12-25 00:42:35 +00:00
Andrei Alexandrescu
86a080f056
Fixed unlisted bug in readf
2010-12-24 03:05:42 +00:00
Brad Roberts
f368104f37
A bunch of 64 bit fixes, including disabling tests that don't pass
2010-12-23 20:39:22 +00:00
Don Clugston
ef4e30eccd
Partial fix for 5237 writefln doesn't respect Complex.toString
...
Allows the %f, %e, %g, %a formats to be used, but without qualifiers.
BTW: This also allows BigInt to work.
2010-11-19 09:22:04 +00:00
Shin Fujishiro
035c060d6e
Fixed bug 4638: new writeln does not recognize "wstring toString"
2010-11-16 20:39:58 +00:00
Shin Fujishiro
ff435ffcdd
Fixed bug 5154: Class Range does not work in writeln.
...
* formatValue() deals with null, and delegates the actual work to private formatRange() added in this commit.
* Removed the isSomeString!T constraint of formatRange() because strings are already filtered out by formatValue().
2010-11-16 20:39:41 +00:00
David Simcha
5b123f9d18
64-bit fixes for Phobos2. All of std now passes semantic analysis on Linux with -m64.
2010-11-10 00:02:03 +00:00
SHOO
aa8ab63026
Fixed: Bug 5130
...
http://d.puremagic.com/issues/show_bug.cgi?id=5130
writeln now accepts delegate.
2010-10-29 17:07:50 +00:00
Lars T. Kyllingstad
7aa2077935
To use isTuple, std.format needs to import std.typecons in non-unittest mode as well
2010-10-22 13:21:02 +00:00
Shin Fujishiro
a3cabfb7e8
Fixed bug 4775: No substitution on writef("%%%s", "hi").
2010-10-15 17:53:04 +00:00
Shin Fujishiro
3c048ac456
Migration of tup.field[k] to tup[k].
...
Replaced ad-hoc 'is tuple?' checks with isTuple template.
The "this._cache" change in std.range is just a workaround for bug 5046.
2010-10-13 05:39:53 +00:00
Sean Kelly
d04c21a806
Minimal support for toString use on shared objects. format now generates a meaningful compile error when attempting to format a shared object, and Tuple can now contain shared objects (the toString operation returns typeinfo for the object instead of calling toString).
2010-10-07 20:44:06 +00:00
Shin Fujishiro
96936a11a8
std.format: Added !isSomeString constraint to the const-array specialization of formatValue().
...
It conflicted with the specialization for strings.
2010-09-19 04:51:07 +00:00
Shin Fujishiro
f45f507a5f
Fix (std.format): can't format const dynamic arrays.
2010-09-19 03:39:56 +00:00
SHOO
fe6cbe460b
Fixed Bug4827
...
http://d.puremagic.com/issues/show_bug.cgi?id=4827
2010-09-18 13:57:08 +00:00
Andrei Alexandrescu
7d053a9af7
Bugzilla 626
2010-09-14 03:25:34 +00:00
Andrei Alexandrescu
3de6e43071
Bugzilla 535
2010-09-14 02:43:51 +00:00
David Simcha
79a1ebe615
Bug 4643: Shared values are unwritable
2010-09-04 16:01:08 +00:00
Steven Schveighoffer
6636569318
changed appender to prevent calling .clear on appenders of immutable or const data.
...
Removed buffer arg from std.xml.encode since most of the time the data is string data, and the buffer was defined as the same type.
Fixed std.format unittests to not use string-based appenders, since they now cannot be rewritten.
2010-08-26 19:05:09 +00:00
Steven Schveighoffer
7e89201cda
Rewrote Appender to be safer and to not corrupt memory.
...
Fixed all places that use appender to use the safer interface.
bugzilla 4681: Appender access violation
2010-08-26 11:49:50 +00:00
Andrei Alexandrescu
3f2b8c12ea
64-bit compatibility work
2010-08-22 20:55:22 +00:00
Andrei Alexandrescu
2c07d4f870
Readded complex support. Readded typedef support but deprecated.
2010-08-08 01:15:40 +00:00
Andrei Alexandrescu
04bf2b5bad
Fixed windows unittest error
2010-07-29 06:06:25 +00:00
Andrei Alexandrescu
f39e2fee99
Readded support for creal (only).
2010-07-29 04:51:33 +00:00
Walter Bright
53564aa227
rename makefile, comment out mysteriously failing test
2010-07-29 03:59:17 +00:00
Andrei Alexandrescu
11ef039bb1
added support for formatted output of ranges of characters, fixed a couple of OSX issues
2010-07-28 08:07:40 +00:00
Andrei Alexandrescu
0fe7a951fb
Changed w.put(e) with put(w, e) everywhere
2010-07-12 01:17:37 +00:00
Andrei Alexandrescu
956ff3b59e
Radical overhaul.
2010-07-12 00:49:18 +00:00
Andrei Alexandrescu
536cb93d9c
Fixed issue in Appender
2010-07-06 05:34:59 +00:00
Walter Bright
32c7b84c85
fix various unit test and test suite failures from std.format
2010-07-06 01:32:14 +00:00
Andrei Alexandrescu
432e3fdfc8
Replaced std.contracts with std.exception throughout
2010-07-04 22:09:03 +00:00
Andrei Alexandrescu
01aa9c1511
Now all writers are passed by value
2010-07-04 21:44:42 +00:00
Shin Fujishiro
b2d816da2b
Added changelog and unittest for bug 4109.
2010-06-16 00:27:45 +00:00
Shin Fujishiro
4ceb920f40
Fixed reopened bug 4109: writeln doesn't work with empty static array
2010-06-14 15:36:17 +00:00
Shin Fujishiro
56dadb568d
Fixed bugzilla 4109: writeln doesn't work with empty static array.
...
The variable obj can be a static array of length zero. obj.ptr should be used.
2010-05-23 11:53:03 +00:00
Walter Bright
e790058bf4
invariant => immutable
2010-05-05 18:25:44 +00:00
Andrei Alexandrescu
2a9a6e336c
string, wstring are now bidirectional (not random) ranges
...
std.algorithm: defined move with one argument; levenshtein distance generalized to with all forward ranges; take now has swapped arguments
std.array: empty for arrays is now a @property; front and back for a string and wstring automatically decodes the first/last character; popFront, popBack for string and wstring obey the UTF stride
std.conv: changed the default array formatting from "[a, b, c]" to "a b c"
std.range: swapped order of arguments in take
std.stdio: added readln template
std.variant: now works with statically-sized arrays and const data
std.traits: added isNarrowString
2010-02-22 15:52:31 +00:00
Walter Bright
d340dab9f3
inout to ref
2009-12-19 07:46:41 +00:00
Don Clugston
07e9bf7ab8
Remove erroneous return
2009-10-01 00:04:38 +00:00
Sean Kelly
747f3cf1e4
Changed Phobos to use the Boost license. Currently, all public domain modules and all licensed modules by Walter, Andrei, Bartosz, and Don have been changed to use this license (excepting std.c, for the moment). Ideally, all Phobos modules will eventually be distributed under this license, which means obtaining permission from a few more authors, deleting, or rewriting some modules.
...
Removed std.openrj.
2009-09-16 18:19:51 +00:00
Andrei Alexandrescu
0c142994d9
See changelog - bunch of bug fixes and a couple additions for release 2.032
2009-08-31 19:46:33 +00:00
Don Clugston
0fa1eb2473
Fix for bug #2398
2009-07-16 15:21:26 +00:00
Andrei Alexandrescu
ecd5a1de11
fixed unlisted bug in documentation
2009-07-11 18:59:26 +00:00
Andrei Alexandrescu
e336106541
minor
2009-07-04 06:59:56 +00:00
Walter Bright
bd4eadca71
implicit cast fixes
2009-06-07 05:03:17 +00:00
Walter Bright
cf644a325a
add shared
2009-05-08 05:00:12 +00:00
Andrei Alexandrescu
2879e943e7
Added/modified a couple of unittests.
2009-04-29 21:33:03 +00:00