Sebastian Wilzbach
3817d6f37d
Check public functions for public examples ( #4998 )
...
Check public functions for public examples
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-03-01 15:49:15 +01:00
Sebastian Wilzbach
a2c6398332
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
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
7ae36bf176
Merge remote-tracking branch 'upstream/stable' into merge_stable
2017-01-15 01:30:10 +01:00
Martin Nowak
382f9d28f8
faster CRC32 implementation
...
- use slicing by 8 algorithm with bigger precomputed tables
- roughly 4x faster
2017-01-08 03:21:45 +01:00
Martin Nowak
19641412f6
Merge remote-tracking branch 'upstream/master' into stable
2017-01-07 04:00:22 +01:00
Sebastian Wilzbach
18ecb6b72c
Make more modules publicly runnable on dlang.org
2017-01-06 23:29:55 +01:00
Martin Nowak
12c56c935c
partly fix Issue 9378 - SHA1 asm not PIC compatible
...
- access SHA1 constants through extra register in x64 code
- tried same for x86 but there is no register left and
loading constants via stack was way too slow
2016-12-24 16:26:23 +01:00
Jack Stouffer
67d44e4cdc
Remove package wide std.algorithm imports from Phobos
2016-09-22 08:36:14 +01:00
Dmitry Olshansky
fba7339893
Merge pull request #4639 from 9il/mm3
...
fix Issue 16311 - toHash for Slice is not defined
2016-08-04 11:00:45 +02:00
Ilya Yaroshenko
4866f6c79d
add Slice.toHash
2016-07-31 18:07:42 +02:00
Johannes Pfau
8cb66be20a
Add unittest for .length and .peek (std.digest.digest.WrapperDigest)
2016-07-30 09:35:01 +02:00
Sebastian Wilzbach
7864e43ce5
std.digest.digest: make toHexString @safe
2016-07-29 17:44:50 +02:00
anonymous
50c660f4bb
restore mistakenly removed 'scope'
...
This reverts a part of commit 77aa18e3e5
.
2016-07-03 22:42:43 +02:00
Walter Bright
77aa18e3e5
std.digest: remove wrong use of scope
2016-07-03 02:13:38 -07: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
Guillaume Chatelet
b9e338da2e
Adding murmurhash3 digest to phobos
2016-05-29 15:38:07 +02:00
anonymous
d648f9320e
XREF_PACK -> REF (sed)
...
Done by:
from='\$\(XREF_PACK\s+([^(),]*),\s*([^(),]*),\s*([^(),]*)\)'
to='$(REF \3, std,\1,\2)'
(find . -type f -name "*.d" -print0; \
find . -type f -name "*.dd" -print0) | \
xargs -0 sed -i -r "s/$from/$to/g"
2016-05-27 21:32:46 +02:00
anonymous
764caefa36
XREF -> REF (sed)
...
Done by:
(find . -type f -name "*.d" -print0; \
find . -type f -name "*.dd" -print0) | \
xargs -0 sed -i -r \
's/\$\(XREF\s+([^(),]*),\s*([^(),]*)\)/$(REF \2, std,\1)/g'
2016-05-27 21:32:46 +02:00
Sebastian Wilzbach
18b8abf60a
remove the deprecated wiki macros
2016-05-27 05:52:23 +02:00
Sebastian Wilzbach
89a2dd5f11
use mref macro instead of link2
2016-05-16 03:30:08 +03:00
Jack Stouffer
ba0a227a19
Fixed long lines in std/digest/sha.d
2016-05-10 20:51:39 -04:00
Jack Stouffer
8c5841804b
Fixed long lines in std/digest/hmac.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
Kai Nacke
508987aca4
Linux/PPC: Really fix the import for md.d/ripemd.d.
...
The current import for version(BigEndian) is still wrong.
This finally fixes the import.
2016-03-12 20:19:33 +01:00
Kai Nacke
7c065e1c50
Fix big endian version of std.digest.md and std.digest.ripemd.
...
An import is missing.
2016-03-04 23:25:49 +01:00
Benjamin L. Merritt
5f08c058ab
Changed "Examples:" in Ddoc to "Example:"
2015-12-17 18:32:41 -08:00
Dragos Carp
d698887729
Remove obsolete TypeTuple references
...
Replace following names:
std.typetuple -> std.meta
TypeTuple -> AliasSeq
ParameterTypeTuple -> Parameters
FieldTypeTuple -> Fields
std.traits requires more work than search/replace and is left unchanged.
2015-10-13 20:37:44 +02:00
Johannes Pfau
70ac0312e7
Extend documentation for toHexString
2015-07-19 23:56:13 +02:00
Walter Bright
8404f65dae
std.digest.sha remove static constructor
2015-06-30 14:36:07 -07:00
David Nadlinger
41d2027c22
Merge pull request #3233 from schuetzm/hmac
...
Add std.digest.hmac
2015-06-20 20:29:30 +02:00
Martin Nowak
4a80223d93
Merge pull request #3408 from schveiguy/fixstaticctor
...
Remove static ctor in template to avoid issue with cycles.
2015-06-20 12:08:06 +02:00
anonymous
b28962635f
fix package XREFs
...
Also add escaping underscores in some places, and rewrap to 80 columns
where touching anyway.
2015-06-15 22:30:41 +02:00
Steven Schveighoffer
2e9d867f88
Remove static ctor in template to avoid issue with cycles.
2015-06-12 18:41:03 -04:00
Marc Schütz
57ecc812d7
Add std.digest.hmac
2015-06-12 20:37:47 +02:00
Walter Bright
d9a9826e55
Revert "Introducing std.meta package"
2015-05-06 14:36:45 -07:00
Dicebot
7970fcc748
Don't use fqn for any/all
...
In most cases it resolves unambiguosly
2015-05-05 22:22:11 +03:00
Dicebot
1c9ae027ef
Rename old std.typetuple symbols inside Phobos
...
staticIndexOf -> indexOf
allSatisfy -> all
anySatisfy -> any
staticMap -> Map
2015-05-05 22:22:11 +03:00
Dicebot
73f773838d
import std.typetuple -> import std.meta
2015-05-05 22:22:10 +03:00
Marc Schütz
e42c27242e
Add closing ")" in ddoc
2015-04-18 10:07:48 +02:00
Walter Bright
75d33a3395
Improve documentation for std.digest.crc.crc32Of
2015-04-07 18:16:49 -07:00
Ulrich Küttler
285593e432
Remove unused (outdated) macros
2015-02-16 15:15:45 +01:00
Andrei Alexandrescu
c0aad5b580
Fix debug build
2015-02-01 12:51:33 -08:00
anonymous
9309f2b142
[DDoc] add HTML class "quickindex" to manually maintained jump link tables
2015-01-26 11:19:05 +01:00
Andrei Alexandrescu
cb044b02aa
Verbatim-related changes in phobos
2015-01-12 00:05:36 -08:00