Commit graph

118 commits

Author SHA1 Message Date
Sebastian Wilzbach
2591b61b4f Start removing std.{json,zip,zlib,algorithm.mutation}
from the assert_without_msg blacklist
2017-12-01 09:28:05 +01:00
JinShil
f0372315ca Issue 12625 - [scope] [DIP1000] implicit slicing of RValue static array should be illegal 2017-11-29 19:04:45 +09:00
Jack Stouffer
8ca4bf715c
Add secureEqual to the digest booktable 2017-11-20 22:46:43 -05:00
Sebastian Wilzbach
df6365092a Replace body keyword with its replacement: do
Automatic replacement with

    sed -i "s/^\([ ]*\)body/\1do/" -i **/*.d
2017-11-20 15:33:52 +01:00
Walter Bright
73ff97b90b std.digest.package: fix slicing of temp array 2017-08-31 00:55:18 -07:00
Steven Schveighoffer
a0a0842b90 Fix issue 17724 - to be deprecated module std.digest.digest conflicts with contained function digest for alias. 2017-08-06 17:21:49 -04:00
Sebastian Wilzbach
2e2bab3b74 std.digest link cleanup
- Convert references to MREFs
- Add source link to std.digest.murmurhash
- Add assert to the examples in std.digest.murmurhash
2017-07-21 03:19:29 +02:00
Sebastian Wilzbach
de8de6faec Make module unittest runnable 2017-07-10 20:59:28 +02:00
Sebastian Wilzbach
b875d70e97 Make digest.hmac @safe 2017-07-10 20:59:27 +02:00
The Dlang Bot
024858c6de Merge pull request #5588 from MartinNowak/merge_stable
Merge remote-tracking branch 'upstream/stable' into merge_stable
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-07-10 06:19:50 +02:00
Sebastian Wilzbach
5774d017eb Fix issue 16191 - std/digest/digest.d should be renamed to package.d 2017-07-10 05:10:53 +02:00
Sebastian Wilzbach
28e7c95c97 rename digest.d -> package.d 2017-07-10 05:10:53 +02:00
Martin Nowak
effe4fda00 Merge remote-tracking branch 'upstream/stable' into merge_stable 2017-07-10 04:15:21 +02:00
Sebastian Wilzbach
8cf4593243 Update std.digest BOOKTABLE 2017-07-07 20:22:17 +02:00
Vladimir Panteleev
657339069c Fix broken links 2017-07-06 19:15:31 +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
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