|
|
|
@ -31,42 +31,72 @@ |
|
|
|
|
|
|
|
|
|
2005-10-28 David Turner <david@freetype.org> |
|
|
|
|
|
|
|
|
|
* builds/exports.mk, builds/freetype.mk, builds/compiler/visualc.mk, |
|
|
|
|
builds/dos/dos-def.mk, builds/os2/os2-def.mk, |
|
|
|
|
builds/unix/unix-cc.in, builds/unix/unixddef.mk, |
|
|
|
|
builds/win32/w32-bcc.mk, builds/win32/w32-gcc.mk, |
|
|
|
|
builds/win32/w32-icc.mk, builds/win32/w32-intl.mk, |
|
|
|
|
builds/win32/w32-mingw32.mk, builds/win32/w32-vcc.mk, |
|
|
|
|
builds/win32/w32-wat.mk, builds/win32/w32-def.mk, Jamfile: Update |
|
|
|
|
build system to support the generation of a list of exported symbols |
|
|
|
|
or Windows .DEF files by parsing the public headers with the |
|
|
|
|
Update build system to support the generation of a list of exported |
|
|
|
|
symbols or Windows .DEF files by parsing the public headers with the |
|
|
|
|
`apinames' tool located in src/tools/apinames.c. |
|
|
|
|
|
|
|
|
|
Only tested on Unix at the moment. On Windows, the .DEF file is |
|
|
|
|
generated but isn't used yet to generate a DLL. |
|
|
|
|
|
|
|
|
|
* src/pfr/pfrtypes.h, src/pfr/pfrobjs.h, src/pfr/pfrload.c, |
|
|
|
|
src/pfr/pfrobjs.c, src/pfr/pfrgload.c: integrated memory optimization |
|
|
|
|
without FT_OPTIMIZE_MEMORY |
|
|
|
|
* builds/exports.mk: New file. |
|
|
|
|
|
|
|
|
|
* builds/freetype.mk: Include exports.mk. |
|
|
|
|
(dll): New target. |
|
|
|
|
(clean_project_dos): Fix rule. |
|
|
|
|
|
|
|
|
|
* builds/compiler/visualc.mk (TE), builds/dos/dos-def.mk (E), |
|
|
|
|
builds/os2/os2-def.mk (E), builds/win32/win32-def.mk (E): New |
|
|
|
|
variables for controlling executable extensions. |
|
|
|
|
|
|
|
|
|
* builds/unix/unix-cc.in (EXPORTS_LIST, CCexe), |
|
|
|
|
builds/win32/w32-bcc.mk, builds/win32/w32-gcc.mk, |
|
|
|
|
builds/win32/w32-icc.mk, builds/win32/w32-icc.mk, |
|
|
|
|
builds/win32/w32-mingw32.mk, builds/win32/w32-vcc, |
|
|
|
|
builds/win32/w32-wat.mk (EXPORTS_LIST, EXPORT_OPTIONS, |
|
|
|
|
APINAMES_OPTIONS): New targets for controlling the `apinames' tool. |
|
|
|
|
|
|
|
|
|
* Jamfile (GenExportSymbols): Updated. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* src/base/fttrigon.c (ft_trig_prenorm), src/base/ftcalc.c |
|
|
|
|
(FT_MulFix): Performance optimizations. |
|
|
|
|
* src/pfr/pfrtypes.h, src/pfr/pfrload.c, src/pfr/pfrobjs.c |
|
|
|
|
[!FT_OPTIMIZE_MEMORY]: Fold memory optimization code into |
|
|
|
|
FT_OPTIMIZE_MEMORY chunks for better maintainability and simplicity. |
|
|
|
|
|
|
|
|
|
* include/freetype/internal/ftgloader.h, src/base/ftgloader.h: |
|
|
|
|
Introduce the FT_GLYPHLOADER_CHECKXXXX macros, and fix a small bug |
|
|
|
|
within FT_GlyphLoader_CheckPoints which caused `AdjustPoints' to be |
|
|
|
|
called everytime. |
|
|
|
|
|
|
|
|
|
* src/autofit/afloader.c, src/truetype/ttgload.c: Performance |
|
|
|
|
optimization: Use FT_GLYPHLOADER_CHECK_POINTS macro on |
|
|
|
|
profile-detected hot-spots. |
|
|
|
|
* src/base/fttrigon.c (ft_trig_prenorm), src/base/ftcalc.c |
|
|
|
|
(FT_MulFix): Performance optimizations. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* include/freetype/internal/ftgloadr.h (FT_GLYPHLOADER_CHECK_P, |
|
|
|
|
FT_GLYPHLOADER_CHECK_C, FT_GLYPHLOADER_CHECK_POINTS): New macros for |
|
|
|
|
checking points and contours. Update callers to use |
|
|
|
|
FT_GLYPHLOADER_CHECK_POINTS instead of FT_GlyphLoader_CheckPoints |
|
|
|
|
at profile-detected hot-spots. |
|
|
|
|
|
|
|
|
|
* src/base/ftgloadr.c (FT_GlyphLoader_CheckPoints): Set `adjust' |
|
|
|
|
to 0 to not call `AdjustPoints' every time. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* src/autofit/aftypes.h (AF_ANGLE_DIFF): New macro to inline |
|
|
|
|
FT_Angle_Diff. |
|
|
|
|
|
|
|
|
|
* src/autofit/afhints.c (af_direction_compute): Re-implement. Use |
|
|
|
|
* src/autofit/afhints.c (af_direction_compute): Re-implement. |
|
|
|
|
(af_glyph_hints_compute_inflections, af_glyph_hints_reload): Use |
|
|
|
|
AF_ANGLE_DIFF to speed up the detection of inflexions. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* src/tools/apinames.c: Include <string.h>. |
|
|
|
|
(OutputFormat): New enumeration. |
|
|
|
|
(names_dump): Add two parameters to control output format and DLL |
|
|
|
|
name. |
|
|
|
|
(names_dump_windef): Removed. Code folded into `names_dump'. |
|
|
|
|
(read_header_file): Use isalnum, not isalpha. Otherwise function |
|
|
|
|
names with digits aren't read correctly. |
|
|
|
|
(usage): Updated. |
|
|
|
|
(main): New option `-o' to control output file name. |
|
|
|
|
New option `-d' to indicate DLL file name. |
|
|
|
|
Extend `-w' flag to handle Borland and Watcom compilers and linkers. |
|
|
|
|
|
|
|
|
|
2005-10-28 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> |
|
|
|
|
|
|
|
|
|
* builds/mac/ftlib.prj, builds/mac/freetype.mak: Removed. |
|
|
|
|