Commit Graph

21 Commits

Author SHA1 Message Date
Syping 12507be85d libragephoto: add RagePhotoB for best implementation
CMakeLists.txt: add RagePhotoB class, improve settings clarification
doc/build.doc: add RAGEPHOTO_C_LIBRARY flag
doc/index.doc: correct RagePhoto.h header
doc/usage.doc: fix minor documentation issue, clarify class differences
ragephoto-gtkviewer: use RagePhotoB class
ragephoto-qtviewer: use RagePhotoB class
RagePhoto-Extract.cpp: use RagePhotoB class
RagePhoto.cpp: LIBRAGEPHOTO_C_API -> LIBRAGEPHOTO_CXX_C
RagePhotoA.hpp: simplify brief
RagePhotoB.hpp: add best implementation detection
RagePhotoLibrary.h: fix WASM C API inclusion by default
README.md: add RAGEPHOTO_C_LIBRARY flag
2023-06-11 05:41:32 +02:00
Syping b838c505a4 libragephoto: C++ headers have now .hpp extension
RagePhoto.h -> RagePhoto.hpp
RagePhotoA.h -> RagePhotoA.hpp
RagePhotoC.h -> RagePhoto.h

unicode.cmake: exclude codecvt for C builds
GitHub Actions: separate C and CXX builds
2023-06-07 06:57:23 +02:00
Syping 933918454f libragephoto 0.3.0 release
- update README.md
- update documentation
- ragephoto-gtkviewer: fix error uint8_t -> int32_t, NULL -> nullptr
- ragephoto-qtviewer: fix error uint8_t -> int32_t
- RagePhotoA: fix documentation, fix error()
- RagePhotoC: add brief
2023-04-02 21:33:48 +02:00
Syping d75eba2a46 libragephoto: add new ragephotodata functions and improvements
RagePhoto: changed photo(), photoData(), photoSize() and setPhoto() to
jpeg(), jpegData(), jpegSize() and setJpeg()
RagePhoto: setData() now takes takeCopy instead of takeOwnership
RagePhoto: changed static member argument order for easier coding
RagePhotoA: changed photo(), photoData(), photoSize() and setPhoto() to
jpeg(), jpegData(), jpegSize() and setJpeg()
RagePhotoA: setData() now takes takeCopy instead of takeOwnership
RagePhotoA: changed static member argument order for easier coding
RagePhotoA: add new C API functions
RagePhotoC: add ragephotodata_save() and ragephotodata_savef()
RagePhoto-Extract: update for API changes, stop assuming RDR 2 when GTA
V format not found
ragephoto-gtkviewer: update for API changes
ragephoto-qtviewer: update for API changes
2023-02-23 09:17:53 +01:00
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 95943203e0 libragephoto: 2022 update 2022-12-28 07:39:06 +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 57f37bf88a CMake: Fix incorrect number of arguments at INSTALL_RPATH 2021-11-12 22:21:38 +01:00
Syping bb53b342b7 CMake updates, Win32 resources and .gitattributes added
CMake: Improve RPATH handling for both TARGET and non-TARGET builds
CMake: Updating configure_file's to handle ragephoto_ instead of PROJECT_
variables
Win32 resources: Add basic library description with CMake's configure_file
2021-11-12 06:55:37 +01:00
Syping 67ed433f6b C/C++ API improvements, CMake include dir change
C API: add format functions
C++ API: add ABI stable wrapper RagePhotoA based on C API
2021-11-04 13:21:18 +01:00
Syping 7bc3cabc89 improve examples 2021-10-30 15:31:29 +02:00
Syping 1d48cd0fbd efficiency improvements and CMake WIN32 flags 2021-10-24 05:03:14 +02:00
Syping 0f94a9920c improve examples 2021-10-14 07:09:58 +02:00
Syping 3c59996591 use C++ stream classes 2021-09-17 08:17:25 +02:00
Syping 9af28f0aa6 CMake improvements, photoFormat improvement 2021-09-04 17:13:03 +02:00
Syping 8c860855ae RagePhoto improvements, GTK example fix 2021-08-29 02:35:25 +02:00
Syping 61a9770951 improve examples 2021-08-27 23:17:57 +02:00
Syping dd47087afd add pkgconfig, improve Qt example 2021-08-27 21:48:33 +02:00
Syping 33c3dcb512 add Qt example, GTK example fixes, README update 2021-08-27 20:07:14 +02:00
Syping 350916588f CMake: install ragephoto-gtkviewer in bin folder 2021-08-27 05:41:12 +02:00
Syping e1bdccfb0d memory fixes, GTK example added 2021-08-27 05:33:20 +02:00