Skip to content

Commit 81e25b0

Browse files
author
bfulgham
committed
Upgrade to CF-635.15
git-svn-id: http://svn.code.sf.net/p/opencflite/code/trunk@246 e824114e-66b8-4a2a-92bd-c737042b8df8
1 parent d87abd6 commit 81e25b0

File tree

188 files changed

+2407
-3610
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

188 files changed

+2407
-3610
lines changed

CFApplicationPreferences.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).

CFArray.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).
@@ -37,11 +37,10 @@
3737
*/
3838

3939
#include <CoreFoundation/CFArray.h>
40-
#include "CFPriv.h"
40+
#include <CoreFoundation/CFPriv.h>
4141
#include <CoreFoundation/CoreFoundation_Prefix.h>
4242
#include "CFInternal.h"
4343
#include <string.h>
44-
// NOT IN DIST: #include <CoreFoundation/CFVersionCheck.h>
4544

4645
const CFArrayCallBacks kCFTypeArrayCallBacks = {0, __CFTypeCollectionRetain, __CFTypeCollectionRelease, CFCopyDescription, CFEqual};
4746
static const CFArrayCallBacks __kCFNullArrayCallBacks = {0, NULL, NULL, NULL, NULL};
@@ -1095,10 +1094,11 @@ CFIndex CFArrayBSearchValues(CFArrayRef array, CFRange range, const void *value,
10951094
}
10961095
SInt32 lg = flsl(range.length) - 1; // lg2(range.length)
10971096
item = CFArrayGetValueAtIndex(array, range.location + -1 + (1 << lg));
1098-
CFIndex idx = range.location + ((CFComparisonResult)(INVOKE_CALLBACK3(comparator, item, value, context)) < 0) ? range.length - (1 << lg) : -1;
1097+
// idx will be the current probe index into the range
1098+
CFIndex idx = (comparator(item, value, context) < 0) ? range.length - (1 << lg) : -1;
10991099
while (lg--) {
11001100
item = CFArrayGetValueAtIndex(array, range.location + idx + (1 << lg));
1101-
if ((CFComparisonResult)(INVOKE_CALLBACK3(comparator, item, value, context)) < 0) {
1101+
if (comparator(item, value, context) < 0) {
11021102
idx += (1 << lg);
11031103
}
11041104
}

CFArray.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).

CFBag.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).

CFBag.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).

CFBase.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
* Copyright (c) 2009 Grant Erickson <gerickson@nuovations.com>. All rights reserved.
44
*
55
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under

CFBase.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
* Copyright (c) 2009 Grant Erickson <gerickson@nuovations.com>. All rights reserved.
44
*
55
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under

CFBasicHash.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2009-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2009-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).

CFBasicHash.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2009-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2009-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).

CFBinaryHeap.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).
@@ -37,7 +37,7 @@
3737
*/
3838

3939
#include <CoreFoundation/CFBinaryHeap.h>
40-
#include "CFPriv.h"
40+
#include <CoreFoundation/CFPriv.h>
4141
#include <CoreFoundation/CoreFoundation_Prefix.h>
4242
#include "CFInternal.h"
4343

CFBinaryHeap.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).

CFBinaryPList.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
* Copyright (c) 2009 Stuart Crook <stuart@echus.demon.co.uk>. All rights reserved.
44
*
55
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under

CFBitVector.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).

CFBitVector.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).

CFBuiltinConverters.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).

