kc3-lang/freetype/builds/unix/ftsystem.c

Branch :


Log

Author Commit Date CI Message
a7c5de59 2009-01-22 04:00:32 * builds/unix/ftsystem.c: Fix 2 error messages ending without LINEFEED
66043b1c 2008-12-22 18:09:48 * builds/unix/ftsystem.c (FT_Stream_Open): Reject zero-length files. Patch from Savannah bug #25151.
cb37b3b3 2007-06-01 06:49:03 * builds/unix/ftsystem.c (FT_Stream_Open): Don't use ULONG_MAX but LONG_MAX to avoid compiler warning. Suggested by Sean McBride.
5077e83e 2007-05-04 06:13:46 * builds/unix/ftsystem.c (FT_Stream_Open): Handle return value 0 of mmap (which might happen on some RTOS). From Savannah patch #5909.
14ffe091 2007-03-22 06:12:43 formatting
dabf0535 2007-03-22 05:23:53 Temporal fix for 32bit unsigned long overflow on LP64 platform
28b55a9b 2006-05-11 03:01:42 (FT_Stream_Open): Check errno only if read system call returns -1. Remove a redundant parenthesis.
b80d85fe 2006-05-10 04:47:35 * builds/unix/ftsystem.c (FT_Stream_Open): Avoid infinite loop if given an empty, un-mmap()able file. Reported and suggested fix in Savannah bug #16555.
7f049f42 2006-02-25 16:52:16 Formatting, copyright years.
de271ab8 2006-02-25 14:53:02 * builds/unix/ftsystem.c, include/freetype/config/ftheader.h, include/freetype/internal/services/svotval.h, include/freetype/internal/services/svpfr.h, src/base/ftsystem.c, src/bdf/bdfdrivr.c, src/cache/ftcbasic.c, src/cff/cffcmap.c, src/gzip/ftgzip.c, src/lzw/ftlzw.c, src/lzw/ftlzw2.c, src/psaux/t1cmap.c, src/sfnt/ttbdf.c, src/smooth/ftgrays.c: solved -Wmissing-prototypes warnings with GCC
1a293d6c 2005-11-18 08:23:06 * src/sfnt/ttload.c (tt_face_load_metrics): Ignore excess number of metrics instead of aborting. Patch suggested by Derek Noonburg.
cb182381 2005-11-18 04:29:31 * builds/unix/ftsystem.c (FT_Stream_Open, FT_New_Memory, FT_Done_Memory), builds/vms/ftsystem.c (FT_Stream_Open, FT_New_Memory, FT_Done_Memory), builds/win32/ftdebug.c (FT_Message, FT_Panic): s/FT_EXPORT/FT_BASE/.
9fbd2ab8 2005-10-28 16:14:14 - various performance enhancements - fixing apinames.c, adding support for Watcom and Borland compilers - adding generation of exported symbols list to the build system, including the Unix one !! sorry Werner, I have no time to document this in ChangeLog at the moment
cc7cab81 2004-12-28 23:08:51 * builds/unix/ftsystem.c (FT_Stream_Open): Add proper cast for ft_alloc. Fix compiler warning.
d1d2b458 2004-02-16 09:38:05 * builds/unix/ftsystem.c: Include errno.h. (ft_close_stream): Renamed to... (ft_close_stream_by_munmap): This. (ft_close_stream_by_free): New function. (FT_Stream_Open): Use fallback method if mmap fails. Use proper function for closing the stream. * src/type1/t1load.c (parse_dict): Initialize `start_binary'.
b1e6e597 2002-03-29 07:43:04 * builds/vms/ftconfig.h: Rename LOCAL_DEF and LOCAL_FUNC to FT_LOCAL and FT_LOCAL_DEF, respectively, as with other ftconfig.h files. * builds/unix/ftconfig.in: Add argument to FT_LOCAL and FT_LOCAL_DEF. * src/truetype/ttinterp.c: s/FT_Assert/FT_ASSERT/. * builds/unix/configure.ac: Temporarily deactivate creation of ../../Jamfile. * builds/unix/configure: Updated.
53b3fa1d 2002-02-24 05:26:57 * renaming stream functions to the FT_Subject_Action scheme: FT_Seek_Stream => FT_Stream_Seek FT_Skip_Stream => FT_Stream_Skip FT_Read_Stream => FT_Stream_Read FT_Read_Stream_At => FT_Stream_Read_At FT_Access_Frame => FT_Stream_Enter_Frame FT_Forget_Frame => FT_Stream_Exit_Frame FT_Extract_Frame => FT_Stream_Extract_Frame FT_Release_Frame => FT_Stream_Release_Frame FT_Get_XXXX => FT_Stream_Get_XXXX FT_Read_XXXX => FT_Stream_Read_XXXX note also that: FT_New_Stream( filename, stream ) => FT_Stream_Open( stream, filename ) (the function doesn't create the FT_Stream structure, it simply initializes it for reading) FT_New_Memory_Stream( library, FT_Byte* base, size, stream ) => FT_Stream_Open_Memory( stream, const FT_Byte* base, size ) FT_Done_Stream => FT_Stream_Close note that the name of the stream methods, defined in "include/freetype/ftsystem.h" have also been changed without problems: FT_Stream_IO => FT_Stream_IOFunc FT_Stream_Close => FT_Stream_CloseFunc
7fe38a51 2002-01-04 09:47:30 remove compiler warnings and a typo in builds/unix/ftsystem.c
1a0a9793 2002-01-03 22:06:13 * src/type1/t1objs.c (T1_Face_Init): Add cast to avoid compiler warning.
c48bf37b 2002-01-03 17: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..
7bb92766 2001-10-24 14:43:40 In function FT_New_Memory, added a missing `}'.
5a1de37e 2001-10-24 07: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 !!
415235df 2001-06-28 17:49:10 finishing function header formatting updating copyrights
4a2305cf 2001-06-28 07:17:51 formatting
f814d0fa 2001-06-27 16:18:10 First round in converting type foo ( ... ) to type foo ( ... ) Other minor formatting issues.
dee78134 2001-06-27 09: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
6b41954e 2000-12-13 09:21:59 * builds/unix/ftsystem.c: Fixed typos. Fixed inclusion of wrong ftconfig.h file.
d5c1b27d 2000-12-12 22: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.
dc72aff4 2000-11-04 08:33:38 Finishing David's latest changes (there were some errors in it).
76a5f623 2000-11-04 01: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
e4b32a5d 2000-10-31 20:42:18 Removing trailing whitespace.
29a90e26 2000-08-03 00: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.
f28b7536 2000-08-02 01:10:59 Add missing header file.
b1dd3535 2000-07-31 22:51:00 Added autoconf tests FT_MUNMAP_DECL and FT_MUNMAP_PARAM to fix some devils. Updating unix/ftsystem.c accordingly. More warning fixes.
e72c9fec 2000-07-31 18: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.
58b17f96 2000-07-27 23:29:08 Formatting.
c5cdf8bc 2000-07-27 21: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..
d060a75b 2000-07-20 06:57:41 Formatting. Rudimentary support for autoconf (still using GNU make) Say `make unix'.
74043010 2000-07-08 00:22:20 renaming "freetype2/config" to "freetype2/builds"