Commit graph

115 commits

Author SHA1 Message Date
Sebastian Wilzbach
818deb3615 Fix DDoc macros 2017-06-30 01:39:24 +02:00
Sebastian Wilzbach
2ec7e9199b Fix Ddoc comments 2017-06-21 05:10:24 +02:00
Vladimir Panteleev
d0b9555a06
Revert "Sort selective imports"
This reverts commit 998ad51fd7.
2017-06-13 17:51:52 +00:00
Sebastian Wilzbach
2070d867dd Sort multiple packages within one line 2017-06-12 08:18:25 +02: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
4e54be90fc Merge pull request #5336 from aG0aep6G/std.regex-selflink-sections
[Ddoc] self-link sections
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2017-04-18 01:56:22 +02:00
anonymous
49c31b0285 [Ddoc] self-link sections
Now one can click on a section to get a link to it.
2017-04-16 12:19:17 +02:00
anonymous
db4da0f6f8 [Ddoc] un-highlight 'format'
Instances don't refer to the parameter. This fixes the S_LINK links.
2017-04-16 12:03:37 +02:00
Martin Nowak
1be69f36df Merge remote-tracking branch 'upstream/stable' into merge_stable
# Conflicts:
#	std/regex/internal/backtracking.d
#	std/regex/internal/shiftor.d
#	std/regex/package.d
2017-03-21 15:29:15 +01:00
H. S. Teoh
02691a4655 Missing public imports in unittests. 2017-03-14 16:21:10 -07:00
Jack Stouffer
e554764c01 Merge pull request #5216 from wilzbach/unluckily-phobos
Replace LUCKY links with actual links
2017-03-01 15:17:19 -05:00
Sebastian Wilzbach
1cbccaf0db [BOOKTABLES]: Add BOOKTABLE to std.regex 2017-03-01 08:18:42 +01:00
Sebastian Wilzbach
d548e8830a Replace LUCKY links with actual links 2017-02-28 23:46:54 +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
Martin Nowak
48a1792095 add missing imports for "old" std.regex unittests
- old tests after reverting BitNFA didn't have isolated runnable unittests
2017-02-16 17:44:10 +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
Dmitry Olshansky
f8b3eea065 [std.regex] Addressing review comments 2016-10-09 15:35:32 +03:00
Dmitry Olshansky
d1d53c556c [std.regex] Fixes for recent compiler version 2016-10-07 02:17:40 +03:00
Dmitry Olshansky
cd2c28f402 [std.regex] Trailing whites 2016-10-07 01:43:05 +03:00
Dmitry Olshansky
87847ed480 [std.regex] More tests for issue 9391 2016-10-07 01:41:09 +03:00
Dmitry Olshansky
e98fa4ad5a [std.regex] Fix issue 9391 - const regex, ctRegex is immutable 2016-10-07 01:40:41 +03:00
Jack Stouffer
81e97a0fe0 Added const and inout to methods in std.regex/package 2016-07-20 13:54:32 -04:00
Jack Stouffer
89fadf3edc Fixed package wide std.algorithm imports in std.regex.package 2016-07-05 00:13:22 -04:00
Jack Stouffer
3d580b8bf1 Removed global std.exception import from std.regex.package 2016-07-04 15:37:29 -04:00
Jack Stouffer
996aeb4505 Removed package wide std.range import from std.regex.package 2016-07-04 15:37:27 -04:00
Jack Stouffer
f8d5741633 Fixed local imports in std.regex 2016-07-01 12:27:33 -04:00
Sebastian Wilzbach
ec47ac4224 Remove the WEB macro in favor of HTTP
replacement: sed 's/\$(WEB/\$(HTTP/g' -i **/*.d
2016-06-16 00:14:51 +02:00
Sebastian Wilzbach
1d34a121e9 apply all-man braces in Phobos
// find common cases
sed -E "s/^(\s*)((if|static if|for|foreach|foreach_reverse|while|unittest|switch|else|version).*)\s*\{$/\1\2\n\1{/" -i **/*.d
// catch else-if
sed -E "s/^(\s*)} (else static if| if|else if|else)(.*)\s*\{$/\1}\n\1\2\3\n\1{/" -i **/*.d
// remove created trailing whitespace
sed -i 's/[ \t]*$//' **/*.d
2016-05-31 13:07:53 +02:00
Sebastian Wilzbach
2dfbc51f17 Standardize whitespace after imports
Unified with:

sed -E "s/import\s*([^ ]+)\s*:\s*(.*(,|;))/import \1 : \2/" -i **/*.d
2016-05-29 22:09:56 +02:00
Jack Stouffer
3b24d6436d Fixed long lines in std/regex/package.d 2016-05-10 20:51:39 -04:00
Sebastian Wilzbach
5a8988c149 style fix: add space after for operator 2016-04-27 02:04:02 +03:00
Sebastian Wilzbach
3d67cd228c style fix: space between operators 2016-04-26 22:26:20 +03:00
Ilya Yaroshenko
46ca5dad0d Merge pull request #4142 from DmitryOlshansky/regex-ref-counting
[std.regex] Use ref-counting for Captures struct
2016-04-26 14:31:35 +03:00
Dmitry Olshansky
8a487e2145 [std.regex] Split generation and parsing, almost completely.
This should aid readability and reduce the obscurity of the parser.
Also potentially non-generating parser is possible.
2016-04-25 14:12:08 +03:00
Dmitry Olshansky
872673d557 Use ref-counting for Captures struct 2016-04-16 11:26:31 +03:00
Dmitry Olshansky
e6c3320b1f Fix issue 12227 - Allow matching multiple patterns in one go with std.regex 2016-04-15 16:17:36 +03:00
Ilya Yaroshenko
4e393eb70a Merge pull request #4156 from DmitryOlshansky/issue-2104
Fix issue 2104 - escape function for regular expressions
2016-04-14 17:53:00 +02:00
Dmitry Olshansky
cf6152c13f Fix issue 2104 - escape function for regular expressions 2016-04-14 16:54:36 +03:00
Yazan Dabain
9887af3fe6 Fix some imports 2016-04-12 22:15:09 +03:00
Jack Stouffer
02e11abd54 Fix Issue 15797: Add keepSeperator option to std.regex.splitter 2016-04-11 15:55:14 -04:00
Dmitry Olshansky
9f256889ed Add documnetation and changelog for issue 12367 2016-04-11 15:05:21 +03:00
Dmitry Olshansky
add07e7ea6 Fix issue 14615 - std.regex.replaceFirstInto throws exception when no match is found 2016-04-07 10:49:30 +03:00
Sebastian Wilzbach
6c386d6f31 convert docstring examples to unittests 2016-03-03 19:39:12 +02:00
Steven Schveighoffer
b0acb7a394 Fix remaining import deprecation messages 2016-02-22 16:03:12 -05:00