[phobos] [D-Programming-Language/phobos] 065ce0: Add `std.internal.cstring` module.

GitHub via phobos phobos at puremagic.com
Sat Aug 23 07:05:25 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 065ce055917ee39f87f78f09e52efdd476c3b6cd
      https://github.com/D-Programming-Language/phobos/commit/065ce055917ee39f87f78f09e52efdd476c3b6cd
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2014-08-23 (Sat, 23 Aug 2014)

  Changed paths:
    M posix.mak
    A std/internal/cstring.d
    M win32.mak
    M win64.mak

  Log Message:
  -----------
  Add `std.internal.cstring` module.


  Commit: ff144b0ae0210855b7f3136e9a9228f018e07473
      https://github.com/D-Programming-Language/phobos/commit/ff144b0ae0210855b7f3136e9a9228f018e07473
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2014-08-23 (Sat, 23 Aug 2014)

  Changed paths:
    M std/cstream.d
    M std/datetime.d
    M std/file.d
    M std/mmfile.d
    M std/net/curl.d
    M std/outbuffer.d
    M std/process.d
    M std/socket.d
    M std/stdio.d
    M std/stream.d
    M std/windows/charset.d
    M std/windows/registry.d

  Log Message:
  -----------
  Replace most `toStringz`/`toUTF16z`/`toUTFz` usages with `tempCString*` ones.

Only non-trivial cases left when a refactoring is required to use a temporary buffer.
Also add `nothrow`/`@nogc` attributes.


  Commit: 5fb71bb7d64b29db453fe0a9ab2407d0cd024938
      https://github.com/D-Programming-Language/phobos/commit/5fb71bb7d64b29db453fe0a9ab2407d0cd024938
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2014-08-23 (Sat, 23 Aug 2014)

  Changed paths:
    M posix.mak
    M std/cstream.d
    M std/datetime.d
    M std/file.d
    A std/internal/cstring.d
    M std/mmfile.d
    M std/net/curl.d
    M std/outbuffer.d
    M std/process.d
    M std/socket.d
    M std/stdio.d
    M std/stream.d
    M std/windows/charset.d
    M std/windows/registry.d
    M win32.mak
    M win64.mak

  Log Message:
  -----------
  Merge pull request #2332 from denis-sh/add-temp-c-string-allocation

Add temp c string allocation


Compare: https://github.com/D-Programming-Language/phobos/compare/46f344490b86...5fb71bb7d64b


More information about the phobos mailing list