summaryrefslogtreecommitdiff
path: root/builds
Commit message (Collapse)AuthorAgeFilesLines
* * Version 2.12.0 released.VER-2-12-0Werner Lemberg2022-03-317-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | ========================== Tag sources with `VER-2-12-0'. * docs/VERSION.TXT: Add entry for version 2.12.0. * docs/CHANGES, docs/release: Updated. * README, src/base/ftver.rc, builds/windows/vc2010/index.html, builds/windows/visualc/index.html, builds/windows/visualce/index.html, builds/wince/vc2005-ce/index.html, builds/wince/vc2008-ce/index.html, docs/freetype-config.1: s/2.11.1/2.12.0/, s/2111/2120/. * include/freetype/freetype.h (FREETYPE_MINOR): Set to 12. (FREETYPE_PATCH): Set to 0. * builds/unix/configure.raw (version_info): Set to 24:2:18. * CMakeLists.txt (VERSION_MINOR): Set to 12. (VERSION_PATCH): Set to 0. * builds/toplevel.mk (do-dist): Generate `ChangeLog` entries for all commits since version 2.11.0 (when we stopped creating this file manually).
* Whitespace.Werner Lemberg2022-03-301-31/+33
|
* [builds] Fix creation of `freetype2.pc` for static-only builds.Werner Lemberg2022-03-303-45/+67
| | | | | | | | | | | | | | | We have to help `pkg-config` since it can't recognize that there is no shared library installed. Note that meson already does exactly the same. * builds/unix/configure.raw (REQUIRES_PRIVATE, LIBS_PRIVATE): Rename to... (PKGCONFIG_REQUIRES_PRIVATE, PKGCONFIG_LIBS_PRIVATE): This. Adjust them depending on `$enable_shared`. (PKGCONFIG_REQUIRES, PKGCONFIG_LIBS): New variables. * builds/unix/freetype2.in, builds/unix/unix-def.in: Use new and updated variables.
* [builds/windows] Fix WCE support.Carlo Bramini2022-03-231-0/+2
| | | | | * builds/windows/ftsystem.c [_WIN32_WCE]: Include <malloc.h> needed by _alloca.
* [build/windows] Improve UWP support.Steve Lhomme2022-03-231-6/+44
| | | | * builds/windows/ftsystem.c [UWP]: Wrap CreateFile2 into CreateFileA.
* * builds/mac/ftmac.c, src/base/ftmac.c: s|FT_MAC_H|<freetype/ftmac.h>|.Werner Lemberg2022-02-191-1/+1
|
* [builds/windows] Add support for legacy UWP builds.Steve Lhomme2022-02-171-1/+19
| | | | | | | | | * builds/windows/ftsystem.c: Add neccessary macro substitutions to enable strict UWP builds. See !141. Co-authored-by: Alexei Podtelezhnikov <apodtele@gmail.com>
* [builds/windows] Add SVG to to project files.Alexei Podtelezhnikov2022-02-063-1/+9
| | | | | | * builds/windows/vc2010/freetype.vcxproj: Updated. * builds/windows/vc2010/freetype.vcxproj.filters: Updated. * builds/windows/visualc/freetype.vcproj: Updated.
* [cmake] Fix build on MacOS.Eric Jing2022-02-021-1/+1
| | | | | | | | | | * CMakeLists.txt (CMAKE_OSX_ARCHITECTURES): Update value to fix the building of a framework on MacOS. * builds/mac/freetype-Info.plist (CFBundleExecutable): Make identifier lowercase only. Fixes #1127.
* * unix/configure.raw: We need 'librsvg' version 2.46.0 or newer.Werner Lemberg2022-01-281-1/+1
| | | | Older versions don't have function `rsvg_handle_get_intrinsic_dimensions`.
* * builds/unix/configure.raw (FT_DEMO_CFLAGS): Pass `-DHAVE-LIBRSVG`.Werner Lemberg2022-01-251-1/+1
| | | | | This helps in decoupling library support from `pkg-config` for other platforms.
* [builds/unix] Handle 'librsvg' for demo programs.Werner Lemberg2022-01-202-9/+28
| | | | | | | | | * builds/unix/configure.raw: Check for 'librsvg'. (LIB_CLOCK_GETTIME): Don't call `AC_SUBST` on this but on... (FT_DEMO_CFLAGS, FT_DEMO_LDFLAGS): ... these two new variables. * builds/unix/unix-cc.in (LIB_CLOCK_GETTIME): Replaced by... (FT_DEMO_CFLAGS, FT_DEMO_LDFLAGS): ... these two new variables.
* Add 'svg' module for OT-SVG rendering.Moazin Khatti2022-01-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * CMakeLists.txt (BASE_SRCS): Add svg module file. * meson.build (ft2_public_headers): Add `otsvg.h`. * modules.cfg (RASTER_MODULES): Add `svg` module. * builds/meson/parse_modules_cfg.py: Add svg module. * include/freetype/config/ftmodule.h: Add `ft_svg_renderer_class`. * include/freetype/fterrdef.h: Add `Invalid_SVG_Document` and `Missing_SVG_Hooks` error codes. * include/freetype/internal/fttrace.h: Add tracing for `otsvg`. * include/freetype/internal/svginterface.h: New file. It adds an interface to enable the presetting hook from the `base` module. * include/freetype/otsvg.h (SVG_Lib_Init_Func, SVG_Lib_Free_Func, SVG_Lib_Render_Func, SVG_Lib_Preset_Slot_Func): New hooks for SVG rendering. (SVG_RendererHooks): New structure to access them. * src/base/ftobjs.c: Include `svginterface.h`. (ft_glyphslot_preset_bitmap): Add code for presetting the slot for SVG glyphs. (ft_add_renderer): Updated. * src/svg/*: New files.
* Update all copyright notices.Werner Lemberg2022-01-1183-83/+83
|
* * builds/unix/configure.raw: Restore `SYSTEM_ZLIB` variable.Werner Lemberg2022-01-021-0/+6
| | | | This was accidentally removed with commit 93ebcbd0 almost eight years ago.
* * builds/meson/*.py: Fix name of python executable for auxiliary scripts.Eli Schwartz2021-12-175-5/+5
| | | | | | | | | | | | | | The previous change to check the return code of `run_command` invocations caused the CI to fail. Although most scripts used `python_exe` as the program command, the script to determine the project version did not. But, all scripts used `python` as the shebang, and this is not available on all systems. Particularly Debian does not provide a `python` command, though `python3` does exist. This meant that formerly the version number was lacking, and now the build simply fails. Instead, rely on `python3` since it is guaranteed to exist when running meson, and `python2` is end of life anyway.
* [builds/windows] Guard some non-ancient API.Cameron Cawley2021-12-062-1/+11
| | | | | | | 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.
* * builds/windows/visualc/freetype.vcproj: Add missing file.Cameron Cawley2021-12-061-0/+4
|
* * Version 2.11.1 released.VER-2-11-1Werner Lemberg2021-12-027-6/+20
| | | | | | | | | | | | | | | | | | | | | | ========================== Tag sources with `VER-2-11-1'. * docs/VERSION.TXT: Add entry for version 2.11.1. * docs/CHANGES, docs/release: Updated. * README, src/base/ftver.rc, builds/windows/vc2010/index.html, builds/windows/visualc/index.html, builds/windows/visualce/index.html, builds/wince/vc2005-ce/index.html, builds/wince/vc2008-ce/index.html, docs/freetype-config.1: s/2.11.0/2.11.1/, s/2110/2111/. * include/freetype/freetype.h (FREETYPE_PATCH): Set to 1. * builds/unix/configure.raw (version_info): Set to 24:1:18. * CMakeLists.txt (VERSION_PATCH): Set to 1. * builds/toplevel.mk (version_tag, CHANGELOG_SCRIPT): New variables. (do-dist): Generate `ChangeLog` file with all commits since last release.
* [builds/windows] Improve debugging.Alexei Podtelezhnikov2021-11-291-13/+48
| | | | | | * builds/windows/ftdebug.c (FT_Message, FT_Panic): Buffer output and call `OutputDebugStringA` only if `IsDebuggerPresent`. [_WIN32_WCE] (OutputDebugStringA): Implement the missing API.
* * builds/windows/vc2010/freetype.vcxproj (DlgCopy): Minor tweak.Alexei Podtelezhnikov2021-11-271-1/+1
|
* * builds/windows/vc2010/freetype.vcxproj (DlgCopy): Use transforms.Alexei Podtelezhnikov2021-11-231-8/+11
|
* [builds/windows] Improve `DlgCopy` target.Alexei Podtelezhnikov2021-11-121-2/+2
| | | | | | | Fixes #1113. * builds/windows/vc2010/freetype.vcxproj: Run `DlgCopy` conditionally and decouple it from `Build`.
* [build/windows] Remove logging from default debug configurations.Alexei Podtelezhnikov2021-11-081-6/+18
| | | | | | | | DLG is rather costly for performance and should be used judiciously. This removes it from the default configurations but gives an example how to enable it using the `UserDefines` property. * builds/windows/vc2010/freetype.vcxproj: Hide FT_DEBUG_LOGGING.
* [dlg] Define DLG_STATIC explicitly.Alexei Podtelezhnikov2021-11-071-3/+3
| | | | | | | | | | | DLG_STATIC is intended to disable Windows DLL linking attributes. It does not hurt to define it explicitly when we wrap DLG code. This fixes tons of LNK4286 and C4273 warnings from MSVC if we forget to define DLG_STATIC as a compiler option. * builds/windows/vc2010/freetype.vcxproj: Remove DLG_STATIC option. * src/dlg/dlgwrap.c [FT_DEBUG_LOGGING]: Define DLG_STATIC. * include/freetype/internal/ftdebug.h [FT_DEBUG_LOGGING]: Ditto.
* [builds/windows] Let MSBuild handle DLG copy.Alexei Podtelezhnikov2021-11-022-29/+11
| | | | | * builds/windows/vc2010/freetype.vcxproj: Specify DlgCopy target. * builds/windows/vc2010/script.bat: Deleted.
* [builds/windows] Separate MSVC linker and librarian.Alexei Podtelezhnikov2021-10-291-18/+13
| | | | | | | MSVC uses LIB for static and LINK for dynamic libraries. They are related but the former has much smaller set of options. * builds/windows/vc2010/freetype.vcxproj: Updated.
* [builds/windows] Revise MSVC linking optimizations.Alexei Podtelezhnikov2021-10-283-46/+14
| | | | | | * builds/windows/vc2010/freetype.vcxproj: Optimize DLL linking only. * builds/windows/visualc/freetype.dsp: Ditto. * builds/windows/visualc/freetype.vcproj: Ditto.
* [builds/windows] Add MSVC linker optimazations.Alexei Podtelezhnikov2021-10-251-14/+60
| | | | | | | We continue to build static libraries with statically linked C run- time and add options to optimize references. * builds/windows/vc2010/freetype.vcxproj: Sort entries, add options.
* * builds/windows/vc2010/freetype.vcxproj: Use MachineARM64.Alexei Podtelezhnikov2021-10-231-3/+3
|
* [builds/windows] Prioritize x64.Alexei Podtelezhnikov2021-10-221-24/+24
| | | | * builds/windows/vc2010/freetype.sln: Sort entries.
* [builds/windows] Add ARM64 platform.Gabor Kertesz2021-10-223-17/+172
| | | | | | * builds/windows/vc2010/freetype.sln: Updated * builds/windows/vc2010/freetype.vcxproj: Updated. * builds/windows/vc2010/freetype.vcxproj.filters: Minor fix.
* [builds/unix, builds/vms] Standardize `mmap` failure.Alexei Podtelezhnikov2021-10-052-3/+2
| | | | | | | * builds/unix/ftsystem.c (FT_Stream_Open): Check for MAP_FAILED. * builds/vms/ftsystem.c (FT_Stream_Open): Ditto. This should cover https://savannah.nongnu.org/patch/?5909 as well.
* [builds/unix] Do not use autoconf SIZEOF.Alexei Podtelezhnikov2021-09-242-82/+0
| | | | | | | | | | | * builds/unix/ftconfig.h.in [FT_USE_AUTOCONF_SIZEOF_TYPES]: Removed. * builds/unix/configure.raw: Remove AC_CHECK_SIZEOF and update. After this commit, autoconf builds will fully rely on <limits.h> rather than falling back on it if AC_CHECK_SIZEOF failed for some reason. There is a risk that misconfigured cross-compilation might have wrong headers. Note that Meson and CMake builds always relied on <limits.h> for sizes and availability of integer types.
* [base] Initialize stream memory earlier.Alexei Podtelezhnikov2021-09-222-6/+6
| | | | | | | | | | | | 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.
* [builds/windows] Revert back to `CreateFileA` only.Alexei Podtelezhnikov2021-09-211-25/+60
| | | | | | | | | | | 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.
* Minor.Alexei Podtelezhnikov2021-09-201-1/+1
|
* [builds/windows] Try both wide and narrow `CreateFile`Alexei Podtelezhnikov2021-09-171-3/+15
| | | | | | | | | | | | 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.
* [builds/windows] Use native memory allocation API.Alexei Podtelezhnikov2021-09-071-13/+11
| | | | | | * builds/windows/ftsystem.c (ft_alloc, ft_realloc, ft_free): Wrap HeapAlloc, HeapReAlloc, and HeapFree. (FT_New_Memory): Set the heap handle.
* s/0/NULL/ where appropriate.Alexei Podtelezhnikov2021-09-016-14/+14
|
* * builds/windows/ftsystem.c (FT_Stream_Open): Fix double-close.Alexei Podtelezhnikov2021-08-301-4/+1
|
* [builds/windows] Revise SSE2 settings.Alexei Podtelezhnikov2021-08-272-2/+2
| | | | | * builds/windows/vc2010/freetype.vcxproj [x64]: Remove explicit SSE2. * builds/windows/visualc/freetype.vcproj [Win32]: Add explicit SSE2.
* Whitespace formatting.Alexei Podtelezhnikov2021-08-221-1/+1
|
* * builds/windows/ftsystem.c (FT_Stream_Open): Support legacy Windows.Carlo Bramini2021-08-191-0/+8
|
* [builds/windows] Do not set CharacterSet for VC++.Alexei Podtelezhnikov2021-08-182-12/+12
| | | | | * builds/windows/vc2010/freetype.vcxproj: s/Unicode/NotSet/. * builds/windows/visualc/freetype.vcproj: s/"1"/"0"/.
* * builds/windows/ftsystem.c (FT_Stream_Open): Cast to remove warning.Alexei Podtelezhnikov2021-08-171-2/+2
|
* * builds/windows/ftsystem.c (FT_Stream_Open): Support UNICODE compilation.Alexei Podtelezhnikov2021-08-171-2/+2
|
* * Version 2.11.0 released.VER-2-11-0Werner Lemberg2021-07-197-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | ========================== Tag sources with `VER-2-11-0'. * docs/VERSION.TXT: Add entry for version 2.11.0. * docs/CHANGES: Updated. * README, src/base/ftver.rc, builds/windows/vc2010/index.html, builds/windows/visualc/index.html, builds/windows/visualce/index.html, builds/wince/vc2005-ce/index.html, builds/wince/vc2008-ce/index.html, docs/freetype-config.1: s/2.10.4/2.11.0/, s/2104/2110/. * include/freetype/freetype.h (FREETYPE_MINOR): Set to 11. (FREETYPE_PATCH): Set to 0. * builds/unix/configure.raw (version_info): Set to 24:0:18. * CMakeLists.txt (VERSION_MINOR): Set to 11. (VERSION_PATCH): Set to 0. * builds/toplevel.mk (dist): Ignore more git-related files.
* [build] Allow overriding of `ANSIFLAGS` for GNU make build.Werner Lemberg2021-05-2913-13/+14
| | | | * builds/*: Implement it.
* [CMake] Update dependency finders.Nikolaus Waxweiler2021-05-192-49/+166
| | | | | | | | | | | | | | | 1. Fixes CMake using any found HarfBuzz version lower than the minimum required. This is based on HALX99's merge request at https://gitlab.freedesktop.org/freetype/freetype/-/merge_requests/31 2. Update FindHarfBuzz.cmake from https://github.com/WebKit/WebKit/blob/1ce32454/Source/cmake/FindHarfBuzz.cmake and guard post-CMake-3.1 features to keep the minimum version unchanged 3. Update FindBrotliDec.cmake to stop the warnings, based on what https://github.com/google/woff2/blob/a0d0ed7d/cmake/FindBrotliDec.cmake is doing * CMakeLists.txt, builds/cmake/FindHarfBuzz.cmake: Implement 1 and 2. * builds/cmake/FindBrotliDec.cmake: Implement 3.