| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Prepare v2.3.5.
|
|/
|
|
| |
Prepare for development of the next v2.3.5 release.
|
|\
| |
| | |
Release v2.3.4.
|
|/
|
|
|
|
|
| |
Update everything necessary in preparation for release of v2.3.2. Note
CMakeLists.txt and TODO.md are already up to date. Also correct
`CONTRIBUTING.md` release instructions for the right `html` path for doxygen
docs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix #248 by putting `#include "config.h"` in all src/*.c files.
The iwyu tool doesn't handle `config.h` files well, and these includes were
incorrectly removed, which breaks things on some platforms. Add them back to
most `src/*.c` files with `/* IWYU pragma: keep */` to make iwyu ignore them.
We skip `src/hashtable.c` because it is a standalone tool that is platform
independent.
Also add `/* IWYU pragma: keep */` to includes in `src/fileutil.c` that are
needed on some platforms but not others. This means we can remove the special
exemptions to skip this file for the `iwyu` and `iwyu-fix` targets in
`CMakeLists.txt`.
Add some explicit typecasts to `rollsum.[ch]` and `patch.c` to silence warnings on windows.
Update NEWS.md for `config.h` include fixes and added typecasts.
|
|\
| |
| | |
Prepare v2.3.4.
|
|/ |
|
|\
| |
| | |
Update everything necessary in preparation for release of v2.3.3.
|
|/
|
|
| |
Note CMakeLists.txt and TODO.md are already up to date.
|
|
|
|
|
|
| |
* Add win32 install artifact to release instructions in `CONTRIBUTING.md`.
This ensures we have a compiled win64 release artifact with each release. Also
updated NEWS.md to include all pull requests since the last release.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update github actions checkout and upload-artifact to v3.
The old v2 versions of these github actions now produce errors warning you
need to update them.
* Fix lint.yml remove install of old libclang-common-9-dev package.
The iwyu package dependencies have been fixed, and this old package doesn't
exist any more.
* Run `make iwyu-fix` to fix includes for `tests/rabinkarp_perf.c`.
* Change the `iwyu` build target to use clang output format.
This format is much more compact and easier to read.
* Make `iwyu` build target trim noisy "note:" output and ignore fileutil.c.
* Update NEWS.md for all #243 changes.
|
|\
| |
| | |
Update README.md
|
|/
|
| |
added missing word
|
|
|
| |
Add "Build install", "Upload build" and "Upload install" steps to test install and upload build and install artifacts.
|
|\
| |
| | |
Make delta directly process the input stream if it has enough data.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Update the docstring so it correctly describes how data is processed directly
from the input stream if there is sufficient data there.
|
| |
| |
| |
| | |
This makes it iwyu clean.
|
| |
| |
| |
| |
| | |
This means it matches the name of scoop.c which means tools like iwyu
correctly find and check it.
|
| | |
|
| |
| |
| |
| |
| |
| | |
This points out that large buffers can be processed directly and can leave a
tail of data behind in the input buffer. Using large buffers avoids data
copies and can be much faster.
|
| |
| |
| |
| |
| |
| | |
In stream.h remove rs_scoop_input() and in scoop.c make it static inline.
This function nolonger needs to be called directly anywhere outside scoop.c.
|
| |
| |
| |
| |
| |
| |
| | |
It turns out ssize_t is a Posix thing that doesn't exist on Windows. I
originally started using it in stream.h so that negative values could be used
to indicate errors when iterating through buffers. We don't use or need that,
so we can just use size_t instead.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This gives us a single point for defining the size used for delta commands and
streaming buffers.
In job.h define MAX_DELTA_CMD to be the maximum size of a single delta command
at 64K.
In delta.c use MAX_DELTA_CMD to define MAX_MISS_LEN and use it to get the
minimum readahead size in rs_getinput().
In whole.c use MAX_DELTA_CMD for defining the buffer sizes used for delta and
patch operations.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This means we only accumulate data into the scoop buffer if the input stream
is too small, otherwise we process directly from the input stream.
In job.h rename scoop_pos to scan_pos and add scan_buf and scan_len for
pointing at the curren scan data, which can be either in the input stream or
the scoop buffer. Also give the scoop and scan fields proper doxygen comments.
In delta.c use scan_pos, scan_buf, and scan_len instead of scoop_pos,
scoop_next, and scoop_avail respectively. Change rs_getinput() to return an
rs_result_t and take the block_len as an argument, and have it set scan_buf
and scan_len using rs_scoop_readhead() to get at least enough data to scan and
emit a full miss literal command. Change rs_delta_s_scan() and
rs_delta_s_flush() to do rs_tube_catchup() before rs_getinput() to consume any
literal data off the scoop buffer before refilling it. Change the MAX_MISS_LEN
to 64K - 3 cmd bytes from 32K.
In whole.c change rs_delta_file() to use buffers large enough for 4x 64K
literal commands, which is large enough to scan without copying into the scoop
buffer.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add static inline fuctions to stream.h for getting and iterating through
contiguous data buffers from the scoop.
In tube.c remove rs_tube_copy_from_scoop() and rs_tube_copy_from_stream() and
just make rs_tube_catchup_copy() iterate through contiguous buffers from the
scoop. In rs_tube_catchup() use rs_scoop_eof() to check for eof instead of
checking the scoop and stream directly.
Remove undefined/unused rs_buffers_copy() from steam.h.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Rename rs_scoop_total_avail() to rs_scoop_avail() and make it a static inline
in stream.h
Remove rs_job_input_is_ending() from job.[hc] and replace it with a
rs_scoop_eof() static inline in stream.h.
In scoop.c make rs_scoop_input() only shuffle data to the start of the buffer
if necessary to free up space. Also make an assert() check more strict about
the data being within the buffer. Slightly tidy up rs_scoop_read_rest().
In delta.c make rs_delta_s_slack() neater by using the new rs_scoop_*()
functions.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Make rs_infilebuf_fill() shuffle and top-up input buffers that are more than
half empty.
Also tidy and tighten assert() statements in rs_infilebuf_fill() and
rs_outfilebuf_drain() about to require the input/output buffers be fully
contained in the rs_filebuf_t buffer.
|
|\ \
| |/
|/| |
Ignore .cmake directory
|
|/
|
|
| |
Seems to include api fingerprints?
|
|\
| |
| | |
Fix #228 Improve GitHub and Doxygen Docs.
|
| |
| |
| |
| |
| |
| |
| | |
Move doxygen docs from `*.c` files to their corresponding `*.h` files if there
is one. Remove any "private" or "internal" markers from docs. It's already
clear the librsync.h is the only public interface, but the rest of the docs
are useful for understanding the code so we still want to generate them.
|
| |
| |
| |
| | |
This also makes the doxygen `\ref` links a little nicer.
|
| |
| |
| |
| |
| | |
It seems a4wide is not supported in newer doxygen versions on Debian and is
giving a warning.
|
| |
| |
| |
| |
| | |
This is more consistent with other document titles and makes neater `\ref`
links.
|
| |
| |
| |
| |
| | |
This makes the title more consistent in the context of the other docs, and
avoids confusion around callbacks used for other current (or future) APIs.
|
| |
| |
| |
| | |
This makes the filename consistent with the doxygen anchor name.
|
| |
| |
| |
| | |
This makes the anchor name consistent with the filename.
|
| |
| |
| |
| | |
This makes the anchor more consistent with the other docs.
|
| |
| |
| |
| |
| | |
This makes the anchor name more consistent with the filename. Also change the
title to be more consistent with the other usage doc rdiff.md.
|
| |
| |
| |
| |
| |
| | |
Currently this document is only referenced by a markdown link in README.md,
and for the old ubuntu_latest Doxygen version markdown links don't work if the
doc has an anchor.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This mostly just reformats paragraphs but also uses markdown links for root
docs CONTRIBUTING.md, NEWS.md, and TODO.md instead of Doxygen `\ref` links.
The root docs don't have `{#anchor}` doxygen anchors which is a pre-requisite
for markdown links to work on the old ubuntu_latest version of Doxygen. Note
currently CONTRIBUTING.md does have an anchor, but I want to test that it
actually fails before removing it.
|
| |
| |
| |
| |
| | |
Newer doxygen versions on Debian testing were complaining about this missing
argument docstring entry in librsync.h.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Make the doc target run in CMAKE_CURRENT_SOURCE_DIR and change `Doxyfile.in`
to generate output into `OUTPUT_DIRECTORY = @CMAKE_CURRENT_BINARY_DIR@`.
This ensures consistent doc filenames and references when using different
build directorys, without leaking the full path of where it was built. See
|
| |
| |
| |
| |
| | |
Set `HAVE_DOT = YES` and `DOT_IMAGE_FORMAT = svg`. FTR I compared and svg
diagrams are smaller than png as you would expect.
|
| | |
|
| |
| |
| |
| | |
This makes the name more consistent with other cmake template files.
|
|/
|
|
|
|
|
|
| |
Rename test input files, update test scripts, and update `.gitattributes` to
treat `.input` files as binary, not `.in` files.
This prevents cmake input templates ending in `.in` from being treated like
binary test data files. In particular `doc/Doxyfile.in`.
|