[dmd-internals] [D-Programming-Language/dmd] 37d28f: Refactor utf_IsValidDchar(), utf_decodeChar(); add...

GitHub noreply at github.com
Sun Jun 10 08:07:36 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 37d28f39fe60185db6d0abd5d8135d25fa14b39d
      https://github.com/D-Programming-Language/dmd/commit/37d28f39fe60185db6d0abd5d8135d25fa14b39d
  Author: David Held <github at wyntrmute.com>
  Date:   2012-05-28 (Mon, 28 May 2012)

  Changed paths:
    A src/test/UTFTest.cpp
    M src/utf.c
    M src/utf.h
    M src/win32.mak

  Log Message:
  -----------
  Refactor utf_IsValidDchar(), utf_decodeChar(); add unit tests

* Added all non-character code points to isValid()
* Rejected private-use code points in isValid()
* Added more error strings for decodeChar()


  Commit: ca1fce88a834cf98be49b65749fe57d182a2de82
      https://github.com/D-Programming-Language/dmd/commit/ca1fce88a834cf98be49b65749fe57d182a2de82
  Author: David Held <github at wyntrmute.com>
  Date:   2012-06-09 (Sat, 09 Jun 2012)

  Changed paths:
    M src/test/UTFTest.cpp
    R src/unialpha.c
    M src/utf.c
    M src/utf.h

  Log Message:
  -----------
  Refactored UTF.* and added unit tests:

* Reordered declarations/definitions
* Exposed Unicode alpha code points to facilitate unit testing
* Refactored utf_decodeWchar(), encode and codeLength functions
* Moved isUniAlpha() into UTF.*
* Removed unialpha.c
* Added unit tests for isUniAlpha(), codeLength*(), encode*(), and decodeWchar()


  Commit: e5f4baac3de5effce4a36140d80a3a03c230d9bf
      https://github.com/D-Programming-Language/dmd/commit/e5f4baac3de5effce4a36140d80a3a03c230d9bf
  Author: Walter Bright <walter at walterbright.com>
  Date:   2012-06-10 (Sun, 10 Jun 2012)

  Changed paths:
    A src/test/UTFTest.cpp
    R src/unialpha.c
    M src/utf.c
    M src/utf.h
    M src/win32.mak

  Log Message:
  -----------
  Merge pull request #994 from dheld/master

Refactored UTF.* and added unit tests


Compare: https://github.com/D-Programming-Language/dmd/compare/62d6363...e5f4baa


More information about the dmd-internals mailing list