| 1 |
libjte-2.0.0 (2019-11-21) |
| 2 |
============ |
| 3 |
|
| 4 |
* New major version with support for using SHA256 checksums instead of |
| 5 |
MD5 in the jigdo format. This is a breaking change - old clients |
| 6 |
will not be able to work with the new format and will bail |
| 7 |
out. Default is to still generate the old v1.1 format for |
| 8 |
compatibility for now. Call libjte_set_checksum_algorithm() to make |
| 9 |
an explicit choice at the beginning of the jigdo setup. |
| 10 |
|
| 11 |
* Several old MD5-specific functions in the API now marked deprecated: |
| 12 |
+ libjte_set_md5_path() |
| 13 |
+ libjte_add_md5_demand() |
| 14 |
+ libjte_decide_file_jigdo() |
| 15 |
+ libjte_write_match_record() |
| 16 |
|
| 17 |
* Added new functions needed to allow for more checksum choice: |
| 18 |
+ libjte_set_checksum_algorithm() |
| 19 |
+ libjte_set_checksum_path() |
| 20 |
+ libjte_add_checksum_demand() |
| 21 |
+ libjte_decide_file_jigdo2() |
| 22 |
+ libjte_write_match_record2() |
| 23 |
|
| 24 |
* The "Simplified" API is unchanged for existing users *except* when |
| 25 |
choosing to use sha256 instead of md5 - it just needs a call to |
| 26 |
libjte_set_checksum_algorithm() at startup to make that choice. |
| 27 |
|
| 28 |
libjte-0.1.1 (not released yet) |
| 29 |
=============================================================================== |
| 30 |
* Thomas: porting libjte to Solaris 9: avoiding <stdint.h> if not available, |
| 31 |
trying to use <inttypes.h> in that case. |
| 32 |
* jte.c: return from flush_compressed_chunk() if size<=0. |
| 33 |
* jte.c, libjte.c: drop redundant check against NULL upon free()'ing. |
| 34 |
* checksum.c, sha256.c, sha256.h, sha512.c, sha512.h: |
| 35 |
Thomas: Removed obsolete include <endian.h> and __THROW; |
| 36 |
Initialize sha512.c by pairs of 32 bit constants rather than by 64 bit. |
| 37 |
* checksum.c, endian.c, md5.c, rsync.c, sha1.c, sha256.c, sha512.c: |
| 38 |
include ../config.h eventually. |
| 39 |
* jte.c, libjte.c: Thomas: Eventually include ../config.h so that GNU xorriso |
| 40 |
can configure usage of zlib libbz2. |
| 41 |
* checksum.c, sha1.c, sha1.h: Steve: new sha1 implementation. |
| 42 |
* Makefile.am, checksum.c, configure.ac: Steve: use threaded checksums. |
| 43 |
* Makefile.am, configure.ac, jte.c: Thomas: Made source compilable without zlib. |
| 44 |
It is not of use then, but can reside as unused code in GNU xorriso. |
| 45 |
* jte.c: Thomas: avoid strndup as it is non standard. |
| 46 |
* configure.ac, jte.c, jte.h, libjte.c, libjte.h, test/demo.c: |
| 47 |
Thomas: Corrected handling of mapping strings To=From. Gave up parameters |
| 48 |
submode and islast of API functions libjte_write_unmatched() and |
| 49 |
libjte_show_data_chunk(). libjte version is now 0.1.1 producing libjte.so.2. |
| 50 |
* Makefile.am, test/demo.c: Thomas: updated demo doc - jigit-mkimage example. |
| 51 |
* jte.c: change producer code to libjte. |
| 52 |
* Makefile.am, test/demo.c: demo app by Thomas. |
| 53 |
* jte.c, jte.h, libjte.c, libjte.h, libjte_private.h, test/jigdo-gen-md5-list: |
| 54 |
added copyright blurb. |
| 55 |
* libjte.ver: Thomas: bugfix, add libjte__version and libjte__is_compatible |
| 56 |
symbols which were missing in libjte.ver. |
| 57 |
* libjte.h: Thomas: Clarified the meaning of parameters of |
| 58 |
libjte_set_error_behavior(). |
| 59 |
* libjte.c: Thomas: bugfix, libjte_set_error_behavior() |
| 60 |
interpreted 0 the same as 1. |
| 61 |
* jte.c: update references to attarer.org; Rf: Debian bug #596860. |
| 62 |
* configure.ac: check for presence of important functions used. |
| 63 |
* configure.ac: checks for types, typedefs, structures (hopefully to beef up |
| 64 |
tree configuration on hostile, evil or purely insane systems). |
| 65 |
* configure.ac: populate AC_CHECK_HEADERS() with used system header files. |
| 66 |
* libjte.c, libjte.h: Thomas: API doc; properly handle mirror_name |
| 67 |
in libjte_decide_file_jigdo(). |
| 68 |
* jte.c: check malloc return value. |
| 69 |
* jte.c: drop JTWRITE_DEBUG block. |
| 70 |
* jte.c: bz_stream declares a member char* next_out so we assign to it same |
| 71 |
type of data. |
| 72 |
* configure.ac, jte.c, libjte.c, libjte.h: Thomas: runtime version inquiry: |
| 73 |
allows to check for sufficient library features at runtime. |
| 74 |
* checksum.c, libjte.c: Thomas: Switched MD5 from mandatory to unconditional checksum |
| 75 |
algorithm. Made use of CHECK_*_USED macros when composing checksum bit pattern in |
| 76 |
parse_checksum_algo(). |
| 77 |
* libjte.c: Thomas: Made use of checksum.c:parse_checksum_algo(). |
| 78 |
* configure.ac: fix BZIP2 leftover. |
| 79 |
* libjte.h: include sys/types.h because of off_t. |
| 80 |
* libjte.c, libjte.h: avoid public stdint, use off_t instead; |
| 81 |
Related to the fact: C++ implementations should define |
| 82 |
these macros only when __STDC_CONSTANT_MACROS is defined before |
| 83 |
<stdint.h> is included. |
| 84 |
* jte.c, libjte.c: two memory leaks underneath libjte_destroy(). Thanks to valgrind. |
| 85 |
* checksum.c, endian.c, endianconv.h, jte.c, jte.h, md5.c, md5.h, rsync.c, rsync.h: |
| 86 |
replace 'unsigned long long' by uint64_t also as suggested by Thomas. |
| 87 |
* jte.c, libjte.c: Freeing checksum contexts for iso and template in libjte_destroy() |
| 88 |
Avoiding memory leaks in write_template_header() and write_jt_header(). |
| 89 |
All delivered by Thomas. |
| 90 |
* jte.c, jte.h, libjte.c: list destructors as sent by Thomas. |
| 91 |
* jte.c: Removed five unused variables. |
| 92 |
* checksum.c, jte.c, libjte.c, libjte_private.h: Moved |
| 93 |
static variables from write_compressed_chunk() into libjte_env |
| 94 |
Replaced static local return buffer in base64_dump() by calloc memory. |
| 95 |
* configure.ac: -std=c99 since we are using 'long long' here and there, which is a |
| 96 |
valid type in C99, still nothing guarantees it is 64-bit a-la (u)int64_t. |
| 97 |
* bin/gen-jigdo-md5-list: simple jigdo md5 list generator. |
| 98 |
* checksum.c, jte.c, jte.h, libjte.c, libjte.h, libjte.ver, libjte_private.h, md5.c: |
| 99 |
Introduced a message list which can be used instead of fprintf(stderr), error |
| 100 |
indicating return values, and an opportunity to avoid exit(). New API functions |
| 101 |
libjte_set_error_behavior(), libjte_get_next_message(), libjte_clear_msg_list(). |
| 102 |
Changed return values with API calls libjte_write_unmatched() and |
| 103 |
libjte_write_match_record(). |
| 104 |
* jte.c, jte.h, libjte.c, libjte_private.h: get rid of globals. |
| 105 |
* configure.ac, jte.c, libjte.c: use LIBJTE_WITH_LIBBZ2 rather than |
| 106 |
LIBJTE_WITH_LIBBZIP2. |
| 107 |
* configure.ac, jte.c: fix bz2 test linkage and conditional header include. |
| 108 |
* libjte.c, libjte.h, libjte.ver, libjte_private.h: Thomas; setter for image size. |
| 109 |
* jte.c, jte.h: avoid SIGSEGV in jte_add_mapping() is the parameter is a constant |
| 110 |
string drop SECTOR_SIZE and last_extent_written, image size could be deduced |
| 111 |
inside libjte change generator field from JTE to libjte. |
| 112 |
* acinclude.m4: use libjte.ver as linker script. |
| 113 |
* checksum.c: drop C++ style comment as they are anti C99 |
| 114 |
* Makefile.am, configure.ac: set and put ACLOCAL_AMFLAGS (Makefile.am) and |
| 115 |
AC_CONFIG_MACRO_DIR(configure.ac) in sync. |
| 116 |
* bootstrap: add a directory for aclocal to search for m4 files. |
| 117 |
* Makefile.am, acinclude.m4, aclocal.m4, bootstrap, compile, |
| 118 |
configure.ac, depcomp, install-sh, libjte-1.pc.in, libjte.ver, |
| 119 |
libtool, ltmain.sh, missing, version.h.in: added Empire as sent by Thomas. |
| 120 |
* libjte.h, libjte_private.h: added preliminary API suggested by Thomas. |
| 121 |
* Makefile, jte.c: missing includes and D_LARGEFILE_SOURCE directive. |
| 122 |
* Added _FILE_OFFSET_BITS=64 directive to compiler. |
| 123 |
* checksum.h, endianconv.h: more include guards. |
| 124 |
* jte.c, jte.h: added include guards, include it in *.c. |
| 125 |
* jte.h: include stdio.h for FILE and unistd.h for off_t. |
| 126 |
* checksum.c: close(fd) on a bailing out. |
| 127 |
* jte.c: add the only diff (fix) between cdrkit 1.10.0 |
| 128 |
and cdrkit svn trunk, rev844. |
| 129 |
* jte.c: drop unneeded ifdefs checking for libschily. |
| 130 |
* rsync.c: drop unneeded includes, use stdint.h for unint32_t and |
| 131 |
string.h for size_t. |
| 132 |
* checksum.c: drop unneeded includes. |
| 133 |
* Added doc/NOTES, doc/TODO, doc/doxyfile files. |
| 134 |
* endian.c, endianconv.h: added endianconv.h also included it back into endian.c |
| 135 |
* endian.c: comment eventually unneeded includes. |
| 136 |
* jte.c: commented genisoimage includes; added few more from standard lib |
| 137 |
* Added checksum.c, checksum.h, endian.c, jte.c, jte.h, rsync.c, sha1.c, |
| 138 |
sha1.h, sha256.c, sha256.h, sha512.c, sha512.h: extracted JTE |
| 139 |
code from cdrkit 1.1.10. |