builds/unix


Log

Author Commit Date CI Message
David Turner ce9a0441 2002-01-08T18:33:55 added 'configure' and 'install' wrapper scripts to make the installation process more Unix-friendly :-)
David Turner 7fe38a51 2002-01-04T09:47:30 remove compiler warnings and a typo in builds/unix/ftsystem.c
Werner Lemberg 1a0a9793 2002-01-03T22:06:13 * src/type1/t1objs.c (T1_Face_Init): Add cast to avoid compiler warning.
David Turner c48bf37b 2002-01-03T17:08:20 * builds/unix/ftsystem.c (FT_New_Stream): added a fix to ensure that all FreeType input streams are closed in child processes of a "fork" on Unix systems. This is important to avoid (potential) access control issues..
Werner Lemberg 5da9dd77 2001-12-16T08:17:33 * src/base/ftglyph (FT_Glyph_To_Bitmap): Remove compiler warning. * include/freetype/ftcache.h (FTC_Node_Unref): Removed. It is already in ftcmanag.h. * src/cache/ftcsbits.c (ftc_sbit_node_load): Remove unused variable `gfam'. * src/cache/ftcmanag.c (ftc_family_table_alloc, * ftc_family_table_free): Use FT_EXPORT_DEF. * include/freetype/cache/ftcmanag.h: Updated. * src/cache/ftccache.c (ftc_node_destroy): Use FT_EXPORT_DEF. * src/cache/ftccmap.c (ftc_cmap_node_init): Remove unused variable `cfam'. Remove compiler warning. (FTC_CMapCache_Lookup): Remove compiler warnings. (ftc_cmap_family_init): Ditto. (FTC_CMapCache_Lookup): Ditto. * builds/unix/configure.ac: Increase `version_info' to 8:0:2. * builds/unix/configure: Regenerated. * builds/mac/README: Updated.
Werner Lemberg 2f5d1b76 2001-12-12T15:15:44 * builds/unix/freetype2.m4: Some portability fixes.
David Turner dd271820 2001-12-11T13:38:52 * builds/unix/freetype-config.in: modified the script to prevent passing "-L/usr/lib" to gcc * docs/FTL.TXT: simple fix (change "LICENSE.TXT" to "FTL.TXT") * builds/unix/freetype2.m4: added autoconf macro, we need to install it in $(prefix)/share/aclocal/freetype2.m4 but I didn't modified builds/unix/install.mk yet..
Tom Kacvinsky 7bb92766 2001-10-24T14:43:40 In function FT_New_Memory, added a missing `}'.
David Turner 5a1de37e 2001-10-24T07:32:55 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 !!
Werner Lemberg 415235df 2001-06-28T17:49:10 finishing function header formatting updating copyrights
Werner Lemberg 4a2305cf 2001-06-28T07:17:51 formatting
Werner Lemberg f814d0fa 2001-06-27T16:18:10 First round in converting type foo ( ... ) to type foo ( ... ) Other minor formatting issues.
David Turner f77581f6 2001-06-27T10:54:13 changed the definition of FT_CALLBACK_DEF
David Turner dee78134 2001-06-27T09:26:46 * include/freetype/ftconfig.h, src/*/*.c: changed the definition and uses of the FT_CALLBACK_DEF macro in order to support 16-bit compilers
David Turner 0b3a9915 2001-06-19T15:45:48 * builds/win32/visualc/freetype.dsp, builds/win32/visualc/index.html: updated the Visual C++ project (for the 2.0.4 release) * builds/unix/detect.mk: added rule for AIX detection (which uses /usr/sbin/init instead of /sbin/init, go figure..)
Werner Lemberg 79860707 2001-06-08T21:17:29 Increase `version_info' to 7:0:1. Fixed a bug that returned an invalid linear width for composite TrueType glyphs. * include/internal/tttypes.h (TT_Loader_): Two new elements `linear' and `linear_def'. * src/truetype/ttgload.c (load_truetype_glyph, compute_glyph_metrics): Use it. * include/fttypes.h (FT_ERROR_BASE): New macro. * src/base/ftobjs.c (FT_Open_Face, FT_Render_Glyph_Internal): Use it to make source code work with the new error scheme implemented by Werner. * src/base/ftoutln.c (FT_Outline_Render): Ditto.
Werner Lemberg b3f3210b 2001-06-08T12:19:22 * builds/unix/configure.in: Renamed to ... * builds/unix/configure.ac: This to make sure that autoconf 2.50 is needed. Run `autoupdate' on it. * builds/unix/configure: Regenerated. * src/autohint/ahhint.c (ah_hinter_load_glyph): Fixed a bug that corrupted transformed glyphs that were auto-hinted (the transform was applied twice). Updating to libtool 1.4.0 and autoconf 2.50.
Werner Lemberg f60408c0 2001-06-07T17:37:08 removed
Werner Lemberg c0c2abef 2001-06-07T17:36:17 Updating to libtool 1.4.0. * builds/unix/ltconfig: Removed. * builds/unix/ltmain.sh, builds/unix/configure.in, builds/unix/aclocal.m4: Updated. * builds/unix/configure: Regenerated.
Werner Lemberg a64c55b1 2001-05-12T06:40:50 formatting
David Turner ebe85f59 2001-05-11T14:25:57 * include/freetype/fttrigon.h, src/base/fttrigon.c, src/base/ftbase.c, src/base/Jamfile, src/base/rules.mk: adding trigonometric functions to the core API (using Cordic algorithms). * builds/top_level.mk, builds/newline, builds/detect.mk: fixed problems with Make on Windows 2000, as well as problems when "make distclean" is invoked on a non-Unix platform when there is no "config.mk" in the current directory.. * builds/freetype.mk: fixed a problem with object deletions under Dos/Windows/OS/2 systems * src/tools: added new directory to hold tools and test programs moved docmaker.py, glnames.py to it.. * src/tools/docmaker.py: improved the script to add the current date at the footer of each web page (useful to distinguish between versions) * Jamfile: fixed incorrect HDRMACRO argument. * TODO: removed the cubic arc bbox computation note, since it has been fixed recently.. * include/freetype/t1tables.h, include/freetype/config/ftoption.h: formatting
Werner Lemberg cfcfd3c4 2001-04-24T07:03:25 * builds/unix/config.guess, builds/unix/config.sub: Updated to latest versions from gnu.org.
Werner Lemberg 1429db6c 2001-04-02T23:54:01 * README: Formatting. * Jamfile: Fix typo. * src/cff/cffparse.c: Move error code #defines to... * include/freetype/internal/cfferrs.h: This file. * src/cff/cffdrivr.c, src/cff/cffobjs.c, src/cff/cffload.c: Replaced `FT_Err_*' with `CFF_Err_*'. * src/cid/cidparse.c: Replaced `FT_Err_*' with `T1_Err_*'. * src/psaux/psobjs.c, src/psaux/t1decode.c: Ditto. * src/sfnt/sfobcs.c, src/sfnt/ttload.c: Replaced `FT_Err_*' with `TT_Err_*'. * src/truetype/ttgload.c, src/truetype/ttobjs.c: Ditto. * src/type1/t1gload.c, src/type1/t1load.c, src/type1/t1objs.c, src/type1/t1parse.c: Replaced `FT_Err_*' with `T1_Err_*'. * include/freetype/internal/cfferrs.h: Add `CFF_Err_Unknown_File_Format'. * include/freetype/internal/t1errors.h: Add `T1_Err_Unknown_File_Format'. * include/freetype/internal/tterrors.h: Add `TT_Err_Unknown_File_Format'. * src/cff/cffload.h: Add `cff_*_encoding' and `cff_*_charset' references. * src/psaux/psobjs.c: Include `FT_INTERNAL_TYPE1_ERRORS_H'. * src/cff/cffobjs.c (CFF_Init_Face, CFF_Done_Face): Use FT_LOCAL_DEF. * src/cid/cidobjs.c (CID_Done_Driver): Ditto. * src/trutype/ttobjs.c (TT_Init_Face, TT_Done_Face, TT_Init_Size): Ditto. * src/type1/t1objs.c (T1_Done_Driver): Ditto. * src/pcf/pcfdriver.c (PCF_Done_Face): Ditto. * src/pcf/pcf.h: Use FT_LOCAL for `PCF_Done_Face'.
David Turner bbf33f30 2001-03-24T00:42:45 small Unix installation update
David Turner 8d3a401f 2001-03-20T11:14:24 * builds/*/*-def.mk: changed the objects directory from "obj" to "objs" * include/freetype/config/ftheader.h: removed obsolete macros like FT_SOURCE_FILE, etc.. and added cache-specific macro definitions that were previously defined in <freetype/ftcache.h>. Added comments to be included in a new API Reference section. * src/*/*: removed the use of FT_SOURCE_FILE, etc.. now, each component needs to added its own directory to the include path at compile time. Modified all "rules.mk" and "descrip.mms" accordingly..
Werner Lemberg 3de5b07c 2001-03-20T07:52:52 * builds/unix/configure.in: Add $ft_version. * builds/unix/freetype-config.in: Use it. * builds/unix/configure: Updated.
Werner Lemberg 29179a33 2001-03-04T22:10:36 * builds/unix/detect.mk: Add test for Hurd. * builds/hurd/detect.mk: Removed.
Werner Lemberg 20e862be 2001-02-14T08:31:55 * builds/unix/config.{guess,sub}: Updated (from ftp.gnu.org).
Werner Lemberg c7c2c91a 2001-01-12T05:32:04 * builds/unix/freetype-config.in: Fix problems with separate --prefix and --exec-prefix. more robust handling of pathname wildcard matching.
Werner Lemberg 594f0c96 2000-12-20T22:09:41 * *.mk: Added lots of `.PHONY' targets. * *.mk: Implemented `platform' target to disable auto-detection. Added support for clipped direct rendering in the smooth renderer. This should not break binary compatibility of existing applications. * include/freetype/fttypes.h, include/freetype/ftimage.h: Move definition of the FT_BBox structure from the former to the latter. * include/freetype/ftimage.h: Add `ft_raster_flag_clip' value to FT_Raster_Flag enumeration. Add `clip_box' element to FT_Raster_Params structure. * src/smooth/ftgrays.c (grays_convert_glyph): Implement it. * src/raster/ftraster.c (ft_black_render): Test for unsupported direct rendering before testing arguments.
Werner Lemberg 6b41954e 2000-12-13T09:21:59 * builds/unix/ftsystem.c: Fixed typos. Fixed inclusion of wrong ftconfig.h file.
Werner Lemberg d5c1b27d 2000-12-12T22:28:12 * include/freetype/config/ft2build.h (FT2_ROOT, FT2_CONFIG_ROOT): 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.
Werner Lemberg 6d5d719d 2000-12-12T06:36:55 * include/freetype/config/build.h (FT2_CONFIG_ROOT, FT2_PUBLIC_FILE, 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.
David Turner 8c8af31f 2000-12-04T23:28:14 fixed Unix installation
David Turner d3c8e064 2000-12-04T22:53:55 - 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..
Werner Lemberg 1e8b4ae5 2000-12-02T17:07:15 formatting
David Turner ac4cd951 2000-12-02T00:35:11 changes to allow compilation under Unix and Cygwin
David Turner aaac8133 2000-12-01T18:55:22 small updates to the documentation and the configure scripts to prepare the 2.0.1 release
Werner Lemberg 4c80f0c9 2000-12-01T17:25:58 * INSTALL: Revised. * 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', `setup'. * 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 though. 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).
Tom Kacvinsky e503527c 2000-11-12T02:55:25 Added a --libtool option, which returns the absolute path to the libtool convenience library.
Tom Kacvinsky d5d28f89 2000-11-11T08:29:17 Added INSTALL_PROGRAM := @INSTALL_PROGRAM@ INSTALL_SCRIPT := @INSTALL_SCRIPT@ So that the install of freetype-config does not fail.
Werner Lemberg 4af2f18c 2000-11-11T05:55:41 Minor fixes.
Werner Lemberg a82cd844 2000-11-10T22:43:37 Small fixes and formatting.
David Turner 73622119 2000-11-09T18:23:30 - changing the default include path from "include/freetype" to "include/freetype2" - adding template for the "freetype-config" script that is installed in the "bin" directory. It is used to retrieve information about the current installation path, C flags & linker flags
Werner Lemberg 88b2e6c3 2000-11-04T08:37:45 Ignore build files.
Werner Lemberg dc72aff4 2000-11-04T08:33:38 Finishing David's latest changes (there were some errors in it).
David Turner 76a5f623 2000-11-04T01:55:49 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
Werner Lemberg 098ab26c 2000-11-02T07:53:08 Moving FreeType license to doc dir. Adding GPL. Explaining double license in LICENSE.TXT Minor improvements to make system.
Werner Lemberg e4b32a5d 2000-10-31T20:42:18 Removing trailing whitespace.
Werner Lemberg cf4398a6 2000-10-30T19:22:09 minor formatting
David Turner 9b8f5c4c 2000-10-28T07:26:59 small updates: - reworked slightly the cache manager to better differentiate between the abstract class in "ftcglyph.h" and the FT_Glyph sub-class in "ftcimage.h", and slightly reduced the size of FTC_GlyphNodeRec, saving 8 bytes on a 32-bit system. Yes, I'm crazy ;-) - added build files to compile with LCC on Unix too (compile speeds _are_ insane with it). There is unfortunately a bug in the version I'm using (LCC 4.1) that prevents it to compile FT_MulTo64 correctly (in src/base/ftcalc.c) the generated assembly is incorrect, I don't know what to do ?? the build files are ok, though.. you should invoke "make setup lcc" to select them..
Werner Lemberg 3c7c5da3 2000-10-19T15:56:22 added development header files to CONFIG_H in the makefiles increased T1_MAX_CHARSTRINGS_OPERANDS (again) to 256 -- one glyph of the Chinese MingTiEG-Medium needs it that large
Werner Lemberg 47a5f41d 2000-10-17T03:38:43 Added copyright messages to all Makefiles. Added documentation to FT_Get_Sfnt_* stuff (in ftnames.[ch]) minor other doc fixes
Werner Lemberg e73d9957 2000-10-14T05:18:59 Enabled TT interpreter in development version of ftoption.h
David Turner 2c5b7ebf 2000-10-07T01:21:25 fixed a small bug in the uninstall mode
Werner Lemberg 6fbe4db6 2000-10-05T04:53:31 minor formatting issues
Werner Lemberg 8bb45ec8 2000-09-29T06:41:56 Fixing comment in unixddef.mk which caused a trailing blank. Adding a new error, FT_Err_Invalid_Pixel_Size (used in winfnt.c) Fixing FT_Read_Fields() which failed for ft_frame_{bytes,skip}. This bug disabled the Winfont driver. Minor formatting issues.
Werner Lemberg bd547dc6 2000-09-22T21:23:29 Clean up, formatting etc. Fixing rules for installing cache headers on Unix. Updating builds/unix/ftconfig.in.
David Turner 08a91fd0 2000-09-19T02:08:09 final touches. Cache seems working after all, though the default cache size of 300 Kb is certainly too high for now :-) Need to implement abstract chunk cache and bitmap chunck cache
David Turner 426984e4 2000-09-15T23:47:42 major revamp of the build system. Fixing the Unix Autoconf parts
David Turner 046f7a0c 2000-09-15T22:42:06 major revamp of the build system
Werner Lemberg d1b7475b 2000-08-24T16:29:15 Formatting, small fixes. Adding basic input parameter checking for exported functions.
Werner Lemberg 8728f294 2000-08-23T17:32:42 Formatting, small fixes. Adding copyright notices etc.
David Turner 38cb5af0 2000-08-22T22:51:57 changed the "devel" setup targets to use "builds/<system>/devel" as the build directory. This is used to specify a specific "ftoption.h" that toggles all traces and logging on. Hence, the default build doesn't need the traces
David Turner 38d979ce 2000-08-22T22:50:32 adding developer dir hierarchy
Werner Lemberg 29a90e26 2000-08-03T00:03:08 Updating unix/ftconfig.in to recent config/ftconfig.h changes. More C++ fixes: Introducing LOCAL_FUNC_X for local functions used in function pointers (there are no local anonymous functions in C++) and FT_CPLUSPLUS (instead of FT_EXPORT_VAR) to define linkage of structures which contain function pointers.
Werner Lemberg f28b7536 2000-08-02T01:10:59 Add missing header file.
Werner Lemberg 2d310502 2000-08-02T00:20:04 Forgot to run autoconf...
Werner Lemberg 07373c8d 2000-08-01T18:44:18 Fixed dec-osf compiler switches. From Tom.
Werner Lemberg c713d924 2000-08-01T13:17:04 Added #ifdef's for C++ to all header files.
Werner Lemberg b1dd3535 2000-07-31T22:51:00 Added autoconf tests FT_MUNMAP_DECL and FT_MUNMAP_PARAM to fix some devils. Updating unix/ftsystem.c accordingly. More warning fixes.
Werner Lemberg e72c9fec 2000-07-31T18:59:02 Simplifying the FIELD_* and FRAME_* macros. Before calling these macros, you should #define FT_STRUCTURE to the structure which will be filled. Replaced FT_FIELD_REF with FT_FIELD_SIZE, FT_FIELD_SIZE_DELTA, and FT_FIELD_OFFSET to make the code more readable; additionally, it should be more portable because we no longer cast a pointer to an FT_UShort (which e.g. fails with Sun's C++ compiler) but computes the difference between two pointers which is guaranteed to work. Fixing warnings (and C++ errors) while using Sun's latest cc and CC incarnations. Most of them are related to variable shadowing.
Werner Lemberg fd9777e9 2000-07-31T10:56:42 Making path of $INSTALL always absolute.
Werner Lemberg 98fba7cf 2000-07-30T20:21:22 Update to latest versions.
Werner Lemberg 28e6a8f7 2000-07-30T09:26:45 Applied a patch from Tom Kacvinsky (taken from the curren libtool CVS) to make it libtool run on OSF.
Werner Lemberg 58b17f96 2000-07-27T23:29:08 Formatting.
David Turner c5cdf8bc 2000-07-27T21:40:22 re-adding a "unix-dev.mk". Debugging libtool output is just too much of a pain for me, I prefer a good old static lib without optimizations :-) "make devel" is back on Unix then..
Werner Lemberg 321cd27d 2000-07-27T11:20:20 Removing compiler warnings about unused portions of code. Now unix.in uses absolute paths also to overcome problems with libtool. To do that in a consistent way I had to modify the rules how to handle $OBJ_DIR (and consequently $LIB_DIR): You should set $OBJ_DIR explicitly on the command line (or environment).
Werner Lemberg 796f9de2 2000-07-26T22:51:03 Updating to libtool 1.3.5.
Werner Lemberg a2a75b78 2000-07-26T21:47:19 Use `patsubst' instead of `subst' in cleaning rule to avoid problems with filenames which contain `lo' in its name (e.g. ahglobal.lo).
Werner Lemberg 7fd756d2 2000-07-24T06:03:58 Add `mkinstalldirs'.
Werner Lemberg a16d7155 2000-07-24T06:02:52 Unused files.
Werner Lemberg 04563546 2000-07-24T06:01:34 `make install' is available now. Formatting.
Werner Lemberg db578ae0 2000-07-23T21:27:52 Adding $(SO) and $(SA), denoting objects and library for a static build. This is currently used for Unix only -- it should be extended that it is possible to build DLLs and static libs on other platforms also. Formatting.
Werner Lemberg 42a29f2a 2000-07-22T06:59:36 For Unix platforms, `configure' will be always called now. The `devel' target no longer needs unix-dev.mk. Some other minor fixes.
Werner Lemberg e616d225 2000-07-20T16:06:54 Adding $(CFG) variable to pass configure script parameters. Fixing DLL version.
Werner Lemberg d060a75b 2000-07-20T06:57:41 Formatting. Rudimentary support for autoconf (still using GNU make) Say `make unix'.
David Turner b390a124 2000-07-10T00:13:39 removed some stupid #defines in <freetype/config/ftconfig.h>
David Turner a90663f5 2000-07-08T00:41:13 vast clean-up of the sources in order to allow flat directory compilation (by defining the FT_FLAT_COMPILE macro at compile time..) moved "freetype2/BUILD" to "freetype2/docs/BUILD"
David Turner 74043010 2000-07-08T00:22:20 renaming "freetype2/config" to "freetype2/builds"