72 Commits

Author SHA1 Message Date
John McNamara
3a975c6b89 build: fix pkg-config requires
Issue #471
2025-02-15 00:52:56 +00:00
John McNamara
f29cf40d38 package: update copyright year 2025-02-11 00:03:36 +00:00
John McNamara
12d67a6968 make: add address sanitiser target 2024-05-24 06:25:53 +01:00
John McNamara
f6d73b0ae1 package: update copyright year 2024-02-26 18:47:32 +00:00
John McNamara
5625238848 Convert public char* to const char* for C++ compatibility. 2023-09-25 20:59:05 +01:00
Massimo Paladin
ccd900dc7f Remove SonarCloud cache and threads configuration and rely on default
No need to configure the cache and threads anymore, SonarCloud now has automatic analysis caching and threads configuration. See: https://docs.sonarcloud.io/advanced-setup/languages/c-c-objective-c/#analysis-cache
2023-04-04 11:21:28 +01:00
John McNamara
c0d12f3a5c Updated copyright year. 2022-01-16 20:22:27 +00:00
John McNamara
886a770322 Fix universal_binary make target with so version.
Issue #315
2022-01-03 19:30:24 +00:00
John McNamara
c4d35ec9f0 Simplified some Make targets. 2021-08-19 23:13:01 +01:00
John McNamara
dd9b177235 Add test for C++ compilation and includes. 2021-08-10 22:55:14 +01:00
John McNamara
bda599d033 Added optional third party dtoa library.
Added the optional Milo Yip DTOA library (emyg_dtoa) to avoid
issues where the standard sprintf() dtoa function changes output
based on locale settings. It is also 40-50% faster than the
standard dtoa for raw numeric data.

If you wish to use this third party library you can compile
libxlsxwriter with it by passing `USE_DTOA_LIBRARY=1` to
make. The USE_DOUBLE_FUNCTION build variable is no longer used.

Imported source from https://github.com/miloyip/dtoa-benchmark

Feature request #272
2021-07-12 23:09:52 +01:00
John McNamara
d72da755f0 Add docs and examples for dynamic arrays.
Feature request #327
2021-07-07 23:33:26 +01:00
John McNamara
005cb5fd89 Update public doc urls. 2021-07-01 23:42:45 +01:00
John McNamara
b36b7db552 Moved soversion down into /src makefile. 2021-07-01 23:19:16 +01:00
John McNamara
9a5ee07d48 Add soname versioning to the dynamic library.
Issue: #340
2021-06-26 01:01:27 +01:00
John McNamara
79f9d3e01e Minor change to sonar build. 2021-06-06 20:09:21 +01:00
John McNamara
77984543a0 Add gcov coverage to sonarcloud analysis. 2021-06-06 20:09:21 +01:00
John McNamara
412571bb92 Add build support for gcov coverage. 2021-06-06 20:09:21 +01:00
John McNamara
972db12d50 Separate out the third_party build target. 2021-06-06 20:09:21 +01:00
John McNamara
127d85070f Add sonarcloud analysis make rule. 2021-06-02 13:54:59 +01:00
John McNamara
925a147fc1 Add support for using MD5 functions from OpenSSL.
Feature request #335
2021-05-27 23:35:59 +01:00
John McNamara
379c522613 Fix release target to push to main instead of master. 2021-05-08 00:43:09 +01:00
John McNamara
aae4263754 Minor makefile refactoring. 2021-03-22 17:09:31 +00:00
Ayman Bagabas
83473df86a Add pkg-config files to the build
Fixes: https://github.com/jmcnamara/libxlsxwriter/issues/132
2021-03-22 14:19:29 +00:00
John McNamara
c06101fcad Updated copyright year. 2021-01-13 21:25:35 +00:00
John McNamara
ff35a56934 Add make target for macOS universal binary.
Issue #315
2020-11-14 21:32:00 +00:00
John McNamara
4122d78fe3 Add makefile target to publish docs externally. 2020-09-08 09:39:02 +01:00
John McNamara
e3d4bcaf7c Added docs for conditional formatting.
Feature request #302
2020-09-05 21:17:39 +01:00
John McNamara
3b1563d0e1 Update coverity client version. 2020-08-17 23:05:39 +01:00
John McNamara
2e6f3d7cdf Change lxw_chart_data_label field from .delete to .hide.
Change lxw_chart_data_label field from .delete to .hide in order
to avoid reserved word conflict with C++.

Issue #300
2020-08-04 11:16:49 +01:00
John McNamara
f66ddd75c3 Fix typo/target in make clean. 2020-01-19 13:09:29 +00:00
Sijmen J. Mulder
32b9df68ee Fix DESTDIR typo 2020-01-19 13:06:36 +00:00
John McNamara
2849813f36 Updated copyright year. 2020-01-12 12:59:31 +00:00
Sijmen J. Mulder
4daf725bae Use DESTDIR and PREFIX instead of INSTALL_LOCATION
PREFIX is the final location on the user's system. DESTDIR could
be staging directory for a package build, a chroot, etc. The
distinction is important because you don't want DESTDIR to end up
in paths compiled into the program, e.g. the location of a helpfile
or library.

(Applies only to the makefiles, not CMake)

Resolves #216
2019-12-27 12:58:19 +00:00
John McNamara
e89474fabd Only run Cmake tests in 64bit builds. For now. 2019-12-26 17:45:46 +00:00
John McNamara
10cd43179b Added cmake test to Travis CI build. 2019-12-26 17:13:43 +00:00
John McNamara
b0738e2ba9 Addition of Openwall MD5 library.
Imported from:
https://openwall.info/wiki/people/solar/software/public-domain-source-code/md5
2019-12-24 00:27:41 +00:00
John McNamara
dcecc632d5 Added support for hyperlinks from images. 2019-12-15 00:11:44 +00:00
John McNamara
aacdd525a5 Refactored the data validation struct.
Refactored the data validation struct to remove hidden fields.

See #252
2019-11-17 11:27:56 +00:00
John McNamara
72c9b219cb Updated copyright year. 2019-02-10 21:11:46 +00:00
Sijmen J. Mulder
2bdfae296c Make py.test name configurable
This came up whilst packaging for pkgsrc which adds a Python version
suffix to binaries.
2018-12-11 14:38:34 +00:00
John McNamara
dc31b10bad Updated copyright year. 2018-02-03 17:15:35 +00:00
John McNamara
1ac2a1e804 Improve "make install". 2017-08-20 11:48:11 +01:00
John McNamara
856a45a292 Added option to use system minizip in make build.
Added option to use system minizip in the Makefile make system.

Issue #119.
2017-08-14 20:08:57 +01:00
John McNamara
79a9b41fd2 Add user definable installation directory.
Issue #93.
2017-06-25 23:30:44 +01:00
John McNamara
b5c42463bc Fix const char* for C++ and added tests.
Fixed const char* in several APIs and added test to ensure that
any others are caught in future.

Issue #102.
2017-06-25 20:16:36 +01:00
John McNamara
3ad3bf8a82 Fixes for Coverity issues. 2017-01-07 00:54:13 +00:00
John McNamara
813ca50be0 Update copyright year. 2016-12-31 00:33:00 +00:00
John McNamara
d23de560ab Add more chart font tests. 2016-12-29 10:46:03 +00:00
John McNamara
20743e50e6 Initial working chart fonts. 2016-12-28 14:45:56 +00:00