• Home
  • History
  • Annotate
  • only in this directory
NameDateSize

..27-May-2015216

APPLE_LICENSEH A D15-Aug-201419.6 KiB

CFApplicationPreferences.cH A D15-Aug-201430.4 KiB

CFArray.cH A D15-Aug-201448.5 KiB

CFArray.hH A D15-Aug-201431.7 KiB

CFAvailability.hH A D15-Aug-20148.5 KiB

CFBag.cH A D15-Aug-201432.2 KiB

CFBag.hH A D15-Aug-20143.5 KiB

CFBase.cH A D15-Aug-201432.5 KiB

CFBase.hH A D15-Aug-201419.6 KiB

CFBasicHash.cH A D15-Aug-201475.8 KiB

CFBasicHash.hH A D15-Aug-20146.7 KiB

CFBasicHashFindBucket.mH A D15-Aug-20147.3 KiB

CFBigNumber.cH A D15-Aug-201418.8 KiB

CFBigNumber.hH A D15-Aug-20143.3 KiB

CFBinaryHeap.cH A D15-Aug-201417.6 KiB

CFBinaryHeap.hH A D15-Aug-201414.2 KiB

CFBinaryPList.cH A D15-Aug-201468 KiB

CFBitVector.cH A D15-Aug-201421.8 KiB

CFBitVector.hH A D15-Aug-20142.9 KiB

CFBuiltinConverters.cH A D15-Aug-201445.9 KiB

CFBundle.cH A D15-Aug-2014227.7 KiB

CFBundle.hH A D15-Aug-201416.2 KiB

CFBundle_BinaryTypes.hH A D15-Aug-20142.1 KiB

CFBundle_InfoPlist.cH A D15-Aug-201440.6 KiB

CFBundle_Internal.hH A D15-Aug-201414.6 KiB

CFBundle_Resources.cH A D15-Aug-2014116.9 KiB

CFBundlePriv.hH A D15-Aug-20149.6 KiB

CFBurstTrie.cH A D15-Aug-201478.9 KiB

CFBurstTrie.hH A D15-Aug-20147.8 KiB

CFByteOrder.hH A D15-Aug-20147.3 KiB

CFCalendar.cH A D15-Aug-201443.3 KiB

CFCalendar.hH A D15-Aug-20144.5 KiB

CFCharacterSet.cH A D15-Aug-2014134.7 KiB

CFCharacterSet.hH A D15-Aug-201418.9 KiB

CFCharacterSetBitmaps.bitmapH A D15-Aug-2014424.2 KiB

CFCharacterSetPriv.hH A D15-Aug-20143.8 KiB

CFConcreteStreams.cH A D15-Aug-201435 KiB

CFData.cH A D15-Aug-201432.7 KiB

CFData.hH A D15-Aug-20143 KiB

CFDate.cH A D15-Aug-201420.3 KiB

CFDate.hH A D15-Aug-20145.5 KiB

CFDateFormatter.cH A D15-Aug-2014104.8 KiB

CFDateFormatter.hH A D15-Aug-20148.3 KiB

CFDictionary.cH A D15-Aug-201433.5 KiB

CFDictionary.hH A D15-Aug-201433.2 KiB

CFError.cH A D15-Aug-201425.9 KiB

CFError.hH A D15-Aug-201413.9 KiB

CFError_Private.hH A D15-Aug-20142.2 KiB

CFFileUtilities.cH A D15-Aug-201436 KiB

CFICUConverters.cH A D15-Aug-201419.1 KiB

CFICUConverters.hH A D15-Aug-20142.2 KiB

CFICULogging.hH A D15-Aug-20144.4 KiB

CFInternal.hH A D15-Aug-201432.1 KiB

CFLocale.cH A D15-Aug-201456.6 KiB

CFLocale.hH A D15-Aug-20149.1 KiB

CFLocaleIdentifier.cH A D15-Aug-2014133.4 KiB

CFLocaleInternal.hH A D15-Aug-20147.7 KiB

CFLocaleKeys.cH A D15-Aug-201421.8 KiB

CFLogUtilities.hH A D15-Aug-20142.1 KiB

CFMachPort.cH A D15-Aug-201424.2 KiB

CFMachPort.hH A D15-Aug-20142.6 KiB

CFMessagePort.cH A D15-Aug-201451.8 KiB

CFMessagePort.hH A D15-Aug-20143.7 KiB

CFNumber.cH A D15-Aug-201464.4 KiB

CFNumber.hH A D15-Aug-20144.6 KiB

CFNumberFormatter.cH A D15-Aug-201460.5 KiB

CFNumberFormatter.hH A D15-Aug-20148.5 KiB

CFOldStylePList.cH A D15-Aug-201424.7 KiB

CFPlatform.cH A D15-Aug-201439.2 KiB

