Commit graph

16 commits

Author SHA1 Message Date
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 cac7fd221f RagePhoto(A): add jpegSign() function
- RagePhotoC: add ragephoto_getphotosign() ragephoto_getphotosignf()
ragephotodata_getphotosign() and ragephotodata_getphotosignf() functions
2023-03-15 08:22:38 +01: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 9807f0d696 libragephoto: update C API
RagePhotoA: add new C API functions
RagePhotoC: add ragephotodata_clear(), ragephotodata_load(),
ragephotodata_getsavesize(), ragephotodata_getsavesizef(),
ragephotodata_setbufferdefault(), ragephotodata_setbufferoffsets()
2023-02-20 14:58:41 +01:00
Syping 2a8070b75e libragephoto: add custom parser feature
- RagePhoto: add addParser()
- RagePhotoC: add ragephoto_addparser()
- RagePhoto(C): rename all ragePhotoData to rp_data
2023-02-20 11:27:14 +01:00
Syping 659feb0cbf RagePhoto: update ragephoto_setphotodata function
- RagePhotoTypedefs: add saveSize function
2023-02-11 22:40:13 +01:00
Syping b2e765c2af libragephoto: fix build errors and some includes
- RagePhoto-Extract: include stdio.h
- RagePhotoC: include stddef.h instead of stdio.h
- RagePhotoTypedefs: include stddef.h
2023-02-11 20:53:41 +01:00
Syping 0900feda84 libragephoto: add typedefs for format parser 2023-02-11 20:06:00 +01:00
Syping 255c1a28b9 C API: ragephoto_setphotodata(c) returns now bool 2023-02-08 19:59:56 +01:00
Syping 45a45701f6 libragephoto: various changes
- libragephoto_global.h seperated to RagePhotoConfig.h and
RagePhotoLibrary.h
- RagePhotoData.h renamed to RagePhotoTypedefs.h
- RagePhotoData: updated struct and documentated it
- RagePhotoC: changed ragephoto_setphotodata ABI, added
ragephoto_setphotodatac for copying
- RagePhotoA: adapted for the ABI changes
- RagePhoto: adapted for the ABI changes and updated struct
2023-02-07 03:06:22 +01:00
Syping a704ee046a add setData() and ragephoto_setphotodata() functions
RagePhoto: add setData() and ragephoto_setphotodata() functions
RagePhotoA: wrap setData() function to ragephoto_setphotodata()
RagePhotoC: update header for ragephoto_setphotodata()
2023-01-08 17:45:54 +01:00
Syping 13650527be add function ragephoto_getphotodata() to the C API
RagePhoto: add function ragephoto_getphotodata() to the C API
RagePhotoA: wrap data() function to ragephoto_getphotodata()
RagePhotoC: update header for ragephoto_getphotodata()
RagePhotoData: improve header include statement
2023-01-08 13:57:37 +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 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 a5a501f6fe C API and .gitattributes improvements
C API: separate C++ and C Header files
.gitattributes: use cp1252 as encoding for .rc.in files
2021-11-13 04:41:01 +01:00