Commit Graph

17 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
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
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
09a2e621d6 Some side tracking fixing undefined behaviour and memory vulnurabilities 2024-04-20 13:34:11 +02: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
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
c0811df4bb Moved graphics classes into own namespace, added unit testing with gtest 2023-09-23 13:33:10 +02:00
5644c84c83 Simplified driver interface and moved application logic to a seperate application class 2023-08-26 13:45:26 +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
815e67bdfb Add USB stub, add logging using spdlog 2022-11-12 18:34:40 +01:00
4809f60d2c List usb device 2022-11-12 18:34:40 +01:00
cc2316a497 Change build system to meson 2022-11-12 18:34:40 +01:00