December 30, 2014 [dmd-internals] [D-Programming-Language/dmd] eec3d9: Improve StringExp::length() to support transcoding | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: eec3d9e59704609d5db3b341e497c72ab16f03bf https://github.com/D-Programming-Language/dmd/commit/eec3d9e59704609d5db3b341e497c72ab16f03bf Author: k-hara <k.hara.pg@gmail.com> Date: 2014-12-29 (Mon, 29 Dec 2014) Changed paths: M src/expression.c M src/expression.h Log Message: ----------- Improve StringExp::length() to support transcoding Commit: f606bd4a660326f39ec46d0f1cc96e5f9425fb49 https://github.com/D-Programming-Language/dmd/commit/f606bd4a660326f39ec46d0f1cc96e5f9425fb49 Author: k-hara <k.hara.pg@gmail.com> Date: 2014-12-29 (Mon, 29 Dec 2014) Changed paths: M src/init.c M src/struct.c Log Message: ----------- Handle extending string literal length to the target static array type Both expression initializers and struct literal arguments should support implicit string lengthen. Commit: 6d732186da6e8255e26879e0bc57a40433810389 https://github.com/D-Programming-Language/dmd/commit/6d732186da6e8255e26879e0bc57a40433810389 Author: k-hara <k.hara.pg@gmail.com> Date: 2014-12-29 (Mon, 29 Dec 2014) Changed paths: M src/cast.c M test/runnable/literal.d Log Message: ----------- fix Issue 13907 - Surrogate pairs in wchar string literal will cause incorrect length match Stop considering lengthen conversion in StringExp::implicitConvTo(). Commit: 4e21e5639fd2e11bc993043121393f512f4043bd https://github.com/D-Programming-Language/dmd/commit/4e21e5639fd2e11bc993043121393f512f4043bd Author: Walter Bright <walter@walterbright.com> Date: 2014-12-30 (Tue, 30 Dec 2014) Changed paths: M src/cast.c M src/expression.c M src/expression.h M src/init.c M src/struct.c M test/runnable/literal.d Log Message: ----------- Merge pull request #4222 from 9rnsr/fix13907 Issue 13907 - Surrogate pairs in wchar string literal will cause incorrect length match Compare: https://github.com/D-Programming-Language/dmd/compare/55447875cfa0...4e21e5639fd2 |
Copyright © 1999-2021 by the D Language Foundation