Wayne Davison
3e2e4b5a33
Tweak the copyright year.
2019-03-16 09:15:49 -07:00
Wayne Davison
473108ae6e
Tweak copyright date.
2018-01-14 19:55:07 -08:00
Wayne Davison
453914e35b
Update the copyright year.
2015-08-08 12:47:03 -07:00
Wayne Davison
22a3ac0b55
Add new-style compression that skips matching data.
...
Adding new-style compression that only compresses the literal data that
is sent over the wire and not also matching file data that was not sent.
This new-style compression is compatible with external zlib instances,
and will eventually become the default (once enough time has passed that
all servers support the --new-compress and --old-compress options).
NOTE: if you build rsync with an external zlib (i.e. if you specified
configure --with-included-zlib=no) you will ONLY get support for the
--new-compress option! A client will treat -z as uncompressed (with a
warning) and a server will exit with an error (unless -zz was used).
2014-04-19 12:18:19 -07:00
Wayne Davison
dfa5b49110
Bump the year to 2014.
2014-01-26 09:29:15 -08:00
Wayne Davison
7e1a9c4d79
Update copyright year.
2013-01-19 11:05:53 -08:00
Wayne Davison
7da17144fd
Add compatibility with an unmodified zlib.
2011-11-21 09:22:14 -08:00
Wayne Davison
cbdff74b44
Fix --compress data-duplication bug.
2011-11-21 09:17:17 -08:00
Wayne Davison
3be1d9beb2
Fix compression-ignoring of upper-case suffixes.
...
Fixes bug 7512.
2010-06-19 09:47:00 -07:00
Wayne Davison
4286ea6036
Don't die if inflate() returns Z_BUF_ERROR in see_deflate_token().
2009-12-21 10:15:13 -08:00
Wayne Davison
e4c598c830
Make some RERR_* choices better, and another noop_io_until_death() tweak.
2009-11-16 12:35:17 -08:00
Wayne Davison
2f1fb732d4
Improve error handling and get rid of a lingering fprintf().
2009-09-05 10:25:42 -07:00
Wayne Davison
b3bf9b9df9
Update the copyright year.
2009-01-03 10:57:14 -08:00
Wayne Davison
5dd14f0c33
Split up the ifuncs.h file into 3 .h files.
2008-09-01 19:11:36 -07:00
Wayne Davison
d3d07a5e86
Include 2008 in the copyright years.
2008-03-01 12:01:41 -08:00
Wayne Davison
1b42f628f4
Moved inline functions from rsync.h into ifuncs.h.
2007-09-22 16:52:58 +00:00
Wayne Davison
0d585188f9
Make sure that any "dont compress" patterns that have wildcards in a
...
suffix match stay in the wildcard-matching list.
2007-07-14 19:36:52 +00:00
Wayne Davison
6e058b4b60
- Added support for the new --skip-compress option.
...
- Optimized the matching of non-compressing file suffixes.
2007-07-14 19:24:35 +00:00
Wayne Davison
8e41b68e8f
Tweaking the license text a bit more.
2007-07-10 13:55:49 +00:00
Wayne Davison
4fd842f98d
Switching to GPL 3.
2007-07-07 05:33:14 +00:00
Wayne Davison
ba2133d6ad
Further modifications to the copyright comment section.
2007-02-04 14:54:58 +00:00
Wayne Davison
100018b7cd
Mention the year 2007 in the copyright declarations.
2007-01-31 21:46:49 +00:00
Wayne Davison
2dc7b8bd0e
Got rid of type-casting into isFOO() and toFOO() functions by
...
using static inline functions that take a signed char pointer.
2006-11-09 02:39:29 +00:00
Wayne Davison
e7c67065c0
Updated the FSF's address to an even newer one.
2006-04-25 23:51:12 +00:00
Wayne Davison
0f78b81511
- Updated the address for the FSF in the opening comment.
...
- Standardized the format of the opening comment, including adding a
brief description of what's in the file for those that lacked it.
- Added some missing copyright lines.
- Some minor whitespace tweaks (in a few of the files).
2006-04-25 20:23:34 +00:00
Wayne Davison
ec497df1a0
Optimized set_compression() to remove the per-file strdup(), strlower(),
...
and free() calls (it now uses iwildmatch()).
2005-12-30 07:19:16 +00:00
Wayne Davison
0fe987e226
Fixed a bug in set_compression() where the default dont-compress
...
patterns (e.g. *.gz) would not match a pathname containing a slash.
2005-12-30 06:03:40 +00:00
Wayne Davison
e8a8167ad9
Obey new def_compress_level setting.
2005-10-26 16:47:49 +00:00
Wayne Davison
01f439ec6e
Fixed a mismatch in the compressed-data handling between how the
...
sending side and the receiving side handled implicit (unsent) data.
2005-02-14 08:28:00 +00:00
Wayne Davison
acc461c7da
Changed various token variables from "int"s to "int32"s.
2005-02-14 08:19:32 +00:00
Wayne Davison
80a25bb880
Backed out changes to send_deflated_token() that surrounded the
...
call to deflate(..., Z_INSERT_ONLY) -- the underlying bug was
caused by the zlib code not handling Z_INSERT_ONLY in the case
where the server has disabled compression.
2005-01-02 09:08:59 +00:00
Wayne Davison
5b7bcac260
In send_deflated_token(), the section that handles "token != -2"
...
now breaks up the calls to deflate() into CHUNK_SIZE chunks, just
like the other sections of the code.
2005-01-02 00:55:55 +00:00
Wayne Davison
7fcbf9e43e
- Use an int32 for the each block-size variable.
...
- Fixed a problem in send_deflated_token() where the data we are
compressing might not finish processing in one call.
2005-01-01 21:08:20 +00:00
Wayne Davison
b9f592fbf5
My modified version of Chris Shoemaker's improved batch-file handling.
2004-07-15 02:20:08 +00:00
Wayne Davison
d67c8bdfc3
Moved the externs to the top and made a few trivial format tweaks.
2004-06-18 16:22:14 +00:00
Wayne Davison
4a1991d7c5
Fixed a byte-order problem for batch-file processing on big-endian
...
systems (reported by Jay Fenlason).
2004-01-06 05:33:02 +00:00
Wayne Davison
58cadc8608
Merged in the security fixes from 2.5.7.
2003-12-06 21:07:27 +00:00
Wayne Davison
2a88a8cd30
Fixed an operator-precedence problem in the batch-mode code.
2003-10-13 23:46:08 +00:00
Wayne Davison
857e38bb45
Got rid of some "/* dw */" comments and fixed some line's indentation.
2003-09-11 04:48:09 +00:00
Wayne Davison
1dbb94cadf
Use the AVAIL_OUT_SIZE() macro in a few more places to ensure
...
that the avail_out buffer is big enough to uncompress all the
compressed data.
2003-08-20 10:37:53 +00:00
Wayne Davison
fe332038c6
Call wildmatch(), not fnmatch().
2003-07-30 06:12:27 +00:00
Wayne Davison
2473391971
Improved upon my last patch to make it clearer and cleaner.
2003-07-04 07:47:09 +00:00
Wayne Davison
92b8abfe80
Fixed a problem where we might not have enough room to compress
...
unsent tokens into the obuf in a single call.
2003-07-03 17:38:12 +00:00
Martin Pool
79f671cc7c
Doc
2002-04-08 08:35:30 +00:00
Martin Pool
6902ed178b
Merge across rsync+ patch; add a little documentation to the manpage. More documentation would be better.
2001-08-14 02:04:47 +00:00
David Dykstra
63f0774f75
Back out change that treated "refuse options = compress" the same as
...
"dont compress = *", by request of Tridge. Instead, mention the difference
in the man page. Also, put in a shortcut in set_compression() to recognize
"*" earlier instead of going through malloc/strtok/fnmatch/free cycle.
1998-11-25 15:37:50 +00:00
David Dykstra
d47741cac6
When "refuse options = compress" is set in rsyncd.conf, silently send files
...
at compression level 0 instead of printing an error and exitting. This is
the same effect as "dont compress = *".
1998-11-24 22:03:16 +00:00
Andrew Tridgell
83fff1aa60
added "dont compress" option with the default setting of
...
*.gz *.tgz *.zip *.z *.rpm *.deb
1998-11-20 22:26:29 +00:00
Andrew Tridgell
654175798b
patch from Alberto Accomazzi <aaccomazzi@cfa.harvard.edu> to add
...
different exit codes for different conditions.
1998-11-03 07:08:27 +00:00
Andrew Tridgell
6e4fb64e61
added finddead target, removed dead code and made some functions
...
static
1998-09-09 05:57:34 +00:00