Commit Graph

57 Commits

Author SHA1 Message Date
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
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: #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: #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: #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: #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: #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: #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: #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: #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: #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 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
5644c84c83 Simplified driver interface and moved application logic to a seperate application class 2023-08-26 13:45:26 +02:00
779911e97e Re-implemented USB device enumeration with new structure 2023-08-26 13:16:09 +02:00
61e2352a3c Re-structured project 2023-08-26 11:53:44 +02:00
c3915336dd restore USB functionality with altered implementation 2023-08-03 19:06:38 +02:00
458806c6af USB updates, remove iostream usage 2023-08-01 18:19:50 +02:00
c3f200fee4 Set up clang format & tidy and format all the files 2023-02-09 19:41:11 +01:00
38906dafef Implement open() and close() for Usb class, added a lot of TODO's 2022-11-13 21:28:28 +01:00
f09e4ab5c8 Formatting... 2022-11-12 18:37:24 +01:00