Commit graph

159 commits

Author SHA1 Message Date
Syping
5c43a39d13 libragephoto 0.8.2 release
- CMakeLists.txt: update version to 0.8.2
- RagePhoto.cpp: fix memory issue on Windows convertPath function for C+
+11 support
- RagePhoto.cs: code style changes for Boolean
- RagePhoto.h: update copyright header
- RagePhoto.hpp: update copyright header
- RagePhotoLibrary.h: update copyright header
- src/dotnet: add package tags and update version to 0.8.2
2025-11-30 08:13:17 +01:00
Syping
728a3dff6c libragephoto 0.8.1 release
- CMakeLists.txt: update version to 0.8.1
- doc: depend on CMake >= 3.16
- ragephoto-gtkviewer: depend on CMake >= 3.16 and ragephoto >= 0.8
- ragephoto-qtviewer: depend on CMake >= 3.16 and ragephoto >= 0.8
- src/dotnet: update version to 0.8.1
2025-11-11 19:22:47 +01:00
Syping
b87fd1d8fd libragephoto: fix memory issues with Jpeg saving
- RagePhoto.c: return PHOTOREADERROR when no Jpeg is being set when
ragephotodata_savef is being called with Jpeg format
- RagePhoto.cpp: return PhotoReadError when no Jpeg is being set when
RagePhoto::save is being called with Jpeg format
2025-11-10 20:16:25 +01:00
Syping
b150959727 libragephoto: fix jpegSize not set to 0 when being cleared 2025-11-10 20:03:45 +01:00
Syping
c8cd8112f0 libragephoto 0.8.0 release
- CMakeLists.txt: update version to 0.8.0
- src/dotnet: add .NET 8.0 target
- src/dotnet: add README.md
- src/dotnet: fix .targets file for .NET Framework 4.7
- src/dotnet: simplify exception string handling
- src/dotnet: update version to 0.8.0
2025-11-10 17:58:06 +01:00
Syping
c6de659a99 libragephoto: set C standard by default to 99 and other changes
- CMakeLists.txt: set C standard by default to 99
- CMakeLists.txt: use generator expression for ICONV_LINKED
- RagePhotoConfig.h.in: update copyright year to 2025
- unicode.wasm: remove RAGEPHOTO_UNICODE_LIBS
- wasm.cmake: set C standard by default to 99
2025-11-05 13:23:40 +01:00
Syping
f48bd286fe libragephoto: always keep old data when setJpeg malloc fails 2025-11-05 12:35:09 +01:00
Syping
4518ae5aa3 libragephoto: impl. support for NULL/nullptr to clear data values 2025-11-05 11:58:45 +01:00
Syping
93a8d83fde libragephoto: use void* for C++ and RagePhotoInstance for C 2025-10-31 16:40:22 +01:00
Syping
73ae014730 libragephoto: change ragephoto_t type casting behaviour 2025-10-31 16:12:02 +01:00
Syping
2a66793f70 ragephoto-extract: use library save function to save jpeg 2025-10-29 05:50:02 +01:00
Syping
a404a29188 libragephoto 0.7.1 release
- RagePhoto.c: fix memory corruption bug at ragephoto_setphotodesc
2025-10-26 23:26:51 +01:00
Syping
176fae0f03 libragephoto: update .NET version to 0.7.0.1 2025-10-24 22:01:36 +02:00
Syping
83832a6724 libragephoto 0.7.0 release
- libragephoto: support JPEG as save format
2025-10-23 02:20:17 +02:00
Syping
3a1d1e59b5 libragephoto: move to 0.7.0 version and other changes
- src/dotnet: move targets file to net47 only
- src/dotnet: rename Syping.RagePhoto.Core to RagePhoto.Core
- GitHub Actions: add Linux .NET build
2025-10-23 01:16:47 +02:00
Syping
24a64d8740 RagePhotoLibrary.h: minor change in ordering at endian check 2025-10-21 21:53:32 +02:00
Syping
15cb5da634 RagePhoto.cpp: fix compile issues with some C++ libraries 2025-10-21 21:51:17 +02:00
Syping
aad0db247b libragephoto 0.6.2 release
- CMakeLists.txt: update version to 0.6.2
- RagePhoto.c: fix ragephoto_addparser and byte swap function
- RagePhoto.cpp: fix addParser and byte swap function
- RagePhotoLibrary.h: fix endian detection
- Syping.RagePhoto.Core.csproj: update version to 0.6.2
2025-10-18 19:44:05 +02:00
Syping
72f094958d libragephoto: update .NET version to 0.6.1.6
- RagePhoto.cs: fix initialization oversight
- RagePhoto.cs: improve exceptions
- RagePhoto.cs: use ExactSpelling in DllImport
- RagePhotoException.cs: restructure exceptions
2025-10-17 14:03:11 +02:00
Syping
a17643d578 libragephoto: update .NET version to 0.6.1.5
- RagePhoto.cs: define CallingConvention to Cdecl
- RagePhoto.cs: impl. copying of Photo instances
- RagePhotoData.cs: remove unused struct in C# API
2025-10-16 15:54:43 +02:00
Syping
f98bed97df libragephoto: update .NET version to 0.6.1.4
- RagePhoto.cs: impl. SetDescription, SetJpeg, SetJson and SetTitle
functions
- RagePhoto.cs: impl. support for .NET Framework 4.7
- RagePhoto.cs: set default buffers by default for Set functions
- Syping.RagePhoto.Core.csproj: add .NET Framework 4.7 target
2025-10-15 17:28:10 +02:00
Syping
f345963710 libragephoto: update .NET version to 0.6.1.3
- RagePhoto.cs: update all [return: MarshalAs(UnmanagedType.Bool)] to
[return: MarshalAs(UnmanagedType.I1)]
2025-10-08 09:38:36 +02:00
Syping
a0ec84cbc8 libragephoto: update .NET version to 0.6.1.2
- RagePhoto.cs: add missing [return: MarshalAs(UnmanagedType.Bool)]
- RagePhoto.cs: update filePath instances to path
- RagePhotoData.cs: update Strings to IntPtr (more safe to Marshal)
- RagePhotoTypes.cs: move DefaultSize, PhotoError and PhotoFormat to
here
2025-10-08 09:19:25 +02:00
Syping
59bd3c1249 libragephoto: update .NET version to 0.6.1.1 and add license 2025-10-08 04:28:49 +02:00
Syping
aa82187de3 RagePhoto.cs: add saveFile function 2025-10-08 04:28:02 +02:00
Syping
532273bf70 libragephoto 0.6.1 release 2025-10-07 12:38:58 +02:00
Syping
f73830f99e libragephoto: various minor corrections 2025-10-07 12:30:30 +02:00
Syping
f492fc9b93 libragephoto: add ragephoto .NET Package 2025-10-07 12:29:53 +02:00
Syping
3b8b641465 libragephoto: fix UTF-8 filename input on Windows 2025-10-07 10:25:27 +02:00
Syping
73eb5d4370 RagePhoto.c: add static to inline functions 2025-03-26 20:32:32 +01:00
Syping
32d875e6ba ragephoto.rc.in: correct VFT_APP to VFT_DLL
- replace 0x3fL with VS_FFI_FILEFLAGSMASK
2025-03-26 20:25:24 +01:00
Syping
259c6833d9 libragephoto 0.6.0 release
- RagePhoto.c: define WIN32_LEAN_AND_MEAN and VC_EXTRALEAN
- README.md: update documentation links
- wasm.cmake: assume CMake 3.16 or newer being used by default
- WincvtTest.c: update copyright year
2024-12-09 16:51:31 +01:00
Syping
ce0cb68fa5 libragephoto: CMake improvements and header include changes 2024-12-08 22:29:00 +01:00
Syping
719ff89b2e libragephoto: improve parser efficiency 2024-07-15 22:29:39 +02:00
Syping
9379595283 RagePhoto.cpp: remove unused uInt32Buffer 2024-04-22 21:26:16 +02:00
Syping
bb2b98e5d8 libragephoto: use ternary operator for flags
index.dox: remove unnecessary whitespaces
2024-04-16 09:30:41 +02:00
Syping
2d59f2acf9 libragephoto: added library flags support
libragephoto: added RAGEPHOTO_FLAG_LEGACY_NULL_RETURN library flag
2024-04-15 12:40:36 +02:00
Syping
bc9065e8dc libragephoto: improve documentation 2024-04-09 05:21:36 +02:00
Syping
0fa69667d0 libragephoto: put C++ wrapper in ragephoto_c namespace 2024-04-05 19:46:12 +02:00
Syping
eadec52f35 libragephoto: improve serializer 2024-04-05 19:31:14 +02:00
Syping
caf885d91c RagePhoto.c: fix off_t type in ragephoto_loadfile 2024-04-05 04:22:43 +02:00
Syping
c8c2f65b3a libragephoto: remove offset jumping
- CMakeLists.txt: add RAGEPHOTO_DEBUG option
- RagePhoto.c: fix ragephoto_loadfile and add support for 64-Bit files
- RagePhoto.*: improve correctness
- ragephoto-*viewer: depend on ragephoto 0.6 or newer
2024-04-05 04:17:41 +02:00
Syping
1e160ee170 ragephoto_c: fix header inclusion
- CI: hardcore Emscripten version
2024-03-26 10:21:32 +01:00
Syping
18325f7c05 pyragephoto: add 'with' support 2024-03-25 13:43:10 +01:00
Syping
c55b99e23f RagePhoto: dont take reference from save function 2024-03-25 13:15:26 +01:00
Syping
0611a368a6 RagePhoto: remove u8path in saveFile 2024-03-25 13:09:52 +01:00
Syping
dd60f8d0b7 libragephoto: add ragephoto_getphotosigns function
- rename libragephoto.py to libragephoto_loader.py
- enforce set CXX standard for WASM build
2024-03-25 13:06:14 +01:00
Syping
1a80125802 CMakeLists and RagePhoto C file access improvements
- CMakeLists.txt: CMAKE_CXX_STANDARD -> RAGEPHOTO_CXX_STANDARD
- RagePhoto.c: Fix potential issues with file access
2024-01-18 19:53:47 +01:00
Syping
e1cf6df258 libragephoto: add C++ namespaces (API change)
- RagePhoto::saveFile() -> use const char* instead of std::string
- RagePhoto C++ -> C API: try catch for throwable functions (to match C
impl. behaviour)
- Rename header files and classes
2024-01-15 17:05:54 +01:00
Syping
b94e66624b RagePhoto.c: add windows.h for RAGEPHOTO_BENCHMARK on Windows 2023-12-24 16:19:09 +01:00