Commit graph

75 commits

Author SHA1 Message Date
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
33cceac7ac switch Digital Mars copyright to D Language Foundation 2018-09-05 13:49:46 -07:00
Sebastian Wilzbach
c324714fde Remove a few cases of underscore escaping 2018-06-04 13:05:01 +02:00
Nathan Sashihara
8ae499e963 zip & zlib: don't zero-fill buffers before writing to them 2018-04-24 21:00:16 -04:00
Walter Bright
7d3a82cc3c zlib: remove switch from in front of super() 2018-04-05 21:32:51 -07:00
Sebastian Wilzbach
42894784dd Markdownify Phobos
$(D word) -> `word`
2018-04-02 22:32:47 +02:00
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
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
kas-luthor
fdbf5e4a5a std.zlib: Add UnCompress.empty
Implement std.zlib.UnCompress.empty() which returns
whether all input has been processed.

Fix issue 8779.
2017-09-10 11:47:36 +02:00
kas-luthor
5cf20bd877 Fixed issues 3191 and 9505
std.zlib.UnCompress.uncompress() now consumes as much of the input buffer as
possible and extends / reallocates the output buffer accordingly
It also sets inputEnded = 1 when Z_STREAM_END is returned from inflate() so that
additional data after the compressed stream is not consumed
2017-09-04 22:56:42 +02:00
Sebastian Wilzbach
70f06b2357 Remove old, redundant private import access specifier
Very very old versions of D (well into 0.x) had imports public by default,
like C header files. This modernizes the codebase and removes the
redundant `private` access specifier.
This has been done with:

sed "s/private import/import/g" -i **/*.d
2017-07-11 12:28:39 +02:00
Sebastian Wilzbach
61717ecc7d Sort imports 2017-06-12 07:54:38 +02: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
Jack Stouffer
70ae191913 Removed uses of the delete keyword from std.zlib 2016-10-27 16:30:33 +01:00
Jack Stouffer
67d44e4cdc Remove package wide std.algorithm imports from Phobos 2016-09-22 08:36:14 +01:00
Atila Neves
0b3d259691 Add @system to std.zlib unit tests 2016-07-01 10:50:13 +02: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
Sebastian Wilzbach
1d34a121e9 apply all-man braces in Phobos
// find common cases
sed -E "s/^(\s*)((if|static if|for|foreach|foreach_reverse|while|unittest|switch|else|version).*)\s*\{$/\1\2\n\1{/" -i **/*.d
// catch else-if
sed -E "s/^(\s*)} (else static if| if|else if|else)(.*)\s*\{$/\1}\n\1\2\3\n\1{/" -i **/*.d
// remove created trailing whitespace
sed -i 's/[ \t]*$//' **/*.d
2016-05-31 13:07:53 +02:00
Sebastian Wilzbach
2dfbc51f17 Standardize whitespace after imports
Unified with:

sed -E "s/import\s*([^ ]+)\s*:\s*(.*(,|;))/import \1 : \2/" -i **/*.d
2016-05-29 22:09:56 +02:00
Sebastian Wilzbach
18b8abf60a remove the deprecated wiki macros 2016-05-27 05:52:23 +02: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
Dmitry Olshansky
e29c39db03 Merge pull request #4095 from WalterBright/fix15457
fix Issue 15457 - Symbol Undefined __lseeki64
2016-03-20 11:09:23 +04:00
Walter Bright
1b6cf80232 fix Issue 15457 - Symbol Undefined __lseeki64 2016-03-19 21:58:06 -07:00
Sebastian Wilzbach
44452a7a92 std.zlib: add documentation header example 2016-03-04 19:16:10 +02:00
Vladimir Panteleev
86cf380007 HTML fixes 2015-10-24 06:19:23 +00:00
Vladimir Panteleev
07422ed9a6 fix Issue 14799 - Documentation for std.zlib.compress is incorrect 2015-09-01 05:40:12 +00:00
Vladimir Panteleev
1156b077b6 fix Issue 14777 - 0 is not the initial value for std.zlib.adler32 2015-08-31 11:39:13 +00:00
Adam D. Ruppe
87f7af1fd5 eliminate dangerous and/or useless casts from zlib 2015-07-22 10:28:33 -04:00
Corey Porter
71a86cb797 Make descriptions more clear and stand-alone, prefer ddoc macros to manual navigation. 2015-03-27 16:07:22 -07:00
Corey Porter
0fa1358b64 more/reformatted documentation for the std.zlib.Compress class 2015-03-23 17:50:08 -07:00
Andrei Alexandrescu
4d8a213d3a Merge pull request #3092 from cporter/doc/std-zlib-adler
added documentation for std.zlib.adler32
2015-03-22 22:40:38 -07:00
Andrei Alexandrescu
7280580f82 Merge pull request #3093 from cporter/doc/std-zlib-crc32
docs for std.zlib.crc32
2015-03-22 22:40:02 -07:00
Corey Porter
da2ba6a9d4 documentation for std.zlib.compress 2015-03-22 19:36:36 -07:00
Corey Porter
f9eec835db docs for std.zlib.crc32 2015-03-22 18:45:02 -07:00
Corey Porter
f6a954ccbb added documentation for std.zlib.adler32 2015-03-22 17:20:53 -07:00
Ilya Yaroshenko
cf5d056a45 std.zlib: clean imports 2014-11-14 17:15:16 +03:00
Geod24
e9fad4844a Fix incorrect link to zlib 2014-10-15 16:14:37 +02:00
Geod24
0fb95b8c27 Usage of WEB macro for License everywhere 2014-10-15 11:30:42 +02:00
Superstar64
f79af5f018 std.zlib.crc32 and std.zlib.adler32 64-bit underflow|error when processing over 2^32 bytes of data fix 2014-09-04 14:48:35 -04:00
Andrej Mitrovic
f205f7d7c5 Replace implicit catches of Throwables with explicit catches. 2014-04-21 23:05:50 +02:00
Lionello Lunesu
b4074054ba Fix issue 10893: added missing or renamed DDoc parameters (found by fix to 10236) 2013-08-31 15:36:29 +08:00
Sönke Ludwig
a84271845b fix Issue 8694 - (Un)Compress may cause an InvalidMemoryOperationError
The calls to error() are removed from the finalizers to avoid memory allocations there. The result does not matter at this point anyway since nothing can be done about it.
2012-09-19 12:14:05 +02:00
jmdavis
25df7d748b Fix build breakage due to std.zlib changes. 2011-11-06 01:01:31 -08:00
kai
e04c1284ce Small fixes to std.zlib.
1) The output was broken when running the unittest with debug=zlib.
2) If the output buffer was too small then uncompress() repeated the process with a bigger buffer. Now the buffer is simply expanded and the uncompression continued.
3) Added a unit test to check that the buffe expansion from 2) works.
2011-10-27 06:56:29 +02:00
Adam D. Ruppe
41676f693b added flag for UnCompress too 2011-08-24 20:58:01 -04:00
adamdruppe
8b5ce4b4d3 add gzip compression support 2011-08-23 22:15:59 -03:00
Walter Bright
046e1b36db add source links 2011-02-06 15:46:50 -08:00
Walter Bright
0b98cba9be build break in zlib 2011-01-11 18:54:12 +00:00