Kevin Greenan
abfdb22273
Fragment index is unsigned, so header check should not check for < 0. This
...
will result in failed compilation due with some versions of GCC.
2016-04-20 09:06:40 -07:00
Kevin Greenan
2b25b999fa
Revert "Fragment metadata checksumming support"
...
This reverts commit a6a8d2018d
.
2016-04-20 09:04:34 -07:00
Kevin Greenan
35000cb0c3
Merged in frag_metadata_checksum (pull request #20 )
...
Fragment metadata checksumming support
2016-03-10 22:20:43 -08:00
Tushar Gohad
a6a8d2018d
Fragment metadata checksumming support
2016-03-10 07:33:16 +00:00
Tushar Gohad
fd88e70337
Add NULL instance check to backend_open()
2016-03-10 01:00:40 +00:00
Tushar Gohad
24763e7002
Merged in timuralp/liberasurecode/check_available_backend (pull request #22 )
...
Add a method to check if a backend is present.
2016-03-09 13:44:23 -07:00
Timur Alperovich
c7a94df072
Add a method to check if a backend is present.
...
Uses dlopen to check if a backend is present. This may be used by
consumers who need to check which backends are present on a system.
Issue #23
2016-03-08 22:06:19 -08:00
Tushar Gohad
1785a58941
README.md edited online with Bitbucket
2016-03-07 07:03:19 +00:00
Tushar Gohad
96790608c6
Merged in dirk_m_ller/liberasurecode/remove_params (pull request #21 )
...
Fix prototype declaration / definition mismatch (issue #25 )
2016-03-05 12:29:24 -07:00
Dirk Mueller
92b7598bd3
Fix prototype declaration / definition mismatch (issue #25 )
2016-03-04 20:36:12 +01:00
Ondřej Nový
9f10068e3e
Don't use PATH_MAX const.
...
There are systems, for example Hurd, which doesn't define this constant
because there are no such limit. See [1] link for explanation.
[1] http://www.gnu.org/software/hurd/community/gsoc/project_ideas/maxpath.html
2016-02-28 10:54:23 -07:00
Tushar Gohad
17a6dbeb93
Check frag idx validity when verifying frag metadata
...
... also add related test code
2016-02-14 07:15:24 +00:00
Tushar Gohad
c3ba38d1b2
Fix segfault when fragment index is out of range
...
... (in a corrupt/invalid fragment scenario)
Fixes issue #21
2016-02-14 07:14:43 +00:00
Tushar Gohad
25fd05f0e9
Look up version number in version header (part 2)
2015-12-10 06:55:00 -07:00
Tushar Gohad
76a7a33e3a
Doxygen related cleanup
2015-12-10 06:37:31 -07:00
Tushar Gohad
4315f2fecd
Minor doc automake fixes
2015-12-10 06:27:02 -07:00
Tushar Gohad
02fe1dc7cc
Make libtool archive references relative to builddir
2015-12-10 06:14:20 -07:00
Tushar Gohad
c2a6d3f860
Display build config at the end of configure run
2015-12-10 06:10:23 -07:00
Tushar Gohad
28dec505f4
Get version from liberasurecode version header
...
... (keep version in one place)
2015-12-10 06:09:02 -07:00
Tushar Gohad
43250c6f53
Use absolute path for get_flags test program
...
... fixes issues with builds where configure is
invoked from a directory other than the topdir
2015-12-10 04:32:00 -07:00
Tushar Gohad
71f8aea4f7
Add missing pkg-config defns where required
2015-12-10 04:17:04 -07:00
Tushar Gohad
8788462b7e
Fix minor rev
2015-12-10 04:14:37 -07:00
Tushar Gohad
92bad94311
Include major API version in pkg-config file name
2015-12-10 04:00:29 -07:00
Tushar Gohad
debb72493d
Revert "Log to syslog and stderr by default"
...
This reverts commit 21ed77fed2
.
2015-12-04 02:14:24 -07:00
Chris Lamb
aea8a26c22
Create includedir on call to install-exec-hook
...
Debian maintainers reported that liberasurecode could
not be built reproducibly.
What happens is that erasurecode_version.h headers are
non-determinstically installed in the target directory
depending on the system clock. This is due to
debian/tmp/usr/include not being created and the
install-exec-hook ignores errors.
The attached patch ensures target ${includedir} exists
and therefore the headers will always be there.
Signed-off-by: Chris Lamb <lamby@debian.org>
2015-12-02 09:54:48 -07:00
Tushar Gohad
10675f2019
README.md edited online with Bitbucket
2015-11-19 17:01:53 +00:00
Tushar Gohad
abca3f5099
Update AUTHORS with Debian/Ubuntu contributors
2015-11-14 00:19:31 +00:00
James Page
e82f437f77
Ensure ec backends can actually be loaded.
...
Use the actual soname rather than the fully unversioned name,
ensuring that systems that don't have -dev packages actually work.
Signed-off-by: James Page <james.page@ubuntu.com>
2015-11-14 00:17:23 +00:00
Tushar Gohad
2e4badb906
README update for build/install dependencies
2015-10-25 00:51:25 +00:00
Tushar Gohad
58b7a54d35
Release 1.1.0
2015-10-20 22:32:14 +00:00
Tushar Gohad
04dfa2124b
Fix liberasurecode include path in pkgconfig
2015-10-20 22:23:14 +00:00
Tushar Gohad
f1f589c1d4
Make doxygen recurse into source/include directories
2015-10-20 22:23:14 +00:00
Tushar Gohad
37ee716578
Merged header_symlinks into master
2015-09-22 15:52:46 -07:00
Tushar Gohad
398c48c95d
Split helpers.h include for backward compatibility
...
Users of liberasurecode <= 1.0.7 used alloc/free helpers
(which they shouldn't have). This change is to make sure
we are still able to those older revs of programs and they
work with newer liberasurecode.
2015-09-22 21:47:15 +00:00
Tushar Gohad
bca105ccd3
Create header symlinks in std locations for backward compat
2015-09-20 19:39:24 +00:00
Tushar Gohad
dc11fba685
Eliminate erasurecode_stdinc.h dependency on log.h
2015-09-18 16:42:43 +00:00
Tushar Gohad
5ac6ae9c12
Move fragment_header defn to main erasurecode header
2015-09-17 23:23:01 +00:00
Kevin Greenan
b80d5b947b
Fixing Issue #19 by stubbing out Jerasures uninit function.
...
If the underlying jerasure implementation is old (pre-jerasure.org),
then it will not contain an uninit function for the underlying GF
object. Since this is only used in alg_sig, which is not used by
anything else at the moment, we stub it out if it does not exist.
Once we make the change to have alg_sig use the internal GF functions,
this whole problem goes away.
2015-09-12 17:34:38 -07:00
Tushar Gohad
0c703b047a
Release 1.0.9
2015-09-06 06:26:28 +00:00
Kota Tsuyuzaki
c9ce822825
Enforce the (k + m < 32) limit, add unit tests
2015-08-18 08:30:34 +00:00
Tushar Gohad
63829197d5
Rename MAJOR, MINOR version macros
2015-08-06 19:46:09 +00:00
Tushar Gohad
f61e907d2b
Release 1.0.8
2015-07-20 11:48:35 -07:00
Tushar Gohad
85fff7f2d0
Note liberasurecode_rs_vand backend being added
2015-07-20 04:34:55 +00:00
Tushar Gohad
fdb36f1e7a
Rename remaining INTERNAL_RS_VAND instances
...
... to LIBERASURECODE_RS_VAND
2015-07-20 04:19:09 +00:00
Tushar Gohad
69fd04032d
Remove autotools-generated program from git control
2015-07-20 04:01:23 +00:00
Kevin Greenan
73d7914f1b
This fixes a bug discovered when passing a new insufficient fragments exception
...
up through Python.
The code that preprocesses decoded fragments to see if it can simply concat
the data fragments instead of decodeing was not properly deduping fragments,
which leads to a failed assertion.
This properly dedups fragments in the fragments_to_string function.
2015-07-12 09:34:17 -07:00
Tushar Gohad
0d876a2ef1
Merged similar_to_issue_63 into master
2015-06-24 17:45:42 -07:00
Kevin Greenan
5e6592d557
This will prevent the backends from reconstructing a specific index, when it is
...
specified as "available" by the caller. I feel that only buggy code would do
this...
NOTE: In the future, we should return an error when this happens.
2015-06-23 13:12:40 -07:00
Tushar Gohad
4480ccaa39
Add pkg-config template for liberasurecode_rs_vand
2015-06-23 04:07:26 +00:00
Tushar Gohad
00dea310e0
Remove autoconf installed files from git control
2015-06-23 04:07:10 +00:00