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
Sebastian Wilzbach
77f68cafa3
Fix long lines in Phobos
2017-06-21 07:38:15 +02: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
The Dlang Bot
0b1f13fd51
Merge pull request #5361 from jmdavis/issue_17372
...
issue# 17372: icmp chokes on a lambda that can throw.
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2017-05-05 19:12:40 +02:00
Jonathan M Davis
27330e76b7
issue# 17372: icmp chokes on a lambda that can throw.
...
This removes some inappropriate attributes from a fullCasedCmp. It's
templated, and their applicability depends on the template argument, so
they should be inferred. And the unit tests for icmp which test the
attributes (including @safe) pass without the attributes on
fullCasedCmp, so I have no idea why any of them (particularly @trusted)
were ever there.
2017-05-05 17:15:19 +02:00
Sebastian Wilzbach
7093a541d5
[BOOKTABLES]: Add BOOKTABLE to std.uni
2017-05-05 14:45:40 +02:00
Sebastian Wilzbach
d548e8830a
Replace LUCKY links with actual links
2017-02-28 23:46:54 +01:00
Sebastian Wilzbach
203755d296
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
Sebastian Wilzbach
ef7be4b60d
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
Sebastian Wilzbach
d905ef53b1
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
Sebastian Wilzbach
0b33b50812
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
6c9b626e6f
[opSlice stye fixup] fix false-positives from the automatic conversion
2017-02-22 06:33:37 +01: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
Jack Stouffer
5a2491a847
Fix Issue 17161 - Revert all changes to std.regex from 2.072.2 onwards
2017-02-12 12:30:40 -05:00
Sebastian Wilzbach
cc7f125ed1
Add missing imports to public unittests
2016-12-15 23:23:35 +01:00
Ilya Yaroshenko
5c770fba08
Merge pull request #4933 from sprinkle131313/master
...
Issue 13429: make sicmp and icmp @nogc nothrow.
2016-12-08 23:09:23 +02:00
Sebastian Wilzbach
b82ae35fd7
Use void for auto function without return statement
2016-12-08 12:32:14 +01:00
Ilya Yaroshenko
9046849d36
Merge pull request #4932 from dlang/stable
...
merge stable into master
2016-12-07 18:08:59 +02:00
sprinkle131313
40787cee7f
Issue 13429: make sicmp and icmp @nogc nothrow
2016-12-06 12:11:29 -05:00
Dicebot
2f27e58b0e
Add regression test for issue 16663
2016-11-15 12:26:59 +02:00
Dicebot
8f8979ebe1
Revert "Merge pull request #4790 from JackStouffer/uni-private"
...
This reverts commit 1a7914a48c
, reversing
changes made to d38727771b
.
Fixes issue 16663
2016-11-10 19:21:14 +02:00
Dmitry Olshansky
e98fa4ad5a
[std.regex] Fix issue 9391 - const regex, ctRegex is immutable
2016-10-07 01:40:41 +03:00
Andrei Alexandrescu
1a7914a48c
Merge pull request #4790 from JackStouffer/uni-private
...
Make private, remove, or document undocumented public symbols in std.uni
2016-09-30 23:54:50 -04:00
Jack Stouffer
38e136b46e
Removed redundant code for iterating over code units
2016-09-19 08:55:40 +01:00
David Nadlinger
dc2a67c1ac
std.uni: Don't hard-code @safe on template accepting output range
...
Fixup for GitHub #4792 .
2016-09-17 02:50:58 +01:00
Jack Stouffer
727985e504
Remove undocumented template hacks
2016-09-16 15:23:49 +01:00
Jack Stouffer
f5b8e679aa
Document alias-this work arounds
2016-09-16 15:23:49 +01:00
Jack Stouffer
7bd3b2eabc
document or make private public symbols
2016-09-16 15:23:47 +01:00