Commit graph

344 commits

Author SHA1 Message Date
The Dlang Bot
cc58e8a7bf
Merge pull request #6545 from JackStouffer/toCase-random-access
Issue 18948 - std.uni.toLower and std.uni.toUpper should work with random access ranges
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-06-05 17:40:33 +02:00
Jack Stouffer
fa5830c32e Fix Issue 18948 - toLower and toUpper should work with random access ranges 2018-06-05 09:31:41 -04:00
The Dlang Bot
a56ae8026b
Merge pull request #6542 from wilzbach/underscore
Remove a few cases of underscore escaping
merged-on-behalf-of: Steven Schveighoffer <schveiguy@users.noreply.github.com>
2018-06-04 22:29:52 +02:00
Sebastian Wilzbach
c324714fde Remove a few cases of underscore escaping 2018-06-04 13:05:01 +02:00
Jack Stouffer
707c50b90c Fix Issue 18822 - Compiling byGrapheme Fails 2018-05-03 11:37:42 -04:00
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
Sebastian Wilzbach
4c016d129f Remove superfluous _range used to avoid auto-highlighting 2018-04-09 21:31:57 +02: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
Nathan Sashihara
e6e41d901c Add ASCII fast path to sicmp & icmp 2018-03-28 12:50:36 -04:00
The Dlang Bot
ed319de35f
Merge pull request #6225 from DmitryOlshansky/faster-sicmp
Fix awfully slow sicmp
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-03-28 06:02:34 +02:00
Nathan Sashihara
6e435d4ae2 fix PR #6225 2018-03-27 22:37:18 -04:00
carblue
c4e9d66fbb [Trivial]std.uni: Fix a -dip1000 compilable issue; appeared since #6041 2018-03-19 07:24:46 +01:00
Jack Stouffer
7beea030c7 Added writer overload of toString to Appender 2018-03-13 10:15:59 -04:00
carblue
cef1c19991 Fix Issue 17961 - std.uni does not compile with -unittest -dip1000; rebased 2018-03-11 16:45:15 +01:00
Andrei Alexandrescu
7dde9c948d
More slight improvements 2018-02-28 12:09:14 +02:00
Andrei Alexandrescu
230a30ec9c
Minor improvements 2018-02-28 12:05:15 +02:00
Dmitry Olshansky
7d2928b24a Fix awfully slow sicmp
Turns out byDchar is ~2x slower then decodeFront,
time to either deprecate byDchar or make it fast.

2nd minor improvement is handling
ascii case w/o lookup tables.
2018-02-27 11:25:04 +03:00
Jack Stouffer
663b5b9278 Revert addition of StdUnittest 2018-02-20 13:32:32 -05:00
The Dlang Bot
c1757f4871
Merge pull request #6074 from carblue/std_uni_fix_in
std.uni: Replace parameter storage class in by what it should express…
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-02-12 21:37:28 +01:00
Jack Stouffer
18cbb29b04 Replaced version(unittest) blocks with version(StdUnittest) 2018-02-01 19:56:59 -05:00
carblue
37a41f508b std.uni: Replace parameter storage class in by what it should express (const scope, but dmd treats it as const); see also merged dlang.org PR #2126 or issue #17928 2018-01-26 20:11:55 +01:00
Sebastian Wilzbach
46c379a14e Remove staticIota: std_uni 2018-01-22 17:19:14 +01:00
H. S. Teoh
fe1cad26bb Also document second overload.
Ditto with CodepointTrie type.
2018-01-13 06:03:00 -08:00
H. S. Teoh
4b56e349ac Document actual codepointTrie function.
Since the containing template is already ddoc'd.
2018-01-12 15:21:00 -08:00
The Dlang Bot
cfdc04a97b
Merge pull request #6013 from quickfur/ctfe_graphemestride
Unittest to ensure CTFE-ability for std.uni.graphemeStride.
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-01-09 01:26:52 +01:00
H. S. Teoh
753424e97c Unittest to ensure CTFE-ability for std.uni.graphemeStride. 2018-01-08 09:22:44 -08:00
Jack Stouffer
c728e37be8 Remove indiscriminate '@trusted:' from std.uni 2018-01-08 09:37:59 -05:00
Jack Stouffer
dc291a16e4 Changed all instances of FormatSpec to const ref 2018-01-04 10:05:16 -05:00
The Dlang Bot
f3189822ab
Merge pull request #5989 from wilzbach/static-foreach
Use static foreach in Phobos
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2018-01-03 19:05:07 +01:00
Sebastian Wilzbach
7de3787876 Use static foreach in Phobos 2018-01-03 17:30:11 +01:00
Sebastian Wilzbach
9f492c1c2c @safeify more unittests 2018-01-03 05:44:04 +01: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
The Dlang Bot
ad489989ec Merge pull request #5722 from DmitryOlshansky/regex-matcher-interfaces
std.regex: major internal redesign, also fixes issue 13532
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-10-16 20:16:33 +02:00
Joakim
afdae06936 Move new top-level selective imports in std.uni to local scopes 2017-10-11 00:16:10 +05:30
Sebastian Wilzbach
32d76b97d8 Add a space to a selective import in std.uni 2017-10-01 18:04:27 +02:00
Martin Nowak
f9b2d42e9e Merge remote-tracking branch 'upstream/stable' into merge_stable
Conflicts:
	std/uni.d
2017-10-01 14:44:58 +02:00
Dmitry Olshansky
8bfa66c50a Fix CI complaints 2017-09-28 11:55:43 +03:00
Dmitry Olshansky
c7bdfbe51b std.regex finish the loose ends in the great refactoring 2017-09-28 11:55:43 +03:00
Dmitry Olshansky
639dd3dd6f The new std.regex design is concluded, going through the unitests 2017-09-28 11:55:43 +03:00
Dmitry Olshansky
24df493f62 Do not wrap proper ranges in byCodePont 2017-09-25 18:08:16 +03:00
Dmitry Olshansky
d46bd62bca Fix issue 13829 - byCodePoint has length 2017-09-13 11:19:32 +03:00
Dmitry Olshansky
187e2b769b fix issue 13348 2017-09-07 11:05:51 +03:00
Dmitry Olshansky
5d0c5dbaeb std.uni : appease circle-CI checks 2017-08-24 13:18:48 +03:00
Dmitry Olshansky
bc14c02e45 Rangify std.regex codepoint set parser 2017-08-24 11:22:51 +03:00
Dmitry Olshansky
905788a65a Move unicode set parser out of std.regex
This only does the move without adapting
the interface to the commonly accepted ranges.
2017-08-23 19:17:55 +03:00
Sebastian Wilzbach
e8806ada8f Remove redundant public: labels in std.uni + move FormatException import into unittest 2017-07-11 12:28:39 +02:00
Sebastian Wilzbach
70f06b2357 Remove old, redundant private import access specifier
Very very old versions of D (well into 0.x) had imports public by default,
like C header files. This modernizes the codebase and removes the
redundant `private` access specifier.
This has been done with:

sed "s/private import/import/g" -i **/*.d
2017-07-11 12:28:39 +02:00
Sebastian Wilzbach
5b456a10a9 Undocument failing unittests 2017-07-05 19:32:19 +02:00
Sebastian Wilzbach
16b9188b4a Fix deprecations 2017-07-05 18:28:51 +02:00