History log of /external/freetype/include/freetype/internal/ftmemory.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0a0c22569deab933df21127e75db5c81f724f292 02-Jan-2018 Werner Lemberg <wl@gnu.org> Update copyright year.
/external/freetype/include/freetype/internal/ftmemory.h
2127f07624b678c6228f4dca483b3b87f3f85f99 30-Sep-2017 Werner Lemberg <wl@gnu.org> [include] Whitespace.
/external/freetype/include/freetype/internal/ftmemory.h
563ae780229aef5b6f6ae361211d5fb733de8321 04-Jan-2017 Werner Lemberg <wl@gnu.org> Update copyright year.
/external/freetype/include/freetype/internal/ftmemory.h
1656752ee5565ab166d1223953b4a4a57182c7a2 06-Sep-2016 Werner Lemberg <wl@gnu.org> Minor documentation improvements.
/external/freetype/include/freetype/internal/ftmemory.h
6e80a098e787c82be6be69844f71cfe61a1daa5d 21-May-2016 Werner Lemberg <wl@gnu.org> Work around a bug of the C 8.0.0.1 compiler on AIX 5.3 (#47955).

* include/freetype/internal/ftmemory.h (cplusplus_typeof): Use
braces for `extern "C++"'.
/external/freetype/include/freetype/internal/ftmemory.h
9adeab6452a220270c311f756d55acd734fd52ea 13-Jan-2016 Werner Lemberg <wl@gnu.org> Update copyright year.
/external/freetype/include/freetype/internal/ftmemory.h
37412ff9f42212bcf4dd29d9762f3c35b5735768 12-Jan-2016 Werner Lemberg <wl@gnu.org> Don't use macro names that contain `__' [1/2].

Such macro names are reserved for both C and C++.

*/*: Replace macros of the form `__XXX_H__' with `XXX_H_'.
/external/freetype/include/freetype/internal/ftmemory.h
392cf22f8a5a281b8ebc56bf932e66da78f66410 25-Jun-2015 Werner Lemberg <wl@gnu.org> Another adjustment to header locations.

This change is a result of a discussion thread on freetype-devel

http://lists.nongnu.org/archive/html/freetype-devel/2015-06/msg00041.html

Re-introduce the `freetype2' subdirectory for all FreeType header
files after installation, and rename the `freetype2' subdirectory in
the git repository to `freetype'.

* include/freetype2: Renamed to...
* include/freetype: This.

* CMakeLists.txt (PUBLIC_HEADERS, PUBLIC_CONFIG_HEADERS,
PRIVATE_HEADERS): Updated.
Update creation of `ftconfig.h'.
Install generated `ftconfig.h'.

* Jamfile (HDRMACRO, RefDoc), autogen.sh: Updated.

* builds/amiga/include/config/ftconfig.h, builds/freetype.mk
(PUBLIC_DIR), builds/symbian/bld.inf, builds/toplevel.mk (work),
builds/unix/freetype2.in: Updated.

* builds/unix/freetype-config.in: Updated.
* builds/unix/configure.raw: Don't check for `rmdir'.
* builds/unix/unix-def.in (DELDIR): Use `rm -rf', which is portable
according to the autoconf info manual.
* builds/unix/install.mk (install, uninstall,
distclean_project_unix): Update and simplify.

* builds/wince/*, builds/windows/*: Updated.

* devel/ft2build.h, include/ft2build.h: Updated.

* include/freetype2/config/ftheader.h,
include/freetype2/internal/ftserv.h,
include/freetype2/internal/internal.h: Update all header file
macros.

* src/tools/chktrcmp.py (TRACE_DEF_FILES): Updated.

* docs/*: Updated.
/external/freetype/include/freetype/internal/ftmemory.h
fae382076409db198dfbff36ac4cbb97b05b30a1 13-Nov-2013 Werner Lemberg <wl@gnu.org> Simplify header file hierarchy.

This large patch changes the header file directory layout from
`include/freetype/...' to `include/...', effectively removing one
level. Since the file `ft2build.h' is also located in `include'
(and it stays there even after installation), all FreeType header
files are now in a single directory.

Applications that use (a) `freetype-config' or FreeType's
`pkg-config' file to get the include directory for the compiler, and
(b) the documented way for header inclusion like

#include <ft2build.h>
#include FT_FREETYPE_H
...

don't need any change to the source code.

* include/freetype/*: Move up to...
* include/*: ... this directory.

* builds/amiga/include/freetype/*: Move up to...
* builds/amiga/include/*: ... this directory.

*/*: Essentially do `s@/freetype/@/@' where appropriate.

* CMakeList.txt: Simplify.
* builds/unix/freetype-config.in, builds/unix/freetype2.in: For
`--cflags', return a single directory.
* builds/unix/install.mk (install): No longer try to remove `cache'
and `internal' subdirectories; instead, remove the `freetype'
subdirectory.
/external/freetype/include/freetype/internal/ftmemory.h
45392b77a8207d9e60b6c7c2aea3e1b659da2519 05-Jun-2013 Werner Lemberg <wl@gnu.org> Fix compiler warnings.

* include/freetype/internal/ftmemory.h: Decorate memory allocation
macros with `FT_Long' where appropriate.
Remove duplicate of FT_MEM_QRENEW_ARRAY definition.

* src/base/ftbitmap.c (ft_gray_for_premultiplied_srgb_bgra): Use
cast.

* src/base/ftobjs.c: Add warning disabling pragma for MSVC while
including `md5.c'.

* src/cff/cf2intrp.c (cf2_interpT2CharString) <cf2_cmdESC>: Add
cast.

* src/sfnt/ttsbit.c (tt_sbit_decoder_load_compound): Fix casts.
(tt_sbit_decoder_load_bitmap): Beautification.

* src/smooth/ftsmooth.c (ft_smooth_render_generic): Initialize
variables (earlier).

* src/truetype/ttgload.c (TT_Process_Simple_Glyph): Pacify compiler.

* src/truetype/ttgxvar.c (TT_Get_MM_Var): Use unsigned constants
where appropriate.

* src/type1/t1load.c (T1_Get_MM_Var): Ditto.
/external/freetype/include/freetype/internal/ftmemory.h
f6aa089f12ce3a7b7ee3d1b548969c2cb879b893 10-May-2013 Werner Lemberg <wl@gnu.org> */* [FT_CONFIG_OPTION_OLD_INTERNALS]: Remove macro and guarded code.
/external/freetype/include/freetype/internal/ftmemory.h
f4e6c155f0a014faea5c698c3aab938d8254a6f9 12-Jul-2010 malc <av1474@comtv.ru> Fix type-punning issues with C++.

* include/freetype/internal/ftmemory.h (FT_ASSIGNP) [__cplusplus]:
Emulate a `typeof' operator with an inline template which uses
`static_cast'.
/external/freetype/include/freetype/internal/ftmemory.h
1e1b6dff54ffcffebb63c7800b204c1265510af7 07-Jul-2007 Werner Lemberg <wl@gnu.org> * src/pfr/pfrcmap.c: Include pfrerror.h.

* src/autofit/afindic.c: Add some external declarations to pacify
`make multi' compilation.

* src/cid/cidgload.c (cid_load_glyph): Pacify compiler.

* src/cff/cffdrivr.c (cff_ps_get_font_info), src/cff/cffobjs.c
(cff_strcpy), include/freetype/internal/ftmemory.h (FT_MEM_STRDUP),
src/autofit/aflatin.c (af_latin_hints_compute_edges),
src/autofit/afcjk.c (af_cjk_hints_compute_edges), src/sfnt/ttmtx.c
(tt_face_get_metrics), src/base/ftobjs.c (open_face)
[FT_CONFIG_OPTION_INCREMENTAL]: Fix compilation with C++ compiler.

* docs/release: Mention test compilation targets.
/external/freetype/include/freetype/internal/ftmemory.h
442bfb89137086811de13b9eae9cd6390ad5c204 12-Feb-2007 Werner Lemberg <wl@gnu.org> Formatting, copyright years, s/memcpy/ft_memcpy/.
/external/freetype/include/freetype/internal/ftmemory.h
c0f9c4aaddcf0a4078e8ce87808ff94b7dba377d 12-Feb-2007 David Turner <david@freetype.org> introduce ft_mem_dup, ft_mem_strdup and ft_mem_strcpyn, and the corresponding
macros to use them (e.g. FT_STRDUP, FT_DUP and FT_STRCPYN)

modify the code to use them instead of raw mallocs/strcpy
/external/freetype/include/freetype/internal/ftmemory.h
689dd66b56d134dced3451c29839d8a32f4e130e 31-Jan-2007 Werner Lemberg <wl@gnu.org> More typo fixes from Alexei.
/external/freetype/include/freetype/internal/ftmemory.h
a94746caeee0fd861c0711f14b7870a0952338a1 03-May-2006 Werner Lemberg <wl@gnu.org> Formatting.
/external/freetype/include/freetype/internal/ftmemory.h
679a252c24e3ccbe2dadfacd363139f7e1dd01cb 03-May-2006 David Turner <david@freetype.org> * include/freetype/internal/ftmemory.h: allow compilation with
C++ compilers
/external/freetype/include/freetype/internal/ftmemory.h
c6afa1221a57d0d50cd9fa51f0b9e794884ef255 03-May-2006 Werner Lemberg <wl@gnu.org> * include/freetype/internal/ftmemory.h: s/new/newsz/ (for C++).
(FT_ALLOC): Remove redundant redefinition.

* builds/compiler/gcc-dev.mk (CFLAGS) [g++]: Don't use
`-Wstrict-prototypes'.

* src/base/ftstream.c (FT_Stream_EnterFrame): Add cast.

Formatting, copyright years.
/external/freetype/include/freetype/internal/ftmemory.h
9ca782569c218e18c420e7c13bdbdf3e9a75c87a 02-May-2006 David Turner <david@freetype.org> * include/freetype/internal/ftmemory.h, src/base/ftbitmap.c,
src/base/ftmac.c, src/base/ftrfork.c, src/lzw/ftzopen.c,
src/raster/ftrend1.c, src/sfnt/ttpost.c, src/truetype/ttgxvar.c,
src/type42/t42parse.c, src/winfonts/winfnt.c: hardening the code
against out-of-bounds conditions when allocating arrays. This is
for the cases where FT_NEW_ARRAY and FT_RENEW_ARRAY are not used
already. Introducing the new FT_ALLOC_MULT and FT_REALLOC_MULT
macros.
/external/freetype/include/freetype/internal/ftmemory.h
264f307e66f9c2763b2e31b0a4e7513b7866745a 02-May-2006 David Turner <david@freetype.org> * include/freetype/fterrdef.h, include/freetype/config/ftconfig.h,
include/freetype/internal/ftmemory.h, src/base/ftdbgmem.c,
src/base/ftutil.c: udpating the memory management functions and
macros to safely deal with array size buffer overflows, this
corresponds to attemps to allocate arrays that are too large. For
an example, consider the following code:

count = read_uint32_from_file();
array = malloc( sizeof(Item) * count );
for ( nn = 0; nn < count; nn++ )
array[nn] = read_item_from_file();

if 'count' is larger than FT_UINT_MAX/sizeof(Item), the multiplication
will overflow and the array allocated will be smaller than the data
read from the file. In this case, the heap will be trashed, and this
can be used as a denial-of-service, or make the engine crash later.

the FT_ARRAY_NEW and FT_ARRAY_RENEW macro now check that the new
count is no more than FT_INT_MAX/item_size, otherwise, a new error,
named 'FT_Err_Array_Too_Large' will be returned.

note that the memory debugger now works again when FT_DEBUG_MEMORY
is defined, and FT_STRICT_ALIASING has disappeared, the corresponding
code being now the default.
/external/freetype/include/freetype/internal/ftmemory.h
af16820a125c4224462ab833bbf84ce2abb59d22 24-Mar-2006 Werner Lemberg <wl@gnu.org> Normalize quotation to `...'.
/external/freetype/include/freetype/internal/ftmemory.h
8e6f8c4d7934b8725463cabb3ba18bf086b908d7 17-Feb-2006 Werner Lemberg <wl@gnu.org> Formatting, copyright years, documentation improvements.
/external/freetype/include/freetype/internal/ftmemory.h
cda2d957dc66673ac7d573e72e6aa4c02d407eb2 16-Feb-2006 David Turner <david@freetype.org> * builds/amiga/src/base/ftsystem.c, devel/ftoption.h
include/freetype/ftcache.h, include/freetype/ftoutln.h,
include/freetype/cache/ftccache.h, include/freetype/cache/ftccmap.h,
include/freetype/config/ftoption.h, include/freetype/internal/ftcalc.h,
include/freetype/internal/ftdriver.h,
include/freetype/internal/ftmemory.h,
include/freetype/internal/ftobjs.h, include/freetype/internal/ftrfork.h,
include/freetype/internal/psaux.h, include/freetype/internal/sfnt.h,
include/freetype/internal/t1types.h, include/freetype/internal/tttypes.h,
src/base/ftcalc.c, src/base/ftdbgmem.c, src/base/ftobjs.c,
src/base/ftsystem.c, src/base/ftutil.c, src/bdf/bdfdrivr.c,
src/cache/ftccache.c, src/cache/ftccback.h, src/cache/ftccmap.c,
src/cache/ftcmanag.c, src/cff/cffdrivr.c, src/cid/cidriver.c,
src/pcf/pcfdrivr.c, src/pfr/pfrdrivr.c, src/psaux/psauxmod.c,
src/sfnt/sfdriver.c, src/truetype/ttdriver.c, src/type1/t1driver.c,
src/type1/t1objs.c, src/type42/t42drivr.c, src/winfonts/winfnt.c:

massive changes to the internals to respect the internal object layouts
and exported functions of FreeType 2.1.7. Note that the cache sub-system
cannot be fully retrofitted, unfortunately.
/external/freetype/include/freetype/internal/ftmemory.h
59939244adfdd423ebe5c0af56ecb081a1b73ebc 31-Jan-2006 Werner Lemberg <wl@gnu.org> Implement new, simplified module selection. With GNU make it is now
sufficient to modify a single file, `modules.cfg', to control the
inclusion of modules and base extension files.

This change also fixes the creation of ftmodule.h; it now depends on
`modules.cfg' and thus is rebuilt only if necessary.

Finally, a version of `ftoption.h' in OBJ_DIR is preferred over the
default location.

* modules.cfg: New file.

* builds/freetype.mk: Don't include `modules.mk'.
Include all `rules.mk' files as specified in `modules.cfg'.
(FTOPTION_FLAG, FTOPTION_H): New variables.
(FT_CFLAGS): Add macro definition for FT_CONFIG_MODULES_H.
Add FTOPTION_FLAG.
($(FT_INIT_OBJ)): Don't use FT_MODULE_LIST.
(CONFIG_H): Add FTMODULE_H and FTOPTION_H.
(INCLUDES): Add DEVEL_DIR.
(INCLUDE_FLAGS, FTSYS_SRC, FTSYS_OBJ, FTDEBUG_SRC, FTDEBUG_OBJ,
OBJ_M, OBJ_S): Use `:=', not `='.
(remove_ftmodule_h): New phony target to delete `ftmodule.h'.
(distclean): Add remove_ftmodule_h.

* builds/modules.mk: (MODULE_LIST): Removed.
(make_module_list, clean_module_list): Replace targets
with...
(FTMODULE_H_INIT, FTMODULE_H_CREATE, FTMODULE_H_DONE): New
variables. Reason for the change is that it is not possible to have
a phony prerequisite which is run only if the target file must be
rebuilt (phony prerequisites act like subroutines and are *always*
executed). We only want to rebuild `ftmodule.h' if `module.cfg' is
changed.
Update all callers.
($FTMODULE_H)): Rule to create `ftmodule.h', depending on
`modules.cfg'.

* builds/toplevel.mk: Rewrite and simplify module handling.
(MODULES_CFG, FTMODULE_H): New variables.
Include MODULES_CFG.
(MODULES): New variable to include all `module.mk' and `rules.mk'
files. We no longer use make's `wildcard' function for this.

* Makefile (USE_MODULES): Remove. Update all users.
(OBJ_DIR): Define it here.

* src/*/module.mk: Change

make_module_list: foo
foo: ...

to

FTMODULE_H_COMMANDS += FOO
define FOO
...
endef

in all files. `FTMODULE_H_COMMANDS' is used in `FTMODULE_H_CREATE'.

* src/base/rules.mk (BASE_EXT_SRC): Use BASE_EXTENSIONS.

* builds/unix/detect.mk (setup): Always execute `configure' script.
(have_mk): Rename to...
(have_Makefile): This.
Don't use `strip' function.

* builds/unix/unix.mk: Include `install.mk' only if BUILD_PROJECT is
defined.
(have_mk): Don't use `strip' function.
Test for unix-def.mk in OBJ_DIR, not BUILD_DIR (and invert the test
accordingly).

* builds/unix/install.mk (install, uninstall): Handle `ftmodule.h'.

* builds/os2/os2-dev.mk, builds/unix/unix-dev.mk,
builds/win32/w32-bccd.mk, builds/win32/w32-dev.mk: Don't define
BUILD_DIR but DEVEL_DIR for development header files.

* builds/ansi/ansi-def.mk (TOP_DIR, OBJ_DIR),
builds/beos/beos-def.mk (TOP_DIR, OBJ_DIR), builds/unix/unix-def.in
(TOP_DIR, OBJ_DIR): Removed. Defined elsewhere.

* builds/dos/dos-def.mk (OBJ_DIR), builds/os2/os2-def.mk (OBJ_DIR),
builds/win32/win32-def.mk (OBJ_DIR): Removed. Defined elsewhere.

* builds/unix/unixddef.mk: Don't define BUILD_DIR but DEVEL_DIR for
development header files.
Don't define PLATFORM.

* configure: Copy `modules.cfg' to builddir if builddir != srcdir.
Update snippet taken from autoconf's m4sh.m4 to current CVS version.
Be more verbose.

* include/freetype/config/ftmodule.h: Add comments -- this file is
no longer used if FreeType is built with GNU make.

* docs/CHANGES, docs/CUSTOMIZE, docs/INSTALL, docs/INSTALL.ANY,
docs/INSTALL.GNU, docs/INSTALL.UNX: Document new build mechanism.
Other minor updates.

* modules.txt: Removed. Contents included in `modules.cfg'.


* include/freetype/internal/ftmemory.h (FT_QAlloc_Debug,
FT_Free_Debug) [FT_STRICT_ALIASING]: Fix typos.

* src/base/ftdbgmem.c (FT_Alloc_Debug, FT_Realloc_Debug,
FT_QAlloc_Debug, FT_QRealloc_Debug, FT_Free_Debug)
[FT_STRICT_ALIASING]: Implement.
/external/freetype/include/freetype/internal/ftmemory.h
be3c9814a4dabb718f89ec8edb2249f8ae4ba9ff 27-Jan-2006 Werner Lemberg <wl@gnu.org> Formatting, copyright years.
/external/freetype/include/freetype/internal/ftmemory.h
6a681fa84a0ba1164726cedfc3623d84f1e3d60a 27-Jan-2006 David Turner <david@freetype.org> * src/autofit/afwarp.c: simple #ifdef to prevent compilation when
the warp hinter isn't active (it shouldn't, still experimental)

* Jamfile, include/freetype/config/ftmodule.h: removed "gxvalid"
and "otvalid" from the list of modules that are linked statically
to a given FreeType library. Functionality has been moved to the
"ftvalid" CVS module.

note also that current Make-based build system still compiles the
modules though...

* include/freetype/config/ftoption.h: added FT_STRICT_ALIASING,
which controls the definitions of the memory management functions
to avoid warnings with recent versions of GCC. this macro is
only here to be disabled, in case we detect problems with the
new scheme.

NOTE: disable macro to use the memory debugger. this will be fixed
later !!
/external/freetype/include/freetype/internal/ftmemory.h
3500df46983c9905985bd53641d71feab45ae1cb 05-Jul-2005 Werner Lemberg <wl@gnu.org> * include/freetype/internal/ftmemory.h (FT_REALLOC_ARRAY): Fix typo.
Reported by Brett Hutley.
/external/freetype/include/freetype/internal/ftmemory.h
255ce16e1d7f4bdd2d2eb3800f3778085376be2e 04-Jun-2005 Werner Lemberg <wl@gnu.org> * include/freetype/ftimage.h (FT_Outline_MoveToFunc,
FT_Outline_LineToFunc, FT_Outline_ConicToFunc,
FT_Outline_CubicToFunc, FT_Raster_RenderFunc),
include/freetype/ftrender.h (FT_Glyph_TransformFunc,
FT_Renderer_RenderFunc, FT_Renderer_TransformFunc): Don't use
`const' to stay compatible with FreeType 2.1.9.
/external/freetype/include/freetype/internal/ftmemory.h
92aa527a1ce0f427c5e2446fbe12011b4a307806 23-May-2005 Werner Lemberg <wl@gnu.org> * builds/amiga/makefile.os4 (WARNINGS), builds/compiler/gcc-dev.mk
(CFLAGS), builds/compiler/gcc.mk (CFLAGS): Remove
-fno-strict-aliasing.


Say you have `(Foo*)x' and want to assign, pass, or return it as
`(Bar*)'. If you simply say `x' or `(Bar*)x', then the C compiler
would warn you that type casting incompatible pointer types breaks
strict-aliasing. The solution is to cast to `(void*)' instead which
is the generic pointer type, so the compiler knows that it should
make no strict-aliasing assumption on `x'. But the problem with
`(void*)x' is that seems like in C++, unlike C, `void*' is not a
generic pointer type and assigning `void*' to `Bar*' without a cast
causes an error. The solution is to cast to `Bar*' too, with
`(Bar*)(void*)x' as the result -- this is what the patch does.

* include/freetype/cache/ftccache.h (FTC_CACHE_LOOKUP_CMP),
include/freetype/cache/ftcmru.h (FTC_MRULIST_LOOKUP_CMP): Remove
cast on lvalue, use a temporary pointer instead.
Cast temporarily to (void*) to not break strict aliasing.

* include/freetype/internal/ftmemory.h (FT_MEM_ALLOC,
FT_MEM_REALLOC, FT_MEM_QALLOC, FT_MEM_QREALLOC, FT_MEM_FREE),
src/base/ftglyph.c (FT_Glyph_To_Bitmap): Cast temporarily to (void*)
to not break strict aliasing.

* src/base/ftinit.c (FT_USE_MODULE): Fix wrong type information.

* builds/unix/configure.ac (XX_CFLAGS): Remove -fno-strict-aliasing.

* src/sfnt/rules.mk (SFNT_DRV_SRC): Don't include ttsbit0.c --
it is currently loaded from ttsbit.c.


Other formatting.
/external/freetype/include/freetype/internal/ftmemory.h
ebf5585dd09c44c8bb94d955c28c85e4952045de 16-Mar-2005 Werner Lemberg <wl@gnu.org> Formatting.
/external/freetype/include/freetype/internal/ftmemory.h
58609c40c8406a7ddc524f61affcdab16c55472d 16-Mar-2005 David Turner <david@freetype.org> * docs/CHANGES: updating

* src/type1/t1parse.c (T1_New_Parser), src/type42/t42parse.c
(t42_parser_init): modifying functions to check the font header before
allocating anything on the heap.

* internal/freetype/ftmemory.h: introducing the new macros FT_ARRAY_MAX
and FT_ARRAY_CHECK

* src/pcf/pcfread.c, src/pcf/pcfutil.c: minor fixes and simplifications.
try to protect the PCF driver from doing stupid things with broken fonts.
/external/freetype/include/freetype/internal/ftmemory.h
c11aeb647c6a54cadb705339791111e69250e5e9 10-Mar-2005 Werner Lemberg <wl@gnu.org> * src/truetype/ttpload.c (tt_face_load_cvt, tt_face_load_fpgm):
Fix serious typo which prevented correct TT rendering.

* include/freetype/internal/ftmemory.h: Undo change from 2005-03-03.
To suppress warnings it is sufficient to use `-fno-strict-aliasing'.
/external/freetype/include/freetype/internal/ftmemory.h
baa662bbea83ce15b068d031cfc70b07a66fb613 04-Mar-2005 Werner Lemberg <wl@gnu.org> * src/base/ftutil.c: Include FT_INTERNAL_OBJECTS_H.
/external/freetype/include/freetype/internal/ftmemory.h
0780817a61528391d7a85023b3c3c23ef6565729 03-Mar-2005 David Turner <david@freetype.org> * include/freetype/internal/{ftmemory.h,ftserv.h}: removing
compiler warnings with GCC 3.3 and above...
/external/freetype/include/freetype/internal/ftmemory.h
e793092d0a9f4d4d383315bcefd485dcbe4804b3 01-Mar-2005 Werner Lemberg <wl@gnu.org> Formatting.

* src/truetype/ttpload.c (tt_face_load_loca): Fix typo.

* src/sfnt/ttkern.c: Include `ttkern.h'.
(FT_COMPONENT): Updated.

* include/freetype/internal/fttrace.h: Add entry for `ttkern'.

* src/sfnt/ttsbit0.c: s/FT_Err_/SFNT_Err_/.
Decorate constants with `U' and `L' where necessary.

* src/sfnt/ttcmap.c (tt_cmap4_next): Remove unused variable.
/external/freetype/include/freetype/internal/ftmemory.h
3e26d07e60945b2cda301705ede608b924b4b915 22-Feb-2005 David Turner <david@freetype.org> * src/base/ftdbgmem.c: adding the ability to list all allocation sites
in the memory debugger. Also a new function FT_DumpMemory() was added.
It is only available in builds with FT_DEBUG_MEMORY defined, and you
must declare it in your own code to use it, i.e. with something
like:

extern void FT_DumpMemory( FT_Memory );

...

FT_DumpMemory( memory );

* include/freetype/config/ftoptions.h: disabling TrueType bytecode
interpreter !

* include/freetype/internal/ftmemory.h: adding FT_ARRAY_ZERO, as a
convenience macro.
/external/freetype/include/freetype/internal/ftmemory.h
ece8b20e6c51924b85f3055e555a430a2d4bfd1b 14-Dec-2004 Werner Lemberg <wl@gnu.org> Documentation updates, whitespace.
/external/freetype/include/freetype/internal/ftmemory.h
21ddf945c3439f4d3feed27a991a6bcdd5316fb4 24-Jun-2004 Werner Lemberg <wl@gnu.org> * include/freetype/internal/ftmemory.h [FT_DEBUG_MEMORY]: Declare
FT_QAlloc_Debug and FT_QRealloc_Debug.

* src/base/ftutil.c (FT_QAlloc): Fix error and debug messages.
(FT_QRealloc): Call FT_QAlloc if original pointer is NULL.
Fix error message.
/external/freetype/include/freetype/internal/ftmemory.h
5290d2fb46f33d7cd7e4036216196a7f92b7daa1 23-Jun-2004 David Turner <david@freetype.org> performance optimizations regarding face opening
/external/freetype/include/freetype/internal/ftmemory.h
6cda9c489d2cc4841932551363c87fbc647d5357 22-Jan-2004 Werner Lemberg <wl@gnu.org> * include/freetype/ftcache.h: Delete duplicated definition of
FTC_FaceID.

* src/cff/cffdrivr.c (cff_get_cmap_info): Call sfnt module's TT CMap
Info service function if the cmap comes from sfnt. Return 0 if the
cmap is sythesized in cff module.

Formatting; updating copyright.
/external/freetype/include/freetype/internal/ftmemory.h
4632fccb1b44bef8b3c593a646bd8d50089880dc 15-Jan-2004 David Turner <david@freetype.org> * include/freetype/internal/ftmemory.h,
src/autohint/ahhint.c, src/base/ftgloadr.c,
src/base/ftglyph.c, src/base/ftoutln.c,
src/base/ftstroke.c, src/cff/cffload.c, src/truetype/ttgload.c,
src/truetype/ttinterp.c:

introducing the new FT_ARRAY_COPY and FT_ARRAY_MOVE macros
to make copying arrays easier
/external/freetype/include/freetype/internal/ftmemory.h
d726e41c33e0ef052b313f4e48c5eae2823dd602 18-Jun-2003 Werner Lemberg <wl@gnu.org> * builds/compiler/gcc.mk, builds/compiler/gcc-dev.mk (CFLAGS):
Add -fno-strict-aliasing to get rid of zillion warnings from gcc
version 3.3.
/external/freetype/include/freetype/internal/ftmemory.h
77c34b826439a975f7ce804a4913f05246876abb 21-May-2003 Werner Lemberg <wl@gnu.org> * t1load.c (parse_blend_axis_types): Fix compiler warning.

* src/gzip/ftgzip.c (ft_gzip_file_io): Avoid zero value of `delta'
to prevent infinite loop.

* docs/VERSION.DLL: Provide better autoconf snippet to check
FreeType version.

* src/base/ftobjs.c (open_face): Free `internal' not
`face->internal' in case of error to avoid possible segfault.

* src/pshinter/pshalgo3.c (ps3_hints_apply): Check whether we
actually have an outline.
/external/freetype/include/freetype/internal/ftmemory.h
fadb6be7e33b0ab86c35c004b10c1d0cf6d1c2c4 20-Apr-2002 Werner Lemberg <wl@gnu.org> * src/pfr/pfrload.c (pfr_extra_items_farse): Fix debug message.
(pfr_phy_font_load): s/size/Size/ for local variable to avoid
compiler warning.
* src/pfr/pfrobjs.c (pfr_face_init): Fix debug message.
(pfr_slot_load): Remove redundant local variable.

adding copyrights, formatting
/external/freetype/include/freetype/internal/ftmemory.h
609e28c3be484792936271dacefe9b48c378e7eb 19-Apr-2002 David Turner <david@freetype.org> * src/type1/t1gload.h, src/type1/t1gload.c: fixed incorrect
parameter sign-ness in callback function

* include/freetype/config/ftmodule.h,
include/freetype/internal/fttrace.h,
src/Jamfile, src/pfr/*:

adding a PFR font driver to the FreeType sources. Not that it
doesn't support embedded bitmaps or kerning tables for now..


* include/freetype/internal/ftmemory.h: adding the FT_MEM_ZERO
and FT_ZERO macros

* include/freetype/internal/ftstream.h: adding the FT_NEXT_OFF3,
FT_NEXT_UOFF3, FT_NEXT_OFF3_LE and FT_NEXT_UOFF3_LE to parse
in-memory 24-bit integers.
/external/freetype/include/freetype/internal/ftmemory.h
d15bc0d13a163995e1ca11925349bd64d1c33617 12-Apr-2002 David Turner <david@freetype.org> * README.UNX: updated the Unix-specific quick-compilation guide to
warn about the GNU Make requirement at compile time..

* include/freetype/config/ftstdlib.h,
include/freetype/config/ftconfig.h,
include/freetype/config/ftheader.h,
include/freetype/internal/ftmemory.h,
include/freetype/internal/ftobjs.h,

src/autohint/ahoptim.c,

src/base/ftdbgmem.c, src/base/ftdebug.c,
src/base/ftmac.c, src/base/ftobjs.c,
src/base/ftsystem.c,

src/cache/ftcimage.c, src/cache/ftcsbits.c,

src/cff/cffdriver.c, src/cff/cffload.c, src/cff/cffobjs.c,

src/cid/cidload.c, src/cid/cidparse.c, src/cid/cidriver.c,

src/pcf/pcfdriver.c, src/pcf/pcfread.c,

src/psaux/t1cmap.c, src/psaux/t1decode.c,

src/pshinter/pshalgo1.c, src/pshinter/pshalgo2.c,
src/pshinter/pshrec.c,

src/psnames/psmodule.c,

src/raster/ftraster.c,

src/sfnt/sfdriver.c, src/sfnt/ttload.c, src/sfnt/ttpost.c,

src/smooth/ftgrays.c,

src/type1/t1afm.c, src/type1/t1driver.c, src/type1/t1gload.c,
src/type1/t1load.c, src/type1/t1objs.c, src/type1/t1parse.c:

added the new configuration file "ftstdlib.h" used to define
aliases for all ISO C library functions used by the engine
(e.g. strlen, qsort, setjmp, etc...)

this eases the porting of FreeType 2 to exotic environments like
XFree86 modules/extensions..

also removed many #include <string.h>, #include <stdlib.h>, etc...
from the engine's sources where they're not needed..
/external/freetype/include/freetype/internal/ftmemory.h
78e004e84388998ff8ff23e4e8b7d5976d039c77 30-Mar-2002 Werner Lemberg <wl@gnu.org> formatting
/external/freetype/include/freetype/internal/ftmemory.h
a6f6ff56b5723102db3825de3e6656ccf430451f 25-Mar-2002 David Turner <david@freetype.org> formatting
/external/freetype/include/freetype/internal/ftmemory.h
e459d742e6236df43f542b8c29dfdcf05d69716c 22-Mar-2002 David Turner <david@freetype.org> * include/freetype/internal/ftmemory.h, and a lot of other files !!:

changed the names of memory macros. Examples:

MEM_Set => FT_MEM_SET
MEM_Copy => FT_MEM_COPY
MEM_Move => FT_MEM_MOVE

ALLOC => FT_ALLOC
FREE => FT_FREE
REALLOC = >FT_REALLOC

FT_NEW was introduced to allocate a new object from a _typed_
pointer..

note that ALLOC_ARRAY and REALLOC_ARRAY have been replaced
by FT_NEW_ARRAY and FT_RENEW_ARRAY which take _typed_ pointer
arguments.

This results in _lots_ of sources being changed, but makes the
code more generic and less error-prone..
/external/freetype/include/freetype/internal/ftmemory.h
bc82f1bbefa90c649a9ad2c28938d55b4acbf380 01-Mar-2002 David Turner <david@freetype.org> * include/freetype/ftconfig.h: changed FT_LOCAL xxxx to FT_LOCAL( xxxx )
everywhere in the source. Sames goes for FT_LOCAL_DEF xxxx translated
into FT_LOCAL_DEF( xxxxx )
/external/freetype/include/freetype/internal/ftmemory.h
c3b21608699a72698d382ad44c5f9fd6946ce43c 05-Dec-2001 Werner Lemberg <wl@gnu.org> Formatting.

Cleaning up of ChangeLog.

* docs/license.txt: s/X Windows/X Window System/.

* src/raster/ftraster.c: Fix definition condition of MEM_Set().
* src/smooth/ftgrays.c (M_Y): Change value to 192.
* src/base/ftdbgmem.c (ft_mem_table_destroy): Fix printf() parameter.
Remove unused variable.
* src/cache/ftcimage.c (ftc_image_node_init,
ftc_image_node_compare): Remove unused variables.
* src/cache/ftcsbits.c (ftc_sbit_node_weight): Remove unused
variable.
* src/raster/ftraster.c (MEM_Set): Move definition down to avoid
compiler warning.
* src/autohint/ahhint.c (ah_hinter_hint_edges): Use UNUSED() to
avoid compiler warnings.
* src/pcf/pcfread.c (tableNames): Use `const'.
(pcf_read_TOC): Change counter name to avoid compiler warning.
Use `const'.
* src/pshinter/pshrec.c (ps_hints_close): Remove redundant
declaration.
* src/pshinter/pshalgo1.c (psh1_hint_table_init): Rename variables
to avoid shadowing.
* src/pshinter/pshalgo2.c (psh2_hint_table_activate_mask): Ditto.
* src/type1/t1objs.h: Remove double declarations of `T1_Size_Init()'
and `T1_Size_Done()'.
/external/freetype/include/freetype/internal/ftmemory.h
aa007cd2edf00dbb76da8962c8a96763f6e44789 24-Oct-2001 David Turner <david@freetype.org> * include/freetype/internal/ftmemory.h, src/base/ftdbgmem.c:
improvements to the memory debugger to report more information in
case of errors. Also, some allocations that occured through
REALLOC couldn't be previously catched correctly..
/external/freetype/include/freetype/internal/ftmemory.h
5a1de37e7e1a2fdc1a5ef1679850b8964975d09b 24-Oct-2001 David Turner <david@freetype.org> replaced liberal uses of "memset" by the "MEM_Set" macro call
(some platforms don't provide this ANSI function !!)

some changes to "ftsystem.c" implementations in order to use
the new memory debugger on Unix, VMS and Amiga too !!
/external/freetype/include/freetype/internal/ftmemory.h
950c669060eb6a41adccffcf709c487102cb1b87 22-Oct-2001 David Turner <david@freetype.org> * include/freetype/internal/ftmemory.h, src/base/ftdbgmem.c: modified
the debugging memory manager to report the location (source file name
+ line number) where leaked memory blocks are allocated in the source
file.. funny, isn't it ??
/external/freetype/include/freetype/internal/ftmemory.h
415235df1b955940ce85401a076f882e8717ef7b 28-Jun-2001 Werner Lemberg <wl@gnu.org> finishing function header formatting

updating copyrights
/external/freetype/include/freetype/internal/ftmemory.h
90d9964ec9c6537a69dedbc29f0a6d277707dbcc 09-Dec-2000 Werner Lemberg <wl@gnu.org> * */*.h: Changed body inclusion macro names to start and end with
`__' (those which haven't converted yet). Fixed minor conversion
issues.

