Move August removals to September.

Several deprecated items were listed for removal in August, but it's
looking likely that 2.060 will come out in August, and I'd prefer not to
have them removed for 2.060 given how many items are already in the
changelog, and they're already deprecated, so it'll only affect people
compiling with -d either way. So, I'm changing the ddoc comments to say
September instead of August. They'll be removed in 2.061.
This commit is contained in:
jmdavis 2012-07-23 23:11:07 -07:00
parent 2b71588327
commit d283d5735c
7 changed files with 52 additions and 52 deletions

View file

@ -8078,7 +8078,7 @@ unittest
/**
Forwards to $(D any) for backwards compatibility.
$(RED Scheduled for deprecation in August 2012. Please use $(D any) instead.)
$(RED Scheduled for deprecation in September 2012. Please use $(D any) instead.)
*/
bool canFind(alias pred, Range)(Range range)
{

View file

@ -647,7 +647,7 @@ receiveOnlyRet!(T) receiveOnly(T...)()
/**
* $(RED Deprecated. It will be removed in August 2012. Please use the version
* $(RED Deprecated. It will be removed in September 2012. Please use the version
* which takes a $(CXREF time, Duration) instead.)
*/
deprecated bool receiveTimeout(T...)( long ms, T ops )

View file

@ -416,7 +416,7 @@ unittest
}
/**
$(RED Deprecated. It will be removed in August 2012. Please define $(D opCast)
$(RED Deprecated. It will be removed in September 2012. Please define $(D opCast)
for user-defined types instead of a $(D to) function.
$(LREF to) will now use $(D opCast).)

View file

@ -1,7 +1,7 @@
// Written in the D programming language.
/**
* $(RED Deprecated. It will be removed in August 2012. Please use
* $(RED Deprecated. It will be removed in September 2012. Please use
* $(LINK2 std_ascii.html, std.ascii) instead.)
*
* Simple ASCII character classification functions.
@ -22,13 +22,13 @@ module std.ctype;
import std.ascii;
pragma(msg, "Notice: As of Phobos 2.058, std.ctype has been " ~
"deprecated. It will be removed in August 2012. " ~
"deprecated. It will be removed in September 2012. " ~
"Please use std.ascii instead.");
deprecated:
/**
* $(RED Deprecated. It will be removed in August 2012. Please use
* $(RED Deprecated. It will be removed in September 2012. Please use
* $(D std.ascii.isAlphaNum) instead.)
*
* Returns !=0 if c is a letter in the range (0..9, a..z, A..Z).
@ -36,7 +36,7 @@ deprecated:
pure int isalnum(dchar c) { return (c <= 0x7F) ? _ctype[c] & (_ALP|_DIG) : 0; }
/**
* $(RED Deprecated. It will be removed in August 2012. Please use
* $(RED Deprecated. It will be removed in September 2012. Please use
* $(D std.ascii.isAlpha) instead.)
*
* Returns !=0 if c is an ascii upper or lower case letter.
@ -44,7 +44,7 @@ pure int isalnum(dchar c) { return (c <= 0x7F) ? _ctype[c] & (_ALP|_DIG) : 0; }
pure int isalpha(dchar c) { return (c <= 0x7F) ? _ctype[c] & (_ALP) : 0; }
/**
* $(RED Deprecated. It will be removed in August 2012. Please use
* $(RED Deprecated. It will be removed in September 2012. Please use
* $(D std.ctype.ascii.isControl) instead.)
*
* Returns !=0 if c is a control character.
@ -52,7 +52,7 @@ pure int isalpha(dchar c) { return (c <= 0x7F) ? _ctype[c] & (_ALP) : 0; }
pure int iscntrl(dchar c) { return (c <= 0x7F) ? _ctype[c] & (_CTL) : 0; }
/**
* $(RED Deprecated. It will be removed in August 2012. Please use
* $(RED Deprecated. It will be removed in September 2012. Please use
* $(D std.ascii.isDigit) instead.)
*
* Returns !=0 if c is a digit.
@ -60,7 +60,7 @@ pure int iscntrl(dchar c) { return (c <= 0x7F) ? _ctype[c] & (_CTL) : 0; }
pure int isdigit(dchar c) { return (c <= 0x7F) ? _ctype[c] & (_DIG) : 0; }
/**
* $(RED Deprecated. It will be removed in August 2012. Please use
* $(RED Deprecated. It will be removed in September 2012. Please use
* $(D std.ascii.isLower) instead.)
*
* Returns !=0 if c is lower case ascii letter.
@ -68,7 +68,7 @@ pure int isdigit(dchar c) { return (c <= 0x7F) ? _ctype[c] & (_DIG) : 0; }
pure int islower(dchar c) { return (c <= 0x7F) ? _ctype[c] & (_LC) : 0; }
/**
* $(RED Deprecated. It will be removed in August 2012. Please use
* $(RED Deprecated. It will be removed in September 2012. Please use
* $(D std.ascii.isPunctuation) instead.)
*
* Returns !=0 if c is a punctuation character.
@ -76,7 +76,7 @@ pure int islower(dchar c) { return (c <= 0x7F) ? _ctype[c] & (_LC) : 0; }
pure int ispunct(dchar c) { return (c <= 0x7F) ? _ctype[c] & (_PNC) : 0; }
/**
* $(RED Deprecated. It will be removed in August 2012. Please use
* $(RED Deprecated. It will be removed in September 2012. Please use
* $(D std.ascii.isWhite) instead.)
*
* Returns !=0 if c is a space, tab, vertical tab, form feed,
@ -85,7 +85,7 @@ pure int ispunct(dchar c) { return (c <= 0x7F) ? _ctype[c] & (_PNC) : 0; }
pure int isspace(dchar c) { return (c <= 0x7F) ? _ctype[c] & (_SPC) : 0; }
/**
* $(RED Deprecated. It will be removed in August 2012. Please use
* $(RED Deprecated. It will be removed in September 2012. Please use
* $(D std.ascii.isUpper) instead.)
*
* Returns !=0 if c is an upper case ascii character.
@ -93,7 +93,7 @@ pure int isspace(dchar c) { return (c <= 0x7F) ? _ctype[c] & (_SPC) : 0; }
pure int isupper(dchar c) { return (c <= 0x7F) ? _ctype[c] & (_UC) : 0; }
/**
* $(RED Deprecated. It will be removed in August 2012. Please use
* $(RED Deprecated. It will be removed in September 2012. Please use
* $(D std.ascii.isHexDigit) instead.)
*
* Returns !=0 if c is a hex digit (0..9, a..f, A..F).
@ -101,7 +101,7 @@ pure int isupper(dchar c) { return (c <= 0x7F) ? _ctype[c] & (_UC) : 0; }
pure int isxdigit(dchar c) { return (c <= 0x7F) ? _ctype[c] & (_HEX) : 0; }
/**
* $(RED Deprecated. It will be removed in August 2012. Please use
* $(RED Deprecated. It will be removed in September 2012. Please use
* $(D std.ascii.isGraphical) instead.)
*
* Returns !=0 if c is a printing character except for the space character.
@ -109,7 +109,7 @@ pure int isxdigit(dchar c) { return (c <= 0x7F) ? _ctype[c] & (_HEX) : 0; }
pure int isgraph(dchar c) { return (c <= 0x7F) ? _ctype[c] & (_ALP|_DIG|_PNC) : 0; }
/**
* $(RED Deprecated. It will be removed in August 2012. Please use
* $(RED Deprecated. It will be removed in September 2012. Please use
* $(D std.ascii.isPrintable) instead.)
*
* Returns !=0 if c is a printing character including the space character.
@ -117,7 +117,7 @@ pure int isgraph(dchar c) { return (c <= 0x7F) ? _ctype[c] & (_ALP|_DIG|_PNC) :
pure int isprint(dchar c) { return (c <= 0x7F) ? _ctype[c] & (_ALP|_DIG|_PNC|_BLK) : 0; }
/**
* $(RED Deprecated. It will be removed in August 2012. Please use
* $(RED Deprecated. It will be removed in September 2012. Please use
* $(D std.ascii.isASCII) instead.)
*
* Returns !=0 if c is in the ascii character set, i.e. in the range 0..0x7F.
@ -126,7 +126,7 @@ pure int isascii(dchar c) { return c <= 0x7F; }
/**
* $(RED Deprecated. It will be removed in August 2012. Please use
* $(RED Deprecated. It will be removed in September 2012. Please use
* $(D std.ascii.toLower) instead.)
*
* If c is an upper case ascii character,
@ -139,7 +139,7 @@ pure dchar tolower(dchar c)
/**
* $(RED Deprecated. It will be removed in August 2012. Please use
* $(RED Deprecated. It will be removed in September 2012. Please use
* $(D std.ascii.toUpper) instead.)
*
* If c is a lower case ascii character,

View file

@ -7393,7 +7393,7 @@ assert(SysTime(DateTime(2000, 6, 4, 12, 22, 9)).daysInMonth == 30);
}
/++
$(RED Deprecated. It will be removed in August 2012.
$(RED Deprecated. It will be removed in September 2012.
Please use daysInMonth instead.)
+/
deprecated @property ubyte endOfMonthDay() const nothrow
@ -12406,7 +12406,7 @@ assert(Date(2000, 6, 4).daysInMonth == 30);
}
/++
$(RED Deprecated. It will be removed in August 2012.
$(RED Deprecated. It will be removed in September 2012.
Please use daysInMonth instead.)
+/
deprecated @property ubyte endOfMonthDay() const pure nothrow
@ -17299,7 +17299,7 @@ assert(DateTime(Date(2000, 6, 4), TimeOfDay(12, 22, 9)).daysInMonth == 30);
}
/++
$(RED Deprecated. It will be removed in August 2012.
$(RED Deprecated. It will be removed in September 2012.
Please use daysInMonth instead.)
+/
deprecated @property ubyte endOfMonthDay() const pure nothrow

View file

@ -70,7 +70,7 @@ class StringException : Exception
/* ************* Constants *************** */
/++
$(RED Deprecated. It will be removed in August 2012.
$(RED Deprecated. It will be removed in September 2012.
Please use $(XREF ascii, hexDigits) instead.)
0..9A..F
@ -78,7 +78,7 @@ class StringException : Exception
deprecated immutable char[16] hexdigits = "0123456789ABCDEF";
/++
$(RED Deprecated. It will be removed in August 2012.
$(RED Deprecated. It will be removed in September 2012.
Please use $(XREF ascii, _digits) instead.)
0..9
@ -86,7 +86,7 @@ deprecated immutable char[16] hexdigits = "0123456789ABCDEF";
deprecated immutable digits = "0123456789";
/++
$(RED Deprecated. It will be removed in August 2012.
$(RED Deprecated. It will be removed in September 2012.
Please use $(XREF ascii, octDigits) instead.)
0..7
@ -94,7 +94,7 @@ deprecated immutable digits = "0123456789";
deprecated immutable char[8] octdigits = "01234567";
/++
$(RED Deprecated. It will be removed in August 2012.
$(RED Deprecated. It will be removed in September 2012.
Please use $(XREF ascii, _lowercase) instead.)
a..z
@ -102,7 +102,7 @@ deprecated immutable char[8] octdigits = "01234567";
deprecated immutable char[26] lowercase = "abcdefghijklmnopqrstuvwxyz";
/++
$(RED Deprecated. It will be removed in August 2012.
$(RED Deprecated. It will be removed in September 2012.
Please use $(XREF ascii, _letters) instead.)
A..Za..z
@ -111,7 +111,7 @@ deprecated immutable char[52] letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"abcdefghijklmnopqrstuvwxyz";
/++
$(RED Deprecated. It will be removed in August 2012.
$(RED Deprecated. It will be removed in September 2012.
Please use $(XREF ascii, _uppercase) instead.)
A..Z
@ -119,7 +119,7 @@ deprecated immutable char[52] letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
deprecated immutable char[26] uppercase = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
/++
$(RED Deprecated. It will be removed in August 2012.
$(RED Deprecated. It will be removed in September 2012.
Please use $(XREF ascii, _whitespace) instead.)
ASCII whitespace.
@ -127,7 +127,7 @@ deprecated immutable char[26] uppercase = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
deprecated alias std.ascii.whitespace whitespace;
/++
$(RED Deprecated. It will be removed in August 2012.
$(RED Deprecated. It will be removed in September 2012.
Please use $(XREF uni, lineSep) instead.)
UTF line separator.
@ -135,7 +135,7 @@ deprecated alias std.ascii.whitespace whitespace;
deprecated enum dchar LS = '\u2028';
/++
$(RED Deprecated. It will be removed in August 2012.
$(RED Deprecated. It will be removed in September 2012.
Please use $(XREF uni, paraSep) instead.)
UTF paragraph separator.
@ -143,7 +143,7 @@ deprecated enum dchar LS = '\u2028';
deprecated enum dchar PS = '\u2029';
/++
$(RED Deprecated. It will be removed in August 2012.
$(RED Deprecated. It will be removed in September 2012.
Please use $(XREF ascii, _newline) instead.)
Newline sequence for this system.
@ -151,7 +151,7 @@ deprecated enum dchar PS = '\u2029';
deprecated alias std.ascii.newline newline;
/**********************************
* $(RED Deprecated. It will be removed in August 2012.
* $(RED Deprecated. It will be removed in September 2012.
* Please use $(XREF ascii, isWhite) or $(XREF uni, isWhite) instead.)
*
* Returns true if c is ASCII whitespace or unicode LS or PS.
@ -838,7 +838,7 @@ unittest
/************************************
* $(RED Deprecated. It will be removed in August 2012.
* $(RED Deprecated. It will be removed in September 2012.
* Please use $(D toLower) instead.)
*
* Convert string s[] to lower case.
@ -896,7 +896,7 @@ unittest
}
/**
$(RED Deprecated. It will be removed in August 2012.
$(RED Deprecated. It will be removed in September 2012.
Please use $(D toLowerInPlace) instead.)
Converts $(D s) to lowercase in place.
@ -1011,7 +1011,7 @@ unittest
}
/************************************
* $(RED Deprecated. It will be removed in August 2012.
* $(RED Deprecated. It will be removed in September 2012.
* Please use $(D toUpper) instead.)
*
* Convert string s[] to upper case.
@ -1069,7 +1069,7 @@ unittest
}
/**
$(RED Deprecated. It will be removed in August 2012.
$(RED Deprecated. It will be removed in September 2012.
Please use $(D toUpperInPlace) instead.)
Converts $(D s) to uppercase in place.
@ -1248,7 +1248,7 @@ unittest
/********************************************
* $(RED Deprecated. It will be removed in August 2012.)
* $(RED Deprecated. It will be removed in September 2012.)
*
* Capitalize all words in string s[].
* Remove leading and trailing whitespace.
@ -1322,7 +1322,7 @@ deprecated S repeat(S)(S s, size_t n)
/**************************************
* $(RED Deprecated. It will be removed in August 2012.
* $(RED Deprecated. It will be removed in September 2012.
* Please use $(LREF splitLines) instead.)
*
* Split s[] into an array of lines,
@ -1425,7 +1425,7 @@ unittest
/*****************************************
* $(RED Deprecated. It will be removed in August 2012.
* $(RED Deprecated. It will be removed in September 2012.
* Please use $(D stripLeft) instead.)
*
* Strips leading whitespace.
@ -1481,7 +1481,7 @@ unittest
/*****************************************
* $(RED Deprecated. It will be removed in August 2012.
* $(RED Deprecated. It will be removed in September 2012.
* Please use $(D stripRight) instead.)
*
* Strips trailing whitespace.
@ -1876,7 +1876,7 @@ unittest
/*******************************************
* $(RED Deprecated. It will be removed in August 2012.
* $(RED Deprecated. It will be removed in September 2012.
* Please use $(D leftJustify) instead.)
*
* Left justify string s[] in field width chars wide.
@ -1922,7 +1922,7 @@ S leftJustify(S)(S s, size_t width, dchar fillChar = ' ') @trusted
/*******************************************
* $(RED Deprecated. It will be removed in August 2012.
* $(RED Deprecated. It will be removed in September 2012.
* Please use $(D rightJustify) instead.)
*
* Left right string s[] in field width chars wide.
@ -2033,7 +2033,7 @@ unittest
/*****************************************
* $(RED Deprecated. It will be removed in August 2012.
* $(RED Deprecated. It will be removed in September 2012.
* Please use $(D rightJustify) with a fill character of '0' instead.)
*
* Same as rjustify(), but fill with '0's.
@ -2064,7 +2064,7 @@ body
/************************************************
* $(RED Deprecated. It will be removed in August 2012.
* $(RED Deprecated. It will be removed in September 2012.
* Please use $(D detab) instead.)
*
* Replace tabs with the appropriate number of spaces.
@ -3701,7 +3701,7 @@ bool isNumeric(const(char)[] s, in bool bAllowSep = false)
}
/++
$(RED Deprecated. It will be removed in August 2012.)
$(RED Deprecated. It will be removed in September 2012.)
Allow any object as a parameter
+/
@ -3711,7 +3711,7 @@ deprecated bool isNumeric(...)
}
/++
$(RED Deprecated. It will be removed in August 2012.)
$(RED Deprecated. It will be removed in September 2012.)
Check only the first parameter, all others will be ignored.
+/

View file

@ -45,7 +45,7 @@ bool isWhite(dchar c) @safe pure nothrow
/++
$(RED Deprecated. It will be removed in August 2012. Please use
$(RED Deprecated. It will be removed in September 2012. Please use
$(D isLower) instead.)
Return whether $(D c) is a Unicode lowercase character.
@ -68,7 +68,7 @@ bool isLower(dchar c) @safe pure nothrow
/++
$(RED Deprecated. It will be removed in August 2012. Please use
$(RED Deprecated. It will be removed in September 2012. Please use
$(D isUpper) instead.)
Return whether $(D c) is a Unicode uppercase character.
@ -91,7 +91,7 @@ bool isUpper(dchar c) @safe pure nothrow
/++
$(RED Deprecated. It will be removed in August 2012. Please use
$(RED Deprecated. It will be removed in September 2012. Please use
$(D toLower) instead.)
If $(D c) is a Unicode uppercase character, then its lowercase equivalent
@ -163,7 +163,7 @@ dchar toLower(dchar c) @safe pure nothrow
/++
$(RED Deprecated. It will be removed in August 2012. Please use
$(RED Deprecated. It will be removed in September 2012. Please use
$(D toUpper) instead.)
If $(D c) is a Unicode lowercase character, then its uppercase equivalent
@ -235,7 +235,7 @@ dchar toUpper(dchar c) @safe pure nothrow
/++
$(RED Deprecated. It will be removed in August 2012. Please use
$(RED Deprecated. It will be removed in September 2012. Please use
$(D isAlpha) instead.)
Returns whether $(D c) is a Unicode alpha character