kc3-lang/freetype/builds/windows/ftsystem.c

Branch :


Log

Author Commit Date CI Message
32cb5390 2025-09-06 06:14:03 Update all copyright notices.
8d536080 2025-01-10 22:44:40 * builds/windows/ftsystem.c: Fix ancient condition.
cdd3572e 2024-05-17 22:25:00 * builds/windows/ftsystem.c: Use _WINRT_DLL to check for UWP. Fixes compilation using Windows GDK, reported by Erin Melucci.
47574f7e 2024-01-27 11:11:22 Update all copyright notices.
65f85237 2023-01-17 09:18:25 Update all copyright notices.
ed4d0710 2022-04-25 19:05:11 [builds/windows] Simplify non-desktop UWP check. Fixes mingw compilation described in !159. * builds/windows/ftsystem.c: Do not use WINAPI_FAMILY_PARTITION macro.
97cdbb24 2022-03-30 14:06:15 Whitespace.
127c1e83 2022-03-23 22:53:07 [builds/windows] Fix WCE support. * builds/windows/ftsystem.c [_WIN32_WCE]: Include <malloc.h> needed by _alloca.
0574692c 2022-03-23 22:46:15 [build/windows] Improve UWP support. * builds/windows/ftsystem.c [UWP]: Wrap CreateFile2 into CreateFileA.
20ec99be 2022-02-17 13:35:52 [builds/windows] Add support for legacy UWP builds. * builds/windows/ftsystem.c: Add neccessary macro substitutions to enable strict UWP builds. See !141. Co-authored-by: Alexei Podtelezhnikov <apodtele@gmail.com>
d0cfb4e1 2022-01-11 10:54:10 Update all copyright notices.
1f951898 2021-12-06 23:08:46 [builds/windows] Guard some non-ancient API. We can support Windows 98 and NT 4.0 in principle... * builds/windows/ftdebug.c, builds/windows/ftsystem.c: Check for the ancient SDK using _WIN32_WINDOWS, _WIN32_WCE, or _WIN32_WINNT.
b4dddd82 2021-09-22 00:30:03 [base] Initialize stream memory earlier. With Windows memory management tracking heap, it is important to use it during the stream opening fallback. In Unix, the argument is unused, but it is better to set it correctly. * src/base/ftobjs.c (FT_Stream_New): Set memory before calling `FT_Stream_Open`. * builds/windows/ftsystem.c, builds/unix/ftsystem.c (FT_Stream_Open, ft_close_stream_by_free): Call `ft_alloc` and `ft_free` with proper memory argumment.
93866bec 2021-09-21 23:14:42 [builds/windows] Revert back to `CreateFileA` only. Calling `CreateFileW` without making sure that the patname is really `wchar_t` is a bad idea and can lead to unpredictable overreads. For Windows CE, we impelemnt the missing API. Fixes #1098 and !76 again. * builds/windows/ftsystem.c (FT_Stream_Open): Call `CreateFileA`. [_WIN32_WCE] (CreateFileA, FileSizeEx): Implement missing interfaces.
0b429b60 2021-09-17 08:31:27 [builds/windows] Try both wide and narrow `CreateFile` Windows handles wchar_t* UTF-16 and char* ANSI (presently UTF-8) filenames using alternative -A and -W API. We'll try them both when opening a file. This means that you should not worry about about conversions. Fixes #1098 and !76. * builds/windows/ftsystem.c (FT_Stream_Open): Call alternative `CreateFile` in the case of failure.
7e26c7a6 2021-09-07 17:06:27 [builds/windows] Use native memory allocation API. * builds/windows/ftsystem.c (ft_alloc, ft_realloc, ft_free): Wrap HeapAlloc, HeapReAlloc, and HeapFree. (FT_New_Memory): Set the heap handle.
612925ff 2021-09-01 21:37:21 s/0/NULL/ where appropriate.
efa1a359 2021-08-30 09:38:25 * builds/windows/ftsystem.c (FT_Stream_Open): Fix double-close.
f0f00f7c 2021-08-19 22:14:42 * builds/windows/ftsystem.c (FT_Stream_Open): Support legacy Windows.
536a10ac 2021-08-17 22:24:46 * builds/windows/ftsystem.c (FT_Stream_Open): Cast to remove warning.
5116f129 2021-08-17 22:08:45 * builds/windows/ftsystem.c (FT_Stream_Open): Support UNICODE compilation.
68940241 2021-02-02 09:38:25 builds/{unix,windows}/ftsystem.c: Sync comments with `src/base/ftsystem.c`. Also some minor code formatting.
bb33f03a 2021-01-27 06:43:41 * builds/windows/ftsystem.c: Add shared memory support on Windows.