Syping
4b9637e0fd
Emscripten: add _malloc to EXPORTED_FUNCTIONS
2023-01-05 16:03:47 +01:00
Syping
54912a63ab
Emscripten: set ALLOW_MEMORY_GROWTH to 1
2023-01-05 15:46:57 +01:00
Syping
95943203e0
libragephoto: 2022 update
2022-12-28 07:39:06 +01:00
Syping
087534bf6e
CMake: improved Unicode tests
...
CodecvtTest.cpp: fix error codes
IconvTest.cpp: add Japanese, Korean, Russian and Taiwanese tests
WincvtTest.cpp: fix error codes
2022-12-28 07:18:15 +01:00
Syping
91404a5f77
CMake: improved Unicode tests
...
unicode.cmake: avoid errors when spaces exists
CodecvtTest.cpp: add Japanese, Korean, Russian and Taiwanese tests
WincvtTest.cpp: add Japanese, Korean, Russian and Taiwanese tests
2022-12-28 05:56:01 +01:00
Syping
1d522d0667
CMakeLists.txt 2022 update
2022-08-04 06:26:54 +02:00
Syping
6a50ca75a1
CMakeLists.txt update, RagePhoto add data() function
...
RagePhoto::data() returns internal RagePhotoData object
2021-12-14 03:15:52 +01:00
Syping
930897cf97
windows.yml: add Windows MSVC cross compile
2021-12-04 08:37:58 +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
eed3290633
CMake and GitHub Actions update installations
2021-12-02 03:14:19 +01:00
Syping
9132f92410
GitHub Actions: Artifact uploads added
2021-12-01 09:04:10 +01:00
Syping
6d71d480b7
GitHub Actions: add webassembly.yml and update ubuntu.yml
2021-12-01 07:52:57 +01:00
Syping
aa9ac44f3e
CMake, Doc and README updates
...
CMake: add EM_ON EM_OFF and rename BUILD_* and WITH_* options to
RAGEPHOTO_*
Doc: change C++ API to C/C++ API
README: change build libragephoto section and add the reworked CMake
options
2021-12-01 07:41:47 +01:00
Syping
81675355b0
RagePhoto: full read support for RDR 2 Photos
...
RagePhoto: fix RDR 2 Photos rewriting (using new data values)
RagePhotoData: added unnamedSum1 and unnamedSum2
2021-11-22 14:01:06 +01:00
Syping
c89296c775
RagePhoto: improve save efficiency by using std::string as buffer
2021-11-19 09:55:52 +01:00
Syping
285df4893d
RagePhoto: remove static library functions from the class
2021-11-18 18:00:09 +01:00
Syping
b900df55cc
Add std:: at some forgotten malloc and free
2021-11-18 17:42:25 +01:00
Syping
584105eeed
Use std:: at malloc, realloc and free
...
+ Fix non-Cvt build
2021-11-18 17:33:20 +01:00
Syping
9e0bba72bb
README.md: fix C/C++ API links
2021-11-16 06:25:04 +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
136a6e1fec
README.md: update links and link/ref to C API
2021-11-13 04:53:06 +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
Syping
57f37bf88a
CMake: Fix incorrect number of arguments at INSTALL_RPATH
2021-11-12 22:21:38 +01:00
Syping
f75fcef519
WinCvt: fixing MSVC build with including windows.h
2021-11-12 07:10:36 +01:00
Syping
2b6e581c8e
Win32 resources: use "lib" prefix
2021-11-12 06:58:37 +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
56314c2738
CI: Update ubuntu.yml and add windows.yml
2021-11-12 03:06:37 +01:00
Syping
b47456844a
CMake: Seperate Unicode tests
2021-11-09 03:25:27 +01:00
Syping
adebf504bb
Unicode: changed implementation selection
2021-11-07 20:32:06 +01:00
Syping
05890541dc
add Win32 API Unicode converter, other small changes
...
Qt Example: add file.close() (consistency between GTK example)
RagePhoto: saveFile() checks for good(), more data() -> c_str()
2021-11-06 20:17:28 +01:00
Syping
85ab850895
CMake: improve overview
2021-11-06 14:52:25 +01:00
Syping
81ac027d5d
pkg-config: improve ragephoto.pc
2021-11-06 14:28:46 +01:00
Syping
624191e9f4
C API: fix small documentation mistake
2021-11-05 16:22:24 +01:00
Syping
4c43596e2a
C API: add ragephoto_clear()
2021-11-05 16:20:43 +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
d8c99b9067
RagePhoto-Extract: use C API when enabled
2021-11-03 11:21:37 +01:00
Syping
2fcc5b0ba7
add version features
2021-11-03 10:54:35 +01:00
Syping
1be4ae5e4a
improve library structure, update documentation
2021-11-03 10:19:32 +01:00
Syping
9d9e0c8b05
RagePhoto-Extract: use RagePhoto::loadFile
2021-11-02 10:24:22 +01:00
Syping
a396d014f7
C++ API: add loadFile and saveFile
2021-11-02 10:16:56 +01:00
Syping
af547bd89f
C API: improvements and saving added
2021-11-02 09:26:56 +01:00
Syping
4e06444e40
CI: move apt install to ubuntu.yml
2021-11-01 19:46:07 +01:00
Syping
0ff2718cab
C API: fix documented mix-up
2021-10-30 17:49:51 +02:00
Syping
b4d65b24af
C API: more functions added, improve C++ references
2021-10-30 17:40:58 +02:00
Syping
7bc3cabc89
improve examples
2021-10-30 15:31:29 +02:00
Syping
6b262e2ddc
C API: bool -> int, size_t included
2021-10-29 12:33:43 +02:00
Syping
48f8d12246
fix no C API build
2021-10-29 12:03:01 +02:00
Syping
5f46f18040
skip extern "C" when building without C API
2021-10-29 11:58:01 +02:00
Syping
18b92c24f2
added a Simple C API
2021-10-29 11:52:59 +02:00