CFBundle.c

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
* Copyright (c) 2009 Grant Erickson <gerickson@nuovations.com>. All rights reserved.
44
*
55
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
@@ -44,12 +44,11 @@
4444
#include <CoreFoundation/CFURLAccess.h>
4545
#include <CoreFoundation/CFError.h>
4646
#include <string.h>
47-
#include "CFPriv.h"
47+
#include <CoreFoundation/CFPriv.h>
4848
#include <CoreFoundation/CoreFoundation_Prefix.h>
4949
#include "CFInternal.h"
5050
#include <CoreFoundation/CFByteOrder.h>
5151
#include <CoreFoundation/CFBundle_BinaryTypes.h>
52-
// NOT IN DIST: #include <CoreFoundation/CFVersionCheck.h>
5352
#include <ctype.h>
5453
#include <sys/stat.h>
5554
#include <stdlib.h>
@@ -4943,7 +4942,6 @@ __private_extern__ void *_CFBundleDLLGetSymbolByName(CFBundleRef bundle, CFStrin
49434942

49444943
/* Workarounds to be applied in the presence of certain bundles can go here. This is called on every bundle creation.
49454944
*/
4946-
CF_EXPORT void _CFStringSetCompatibility(CFOptionFlags);
49474945

49484946
static void _CFBundleCheckWorkarounds(CFBundleRef bundle) {
49494947
}

CFBundle.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).

CFBundlePriv.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).

CFBundle_BinaryTypes.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).

CFBundle_Internal.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).

CFBundle_Resources.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
* Copyright (c) 2009 David M. Cotter <me@davevcotter.com>. All rights reserved.
44
*
55
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
@@ -60,7 +60,7 @@
6060
#include "ForFoundationOnly.h"
6161
#include <CoreFoundation/CoreFoundation_Prefix.h>
6262
#include "CFInternal.h"
63-
#include "CFPriv.h"
63+
#include <CoreFoundation/CFPriv.h>
6464
#include <sys/stat.h>
6565
#include <fcntl.h>
6666
#include <stdio.h>

CFByteOrder.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).

CFCalendar.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).
@@ -107,7 +107,7 @@ __private_extern__ UCalendar *__CFCalendarCreateUCalendar(CFStringRef calendarID
107107
if (calendarID) {
108108
CFDictionaryRef components = CFLocaleCreateComponentsFromLocaleIdentifier(kCFAllocatorSystemDefault, localeID);
109109
CFMutableDictionaryRef mcomponents = CFDictionaryCreateMutableCopy(kCFAllocatorSystemDefault, 0, components);
110-
CFDictionarySetValue(mcomponents, kCFLocaleCalendarIdentifierKey, calendarID);
110+
CFDictionarySetValue(mcomponents, kCFLocaleCalendarIdentifier, calendarID);
111111
localeID = CFLocaleCreateLocaleIdentifierFromComponents(kCFAllocatorSystemDefault, mcomponents);
112112
CFRelease(mcomponents);
113113
CFRelease(components);
@@ -146,7 +146,7 @@ static void __CFCalendarZapCal(CFCalendarRef calendar) {
146146

147147
CFCalendarRef CFCalendarCopyCurrent(void) {
148148
CFLocaleRef locale = CFLocaleCopyCurrent();
149-
CFCalendarRef calID = (CFCalendarRef)CFLocaleGetValue(locale, kCFLocaleCalendarIdentifierKey);
149+
CFCalendarRef calID = (CFCalendarRef)CFLocaleGetValue(locale, kCFLocaleCalendarIdentifier);
150150
if (calID) {
151151
CFCalendarRef calendar = CFCalendarCreateWithIdentifier(kCFAllocatorSystemDefault, (CFStringRef)calID);
152152
CFCalendarSetLocale(calendar, locale);
@@ -162,7 +162,7 @@ CFCalendarRef CFCalendarCreateWithIdentifier(CFAllocatorRef allocator, CFStringR
162162
__CFGenericValidateType(identifier, CFStringGetTypeID());
163163
// return NULL until Chinese calendar is available
164164
if (identifier != kCFCalendarIdentifierGregorian && identifier != kCFCalendarIdentifierBuddhist && identifier != kCFCalendarIdentifierJapanese && identifier != kCFCalendarIdentifierIslamic && identifier != kCFCalendarIdentifierIslamicCivil && identifier != kCFCalendarIdentifierHebrew) {
165-
// if (identifier != kCFCalendarIdentifierGregorian && identifier != kCFCalendarIdentifierBuddhist && identifier != kCFCalendarIdentifierJapanese && identifier != kCFCalendarIdentifierIslamic && identifier != kCFCalendarIdentifierIslamicCivil && identifier != kCFCalendarIdentifierHebrew && identifier != kCFCalendarIdentifierChinese) {
165+
// if (identifier != kCFCalendarIdentifierGregorian && identifier != kCFCalendarIdentifierBuddhist && identifier != kCFCalendarIdentifierJapanese && identifier != kCFCalendarIdentifierIslamicCivil && identifier != kCFIslamicCivilCalendar && identifier != kCFCalendarIdentifierHebrew && identifier != kCFCalendarIdentifierChinese) {
166166
if (CFEqual(kCFCalendarIdentifierGregorian, identifier)) identifier = kCFCalendarIdentifierGregorian;
167167
else if (CFEqual(kCFCalendarIdentifierBuddhist, identifier)) identifier = kCFCalendarIdentifierBuddhist;
168168
else if (CFEqual(kCFCalendarIdentifierJapanese, identifier)) identifier = kCFCalendarIdentifierJapanese;

CFCalendar.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).

CFCharacterSet.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).

CFCharacterSet.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).

CFCharacterSetPriv.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).

CFConcreteStreams.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).
@@ -39,7 +39,7 @@
3939
#include "CFStreamInternal.h"
4040
#include <CoreFoundation/CoreFoundation_Prefix.h>
4141
#include "CFInternal.h"
42-
#include "CFPriv.h"
42+
#include <CoreFoundation/CFPriv.h>
4343
#include <CoreFoundation/CFNumber.h>
4444
#include <sys/types.h>
4545
#include <stdlib.h>

CFData.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).
@@ -37,7 +37,7 @@
3737
*/
3838

3939
#include <CoreFoundation/CFData.h>
40-
#include "CFPriv.h"
40+
#include <CoreFoundation/CFPriv.h>
4141
#include <CoreFoundation/CoreFoundation_Prefix.h>
4242
#include "CFInternal.h"
4343
#include <string.h>

CFData.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).

