Commit Graph

11 Commits

Author SHA1 Message Date
Syping e08b45d980 low level improvements and data type changes
- RagePhoto: removed setFormatLoadFunction (will be replaced with a
better solution later)
- RagePhoto: code updates for the RagePhotoData changes
- RagePhotoA: have now RagePhoto enum's available
- RagePhotoData: changed description, json, header and title types to
char*
- RagePhotoData: removed photoLoaded in favour of nullptr check
- examples: prepared for the API update
2023-01-07 20:43:11 +01:00
Syping 7326cc26c7 unicode.cmake improvements, RagePhoto API changes
RagePhoto: remove class from Error enum
RagePhotoA: error() uint32_t -> uint8_t
RagePhoto-Extract: remove Error:: from Error enums
ragephoto-gtkviewer: RagePhoto::Error -> uint8_t, remove Error:: from
Error enum
ragephoto-qtviewer: RagePhoto::Error -> uint8_t, remove Error:: from
Error enum
2021-12-02 05:55:50 +01:00
Syping c6566c8f17 WebAssembly CMake support and other changes
RagePhoto-Extract: removed unnecessary includes
Windows RagePhoto-Extract: included Windows resource file

RagePhotoA: include iostream to fix undefined std::

RagePhoto: seperate C and CXX exports to export only C functions with
WebAssembly
Windows RagePhoto: changed Windows resource file language to 0x0

Doxyfile: change PROJECT_VERSION variable to ragephoto_VERSION variable
2021-11-16 06:20:20 +01:00
Syping 44d67fa78f Improve ragephoto-extract, RagePhoto header change
RagePhoto-Extract.c: use fopen_s on Windows
RagePhoto-Extract.cpp: use good() to check if file successfully written
RagePhoto.h: remove LIBRAGEPHOTO_C_API #ifdef to force error if compiled
without C API
2021-11-13 09:47:03 +01:00
Syping d8c99b9067 RagePhoto-Extract: use C API when enabled 2021-11-03 11:21:37 +01:00
Syping 9d9e0c8b05 RagePhoto-Extract: use RagePhoto::loadFile 2021-11-02 10:24:22 +01:00
Syping 136520372d add custom load functions, move private data to struct 2021-10-28 03:28:36 +02:00
Syping 3c59996591 use C++ stream classes 2021-09-17 08:17:25 +02:00
Syping 464e5bf6dd add format() function 2021-09-03 18:36:00 +02:00
Syping 63c0977ed6 add error function, README and CI 2021-08-26 00:22:11 +02:00
Syping 93b81484a6 initial commit 2021-08-25 00:30:10 +02:00