1. 13 Dec, 2000 1 commit
    • 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..
      10038668
  2. 12 Dec, 2000 3 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 `##'.
      (FT2_PUBLIC_FILE, FT2_CONFIG_FILE, FT2_INTERNAL_FILE): Use directory
      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,
      FT2_PUBLIC_FILE, FT2_CONFIG_FILE, FT2_INTERNAL_FILE,
      FT_SOURCE_FILE): Use `##' operator to be really ANSI C compliant.
      0f4d90d2
    • Werner Lemberg's avatar
      · 36bb22c7
      Werner Lemberg authored
      next try
      36bb22c7
    • Werner Lemberg's avatar
      * include/freetype/config/build.h (FT2_CONFIG_ROOT, FT2_PUBLIC_FILE, · 70d92819
      Werner Lemberg authored
      FT2_CONFIG_FILE, FT2_INTERNAL_FILE, FT_SOURCE_FILE): Use `##'
      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.
      70d92819
  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
      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
      de6e145b
  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
      readable.
      
      * 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
      pointer).
      * 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.
      2deb3eec
  6. 05 Dec, 2000 5 commits
  7. 04 Dec, 2000 1 commit
  8. 01 Dec, 2000 1 commit
  9. 30 Nov, 2000 3 commits
  10. 29 Nov, 2000 4 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.
      0973e98e
    • Werner Lemberg's avatar
      * src/sfnt/sfdriver.c: Include ttsbit.h and ttpost.h only · e9835a19
      Werner Lemberg authored
      conditionally.
      
      * 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
      conditionally.
      
      * 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).
      e9835a19
    • Werner Lemberg's avatar
      * src/truetype/ttobjs.c (TT_Init_Size): Fix #ifdef's to work with · af9b8c9d
      Werner Lemberg authored
      disabled interpreter also.
      
      * src/base/ftnames.c (FT_Get_Sfnt_Name_Count): Fix incorrect
      parentheses.
      af9b8c9d
  11. 27 Nov, 2000 4 commits
  12. 26 Nov, 2000 1 commit
  13. 23 Nov, 2000 2 commits
  14. 22 Nov, 2000 2 commits
  15. 18 Nov, 2000 1 commit
    • Werner Lemberg's avatar
      · 761edfc0
      Werner Lemberg authored
      formatting
      761edfc0
  16. 16 Nov, 2000 1 commit
  17. 13 Nov, 2000 3 commits
  18. 10 Nov, 2000 1 commit
    • Werner Lemberg's avatar
      · 645a153c
      Werner Lemberg authored
      Small fixes and formatting.
      645a153c
  19. 09 Nov, 2000 2 commits