The Dlang Bot
e13e3889ac
Merge pull request #6435 from JackStouffer/input-range-link
...
Make references to input ranges a link to isInputRange
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-04-15 01:42:45 +02:00
Jack Stouffer
44dab62925
Added public examples to std.utf
2018-04-08 17:49:55 -04:00
Jack Stouffer
e14f89e170
Make references to input ranges a link to isInputRange
2018-04-08 16:19:57 -04:00
Sebastian Wilzbach
42894784dd
Markdownify Phobos
...
$(D word) -> `word`
2018-04-02 22:32:47 +02:00
Jonathan M Davis
1436fca1cc
Add website link to author name for Jonathan M Davis.
2018-03-10 16:31:23 -07:00
Nathan Sashihara
7faf4587f4
Minor optimization for byDchar for wchar[] / byWchar for dchar[]
2018-03-01 10:42:08 -05:00
Jack Stouffer
efc1f44aa2
Optimized byDchar
2018-02-27 09:33:11 -05:00
Jack Stouffer
663b5b9278
Revert addition of StdUnittest
2018-02-20 13:32:32 -05:00
Jack Stouffer
18cbb29b04
Replaced version(unittest) blocks with version(StdUnittest)
2018-02-01 19:56:59 -05:00
Sebastian Wilzbach
df6365092a
Replace body
keyword with its replacement: do
...
Automatic replacement with
sed -i "s/^\([ ]*\)body/\1do/" -i **/*.d
2017-11-20 15:33:52 +01:00
Sebastian Wilzbach
97f6f39e4e
Change AliasSeq(0, ...) uses of foreach to static foreach
2017-11-02 17:11:37 +01:00
Jonathan M Davis
eedc41ffbf
Make spacing consistent.
2017-10-16 22:10:03 -06:00
Jonathan M Davis
6d7c2b0ba1
Fix Issue 17905: Add source property to byCodeUnit.
2017-10-16 22:10:03 -06:00
Jonathan M Davis
ae3a69023b
Move some deprecations along.
2017-10-08 02:28:30 -06:00
Walter Bright
9493099242
std.utf - inure against integral promotion changes
2017-07-24 20:26:20 -07:00
Jack Stouffer
b2f88c3ea3
Removed old debug printfs
2017-07-08 23:05:49 -04:00
Vladimir Panteleev
d0b9555a06
Revert "Sort selective imports"
...
This reverts commit 998ad51fd7
.
2017-06-13 17:51:52 +00:00
Sebastian Wilzbach
998ad51fd7
Sort selective imports
2017-06-12 08:12:09 +02:00
Sebastian Wilzbach
61717ecc7d
Sort imports
2017-06-12 07:54:38 +02:00
Walter Bright
fc3ab2bcfd
reimplement toUTF8/16 in terms of encode()
2017-05-20 16:26:36 -07:00
Vladimir Panteleev
86c43140fb
std.utf: Fix style (space around ..)
2017-03-11 02:53:33 +00:00
Vladimir Panteleev
05641deb9c
std.utf: Fix style (space after cast(x)
)
2017-03-11 02:22:46 +00:00
Vladimir Panteleev
bc83bb2d82
std.utf: Fix missing import in documented unittest
...
Fixes CircleCI.
2017-03-11 02:15:07 +00:00
Jonathan M Davis
62e42df8f7
Update docs for byCodeUnit.
2017-03-08 12:54:31 -08:00
Jonathan M Davis
53e81a7500
Improve formatting consistency in byCodeUnit.
...
Also renames the member variable in ByCodeUnitImpl so that it doesn't
have the same name as the function parameter as well as making it more
clear that it's a string rather than a more general range type.
2017-03-08 12:54:31 -08:00
Jonathan M Davis
6e3d41cfe9
Fix issue 16642: byCodeUnit doesn't work properly with alias this.
...
If a template is going to allow implicit conversions, it really needs to
force the conversion in order to avoid subtle bugs. This fixes
byCodeUnit so that it forces the conversion to a string type for types
that convert implicitly. It also fixes it so that types which implicitly
convert to a string type but are also ranges of characters without the
conversion will not be converted by byCodeUnit.
2017-03-08 12:54:27 -08:00
Sebastian Wilzbach
1a26901f48
[BOOKTABLES]: Add BOOKTABLE to std.utf
2017-03-01 21:59:18 +01:00
Sebastian Wilzbach
b8a88558a9
Fix Ddoc warnings
2017-02-26 09:33:14 +01:00
Sebastian Wilzbach
a2c6398332
Automatically add spaces to binary operators (==)
...
command:
sed -E "s/([[:alnum:]]) == ([[:alnum:]])/\1 == \2/g" -i **/*.d
sed -E "s/([[:alnum:]])== ([[:alnum:]])/\1 == \2/g" -i **/*.d
sed -E "s/([[:alnum:]]) ==([[:alnum:]])/\1 == \2/g" -i **/*.d
2017-02-23 00:57:47 +01:00
Andrei Alexandrescu
30724e67d9
Merge pull request #5166 from wilzbach/dscanner-unittest-safe-or-system
...
Dscanner: let unittest be @safe or @system
2017-02-22 14:44:08 -05:00
Sebastian Wilzbach
a36cec8686
DScanner: automatially set all unattributed unittests to @safe or @system
2017-02-22 05:42:04 +01:00
Sebastian Wilzbach
425ab667a3
Automatically set the range style from a..b -> a .. b
...
Commands:
sed -E "s/([[:alnum:]])[.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]])[.][.] ([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]]) [.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
2017-02-22 05:37:31 +01:00
Sebastian Wilzbach
805c720595
Unify Phobos by ensuring there's always a space after cast(...)
...
Command:
sed -E 's/([^"])cast\(([^)]*?)\)([[:alnum:]])/\1cast(\2) \3/g' -i **/*.d
2017-02-21 16:40:20 +01:00
Sebastian Wilzbach
87dec58a41
DStyle: Constraints on declarations should have the same indentation level
2017-02-17 07:36:23 +01:00
Sebastian Wilzbach
e95fabb90e
Merge pull request #5126 from JackStouffer/codeLength
...
Improve the documentation and template constraints for codeLength
2017-02-15 16:51:51 +01:00
Jack Stouffer
4e0094878f
Improve the documentation and template constraints for std.utf.codeLength
2017-02-15 10:22:51 -05:00
Jack Stouffer
360a42ec05
Add checks for infinite ranges in many range function signitures
2017-02-14 14:19:04 -05:00
Jack Stouffer
0a6c31bbee
Deprecate obsolete encoding functions in std.utf
2017-02-12 13:22:54 -05:00
Jack Stouffer
4a7ccddd64
Merge pull request #5051 from JackStouffer/toUTF32
...
Range-ify and DRY std.utf.toUTF32
2017-02-11 22:35:58 -05:00
Walter Bright
e6a21ecd35
Merge pull request #5066 from dlang/JackStouffer-patch-1
...
Remove some commented out code and redundant comment
2017-02-10 15:58:19 -08:00
Walter Bright
86a678da5e
Merge pull request #5089 from WalterBright/save-return-scope
...
[scope] add 'return scope' to std.utf.byUTF and std.string.leftJustifier
2017-02-10 15:53:51 -08:00
Walter Bright
aef2ec6806
add const to std.utf.UTFException.toString()
2017-02-08 13:07:28 -08:00
Walter Bright
238e02de75
[scope] add to byUTF and leftJustifier
2017-02-04 02:23:57 -08:00
Walter Bright
98753ad9b1
get byUTF() to work with 'scope'
2017-01-26 00:56:57 -08:00
Jack Stouffer
3c1fe47846
Remove commented out code and redundant comment
2017-01-24 13:23:00 -05:00
Jack Stouffer
66c6c3a934
Make std.utf.toUTF32 DRY
2017-01-21 11:24:39 -05:00
byebye
45984042ea
Fix condition and add to it explaining comment
2017-01-19 23:36:14 +01:00
byebye
7e85e21336
Change swap to assignment, fix decodeBack unit tests
2017-01-19 19:41:53 +01:00
byebye
944e7da50b
Fix issue #16323 - implement utf.encodeBack function
2017-01-19 15:06:36 +01:00
Sebastian Wilzbach
18ecb6b72c
Make more modules publicly runnable on dlang.org
2017-01-06 23:29:55 +01:00