CFPlatformConverters.cH A D15-Aug-201410.3 KiB

CFPlugIn.cH A D15-Aug-20146.9 KiB

CFPlugIn.hH A D15-Aug-20146.2 KiB

CFPlugIn_Factory.cH A D15-Aug-201411.5 KiB

CFPlugIn_Factory.hH A D15-Aug-20142.6 KiB

CFPlugIn_Instance.cH A D15-Aug-20144.5 KiB

CFPlugIn_PlugIn.cH A D15-Aug-201412.2 KiB

CFPlugInCOM.hH A D15-Aug-20144.6 KiB

CFPreferences.cH A D15-Aug-201434.8 KiB

CFPreferences.hH A D15-Aug-20145.9 KiB

CFPriv.hH A D15-Aug-201430.7 KiB

CFPropertyList.cH A D15-Aug-2014132.5 KiB

CFPropertyList.hH A D15-Aug-20149.8 KiB

CFRunLoop.cH A D15-Aug-2014150.7 KiB

CFRunLoop.hH A D15-Aug-20149.8 KiB

CFRuntime.cH A D15-Aug-201462.3 KiB

CFRuntime.hH A D15-Aug-201415.6 KiB

CFSet.cH A D15-Aug-201432.2 KiB

CFSet.hH A D15-Aug-201421.5 KiB

CFSocket.cH A D15-Aug-2014139.5 KiB

CFSocket.hH A D15-Aug-201411.5 KiB

CFSocketStream.cH A D15-Aug-201411.3 KiB

CFSortFunctions.cH A D15-Aug-201413.4 KiB

CFStorage.cH A D15-Aug-201476.4 KiB

CFStorage.hH A D15-Aug-201414.4 KiB

CFStream.cH A D15-Aug-201480.8 KiB

CFStream.hH A D15-Aug-201413.7 KiB

CFStreamAbstract.hH A D15-Aug-201414.1 KiB

CFStreamInternal.hH A D15-Aug-20143.5 KiB

CFStreamPriv.hH A D15-Aug-20147.5 KiB

CFString.cH A D15-Aug-2014298.5 KiB

CFString.hH A D15-Aug-201446 KiB

CFStringDefaultEncoding.hH A D15-Aug-20142.5 KiB

CFStringEncodingConverter.cH A D15-Aug-201447.9 KiB

CFStringEncodingConverter.hH A D15-Aug-20146.1 KiB

CFStringEncodingConverterExt.hH A D15-Aug-20145.7 KiB

CFStringEncodingConverterPriv.hH A D15-Aug-20142.6 KiB

CFStringEncodingDatabase.cH A D15-Aug-201423.4 KiB

CFStringEncodingDatabase.hH A D15-Aug-20141.7 KiB

CFStringEncodingExt.hH A D15-Aug-201410.3 KiB

CFStringEncodings.cH A D15-Aug-201447.7 KiB

CFStringScanner.cH A D15-Aug-201410.8 KiB

CFStringUtilities.cH A D15-Aug-201433 KiB

CFSystemDirectories.cH A D15-Aug-20143.8 KiB

CFTimeZone.cH A D15-Aug-201453.5 KiB

CFTimeZone.hH A D15-Aug-20143.4 KiB

CFTree.cH A D15-Aug-201417 KiB

CFTree.hH A D15-Aug-201414.4 KiB

CFUniChar.cH A D15-Aug-201458.2 KiB

CFUniChar.hH A D15-Aug-20149.8 KiB

CFUniCharPriv.hH A D15-Aug-20141.7 KiB

CFUniCharPropertyDatabase.dataH A D15-Aug-201431 KiB

CFUnicodeData-B.mappingH A D15-Aug-201488.6 KiB

CFUnicodeData-L.mappingH A D15-Aug-201488.6 KiB

CFUnicodeDecomposition.cH A D15-Aug-201417.1 KiB

CFUnicodeDecomposition.hH A D15-Aug-20142.2 KiB

CFUnicodePrecomposition.cH A D15-Aug-201412.4 KiB

CFUnicodePrecomposition.hH A D15-Aug-20141.7 KiB

CFURL.cH A D15-Aug-2014210.7 KiB

CFURL.hH A D15-Aug-201467.1 KiB

CFURL.inc.hH A D15-Aug-201415.7 KiB

CFURLAccess.cH A D15-Aug-201430.2 KiB

CFURLAccess.hH A D15-Aug-20146.6 KiB

CFURLPriv.hH A D15-Aug-201434.3 KiB

CFUserNotification.cH A D15-Aug-201423.4 KiB

CFUserNotification.hH A D15-Aug-20147.9 KiB

CFUtilities.cH A D15-Aug-201442.6 KiB

CFUtilities.hH A D15-Aug-20141.4 KiB

CFUUID.cH A D15-Aug-201416.5 KiB

