[phobos] [dlang/phobos] 1d34a1: apply all-man braces in Phobos

GitHub via phobos phobos at puremagic.com
Tue May 31 06:34:54 PDT 2016


  Branch: refs/heads/master
  Home:   https://github.com/dlang/phobos
  Commit: 1d34a121e97ec34482d71d37960b466fe9df7d1b
      https://github.com/dlang/phobos/commit/1d34a121e97ec34482d71d37960b466fe9df7d1b
  Author: Sebastian Wilzbach <seb at wilzba.ch>
  Date:   2016-05-31 (Tue, 31 May 2016)

  Changed paths:
    M etc/c/curl.d
    M etc/c/zlib.d
    M std/algorithm/comparison.d
    M std/algorithm/iteration.d
    M std/algorithm/mutation.d
    M std/algorithm/searching.d
    M std/algorithm/sorting.d
    M std/array.d
    M std/bigint.d
    M std/complex.d
    M std/concurrency.d
    M std/container/array.d
    M std/container/package.d
    M std/container/rbtree.d
    M std/cstream.d
    M std/csv.d
    M std/datetime.d
    M std/experimental/typecons.d
    M std/format.d
    M std/functional.d
    M std/internal/math/biguintcore.d
    M std/internal/math/biguintnoasm.d
    M std/internal/math/biguintx86.d
    M std/internal/math/errorfunction.d
    M std/internal/math/gammafunction.d
    M std/internal/unicode_tables.d
    M std/json.d
    M std/math.d
    M std/mathspecial.d
    M std/mmfile.d
    M std/net/curl.d
    M std/parallelism.d
    M std/range/interfaces.d
    M std/range/package.d
    M std/range/primitives.d
    M std/regex/internal/ir.d
    M std/regex/internal/kickstart.d
    M std/regex/internal/tests.d
    M std/regex/package.d
    M std/signals.d
    M std/socket.d
    M std/stdio.d
    M std/stream.d
    M std/traits.d
    M std/uni.d
    M std/uri.d
    M std/zlib.d

  Log Message:
  -----------
  apply all-man braces in Phobos

// find common cases
sed -E "s/^(\s*)((if|static if|for|foreach|foreach_reverse|while|unittest|switch|else|version).*)\s*\{$/\1\2\n\1{/" -i **/*.d
// catch else-if
sed -E "s/^(\s*)} (else static if| if|else if|else)(.*)\s*\{$/\1}\n\1\2\3\n\1{/" -i **/*.d
// remove created trailing whitespace
sed -i 's/[ \t]*$//' **/*.d


  Commit: ca098c57d2ceae797450b84d4dc04d985090530f
      https://github.com/dlang/phobos/commit/ca098c57d2ceae797450b84d4dc04d985090530f
  Author: Sebastian Wilzbach <seb at wilzba.ch>
  Date:   2016-05-31 (Tue, 31 May 2016)

  Changed paths:
    M std/algorithm/iteration.d
    M std/bigint.d
    M std/bitmanip.d
    M std/csv.d
    M std/range/interfaces.d
    M std/stdio.d
    M std/string.d

  Log Message:
  -----------
  manual allman brace fixup


  Commit: ceadc7fe947f4cf68fa695b83ae99e02747c0853
      https://github.com/dlang/phobos/commit/ceadc7fe947f4cf68fa695b83ae99e02747c0853
  Author: Sebastian Wilzbach <seb at wilzba.ch>
  Date:   2016-05-31 (Tue, 31 May 2016)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  enforce all-man style


  Commit: cdc8218e9840353f6ed79f00a63280c3002b198f
      https://github.com/dlang/phobos/commit/cdc8218e9840353f6ed79f00a63280c3002b198f
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2016-05-31 (Tue, 31 May 2016)

  Changed paths:
    M .travis.yml
    M etc/c/curl.d
    M etc/c/zlib.d
    M std/algorithm/comparison.d
    M std/algorithm/iteration.d
    M std/algorithm/mutation.d
    M std/algorithm/searching.d
    M std/algorithm/sorting.d
    M std/array.d
    M std/bigint.d
    M std/bitmanip.d
    M std/complex.d
    M std/concurrency.d
    M std/container/array.d
    M std/container/package.d
    M std/container/rbtree.d
    M std/cstream.d
    M std/csv.d
    M std/datetime.d
    M std/experimental/typecons.d
    M std/format.d
    M std/functional.d
    M std/internal/math/biguintcore.d
    M std/internal/math/biguintnoasm.d
    M std/internal/math/biguintx86.d
    M std/internal/math/errorfunction.d
    M std/internal/math/gammafunction.d
    M std/internal/unicode_tables.d
    M std/json.d
    M std/math.d
    M std/mathspecial.d
    M std/mmfile.d
    M std/net/curl.d
    M std/parallelism.d
    M std/range/interfaces.d
    M std/range/package.d
    M std/range/primitives.d
    M std/regex/internal/ir.d
    M std/regex/internal/kickstart.d
    M std/regex/internal/tests.d
    M std/regex/package.d
    M std/signals.d
    M std/socket.d
    M std/stdio.d
    M std/stream.d
    M std/string.d
    M std/traits.d
    M std/uni.d
    M std/uri.d
    M std/zlib.d

  Log Message:
  -----------
  Merge pull request #4385 from wilzbach/braces_allmanify

Allmanify Phobos and add CI check


Compare: https://github.com/dlang/phobos/compare/f276dbc06b67...cdc8218e9840


More information about the phobos mailing list