CFDate.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).

CFDate.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).

CFDateFormatter.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).

CFDateFormatter.h

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).
@@ -165,13 +165,13 @@ CF_EXPORT const CFStringRef kCFDateFormatterGregorianStartDate CF_AVAILABLE(10_5
165165
CF_EXPORT const CFStringRef kCFDateFormatterDoesRelativeDateFormattingKey CF_AVAILABLE(10_6, 4_0); // CFBoolean
166166

167167
// See CFLocale.h for these calendar constants:
168-
// const CFStringRef kCFGregorianCalendar;
169-
// const CFStringRef kCFBuddhistCalendar;
170-
// const CFStringRef kCFJapaneseCalendar;
171-
// const CFStringRef kCFIslamicCalendar;
172-
// const CFStringRef kCFIslamicCivilCalendar;
173-
// const CFStringRef kCFHebrewCalendar;
174-
// const CFStringRef kCFChineseCalendar;
168+
// const CFStringRef kCFCalendarIdentifierGregorian;
169+
// const CFStringRef kCFCalendarIdentifierBuddhist;
170+
// const CFStringRef kCFCalendarIdentifierJapanese;
171+
// const CFStringRef kCFCalendarIdentifierIslamic;
172+
// const CFStringRef kCFCalendarIdentifierIslamicCivil;
173+
// const CFStringRef kCFCalendarIdentifierHebrew;
174+
// const CFStringRef kCFCalendarIdentifierChinese;
175175
// const CFStringRef kCFRepublicOfChinaCalendar;
176176
// const CFStringRef kCFPersianCalendar;
177177
// const CFStringRef kCFIndianCalendar;

CFDictionary.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).

CFDictionary.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008-2011 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
2+
* Copyright (c) 2008-2012 Brent Fulgham <bfulgham@gmail.org>. All rights reserved.
33
*
44
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
55
* the terms of the APSL version 2.0 (see below).

0 commit comments

Comments
 (0)