Commit Graph

22 Commits

Author SHA1 Message Date
Jaye Evins 1f4f4aa221 Reload merge data (#252,#241)
* Added reloadSource() method to Merge class.
* Added reload button to MergeView
2025-11-29 00:16:21 -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 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
Jaye Evins f8efe3aafa Update all occurrences of my name with my legal name. 2025-04-08 18:47:02 -04: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 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
gitlost 7e44bbdc06 New FileUtil::makeRelativeIfInDir func; label parser_3 barcode map; unit tests 2019-08-26 03:00:32 +01:00
gitlost 6ab3a12b92 Share Model merge; Merge initializers; undo/redo descs (#65)
- use "shared" pointer between Model and undo/redo instances
- adds missing initializers to Merge and Text classes
- adds checkpoints for mouse resize, barcode, and image reset.
- renames the position dialog checkpoint from Move -> Position to differentiate it from a mouse move.
- adds the Undo/Redo action descriptions to the menu items.
- adds unit tests for the Merge and Model change, and for ColorNode, RawText and TextNode.
2019-07-20 14:41:01 -04:00
Jim Evins ea4099a57d Removed call to deprecated QRcode_clearCache().
QRcode_clearCache has been deprecated in libqrencode 4.0.  In previous versions,
it was only necessary to help debug memory leaks.  So it should be harmless
to remove this call.
2019-07-07 16:16:23 -04:00
Yuri Chornoivan 76c370bf52 Fix minor typos (#37) 2018-11-13 19:01:14 -05:00
Jim Evins c7c97178ca Explicitly check QFile::open() return value. 2018-01-02 03:32:28 -05:00
Jim Evins ff003e5b17 Use range-based loops when possible. 2017-12-30 22:09:48 -05:00
Jim Evins 9a135f8971 Use auto to reduce some verbosity. 2017-12-30 21:41:02 -05:00
Jim Evins c7a6ed4917 Remove unnecessary typedefs or replace with using. 2017-12-30 18:42:26 -05:00
Jim Evins b11754462f Replace trivial constructors and destructors with defaults. 2017-12-30 17:43:03 -05:00
Jim Evins 7a8159c554 Removed redundant void. 2017-12-29 20:35:41 -05:00
Jim Evins 0edea79495 Use nullptr instead of NULL. Use cstdint instead of stdint.h. 2017-12-29 19:51:46 -05:00
Jim Evins c6c52a8895 Minor code cleanup. 2017-11-25 16:54:37 -05:00
Jim Evins c9f2b91daf Removed C++17 nested namespace definitions. Should build on trusty again. 2017-11-24 15:49:26 -05:00
Jim Evins 4821e103bc CMake 3.2 does not support cxx_std_11 target_compile_feature. 2017-11-23 22:52:13 -05:00
Jim Evins b8ee5e1f73 Restructuring directory layout. Move towards "Modern CMake" usage. 2017-11-23 22:15:24 -05:00