1. 13 Dec, 2000 2 commits
    • David Turner's avatar
      * include/freetype/config/ft2build.h, · 10038668
      David Turner authored
      	include/freetype/internal/internal.h: fixed header inclusion macros
      	to use direct definitions. This is the only way to do these things
      	in a portable way :-( The rest of the code should follow shortly
      	though everything compiles now..
      	* builds/compiler/intelc.mk, builds/compiler/watcom.mk,
      	builds/win32/detect.mk: added support for the Intel C/C++ compiler,
      	as well as _preliminary_ (read: doesn't work !!) support for Watcom.
      	Also added a new setup target. Type "make setup list" for a list
      	of supported command-line compilers on Win32..
    • Werner Lemberg's avatar
      * builds/unix/ftsystem.c: Fixed typos. Fixed inclusion of wrong · b8eca207
      Werner Lemberg authored
      ftconfig.h file.
  2. 12 Dec, 2000 7 commits
    • Werner Lemberg's avatar
      * include/freetype/config/ft2build.h (FT2_ROOT, FT2_CONFIG_ROOT): · 0f4d90d2
      Werner Lemberg authored
      Removed.  ANSI C doesn't (explicitly) allow macro expansion in
      arguments using `##'.
      names directly.  Make them configurable.  Use `##' to strip leading
      and trailing spaces from arguments.
      * builds/unix/ft2unix.h: Adapted.
      * src/base/ftsystem.c (ft_alloc, ft_realloc, ft_free, ft_io_stream,
      ft_close_stream): Use FT_CALLBACK_DEF.
      * builds/unix/ftsystem.c: Use new header scheme.
      (FT_Done_Memory): Use free() from FT_Memory structure.
      * src/base/ftinit.c, src/base/ftmac.c: Header scheme fixes.
      * include/freetype/config/ft2build.h (FT2_CONFIG_ROOT,
      FT_SOURCE_FILE): Use `##' operator to be really ANSI C compliant.
    • Werner Lemberg's avatar
      · 282a4742
      Werner Lemberg authored
    • Werner Lemberg's avatar
      · 36bb22c7
      Werner Lemberg authored
      next try
    • Werner Lemberg's avatar
      · 16019eb8
      Werner Lemberg authored
      next try
    • Werner Lemberg's avatar
      · 60922176
      Werner Lemberg authored
      next try
    • Werner Lemberg's avatar
      · 8c5bed7f
      Werner Lemberg authored
      another try
    • Werner Lemberg's avatar
      * include/freetype/config/build.h (FT2_CONFIG_ROOT, FT2_PUBLIC_FILE, · 70d92819
      Werner Lemberg authored
      operator to be really ANSI C compliant.
      * builds/unix/detect.mk: Remove unused USE_CFLAGS variable.
      * src/truetype/ttinterp.c: Remove unused CALC_Length() macro.
  3. 09 Dec, 2000 1 commit
    • Werner Lemberg's avatar
      * */*.h: Changed body inclusion macro names to start and end with · de6e145b
      Werner Lemberg authored
      `__' (those which haven't converted yet).  Fixed minor conversion
      * 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
  4. 08 Dec, 2000 2 commits
  5. 06 Dec, 2000 2 commits
    • David Turner's avatar
    • Werner Lemberg's avatar
      * builds/module.mk: Replaced `xxx #' with `xxx$(space). · 2deb3eec
      Werner Lemberg authored
      * builds/os2/detekt.mk, builds/win32/detekt.mk: Moved comment to
      avoid trailing spaces in variable.
      * builds/freetype.mk: Use $(D) instead of $D to make statement more
      * docs/docmaker.py: Formatting.
      * src/psaux/psauxmod.c: Fixed a broken inclusion of component
      header files (an FT_FLAT_COMPILE test was missing).
      * src/cache/ftcmanag.c (FTC_Manager_Done): Fixed a bug that caused
      an occasional crash when the function was called (due to a dangling
      * src/base/ftsystem.c (FT_Done_Memory): Fixed an obvious bug:
      The ANSI "free()" function was called instead of "memory->free()".
      * docs/docmaker.py: Added section filtering, multi-page generation
      (index page generation is still missing though).
      * builds/unix/install.mk, builds/unix/ft2unix.h: The file "ft2unix.h"
      is now installed as <ft2build.h> for Unix systems.  Note that we
      still use the "freetype2/freetype" installation path for now.
      * many files: Now using <ft2build.h> as the default build and setup
      configuration file in all public headers.  Internal source files
      still need some changes though.
      * builds/devel/ft2build.h, builds/devel/ftoption.h: Created a new
      Win32 developer builds.
      builds/win32/w32-dev.mk: Changed the developer build targets to
      "devel-gcc" and "devel-bcc" in order to be able to develop with the
      Borland C++ compiler.
  6. 05 Dec, 2000 7 commits
  7. 04 Dec, 2000 3 commits
  8. 02 Dec, 2000 3 commits
  9. 01 Dec, 2000 4 commits
    • Werner Lemberg's avatar
      · 58e6c8ea
      Werner Lemberg authored
      minor fixes
    • David Turner's avatar
      fixed a few warnings with Borland C++ · 7a31c1f1
      David Turner authored
    • David Turner's avatar
      small updates to the documentation and the configure scripts to · 5b3e03a2
      David Turner authored
      prepare the 2.0.1 release
    • Werner Lemberg's avatar
      * INSTALL: Revised. · ced382a8
      Werner Lemberg authored
      * builds/compiler/bcc-dev.mk, builds/compiler/visualage.mk,
      builds/compiler/bcc.mk, builds/win32/w32-bcc.mk,
      builds/win32/w32-bccd.mk: Revised.
      * include/freetype/config/ftbuild.h,
      include/freetype/internal/internal.h: Revised.
      * include/freetype/ftimage.h: Updated to new header inclusion scheme.
      * builds/toplevel.mk (.PHONY): Adding `distclean'.
      * builds/unix/detect.mk (.PHONY): Adding `devel', `unix', `lcc',
      * INSTALL: Slightly updated the quick starter documentation to
      include IDE compilation, prevent against BSD Make, and specify "make
      setup" instead of a single "make" for build configuration.
      * include/config/ftbuild.h, include/internal/internal.h: Added new
      configuration files used to determine the location of all public,
      configuration, and internal header files for FreeType 2.  Modified
      all headers under "include/freetype" to reflect this change.  Note
      that we still need to change the library source files themselves
      builds/win32/detect.mk: Added new files to support compilation with
      the free Borland C++ command-line compiler.  Modified the detection
      rules to recognize the new "bcc32" target in "make setup bcc32".
      src/truetype/ttobjs.c, src/truetype/ttgload.c,
      src/truetype/ttinterp.c: Fixed a few comparisons that Borland C++
      didn't really like.  Basically, this compiler complains when FT_UInt
      is compared to FT_UShort (apparently, it promotes `UShort' to `Int'
      in these cases).
  10. 30 Nov, 2000 6 commits
  11. 29 Nov, 2000 3 commits
    • David Turner's avatar
    • Werner Lemberg's avatar
      * src/base/ftcalc.c (FT_SqrtFixed), src/base/ftobjs.c · 0973e98e
      Werner Lemberg authored
      (FT_Set_Renderer): Use FT_EXPORT_DEF.
      * src/cache/ftcimage.c (FTC_Image_Cache_Lookup),
      src/cache/ftcmanag.c (FTC_Manager_Done, FTC_Manager_Reset,
      FTC_Manager_Lookup_Face, FTC_Manager_Lookup_Size,
      FTC_Manager_Register_Cache), src/cache/ftcsbits.c
      (FTC_SBit_Cache_Lookup): Ditto.
      * src/include/freetype/cache/ftcglyph.h (FTC_GlyphNode_Init),
      src/include/freetype/ftmac.h (FT_New_Face_From_FOND): Use FT_EXPORT.
    • Werner Lemberg's avatar
      * src/sfnt/sfdriver.c: Include ttsbit.h and ttpost.h only · e9835a19
      Werner Lemberg authored
      * src/truetype/ttdriver.c (Set_Char_Sizes, Set_Pixel_Sizes): Set
      `size->strike_index' only conditionally.
      * src/type1/t1driver.c, src/type1/t1objs.c: Include t1afm.h only
      * src/winfonts/winfnt.h: Move all type definitions to...
      * src/include/freetype/internal/fnttypes.h: New file.
      * src/winfonts/winfnt.c: Use it.
      * include/freetype/internal/ftdebug.h: Replaced FT_CAT and FT_XCAT
      with a direct solution (which also satifies picky compilers).