August 11, 2013 [phobos] [D-Programming-Language/phobos] 7f7658: Fix Issue 5378 - Make File.byLine accept a string ... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/phobos Commit: 7f76586e16623894c7b6119014f76ed7bfef527e https://github.com/D-Programming-Language/phobos/commit/7f76586e16623894c7b6119014f76ed7bfef527e Author: Nick Treleaven <nick.treleaven@btinternet.com> Date: 2013-08-08 (Thu, 08 Aug 2013) Changed paths: M std/stdio.d Log Message: ----------- Fix Issue 5378 - Make File.byLine accept a string terminator Add an overload of byLine without a default argument for terminator. Before, byLine!string tried to instantiate "string terminator = '\n'", which is invalid. Note: This removes the default arguments from ByLine.this, but the constructor was never documented anyway (unlike the range primitives). Commit: e168cd70c0ad8df36b939439881be63ed9ebb7d1 https://github.com/D-Programming-Language/phobos/commit/e168cd70c0ad8df36b939439881be63ed9ebb7d1 Author: Nick Treleaven <nick.treleaven@btinternet.com> Date: 2013-08-09 (Fri, 09 Aug 2013) Changed paths: M std/stdio.d Log Message: ----------- Fix calling ByLine(file) with default args Commit: f03bfb0588d1cd811706b036898395f82b68fb12 https://github.com/D-Programming-Language/phobos/commit/f03bfb0588d1cd811706b036898395f82b68fb12 Author: Nick Treleaven <nick.treleaven@btinternet.com> Date: 2013-08-09 (Fri, 09 Aug 2013) Changed paths: M std/stdio.d Log Message: ----------- Ensure terminator string has Char element type Commit: 6c1800bccc871453533514de4eb9df0ef98df73c https://github.com/D-Programming-Language/phobos/commit/6c1800bccc871453533514de4eb9df0ef98df73c Author: Nick Treleaven <nick.treleaven@btinternet.com> Date: 2013-08-10 (Sat, 10 Aug 2013) Changed paths: M std/stdio.d Log Message: ----------- Use ElementEncodingType!Terminator instead of typeof(terminator[0]) Commit: 5576d899af510de798b0d5aaa8bd13e6caebfbce https://github.com/D-Programming-Language/phobos/commit/5576d899af510de798b0d5aaa8bd13e6caebfbce Author: Andrei Alexandrescu <andrei@erdani.com> Date: 2013-08-11 (Sun, 11 Aug 2013) Changed paths: M std/stdio.d Log Message: ----------- Merge pull request #1458 from ntrel/byLine-crlf Fix Issue 5378 - Make File.byLine accept a string terminator Compare: https://github.com/D-Programming-Language/phobos/compare/701ca3f76f2d...5576d899af51 |
Copyright © 1999-2021 by the D Language Foundation