Vladimir Panteleev
2ba25211f3
std.uni: Disambiguate templates with autodecoding off
...
With autodecoding off (and thus char[]/wchar[] now being random-access
ranges), both the range and array match/skip/test functions accepted a
char[] / wchar[].
2019-08-15 13:46:51 +00:00
David Gileadi
775bcdee51
Turn on -preview=markdown
2019-07-04 10:28:30 -07:00
Sebastian Wilzbach
66991b4cd7
Use selective top-level module imports in std.{typecons,uni,utf}
2019-05-23 10:57:09 +02:00
Iain Buclaw
12854834f6
Fix tests that fail on version (BigEndian)
2019-04-21 01:52:05 +03:00
Walter Bright
bc3dd0afda
Even more scope for FormatSpec
2019-03-18 01:28:47 -07:00
Walter Bright
f61d591752
std.uni: add scope to addInterval()
2019-01-15 03:43:30 -08:00
Nathan Sashihara
dcca23edca
Fix Issue 19164 - malloc may be considered pure when failure results in program exit (no need to reset errno)
2018-11-17 17:00:16 -05:00
Iain Buclaw
fd5facfe04
posix.mak: Enforce whitespace before opening parenthesis for version conditions
2018-09-22 16:57:24 +02:00
Sebastian Wilzbach
148fe78f95
Revert @trusted hotfix for std.uni
2018-07-19 18:29:18 +02:00
Sebastian Wilzbach
4211eecbe4
Merge pull request #6626 from wilzbach/renable-dip1000
...
[WIP] Re-enable -dip1000 on auto-tester + fix CircleCi
2018-07-19 16:27:02 +02:00
Sebastian Wilzbach
cfaf974dcb
Re-enable -dip1000 on auto-tester + fix CircleCi
2018-07-19 14:56:25 +02:00
Sebastian Wilzbach
a01488689a
Merge pull request #6637 from aG0aep6G/19094
...
fix issue 19094 - Anchored section does not exist in std.uni.normaliz…
2018-07-19 14:53:51 +02:00
aG0aep6G
91659e60fe
fix issue 19094 - Anchored section does not exist in std.uni.normalize phobos documentation
2018-07-18 16:53:03 +02:00
Martin Nowak
89a3990a4d
Merge remote-tracking branch 'upstream/stable' into merge_stable
2018-07-06 22:14:10 +02:00
aG0aep6G
4338d3405b
make "grapheme" a link
...
Clarifying the element type.
2018-07-04 18:18:27 +02:00
Sebastian Wilzbach
c810c56538
Merge remote-tracking branch 'upstream/stable' into merge_stable
2018-06-24 12:38:18 +02:00
Nathan Sashihara
a5d7eba13a
std.uni.toCase reserve before appending, not after
2018-06-18 04:04:02 -04:00
Basile Burg
7dc672f5bb
fix issue 18993 - toLower is broken for UTF chars
2018-06-17 10:04:36 +02:00
Walter Bright
d3ea319248
uni.d: use scope
2018-06-08 16:04:09 -07:00
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