CFUUID.hH A D15-Aug-20143.4 KiB

CFVersion.cH A D15-Aug-20141.3 KiB

CFWindowsUtilities.cH A D15-Aug-20144.7 KiB

CFXMLInputStream.cH A D15-Aug-201429.6 KiB

CFXMLInputStream.hH A D15-Aug-20145.8 KiB

CFXMLNode.cH A D15-Aug-201418.4 KiB

CFXMLNode.hH A D15-Aug-20148.4 KiB

CFXMLParser.cH A D15-Aug-201491.2 KiB

CFXMLParser.hH A D15-Aug-201414.6 KiB

CFXMLPreferencesDomain.cH A D15-Aug-201422.1 KiB

CFXMLTree.cH A D15-Aug-201412 KiB

CoreFoundation.hH A D15-Aug-20143.4 KiB

CoreFoundation_Prefix.hH A D15-Aug-201417.1 KiB

Examples/H15-Aug-20143

ForFoundationOnly.hH A D15-Aug-201429.9 KiB

Info.plistH A D15-Aug-2014756

MakefileH A D15-Aug-20144.8 KiB

MakefileLinuxH A D15-Aug-20143.8 KiB

MakefileVersionH A D15-Aug-201415

plconvert.cH A D15-Aug-20145.1 KiB

PropertyList.dtdH A D15-Aug-20141 KiB

README_CFLITEH A D15-Aug-20143.2 KiB

SymbolAliasesH A D15-Aug-20146.5 KiB

TargetConditionals.hH A D15-Aug-2014478

README_CFLITE

1What is CFLite?
2**** **** **** **** ****
3
4CFLite is an open source version of the CoreFoundation framework found on Mac OS X and iOS. It is designed to be simple and portable. For example, it can be used on other platforms to read and write property lists that may come from Mac OS X or iOS.
5
6It is important to note that this version is not the exact same version as is used on Mac OS X or iOS, but they do share a significant amount of code.
7
8How to Contact the CFLite Team
9**** **** **** **** ****
10
11If you have patches, or enhancement requests, please file a bug report here:
12	https://bugreport.apple.com
13	
14Please include as much detail as possible in your bug report, including platform, compiler, CFLite version, and a test case if appropriate. Mention that the bug should be sent to CoreFoundation in your descriptioon.
15
16
17Building and Installing CFLite
18**** **** **** **** ****
19
20On Mac OS X / Darwin
21---- ---- ---- ---- ----
22
23Use the default Makefile:
24
25% make
26
27This will create a CoreFoundation.framework, containing the shared library, header files, and resources. You can link to this library and use it at runtime by setting the DYLD_FRAMEWORK_PATH environment variable. 'man dyld' will give more information about this.
28
29An application must not link both this version of CFLite and the installed version of CoreFoundation. They are not compatible. CFLite will also not work with Foundation or any higher-level Cocoa framework that depends on the installed CoreFoundation.
30
31On Linux
32---- ---- ---- ---- ----
33
34First, you will need to fetch a few dependencies of CoreFoundation.
35
36* clang compiler 2.8 or later
37   http://clang.llvm.org/
38
39  CoreFoundation use the clang compiler to support modern features like Blocks.
40
41* libBlocksRuntime
42   http://compiler-rt.llvm.org/
43  
44  This small shared library supports Blocks at runtime. You will need the 'cmake' utility (http://www.cmake.org/) to build this. It is recommended to install this library in /usr/local/lib and put the headers in /usr/local/include.
45
46* ICU 4.4 or later (ICU4C, the C version, not ICU4J, the Java version)
47   http://site.icu-project.org/download
48
49  ICU is used for locales, time zones, calendars, and unicode support in CoreFoundation. Again, it is recommended to install this library in /usr/local/lib.
50
51Once you have the dependencies in place, build CFLite using the Linux Makefile:
52
53% sudo make -f MakefileLinux install
54
55This will create and install these files:
56
57/usr/local/lib/libCoreFoundation.so
58/usr/local/include/CoreFoundation/<header files>
59/usr/local/include/TargetConditionals.h
60/usr/local/share/CoreFoundation/<resource files>
61
62Make sure to set LD_LIBRARY_PATH environment variable to include /usr/local/lib when using an executable that has linked CFLite.
63
64On Windows
65---- ---- ---- ---- ----
66
67CFLite does not yet fully support Windows. The primary missing dependency is a version of clang that can build a dynamically linked library (.DLL) that supports the Windows executable format.
68
69Using CFLite
70**** **** **** **** ****
71
72The Mac OS X version of CFLite supports most of the functionality of the full CoreFoundation. The Linux version of CFLite focuses on strings, dates, collections, and other property-list related items.
73
74There is an example of using CFLite on linux to process property lists in the 'plconvert.c' file.
75