[phobos] [D-Programming-Language/phobos] dd5eb5: Fix for issue# 8890: commonPrefix does not handle ...

GitHub noreply at github.com
Fri Jan 4 15:02:28 PST 2013


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: dd5eb5ff97736ecaec525488413382f94c0053ea
      https://github.com/D-Programming-Language/phobos/commit/dd5eb5ff97736ecaec525488413382f94c0053ea
  Author: jmdavis <jmdavisProg at gmx.com>
  Date:   2013-01-04 (Fri, 04 Jan 2013)

  Changed paths:
    M std/algorithm.d

  Log Message:
  -----------
  Fix for issue# 8890: commonPrefix does not handle unicode correctly.

It was returning partial code points if the first few code units in a
code point matched but not the entire code point.


  Commit: 545df62174276a469f3b3776ad4f8ec27b5720f0
      https://github.com/D-Programming-Language/phobos/commit/545df62174276a469f3b3776ad4f8ec27b5720f0
  Author: jmdavis <jmdavisProg at gmx.com>
  Date:   2013-01-04 (Fri, 04 Jan 2013)

  Changed paths:
    M std/algorithm.d

  Log Message:
  -----------
  Slight tweak to commonPrefix's template constraint.


  Commit: c52a6558c222aa48038f423c76fcafd930d7b598
      https://github.com/D-Programming-Language/phobos/commit/c52a6558c222aa48038f423c76fcafd930d7b598
  Author: jmdavis <jmdavisProg at gmx.com>
  Date:   2013-01-04 (Fri, 04 Jan 2013)

  Changed paths:
    M std/algorithm.d

  Log Message:
  -----------
  Fix commonPrefix so that it can mix strings and other ranges.

The fix for 8890 made it so that commonPrefix could no longer compare
strings with ranges of other types. This fixes that.


  Commit: 2aa1295f4d1b884713e7465b4c1f48d926d936b3
      https://github.com/D-Programming-Language/phobos/commit/2aa1295f4d1b884713e7465b4c1f48d926d936b3
  Author: Andrei Alexandrescu <andrei at erdani.com>
  Date:   2013-01-04 (Fri, 04 Jan 2013)

  Changed paths:
    M std/algorithm.d

  Log Message:
  -----------
  Merge pull request #889 from jmdavis/8890

Fix for issue# 8890: commonPrefix does not handle unicode correctly.


Compare: https://github.com/D-Programming-Language/phobos/compare/6c5377e9b500...2aa1295f4d1b


More information about the phobos mailing list