From 18b4d265cbd2d9b02188ba5584cbf46df2f0fe78 Mon Sep 17 00:00:00 2001 From: John McNamara Date: Thu, 26 Dec 2019 18:59:41 +0000 Subject: [PATCH] Prep for release 0.9.0. --- Changes.txt | 16 ++++++++++++++++ License.txt | 2 +- cocoapods/libxlsxwriter-umbrella.h | 1 + include/xlsxwriter.h | 4 ++-- libxlsxwriter.podspec | 2 +- 5 files changed, 21 insertions(+), 4 deletions(-) diff --git a/Changes.txt b/Changes.txt index d702d972..1eb33442 100644 --- a/Changes.txt +++ b/Changes.txt @@ -1,6 +1,22 @@ /** @page changes Changes +## 0.9.0 December 26 2019 + +- Fix to avoid duplicate images being copied to an libxlsxwriter file. Excel + uses an optimization where it only stores one copy of a repeated/duplicate + image in a workbook. Libxlsxwriter didn't do this which meant that the file + size would increase when then was a large number of repeated images. This + release fixes that issue and replicates Excel's behavior. + + Note, that this change adds a dependency on the [Openwall MD5] library, + which is now included with the libxlsxwriter third party source files. It is + possible to compile libxlsxwriter without this library, and thus getting the + older behavior, by passing `USE_NO_MD5=1` to make. + + + [Openwall MD5]: https://openwall.info/wiki/people/solar/software/public-domain-source-code/md5 + ## 0.8.9 December 16 2019 - Added support for default hyperlink style in `worksheet_write_url()`. diff --git a/License.txt b/License.txt index 16578ed6..eb0f4601 100644 --- a/License.txt +++ b/License.txt @@ -166,7 +166,7 @@ has the following licence: Note, the MD5 library is used to avoid including duplicate image files in the xlsx file. If this functionality isn't required it is possible to compile -libxlsxwriter without this library, see @ref gsg_tmpdir. +libxlsxwriter without this library by passing `USE_NO_MD5=1` to make. Next: @ref changes */ diff --git a/cocoapods/libxlsxwriter-umbrella.h b/cocoapods/libxlsxwriter-umbrella.h index be5fb763..263bb5f8 100644 --- a/cocoapods/libxlsxwriter-umbrella.h +++ b/cocoapods/libxlsxwriter-umbrella.h @@ -17,6 +17,7 @@ #import "styles.h" #import "theme.h" #import "third_party/ioapi.h" +#import "third_party/md5.h" #import "third_party/queue.h" #import "third_party/tmpfileplus.h" #import "third_party/tree.h" diff --git a/include/xlsxwriter.h b/include/xlsxwriter.h index bb51d6e3..8a90a37b 100644 --- a/include/xlsxwriter.h +++ b/include/xlsxwriter.h @@ -18,7 +18,7 @@ #include "xlsxwriter/format.h" #include "xlsxwriter/utility.h" -#define LXW_VERSION "0.8.9" -#define LXW_VERSION_ID 89 +#define LXW_VERSION "0.9.0" +#define LXW_VERSION_ID 90 #endif /* __LXW_XLSXWRITER_H__ */ diff --git a/libxlsxwriter.podspec b/libxlsxwriter.podspec index 2dce256e..d65ff757 100644 --- a/libxlsxwriter.podspec +++ b/libxlsxwriter.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "libxlsxwriter" - s.version = "0.8.9" + s.version = "0.9.0" s.summary = "Libxlsxwriter: A C library for creating Excel XLSX files." s.ios.deployment_target = "8.0" s.osx.deployment_target = "10.8"