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
Sebastian Wilzbach
d47f9f110d
has_public_example: Add missing public examples to std/digest/crc.d
2017-06-12 04:24:41 +02:00
Sebastian Wilzbach
3afbd28c43
Fix Dscanner errors
2017-06-12 04:24:41 +02:00
Sebastian Wilzbach
9392b4d9c0
Style fix: space after cast(..)
2017-06-12 04:24:41 +02:00
Jack Stouffer
36a02d393d
Moved ddoc unittest block back to its proper position in std.digest.crc
2017-05-22 11:06:38 -04:00
Amaury SECHET
05a4c06029
Remove unittests which makes circle unhappy.
2017-05-21 23:04:28 +02:00
Amaury SECHET
6d4be23e2a
Add more doc
2017-05-21 23:04:28 +02:00
Amaury SECHET
0ea46ff1bd
Make the CRC struct public. It seems like one can't alias a private symbol without making circle unhappy.
2017-05-21 23:04:28 +02:00
Amaury SECHET
a4d9b57cdc
Add ECMA and ISO CRC64 variations
2017-05-21 23:04:28 +02:00
Amaury SECHET
d3e00ae03d
Add crc64 support
2017-05-21 23:04:28 +02:00
Andrei Alexandrescu
30b9da5189
Merge pull request #5312 from JackStouffer/secureCompare
...
Fix Issue 17286 - A function for comparing two digests securely
2017-03-31 17:04:36 -04:00
Jack Stouffer
290447ead4
Fix Issue 17286 - A function for comparing two digests securely
2017-03-30 15:11:47 -04:00
Jack Stouffer
75d1212766
Documented undocumented hmac helpers
2017-03-29 16:58:16 -04:00
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