Commit graph

30 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
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
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
eed3290633 CMake and GitHub Actions update installations 2021-12-02 03:14:19 +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
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
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
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
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
18b92c24f2 added a Simple C API 2021-10-29 11:52:59 +02:00
Syping
136520372d add custom load functions, move private data to struct 2021-10-28 03:28:36 +02:00
Syping
3fa0068251 add documentation and set functions 2021-09-14 19:35:46 +02:00
Syping
01bb6e1bcf Fix CMake top-level detection, install build with CI 2021-09-04 17:24:22 +02:00
Syping
9af28f0aa6 CMake improvements, photoFormat improvement 2021-09-04 17:13:03 +02:00
Syping
7721aab48b fix Windows static build 2021-08-29 03:06:14 +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
e1bdccfb0d memory fixes, GTK example added 2021-08-27 05:33:20 +02:00
Syping
c9b33b324d add codecvt support 2021-08-27 01:47:09 +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