[dlang.org] [dlang/dlang.org] 4b0343: prepare for XREF purge in changelog/*

GitHub via dlang.org dlang.org at puremagic.com
Sat Jun 4 07:11:31 PDT 2016


  Branch: refs/heads/master
  Home:   https://github.com/dlang/dlang.org
  Commit: 4b0343f12a94e7531afe73a91bd55ce3d2cb77d2
      https://github.com/dlang/dlang.org/commit/4b0343f12a94e7531afe73a91bd55ce3d2cb77d2
  Author: anonymous <aG0aep6G at users.noreply.github.com>
  Date:   2016-06-04 (Sat, 04 Jun 2016)

  Changed paths:
    M changelog/prerelease.ddoc
    M dlang.org.ddoc
    M intro-to-datetime.dd

  Log Message:
  -----------
  prepare for XREF purge in changelog/*

Promote REF_SHORT to dlang.org.ddoc. It's going to be used in changelog
files.

Override PHOBOS_PATH in prerelease changelog. The REF macros pick it up.


  Commit: 5f073ed6586c954ce84a535f1fe25285d7013dd0
      https://github.com/dlang/dlang.org/commit/5f073ed6586c954ce84a535f1fe25285d7013dd0
  Author: anonymous <aG0aep6G at users.noreply.github.com>
  Date:   2016-06-04 (Sat, 04 Jun 2016)

  Changed paths:
    M changelog/2.063.dd
    M changelog/2.065.0.dd
    M changelog/2.066.0.dd
    M changelog/2.067.0.dd
    M changelog/2.068.0.dd
    M changelog/2.068.1.dd
    M changelog/2.069.0.dd
    M changelog/2.070.0.dd
    M changelog/2.071.0.dd

  Log Message:
  -----------
  changelog/*.dd: use REF_SHORT and MREF (sed)

(N)XREF -> REF_SHORT:

arg='\s*([^(),]*)'
from='\$\(N?XREF\s'$arg','$arg'\)'
to='$(REF_SHORT \2, std,\1)'
sed -i -r "s/$from/$to/g" changelog/*.dd

(N)CXREF -> REF_SHORT:

arg='\s*([^(),]*)'
from='\$\(N?CXREF\s'$arg','$arg'\)'
to='$(REF_SHORT \2, core,\1)'
sed -i -r "s/$from/$to/g" changelog/*.dd

STDMODREF -> MREF (std.foo):

arg='\s*([^(),_.]*)'
from='\$\(STDMODREF\s'$arg',\s*std\.'$arg'\)'
to='$(MREF std,\1)'
sed -i -r "s/$from/$to/g" changelog/*.dd

STDMODREF -> MREF (std.foo.bar):

arg='\s*([^(),_.]*)'
from='\$\(STDMODREF\s'$arg'_'$arg',\s*std\.'$arg'\.'$arg'\)'
to='$(MREF std,\1,\2)'
sed -i -r "s/$from/$to/g" changelog/*.dd


  Commit: ed6d4d0b37b72fdefa7a2e5021618caf815da094
      https://github.com/dlang/dlang.org/commit/ed6d4d0b37b72fdefa7a2e5021618caf815da094
  Author: anonymous <aG0aep6G at users.noreply.github.com>
  Date:   2016-06-04 (Sat, 04 Jun 2016)

  Changed paths:
    M changelog/2.068.1.dd
    M changelog/2.070.0.dd
    M changelog/changelog.ddoc
    M changelog/prerelease.ddoc

  Log Message:
  -----------
  changelog/*.dd: get rid of custom macros

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.


  Commit: 23f47d5de10827de04e1dac728b547365fbad13d
      https://github.com/dlang/dlang.org/commit/23f47d5de10827de04e1dac728b547365fbad13d
  Author: Vladimir Panteleev <github.private at thecybershadow.net>
  Date:   2016-06-04 (Sat, 04 Jun 2016)

  Changed paths:
    M changelog/2.063.dd
    M changelog/2.065.0.dd
    M changelog/2.066.0.dd
    M changelog/2.067.0.dd
    M changelog/2.068.0.dd
    M changelog/2.068.1.dd
    M changelog/2.069.0.dd
    M changelog/2.070.0.dd
    M changelog/2.071.0.dd
    M changelog/changelog.ddoc
    M changelog/prerelease.ddoc
    M dlang.org.ddoc
    M intro-to-datetime.dd

  Log Message:
  -----------
  Merge pull request #1329 from aG0aep6G/changelog-refs

XREF purge: changelog


Compare: https://github.com/dlang/dlang.org/compare/c6d4ae62a391...23f47d5de108


More information about the dlang.org mailing list