Commit graph

67 commits

Author SHA1 Message Date
Temtaime
97647042ca Fix hang with buffer > 4gb 2023-08-14 02:38:04 +02:00
Andrei Alexandrescu
f06c92f484 Temporarily disable inlining of T_SHA2_16_79 because it increases build speed by 10x.
See also https://forum.dlang.org/thread/lcgitgilixahbnzwpwfp@forum.dlang.org
2020-08-04 19:01:37 +02:00
Nathan Sashihara
9f84d4ff21 sha: bswap without intermediate conversion to byte array 2020-07-25 10:07:59 +02:00
Walter Bright
2f0ea3fded sha: inline critical functions 2020-07-22 11:53:52 +02:00
Walter Bright
ddca869335 change rotateLeft to rol, rotateRight to ror 2020-07-21 10:01:26 +02:00
Walter Bright
6ca6549f9a std.digest.sha: don't reinvent rotate functions 2020-07-15 18:39:37 +02:00
Walter Bright
8b3a082878 std.digest.sha1: don't reinvent bswap() 2020-07-15 05:21:45 +02:00
Geod24
04f3979317 Replace 'Issue XXX' with Bugzilla links
Make the links clickable, as was done in the DMD repository.
Also avoids any ambiguity w.r.t. where the issue is stored.
2020-04-13 16:28:09 +09:00
Walter Bright
418fabe782 sha.d: assert msg cannot be scope 2020-03-20 22:52:14 -07:00
Rainer Schuetze
4cd43db1d8 SHA on Win64: use SSSE3 version by adjusting register usage 2018-12-08 15:46:12 +01:00
Iain Buclaw
fd5facfe04 posix.mak: Enforce whitespace before opening parenthesis for version conditions 2018-09-22 16:57:24 +02:00
Sebastian Wilzbach
c324714fde Remove a few cases of underscore escaping 2018-06-04 13:05:01 +02:00
Steven Schveighoffer
6a324db900 Another batch for removing version(unittest) 2018-04-12 16:27:18 -04:00
Sebastian Wilzbach
42894784dd Markdownify Phobos
$(D word) -> `word`
2018-04-02 22:32:47 +02:00
Sebastian Wilzbach
21659561ef Add more public examples to std.digest + add DScanner check 2018-03-29 23:03:37 +02:00
Jack Stouffer
663b5b9278 Revert addition of StdUnittest 2018-02-20 13:32:32 -05:00
Sebastian Wilzbach
d9830b739e Fix DScanner warnings 2018-02-10 22:46:32 +01:00
Walter Bright
f4f071cb8e fix Issue 18397 - Poor implementation of std.conf.hexString results in unintended bloat 2018-02-09 01:18:15 -08:00
Jack Stouffer
18cbb29b04 Replaced version(unittest) blocks with version(StdUnittest) 2018-02-01 19:56:59 -05:00
Sebastian Wilzbach
ec3f5e017c Replace deprecated hexstrings with std.conv.hexString
Basically `s/x"/hexString!"/`
2018-01-23 22:37:10 +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
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
5774d017eb Fix issue 16191 - std/digest/digest.d should be renamed to package.d 2017-07-10 05:10:53 +02:00
Sebastian Wilzbach
61717ecc7d Sort imports 2017-06-12 07:54:38 +02: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
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
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
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
Sebastian Wilzbach
18b8abf60a remove the deprecated wiki macros 2016-05-27 05:52:23 +02:00
Jack Stouffer
ba0a227a19 Fixed long lines in std/digest/sha.d 2016-05-10 20:51:39 -04:00
Sebastian Wilzbach
3d67cd228c style fix: space between operators 2016-04-26 22:26:20 +03:00
Benjamin L. Merritt
5f08c058ab Changed "Examples:" in Ddoc to "Example:" 2015-12-17 18:32:41 -08: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
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
Andrei Alexandrescu
a13cee766d Ensure each module has a description at the top. 2015-01-11 14:14:29 -08:00
Ilya Yaroshenko
cd76ad7ac3 std.digest.*: clean imports 2014-11-10 15:00:44 +03:00
Geod24
0fb95b8c27 Usage of WEB macro for License everywhere 2014-10-15 11:30:42 +02:00