* src/winfonts/winfnt.c: Updated to new header inclusion scheme.

* */*.[ch]: Changed source files to adhere to the new
* src/cff/cff.c, src/cff/rules.mk: Updated.

* */*.[ch]: Now using <ft2build.h> as the default build and setup
/external/freetype/include/freetype/internal/ftmemory.h
d3c8e064a5587e924f83913e5eae38586b50840c 04-Dec-2000 David Turner <david@freetype.org> - updating the header inclusion scheme to use <ft2build.h> by
default..

- created "builds/devel" to hold developer builds options
for both Win32 and Unix

- fixed a bug in the winfonts driver, where the glyph image format
wasn't set correctly..
/external/freetype/include/freetype/internal/ftmemory.h
8fba32d2d6f284bfd49ed6c0557880e0bb692f49 01-Dec-2000 David Turner <david@freetype.org> introduced the new <freetype/config/ftbuild.h> file to determine
where is the top-level include directory for all public, configuration
and internal header files..
/external/freetype/include/freetype/internal/ftmemory.h
8ec9dfd99185fce2b397bce7cfae2106f8ba0295 08-Nov-2000 Werner Lemberg <wl@gnu.org> Moving doc comments for BASE functions from source to header files.
/external/freetype/include/freetype/internal/ftmemory.h
76a5f62323d4fe3319d3d5410ded0ff9cab1f8c5 04-Nov-2000 David Turner <david@freetype.org> major reformatting of the sources:

