18 Commits

Author SHA1 Message Date
f1b791f1f4 feat: Add QR code generation functionality to PrivateBin API library
- Add generate_qr_code() function for creating QR codes from PrivateBin links
- Implement SVG output format for scalable QR code generation
- Add qr_generator.h/cpp with self-contained QR code implementation
- Update CMakeLists.txt to include new QR code source files
- Integrate QR code documentation into README.md
- Update example program to demonstrate QR code generation
- Update CHANGELOG.md with v0.1.1.6 release notes
- Remove separate README_QR_CODE.md file

The implementation provides simplified QR code generation with:
- Position detection patterns for QR code recognition
- Configurable size and border parameters
- No external dependencies
- Comprehensive error handling
- Memory management using existing free_string() function
2025-08-28 22:21:00 +02:00
3b4d591eff Fix type conversion warnings in base58.cpp and improve CMake syntax 2025-08-28 21:43:46 +02:00
5493c0dcf3 Merge branch 'main' of https://gitea.medisoftware.org/Markus/lib-privatebin 2025-08-28 21:26:36 +02:00
cd7e957692 Fix compiler warnings and improve code quality
- Replace unsafe strcpy with strcpy_s for better security
- Fix DLL binding issues by adding PRIVATEBIN_API macros
- Add explicit type casts to resolve size conversion warnings
- Replace unsafe getenv with _dupenv_s for better security
- Add PRIVATEBINAPI_EXPORTS definition in CMakeLists.txt
- Improve CMake configuration for better build compatibility
2025-08-28 21:25:25 +02:00
000fde485f Fix CMakeLists.txt for Linux compatibility while preserving Windows vcpkg support 2025-08-28 20:37:34 +02:00
df74c8a1af CTest: integrate example as optional test (PRIVATEBIN_IT-gated) and ensure DLL copy; wire example into root CMake 2025-08-28 15:44:16 +02:00
0f58d40f52 Tests: add live integration test (optional via PRIVATEBIN_IT), fix WinHTTP host/port + TLS opts, robust JSON parser (meta.time_to_live), CTest wiring; Add LLVM/clang-cl coverage option and docs; add build_thinkpad.bat; README updates 2025-08-28 15:22:00 +02:00
29818a5708 Explicitly include vcpkg directories 2025-08-28 10:05:14 +02:00
1dfa80a445 Update to use vcpkg manifest approach for dependencies 2025-08-28 10:03:16 +02:00
cad675e0be Update to properly use vcpkg-provided Crypto++ 2025-08-28 10:00:56 +02:00
292780f991 Fix Crypto++ include directories and libraries paths 2025-08-28 09:58:21 +02:00
c07ba51eae Fix Crypto++ integration and conditional compilation 2025-08-28 09:56:18 +02:00
65823b7016 Fix CMakeLists.txt target_link_libraries syntax 2025-08-28 09:54:12 +02:00
8e92ccb386 Update to use installed Crypto++ library 2025-08-28 09:52:53 +02:00
3d3bff31b7 Update crypto implementation to handle missing Crypto++ library 2025-08-28 09:44:54 +02:00
b1acb0ba81 Implement actual cryptographic functions using Crypto++ library 2025-08-28 09:41:19 +02:00
41b17022c7 Fix CMakeLists.txt syntax error and update build script to use Visual Studio 2022 2025-08-28 09:27:23 +02:00
90d9a23dd2 Initial commit: PrivateBin API C++ DLL implementation 2025-08-28 09:15:47 +02:00