[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: svn commit: r1803158 - in /subversion/trunk/subversion/libsvn_subr: compress.c compress_lz4.c compress_zlib.c encode.c

From: Bert Huijben <bert_at_qqmail.nl>
Date: Thu, 27 Jul 2017 13:30:25 +0200

> -----Original Message-----
> From: kotkov_at_apache.org [mailto:kotkov_at_apache.org]
> Sent: donderdag 27 juli 2017 12:00
> To: commits_at_subversion.apache.org
> Subject: svn commit: r1803158 - in
> /subversion/trunk/subversion/libsvn_subr: compress.c compress_lz4.c
> compress_zlib.c encode.c
>
> Author: kotkov
> Date: Thu Jul 27 09:59:47 2017
> New Revision: 1803158
>
> URL: http://svn.apache.org/viewvc?rev=1803158&view=rev
> Log:
> Split libsvn_subr/compress.c into three files.
>
> This file contained routines for zlib and LZ4 compression and for general
> data encoding, such as svn__encode_uint(). It would be better to maintain
> all of these three groups separately.
>
> * subversion/libsvn_subr/compress.c
> (svn__encode_uint, svn__encode_int, svn__decode_uint,
> svn__decode_int):
> Move to encode.c.
> (svn_zlib__compiled_version, svn_zlib__runtime_version,
> svnCompressBound, MIN_COMPRESS_SIZE, zlib_encode, zlib_decode,
> svn__compress_zlib, svn__decompress_zlib): Move to compress_zlib.c.
> (svn__compress_lz4, svn__decompress_lz4): Move to compress_lz4.c.
>
> * subversion/libsvn_subr/encode.c,
> subversion/libsvn_subr/compress_zlib.c,
> subversion/libsvn_subr/compress_lz4.c: New files.
>
> Added:
> subversion/trunk/subversion/libsvn_subr/compress_lz4.c (with props)
> subversion/trunk/subversion/libsvn_subr/compress_zlib.c (with props)
> subversion/trunk/subversion/libsvn_subr/encode.c (with props)
> Removed:
> subversion/trunk/subversion/libsvn_subr/compress.c

Would have been nice if all these files were based of a copy of compress.c, to allow following history in a bit easier way.

        Bert
Received on 2017-07-27 13:30:36 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.