freetype/src/base
suzuki toshiya c081a4a932 [raccess] Grouping resource access rules based on Darwin VFS.
MacOS X/Darwin kernel supports a few tricky methods to access
a resource fork via ANSI C or POSIX interface.  Current resource
fork accessor tries all possible methods to support all kernels.
But if a method could open a resource fork but no font is found,
there is no need to try other methods older than tested method.
To determine whether the rule index is for Darwin VFS, a local
function ftrfork.c::raccess_rule_by_darwin_vfs() is introduced.
To use this function in ftobjs.c etc but it should be inlined,
it is exposed by ftbase.h.

* src/base/ftrfork.c (FT_RFork_Rule): New enum type to identify
the rules to access the resource fork.
(raccess_guess_rec): New structure to bind the rule function and
rule enum type.
(FT_Raccess_Guess): The list of the rule functions is replaced by
(raccess_guess_table): This.  This is exposed to be used by other
intra module functions.
(raccess_rule_by_darwin_vfs): A function to return a boolean
if the rule specified by the rule index is based on Darwin VFS.
2010-10-13 17:05:42 +09:00
..
basepic.c Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
basepic.h Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
ftadvanc.c base: Prevent some overflows on LP64 systems. 2009-08-01 00:30:24 +09:00
ftapi.c Remove trailing whitespace. From Alexei. 2007-01-16 06:11:27 +00:00
ftbase.c Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
ftbase.h [raccess] Grouping resource access rules based on Darwin VFS. 2010-10-13 17:05:42 +09:00
ftbbox.c Documentation typo. 2010-01-09 08:14:26 +01:00
ftbdf.c * include/freetype/ftbitmap.h (FT_Bitmap_Copy, FT_Bitmap_Embolden), 2005-10-20 02:13:46 +00:00
ftbitmap.c Improve bitmap size or pixel variables for 16-bit systems. 2009-08-01 00:32:06 +09:00
ftcalc.c Improve bitmap size or pixel variables for 16-bit systems. 2009-08-01 00:32:06 +09:00
ftcid.c Extend CID service functions to handle CID-keyed CFFs as CID fonts. 2009-03-11 21:29:54 +00:00
ftdbgmem.c Fix compiler warning. 2009-12-20 17:56:22 +01:00
ftdebug.c Formatting. 2008-11-29 09:31:44 +00:00
ftfstype.c Formatting, copyright years. 2009-03-03 21:35:32 +00:00
ftgasp.c formatting, copyright years and messages, doc polishing 2007-01-09 10:37:36 +00:00
ftgloadr.c Remove C++ warnings. 2010-07-12 21:13:22 +02:00
ftglyph.c Remove C++ warnings. 2010-07-12 21:13:22 +02:00
ftgxval.c Fix various memory problems found by linuxtesting.org. 2010-05-22 20:03:41 +02:00
ftinit.c Formatting. 2010-06-08 08:37:11 +02:00
ftlcdfil.c Add new function `FT_Library_SetLcdFilterWeights'. 2010-04-05 08:46:26 +02:00
ftmac.c Minor fixes. 2009-01-06 06:59:36 +00:00
ftmm.c Fix some FreeType Coverity issues as reported for Ghostscript. 2009-03-12 08:07:49 +00:00
ftobjs.c Minor doc fixes, formatting. 2010-08-06 20:07:36 +02:00
ftotval.c Fix various memory problems found by linuxtesting.org. 2010-05-22 20:03:41 +02:00
ftoutln.c Fix valgrind warning. 2010-06-27 15:10:15 +02:00
ftpatent.c Another clang fix. 2010-01-05 20:48:57 +01:00
ftpfr.c Fix various memory problems found by linuxtesting.org. 2010-05-22 20:03:41 +02:00
ftpic.c Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
ftrfork.c [raccess] Grouping resource access rules based on Darwin VFS. 2010-10-13 17:05:42 +09:00
ftsnames.c ftnames.c -> ftsnames.c 2009-04-04 09:20:14 +02:00
ftstream.c Fix Savannah bug #30644. 2010-08-04 15:54:55 +02:00
ftstroke.c Apply reports from clang static analyzer. 2010-01-05 20:00:35 +01:00
ftsynth.c Fix minor issues reported by <muktha.narayan@wipro.com>. 2010-09-13 07:32:22 +02:00
ftsystem.c Prevent to open a FT_Stream for zero-sized file on non-Unix. 2010-10-13 16:21:59 +09:00
fttrigon.c base: Prevent some overflows on LP64 systems. 2009-08-01 00:30:24 +09:00
fttype1.c Add new function FT_Get_PS_Font_Private(). 2004-11-12 07:02:45 +00:00
ftutil.c fixing implementation bug in ft_mem_strcpyn 2007-03-08 10:50:38 +00:00
ftwinfnt.c Documentation updates, whitespace. 2004-12-13 23:16:59 +00:00
ftxf86.c Documentation updates, whitespace. 2004-12-13 23:16:59 +00:00
Jamfile Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
rules.mk ftnames.c -> ftsnames.c 2009-04-04 09:20:14 +02:00