Skip to content

Commit

Permalink
changelog/*.dd: get rid of custom macros
Browse files Browse the repository at this point in the history
Updating manually: COREMODREF -> MREF and NOXREF -> REF_OBJECT_SHORT.

REF_OBJECT_SHORT is a new macro. I couldn't figure out a way to make the
generic REF macro work for references to object, so I've replaced OXREF and
NOXREF with this.

Deleting definitions of all obsolete macros.
  • Loading branch information
aG0aep6G committed Jun 4, 2016
1 parent 5f073ed commit ed6d4d0
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 22 deletions.
3 changes: 1 addition & 2 deletions changelog/2.068.1.dd
Expand Up @@ -18,8 +18,7 @@ $(LI $(LNAME2 coverage-profile-config, Functions to configure coverage, profile,

$(P While they have been accessible through `extern(C)` linkage
for a while, the functions to configure coverage, profile, and
profile=gc reports where added to $(COREMODREF runtime,
core.runtime).
profile=gc reports where added to $(MREF core,runtime).
)

$(BOOKTABLE,
Expand Down
2 changes: 1 addition & 1 deletion changelog/2.070.0.dd
Expand Up @@ -59,7 +59,7 @@ $(LI $(LNAME2 typeinfo-initializer, `TypeInfo.init` has been renamed to
`TypeInfo.initializer`.)

$(P The method `TypeInfo.init` has been renamed to
$(NOXREF TypeInfo.initializer, TypeInfo.initializer) to resolve
$(REF_OBJECT_SHORT TypeInfo.initializer) to resolve
a name clash with the type property $(GLINK2 property, init).
)

Expand Down
10 changes: 1 addition & 9 deletions changelog/changelog.ddoc
Expand Up @@ -46,15 +46,7 @@ DMDBUGSFIXED2=$(LINK2 https://issues.dlang.org/buglist.cgi?chfieldto=$2$(AMP)que
DRUNTIMEBUGSFIXED2=$(LINK2 https://issues.dlang.org/buglist.cgi?chfieldto=$2$(AMP)query_format=advanced$(AMP)chfield=resolution$(AMP)chfieldfrom=$1$(AMP)chfieldvalue=FIXED$(AMP)bug_severity=regression$(AMP)bug_severity=blocker$(AMP)bug_severity=critical$(AMP)bug_severity=major$(AMP)bug_severity=normal$(AMP)bug_severity=minor$(AMP)bug_severity=trivial$(AMP)bug_status=RESOLVED$(AMP)version=D2$(AMP)version=D1%20%26%20D2$(AMP)component=druntime$(AMP)resolution=FIXED$(AMP)product=D, Druntime Bugs Fixed)
PHOBOSBUGSFIXED2=$(LINK2 https://issues.dlang.org/buglist.cgi?chfieldto=$2$(AMP)query_format=advanced$(AMP)chfield=resolution$(AMP)chfieldfrom=$1$(AMP)chfieldvalue=FIXED$(AMP)bug_severity=regression$(AMP)bug_severity=blocker$(AMP)bug_severity=critical$(AMP)bug_severity=major$(AMP)bug_severity=normal$(AMP)bug_severity=minor$(AMP)bug_severity=trivial$(AMP)bug_status=RESOLVED$(AMP)version=D2$(AMP)version=D1%20%26%20D2$(AMP)component=Phobos$(AMP)resolution=FIXED$(AMP)product=D, Phobos Bugs Fixed)

STDMODREF = $(LINK2 $(ROOT_DIR)phobos/std_$1.html, $(D $2))
COREMODREF = $(LINK2 $(ROOT_DIR)phobos/core_$1.html, $(D $2))
XREF = $(LINK2 $(ROOT_DIR)phobos/std_$1.html#$2, $(D $2))
CXREF = $(LINK2 $(ROOT_DIR)phobos/core_$1.html#$2, $(D $2))
OXREF = $(LINK2 $(ROOT_DIR)phobos/object.html#$2, $(D $2))
_=nested XREFs
NXREF = $(LINK2 $(ROOT_DIR)phobos/std_$1.html#.$2, $(D $2))
NCXREF = $(LINK2 $(ROOT_DIR)phobos/core_$1.html#.$2, $(D $2))
NOXREF = $(LINK2 $(ROOT_DIR)phobos/object.html#.$2, $(D $2))
REF_OBJECT_SHORT=$(LINK2 $(PHOBOS_PATH)object.html#.$1, $(D $1))

PULL_REQUEST = $(LINK2 https://github.com/dlang/$1/pull/$2, $1#$2)
DMDPR = $(PULL_REQUEST dmd,$1)
Expand Down
10 changes: 0 additions & 10 deletions changelog/prerelease.ddoc
Expand Up @@ -7,14 +7,4 @@ $(SMALL to be released $1, $2)
$4
)

STDMODREF = $(LINK2 $(ROOT_DIR)phobos-prerelease/std_$1.html, $(D $2))
COREMODREF = $(LINK2 $(ROOT_DIR)phobos-prerelease/core_$1.html, $(D $2))
XREF = $(LINK2 $(ROOT_DIR)phobos-prerelease/std_$1.html#$2, $(D $2))
CXREF = $(LINK2 $(ROOT_DIR)phobos-prerelease/core_$1.html#$2, $(D $2))
OXREF = $(LINK2 $(ROOT_DIR)phobos-prerelease/object.html#$2, $(D $2))
_=nested XREFs
NXREF = $(LINK2 $(ROOT_DIR)phobos-prerelease/std_$1.html#.$2, $(D $2))
NCXREF = $(LINK2 $(ROOT_DIR)phobos-prerelease/core_$1.html#.$2, $(D $2))
NOXREF = $(LINK2 $(ROOT_DIR)phobos-prerelease/object.html#.$2, $(D $2))

PHOBOS_PATH=$(ROOT_DIR)phobos-prerelease/

0 comments on commit ed6d4d0

Please sign in to comment.