cocoa-coredata-webkit.patch 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. --- /Data/dev/cocoa/parsedheaders/newheaders3/appkit/NSWorkspace.inc 2010-09-22 20:20:31.000000000 +0200
  2. +++ cocoa-skel/src/appkit/NSWorkspace.inc 2010-09-22 23:57:57.000000000 +0200
  3. @@ -26,7 +26,7 @@
  4. NSWorkspaceLaunchNewInstance = $00080000;
  5. NSWorkspaceLaunchAndHide = $00100000;
  6. NSWorkspaceLaunchAndHideOthers = $00200000;
  7. - NSWorkspaceLaunchAllowingClassicStartup = 0;
  8. + NSWorkspaceLaunchDefault = NSWorkspaceLaunchAsync or NSWorkspaceLaunchAllowingClassicStartup;
  9. const
  10. NSExcludeQuickDrawElementsIconCreationOption = 1 shl 1;
  11. --- /Data/dev/cocoa/parsedheaders/newheaders3/foundation/NSGeometry.inc 2010-09-22 20:21:06.000000000 +0200
  12. +++ cocoa-skel/src/foundation/NSGeometry.inc 2010-09-22 23:57:57.000000000 +0200
  13. @@ -6,57 +6,51 @@
  14. {$ifndef NSGEOMETRY_PAS_T}
  15. {$define NSGEOMETRY_PAS_T}
  16. +{$if defined(cpu64) or defined(cpuarm) or defined(win32)}
  17. { Types }
  18. type
  19. NSPoint = CGPoint;
  20. NSPointPtr = ^NSPoint;
  21. - NSPointPointer = ^NSPoint;
  22. - NSPointPointerPtr = ^NSPointPointer;
  23. + NSPointPointer = ^NSPointPtr;
  24. NSPointArray = ^NSPoint;
  25. - NSPointArrayPtr = ^NSPointArray;
  26. NSSize = CGSize;
  27. NSSizePtr = ^NSSize;
  28. - NSSizePointer = ^NSSize;
  29. - NSSizePointerPtr = ^NSSizePointer;
  30. + NSSizePointer = NSSizePtr;
  31. NSSizeArray = ^NSSize;
  32. - NSSizeArrayPtr = ^NSSizeArray;
  33. NSRect = CGRect;
  34. NSRectPtr = ^NSRect;
  35. - NSRectPointer = ^NSRect;
  36. - NSRectPointerPtr = ^NSRectPointer;
  37. + NSRectPointer = NSRectPtr;
  38. NSRectArray = ^NSRect;
  39. - NSRectArrayPtr = ^NSRectArray;
  40. - NSRectEdge = NSUInteger;
  41. - NSRectEdgePtr = ^NSRectEdge;
  42. - NSPointPointer = ^NSPoint;
  43. - NSPointPointerPtr = ^NSPointPointer;
  44. - NSPointArray = ^NSPoint;
  45. - NSPointArrayPtr = ^NSPointArray;
  46. - NSSizePointer = ^NSSize;
  47. - NSSizePointerPtr = ^NSSizePointer;
  48. - NSSizeArray = ^NSSize;
  49. - NSSizeArrayPtr = ^NSSizeArray;
  50. - NSRectPointer = ^NSRect;
  51. - NSRectPointerPtr = ^NSRectPointer;
  52. - NSRectArray = ^NSRect;
  53. - NSRectArrayPtr = ^NSRectArray;
  54. { Defines }
  55. -const
  56. - NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES = 1;
  57. +{$define NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES}
  58. +
  59. +{$endif cpu64 or cpuarm or win32}
  60. { Types }
  61. type
  62. -
  63. +{$ifdef NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES}
  64. + NSRectEdge = NSUInteger;
  65. +{$else}
  66. NSRectEdge = culong;
  67. +{$endif}
  68. + NSRectEdgePtr = ^NSRectEdge;
  69. { Constants }
  70. +{$ifdef NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES}
  71. +const
  72. + NSMinXEdge = CGRectMinXEdge;
  73. + NSMinYEdge = CGRectMinYEdge;
  74. + NSMaxXEdge = CGRectMaxXEdge;
  75. + NSMaxYEdge = CGRectMaxYEdge;
  76. +{$else NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES}
  77. const
  78. NSMinXEdge = 0;
  79. NSMinYEdge = 1;
  80. NSMaxXEdge = 2;
  81. NSMaxYEdge = 3;
  82. +{$endif NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES}
  83. {$endif}
  84. {$endif}
  85. @@ -66,30 +60,37 @@
  86. {$define NSGEOMETRY_PAS_R}
  87. { Records }
  88. +{$ifndef NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES}
  89. type
  90. _NSPoint = record
  91. x: CGFloat;
  92. y: CGFloat;
  93. end;
  94. -NSPoint = _NSPoint;
  95. -_NSPointPtr = ^_NSPoint;
  96. + NSPoint = _NSPoint;
  97. + NSPointPtr = ^NSPoint;
  98. + NSPointPointer = NSPointPtr;
  99. + NSPointArray = ^NSPoint;
  100. type
  101. _NSSize = record
  102. width: CGFloat;
  103. height: CGFloat;
  104. end;
  105. -NSSize = _NSSize;
  106. -_NSSizePtr = ^_NSSize;
  107. + NSSize = _NSSize;
  108. + NSSizePtr = ^NSSize;
  109. + NSSizePointer = NSSizePtr;
  110. + NSSizeArray = ^NSSize;
  111. type
  112. _NSRect = record
  113. origin: NSPoint;
  114. size: NSSize;
  115. end;
  116. -NSRect = _NSRect;
  117. -_NSRectPtr = ^_NSRect;
  118. -
  119. + NSRect = _NSRect;
  120. + NSRectPtr = ^NSRect;
  121. + NSRectPointer = NSRectPtr;
  122. + NSRectArray = ^NSRect;
  123. +{$endif not NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES}
  124. {$endif}
  125. {$endif}
  126. --- /Data/dev/cocoa/parsedheaders/newheaders3/foundation/NSObjCRuntime.inc 2010-09-22 20:21:06.000000000 +0200
  127. +++ cocoa-skel/src/foundation/NSObjCRuntime.inc 2010-09-22 23:57:57.000000000 +0200
  128. @@ -8,7 +8,6 @@
  129. { Defines }
  130. const
  131. - NS_BLOCKS_AVAILABLE = 1;
  132. NS_BLOCKS_AVAILABLE = 0;
  133. NSFoundationVersionNumber10_0 = 397.40;
  134. NSFoundationVersionNumber10_1 = 425.00;
  135. @@ -62,16 +61,21 @@
  136. { Types }
  137. type
  138. +{$if defined(cpu64) or defined(cpuarm) or defined(win32)}
  139. NSInteger = clong;
  140. - NSIntegerPtr = ^NSInteger;
  141. NSUInteger = culong;
  142. - NSUIntegerPtr = ^NSUInteger;
  143. +{$else}
  144. NSInteger = cint;
  145. - NSIntegerPtr = ^NSInteger;
  146. NSUInteger = cuint;
  147. +{$endif}
  148. + NSIntegerPtr = ^NSInteger;
  149. NSUIntegerPtr = ^NSUInteger;
  150. NSComparisonResult = NSInteger;
  151. NSComparisonResultPtr = ^NSComparisonResult;
  152. + NSEnumerationOptions = NSUInteger;
  153. + NSEnumerationOptionsPtr = ^NSEnumerationOptions;
  154. + NSSortOptions = NSUInteger;
  155. + NSSortOptionsPtr = ^NSSortOptions;
  156. { Constants }
  157. @@ -81,6 +85,18 @@
  158. NSOrderedDescending = 1;
  159. const
  160. + NSEnumerationConcurrent = 1 shl 0;
  161. + NSEnumerationReverse = 1 shl 1;
  162. +
  163. +const
  164. + NSSortConcurrent = 1 shl 0;
  165. + NSSortStable = 1 shl 4;
  166. +
  167. +const
  168. + NSIntegerMax = high(NSInteger);
  169. + NSIntegerMin = low(NSInteger);
  170. + NSUIntegerMin = low(NSUinteger);
  171. + NSUIntegerMax = high(NSUinteger);
  172. NSNotFound = NSIntegerMax;
  173. {$endif}
  174. --- /Data/dev/cocoa/parsedheaders/newheaders3/foundation/NSPointerFunctions.inc 2010-09-22 20:21:06.000000000 +0200
  175. +++ cocoa-skel/src/foundation/NSPointerFunctions.inc 2010-09-22 23:57:57.000000000 +0200
  176. @@ -25,7 +25,8 @@
  177. { Types }
  178. type
  179. NSPointerFunctionsOptions = NSUInteger;
  180. - NSPointerFunctionsOptionsPtr = ^NSPointerFunctionsOptions;
  181. + NSPointerFunctionsOptionsPointer = ^NSPointerFunctionsOptions;
  182. + NSPointerFunctionsOptionsPtr = NSPointerFunctionsOptionsPointer;
  183. {$endif}
  184. {$endif}
  185. @@ -53,8 +54,7 @@
  186. {$ifdef FORWARD}
  187. NSPointerFunctions = objcclass;
  188. - NSPointerFunctionsPointer = ^NSPointerFunctions;
  189. - NSPointerFunctionsPtr = NSPointerFunctionsPointer;
  190. + NSPointerFunctionsPtr = ^NSPointerFunctions;
  191. {$endif}
  192. @@ -70,6 +70,7 @@
  193. function initWithOptions(options: NSPointerFunctionsOptions): id; message 'initWithOptions:';
  194. class function pointerFunctionsWithOptions(options: NSPointerFunctionsOptions): id; message 'pointerFunctionsWithOptions:';
  195. +(*
  196. procedure setItem (newValue: NSUInteger); message 'setItem:';
  197. function item: NSUInteger; message 'item';
  198. procedure setItem1 (newValue: Boolean); message 'setItem1:';
  199. @@ -80,6 +81,7 @@
  200. function : NSUInteger; message '';
  201. procedure setSrc (newValue: Pointer); message 'setSrc:';
  202. function src: Pointer; message 'src';
  203. +*)
  204. procedure setUsesStrongWriteBarrier (newValue: Boolean); message 'setUsesStrongWriteBarrier:';
  205. function usesStrongWriteBarrier: Boolean; message 'usesStrongWriteBarrier';
  206. procedure setUsesWeakReadAndWriteBarriers (newValue: Boolean); message 'setUsesWeakReadAndWriteBarriers:';
  207. --- /Data/dev/cocoa/parsedheaders/newheaders3/foundation/NSRange.inc 2010-09-22 20:21:06.000000000 +0200
  208. +++ cocoa-skel/src/foundation/NSRange.inc 2010-09-22 23:57:57.000000000 +0200
  209. @@ -6,11 +6,6 @@
  210. {$ifndef NSRANGE_PAS_T}
  211. {$define NSRANGE_PAS_T}
  212. -{ Types }
  213. -type
  214. - NSRangePointer = ^NSRange;
  215. - NSRangePointerPtr = ^NSRangePointer;
  216. -
  217. {$endif}
  218. {$endif}
  219. @@ -25,7 +20,8 @@
  220. length: NSUInteger;
  221. end;
  222. NSRange = _NSRange;
  223. -_NSRangePtr = ^_NSRange;
  224. +NSRangePtr = ^NSRange;
  225. +NSRangePointer = NSRangePtr;
  226. {$endif}