FT_EXPORT_DEF => FT_EXPORT
FT_EXPORT_FUNC => FT_EXPORT_DEF
BASE_DEF => FT_BASE
BASE_FUNC => FT_BASE_DEF
LOCAL_DEF => FT_LOCAL
LOCAL_FUNC => FT_LOCAL_DEF
LOCAL_FUNC_X => FT_CALLBACK_DEF
LOCAL_DEF_X => FT_CALLBACK_TABLE
FT_CPLUSPLUS => FT_CALLBACK_TABLE_DEF
/external/freetype/include/freetype/internal/ftmemory.h
f9b0375002872fc8502cc87a65c8b16f6d48508c 12-Sep-2000 Werner Lemberg <wl@gnu.org> small formatting issues.
/external/freetype/include/freetype/internal/ftmemory.h
a8194a97db5963393baf216fd8e2006942c5d3e1 02-Sep-2000 David Turner <david@freetype.org> - added a new function called FT_SqrtFixed to compute the
16.16 square root of a 16.16 number (this could come handy
in a later version of the auto-hinter)

- small fixes to the smooth renderer. It used to use way too
much line segments when drawing beziers !!
/external/freetype/include/freetype/internal/ftmemory.h
c713d924d8107d8c2ccd0e27832a09992397eeae 01-Aug-2000 Werner Lemberg <wl@gnu.org> Added #ifdef's for C++ to all header files.
/external/freetype/include/freetype/internal/ftmemory.h
0959a8777a2b7fedcb95221338eb1dc408e64c40 18-Jul-2000 Werner Lemberg <wl@gnu.org> Formatting.
/external/freetype/include/freetype/internal/ftmemory.h
b390a124292d8593c7aa339cc86ba39473a86c9f 10-Jul-2000 David Turner <david@freetype.org> removed some stupid #defines in <freetype/config/ftconfig.h>
/external/freetype/include/freetype/internal/ftmemory.h
803a3fdf89ef4b70ab0e54dde3b71a820fcbab21 07-Jun-2000 David Turner <david@freetype.org> added new macro MEM_Alloc_Array
/external/freetype/include/freetype/internal/ftmemory.h
529d4ea7a08021bfd2abcc703515f13f19d2f4ee 16-May-2000 David Turner <david@freetype.org> created new header files, formatting and other minor
stuff..
/external/freetype/include/freetype/internal/ftmemory.h