adium 4767:1ce3b2b26041: Fribidi and SR from Xcode projects to f...
commits at adium.im
commits at adium.im
Sat Apr 7 22:00:11 UTC 2012
details: http://hg.adium.im/adium/rev/1ce3b2b26041
revision: 4767:1ce3b2b26041
branch: (none)
author: Adrian Godoroja <robotive at me.com>
date: Sun Apr 08 00:58:50 2012 +0300
Fribidi and SR from Xcode projects to framework bundles.
diffs (truncated from 4867 to 1000 lines):
diff -r 15b9e88f3fbc -r 1ce3b2b26041 Adium.xcodeproj/project.pbxproj
--- a/Adium.xcodeproj/project.pbxproj Fri Apr 06 21:24:07 2012 -0400
+++ b/Adium.xcodeproj/project.pbxproj Sun Apr 08 00:58:50 2012 +0300
@@ -370,8 +370,6 @@
346545BA0C8F71380046ED68 /* AMPurpleJabberAdHocCommand.m in Sources */ = {isa = PBXBuildFile; fileRef = 346545B80C8F71380046ED68 /* AMPurpleJabberAdHocCommand.m */; };
346545CB0C8F73000046ED68 /* AMPurpleJabberAdHocPing.h in Headers */ = {isa = PBXBuildFile; fileRef = 346545C90C8F73000046ED68 /* AMPurpleJabberAdHocPing.h */; };
346545CC0C8F73000046ED68 /* AMPurpleJabberAdHocPing.m in Sources */ = {isa = PBXBuildFile; fileRef = 346545CA0C8F73000046ED68 /* AMPurpleJabberAdHocPing.m */; };
- 346636AC0D415440006C9034 /* FriBidi.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3466368B0D41541A006C9034 /* FriBidi.framework */; };
- 346637690D415457006C9034 /* FriBidi.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = 3466368B0D41541A006C9034 /* FriBidi.framework */; };
346935D60BA6C89D00E1CF7E /* AIFileTransferProgressOutlineView.m in Sources */ = {isa = PBXBuildFile; fileRef = 346935D40BA6C89D00E1CF7E /* AIFileTransferProgressOutlineView.m */; };
346BA33F0774C27400628F06 /* ESGlobalEventsPreferencesPlugin.m in Sources */ = {isa = PBXBuildFile; fileRef = 346BA33D0774C27400628F06 /* ESGlobalEventsPreferencesPlugin.m */; };
346BA3450774C2D200628F06 /* ESGlobalEventsPreferences.m in Sources */ = {isa = PBXBuildFile; fileRef = 346BA3430774C2D200628F06 /* ESGlobalEventsPreferences.m */; };
@@ -1434,12 +1432,14 @@
81E45D760C15BFF800B7381B /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 34E839050583207E00F2AADB /* SystemConfiguration.framework */; };
9718DF45136A2C5200013760 /* AIImageCollectionView.h in Headers */ = {isa = PBXBuildFile; fileRef = 9718DF43136A2C5200013760 /* AIImageCollectionView.h */; settings = {ATTRIBUTES = (Public, ); }; };
9718DF46136A2C5200013760 /* AIImageCollectionView.m in Sources */ = {isa = PBXBuildFile; fileRef = 9718DF44136A2C5200013760 /* AIImageCollectionView.m */; };
+ 9719C92C1530EDF700217FBE /* FriBidi.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9719C92B1530EDF700217FBE /* FriBidi.framework */; };
+ 9719C92E1530EE0C00217FBE /* ShortcutRecorder.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9719C92D1530EE0C00217FBE /* ShortcutRecorder.framework */; };
+ 9719C92F1530EE4800217FBE /* FriBidi.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = 9719C92B1530EDF700217FBE /* FriBidi.framework */; };
+ 9719C9301530EE4800217FBE /* ShortcutRecorder.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = 9719C92D1530EE0C00217FBE /* ShortcutRecorder.framework */; };
9722ABC813257D7F00CAB486 /* ContactListWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 9722ABC713257D7F00CAB486 /* ContactListWindow.xib */; };
- 9744E74B152E20EE0067FEA2 /* ShortcutRecorder.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9744E748152E1E3C0067FEA2 /* ShortcutRecorder.framework */; };
9760D24613E49A560031FA1A /* AboutDialog_bg.png in Resources */ = {isa = PBXBuildFile; fileRef = 9760D24513E49A560031FA1A /* AboutDialog_bg.png */; };
979AA6A714D59DC8008730DF /* AIBoolToControlTextColorTransformer.h in Headers */ = {isa = PBXBuildFile; fileRef = 979AA6A514D59DC8008730DF /* AIBoolToControlTextColorTransformer.h */; settings = {ATTRIBUTES = (); }; };
979AA6A814D59DC8008730DF /* AIBoolToControlTextColorTransformer.m in Sources */ = {isa = PBXBuildFile; fileRef = 979AA6A614D59DC8008730DF /* AIBoolToControlTextColorTransformer.m */; };
- 979F8ECE1530333C000E7636 /* ShortcutRecorder.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = 9744E748152E1E3C0067FEA2 /* ShortcutRecorder.framework */; };
97AF5CDB13191DE200550C41 /* AIContactListUserPictureMenuController.m in Sources */ = {isa = PBXBuildFile; fileRef = 97AF5CDA13191DE200550C41 /* AIContactListUserPictureMenuController.m */; };
97AF5CF413191E9A00550C41 /* ContactListChangeUserPictureMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 97AF5CF313191E9A00550C41 /* ContactListChangeUserPictureMenu.xib */; };
97E4B4FF13E7490000A8BA53 /* AboutDialog_transp_btm.png in Resources */ = {isa = PBXBuildFile; fileRef = 97E4B4FB13E7490000A8BA53 /* AboutDialog_transp_btm.png */; };
@@ -1534,13 +1534,6 @@
remoteGlobalIDString = 31C460380DE1D17100C4265B;
remoteInfo = StressTester;
};
- 3466368A0D41541A006C9034 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 346636860D41541A006C9034 /* FriBidi.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 8DC2EF5B0486A6940098B216;
- remoteInfo = FriBidi;
- };
3496A8ED07CE6CCB0055BBAB /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 3496A8E707CE6CA30055BBAB /* AutoHyperlinks.framework.xcodeproj */;
@@ -1590,13 +1583,6 @@
remoteGlobalIDString = 8DC2EF4F0486A6940098B216;
remoteInfo = AutoHyperlinks.framework;
};
- 639DFB5F0F981FA8003C9A32 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 346636860D41541A006C9034 /* FriBidi.xcodeproj */;
- proxyType = 1;
- remoteGlobalIDString = 8DC2EF4F0486A6940098B216;
- remoteInfo = FriBidi;
- };
639DFB630F981FCB003C9A32 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */;
@@ -1618,20 +1604,6 @@
remoteGlobalIDString = 7EA3B0440DD1153F002A18D1;
remoteInfo = Test;
};
- 9744E747152E1E3C0067FEA2 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 9744E73E152E1E3C0067FEA2 /* ShortcutRecorder.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 939837800DA42965007F53F3;
- remoteInfo = ShortcutRecorder.framework;
- };
- 9744E749152E1E3C0067FEA2 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 9744E73E152E1E3C0067FEA2 /* ShortcutRecorder.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 93983B220DA43C4E007F53F3;
- remoteInfo = ShortcutRecorder_Tester;
- };
EFB1C3D70DDCA0A900B3973D /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 3496A8E707CE6CA30055BBAB /* AutoHyperlinks.framework.xcodeproj */;
@@ -1656,14 +1628,12 @@
dstPath = "";
dstSubfolderSpec = 10;
files = (
- 979F8ECE1530333C000E7636 /* ShortcutRecorder.framework in Copy Frameworks */,
116E369A10B72934002EDB0F /* Growl.framework in Copy Frameworks */,
118A44540FEEA82E008153C0 /* libjson-glib.framework in Copy Frameworks */,
633404710F9C18EF003C77A9 /* AIUtilities.framework in Copy Frameworks */,
639DF9D80F97E678003C9A32 /* AdiumLibpurple.framework in Copy Frameworks */,
11879E0A0F6FFC1000CACFB1 /* OAuthConsumer.framework in Copy Frameworks */,
11EE1CCF0CDD01120097F246 /* libglib.framework in Copy Frameworks */,
- 346637690D415457006C9034 /* FriBidi.framework in Copy Frameworks */,
11EE1CD00CDD01120097F246 /* libgmodule.framework in Copy Frameworks */,
11EE1CD10CDD01120097F246 /* libgobject.framework in Copy Frameworks */,
11EE1CD20CDD01120097F246 /* libgthread.framework in Copy Frameworks */,
@@ -1673,6 +1643,8 @@
EE5754ED0B3D7A7A00100989 /* Sparkle.framework in Copy Frameworks */,
377ED0220AE95D7D00CB7BDF /* PSMTabBarControl.framework in Copy Frameworks */,
9E1E1E270A96770C00E16DFC /* LMX.framework in Copy Frameworks */,
+ 9719C92F1530EE4800217FBE /* FriBidi.framework in Copy Frameworks */,
+ 9719C9301530EE4800217FBE /* ShortcutRecorder.framework in Copy Frameworks */,
7E6F8ACD105613AD00C6D80D /* libotr.framework in Copy Frameworks */,
F51BCD3B0A156261000FDC06 /* AutoHyperlinks.framework in Copy Frameworks */,
3419FE230531586A00C68BA3 /* Adium.framework in Copy Frameworks */,
@@ -2916,7 +2888,6 @@
346545B80C8F71380046ED68 /* AMPurpleJabberAdHocCommand.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AMPurpleJabberAdHocCommand.m; path = "Plugins/Purple Service/AMPurpleJabberAdHocCommand.m"; sourceTree = "<group>"; };
346545C90C8F73000046ED68 /* AMPurpleJabberAdHocPing.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AMPurpleJabberAdHocPing.h; path = "Plugins/Purple Service/AMPurpleJabberAdHocPing.h"; sourceTree = "<group>"; };
346545CA0C8F73000046ED68 /* AMPurpleJabberAdHocPing.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AMPurpleJabberAdHocPing.m; path = "Plugins/Purple Service/AMPurpleJabberAdHocPing.m"; sourceTree = "<group>"; };
- 346636860D41541A006C9034 /* FriBidi.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = FriBidi.xcodeproj; path = "Frameworks/FriBidi Framework/FriBidi.xcodeproj"; sourceTree = "<group>"; };
346935D30BA6C89D00E1CF7E /* AIFileTransferProgressOutlineView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AIFileTransferProgressOutlineView.h; path = Source/AIFileTransferProgressOutlineView.h; sourceTree = "<group>"; };
346935D40BA6C89D00E1CF7E /* AIFileTransferProgressOutlineView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AIFileTransferProgressOutlineView.m; path = Source/AIFileTransferProgressOutlineView.m; sourceTree = "<group>"; };
34695FA20A89BA2B00E3B0D0 /* zh_TW */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = zh_TW; path = Resources/zh_TW.lproj/PersonalPreferences.nib; sourceTree = "<group>"; };
@@ -4599,8 +4570,9 @@
81DAED510C26F4F700780E4C /* AMPurpleJabberServiceDiscoveryBrowsing.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AMPurpleJabberServiceDiscoveryBrowsing.m; path = "Plugins/Purple Service/AMPurpleJabberServiceDiscoveryBrowsing.m"; sourceTree = "<group>"; };
9718DF43136A2C5200013760 /* AIImageCollectionView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AIImageCollectionView.h; path = "Frameworks/AIUtilities Framework/Source/AIImageCollectionView.h"; sourceTree = "<group>"; };
9718DF44136A2C5200013760 /* AIImageCollectionView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AIImageCollectionView.m; path = "Frameworks/AIUtilities Framework/Source/AIImageCollectionView.m"; sourceTree = "<group>"; };
+ 9719C92B1530EDF700217FBE /* FriBidi.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = FriBidi.framework; path = Frameworks/FriBidi.framework; sourceTree = "<group>"; };
+ 9719C92D1530EE0C00217FBE /* ShortcutRecorder.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ShortcutRecorder.framework; path = Frameworks/ShortcutRecorder.framework; sourceTree = "<group>"; };
9722ABC713257D7F00CAB486 /* ContactListWindow.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ContactListWindow.xib; path = Resources/ContactListWindow.xib; sourceTree = "<group>"; };
- 9744E73E152E1E3C0067FEA2 /* ShortcutRecorder.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = ShortcutRecorder.xcodeproj; path = Frameworks/ShortcutRecorder/ShortcutRecorder.xcodeproj; sourceTree = "<group>"; };
9760D24513E49A560031FA1A /* AboutDialog_bg.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = AboutDialog_bg.png; path = Resources/AboutDialog_bg.png; sourceTree = "<group>"; };
979AA6A514D59DC8008730DF /* AIBoolToControlTextColorTransformer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AIBoolToControlTextColorTransformer.h; path = "Frameworks/Adium Framework/Source/AIBoolToControlTextColorTransformer.h"; sourceTree = "<group>"; };
979AA6A614D59DC8008730DF /* AIBoolToControlTextColorTransformer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AIBoolToControlTextColorTransformer.m; path = "Frameworks/Adium Framework/Source/AIBoolToControlTextColorTransformer.m"; sourceTree = "<group>"; };
@@ -4885,7 +4857,6 @@
111256210F8DA2DB00E76177 /* libcrypto.dylib in Frameworks */,
6318DBC20F8D943A00C5E584 /* WebKit.framework in Frameworks */,
636D92CD0E4E990500E5F558 /* AddressBook.framework in Frameworks */,
- 346636AC0D415440006C9034 /* FriBidi.framework in Frameworks */,
F51BCEEA0A15793E000FDC06 /* AutoHyperlinks.framework in Frameworks */,
34BD9D5A053146CC000AB133 /* Carbon.framework in Frameworks */,
34B588A1058D833A00E7EF0D /* ExceptionHandling.framework in Frameworks */,
@@ -4899,7 +4870,8 @@
11879DF80F6FFC0B00CACFB1 /* OAuthConsumer.framework in Frameworks */,
118A44510FEEA828008153C0 /* libjson-glib.framework in Frameworks */,
34C846AF101E515900140B4B /* QTKit.framework in Frameworks */,
- 9744E74B152E20EE0067FEA2 /* ShortcutRecorder.framework in Frameworks */,
+ 9719C92C1530EDF700217FBE /* FriBidi.framework in Frameworks */,
+ 9719C92E1530EE0C00217FBE /* ShortcutRecorder.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -5767,14 +5739,6 @@
name = "Ad Hoc Server";
sourceTree = "<group>";
};
- 346636870D41541A006C9034 /* Products */ = {
- isa = PBXGroup;
- children = (
- 3466368B0D41541A006C9034 /* FriBidi.framework */,
- );
- name = Products;
- sourceTree = "<group>";
- };
346BA3330774C21300628F06 /* Global Events Preferences */ = {
isa = PBXGroup;
children = (
@@ -8260,24 +8224,15 @@
name = "Hot Key";
sourceTree = "<group>";
};
- 9744E73F152E1E3C0067FEA2 /* Products */ = {
- isa = PBXGroup;
- children = (
- 9744E748152E1E3C0067FEA2 /* ShortcutRecorder.framework */,
- 9744E74A152E1E3C0067FEA2 /* ShortcutRecorder.app */,
- );
- name = Products;
- sourceTree = "<group>";
- };
979AA6A914D59EF3008730DF /* Others */ = {
isa = PBXGroup;
children = (
3496A8E707CE6CA30055BBAB /* AutoHyperlinks.framework.xcodeproj */,
- 346636860D41541A006C9034 /* FriBidi.xcodeproj */,
- 9744E73E152E1E3C0067FEA2 /* ShortcutRecorder.xcodeproj */,
+ 9719C92B1530EDF700217FBE /* FriBidi.framework */,
7E9A8CB2104DEBC400F210CC /* Growl.framework */,
11879DF70F6FFC0B00CACFB1 /* OAuthConsumer.framework */,
377EC8930AE9525B00CB7BDF /* PSMTabBarControl.framework */,
+ 9719C92D1530EE0C00217FBE /* ShortcutRecorder.framework */,
9E1E1DFC0A96741500E16DFC /* LMX.framework */,
638392F609D4D67A0067B9B7 /* Sparkle.framework */,
7E6F8A93105611B700C6D80D /* libotr.framework */,
@@ -9366,7 +9321,6 @@
63DE4C530F9C77D50034ED3A /* PBXTargetDependency */,
6334045E0F9C1899003C77A9 /* PBXTargetDependency */,
639DFB560F981F7A003C9A32 /* PBXTargetDependency */,
- 639DFB600F981FA8003C9A32 /* PBXTargetDependency */,
639DFB640F981FCB003C9A32 /* PBXTargetDependency */,
);
name = Adium.Framework;
@@ -9469,14 +9423,6 @@
ProductGroup = 3496A8E807CE6CA30055BBAB /* Products */;
ProjectRef = 3496A8E707CE6CA30055BBAB /* AutoHyperlinks.framework.xcodeproj */;
},
- {
- ProductGroup = 346636870D41541A006C9034 /* Products */;
- ProjectRef = 346636860D41541A006C9034 /* FriBidi.xcodeproj */;
- },
- {
- ProductGroup = 9744E73F152E1E3C0067FEA2 /* Products */;
- ProjectRef = 9744E73E152E1E3C0067FEA2 /* ShortcutRecorder.xcodeproj */;
- },
);
projectRoot = "";
targets = (
@@ -9509,13 +9455,6 @@
remoteRef = 3416394C0DE58A1A009E9550 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
- 3466368B0D41541A006C9034 /* FriBidi.framework */ = {
- isa = PBXReferenceProxy;
- fileType = wrapper.framework;
- path = FriBidi.framework;
- remoteRef = 3466368A0D41541A006C9034 /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
3496A8EA07CE6CA30055BBAB /* AutoHyperlinks.framework */ = {
isa = PBXReferenceProxy;
fileType = wrapper.framework;
@@ -9530,20 +9469,6 @@
remoteRef = 7E78DA9B0DD135DE00B9388F /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
- 9744E748152E1E3C0067FEA2 /* ShortcutRecorder.framework */ = {
- isa = PBXReferenceProxy;
- fileType = wrapper.framework;
- path = ShortcutRecorder.framework;
- remoteRef = 9744E747152E1E3C0067FEA2 /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- 9744E74A152E1E3C0067FEA2 /* ShortcutRecorder.app */ = {
- isa = PBXReferenceProxy;
- fileType = wrapper.application;
- path = ShortcutRecorder.app;
- remoteRef = 9744E749152E1E3C0067FEA2 /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
EFB1C3D80DDCA0A900B3973D /* LinkDriver.app */ = {
isa = PBXReferenceProxy;
fileType = wrapper.application;
@@ -10806,11 +10731,6 @@
name = AutoHyperlinks.framework;
targetProxy = 639DFB550F981F7A003C9A32 /* PBXContainerItemProxy */;
};
- 639DFB600F981FA8003C9A32 /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- name = FriBidi;
- targetProxy = 639DFB5F0F981FA8003C9A32 /* PBXContainerItemProxy */;
- };
639DFB640F981FCB003C9A32 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 34F3B9510BDF15F40011AB34 /* Touch Framework Bundles to Executable Date */;
diff -r 15b9e88f3fbc -r 1ce3b2b26041 Frameworks/FriBidi.framework/FriBidi
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Frameworks/FriBidi.framework/FriBidi Sun Apr 08 00:58:50 2012 +0300
@@ -0,0 +1,1 @@
+Versions/Current/FriBidi
\ No newline at end of file
diff -r 15b9e88f3fbc -r 1ce3b2b26041 Frameworks/FriBidi.framework/Headers
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Frameworks/FriBidi.framework/Headers Sun Apr 08 00:58:50 2012 +0300
@@ -0,0 +1,1 @@
+Versions/Current/Headers
\ No newline at end of file
diff -r 15b9e88f3fbc -r 1ce3b2b26041 Frameworks/FriBidi.framework/Resources
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Frameworks/FriBidi.framework/Resources Sun Apr 08 00:58:50 2012 +0300
@@ -0,0 +1,1 @@
+Versions/Current/Resources
\ No newline at end of file
diff -r 15b9e88f3fbc -r 1ce3b2b26041 Frameworks/FriBidi.framework/Versions/A/FriBidi
Binary file Frameworks/FriBidi.framework/Versions/A/FriBidi has changed
diff -r 15b9e88f3fbc -r 1ce3b2b26041 Frameworks/FriBidi.framework/Versions/A/Headers/ConvertUTF.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Frameworks/FriBidi.framework/Versions/A/Headers/ConvertUTF.h Sun Apr 08 00:58:50 2012 +0300
@@ -0,0 +1,157 @@
+/*
+ * Copyright 2001-2004 Unicode, Inc.
+ *
+ * Disclaimer
+ *
+ * This source code is provided as is by Unicode, Inc. No claims are
+ * made as to fitness for any particular purpose. No warranties of any
+ * kind are expressed or implied. The recipient agrees to determine
+ * applicability of information provided. If this file has been
+ * purchased on magnetic or optical media from Unicode, Inc., the
+ * sole remedy for any claim will be exchange of defective media
+ * within 90 days of receipt.
+ *
+ * Limitations on Rights to Redistribute This Code
+ *
+ * Unicode, Inc. hereby grants the right to freely use the information
+ * supplied in this file in the creation of products supporting the
+ * Unicode Standard, and to make copies of this file in any form
+ * for internal or external distribution as long as this notice
+ * remains attached.
+ */
+
+/* ---------------------------------------------------------------------
+
+ Conversions between UTF32, UTF-16, and UTF-8. Header file.
+
+ Several funtions are included here, forming a complete set of
+ conversions between the three formats. UTF-7 is not included
+ here, but is handled in a separate source file.
+
+ Each of these routines takes pointers to input buffers and output
+ buffers. The input buffers are const.
+
+ Each routine converts the text between *sourceStart and sourceEnd,
+ putting the result into the buffer between *targetStart and
+ targetEnd. Note: the end pointers are *after* the last item: e.g.
+ *(sourceEnd - 1) is the last item.
+
+ The return result indicates whether the conversion was successful,
+ and if not, whether the problem was in the source or target buffers.
+ (Only the first encountered problem is indicated.)
+
+ After the conversion, *sourceStart and *targetStart are both
+ updated to point to the end of last text successfully converted in
+ the respective buffers.
+
+ Input parameters:
+ sourceStart - pointer to a pointer to the source buffer.
+ The contents of this are modified on return so that
+ it points at the next thing to be converted.
+ targetStart - similarly, pointer to pointer to the target buffer.
+ sourceEnd, targetEnd - respectively pointers to the ends of the
+ two buffers, for overflow checking only.
+
+ These conversion functions take a ConversionFlags argument. When this
+ flag is set to strict, both irregular sequences and isolated surrogates
+ will cause an error. When the flag is set to lenient, both irregular
+ sequences and isolated surrogates are converted.
+
+ Whether the flag is strict or lenient, all illegal sequences will cause
+ an error return. This includes sequences such as: <F4 90 80 80>, <C0 80>,
+ or <A0> in UTF-8, and values above 0x10FFFF in UTF-32. Conformant code
+ must check for illegal sequences.
+
+ When the flag is set to lenient, characters over 0x10FFFF are converted
+ to the replacement character; otherwise (when the flag is set to strict)
+ they constitute an error.
+
+ Output parameters:
+ The value "sourceIllegal" is returned from some routines if the input
+ sequence is malformed. When "sourceIllegal" is returned, the source
+ value will point to the illegal value that caused the problem. E.g.,
+ in UTF-8 when a sequence is malformed, it points to the start of the
+ malformed sequence.
+
+ Author: Mark E. Davis, 1994.
+ Rev History: Rick McGowan, fixes & updates May 2001.
+ Fixes & updates, Sept 2001.
+
+------------------------------------------------------------------------ */
+
+#include <FriBidi/fribidi-types.h>
+
+/* ---------------------------------------------------------------------
+ The following 4 definitions are compiler-specific.
+ The C standard does not guarantee that wchar_t has at least
+ 16 bits, so wchar_t is no less portable than unsigned short!
+ All should be unsigned values to avoid sign extension during
+ bit mask & shift operations.
+------------------------------------------------------------------------ */
+
+//typedef unsigned long UTF32; /* at least 32 bits */
+//typedef unsigned short UTF16; /* at least 16 bits */
+//typedef unsigned char UTF8; /* typically 8 bits */
+//typedef unsigned char Boolean; /* 0 or 1 */
+
+/* Modified by Ofri Wolfus for compatibility with FriBidi */
+typedef fribidi_uint32 UTF32; /* at least 32 bits */
+typedef fribidi_uint16 UTF16; /* at least 16 bits */
+typedef fribidi_uint8 UTF8; /* typically 8 bits */
+typedef unsigned char fribidi_Boolean;
+
+/* Some fundamental constants */
+#define UNI_REPLACEMENT_CHAR (UTF32)0x0000FFFD
+#define UNI_MAX_BMP (UTF32)0x0000FFFF
+#define UNI_MAX_UTF16 (UTF32)0x0010FFFF
+#define UNI_MAX_UTF32 (UTF32)0x7FFFFFFF
+#define UNI_MAX_LEGAL_UTF32 (UTF32)0x0010FFFF
+
+typedef enum {
+ conversionOK, /* conversion successful */
+ sourceExhausted, /* partial character in source, but hit end */
+ targetExhausted, /* insuff. room in target for conversion */
+ sourceIllegal /* source sequence is illegal/malformed */
+} ConversionResult;
+
+typedef enum {
+ strictConversion = 0,
+ lenientConversion
+} ConversionFlags;
+
+/* This is for C++ and does no harm in C */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+ConversionResult ConvertUTF8toUTF16 (
+ const UTF8** sourceStart, const UTF8* sourceEnd,
+ UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags);
+
+ConversionResult ConvertUTF16toUTF8 (
+ const UTF16** sourceStart, const UTF16* sourceEnd,
+ UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags);
+
+ConversionResult ConvertUTF8toUTF32 (
+ const UTF8** sourceStart, const UTF8* sourceEnd,
+ UTF32** targetStart, UTF32* targetEnd, ConversionFlags flags);
+
+ConversionResult ConvertUTF32toUTF8 (
+ const UTF32** sourceStart, const UTF32* sourceEnd,
+ UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags);
+
+ConversionResult ConvertUTF16toUTF32 (
+ const UTF16** sourceStart, const UTF16* sourceEnd,
+ UTF32** targetStart, UTF32* targetEnd, ConversionFlags flags);
+
+ConversionResult ConvertUTF32toUTF16 (
+ const UTF32** sourceStart, const UTF32* sourceEnd,
+ UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags);
+
+fribidi_Boolean isLegalUTF8Sequence(const UTF8 *source, const UTF8 *sourceEnd);
+
+#ifdef __cplusplus
+}
+#endif
+
+/* --------------------------------------------------------------------- */
diff -r 15b9e88f3fbc -r 1ce3b2b26041 Frameworks/FriBidi.framework/Versions/A/Headers/NSString-FBAdditions.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Frameworks/FriBidi.framework/Versions/A/Headers/NSString-FBAdditions.h Sun Apr 08 00:58:50 2012 +0300
@@ -0,0 +1,20 @@
+//
+// NSString-FBAdditions.h
+// FriBidi
+//
+// Created by Ofri Wolfus on 22/08/06.
+// Copyright 2006 Ofri Wolfus. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+
+
+ at interface NSString (FBAdditions)
+
+/*!
+ * @abstract Retusn the base writing direction of the receiver.
+ * @discussion Returns <code>NSWritingDirectionNatural</code> if the writing direction is not fixed.
+ */
+- (NSWritingDirection)baseWritingDirection;
+
+ at end
diff -r 15b9e88f3fbc -r 1ce3b2b26041 Frameworks/FriBidi.framework/Versions/A/Headers/bidi-types.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Frameworks/FriBidi.framework/Versions/A/Headers/bidi-types.h Sun Apr 08 00:58:50 2012 +0300
@@ -0,0 +1,61 @@
+/* FriBidi
+ * bidi-types.h - define internal bidi types
+ *
+ * $Id: bidi-types.h,v 1.7 2006/01/31 03:23:12 behdad Exp $
+ * $Author: behdad $
+ * $Date: 2006/01/31 03:23:12 $
+ * $Revision: 1.7 $
+ * $Source: /cvs/fribidi/fribidi2/lib/bidi-types.h,v $
+ *
+ * Author:
+ * Behdad Esfahbod, 2001, 2002, 2004
+ *
+ * Copyright (C) 2004 Sharif FarsiWeb, Inc.
+ * Copyright (C) 2001,2002 Behdad Esfahbod
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library, in a file named COPYING; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+ * Boston, MA 02111-1307, USA
+ *
+ * For licensing issues, contact <license at farsiweb.info>.
+ */
+#ifndef _BIDI_TYPES_H
+#define _BIDI_TYPES_H
+
+#include "common.h"
+
+#include <fribidi-types.h>
+#include <fribidi-bidi-types.h>
+
+#include <fribidi-begindecls.h>
+
+#define FRIBIDI_LEVEL_INVALID FRIBIDI_BIDI_MAX_RESOLVED_LEVELS
+#define FRIBIDI_SENTINEL -1
+
+#if DEBUG+0
+
+#define fribidi_char_from_bidi_type FRIBIDI_PRIVATESPACE(char_from_bidi_type)
+char
+fribidi_char_from_bidi_type (
+ FriBidiCharType t /* input bidi type */
+) FRIBIDI_GNUC_HIDDEN;
+
+#endif /* DEBUG */
+
+#include <fribidi-enddecls.h>
+
+#endif /* !_BIDI_TYPES_H */
+/* Editor directions:
+ * vim:textwidth=78:tabstop=8:shiftwidth=2:autoindent:cindent
+ */
diff -r 15b9e88f3fbc -r 1ce3b2b26041 Frameworks/FriBidi.framework/Versions/A/Headers/common.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Frameworks/FriBidi.framework/Versions/A/Headers/common.h Sun Apr 08 00:58:50 2012 +0300
@@ -0,0 +1,190 @@
+/* FriBidi
+ * common.h - common include for library sources
+ *
+ * $Id: common.h,v 1.20 2008-04-08 21:38:23 behdad Exp $
+ * $Author: behdad $
+ * $Date: 2008-04-08 21:38:23 $
+ * $Revision: 1.20 $
+ * $Source: /cvs/fribidi/fribidi2/lib/common.h,v $
+ *
+ * Author:
+ * Behdad Esfahbod, 2004
+ *
+ * Copyright (C) 2004 Sharif FarsiWeb, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library, in a file named COPYING; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+ * Boston, MA 02111-1307, USA
+ *
+ * For licensing issues, contact <license at farsiweb.info>.
+ */
+#ifndef _COMMON_H
+#define _COMMON_H
+
+#if HAVE_CONFIG_H+0
+# include <config.h>
+#endif
+
+#include <fribidi-common.h>
+
+/* FRIBIDI_PRIVATESPACE is a macro used to name library internal symbols. */
+#ifndef FRIBIDI_PRIVATESPACE
+# define FRIBIDI_PRIVATESPACE1(A,B) A##B
+# define FRIBIDI_PRIVATESPACE0(A,B) FRIBIDI_PRIVATESPACE1(A,B)
+# define FRIBIDI_PRIVATESPACE(SYMBOL) FRIBIDI_PRIVATESPACE0(_,FRIBIDI_NAMESPACE(_##SYMBOL##__internal__))
+#endif /* !FRIBIDI_PRIVATESPACE */
+
+#if (defined(WIN32)) || (defined(_WIN32_WCE))
+# define FRIBIDI_ENTRY __declspec(dllexport)
+#endif /* WIN32 */
+
+#if FRIBIDI_USE_GLIB+0
+# ifndef SIZEOF_LONG
+# define SIZEOF_LONG GLIB_SIZEOF_LONG
+# endif /* !SIZEOF_LONG */
+# ifndef SIZEOF_VOID_P
+# define SIZEOF_VOID_P GLIB_SIZEOF_VOID_P
+# endif /* !SIZEOF_VOID_P */
+# ifndef __FRIBIDI_DOC
+# include <glib/gmem.h>
+# endif /* !__FRIBIDI_DOC */
+# ifndef fribidi_malloc
+# define fribidi_malloc g_try_malloc
+# define fribidi_free g_free
+# endif /* !fribidi_malloc */
+# ifndef fribidi_assert
+# ifndef __FRIBIDI_DOC
+# include <glib/gmessages.h>
+# endif /* !__FRIBIDI_DOC */
+# define fribidi_assert g_assert
+# endif /* !fribidi_assert */
+# ifndef __FRIBIDI_DOC
+# include <glib/gmacros.h>
+# endif /* !__FRIBIDI_DOC */
+# ifndef FRIBIDI_BEGIN_STMT
+# define FRIBIDI_BEGIN_STMT G_STMT_START {
+# define FRIBIDI_END_STMT } G_STMT_END
+# endif /* !FRIBIDI_BEGIN_STMT */
+# ifndef LIKELY
+# define LIKELY G_LIKELY
+# define UNLIKELY G_UNLIKELY
+# endif /* !LIKELY */
+# ifndef false
+# define false FALSE
+# endif /* !false */
+# ifndef true
+# define true TRUE
+# endif /* !true */
+#endif /* FRIBIDI_USE_GLIB */
+
+#ifndef false
+# define false (0)
+# endif /* !false */
+# ifndef true
+# define true (!false)
+# endif /* !true */
+
+#ifndef NULL
+# ifdef __cplusplus
+# define NULL (0L)
+# else /* !__cplusplus */
+# define NULL ((void*) 0)
+# endif /* !__cplusplus */
+#endif /* !NULL */
+
+/* fribidi_malloc and fribidi_free should be used instead of malloc and free.
+ * No need to include any headers. */
+#ifndef fribidi_malloc
+# if HAVE_STDLIB_H
+# ifndef __FRIBIDI_DOC
+# include <stdlib.h>
+# endif /* __FRIBIDI_DOC */
+# define fribidi_malloc malloc
+# else /* !HAVE_STDLIB_H */
+# define fribidi_malloc (void *) malloc
+# endif /* !HAVE_STDLIB_H */
+# define fribidi_free free
+#else /* fribidi_malloc */
+# ifndef fribidi_free
+# error You should define fribidi_free too when you define fribidi_malloc.
+# endif /* !fribidi_free */
+#endif /* fribidi_malloc */
+
+#if HAVE_STRING_H+0
+# if !STDC_HEADERS && HAVE_MEMORY_H
+# include <memory.h>
+# endif
+# include <string.h>
+#endif
+#if HAVE_STRINGS_H+0
+# include <strings.h>
+#endif
+
+/* FRIBIDI_CHUNK_SIZE is the number of bytes in each chunk of memory being
+ * allocated for data structure pools. */
+#ifndef FRIBIDI_CHUNK_SIZE
+# if HAVE_ASM_PAGE_H
+# ifndef __FRIBIDI_DOC
+# include <asm/page.h>
+# endif /* __FRIBIDI_DOC */
+# define FRIBIDI_CHUNK_SIZE (PAGE_SIZE - 16)
+# else /* !HAVE_ASM_PAGE_H */
+# define FRIBIDI_CHUNK_SIZE (4096 - 16)
+# endif /* !HAVE_ASM_PAGE_H */
+#else /* FRIBIDI_CHUNK_SIZE */
+# if FRIBIDI_CHUNK_SIZE < 256
+# error FRIBIDI_CHUNK_SIZE now should define the size of a chunk in bytes.
+# endif /* FRIBIDI_CHUNK_SIZE < 256 */
+#endif /* FRIBIDI_CHUNK_SIZE */
+
+/* FRIBIDI_BEGIN_STMT should be used at the beginning of your macro
+ * definitions that are to behave like simple statements. Use
+ * FRIBIDI_END_STMT at the end of the macro after the semicolon or brace. */
+#ifndef FRIBIDI_BEGIN_STMT
+# define FRIBIDI_BEGIN_STMT do {
+# define FRIBIDI_END_STMT } while (0)
+#endif /* !FRIBIDI_BEGIN_STMT */
+
+/* LIKEYLY and UNLIKELY are used to give a hint on branch prediction to the
+ * compiler. */
+#ifndef LIKELY
+# define LIKELY
+# define UNLIKELY
+#endif /* !LIKELY */
+
+#ifndef FRIBIDI_EMPTY_STMT
+# define FRIBIDI_EMPTY_STMT FRIBIDI_BEGIN_STMT (void) 0; FRIBIDI_END_STMT
+#endif /* !FRIBIDI_EMPTY_STMT */
+
+#if HAVE_STRINGIZE+0
+# define STRINGIZE(symbol) #symbol
+#else /* !HAVE_STRINGIZE */
+# define STRINGIZE(symbol) (no stringize operator available)
+#endif /* !HAVE_STRINGIZE */
+
+/* As per recommendation of GNU Coding Standards. */
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE
+#endif /* !_GNU_SOURCE */
+
+/* We respect our own rules. */
+#define FRIBIDI_NO_DEPRECATED
+
+
+#include "debug.h"
+
+#endif /* !_COMMON_H */
+/* Editor directions:
+ * vim:textwidth=78:tabstop=8:shiftwidth=2:autoindent:cindent
+ */
diff -r 15b9e88f3fbc -r 1ce3b2b26041 Frameworks/FriBidi.framework/Versions/A/Headers/fribidi-arabic.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Frameworks/FriBidi.framework/Versions/A/Headers/fribidi-arabic.h Sun Apr 08 00:58:50 2012 +0300
@@ -0,0 +1,88 @@
+/* fribidi-arabic.h - do Arabic shaping to presentation forms
+ *
+ * Copyright (C) 2005 Behdad Esfahbod
+ *
+ * This file is part of GNU FriBidi.
+ *
+ * GNU FriBidi is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * as published by the Free Software Foundation; either version 2.1
+ * of the License, or (at your option) any later version.
+ *
+ * GNU FriBidi is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with GNU FriBidi; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * For licensing issues, contact <license at farsiweb.info> or write to
+ * Sharif FarsiWeb, Inc., PO Box 13445-389, Tehran, Iran.
+ */
+/* $Id: fribidi-arabic.h,v 1.1 2005/11/03 01:39:01 behdad Exp $
+ * $Author: behdad $
+ * $Date: 2005/11/03 01:39:01 $
+ * $Revision: 1.1 $
+ * $Source: /cvs/fribidi/fribidi2/lib/fribidi-arabic.h,v $
+ *
+ * Author(s):
+ * Behdad Esfahbod, 2005
+ */
+#ifndef _FRIBIDI_ARABIC_H
+#define _FRIBIDI_ARABIC_H
+
+#include "fribidi-common.h"
+
+#include "fribidi-types.h"
+#include "fribidi-flags.h"
+#include "fribidi-bidi-types.h"
+#include "fribidi-joining.h"
+
+#include "fribidi-begindecls.h"
+
+
+#define fribidi_shape_arabic FRIBIDI_NAMESPACE(shape_arabic)
+/* fribidi_shape_arabic - do Arabic shaping
+ *
+ * The actual shaping that is done depends on the flags set. Only flags
+ * starting with FRIBIDI_FLAG_SHAPE_ARAB_ affect this function.
+ * Currently these are:
+ *
+ * * FRIBIDI_FLAG_SHAPE_MIRRORING: Do mirroring.
+ * * FRIBIDI_FLAG_SHAPE_ARAB_PRES: Shape Arabic characters to their
+ * presentation form glyphs.
+ * * FRIBIDI_FLAG_SHAPE_ARAB_LIGA: Form mandatory Arabic ligatures.
+ * * FRIBIDI_FLAG_SHAPE_ARAB_CONSOLE: Perform additional Arabic shaping
+ * suitable for text rendered on
+ * grid terminals with no mark
+ * rendering capabilities.
+ *
+ * Of the above, FRIBIDI_FLAG_SHAPE_ARAB_CONSOLE is only used in special
+ * cases, but the rest are recommended in any enviroment that doesn't have
+ * other means for doing Arabic shaping. The set of extra flags that enable
+ * this level of Arabic support has a shortcut named FRIBIDI_FLAGS_ARABIC.
+ */
+FRIBIDI_ENTRY void
+fribidi_shape_arabic (
+ FriBidiFlags flags, /* shaping flags */
+ const FriBidiLevel *embedding_levels,
+ const FriBidiStrIndex len, /* input string length */
+ FriBidiArabicProp *ar_props, /* input/output Arabic properties as
+ * computed by fribidi_join_arabic */
+ FriBidiChar *str /* string to shape */
+);
+
+#include "fribidi-enddecls.h"
+
+#endif /* !_FRIBIDI_ARABIC_H */
+/* Editor directions:
+ * Local Variables:
+ * mode: c
+ * c-basic-offset: 2
+ * indent-tabs-mode: t
+ * tab-width: 8
+ * End:
+ * vim: textwidth=78: autoindent: cindent: shiftwidth=2: tabstop=8:
+ */
diff -r 15b9e88f3fbc -r 1ce3b2b26041 Frameworks/FriBidi.framework/Versions/A/Headers/fribidi-begindecls.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Frameworks/FriBidi.framework/Versions/A/Headers/fribidi-begindecls.h Sun Apr 08 00:58:50 2012 +0300
@@ -0,0 +1,3 @@
+#ifdef FRIBIDI_BEGIN_DECLS
+FRIBIDI_BEGIN_DECLS
+#endif /* FRIBIDI_BEGIN_DECLS */
diff -r 15b9e88f3fbc -r 1ce3b2b26041 Frameworks/FriBidi.framework/Versions/A/Headers/fribidi-bidi-types-list.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Frameworks/FriBidi.framework/Versions/A/Headers/fribidi-bidi-types-list.h Sun Apr 08 00:58:50 2012 +0300
@@ -0,0 +1,98 @@
+#ifndef __FRIBIDI_DOC
+/* FriBidi
+ * fribidi-bidi-types-list.h - list of bidi types
+ *
+ * $Id: fribidi-bidi-types-list.h,v 1.5 2004/06/13 20:11:42 behdad Exp $
+ * $Author: behdad $
+ * $Date: 2004/06/13 20:11:42 $
+ * $Revision: 1.5 $
+ * $Source: /cvs/fribidi/fribidi2/lib/fribidi-bidi-types-list.h,v $
+ *
+ * Author:
+ * Behdad Esfahbod, 2001, 2002, 2004
+ *
+ * Copyright (C) 2004 Sharif FarsiWeb, Inc.
+ * Copyright (C) 2001,2002 Behdad Esfahbod
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library, in a file named COPYING; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+ * Boston, MA 02111-1307, USA
+ *
+ * For licensing issues, contact <license at farsiweb.info>.
+ */
+/* *INDENT-OFF* */
+#endif /* !__FRIBIDI_DOC */
+#ifndef _FRIBIDI_ADD_TYPE
+# define _FRIBIDI_ADD_TYPE(x,y)
+#endif
+#ifndef _FRIBIDI_ADD_ALIAS
+# define _FRIBIDI_ADD_ALIAS(x1,x2)
+#endif
+
+#if !defined(_FRIBIDI_PAR_TYPES) || defined(_FRIBIDI_ALL_TYPES)
+
+_FRIBIDI_ADD_TYPE (LTR, 'L') /* Left-To-Right letter */
+_FRIBIDI_ADD_TYPE (RTL, 'R') /* Right-To-Left letter */
+_FRIBIDI_ADD_TYPE (AL, 'A') /* Arabic Letter */
+_FRIBIDI_ADD_TYPE (EN, '1') /* European Numeral */
+_FRIBIDI_ADD_TYPE (AN, '9') /* Arabic Numeral */
+_FRIBIDI_ADD_TYPE (ES, 'w') /* European number Separator */
+_FRIBIDI_ADD_TYPE (ET, 'w') /* European number Terminator */
+_FRIBIDI_ADD_TYPE (CS, 'w') /* Common Separator */
+_FRIBIDI_ADD_TYPE (NSM, '`') /* Non Spacing Mark */
+_FRIBIDI_ADD_TYPE (BN, 'b') /* Boundary Neutral */
+_FRIBIDI_ADD_TYPE (BS, 'B') /* Block Separator */
+_FRIBIDI_ADD_TYPE (SS, 'S') /* Segment Separator */
+_FRIBIDI_ADD_TYPE (WS, '_') /* WhiteSpace */
+_FRIBIDI_ADD_TYPE (ON, 'n') /* Other Neutral */
+_FRIBIDI_ADD_TYPE (LRE, '+') /* Left-to-Right Embedding */
+_FRIBIDI_ADD_TYPE (RLE, '+') /* Right-to-Left Embedding */
+_FRIBIDI_ADD_TYPE (LRO, '+') /* Left-to-Right Override */
+_FRIBIDI_ADD_TYPE (RLO, '+') /* Right-to-Left Override */
+_FRIBIDI_ADD_TYPE (PDF, '-') /* Pop Directional Flag */
+
+#if defined(_FRIBIDI_ADD_ALIAS)
+_FRIBIDI_ADD_ALIAS (L, LTR)
+_FRIBIDI_ADD_ALIAS (R, RTL)
+_FRIBIDI_ADD_ALIAS (B, BS)
+_FRIBIDI_ADD_ALIAS (S, SS)
+#endif /* _FRIBIDI_ADD_ALIAS */
+
+#if defined(_FRIBIDI_SENTINEL_TYPE) || defined(_FRIBIDI_ALL_TYPES)
+_FRIBIDI_ADD_TYPE (SENTINEL, '$') /* SENTINEL */
+#endif /* _FRIBIDI_SENTINEL_TYPES || _FRIBIDI_ALL_TYPES*/
+#endif /* !_FRIBIDI_PAR_TYPES || _FRIBIDI_ALL_TYPES */
+
+#if defined(_FRIBIDI_PAR_TYPES) || defined(_FRIBIDI_ALL_TYPES)
+# if !defined(_FRIBIDI_ALL_TYPES)
+_FRIBIDI_ADD_TYPE (LTR, 'L') /* Left-To-Right paragraph */
+_FRIBIDI_ADD_TYPE (RTL, 'R') /* Right-To-Left paragraph */
+_FRIBIDI_ADD_TYPE (ON, 'n') /* directiOn-Neutral paragraph */
+# endif /* !_FRIBIDI_ALL_TYPES */
+_FRIBIDI_ADD_TYPE (WLTR, 'l') /* Weak Left To Right paragraph */
+_FRIBIDI_ADD_TYPE (WRTL, 'r') /* Weak Right To Left paragraph */
+#endif /* _FRIBIDI_PAR_TYPES || _FRIBIDI_ALL_TYPES*/
+
+#if defined(_FRIBIDI_ENUM_TYPES)
+typedef enum {
+# define _FRIBIDI_ADD_TYPE _FRIBIDI_ENUM_ADD_TYPE
+# include "fribidi-bidi-types-list.h"
+# undef _FRIBIDI_ADD_TYPE
+ _FRIBIDI_TYPES_MAX
+} _FRIBIDI_ENUM_TYPES
+#endif /* _FRIBIDI_ENUM_TYPES */
+
+#ifndef __FRIBIDI_DOC
+/* *INDENT-ON* */
+#endif /* !__FRIBIDI_DOC */
diff -r 15b9e88f3fbc -r 1ce3b2b26041 Frameworks/FriBidi.framework/Versions/A/Headers/fribidi-bidi-types.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Frameworks/FriBidi.framework/Versions/A/Headers/fribidi-bidi-types.h Sun Apr 08 00:58:50 2012 +0300
@@ -0,0 +1,389 @@
+/* FriBidi
+ * fribidi-bidi-types.h - character bidi types
+ *
+ * $Id: fribidi-bidi-types.h,v 1.15 2008-11-24 17:48:31 behdad Exp $
+ * $Author: behdad $
+ * $Date: 2008-11-24 17:48:31 $
+ * $Revision: 1.15 $
+ * $Source: /cvs/fribidi/fribidi2/lib/fribidi-bidi-types.h,v $
+ *
+ * Author:
+ * Behdad Esfahbod, 2001, 2002, 2004
+ *
+ * Copyright (C) 2004 Sharif FarsiWeb, Inc.
+ * Copyright (C) 2001,2002 Behdad Esfahbod
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library, in a file named COPYING; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+ * Boston, MA 02111-1307, USA
+ *
+ * For licensing issues, contact <license at farsiweb.info>.
+ */
+#ifndef _FRIBIDI_BIDI_TYPES_H
+#define _FRIBIDI_BIDI_TYPES_H
+
+#include "fribidi-common.h"
+
+#include "fribidi-types.h"
+
+#include "fribidi-begindecls.h"
+
+typedef signed char FriBidiLevel;
+
+/*
+ * Define bit masks that bidi types are based on, each mask has
+ * only one bit set.
+ */
+
+/* RTL mask better be the least significant bit. */
+#define FRIBIDI_MASK_RTL 0x00000001L /* Is right to left */
+#define FRIBIDI_MASK_ARABIC 0x00000002L /* Is arabic */
+
+/* Each char can be only one of the three following. */
+#define FRIBIDI_MASK_STRONG 0x00000010L /* Is strong */
+#define FRIBIDI_MASK_WEAK 0x00000020L /* Is weak */
+#define FRIBIDI_MASK_NEUTRAL 0x00000040L /* Is neutral */
+#define FRIBIDI_MASK_SENTINEL 0x00000080L /* Is sentinel */
+/* Sentinels are not valid chars, just identify the start/end of strings. */
+
+/* Each char can be only one of the five following. */
+#define FRIBIDI_MASK_LETTER 0x00000100L /* Is letter: L, R, AL */
+#define FRIBIDI_MASK_NUMBER 0x00000200L /* Is number: EN, AN */
+#define FRIBIDI_MASK_NUMSEPTER 0x00000400L /* Is separator or terminator: ES, ET, CS */
+#define FRIBIDI_MASK_SPACE 0x00000800L /* Is space: BN, BS, SS, WS */
+#define FRIBIDI_MASK_EXPLICIT 0x00001000L /* Is expilict mark: LRE, RLE, LRO, RLO, PDF */
+
+/* Can be set only if FRIBIDI_MASK_SPACE is also set. */
+#define FRIBIDI_MASK_SEPARATOR 0x00002000L /* Is text separator: BS, SS */
+/* Can be set only if FRIBIDI_MASK_EXPLICIT is also set. */
+#define FRIBIDI_MASK_OVERRIDE 0x00004000L /* Is explicit override: LRO, RLO */
+
+/* The following exist to make types pairwise different, some of them can
+ * be removed but are here because of efficiency (make queries faster). */
+
+#define FRIBIDI_MASK_ES 0x00010000L
+#define FRIBIDI_MASK_ET 0x00020000L
+#define FRIBIDI_MASK_CS 0x00040000L
+
+#define FRIBIDI_MASK_NSM 0x00080000L
+#define FRIBIDI_MASK_BN 0x00100000L
More information about the commits
mailing list