Commit Graph

51 Commits

Author SHA1 Message Date
p0358 de0bef9ec7 Fix problematic git log usage (#249)
Switches to git commands not affected by log.* config options when building version strings.
2025-11-25 14:14:46 -05:00
Jaye Evins 8c8e447336 Pointer cleanup (#242)
- Made greater use of smart pointers, eliminating many instances of manual memory management
- Do not use pointers at all for many non-polymorphic classes
- Assorted other code cleanup
2025-10-31 16:11:28 -04:00
Jaye Evins 0e7049ed73 Support libzint >= 2.15 (#225,#222,#186))
- Update libzint support for 2.15 as new baseline version, removing support for earlier versions, avoiding '#ifdef'-hell
- Based on #186

---------

Co-authored-by: gitlost <burmartke@gmail.com>
2025-08-16 17:00:14 -04:00
Jaye Evins 3a4bb61f44 Updates and cleanup of multi-patform build tests (#212)
- Simplify creation of build matrix.
 - Added macos-latest build
 - Renamed VERSION to VERSION.txt, this was problematic on macos build
 - Added placeholders for installing optional dependencies for windows and macos builds in the future.
2025-06-25 11:33:32 -04:00
Jaye Evins f15c21a01d Update to Qt6
- New baseline minimum platform is Ubuntu 22.04
    - Qt6 requires at least 6.2
        - some deprecations may be flagged on later versions (e.g. 6.8)
    - CMake requires at least 3.22
- Include build-tests.yml github action to validate builds on mulitple platforms
- QtTest is no longer optional since it easily comes along for the ride with Qt
- Replaced QStringRef in model::SubstitutionField with simple ParserState class
- Removed deprecations up to Qt 6.2
2025-05-06 18:26:53 -04:00
Jim Lieb be567f90eb Update Qt dependency from QT 5.6 to QT 5.15 (#162)
* Update QT5 references 5.6 -> 5.15

Builds and runs but now needs deprecated -> current updates.

Signed-off-by: Jim Lieb <lieb@sea-troll.net>

* Update build instructions for Fedora 35 particulars

Signed-off-by: Jim Lieb <lieb@sea-troll.net>

* Replace deprecated QtString::sprintf with QtString::arg

This was deprecated some revisions prior to 5.15.

Signed-off-by: Jim Lieb <lieb@sea-troll.net>

* Replace deprecated QtString::SkipEmptyParts with Qt::SkipEmptyParts

Builds now with 5.15

Signed-off-by: Jim Lieb <lieb@sea-troll.net>

* Replace deprecated QPrinter::setPageMargins with 5.15 version

Signed-off-by: Jim Lieb <lieb@sea-troll.net>

* Replace deprecated QImage::byteCount() with QImage::sizeInBytes()

This could be problematic if qsizetype differs from int

Signed-off-by: Jim Lieb <lieb@sea-troll.net>

* Replace deprecated endl with QT::endl

Signed-off-by: Jim Lieb <lieb@sea-troll.net>

* Replace deprecated QMatrix with QTransform

Signed-off-by: Jim Lieb <lieb@sea-troll.net>

---------

Signed-off-by: Jim Lieb <lieb@sea-troll.net>
2025-04-28 22:16:28 -04:00
Jaye Evins 7f98f1e308 Allow for an external build directory when gathering version information with git 2025-04-16 12:43:23 -04:00
Jaye Evins f8efe3aafa Update all occurrences of my name with my legal name. 2025-04-08 18:47:02 -04:00
Jakob Haufe 3c33e3e64f Bump required Qt version (fixes #112) (#113) 2021-02-06 07:37:54 -05:00
Jim Evins ac93dc9b2c Disable Zint barcode backend for zint-2.7.x (#86)
- New zint API is incompatible, may eventually create a compatible backend
2020-01-18 07:47:26 -05:00
Jim Evins b77d57ad08 Another method of determining branch. 2019-05-05 16:04:40 -04:00
Jim Evins 3256c407fb Make version numbers of snapshots more meaningful. 2019-05-05 14:45:44 -04:00
Jim Evins 0e60c52d4c Added ReportBugDialog to Help menu.
- Also renamed "File" toolbar to "Quick Access" toolbar (#13).
2019-01-27 21:46:56 -05:00
Jim Evins c2d024f47e Added manpages for glabels-qt and glabels-batch-qt. 2018-12-29 14:10:04 -05:00
Jim Evins fe6dcd6a7f Cleanup of CMakeLists.txt files.
- Bumped required cmake version to 3.9.
 - Added Appveyor CI YAML file for Windows builds
2018-12-19 23:23:59 -05:00
Jim Evins e0b9eeb146 Fixed accidental breakage of CI. 2018-12-05 12:12:06 -05:00
Jim Evins 7e142bb57d Automatically generate a more informative version string. 2018-12-04 22:56:51 -05:00
Jim Evins a0e1dae5cf Implemented TemplateDesigner. 2018-04-07 22:24:09 -04:00
Jim Evins 7f903f5a68 Added some initial CPack support. 2017-12-29 19:13:48 -05:00
Jim Evins 5e9f8355b9 Updated prerequisites and build instructions. Updated Windows install. 2017-12-13 17:09:20 -05:00
Jim Evins c6c52a8895 Minor code cleanup. 2017-11-25 16:54:37 -05:00
Jim Evins 32cde7cb1d Made zlib an optional dependency.
Only needed to read legacy files, which is not fully supported yet.  Hopefully
this will make it easier to build on Windows.
2017-11-25 03:18:39 -05:00
Jim Evins fc014c8e4b Updated required cmake to 3.2. 2017-11-23 22:25:45 -05:00
Jim Evins b8ee5e1f73 Restructuring directory layout. Move towards "Modern CMake" usage. 2017-11-23 22:15:24 -05:00
Jim Evins 8bcec37d7c Created SubstitutionField class. 2017-11-18 22:36:43 -05:00
Jim Evins 0be7cada59 Added version requirements to optional dependencies. 2017-06-03 12:55:27 -04:00
Jim Evins 3e2b40c000 Initial implementation of Zint barcode backend. 2017-06-02 22:39:44 -04:00
Jim Evins 662d7a9ef5 Added FindGnuBarcode cmake module. 2017-05-24 19:33:39 -04:00
Jim Evins df5b977853 Created QrEncode barcode backend. 2017-05-22 22:26:28 -04:00
Jim Evins b17cea7ace Incorporated glbarcode library into source tree. 2017-04-09 19:14:13 -04:00
Jim Evins ca3d4a5d5c First pass at setting up translation framework. 2017-03-25 23:14:49 -04:00
Jim Evins 885914d5ae Fleshing out windows(MINGW) install. 2017-02-26 19:56:07 -05:00
Jim Evins c363c340ce Some cmake cleanup. 2017-02-26 16:26:40 -05:00
Jim Evins 95467b6ed2 Fleshing out installation. 2017-02-26 15:07:44 -05:00
Jim Evins 5cf98840fc Moved compilation settings to CMakeLists.txt in glabels subdirectory. 2017-02-25 19:35:25 -05:00
Jim Evins cc83e6e433 Added windows icon file. 2017-02-25 19:04:51 -05:00
Jim Evins 44aa31d074 Some reorganization of source tree.
- Merged libglabels back into glabels.
- Created docs directory.
- Adjusted COPYING files to reflect above changes.
2017-01-14 01:38:20 -05:00
Jim Evins 4cc5882ec3 Added SVG support to image objects. 2017-01-01 23:06:03 -05:00
Jim Evins aa11fcc4e6 Some simple fleshing out of AboutDialog. 2016-12-31 00:38:18 -05:00
Jim Evins cd24c96386 Eliminate -fPIC warnings on Windows. 2016-05-28 01:12:22 -04:00
Jim Evins 699960e4be Ported to Qt5. 2016-05-27 22:45:03 -04:00
Jim Evins b1e7a6507c Moved Merge subsystem into its own subdirectory. 2016-05-22 13:01:48 -04:00
Jim Evins a6aa0d921f Added unit-independent distance type. 2016-03-13 21:03:09 -04:00
Jim Evins 38450ebb2d Use MINGW zlib instead of MSYS on Windows. 2015-08-26 15:31:55 -04:00
Jim Evins 800d0a7469 Make sure find_package can find libz when building in MSys on Windows. 2015-08-25 15:58:17 -04:00
Jim Evins 5dc773579b Added support for reading gzipped glabels files.
- Use zlib to uncompress input
2015-08-25 02:09:18 -04:00
Jim Evins cff463a23a Moved app/ to glabels/. 2014-07-06 12:22:06 -04:00
Jim Evins 109574a409 Initial implementation of XmlUtil. Completed XmlPaperParser. 2013-11-03 11:10:08 -05:00
Jim Evins cbae7243b8 Added initial implementation of XmlPaperParser. 2013-11-03 01:23:09 -04:00
Jim Evins 336d892983 Some of the low-hanging fruit in libglabels. 2013-10-27 23:16:36 -04:00