Sebastian Wilzbach
b56db9a061
Use selective top-level module imports in std.{functional,getopt,math,net,outbuffer}
2019-05-23 13:20:04 +02:00
Sebastian Wilzbach
c324714fde
Remove a few cases of underscore escaping
2018-06-04 13:05:01 +02:00
Steven Schveighoffer
d4a35f09da
More removal of version(unittest)
2018-04-13 12:20:02 -04:00
Sebastian Wilzbach
42894784dd
Markdownify Phobos
...
$(D word) -> `word`
2018-04-02 22:32:47 +02:00
Jack Stouffer
663b5b9278
Revert addition of StdUnittest
2018-02-20 13:32:32 -05:00
Sebastian Wilzbach
09b134a9d4
Fix DScanner - same visibility attribute used as defined on line 1713
2018-02-14 01:43:00 +01:00
Nathan Sashihara
06e40304b2
Fix Issue 18384 - std.net.isemail is slow to import due to regex
...
Solution is to remove regex from std.net.isemail. May be worth revisiting
if std.regex compile times improve.
2018-02-11 06:08:45 -05:00
Walter Bright
9b57e5474b
std.net.isemail: document relicense
2017-11-30 14:32:58 -08:00
Sebastian Wilzbach
5c31dd26ed
Issue 15750 - remove substr from std.net.isemail
2017-07-09 17:59:59 +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
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
Jack Stouffer
3e205b4e62
Make std.net.isemail.isEmail @safe
2017-02-21 14:00:25 -05:00
Jack Stouffer
0cf8397a75
Improve docs for std.net.isemail
2017-02-21 14:00:25 -05:00
Jack Stouffer
a91b610ce1
Fix issue 17217 - std.net.isemail.isEmail doesn't work with non char arrays
2017-02-21 09:55:00 -05:00
Jack Stouffer
37b327aebe
Modernized regex code in std.net.isemail
2017-02-21 00:37:04 -05:00
Sebastian Wilzbach
87dec58a41
DStyle: Constraints on declarations should have the same indentation level
2017-02-17 07:36:23 +01:00
Jack Stouffer
db5480c232
Added immutable to never modified variables in std.net.email
2017-02-14 10:29:32 -05:00
Jack Stouffer
9785c7845e
Add attributes to functions in std.net.isemail
2017-02-14 10:29:31 -05:00
Sebastian Wilzbach
18ecb6b72c
Make more modules publicly runnable on dlang.org
2017-01-06 23:29:55 +01:00
e-y-e
befa0bfb6e
Updated Flag uses to Yes/No structs
2016-09-29 14:45:20 +01:00
e-y-e
004bc507df
Change yes/no enum CheckDns to a Flag
2016-09-23 10:27:49 +01:00
Jack Stouffer
c19f64a622
Removed package wide std.algorithm imports from std.net.isemail
2016-07-18 09:53:18 -04:00
Jack Stouffer
bd948f9995
Fixed local imports in std.net.isemail
2016-06-30 18:11:40 -04:00
Jacob Carlborg
9fd3646ae6
Fix issue 16036 - isEmail returns invalid for any email with EmailStatusCode.none
2016-05-18 16:21:58 +02:00
Jack Stouffer
909582aa3f
Fixed long lines in std/net/isemail.d
2016-05-10 20:51:39 -04:00
Sebastian Wilzbach
66e0dc39c5
convert docstring examples to unittests
2016-03-09 21:22:15 +02:00
Benjamin L. Merritt
5f08c058ab
Changed "Examples:" in Ddoc to "Example:"
2015-12-17 18:32:41 -08:00
Vladimir Panteleev
86cf380007
HTML fixes
2015-10-24 06:19:23 +00:00
Clement
bc13f1941c
constify isemail props
2015-01-09 17:04:14 +01:00
Ilya Yaroshenko
2c744b54e1
std.range: constraints => primitives
...
See discussion and voting in #2661
2014-11-23 20:05:20 +03:00
Ilya Yaroshenko
c8d9afedea
clean scope imports
...
imports of `std.range, std.algorithm, std.array, std.string,
std.format, std.uni` are affected.
2014-11-21 00:08:35 +03:00
Ilya Yaroshenko
7d421c7e77
Use scope imports in std.net.isemail
...
remove commented code
2014-11-15 02:16:42 +03:00
Daniel Murphy
4d0892baba
Remove uses of the comma operator
2014-02-18 00:48:40 +11:00
k-hara
b391b2ec9f
Convert to new alias syntax
2014-02-11 15:27:05 +09:00
Daniel Murphy
a656f26e9e
Remove use of automatic adjacent string literal concatenation from phobos
2014-01-20 03:42:21 +11:00
Alex Rønne Petersen
931442d539
Merge pull request #1369 from AndrejMitrovic/IsemailFix
...
Deglobalize default threshold value, and fix initialization of threshold variable
2013-06-30 08:20:21 -07:00
k-hara
03a32d6fa4
Fix issue 313 & 314
2013-06-25 08:38:30 +09:00
Andrej Mitrovic
8e4ef6aa8d
Deglobalize default threshold value, and fix initialization of threshold variable.
2013-06-24 22:25:42 +02:00
Jacob Carlborg
c08f47e52c
Use escape sequence for DELETE character.
...
This is just to make it a bit clearer what's going on.
2013-03-23 17:55:05 +01:00
Jacob Carlborg
f6e27e6f79
Enable a bunch of tests for std.net.isemail.
...
These tests were previously commented out because of a bug
the regular expression module. Now when we have a new regular
expression module we can enable these tests.
This also fixed a bug in the internally used "substr" function.
2013-03-22 15:44:58 +01:00
alexrp
b202180295
Remove all uses of sizediff_t in favor of ptrdiff_t.
2012-10-15 04:24:09 +02:00
jmdavis
27469366a7
Fix modules which incorrectly use std.string's public imports.
...
Now, they should be correctly importing for the functions publicly
imported by std.string so that if those public imports are ever removed,
they won't break.
2012-09-30 03:29:37 -07:00
SHOO
ede978cb39
Fix for issue 8558
2012-08-18 20:48:24 +09:00
k-hara
844b1e16ad
final @property
2012-03-20 01:55:31 +09:00
David Nadlinger
e312f9898b
Strict @property syntax compliance.
...
This enables the test suite to build with the -property switch enabled.
std.cpuid: vendor()/processor() have not been converted to properties in accordance to core.cpuid.
std.xml: Element.text() cannot be a property due to the optional parameter.
2011-12-04 09:56:14 +01:00
Christian Kamm
de9eaaa3c8
Fix imports in isemail.d.
...
ElementType is defined in std.range.
2011-10-10 19:21:24 +02:00