Commit Graph

65 Commits

Author SHA1 Message Date
8658e5c9fd Fix merge
All checks were successful
Build ptprnt / build (push) Successful in 3m48s
2025-10-11 17:38:47 +02:00
99b355b033 Merge branch 'master' into generate-text-part-one 2025-10-11 17:34:31 +02:00
6a593f2a40 Remove unused interface methods
All checks were successful
Build ptprnt / build (push) Successful in 3m44s
2025-10-11 17:30:50 +02:00
59b3b34edc Fix the label corruption issue
All checks were successful
Build ptprnt / build (push) Successful in 4m43s
2025-10-11 17:04:55 +02:00
6e3a5bd12f Add fake printer for testing 2025-10-11 13:00:26 +02:00
0b8ff28a60 Start refactoring printers into own directory 2025-10-11 12:29:43 +02:00
3dc5da6fc8 Fix Monochrome class with new data structure, unit tests. There is work to be done still
All checks were successful
Build ptprnt / build (push) Successful in 3m51s
2025-09-11 10:02:43 +02:00
fec8ee231b Updated Code debug configuration to use lldb (#13)
All checks were successful
Build ptprnt / build (push) Successful in 2m27s
Reviewed-on: moritz/ptouch-prnt#13
2024-11-14 19:45:38 +00:00
Moritz Martinius
349036bfaf Updated Code debug configuration to use lldb
All checks were successful
Build ptprnt / build (push) Successful in 3m50s
2024-11-14 20:37:04 +01:00
5132eab6fa Merge branch 'master' into generate-text-part-one
All checks were successful
Build ptprnt / build (push) Successful in 2m34s
2024-05-01 11:27:54 +02:00
eaf566ff28 Improve actions pipeline (#12)
All checks were successful
Build ptprnt / build (push) Successful in 1m54s
Act runner upgraded, let's see what the versions are...

Reviewed-on: moritz/ptouch-prnt#12
2024-05-01 09:23:12 +00:00
77c6b7bc7b Fix for the old dependency code in the CI
All checks were successful
Build ptprnt / build (push) Successful in 2m31s
2024-04-28 20:49:10 +02:00
f702ec5473 Small Todos for the next session, some clean up
Some checks failed
Build ptprnt / build (push) Failing after 32s
2024-04-28 20:44:13 +02:00
59ef4189c4 Implement Label printing interface for PrinterDriver
Some checks failed
Build ptprnt / build (push) Failing after 32s
2024-04-28 20:02:07 +02:00
bb7ab6239d Implement basic layouting
Some checks failed
Build ptprnt / build (push) Failing after 37s
2024-04-28 17:38:56 +02:00
37ee7c10f1 c++ standard needs to be c++2a as c++20 is not possible with CI
All checks were successful
Build ptprnt / build (push) Successful in 1m23s
2024-04-20 14:03:51 +02:00
d98399949c Fix printer info issue
Some checks failed
Build ptprnt / build (push) Failing after 18s
2024-04-20 14:01:52 +02:00
a47a3189d3 Fix issues after rebase 2024-04-20 13:53:12 +02:00
6857de7b1f commands restructured to be const vectors 2024-04-20 13:39:28 +02:00
5a38600e2a Got it almost working... 2024-04-20 13:36:32 +02:00
1163ae5745 Removing files that shouldn't have been staged 2024-04-20 13:34:41 +02:00
09a2e621d6 Some side tracking fixing undefined behaviour and memory vulnurabilities 2024-04-20 13:34:11 +02:00
28308dccad Rename Image class to Label 2024-04-20 13:33:45 +02:00
5f5c0f0f97 Remove debug output as build pipeline does not have pango >=v1.5.0 2024-04-20 13:28:00 +02:00
4a59b50839 Fix typo 2024-04-20 13:28:00 +02:00
79477baecd Width is no automatically chosen based on image width 2024-04-20 13:28:00 +02:00
cf8492a714 A somewhat working state, but still struggeling with pangocairo 2024-04-20 13:28:00 +02:00
ad0b2c91ae Add a printer factory to simplify construction of printer drivers (#11)
All checks were successful
Build ptprnt / build (push) Successful in 1m1s
Co-authored-by: Moritz Martinius <mm@cloudprinters.de>
Reviewed-on: moritz/ptouch-prnt#11
2024-04-20 11:10:30 +00:00
5b3148cb65 Improve gitignore for less noise in commits (#10)
All checks were successful
Build ptprnt / build (push) Successful in 1m34s
Co-authored-by: Moritz Martinius <mm@cloudprinters.de>
Reviewed-on: moritz/ptouch-prnt#10
2024-03-23 12:04:49 +00:00
d8b70e5d56 Add file logger and fix log level output (#9)
All checks were successful
Build ptprnt / build (push) Successful in 1m45s
Improve logging output

Reviewed-on: moritz/ptouch-prnt#9
2023-11-19 13:27:20 +00:00
cd15930e1d Fix Logger and other build issues (#7)
All checks were successful
Build ptprnt / build (push) Successful in 1m49s
This branch fixes a couple of issues with the build
- stop linking everything in a library which is then linked against a single main. It doesn't work the way I wanted. If functionality needs to be exposed by a library, it can be done later or with a separate target
- This should also fix spdlog
- Source files are now in a separate meson file using mesons files() feautre
- Improve coverage generation by adding a script generating html coverage reports. This will hopefully keep the motivation higher to create more unit tests
- Increase the code coverage a bit to demonstrate that statement above is not a fluke 😄

Reviewed-on: moritz/ptouch-prnt#7
2023-11-16 20:26:22 +00:00
9a1aee6658 cli-parser (#4)
All checks were successful
Build ptprnt / build (push) Successful in 1m22s
Goal of this PR should be to integrate a working CLI parser so that commands can be sent to the Printer class to print text, such as
ptprnt -t=FooBar
also, standard flags for setting the output verbosity and help should be implemented

Reviewed-on: moritz/ptouch-prnt#4
2023-10-22 19:42:59 +00:00
7d0cb89bda Test merging of failed actions and updat README.md (#3)
All checks were successful
Build ptprnt / build (push) Successful in 1m3s
Reviewed-on: moritz/ptouch-prnt#3
2023-09-25 18:07:32 +00:00
ca82512d5b Update dependency install instructions (#2)
All checks were successful
Build ptprnt / build (push) Successful in 1m0s
Reviewed-on: moritz/ptouch-prnt#2
2023-09-25 17:55:11 +00:00
1df62874e9 Attempt to setup gitea build action (#1)
All checks were successful
Build ptprnt / build (push) Successful in 1m3s
Reviewed-on: moritz/ptouch-prnt#1
2023-09-25 17:41:38 +00:00
ccea502734 Explicitly set copy & move constructors to default for Printer 2023-09-25 18:27:02 +02:00
68283a6295 Add Clang-Tidy file 2023-09-24 18:41:33 +02:00
91c12e0ab9 Some cleanup in Bitmap.cpp 2023-09-24 18:20:34 +02:00
4b3247ef6d Successful label printing v0.1.0 2023-09-24 18:08:18 +02:00
b940890268 moved includes before copyright notice 2023-09-24 11:57:20 +02:00
de341e6803 english is hard 2023-09-24 11:55:28 +02:00
7905f37150 first successful print of gibberish 2023-09-24 11:49:57 +02:00
29a609e855 LICENSE text missing 2023-09-23 16:10:12 +02:00
1381efb5d1 Add license header to all source files 2023-09-23 16:09:21 +02:00
b55681752d Add license and Readme 2023-09-23 16:02:56 +02:00
55896d74f9 Add class for converting Bitmaps to monochrome bytes representation 2023-09-23 15:10:50 +02:00
318e078de5 Updated clang-format include dirs 2023-09-23 13:48:04 +02:00
c0811df4bb Moved graphics classes into own namespace, added unit testing with gtest 2023-09-23 13:33:10 +02:00
7ab817793d removed obsolete inc directory 2023-08-27 09:34:47 +02:00
f467a39919 Implemented printer status retrieval 2023-08-27 09:29:37 +02:00