Commit graph

83 commits

Author SHA1 Message Date
alexrp
b202180295 Remove all uses of sizediff_t in favor of ptrdiff_t. 2012-10-15 04:24:09 +02:00
jmdavis
27469366a7 Fix modules which incorrectly use std.string's public imports.
Now, they should be correctly importing for the functions publicly
imported by std.string so that if those public imports are ever removed,
they won't break.
2012-09-30 03:29:37 -07:00
jmdavis
85ee64d968 Changed deprecation not on std.regexp.
One of the overloads of std.file.listDir still uses std.regexp and
doesn't have a replacement yet. It's scheduled for deprecation with no
date (since it has no proper replacement yet). So, we can't remove
std.regexp in March as scheduled. We'll remove it after the std.file
issue has been resolved.
2012-03-10 19:09:35 -08:00
jmdavis
091609ca1e Moved February deprecations to March.
Having the January deprecations and February deprecations in the same
month seems a bit much to me, since we managed to have both of those
months have quite a few, whereas the next few months have very few if
any. And we're close to release too, so I'd prefer to avoid causing
issues by deprecating them now.
2012-02-11 02:44:46 -08:00
Walter Bright
380ae65511 remove empty statements 2011-12-29 00:05:45 -08:00
David Nadlinger
e312f9898b Strict @property syntax compliance.
This enables the test suite to build with the -property switch enabled.

std.cpuid: vendor()/processor() have not been converted to properties in accordance to core.cpuid.
std.xml: Element.text() cannot be a property due to the optional parameter.
2011-12-04 09:56:14 +01:00
jmdavis
bdbafb9e96 Deprecated std.regexp. 2011-08-09 00:02:56 -07:00
jmdavis
dce4147625 Fixed some deprecation messages. 2011-07-08 01:13:45 -07:00
jmdavis
15fb65f1bb Reverted toAsciiLower and toAsciiUpper to toLower and toUpper. 2011-06-22 19:22:27 -07:00
jmdavis
25b755a843 Reverted isAsciiWhite to isWhite. 2011-06-22 19:20:15 -07:00
jmdavis
34bce538ce Reverted isAsciiLower and isAsciiUpper to isLower and isUpper. 2011-06-22 19:13:45 -07:00
jmdavis
2d310e5e20 Changed the names of some of the std.ascii functions.
isWhite, isLower, isUpper, toLower, and toUpper now have Ascii in their
name, which matches what std.unit does with its versions of those
functions. Hopefully, it should also reduce bugs due to using the wrong
function between the ASCII and unicode versions by making the difference
more obvious.
2011-06-19 18:41:00 -07:00
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
30069ea6f0 Replaced calls to std.string and std.ctype's toupper with their toUpper counterparts. 2011-06-12 16:59:52 -07:00
jmdavis
654f35a677 Replaced calls to std.string and std.ctype's tolower with their toLower counterparts. 2011-06-12 16:59:52 -07:00
jmdavis
d10ee6c2f6 Replaced calls to std.ctype.islower with isLower. 2011-06-12 16:59:51 -07:00
jmdavis
19ae2b4998 Replace calls to std.ctype.isdigt with std.ctype.isDigit. 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
76e1cfd2e9 Replaced calls to std.ctype.isspace with std.ctype.isWhite.
In a few places, I replaced it with std.uni.isUniWhite, but for the most
part, I replaced it with std.ctype.isWhite.
2011-06-12 16:59:50 -07:00
Walter Bright
5a517b0095 remove case fallthrough 2011-06-03 19:41:52 -07:00
Walter Bright
046e1b36db add source links 2011-02-06 15:46:50 -08:00
Andrei Alexandrescu
8b361fb217 Moved replace from string to array 2011-01-19 09:04:29 +00:00
Brad Roberts
2c2fc98182 Fix 64 bit issues throughout regex and regexp and enable those tests 2011-01-18 08:41:35 +00:00
Andrei Alexandrescu
3cdb8dabe0 Removed last occurrences of std.algorithm.indexOf 2011-01-17 08:40:01 +00:00
Andrei Alexandrescu
cd62445240 Undeprecated std.regexp 2011-01-03 03:21:09 +00:00
Andrei Alexandrescu
1f6a5f39d1 Deprecated std.regexp 2011-01-02 23:31:31 +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
Brad Roberts
a1d52bdc2b Add support for MODEL=64 to the posix.mak file.
Fix a couple 64 bit issues.
2010-12-04 08:31:35 +00: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
f4f87cb435 Unlisted bug in public int find(string) 2010-11-16 19:25:19 +00:00
David Simcha
8331c70969 More 64 fixes for semantic errors that only show up when templates are instantiated via unittests. Now I'm actually serious about Phobos passing semantic analysis, except for a few modules due to weird druntime issues. 2010-11-10 05:25:50 +00:00
Andrei Alexandrescu
89a9d5de84 interim fix for bug 941 2010-09-25 08:38:35 +00:00
Andrei Alexandrescu
3f2b8c12ea 64-bit compatibility work 2010-08-22 20:55:22 +00:00
Andrei Alexandrescu
15b081e4ee Qualified indexOf with std.algorithm. 2010-06-08 17:33:23 +00:00
Shin Fujishiro
525b001ca5 Fixed unittest failure in regex and regexp.
Recent druntime embeds backtrace information in Exception.toString(). So the actual error message will not be identical to the argument passed to error().
2010-05-26 06:00:04 +00:00
Masahiro Nakagawa
cab2b77249 opApply's delegate needs to be 'scope' for avoiding heap allocation 2010-05-18 10:58:01 +00:00
Walter Bright
d340dab9f3 inout to ref 2009-12-19 07:46:41 +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
dfef2a7214 Replaced next, retreat, head, and toe with (respectively) popFront, popBack, front, and back 2009-04-13 19:10:58 +00:00
Andrei Alexandrescu
9eab2e47a5 merged Windows/Posix specific code into generic 2009-04-06 20:44:48 +00:00
Andrei Alexandrescu
bf7a7504ac std.c -> core.stdc fixes 2009-04-06 18:31:30 +00:00
Andrei Alexandrescu
4015aa120e * Scheduled for deprecation. Use std.regex instead. 2009-04-06 17:33:36 +00:00
Don Clugston
4937d6c6f1 Removed unnecessary assert(0) to allow compilation with -w. 2009-03-30 08:12:36 +00:00
Brad Roberts
22c437c8b3 Apply attachment from bug 2570 from Aziz to cleanup some bad html in ddoc comments 2009-03-29 06:32:11 +00:00
Walter Bright
9725636a64 get unit tests to work 2008-11-05 02:57:49 +00:00
Walter Bright
52686b0f17 change opEquals to return bool 2008-06-25 06:25:40 +00:00
Andrei Alexandrescu
29f3cc23f7 std.math: minor change in approxEqual.
std.contracts: added functions pointsTo()

