summaryrefslogtreecommitdiff
path: root/builds
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant inclusion of `ft2build.h'.Werner Lemberg2020-06-133-3/+0
| | | | | | | * */*: Remove `#include <ft2build.h>' where possible. * include/freetype/freetype.h: Remove cpp error about missing inclusion of `ft2build.h'.
* Make macros for header file names optional.David Turner2020-06-089-29/+29
| | | | | | | | | | | | | | | | | We no longer have to take care of the 8.3 file name limit; this allows us (a) to introduce longer, meaningful file names, and (b) to avoid macro names in `#include' lines altogether since some compilers (most notably Visual C++) doesn't support this properly. */*: Replace #include FOO_H with #include <freetype/foo.h> or something similar. Also update the documentation.
* Remove obsolete HAVE_STDINT_H probing macro.David Turner2020-05-181-1/+0
| | | | | | | | | This macro was updated by the unix configure script and the `CMakeLists.txt' one, but is never used in the source tree (nor is <stdint.h> included anywhere). * CMakeLists.txt, builds/unix/ftconfig.in: Don't handle `HAVE_STDINT_H'.
* Remove Jamfile files from the tree.David Turner2020-05-181-4/+0
| | | | | | | | These have not been used in a very, very long time, so better remove them. A corresponding patch will be submitted to the `freetype2-demos' repository. * src/Jamfile, src/*/Jamfile, Jamrules: Delete.
* [smooth] Stop using dedicated LCD modules and classes.Alexei Podtelezhnikov2020-05-111-2/+0
| | | | | | | | | | | | | | | The LCD modules were never truly independent. They mostly served as a way to disable patented LCD rendering, which is no longer necessary. The `smooth' module now handles LCD modes as well. * src/smooth/ftsmooth.c (ft_smooth_lcd_renderer_class. ft_smooth_lcdv_renderer_class): Deleted. (ft_render_smooth): Reworked from `ft_render_smooth_generic'. * src/smooth/ftsmooth.h: Remove dedicated LCD classes. * src/smooth/module.mk: Remove dedicated LCD modules. * include/freetype/config/ftmodule.h: Ditto. * builds/amiga/include/config/ftmodule.h: Ditto. * include/freetype/ftmodapi.h: Do not mention LCD modules.
* Formatting.Alexei Podtelezhnikov2020-05-091-3/+3
|
* * Version 2.10.2 released. ==========================VER-2-10-2Werner Lemberg2020-05-096-6/+6
| | | | | | | | | | | | | | | | | | | | Tag sources with `VER-2-10-2'. * docs/VERSION.TXT: Add entry for version 2.10.2. * README, Jamfile (RefDoc), 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.1/2.10.2/, s/2101/2102/. * include/freetype/freetype.h (FREETYPE_PATCH): Set to 2. * builds/unix/configure.raw (version_info): Set to 23:2:17. * CMakeLists.txt (VERSION_PATCH): Set to 2. * docs/CHANGES: Updated.
* Typo and comment.Alexei Podtelezhnikov2020-05-031-3/+4
|
* * builds/freetype.mk: Refactor for readability.Alexei Podtelezhnikov2020-05-032-19/+16
|
* [builds] Clean up Windows CE project files.Alexei Podtelezhnikov2020-05-027-140/+170
| | | | | | | | | | | | | Remove version from filenames that caused a lot of polution in the release process. Use VERSIONINFO resource instead. * builds/wince/vc2005-ce/freetype.vcproj, builds/wince/vc2008-ce/freetype.vcproj, builds/windows/visualce/freetype.vcproj, builds/windows/visualce/freetype.dsp: s/2101//g, but add `ftver.rc'. * builds/wince/vc2008-ce/index.html, builds/wince/vc2005-ce/index.html, builds/windows/visualce/index.html: s/2101//g.
* [builds/unix] Consolidate marco overrides (for the demos to see them).Alexei Podtelezhnikov2020-05-012-6/+5
| | | | | | * builds/unix/unix-cc.in (FT_CONFIG_MODULES_H, FT_CONFIG_OPTIONS_H): Override them here... * builds/freetype.mk: ... instead of here.
* Allow setting `CC' in Unix build (#58051).Werner Lemberg2020-04-081-2/+6
| | | | | * builds/unix/unix-cc.in (CC): Use `override'. The command line value of `CC' (if any) is stored already in `CCraw'.
* [docs] Fix building docs if `srcdir' != `builddir'.Nikhil Ramakrishnan2020-03-221-1/+0
| | | | | | | | | | | `docs/reference/*' was moved one directory up in commit 237fed6. * builds/unix/unix-def.in (PIP): Remove variable. * configure: Create `docs' directory and copy assets from `docs/markdown'. * docs/README: Output directory is `reference'.
* [docwriter] Drop support for Python < 3.5.Nikhil Ramakrishnan2020-03-215-13/+256
| | | | | | | | | | | | | | | | | | | | | | | | Python versions < 3.5 have reached end-of-life and as such, no security or bug fixes will be provided for those versions. See https://devguide.python.org/#status-of-python-branches for more information. * Jamfile (RefDoc): Add `site' parameter. * builds/detect.mk (std_setup): Update Python version requirement. * builds/freetype.mk (refdoc-venv): Use pip as `python -m pip'. * builds/unix/ax_compare_version.m4, builds/unix/ax_prog_python_version.m4: Macros to detect Python version. New files. * builds/unix/configure.raw: Check for Python >= 3.5 and remove check for `pip'. * docs/CHANGES, docs/INSTALL.GNU, docs/README: Updated.
* Require HarfBuzz 1.8.Werner Lemberg2020-02-191-1/+1
| | | | | | | | * builds/unix/configure.raw, CMakeLists.txt: Request HarfBuzz 1.8.0 or newer. We are going to add auto-hinter support for Hanifi Rohingya, which was introduced in Unicode 11.0.
* Update all copyright notices.Werner Lemberg2020-01-1977-77/+77
|
* [docs] (2/2) Fix generation of API documentation (#56745).Hugh McMaster2019-12-212-3/+5
| | | | | | | | | | | | | | | Creating the API Reference in the (new) `reference' sub-directory is consistent with other documentation sub-topics, such as `design', `glyphs' and `tutorial'. This patch fixes broken hyperlinks in the documentation pointing to and from the API Reference. It also allows web assets to load from their relative paths. * builds/freetype.mk (DOC_DIR): Adjust. (refdoc, refdoc-venv): Add `--site' argument. * builds/toplevel.mk (do-dist): Updated.
* [cmake] Add brotli support.Werner Lemberg2019-09-051-0/+51
| | | | | | * CMakeLists.txt (FT_WITH_BROTLI): New option. * builds/cmake/FindBrotliDec.cmake: New file.
* FindHarfBuzz.cmake: Change indentation to two spaces; shorten lines.Werner Lemberg2019-09-051-33/+39
|
* [woff2] Formatting; some comments.Werner Lemberg2019-08-271-4/+4
|
* * builds/unix/configure.raw: Change argument name to `brotli'.Nikhil Ramakrishnan2019-08-271-1/+1
|
* Add Brotli dependency and required checks.Nikhil Ramakrishnan2019-08-271-1/+56
| | | | | | | | | | | | Brotli is required for decompressing WOFF2 font directory streams. The library is thus being added as an optional dependency for FreeType. * builds/unix/configure.raw: Add checks for `libbrotlidec'. (REQUIRES_PRIVATE, LIBS_PRIVATE, LIBSSTATIC_CONFIG): Updated. * devel/ftoption.h, include/freetype/config/ftoption.h (FT_CONFIG_OPTION_USE_BROTLI): New macro.
* * Version 2.10.1 released.VER-2-10-1Werner Lemberg2019-07-0110-146/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | ========================== Tag sources with `VER-2-10-1'. * docs/VERSION.TXT: Add entry for version 2.10.1. * README, Jamfile (RefDoc), src/base/ftver.rc, builds/windows/vc2010/freetype.vcxproj, builds/windows/vc2010/index.html, builds/windows/visualc/freetype.dsp, builds/windows/visualc/freetype.vcproj, builds/windows/visualc/index.html, builds/windows/visualce/freetype.dsp, builds/windows/visualce/freetype.vcproj, builds/windows/visualce/index.html, builds/wince/vc2005-ce/freetype.vcproj, builds/wince/vc2005-ce/index.html, builds/wince/vc2008-ce/freetype.vcproj, builds/wince/vc2008-ce/index.html: s/2.10.0/2.10.1/, s/2100/2101/. * include/freetype/freetype.h (FREETYPE_PATCH): Set to 1. * builds/unix/configure.raw (version_info): Set to 23:1:17. * CMakeLists.txt (VERSION_PATCH): Set to 1. * include/freetype/fterrors.h (FT_Error_String): Fix C++ compilation.
* Towards better VMS support.Werner Lemberg2019-06-164-2/+28
| | | | | | | | | | More to come. * builds/vms/LIBS.OPT_IA64, builds/vms/_LINK.OPT_IA64, builds/vms/vmslib.dat: New files provided by Jouk Jansen <joukj@hrem.nano.tudelft.nl>. * builds/vms/ftconfig.h: Update, also from Jouk.
* Minor.Alexei Podtelezhnikov2019-06-041-1/+0
|
* Solidify VC2005 builds.Alexei Podtelezhnikov2019-05-311-2/+0
| | | | | | * include/freetype/internal/ftcalc.h (FT_MSB) [_MSC_VER]: Explicitly declare `_BitScanReverse' intrinsic. * builds/windows/visualc/freetype.vcproj [Debug]: Disable intrinsics.
* For distribution, replace `.tar.bz2' with `.tar.xz' bundles.Werner Lemberg2019-04-061-2/+2
| | | | | | * builds/toplevel.mk (build): Do it. * README, docs/CHANGES, docs/release: Updated.
* * Version 2.10.0 released.VER-2-10-0Werner Lemberg2019-03-1511-158/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ========================== Tag sources with `VER-2-10-0'. * docs/VERSION.TXT: Add entry for version 2.10.0. * docs/CHANGES: Updated. * README, Jamfile (RefDoc), src/base/ftver.rc, builds/windows/vc2010/freetype.vcxproj, builds/windows/vc2010/index.html, builds/windows/visualc/freetype.dsp, builds/windows/visualc/freetype.vcproj, builds/windows/visualc/index.html, builds/windows/visualce/freetype.dsp, builds/windows/visualce/freetype.vcproj, builds/windows/visualce/index.html, builds/wince/vc2005-ce/freetype.vcproj, builds/wince/vc2005-ce/index.html, builds/wince/vc2008-ce/freetype.vcproj, builds/wince/vc2008-ce/index.html: s/2.9.1/2.10.0/, s/291/2100/. * include/freetype/freetype.h (FREETYPE_MINOR): Set to 10. (FREETYPE_PATCH): Set to 0. * builds/unix/configure.raw (version_info): Set to 23:0:17. * CMakeLists.txt (VERSION_MINOR): Set to 10. (VERSION_PATCH): Set to 0. * builds/toplevel.mk (version, winversion): Since the minor version number has two digits now, never omit the patch number. We would get ambiguous zip file names otherwise. (dist): Remove remnants of `docmaker' tool. (do-dist): Remove unused intermediate files. * src/cff/cffparse.c (destrict_c2s_item): Guard function with CFF_CONFIG_OPTION_OLD_ENGINE macro.
* Update all copyright notices.Werner Lemberg2019-02-2376-76/+76
|
* Minor (whitespace, spelling, doc update).Werner Lemberg2019-02-202-22/+23
|
* Update copyright years.Werner Lemberg2019-01-2276-76/+76
|
* * builds/mac/README: Fix a hyperlink to defunct www.gyve.org.suzuki toshiya2018-12-261-1/+1
|
* Fix links (mostly http -> https).Werner Lemberg2018-12-258-10/+10
|
* * builds/windows/visualc/freetype.dsp: Dust off.Alexei Podtelezhnikov2018-12-021-104/+75
|
* * builds/windows/vc2010/freetype.vcxproj: Simplify.Alexei Podtelezhnikov2018-11-271-96/+3
|
* [builds] Belated DLL support with vc2002-vc2008.Alexei Podtelezhnikov2018-11-259-1332/+86
| | | | | | | | | The solution and project files should be automatically upgraded for the approriate Visual C++ version. * builds/windows/visualc/freetype.{sln,vcproj}: Major upgrades. * builds/windows/visualc/index.html: Document the change. * builds/windows/vc2005, builds/windows/vc2008: Removed as redundant.
* * builds/windows/{visualc,vc2005,vc2008}/freetype.vcproj: Fix it.Alexei Podtelezhnikov2018-11-183-3/+102
|
* * builds/unix/configure.raw: Require `windows.h' for windres.Alexei Podtelezhnikov2018-11-081-1/+1
|
* Revert "Align FreeType with standard C memory management."Alexei Podtelezhnikov2018-10-263-9/+9
| | | | This reverts commit 877aa1b2cc662978aae61ed4d5c6ea8ba56b2fe7.
* Align FreeType with standard C memory management.Alexei Podtelezhnikov2018-09-273-9/+9
| | | | | | | | | | | | | * include/freetype/ftsystem.h: Include FT_TYPES_H. (*FT_Alloc_Func, *FT_Realloc_Func): Use size_t for the size arguments. * src/raster/ftmisc.h: Ditto. * builds/amiga/src/base/ftsystem.c, builds/unix/ftsystem.c, * builds/vms/ftsystem.c, src/base/ftsystem.c (ft_alloc, ft_realloc): Use size_t for the size arguments. * src/base/ftdbgmem.c (ft_mem_debug_alloc, ft_mem_debug_realloc): Use FT_Offset, aka size_t, for the size arguments.
* * builds/freetype.mk (refdoc-venv): Ensure python version (#54631).Ben Wagner2018-09-091-1/+1
|
* Synchronize `ftdebug.c' files.Werner Lemberg2018-09-053-218/+462
| | | | | * builds/amiga/src/base/ftdebug.c, builds/wince/ftdebug.c, builds/windows/ftdebug.c: Synchronize with `src/base/ftdebug.c'.
* Synchronize `ftconfig' files.Werner Lemberg2018-09-052-418/+418
|
* * builds/*/*: Prepare build system for docwriter.Nikhil Ramakrishnan2018-08-259-10/+101
| | | | | | | | | | | | Add checks, rules and variables to the build system for docwriter. * Running `make' will warn if Python/PIP/docwriter are not available. * Running `make refdoc' will generate static documentation site on the current Python environment. * Running `make refdoc-venv' will generate static documentation site using a virtual environment, using the pip package `virtualenv'.
* * builds/mac/ftmac.c (parse_fond): Fix buffer overrun.Young Xiao2018-08-161-2/+3
| | | | Reported as bug #54515, duplicate of #43540.
* * builds/*/ftsystem.c (FT_COMPONENT): Updated also.Werner Lemberg2018-08-163-3/+3
|
* * builds/unix/configure.raw: Minor.Alexei Podtelezhnikov2018-07-281-4/+4
|
* [build] Fortify dllexport/dllimport attributes (#53969,#54330).Alexei Podtelezhnikov2018-07-244-13/+13
| | | | | | | | | | | | | We no longer use predefined _DLL, which can be defined for static builds too with /MD. We use DLL_EXPORT and DLL_IMPORT instead, following libtool convention. * CMakeLists.txt [WIN32], builds/windows/vc2010/freetype.vcxproj: Define DLL_EXPORT manually. * include/freetype/config/ftconfig.h, builds/unix/ftconfig.in, builds/vms/ftconfig.h, builds/windows/vc2010/index.html, src/base/ftver.rc: /_DLL/d, s/FT2_DLLIMPORT/DLL_IMPORT/.
* Autoformatting.Alexei Podtelezhnikov2018-05-202-37/+22
|
* Further fix to visibility flag testing with Solaris Studio compilers.Alan Coopersmith2018-05-101-13/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AC_COMPILE_IFELSE only tries to compile a `*.c' to a `*.o'. The Solaris Studio 12.1 through 12.5 compilers see the `-fvisibility=hidden' flag, but ignore it with a warning of: cc: Warning: Option -fvisibility=hidden passed to ld, if ld is invoked, ignored otherwise AC_LINK_IFELSE does the compile and then tries to link the result, at which point the Solaris linker will issue an error: ld: fatal: option '-fvisibility=hidden' is incompatible with building a dynamic executable If we don't use AC_LINK_IFELSE to catch the error, then configure will fail further tests which attempt to link, such as those testing dependencies like `libbz2'. Also, don't try adding `-fvisibility' if we have already added `-xldscope', just use one of them, since Sun Studio 12 and earlier compilers only issue a warning, and don't try passing through to the linker to generate an error, so AC_LINK_IFELSE doesn't catch them. Tested on Solaris 11.4 beta with compiler versions: Sun Studio 8 (Sun C 5.5) Sun Studio 10 (Sun C 5.7) Sun Studio 11 (Sun C 5.8) Sun Studio 12 (Sun C 5.9) Sun Studio 12.1 (Sun C 5.10) Oracle Solaris Studio 12.2 (Sun C 5.11) Oracle Solaris Studio 12.3 (Sun C 5.12) Oracle Solaris Studio 12.4 (Sun C 5.13) Oracle Developer Studio 12.5 (Sun C 5.14) Oracle Developer Studio 12.6 (Sun C 5.15) gcc 5.5.0 gcc 7.3.0 and verified the libfreetype.so.6 generated by each of those compilers exported the same set of symbols. * builds/unix/configure.raw: Implement it.