jmdavis
dd3a0c20a2
Created std.ascii to replace std.ctype.
...
All of the new, properly camelcased functions in std.ctype have been
moved to std.ascii, and std.ctype has been scheduled for deprecation.
2011-06-14 04:06:54 -07:00
jmdavis
e89a3e3aa8
Removed extra nothrow.
2011-06-13 09:06:16 -07:00
jmdavis
d10ee6c2f6
Replaced calls to std.ctype.islower with isLower.
2011-06-12 16:59:51 -07:00
jmdavis
85049f048c
Replaced calls to std.ctype.iscntrl with std.ctype.isControl.
2011-06-12 16:59:51 -07:00
jmdavis
3d3c342a69
Replaced calls to std.ctype.isalnum and std.ctype.isalpha.
2011-06-12 16:59:50 -07:00
jmdavis
0e1afe82cb
Improved std.string.indexOf and std.string.lastIndexOf.
...
indexOf and lastIndexOf should not work properly with unicode for all
string types (unlike before). As part of that, I also ended up fixing a
bug in std.array.back for strings (wstrings in particular were broken).
I also improved various, related unit tests.
2011-06-12 16:59:50 -07:00
jmdavis
7f02a26193
Adjusted std.ctype.hexDigits.
...
I'm not sure exactly what we want to do with hexDigits. I had originally
added the lowercase a-f to it on the theory that they're valid digits in
hex, but there's code in Phobos which uses std.string.hexdigits.length,
so I adjusted it so that hexDigits is the same as the old hexdigits but
added fullHexDigits for the version with the lowercase letters. Perhaps
folks will have something constructive to say about that in review, but
that's what I'm doing for now.
2011-06-12 16:59:49 -07:00
jmdavis
98c97de31d
Updates to ctype to fix function names and return types.
...
The functions in ctype are now properly camelcased and return bool
instead of int.
2011-06-12 16:59:48 -07:00
Walter Bright
046e1b36db
add source links
2011-02-06 15:46:50 -08:00
Don Clugston
84477a5d3e
Move Boost copyright declaration from ddoc to normal comment. Fixes ugly ddoc output.
2010-11-24 19:34:47 +00:00
Andrei Alexandrescu
b91c592ac8
Add pure to isalnum, isalpha, iscntrl, isdigit, islower, ispunct, isspace, isxdigit, isgraph, isprint, isascii, toupper
2009-10-26 22:41:15 +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
2ca77f63ac
made isupper and tolower pure.
2009-07-04 06:53:51 +00:00
Walter Bright
cf644a325a
add shared
2009-05-08 05:00:12 +00:00
Brad Roberts
8f79f3ec35
phobos 2.003
2007-09-10 07:28:23 +00:00
Brad Roberts
612a051fd4
phobos 1.005
2007-09-10 06:00:54 +00:00
Brad Roberts
164dc8159b
phobos 0.153
2007-09-10 05:17:15 +00:00
Brad Roberts
f5e542b7da
phobos 0.114
2007-09-10 04:31:54 +00:00
Brad Roberts
0e2e7543b5
phobos 0.92
2007-09-10 04:00:57 +00:00
Brad Roberts
224c570c1b
phobos 0.78
2007-09-10 03:43:40 +00:00
Brad Roberts
35a12fec2f
phobos 0.76
2007-09-10 03:11:55 +00:00
Brad Roberts
fa1bc52ba2
phobos 0.75
2007-09-10 03:06:06 +00:00