std.numeric: minor unittest fixes.

std.bitmanip: fixed code bloat issue, reintroduced FloatRep and DoubleRep.

std.conv: minor simplification of implementation.

std.regexp: added reference to ECMA standard in the documentation.

std.getopt: changed return type from bool to void, error is signaled by use of exceptions.

std.functional: added unaryFun, binaryFun, adjoin.

std.string: updated documentation, changed code to compile with warnings enabled.

std.traits: changed FieldTypeTuple; added RepresentationTypeTuple, hasAliasing; fixed bug 1826; added call to flush() from within write; fixed unlisted bug in lines().

std.algorithm: added map, reduce, filter, inPlace, move, swap, overwriteAdjacent, find, findRange, findBoyerMoore, findAdjacent, findAmong, findAmongSorted, canFind, canFindAmong, canFindAmongSorted, count, equal, overlap, min, max, mismatch, EditOp, none, substitute, insert, remove, levenshteinDistance, levenshteinDistanceAndPath, copy, copyIf, iterSwap, swapRanges, reverse, rotate, SwapStrategy, Unstable, Semistable, Stable, eliminate, partition, nthElement, sort, schwartzSort, partialSort, isSorted, makeIndex, schwartzMakeIndex, lowerBound, upperBound, equalRange, canFindSorted.

std.thread: fixed so it compiles with warnings enabled.

std.file: made getSize() faster under Linux.

std.random: fixed so it compiles with warnings enabled; improved function uniform so it deduces type generated from its arguments.

std.format: added fixes to make formatting work with const data.

std.path: minor documentation changes.
2008-02-19 07:00:56 +00:00
Walter Bright
b2a37b2833 updates for new const regime 2007-12-21 00:01:31 +00:00
Brad Roberts
09916d399a Initial merge of candidate to trunk for r459:513 2007-11-27 20:28:40 +00:00
Brad Roberts
4e2927ced6 silence unnecessary unittest output 2007-10-22 08:21:33 +00:00