Commit Graph

637 Commits

Author SHA1 Message Date
Jaye Evins fd10d88be5 Revise README for CI snapshots and third-party packages
Updated the README to clarify the status of continuous integration snapshots and third-party package availability.
2025-10-17 18:57:53 -04:00
Jaye Evins e5be07101b Update BUILD-INSTRUCTIONS-LINUX.md
Minor edits to Linux build instructions.
2025-09-13 17:24:15 -04:00
Jaye Evins 9e4d18c789 Add optional dependencies to windows and macos targets in build-tests.yml (#229)
Install and validate integration with as many optional dependencies on all testing platforms when doing CI build tests.

- For windows-latest, use vcpkg to install zlib, libqrencode, and zint.
- For macos-latest, use brew to install zlib, qrencode, and zint.
- Made zint version detection more robust across platforms.
2025-09-10 23:27:03 -04:00
Peter Kessen 3bd78558b3 Display newlines in merge view (#108)
Display newlines in merge view as printable character
2025-09-05 14:23:52 -04:00
Jaye Evins ffd634075f Reorganize icon data as an embedded icon theme (#226) 2025-08-25 23:44:40 -04:00
Jaye Evins de85d47765 Small update to linux build instructions (#133)
Need to run ldconfig after installing zint, to update the dynamic linker's
run-time bindings.
2025-08-16 17:47:12 -04:00
Jaye Evins b6b62fcfb5 Update build-tests action to use zint-2.15.0 for ubuntu targets 2025-08-16 17:25: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 fa96cc5a17 Add grid settings to preferences (#224)
- Allow origin to be either at the top-left corner or center of label (#174)
- For non-rectangular labels (cd, round, etc.) the origin will still
  always be at the center of the label.
- User controllable grid spacing
2025-08-14 15:47:22 -04:00
Jaye Evins f147407a46 Drag n drop (#223)
Added drop interface for image files, images, and text, dragged from other applications.  (#153,#223)

- Lock aspect ration on new image objects by default
- Communicate context menu click location to paste actions
2025-08-12 16:06:43 -04:00
Jakob Haufe 524e9cc9e9 Fix transifex URL (#220) 2025-08-01 10:05:55 -04:00
Jaye Evins 9c3e21faf3 Add ObjectsCenter action to center objects in label both h and v. (#184) 2025-07-31 18:01:22 -04:00
Jaye Evins 475971b701 Remember most recently used printer. (#215) 2025-07-28 15:11:36 -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 4c0ce1146a Improvements to SelectTemplateDialog (#109 and #142)
- Added side pane for product preview and information
- Product selection is done with a separate pushbutton, so that user gets a
  chance to preview the complete product information before committing to the
  selection
- Supports two view modes: Grid View and List View
- View mode is automatically stored in Settings, so it will default to the
  user's prefered mode
- Should address most concerns in #109 and #142
2025-05-26 19:23:36 -04:00
Jaye Evins 43cbc8fc3c Added tooltips to TemplatePickerItems.
Longer names in QListWidget are often ellipsized, obsuring the template names.
The tooltips allow the user to see full names by hovering over items.
2025-05-15 18:03:23 -04:00
Jaye Evins ca68c84cad Handle filenames with periods in basename consistently. (#199)
Use QFileInfo::completeBaseName() instead of QFileInfo::baseName() in
Model::shortName().  This was already the case when building list of
recent labels in MainWindow.
2025-05-15 00:02:47 -04:00
Jaye Evins 18b0a1b09b Minor bug fixes
- model::Db::lookupPaperNameFromId() bad if-else-if
- model::StrUtil::formatFraction missing arg in QString
- Added unit tests for StrUtil
2025-05-08 11:09:11 -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
Mario Blättermann f683896706 Fetching latest translations from Transifex (#207) 2025-04-28 22:50:34 -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
Jim Evins 2da9b2d856 Fix build problem when incompatible barcode.h is found. (#101) 2021-02-06 12:58:32 -05:00
Jakob Haufe 3c33e3e64f Bump required Qt version (fixes #112) (#113) 2021-02-06 07:37:54 -05:00
Teresa Remmet 39c9676a32 Adding Herma 5028 template (#105)
Signed-off-by: Teresa Remmet <teresa-dev@remmet.eu>
2020-11-28 10:27:37 -05:00
Jim Evins 142aaf2a92 Glabels-batch: allow project file to be provided on stdin. (#90) 2020-03-28 19:10:28 -04:00
Juan Jose Pablos 4a9f3aad8e Update TRANSLATIONS.md (#89)
* Update TRANSLATIONS.md

Co-authored-by: Jim Evins <evins@snaught.com>
2020-02-29 21:30:41 -05:00
cus 7b20797aea Relax code39 barcode minimum size requirements (#88)
- Most libraries use the 7.5 mils for the minimum X value, not 10.
- Minimum recommended barcode height is 5 mm according to ISO/IEC 16388.
- Minimum quiet zone is 10 * X according to ISO/IEC 16388.
- Adjust minimum text sizes for reduced minimum barcode sizes

Signed-off-by: Marton Balint <cus@passwd.hu>
2020-02-29 17:06:06 -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 2f331c54dd Fixes issue recognizing a change in barcode backend with no change in symbology. 2020-01-12 00:35:39 -05:00
Jim Evins bcc3b2fb23 Fixed minor cut&paste issue with man page. 2020-01-02 20:07:59 -05:00
Jim Evins 2d5650767a Reconciled parsing of field names with Substitution Field Spec. (#82)
According to the spec., valid syntax for merge field names is determined
by the merge source with a couple of minor exceptions.  Current text backends
allow any printable characters, so the SubstitutionField parser now accepts
any printable characters.
2020-01-01 17:04:19 -05:00
Jim Evins aebcda43cb Merge branch 'RefactorPrint'
- Modifies printing model to be similar to glabels-3.x.
   - Allow simple projects to print by-the-page (#51)
   - Added collated vs uncollated document merges
- Added ability to separate merge groups by page
- Updated man pages
- Updated misc developer documentation
2020-01-01 14:35:15 -05:00
Jim Evins af607ca4af Barcode tweaks.
- Add capability to disable text in glbarcode UPC/EAN barcodes. (#79)
- Add backend name to display text in BarcodeMenuButton.
2019-12-08 17:07:10 -05:00
Jim Evins bd92e6f238 Increase maximum density of 2D barcodes to 64 blocks/in. (#78)
This affects the minimum size of 2D barcodes.  Even though you can print
at this density, it may be problematic depending on printer quality or
scanner optics.
2019-12-03 21:31:37 -05:00
Jim Evins edcb0d7166 Add workaround for non-gui environments to glabels-batch manpage. (#68) 2019-11-27 19:26:00 -05:00
Jim Evins f09ca36b7b Added "Open Recent" button to StartupView.
- Also disabled broken MacOS build in travis CI file
2019-11-12 21:40:43 -05:00
Jim Evins 75e613e9f1 Trim leading and trailing spaces from image filenames from merge records. (#76) 2019-11-11 23:21:34 -05:00
Jim Evins 7a02c0b226 Allow user variables to be set from glabels-batch command line (#75) 2019-10-12 21:57:04 -04:00
Jim Evins 1a900d0ebc CI cleanup/updates
- Create versioned snapshots
  - include MacOS build -- still needs test and deploy steps
  - include barcode and libqrencode in Linux build
  - include libqrencode in Windows build

  Updated README and TODO files.
2019-10-06 16:46:57 -04:00
Jim Evins 34efe8ddb3 Merge pull request #73 from mariobl/transifex
Latest translations from Transifex
2019-09-06 20:00:53 -04:00
Mario Blättermann 242285e1e4 Update UI translations from Transifex 2019-09-06 16:12:01 +02:00
Mario Blättermann f8e801ee4c Merge remote-tracking branch 'upstream/master' 2019-09-06 15:59:21 +02:00
Jim Evins d9e644472b Merge pull request #72 from gitlost/UserVariables
User variables (includes original UserVariables branch and gitlost's mods)
2019-08-29 19:58:19 -04:00
gitlost 6bc0cb8443 Remove XmlLabel png render tests, too system dependent 2019-08-29 08:10:27 +01:00
gitlost 7e44bbdc06 New FileUtil::makeRelativeIfInDir func; label parser_3 barcode map; unit tests 2019-08-26 03:00:32 +01:00
gitlost e8daa8aa48 Fix readImageFile to set mSvg, use in drawShadow also 2019-08-23 09:27:14 +01:00
gitlost 98038e34e7 Make absolute image filename more Windows friendly 2019-08-23 00:56:31 +01:00
gitlost 010879fa71 Add root to images search path, readImageFile svg; unit tests 2019-08-21 15:04:52 +01:00