diff --git a/changelog.dd b/changelog.dd index c4add693019..772048bce57 100644 --- a/changelog.dd +++ b/changelog.dd @@ -69,7 +69,7 @@ $(LI $(LNAME2 process, Process creation in `std.process` was sped up on Posix.) $(P Previously, Posix systems would attempt to close every file descriptor from 3 to the maximum file descriptor number if `inheritFDs` was not specified with `spawnProcess`, `pipeProcess`, etc. - $(STDMODREF process, std.process) now uses `poll()` to determine which + $(MREF std,process) now uses `poll()` to determine which descriptors need closing. ) ) @@ -155,7 +155,7 @@ $(LI $(LNAME2 slice_ptr, `ptr` property and public constructor were added to soon as LDC (LLVM D compiler) supports D version 2.072.. ) $(P Public constructor for `Slice` was added to support - $(STDMODREF ndslice, std.experimental.ndslice) integration + $(MREF std,experimental,ndslice) integration with other languages and libraries such as Julia language and NumPy library. ) ) @@ -168,7 +168,7 @@ $(LI $(LNAME2 slice_alloc, `slice`, `shape`, `ndarray`, and other utilities $(REF makeSlice, std,experimental,ndslice,slice), $(REF ndarray, std,experimental,ndslice,slice), and $(REF makeNdarray, std,experimental,ndslice,slice) - allocation utilities were added to $(STDMODREF ndslice.slice, std.experimental.ndslice) + allocation utilities were added to $(MREF std,experimental,ndslice) ) $(P Example: Transposing common 2D array using `ndslice`) ----- @@ -251,12 +251,4 @@ Macros: RELATIVE_LINK2=$+ LNAME2=$+ - STDMODREF = $2 - XREF = $2 - CXREF = $2 - OXREF = $2 - NXREF = $2 - NCXREF = $2 - NOXREF = $2 - BOOKTABLE = $+
$1
diff --git a/std/concurrency.d b/std/concurrency.d index 866c79c3f9c..35f770b3379 100644 --- a/std/concurrency.d +++ b/std/concurrency.d @@ -825,11 +825,11 @@ unittest /** * Tries to receive but will give up if no matches arrive within duration. - * Won't wait at all if provided $(CXREF time, Duration) is negative. + * Won't wait at all if provided $(REF Duration, core,time) is negative. * * Same as $(D receive) except that rather than wait forever for a message, * it waits until either it receives a message or the given - * $(CXREF time, Duration) has passed. It returns $(D true) if it received a + * $(REF Duration, core,time) has passed. It returns $(D true) if it received a * message and $(D false) if it timed out waiting for one. */ bool receiveTimeout(T...)( Duration duration, T ops ) diff --git a/std/datetime.d b/std/datetime.d index 4033574784a..94d30f8b7d2 100644 --- a/std/datetime.d +++ b/std/datetime.d @@ -18,8 +18,8 @@ Closely related to std.datetime is $(D core.time), and some of the time types used in std.datetime come from there - such as - $(CXREF time, Duration), $(CXREF time, TickDuration), and - $(CXREF time, FracSec). + $(REF Duration, core,time), $(REF TickDuration, core,time), and + $(REF FracSec, core,time). core.time is publically imported into std.datetime, it isn't necessary to import it separately. @@ -82,10 +82,10 @@ auto restoredTime = SysTime.fromISOExtString(timeString); weren't). Note: - $(LREF DateTimeException) is an alias for $(CXREF time, TimeException), + $(LREF DateTimeException) is an alias for $(REF TimeException, core,time), so you don't need to worry about core.time functions and std.datetime functions throwing different exception types (except in the rare case - that they throw something other than $(CXREF time, TimeException) or + that they throw something other than $(REF TimeException, core,time) or $(LREF DateTimeException)). See_Also: @@ -294,7 +294,7 @@ immutable string[] timeStrings = ["hnsecs", "usecs", "msecs", "seconds", "minute //============================================================================== /++ - Exception type used by std.datetime. It's an alias to $(CXREF time, TimeException). + Exception type used by std.datetime. It's an alias to $(REF TimeException, core,time). Either can be caught without concern about which module it came from. +/ @@ -312,7 +312,7 @@ public: Returns the current time in the given time zone. Params: - clockType = The $(CXREF time, ClockType) indicates which system + clockType = The $(REF ClockType, core,time) indicates which system clock to use to get the current time. Very few programs need to use anything other than the default. tz = The time zone for the SysTime that's returned. @@ -365,7 +365,7 @@ public: current time. Params: - clockType = The $(CXREF time, ClockType) indicates which system + clockType = The $(REF ClockType, core,time) indicates which system clock to use to get the current time. Very few programs need to use anything other than the default. @@ -515,8 +515,8 @@ public: // @@@DEPRECATED_2017-01@@@ /++ - $(RED Deprecated. $(CXREF time, TickDuration) is going to be deprecated - in favor of $(CXREF time, MonoTime). Use $(D MonoTime.currTime) + $(RED Deprecated. $(REF TickDuration, core,time) is going to be deprecated + in favor of $(REF MonoTime, core,time). Use $(D MonoTime.currTime) instead. currSystemTick will be removed in January 2017.) The current system tick. The number of ticks per second varies from @@ -547,8 +547,8 @@ public: // @@@DEPRECATED_2017-01@@@ /++ - $(RED Deprecated. $(CXREF time, TickDuration) is going to be deprecated - in favor of $(CXREF time, MonoTime). To duplicate the behavior + $(RED Deprecated. $(REF TickDuration, core,time) is going to be deprecated + in favor of $(REF MonoTime, core,time). To duplicate the behavior of currAppTick with $(D MonoTime), store the value of $(D MonoTime.currTime) when the program starts, and then subtract it from the current value of $(D MonoTime.currTime) in order to @@ -750,7 +750,7 @@ public: // @@@DEPRECATED_2016-08@@@ /++ $(RED Deprecated. Please use the overload which takes a - $(CXREF time, Duration) for the fractional seconds. This overload + $(REF Duration, core,time) for the fractional seconds. This overload will be removed in August 2016.) Params: @@ -2175,8 +2175,8 @@ public: // @@@DEPRECATED_2016-08@@@ /++ $(RED Deprecated. Please use $(LREF fracSecs) instead of fracSec. It - uses a $(CXREF time, Duration) to represent the fractional seconds - instead of a $(CXREF time, FracSec). This overload will be removed + uses a $(REF Duration, core,time) to represent the fractional seconds + instead of a $(REF FracSec, core,time). This overload will be removed in August 2016.) Fractional seconds past the second. @@ -2249,8 +2249,8 @@ public: // @@@DEPRECATED_2016-08@@@ /++ $(RED Deprecated. Please use $(LREF fracSecs) instead of fracSec. It - uses a $(CXREF time, Duration) to represent the fractional seconds - instead of a $(CXREF time, FracSec). This overload will be removed + uses a $(REF Duration, core,time) to represent the fractional seconds + instead of a $(REF FracSec, core,time). This overload will be removed in August 2016.) Fractional seconds past the second. @@ -6264,7 +6264,7 @@ public: /++ - Gives the result of adding or subtracting a $(CXREF time, Duration) from + Gives the result of adding or subtracting a $(REF Duration, core,time) from this $(LREF SysTime). The legal types of arithmetic for $(LREF SysTime) using this operator @@ -6276,7 +6276,7 @@ public: ) Params: - duration = The $(CXREF time, Duration) to add to or subtract from + duration = The $(REF Duration, core,time) to add to or subtract from this $(LREF SysTime). +/ SysTime opBinary(string op)(Duration duration) @safe const pure nothrow @@ -6476,12 +6476,12 @@ public: // @@@DEPRECATED_2017-01@@@ /++ - $(RED Deprecated. $(CXREF time, TickDuration) is going to be deprecated - in favor of $(CXREF time, MonoTime) and $(CXREF time, Duration). + $(RED Deprecated. $(REF TickDuration, core,time) is going to be deprecated + in favor of $(REF MonoTime, core,time) and $(REF Duration, core,time). Use $(D Duration) instead. This overload will be removed in January 2017.) - Defines + and - with $(CXREF time, TickDuration). + Defines + and - with $(REF TickDuration, core,time). +/ deprecated("Use Duration instead of TickDuration.") SysTime opBinary(string op)(TickDuration td) @safe const pure nothrow @@ -6511,7 +6511,7 @@ public: /++ - Gives the result of adding or subtracting a $(CXREF time, Duration) from + Gives the result of adding or subtracting a $(REF Duration, core,time) from this $(LREF SysTime), as well as assigning the result to this $(LREF SysTime). @@ -6523,7 +6523,7 @@ public: ) Params: - duration = The $(CXREF time, Duration) to add to or subtract from + duration = The $(REF Duration, core,time) to add to or subtract from this $(LREF SysTime). +/ ref SysTime opOpAssign(string op)(Duration duration) @safe pure nothrow @@ -6716,12 +6716,12 @@ public: // @@@DEPRECATED_2017-01@@@ /++ - $(RED Deprecated. $(CXREF time, TickDuration) is going to be deprecated - in favor of $(CXREF time, MonoTime) and $(CXREF time, Duration). + $(RED Deprecated. $(REF TickDuration, core,time) is going to be deprecated + in favor of $(REF MonoTime, core,time) and $(REF Duration, core,time). Use $(D Duration) instead. This overload will be removed in January 2017.) - Defines += and -= with $(CXREF time, TickDuration). + Defines += and -= with $(REF TickDuration, core,time). +/ deprecated("Use Duration instead of TickDuration.") ref SysTime opOpAssign(string op)(TickDuration td) @safe pure nothrow @@ -6864,9 +6864,9 @@ public: To get the difference in years, subtract the year property of two $(LREF SysTime)s. To get the difference in days or weeks, - subtract the $(LREF SysTime)s themselves and use the $(CXREF time, Duration) + subtract the $(LREF SysTime)s themselves and use the $(REF Duration, core,time) that results. Because converting between months and smaller - units requires a specific date (which $(CXREF time, Duration)s don't have), + units requires a specific date (which $(REF Duration, core,time)s don't have), getting the difference in months requires some math using both the year and month properties, so this is a convenience function for getting the difference in months. @@ -11636,8 +11636,7 @@ public: /++ - Gives the result of adding or subtracting a $(CXREF time, Duration) from - this $(LREF Date). + Gives the result of adding or subtracting a $(REF Duration, core,time) from The legal types of arithmetic for $(LREF Date) using this operator are @@ -11647,7 +11646,7 @@ public: ) Params: - duration = The $(CXREF time, Duration) to add to or subtract from + duration = The $(REF Duration, core,time) to add to or subtract from this $(LREF Date). +/ Date opBinary(string op)(Duration duration) @safe const pure nothrow @@ -11722,12 +11721,12 @@ public: // @@@DEPRECATED_2017-01@@@ /++ - $(RED Deprecated. $(CXREF time, TickDuration) is going to be deprecated - in favor of $(CXREF time, MonoTime) and $(CXREF time, Duration). + $(RED Deprecated. $(REF TickDuration, core,time) is going to be deprecated + in favor of $(REF MonoTime, core,time) and $(REF Duration, core,time). Use $(D Duration) instead. This overload will be removed in January 2017.) - Defines + and - with $(CXREF time, TickDuration). + Defines + and - with $(REF TickDuration, core,time). +/ deprecated("Use Duration instead of TickDuration.") Date opBinary(string op)(TickDuration td) @safe const pure nothrow @@ -11756,7 +11755,7 @@ public: /++ - Gives the result of adding or subtracting a $(CXREF time, Duration) from + Gives the result of adding or subtracting a $(REF Duration, core,time) from this $(LREF Date), as well as assigning the result to this $(LREF Date). The legal types of arithmetic for $(LREF Date) using this operator are @@ -11767,7 +11766,7 @@ public: ) Params: - duration = The $(CXREF time, Duration) to add to or subtract from + duration = The $(REF Duration, core,time) to add to or subtract from this $(LREF Date). +/ ref Date opOpAssign(string op)(Duration duration) @safe pure nothrow @@ -11836,12 +11835,12 @@ public: // @@@DEPRECATED_2017-01@@@ /++ - $(RED Deprecated. $(CXREF time, TickDuration) is going to be deprecated - in favor of $(CXREF time, MonoTime) and $(CXREF time, Duration). + $(RED Deprecated. $(REF TickDuration, core,time) is going to be deprecated + in favor of $(REF MonoTime, core,time) and $(REF Duration, core,time). Use $(D Duration) instead. This overload will be removed in January 2017.) - Defines += and -= with $(CXREF time, TickDuration). + Defines += and -= with $(REF TickDuration, core,time). +/ deprecated("Use Duration instead of TickDuration.") ref Date opOpAssign(string op)(TickDuration td) @safe pure nothrow @@ -11931,9 +11930,9 @@ public: To get the difference in years, subtract the year property of two $(LREF SysTime)s. To get the difference in days or weeks, - subtract the $(LREF SysTime)s themselves and use the $(CXREF time, Duration) + subtract the $(LREF SysTime)s themselves and use the $(REF Duration, core,time) that results. Because converting between months and smaller - units requires a specific date (which $(CXREF time, Duration)s don't have), + units requires a specific date (which $(REF Duration, core,time)s don't have), getting the difference in months requires some math using both the year and month properties, so this is a convenience function for getting the difference in months. @@ -14109,7 +14108,7 @@ public: /++ - Gives the result of adding or subtracting a $(CXREF time, Duration) from + Gives the result of adding or subtracting a $(REF Duration, core,time) from this $(LREF TimeOfDay). The legal types of arithmetic for $(LREF TimeOfDay) using this operator @@ -14121,7 +14120,7 @@ public: ) Params: - duration = The $(CXREF time, Duration) to add to or subtract from + duration = The $(REF Duration, core,time) to add to or subtract from this $(LREF TimeOfDay). +/ TimeOfDay opBinary(string op)(Duration duration) @safe const pure nothrow @@ -14192,12 +14191,12 @@ public: // @@@DEPRECATED_2017-01@@@ /++ - $(RED Deprecated. $(CXREF time, TickDuration) is going to be deprecated - in favor of $(CXREF time, MonoTime) and $(CXREF time, Duration). + $(RED Deprecated. $(REF TickDuration, core,time) is going to be deprecated + in favor of $(REF MonoTime, core,time) and $(REF Duration, core,time). Use $(D Duration) instead. This overload will be removed in January 2017.) - Defines + and - with $(CXREF time, TickDuration). + Defines + and - with $(REF TickDuration, core,time). +/ deprecated("Use Duration instead of TickDuration.") TimeOfDay opBinary(string op)(TickDuration td) @safe const pure nothrow @@ -14226,7 +14225,7 @@ public: /++ - Gives the result of adding or subtracting a $(CXREF time, Duration) from + Gives the result of adding or subtracting a $(REF Duration, core,time) from this $(LREF TimeOfDay), as well as assigning the result to this $(LREF TimeOfDay). @@ -14239,7 +14238,7 @@ public: ) Params: - duration = The $(CXREF time, Duration) to add to or subtract from + duration = The $(REF Duration, core,time) to add to or subtract from this $(LREF TimeOfDay). +/ ref TimeOfDay opOpAssign(string op)(Duration duration) @safe pure nothrow @@ -14295,12 +14294,12 @@ public: // @@@DEPRECATED_2017-01@@@ /++ - $(RED Deprecated. $(CXREF time, TickDuration) is going to be deprecated - in favor of $(CXREF time, MonoTime) and $(CXREF time, Duration). + $(RED Deprecated. $(REF TickDuration, core,time) is going to be deprecated + in favor of $(REF MonoTime, core,time) and $(REF Duration, core,time). Use $(D Duration) instead. This overload will be removed in January 2017.) - Defines += and -= with $(CXREF time, TickDuration). + Defines += and -= with $(REF TickDuration, core,time). +/ deprecated("Use Duration instead of TickDuration.") ref TimeOfDay opOpAssign(string op)(TickDuration td) @safe pure nothrow @@ -16843,7 +16842,7 @@ public: /++ - Gives the result of adding or subtracting a $(CXREF time, Duration) from + Gives the result of adding or subtracting a $(REF Duration, core,time) from this $(LREF DateTime). The legal types of arithmetic for $(LREF DateTime) using this operator @@ -16855,7 +16854,7 @@ public: ) Params: - duration = The $(CXREF time, Duration) to add to or subtract from + duration = The $(REF Duration, core,time) to add to or subtract from this $(LREF DateTime). +/ DateTime opBinary(string op)(Duration duration) @safe const pure nothrow @@ -16933,12 +16932,12 @@ public: // @@@DEPRECATED_2017-01@@@ /++ - $(RED Deprecated. $(CXREF time, TickDuration) is going to be deprecated - in favor of $(CXREF time, MonoTime) and $(CXREF time, Duration). + $(RED Deprecated. $(REF TickDuration, core,time) is going to be deprecated + in favor of $(REF MonoTime, core,time) and $(REF Duration, core,time). Use $(D Duration) instead. This overload will be removed in January 2017.) - Defines + and - with $(CXREF time, TickDuration). + Defines + and - with $(REF TickDuration, core,time). +/ deprecated("Use Duration instead of TickDuration.") DateTime opBinary(string op)(in TickDuration td) @safe const pure nothrow @@ -17083,12 +17082,12 @@ public: // @@@DEPRECATED_2017-01@@@ /++ - $(RED Deprecated. $(CXREF time, TickDuration) is going to be deprecated - in favor of $(CXREF time, MonoTime) and $(CXREF time, Duration). + $(RED Deprecated. $(REF TickDuration, core,time) is going to be deprecated + in favor of $(REF MonoTime, core,time) and $(REF Duration, core,time). Use $(D Duration) instead. This overload will be removed in January 2017.) - Defines += and -= with $(CXREF time, TickDuration). + Defines += and -= with $(REF TickDuration, core,time). +/ deprecated("Use Duration instead of TickDuration.") ref DateTime opOpAssign(string op)(TickDuration td) @safe pure nothrow @@ -17222,9 +17221,9 @@ public: To get the difference in years, subtract the year property of two $(LREF SysTime)s. To get the difference in days or weeks, - subtract the $(LREF SysTime)s themselves and use the $(CXREF time, Duration) + subtract the $(LREF SysTime)s themselves and use the $(REF Duration, core,time) that results. Because converting between months and smaller - units requires a specific date (which $(CXREF time, Duration)s don't have), + units requires a specific date (which $(REF Duration, core,time)s don't have), getting the difference in months requires some math using both the year and month properties, so this is a convenience function for getting the difference in months. @@ -26334,7 +26333,7 @@ unittest number of years, month, and duration later. The difference between this version of $(D everyDuration) and the version - which just takes a $(CXREF time, Duration) is that this one also takes the number of + which just takes a $(REF Duration, core,time) is that this one also takes the number of years and months (along with an $(D AllowDayOverflow) to indicate whether adding years and months should allow the days to overflow). @@ -28830,7 +28829,7 @@ public: /++ - Returns a $(CXREF time, Duration) of 0. + Returns a $(REF Duration, core,time) of 0. Params: stdTime = The UTC time for which to get the offset from UTC for this @@ -28943,7 +28942,7 @@ public: /++ - Returns utcOffset as a $(CXREF time, Duration). + Returns utcOffset as a $(REF Duration, core,time). Params: stdTime = The UTC time for which to get the offset from UTC for this @@ -31935,12 +31934,12 @@ private: n = The number of times each function is to be executed. Returns: - The amount of time (as a $(CXREF time, TickDuration)) that it took to + The amount of time (as a $(REF TickDuration, core,time)) that it took to call each function $(D n) times. The first value is the length of time that it took to call $(D fun[0]) $(D n) times. The second value is the length of time it took to call $(D fun[1]) $(D n) times. Etc. - Note that casting the TickDurations to $(CXREF time, Duration)s will make + Note that casting the TickDurations to $(REF Duration, core,time)s will make the results easier to deal with (and it may change in the future that benchmark will return an array of Durations rather than TickDurations). @@ -32094,13 +32093,13 @@ unittest value of $(D T) as $(Unqual!T). 3. $(D T) must define an $(D opBinary) for addition and subtraction that - accepts $(CXREF time, Duration) and returns $(D Unqual!T). + accepts $(REF Duration, core,time) and returns $(D Unqual!T). 4. $(D T) must define an $(D opOpAssign) for addition and subtraction that - accepts $(CXREF time, Duration) and returns $(D ref Unqual!T). + accepts $(REF Duration, core,time) and returns $(D ref Unqual!T). 5. $(D T) must define a $(D opBinary) for subtraction which accepts $(D T) - and returns returns $(CXREF time, Duration). + and returns returns $(REF Duration, core,time). +/ template isTimePoint(T) { @@ -32223,7 +32222,7 @@ unittest the standard, much as it's based on it, so the name "std time" isn't particularly good, but there isn't an official name for it. C# uses "ticks" for the same thing, but they aren't actually clock ticks, and the term - "ticks" $(I is) used for actual clock ticks for $(CXREF time, MonoTime), so + "ticks" $(I is) used for actual clock ticks for $(REF MonoTime, core,time), so it didn't make sense to use the term ticks here. So, for better or worse, std.datetime uses the term "std time" for this. @@ -32287,7 +32286,7 @@ unittest the standard, much as it's based on it, so the name "std time" isn't particularly good, but there isn't an official name for it. C# uses "ticks" for the same thing, but they aren't actually clock ticks, and the term - "ticks" $(I is) used for actual clock ticks for $(CXREF time, MonoTime), so + "ticks" $(I is) used for actual clock ticks for $(REF MonoTime, core,time), so it didn't make sense to use the term ticks here. So, for better or worse, std.datetime uses the term "std time" for this. @@ -33947,7 +33946,7 @@ version(StdDdoc) When the value that is returned by this function is destroyed, $(D func) will run. $(D func) is a unary function that takes a - $(CXREF time, TickDuration). + $(REF TickDuration, core,time). Example: -------------------- diff --git a/std/net/curl.d b/std/net/curl.d index 83fa4ddca56..697cad4d2fb 100644 --- a/std/net/curl.d +++ b/std/net/curl.d @@ -2329,7 +2329,7 @@ struct HTTP { mixin Protocol; - /// Authentication method equal to $(ECXREF curl, CurlAuth) + /// Authentication method equal to $(REF CurlAuth, etc,c,curl) alias AuthMethod = CurlAuth; static private uint defaultMaxRedirects = 10; @@ -2421,7 +2421,7 @@ struct HTTP private RefCounted!Impl p; - /** Time condition enumeration as an alias of $(ECXREF curl, CurlTimeCond) + /** Time condition enumeration as an alias of $(REF CurlTimeCond, etc,c,curl) $(WEB www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.25, _RFC2616 Section 14.25) */ @@ -3834,7 +3834,7 @@ class CurlTimeoutException : CurlException } } -/// Equal to $(ECXREF curl, CURLcode) +/// Equal to $(REF CURLcode, etc,c,curl) alias CurlCode = CURLcode; import std.typecons : Flag; @@ -4117,7 +4117,7 @@ struct Curl /** Set a string curl option. Params: - option = A $(ECXREF curl, CurlOption) as found in the curl documentation + option = A $(REF CurlOption, etc,c,curl) as found in the curl documentation value = The string */ void set(CurlOption option, const(char)[] value) @@ -4129,7 +4129,7 @@ struct Curl /** Set a long curl option. Params: - option = A $(ECXREF curl, CurlOption) as found in the curl documentation + option = A $(REF CurlOption, etc,c,curl) as found in the curl documentation value = The long */ void set(CurlOption option, long value) @@ -4141,7 +4141,7 @@ struct Curl /** Set a void* curl option. Params: - option = A $(ECXREF curl, CurlOption) as found in the curl documentation + option = A $(REF CurlOption, etc,c,curl) as found in the curl documentation value = The pointer */ void set(CurlOption option, void* value) @@ -4153,7 +4153,7 @@ struct Curl /** Clear a pointer option. Params: - option = A $(ECXREF curl, CurlOption) as found in the curl documentation + option = A $(REF CurlOption, etc,c,curl) as found in the curl documentation */ void clear(CurlOption option) { @@ -4165,7 +4165,7 @@ struct Curl Clear a pointer option. Does not raise an exception if the underlying libcurl does not support the option. Use sparingly. Params: - option = A $(ECXREF curl, CurlOption) as found in the curl documentation + option = A $(REF CurlOption, etc,c,curl) as found in the curl documentation */ void clearIfSupported(CurlOption option) { @@ -4310,11 +4310,11 @@ struct Curl * * Params: * callback = the callback that receives a seek offset and a seek position - * $(ECXREF curl, CurlSeekPos) + * $(REF CurlSeekPos, etc,c,curl) * * Returns: * The callback returns the success state of the seeking - * $(ECXREF curl, CurlSeek) + * $(REF CurlSeek, etc,c,curl) * * Example: * ---- @@ -4347,7 +4347,7 @@ struct Curl * * Params: * callback = the callback that receives the socket and socket type - * $(ECXREF curl, CurlSockType) + * $(REF CurlSockType, etc,c,curl) * * Returns: * Return 0 from the callback to signal success, return 1 to signal error diff --git a/std/process.d b/std/process.d index 00ebeeb4b9e..eba40a4dddb 100644 --- a/std/process.d +++ b/std/process.d @@ -283,7 +283,7 @@ Throws: $(LREF ProcessException) on failure to start the process.$(BR) $(REF StdioException, std,stdio) on failure to pass one of the streams to the child process (Windows only).$(BR) -$(CXREF exception,RangeError) if $(D args) is empty. +$(REF RangeError, core,exception) if $(D args) is empty. */ Pid spawnProcess(in char[][] args, File stdin = std.stdio.stdin, @@ -2350,7 +2350,7 @@ version (Windows) private immutable string shellSwitch = "/C"; * which is guaranteed to be unique within the current process. * * Returns: - * A $(CXREF thread, ThreadID) value for the calling thread. + * A $(REF ThreadID, core,thread) value for the calling thread. * * Example: * --- diff --git a/std/string.d b/std/string.d index fbbefa3684d..8160c3559a9 100644 --- a/std/string.d +++ b/std/string.d @@ -87,31 +87,31 @@ $(TR $(TH Module) $(TH Functions) ) $(LEADINGROW Publicly imported functions) $(TR $(TD std.algorithm) $(TD - $(SHORTXREF_PACK algorithm,comparison,cmp) - $(SHORTXREF_PACK algorithm,searching,count) - $(SHORTXREF_PACK algorithm,searching,endsWith) - $(SHORTXREF_PACK algorithm,searching,startsWith) + $(REF_SHORT cmp, std,algorithm,comparison) + $(REF_SHORT count, std,algorithm,searching) + $(REF_SHORT endsWith, std,algorithm,searching) + $(REF_SHORT startsWith, std,algorithm,searching) )) $(TR $(TD std.array) $(TD - $(SHORTXREF array, join) - $(SHORTXREF array, replace) - $(SHORTXREF array, replaceInPlace) - $(SHORTXREF array, split) - $(SHORTXREF array, empty) + $(REF_SHORT join, std,array) + $(REF_SHORT replace, std,array) + $(REF_SHORT replaceInPlace, std,array) + $(REF_SHORT split, std,array) + $(REF_SHORT empty, std,array) )) $(TR $(TD std.format) $(TD - $(SHORTXREF format, format) - $(SHORTXREF format, sformat) + $(REF_SHORT format, std,format) + $(REF_SHORT sformat, std,format) )) $(TR $(TD std.uni) $(TD - $(SHORTXREF uni, icmp) - $(SHORTXREF uni, toLower) - $(SHORTXREF uni, toLowerInPlace) - $(SHORTXREF uni, toUpper) - $(SHORTXREF uni, toUpperInPlace) + $(REF_SHORT icmp, std,uni) + $(REF_SHORT toLower, std,uni) + $(REF_SHORT toLowerInPlace, std,uni) + $(REF_SHORT toUpper, std,uni) + $(REF_SHORT toUpperInPlace, std,uni) )) ) @@ -134,10 +134,6 @@ See_Also: for functions that work with unicode strings ) -Macros: - SHORTXREF=$(REF_ALTTEXT $(TT $2), $2, std,$1) - SHORTXREF_PACK=$(REF_ALTTEXT $(TT $3), $3, std,$1,$2) - Copyright: Copyright Digital Mars 2007-. License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).