Commit Graph

70 Commits

Author SHA1 Message Date
d7d787383e backend/tests/CMakeLists.txt: cmake min 3.18 -> 3.9, bwipp_dump.ps tar (#235) 2021-07-08 12:08:59 +01:00
3e995c70fb Simpily CMakeLists 2021-07-07 12:39:21 +03:00
52c00e59ba C25/DBAR: use new func gs1_check_digit() for common GS1 check digit calc
CODE11/CODE39/EXCODE39/CODE93/PZN/CHANNEL/VIN/DBAR/UPCEAN: fuller error messages
DATAMATRIX: look_ahead_test debug counts
DBAR: consolidate option_2 cols_per_row
CMakeLists.txt: restore -fno-var-tracking-assignments for gcc no DEBUG
overall: suppress various warnings on various configs
testcommon.c: clean-up
2021-06-27 11:47:55 +01:00
33ebcea30c Disable ZINT_SANITIZE for MSVC for now; use RESULT_VAR (MR #124, commit [ee3f25]) 2021-06-26 00:50:56 +01:00
ee3f25fada Detect Sanitizer support
Sanitizers require both front and backend support on the target platform.
Detect whether applications can be compiled and linked with sanitizer support
and enable sanitizers that can be both compiled and linked with.
check_c_compiler_flags is insufficient here, because we need library support
on top of just compiler support.

This implicitly disables sanitizer support for most cross-compiling and
embedded targets which use gcc or llvm based toolchains but don't have library
support, while enabling it on MSVC and Intel compilers.

While here, bind the sanitizer dependency to the zint library targets, and
remove the hardcoded no-var-tracking-assignments. variable assignment
tracking is a very powerful tool to find the true source of uninitialized
value based conditional jumps, and, if undesired, it can be disabled by
configuring the ASAN_OPTIONS environment variable.
2021-06-25 03:26:12 +09:00
54947fb435 Restore backend_qt - static only now; qzint: legacy support for renamed methods 2021-06-24 18:31:08 +01:00
4a8cac2a5a CODEONE/DATAMATRIX/MAILMARK/PLESSEY: fix some 32-bit/portability bugs
PLESSEY: add options NCR weighted mod-10, hide check digit(s) in HRT
test suite: now runnable under MSVC 2019, 2017, 2015, MinGW/MSYS
win32/README: update with MSVC 2019 and CMake instructions
2021-06-10 11:15:39 +01:00
88bbeb862b Move getopt out of the frontend, because it's used in the backend's test, too 2021-06-02 21:14:14 +09:00
9ff3f13c19 Optionalize the PNG and the Qt dependencies
Expose the ability to turn these dependencies off, which results in reduced
functionality. However, it enables a developer using the zint library to
instruct cmake to build a libzint as deployed by e.g. build servers which
don't have png/zint installed, without having to uninstall those libraries
from the development system
2021-06-02 21:14:14 +09:00
5a8e9a86ad [Untested] Remove odd looking libpng global link flag expansion
If explicit link flag handling is required, it *should* be handled by
FindPNG, and we should explicitly bind these kind of things to targets,
rather than expanding the global linker flags

I have no apple setup and can therefore not test this commit
2021-06-02 21:14:14 +09:00
4c524838f5 Add enable_testing to the top level project
This enables us to run ctest on the top level build directory
2021-06-02 21:14:14 +09:00
83bac8c8a5 Bind macro definitions to the zint library target
The libpng dependency is exported to consumers, while the ZINT_TEST option
affects the build output. Both are therefore marked public
2021-06-02 21:14:14 +09:00
14f67331c2 #223 Use cmake options to interface command line parameters, props Schaich Alonso 2021-03-16 23:38:47 +00:00
c875371289 #221 Use cmake import targets for the Qt dependency (Xml), props Schaich Alonso 2021-03-11 11:41:13 +00:00
6322c0c2b0 #213 Use PNG::PNG for libpng, require cmake 3.5, props Schaich Alonso 2020-11-30 15:51:14 +00:00
f9b639ed9c Move QZint class into frontend binary 2020-11-22 20:17:46 +00:00
3eb31fe3f8 Take version information from CmakeLists.txt
Warning: potential incompatibility because version number is no longer stored in zint.h
2020-11-22 11:29:45 +00:00
943ba79866 AZTEC: fix bit-stuffing; AZTECRUNE: fix >= 128; DATAMATRIX: eod shift -> 0 pad; Qt6 2020-10-26 12:21:43 +00:00
90012ab23f EANX_CC: allow for check digit + buffer overflow for too long add-on; GUI text colour; cmake 3.0 2020-10-05 23:22:06 +01:00
ac7b5dd282 #206 build: version to 2.9.1.9; ZINT_VERSION_BUILD (9 dev); tools/update_version.php 2020-09-04 16:38:11 +01:00
e9652df70c Change PDF417TRUNC -> PDF417COMP and version 2.8 -> 2.9 2020-07-29 22:35:31 +01:00
0628e3ee4d Update version 2.7.1 > 2.8.0 2020-04-07 17:27:45 +01:00
9b771dba3a Make zint-static build optional 2020-03-30 10:54:21 +01:00
bca82ecc0d libzint.so: suppress exporting INTERNAL functions to the shared library; ZINT_TEST 2019-12-19 00:37:55 +00:00
e331fd1e90 QR optimize encoding modes 2019-12-16 17:31:52 +00:00
74082e4d1b Bump Zint version to 2.7.0 in CMakeLists.txt 2019-12-09 19:14:39 +00:00
6e1283ccd8 2019-10-07 2.6.7 HaO Set version to 2.6.7, documentation, readme 2019-10-07 11:57:35 +02:00
6751a816a6 2019-09-19 HaO Set Version to 2.6.6 2019-09-18 11:58:57 +02:00
40aab7908b 2018-08-30 2.6.5 HaO Set version to 2.6.5 2019-09-02 12:37:01 +02:00
d76cdd615b Fixes for eci, binary div, upce, other 2019-09-01 20:23:15 +01:00
6949143419 2018-08-30 2.6.4 HaO Set version to 2.6.4 2019-08-30 19:18:14 +02:00
ffd1ed2d6b Update version number to 2.6.3 2018-02-15 10:46:02 +00:00
73c9b502b5 Update version to 2.6.2
Plus some tidying up in preperation for new release
2017-10-22 12:39:37 +01:00
1882d76b70 Update version to 2.6.1 2017-08-27 09:31:02 +01:00
19ba8a34c4 Update to version 2.6.0 and update copyright to 2017 2017-05-11 21:14:38 +01:00
0f9a326398 Update to Qt5 2016-12-11 15:29:06 +00:00
e7858dfe98 Add version information to zint.h and increment release version
Relates to #51
2016-12-10 09:04:06 +00:00
858c6264b1 Code format and audit, part 4
Update copyright info, remove unused code, etc.
2016-02-20 12:37:50 +00:00
96974d2cd1 Fix issue #3: Fix FindZint.cmake dest dir (patch by Jaroslaw Staniek) 2015-09-14 21:47:07 +02:00
8c78216dc1 version number updated 2012-12-31 14:41:42 +01:00
4c45bac1ae reworked 2012-12-30 14:55:05 +01:00
29edddcf94 Update version to 2.4.2
Update version number to 2.4.2 and remove reference to broken website.
2011-05-02 07:24:09 +01:00
2853b473f6 Reduce Warnings in Debian
A number of adjustments to reduce the warnings when building .deb packages in Debian
2010-10-07 17:03:41 +01:00
db568c0ed1 Update version to 2.4
Update version number of library
2010-09-12 16:36:39 +01:00
545ff663d3 Update version to 2.3.2 2010-05-23 07:18:15 +00:00
63dda2c5a4 *** empty log message *** 2010-03-01 22:49:09 +00:00
fa49844c6f Changes to cmake script needed to get build on the mac with libpng build from sources. Will me making universal binary later. 2010-02-28 03:44:54 +00:00
f6dc4dfc07 Remove Codablock-F 2010-01-28 17:55:59 +00:00
35cacaef67 Update version number to 2.3.0 2009-11-08 22:17:11 +00:00
de9984a346 Update version numbering to 2.2.2 2009-09-29 11:15:16 +00:00