diff --git a/CMakeLists.txt b/CMakeLists.txt index a48c7b1c..482aca02 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON) set (ZINT_VERSION_MAJOR 2) set (ZINT_VERSION_MINOR 6) -set (ZINT_VERSION_RELEASE 4) +set (ZINT_VERSION_RELEASE 5) set (ZINT_VERSION "${ZINT_VERSION_MAJOR}.${ZINT_VERSION_MINOR}.${ZINT_VERSION_RELEASE}" ) add_definitions (-DZINT_VERSION=\"${ZINT_VERSION}\" -Wall) diff --git a/README b/README index 0bf557d0..5313cbb2 100644 --- a/README +++ b/README @@ -61,6 +61,19 @@ that the old -vers numbers for DMRE are re-assigned. The separator of GS1-datamatrix may be switched from FNC1 to GS. GS1 field length check AI 8009 and 7230 to 7239 currected. +Version 2.6.5: +Fixed bugs: +backend/main.c was missing +Maxicode bullseye rastering for scale = 0.5 +Crash in uto to eci. +eci ISO 8859-16 table missing data line +upce check for 7 digit input (causes crash) and BARCODE_UPCE_CHK -> BARCODE_UPCE mapping removed +US imail check for invalid barcode identifier and allow 0/5/9/11 length zip +maxicode code set correction +cmake flags for debugging and sanitize options +unit tests for the changes, with a simple test suite based on qrencode/tests + + CONTACT US ---------- The home of Zint is: diff --git a/backend/zint.h b/backend/zint.h index 201c7279..04028460 100644 --- a/backend/zint.h +++ b/backend/zint.h @@ -136,7 +136,7 @@ extern "C" { #define ZINT_VERSION_MAJOR 2 #define ZINT_VERSION_MINOR 6 -#define ZINT_VERSION_RELEASE 4 +#define ZINT_VERSION_RELEASE 5 /* Tbarcode 7 codes */ #define BARCODE_CODE11 1 diff --git a/backend_qt/backend_qt.pro b/backend_qt/backend_qt.pro index 46e5704c..bf22efa6 100644 --- a/backend_qt/backend_qt.pro +++ b/backend_qt/backend_qt.pro @@ -19,7 +19,7 @@ TARGET = QtZint INCLUDEPATH += ../backend #EDIT THIS !!!! -DEFINES += ZINT_VERSION="\\\"2.6.4\\\"" +DEFINES += ZINT_VERSION="\\\"2.6.5\\\"" !contains(DEFINES, NO_PNG) { INCLUDEPATH += ../../lpng @@ -120,7 +120,7 @@ SOURCES += ../backend/2of5.c \ ../backend/png.c \ qzint.cpp -VERSION = 2.6.4 +VERSION = 2.6.5 #DESTDIR = . diff --git a/backend_tcl/configure.in b/backend_tcl/configure.in index 77aa9e58..65badac6 100644 --- a/backend_tcl/configure.in +++ b/backend_tcl/configure.in @@ -14,7 +14,7 @@ # so you can encode the package version directly into the source files. #----------------------------------------------------------------------- -AC_INIT([zint], [2.6.4]) +AC_INIT([zint], [2.6.5]) #-------------------------------------------------------------------- # Call TEA_INIT as the first TEA_ macro to set up initial vars. diff --git a/backend_tcl/lib/zint/pkgIndex.tcl b/backend_tcl/lib/zint/pkgIndex.tcl index 75234f01..4fdfcc7e 100644 --- a/backend_tcl/lib/zint/pkgIndex.tcl +++ b/backend_tcl/lib/zint/pkgIndex.tcl @@ -1,2 +1,2 @@ -package ifneeded zint 2.6.4\ +package ifneeded zint 2.6.5\ [list load [file join $dir zint[info sharedlibextension]]] diff --git a/backend_tcl/zint.c b/backend_tcl/zint.c index 14686be5..8940237d 100644 --- a/backend_tcl/zint.c +++ b/backend_tcl/zint.c @@ -56,7 +56,11 @@ 2018-11-02 2.6.4 HaO - Framework trunk update - Add options -bold, -dotted, -dotsize, -dmre, -eci - - Implemented ECI logic + - Implemented ECI logic + 2019-09-01 2.6.5 HaO + - Framework 2.6.5 update + - Add option -gssep + */ #if defined(__WIN32__) || defined(_WIN32) || defined(WIN32) @@ -96,7 +100,7 @@ /*----------------------------------------------------------------------------*/ /* > File option defines */ -#define VERSION "2.6.4" +#define VERSION "2.6.5" /*----------------------------------------------------------------------------*/ /* >>>>> Hepler defines */ @@ -388,6 +392,7 @@ static char help_message[] = "zint tcl(stub,obj) dll\n" " -dotsize number: radius ratio of dots from 0.01 to 1.0\n" " -scale double: Scale the image to this factor\n" " -format binary|unicode|gs1: input data format. Default:unicode\n" + " -gssep bool: for gs1, use gs as separator instead fnc1 (Datamatrix only)\n" " -eci number: ECI to use\n" " -notext bool: no interpretation line\n" " -square bool: force Data Matrix symbols to be square\n" @@ -572,13 +577,13 @@ static int Encode(Tcl_Interp *interp, int objc, /* Option list and indexes */ char *optionList[] = { "-barcode", "-bg", "-bind", "-bold", "-border", "-box", "-cols", - "-dmre", "-dotsize", "-dotty", "-eci", "-fg", "-format", "-height", - "-init", "-mode", "-notext", "-primary", "-rotate", "-rows", - "-scale", "-secure", "-smalltext", "-square", "-to", "-vers", - "-whitesp", NULL}; + "-dmre", "-dotsize", "-dotty", "-eci", "-fg", "-format", "-gssep", + "-height", "-init", "-mode", "-notext", "-primary", "-rotate", + "-rows", "-scale", "-secure", "-smalltext", "-square", "-to", + "-vers", "-whitesp", NULL}; enum iOption { iBarcode, iBG, iBind, iBold, iBorder, iBox, iCols, - iDMRE, iDotSize, iDotty, iECI, iFG, iFormat, iHeight, + iDMRE, iDotSize, iDotty, iECI, iFG, iFormat, iGSSep, iHeight, iInit, iMode, iNoText, iPrimary, iRotate, iRows, iScale, iSecure, iSmallText, iSquare, iTo, iVers, iWhiteSp @@ -603,6 +608,7 @@ static int Encode(Tcl_Interp *interp, int objc, case iBox: case iDMRE: case iDotty: + case iGSSep: case iInit: case iNoText: case iSmallText: @@ -704,6 +710,13 @@ static int Encode(Tcl_Interp *interp, int objc, hSymbol->output_options &= ~BARCODE_DOTTY_MODE; } break; + case iGSSep: + if (intValue) { + hSymbol->output_options |= GS1_GS_SEPARATOR; + } else { + hSymbol->output_options &= ~GS1_GS_SEPARATOR; + } + break; case iECI: if(Tcl_GetIndexFromObj(interp, objv[optionPos+1], (const char **) s_eci_list,"-eci", optionPos, &ECIIndex) diff --git a/frontend_qt/mainwindow.cpp b/frontend_qt/mainwindow.cpp index 37c9f61c..8f73dd35 100644 --- a/frontend_qt/mainwindow.cpp +++ b/frontend_qt/mainwindow.cpp @@ -265,7 +265,7 @@ bool MainWindow::save() void MainWindow::about() { QMessageBox::about(this, tr("About Zint"), - tr("

Zint Barcode Studio 2.6.4

" + tr("

Zint Barcode Studio 2.6.5

" "

A free barcode generator" "

Instruction manual is available at the project homepage:
" "http://www.zint.org.uk" diff --git a/win32/zint_cmdline_vc6/zint.rc b/win32/zint_cmdline_vc6/zint.rc index 2e1b2ed9..9d7daeaf 100644 --- a/win32/zint_cmdline_vc6/zint.rc +++ b/win32/zint_cmdline_vc6/zint.rc @@ -50,7 +50,7 @@ BEGIN VALUE "Comments", "\0" VALUE "CompanyName", "\0" VALUE "FileDescription", "zint barcode generator\0" - VALUE "FileVersion", "2.6.4.0\0" + VALUE "FileVersion", "2.6.5.0\0" VALUE "InternalName", "zint.exe\0" VALUE "LegalCopyright", "Copyright © 2018 Robin Stuart\0" VALUE "LegalTrademarks", "\0" @@ -58,7 +58,7 @@ BEGIN VALUE "OriginalFilename", "zint.exe\0" VALUE "PrivateBuild", "\0" VALUE "ProductName", "zint\0" - VALUE "ProductVersion", "2.6.4.0\0" + VALUE "ProductVersion", "2.6.5.0\0" VALUE "SpecialBuild", "\0" VALUE "WWW", "http://www.sourceforge.net/projects/zint\0" END diff --git a/win32/zint_cmdline_vc6/zint_cmdline_vc6.dsp b/win32/zint_cmdline_vc6/zint_cmdline_vc6.dsp index f1973b63..bbeb8a5b 100644 --- a/win32/zint_cmdline_vc6/zint_cmdline_vc6.dsp +++ b/win32/zint_cmdline_vc6/zint_cmdline_vc6.dsp @@ -42,7 +42,7 @@ RSC=rc.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\backend" /I "..\..\..\zlib" /I "..\..\..\lpng" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /D ZINT_VERSION="\"2.6.4\"" /c +# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\backend" /I "..\..\..\zlib" /I "..\..\..\lpng" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /D ZINT_VERSION="\"2.6.5\"" /c # ADD BASE RSC /l 0x407 /d "NDEBUG" # ADD RSC /l 0x407 /d "NDEBUG" BSC32=bscmake.exe diff --git a/zint.nsi b/zint.nsi index dbcd8fa2..82cf4bd7 100644 --- a/zint.nsi +++ b/zint.nsi @@ -10,7 +10,7 @@ ;****************************************************************************** !define PRODUCT_NAME "Zint" !define PRODUCT_EXE "qtZint.exe" -!define PRODUCT_VERSION "2.6.3.0" +!define PRODUCT_VERSION "2.6.4.0" !define PRODUCT_WEB_SITE "http://www.zint.org.uk" !define PRODUCT_PUBLISHER "Robin Stuart & BogDan Vatra" !define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\${PRODUCT_EXE}" diff --git a/zint.spec b/zint.spec index e9bed666..c7e088bc 100644 --- a/zint.spec +++ b/zint.spec @@ -1,5 +1,5 @@ Name: zint -Version: 2.6.4 +Version: 2.6.5 Release: 2%{?dist} Summary: A barcode generator and library License: GPLv3+ @@ -138,6 +138,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Sep 1 2019 Harald Oehlmann - 2.6.5 +- Version -> 2.6.5 + * Fri Aug 30 2019 Harald Oehlmann - 2.6.4 - Version -> 2.6.4