August 19, 2012 [phobos] [D-Programming-Language/phobos] acc720: Made it so that stride works with arbitrary ranges... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/phobos Commit: acc72035a0cd4a3e12b441907d31aff9a0037e05 https://github.com/D-Programming-Language/phobos/commit/acc72035a0cd4a3e12b441907d31aff9a0037e05 Author: jmdavis <jmdavisProg@gmx.com> Date: 2012-08-07 (Tue, 07 Aug 2012) Changed paths: M std/utf.d Log Message: ----------- Made it so that stride works with arbitrary ranges of code units. I also added overloads for stride which don't require an index (they operate on index 0). Commit: b45e37139e728abba97c3352db68c6b0b64c4679 https://github.com/D-Programming-Language/phobos/commit/b45e37139e728abba97c3352db68c6b0b64c4679 Author: jmdavis <jmdavisProg@gmx.com> Date: 2012-08-07 (Tue, 07 Aug 2012) Changed paths: M std/utf.d Log Message: ----------- Made it so that strideBack works with arbitrary ranges of code units. I also added overloads for strideBack which don't require an index (they operates on the last code point). Commit: 4ca0af86621fa3b6d7a616af645a45acd81a9322 https://github.com/D-Programming-Language/phobos/commit/4ca0af86621fa3b6d7a616af645a45acd81a9322 Author: jmdavis <jmdavisProg@gmx.com> Date: 2012-08-07 (Tue, 07 Aug 2012) Changed paths: M std/utf.d Log Message: ----------- Made it so that decode works with arbitrary ranges of code units. I also added decodeFront which operates on the first code point in the range (unlike stride and strideBack, it requires a different name, since the signatures of decode and decodeFront are almost identical - the only difference being that decode takes the index by ref, and decodeFront takes it as out). Commit: ad177d0cf124d5984e983d30fc481ca2b0f5d7ce https://github.com/D-Programming-Language/phobos/commit/ad177d0cf124d5984e983d30fc481ca2b0f5d7ce Author: jmdavis <jmdavisProg@gmx.com> Date: 2012-08-08 (Wed, 08 Aug 2012) Changed paths: M std/utf.d Log Message: ----------- Workaround for bug# 8521. Commit: a60025bb7016c54ca0eb03d524f82c0a127c1e50 https://github.com/D-Programming-Language/phobos/commit/a60025bb7016c54ca0eb03d524f82c0a127c1e50 Author: jmdavis <jmdavisProg@gmx.com> Date: 2012-08-18 (Sat, 18 Aug 2012) Changed paths: M std/utf.d Log Message: ----------- Changes for Andrei's comments on pull request# 743. Commit: 30ca818562528c9a254921100c323522c87608a4 https://github.com/D-Programming-Language/phobos/commit/30ca818562528c9a254921100c323522c87608a4 Author: Andrei Alexandrescu <andrei@erdani.com> Date: 2012-08-19 (Sun, 19 Aug 2012) Changed paths: M std/utf.d Log Message: ----------- Merge pull request #743 from jmdavis/stride Made stride, strideBack, and decode work with ranges of code units. Compare: https://github.com/D-Programming-Language/phobos/compare/b6ab5b6e04cf...30ca81856252 |
Copyright © 1999-2021 by the D Language Foundation