Browse Source

Mass typo fixes in comments for packages part 2/5.

Margers 1 day ago
parent
commit
9ac4809bef
100 changed files with 275 additions and 275 deletions
  1. 1 1
      packages/univint/examples/controldemo.pas
  2. 1 1
      packages/univint/src/ABGlobals.pas
  3. 5 5
      packages/univint/src/AEDataModel.pas
  4. 2 2
      packages/univint/src/AEMach.pas
  5. 2 2
      packages/univint/src/ATSFont.pas
  6. 5 5
      packages/univint/src/ATSLayoutTypes.pas
  7. 1 1
      packages/univint/src/ATSUnicodeDrawing.pas
  8. 6 6
      packages/univint/src/ATSUnicodeFlattening.pas
  9. 1 1
      packages/univint/src/ATSUnicodeFonts.pas
  10. 1 1
      packages/univint/src/ATSUnicodeObjects.pas
  11. 11 11
      packages/univint/src/ATSUnicodeTypes.pas
  12. 1 1
      packages/univint/src/AXActionConstants.pas
  13. 3 3
      packages/univint/src/AXAttributeConstants.pas
  14. 1 1
      packages/univint/src/AXRoleConstants.pas
  15. 2 2
      packages/univint/src/Appearance.pas
  16. 2 2
      packages/univint/src/AppleEvents.pas
  17. 3 3
      packages/univint/src/AudioCodecs.pas
  18. 1 1
      packages/univint/src/AudioConverter.pas
  19. 3 3
      packages/univint/src/AudioHardware.pas
  20. 7 7
      packages/univint/src/AudioHardwareBase.pas
  21. 3 3
      packages/univint/src/AudioHardwareDeprecated.pas
  22. 3 3
      packages/univint/src/AudioUnitProperties.pas
  23. 11 11
      packages/univint/src/Authorization.pas
  24. 1 1
      packages/univint/src/AuthorizationDB.pas
  25. 2 2
      packages/univint/src/AuthorizationTags.pas
  26. 1 1
      packages/univint/src/CFBundle.pas
  27. 6 6
      packages/univint/src/CFCharacterSet.pas
  28. 1 1
      packages/univint/src/CFDictionary.pas
  29. 1 1
      packages/univint/src/CFFileSecurity.pas
  30. 2 2
      packages/univint/src/CFHTTPAuthentication.pas
  31. 1 1
      packages/univint/src/CFHTTPStream.pas
  32. 1 1
      packages/univint/src/CFSocketStream.pas
  33. 3 3
      packages/univint/src/CFStream.pas
  34. 1 1
      packages/univint/src/CFString.pas
  35. 1 1
      packages/univint/src/CFURL.pas
  36. 1 1
      packages/univint/src/CFXMLParser.pas
  37. 1 1
      packages/univint/src/CGBase.pas
  38. 6 6
      packages/univint/src/CGContext.pas
  39. 2 2
      packages/univint/src/CGDirectDisplay.pas
  40. 2 2
      packages/univint/src/CGDisplayFades.pas
  41. 2 2
      packages/univint/src/CGEvent.pas
  42. 1 1
      packages/univint/src/CGImageDestination.pas
  43. 3 3
      packages/univint/src/CGImageMetadata.pas
  44. 1 1
      packages/univint/src/CGLProfiler.pas
  45. 1 1
      packages/univint/src/CGLTypes.pas
  46. 1 1
      packages/univint/src/CGPDFContext.pas
  47. 1 1
      packages/univint/src/CGRemoteOperation.pas
  48. 1 1
      packages/univint/src/CGWindowLevels.pas
  49. 2 2
      packages/univint/src/CSIdentity.pas
  50. 3 3
      packages/univint/src/CSIdentityBase.pas
  51. 1 1
      packages/univint/src/CSIdentityQuery.pas
  52. 2 2
      packages/univint/src/CTFontCollection.pas
  53. 4 4
      packages/univint/src/CVBuffer.pas
  54. 11 11
      packages/univint/src/CVDisplayLink.pas
  55. 1 1
      packages/univint/src/CVOpenGLBufferPool.pas
  56. 1 1
      packages/univint/src/CVOpenGLTextureCache.pas
  57. 4 4
      packages/univint/src/CVPixelBuffer.pas
  58. 1 1
      packages/univint/src/CVPixelBufferPool.pas
  59. 4 4
      packages/univint/src/CarbonEvents.pas
  60. 2 2
      packages/univint/src/CarbonEventsCore.pas
  61. 10 10
      packages/univint/src/ColorSyncDeprecated.pas
  62. 2 2
      packages/univint/src/Components.pas
  63. 1 1
      packages/univint/src/ConditionalMacros.pas
  64. 3 3
      packages/univint/src/Controls.pas
  65. 8 8
      packages/univint/src/CoreAudioTypes.pas
  66. 1 1
      packages/univint/src/Dictionary.pas
  67. 2 2
      packages/univint/src/Displays.pas
  68. 1 1
      packages/univint/src/FSEvents.pas
  69. 1 1
      packages/univint/src/FileTypesAndCreators.pas
  70. 8 8
      packages/univint/src/Files.pas
  71. 1 1
      packages/univint/src/FinderRegistry.pas
  72. 3 3
      packages/univint/src/Folders.pas
  73. 5 5
      packages/univint/src/GestaltEqu.pas
  74. 1 1
      packages/univint/src/HIDataBrowser.pas
  75. 1 1
      packages/univint/src/HIDisclosureViews.pas
  76. 1 1
      packages/univint/src/HIShape.pas
  77. 1 1
      packages/univint/src/HITheme.pas
  78. 1 1
      packages/univint/src/HIToolbar.pas
  79. 1 1
      packages/univint/src/HIView.pas
  80. 3 3
      packages/univint/src/HostTime.pas
  81. 3 3
      packages/univint/src/ICAApplication.pas
  82. 1 1
      packages/univint/src/ICACamera.pas
  83. 1 1
      packages/univint/src/ICADevice.pas
  84. 2 2
      packages/univint/src/IOSurfaceAPI.pas
  85. 2 2
      packages/univint/src/IconsCore.pas
  86. 5 5
      packages/univint/src/ImageCodec.pas
  87. 1 1
      packages/univint/src/InternetConfig.pas
  88. 2 2
      packages/univint/src/IntlResources.pas
  89. 1 1
      packages/univint/src/Keyboards.pas
  90. 1 1
      packages/univint/src/LSQuarantine.pas
  91. 2 2
      packages/univint/src/LanguageAnalysis.pas
  92. 2 2
      packages/univint/src/MDImporter.pas
  93. 7 7
      packages/univint/src/MDItem.pas
  94. 8 8
      packages/univint/src/MDQuery.pas
  95. 2 2
      packages/univint/src/MDSchema.pas
  96. 3 3
      packages/univint/src/MIDIServices.pas
  97. 3 3
      packages/univint/src/MacApplication.pas
  98. 15 15
      packages/univint/src/MacErrors.pas
  99. 2 2
      packages/univint/src/MacTypes.pas
  100. 1 1
      packages/univint/src/MacWindows.pas

+ 1 - 1
packages/univint/examples/controldemo.pas

@@ -43,7 +43,7 @@ const
 
 { implementation of the functions }
 
-{ Functions to easely generate carbon structures }
+{ Functions to easily generate carbon structures }
 
 function GetQDRect(Left, Top, Width, Height: Integer): MacOSAll.Rect;
 begin

+ 1 - 1
packages/univint/src/ABGlobals.pas

@@ -6,7 +6,7 @@
  *
  }
 {	  Pascal Translation:  Peter N Lewis, <[email protected]>, 2004 }
-{   Pascal Translation Updated:  Peter N Lewis, <[email protected]>, Feburary 2006 }
+{   Pascal Translation Updated:  Peter N Lewis, <[email protected]>, February 2006 }
 {	  Pascal Translation Updated:  Gorazd Krosl, <[email protected]>, November 2009 }
 {     Pascal Translation Updated:  Gale R Paeper, <[email protected]>, 2018 }
 

+ 5 - 5
packages/univint/src/AEDataModel.pas

@@ -284,7 +284,7 @@ const
         typeShortFloat      typeIEEE32BitFloatingPoint  Float32
         typeLongFloat       typeIEEE64BitFloatingPoint  Float64
 
-    There is no good type on 64 bit to use for typeEntended; either change your code to pass typeIEEE64BitFloatingPoint
+    There is no good type on 64 bit to use for typeExtended; either change your code to pass typeIEEE64BitFloatingPoint
     for typeExtended and live with the reduction in range or use type128BitFloatingPoint.
 
 }
@@ -393,7 +393,7 @@ const
 	keySenderApplescriptEntitlementsAttr = FourCharCode('entl'); { read only, an AEDesc containing opaque data representing the entitlements held by the sender. Interpreted by sandbox routines. }
 	keySenderApplicationIdentifierEntitlementAttr = FourCharCode('aiea');
 	keySenderApplicationSandboxed = FourCharCode('sssb'); { read-only, an AEDesc typeBoolean, true if the sender application was in an application sandbox }
-	keyActualSenderAuditToken = FourCharCode('acat'); { read-only, an AEDesc typeAuditToken of the acual ( possibly over-ridden ) audit token for the sender of this event }
+	keyActualSenderAuditToken = FourCharCode('acat'); { read-only, an AEDesc typeAuditToken of the actual ( possibly over-ridden ) audit token for the sender of this event }
 //	#endif
 
 //	#if defined(__MAC_10_13) && __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_13
@@ -433,7 +433,7 @@ const
 	keyRPCMethodName = FourCharCode('meth'); { name of the method to call }
 	keyRPCMethodParam = FourCharCode('parm'); { the list (or structure) of parameters }
 	keyRPCMethodParamOrder = FourCharCode('/ord'); { if a structure, the order of parameters (a list) }
-                                        { when keyXMLDebugginAttr so specifies, these additional parameters will be part of the reply. }
+                                        { when keyXMLDebuggingAttr so specifies, these additional parameters will be part of the reply. }
 	keyAEPOSTHeaderData = FourCharCode('phed'); { what we sent to the server }
 	keyAEReplyHeaderData = FourCharCode('rhed'); { what the server sent to us }
 	keyAEXMLRequestData = FourCharCode('xreq'); { what we sent to the server }
@@ -450,7 +450,7 @@ const
    to specify the namespace and type of the structure.  To do this,
    add a keySOAPStructureMetaData record to the top level of the
    record to be serialized.  If present, this will be used to specify
-   the structure namespace.  This will produce a structure elment that
+   the structure namespace.  This will produce a structure element that
    looks like:
 
     <myStruct
@@ -1218,7 +1218,7 @@ function AECreateDescFromExternalPtr( descriptorType: OSType; dataPtr: {const} U
 	 *	  resultP:
 	 *		If non-NULL, on a noErr return will be filled in with
 	 *		true or false indicating whether the descriptors are
-	 *		equilavent or not.
+	 *		equivalent or not.
 	 *
 	 *  Two descriptors are identical if they are the same type and have
 	 *  the same data; typeAEList descriptors must contain the same number

+ 2 - 2
packages/univint/src/AEMach.pas

@@ -233,7 +233,7 @@ uses MacTypes,MacOSXPosix,AEDataModel;
  *
  * AppleEvents are directed to a well known port uniquely tied to a
  * process.  The AE framework will discover this port based on the
- * keyAddressAttr of the event (as specifed in AECreateAppleEvent by
+ * keyAddressAttr of the event (as specified in AECreateAppleEvent by
  * the target parameter.)  If a port cannot be found,
  * procNotFound (-600) will be returned on AESend.
  *
@@ -254,7 +254,7 @@ uses MacTypes,MacOSXPosix,AEDataModel;
  *
  * In general, the AppleEvent APIs are thread safe, but the mechanism
  * of their delivery (AEProcessAppleEvent, AEResumeTheCurrentEvent)
- * are not.  If you're attemping to write a thread safe server, you
+ * are not.  If you're attempting to write a thread safe server, you
  * should avoid AppleEvent routines that don't explicitly state their
  * thread safety.
  *

+ 2 - 2
packages/univint/src/ATSFont.pas

@@ -262,7 +262,7 @@ const
 
 { Iteration Option Flags }
 const
-	kATSOptionFlagsIterateByPrecedenceMask = $00000001 shl 5; { Fonts returned from highest to lowest precedece }
+	kATSOptionFlagsIterateByPrecedenceMask = $00000001 shl 5; { Fonts returned from highest to lowest precede }
 	kATSOptionFlagsIncludeDisabledMask = $00000001 shl 7; { Disabled Fonts will show up in iteration, also valid for ATSFontFindFromContainer }
 	kATSOptionFlagsIterationScopeMask = $00000007 shl 12; { Mask option bits 12-14 for iteration scopes }
 	kATSOptionFlagsDefaultScope = $00000000 shl 12;
@@ -1350,7 +1350,7 @@ const
 {
    * The message ID for a font request query. The data for a message
    * with this ID is a flattened CFDictionaryRef with keys and values
-   * as decribed below. A query dictionary may have any or all of these
+   * as described below. A query dictionary may have any or all of these
    * entries.
    }
 	kATSQueryActivateFontMessage = FourCharCode('atsa');

+ 5 - 5
packages/univint/src/ATSLayoutTypes.pas

@@ -387,7 +387,7 @@ const
 	kATSLineHasNoOpticalAlignment = $00000004;
 
   {
-   * Specifies that space charcters should not be treated as hangers.
+   * Specifies that space characters should not be treated as hangers.
    }
 	kATSLineKeepSpacesOutOfMargin = $00000008;
 
@@ -410,7 +410,7 @@ const
 
   {
    * Specifies that the carets at the ends of the line will be
-   * guarenteed to be perpendicular to the baseline.
+   * guaranteed to be perpendicular to the baseline.
    }
 	kATSLineImposeNoAngleForEnds = $00000080;
 
@@ -454,7 +454,7 @@ const
   {
    * Specifies that lines with any integer glyph positioning (due to
    * either any character non-antialiased or kATSLineFractDisable
-   * specified), not automatically esthetically adjust individual
+   * specified), not automatically aesthetically adjust individual
    * character positions while rendering to display.
    }
 	kATSLineDisableAutoAdjustDisplayPos = $00004000;
@@ -510,7 +510,7 @@ const
 
   {
    * These bits are reserved by Apple and will result in a invalid
-   * value error if attemped to set. Obsolete constants:
+   * value error if attempted to set. Obsolete constants:
    }
 	kATSLineAppleReserved = $FCE00000;
 
@@ -554,7 +554,7 @@ const
 
   {
    * These bits are reserved by Apple and will result in a invalid
-   * value error if attemped to set.
+   * value error if attempted to set.
    }
 	kATSStyleAppleReserved = $FFFFFFF8;
 

+ 1 - 1
packages/univint/src/ATSUnicodeDrawing.pas

@@ -346,7 +346,7 @@ function ATSUDrawText( iTextLayout: ATSUTextLayout; iLineOffset: UniCharArrayOff
  *    Justification, truncation, and device level positioning are not
  *    taken into account. To obtain the typographic bounds of a line
  *    after it is laid out, you can call the function
- *    ATSUGetGlyphBounds. For more infomration about the difference
+ *    ATSUGetGlyphBounds. For more information about the difference
  *    between typographic and image bounds, please refer to the ATSUI
  *    documentation. Note that ATSUGetUnjustifiedBounds treats the
  *    specified text range as a single line. That is, if the range of

+ 6 - 6
packages/univint/src/ATSUnicodeFlattening.pas

@@ -345,7 +345,7 @@ type
 {
    The Block 2 Structures are not currently used by any of ATSUI's internal parsing
    or packing routines. They are, however, part of the 'ustl' standard and are put
-   here for developer conveniance, as well as to properly define the standard.
+   here for developer convenience, as well as to properly define the standard.
 }
 
 {
@@ -500,7 +500,7 @@ type
 
                                               { the number of attributes set in this flattened style object. This should }
                                               { be at least one for the font data, although it can be 0 if this is to be}
-                                              { unspecfied.}
+                                              { unspecified.}
 		numberOfSetAttributes: UInt32;
 
                                               { the number of font features set in the flattened style object. This can}
@@ -593,12 +593,12 @@ type
 }
 
 
-{ these are the currenly supported font specifiers. }
+{ these are the currently supported font specifiers. }
 type
 	ATSFlatDataFontSpeciferType = UInt32;
 const
 { this specifier allows the storage of font data based on name data. This}
-                                        { uses the stuctures below to store the actual data itself.}
+                                        { uses the structures below to store the actual data itself.}
 	kATSFlattenedFontSpecifierRawNameData = FourCharCode('namd');
 
 {
@@ -611,8 +611,8 @@ type
 { the type of data that is flattened in this structure}
 		nameSpecifierType: ATSFlatDataFontSpeciferType;
 
-                                              { the size of the data that is flattened in this structre, not including }
-                                              { any padding bytes that may be necessary to achive the four byte }
+                                              { the size of the data that is flattened in this structure, not including }
+                                              { any padding bytes that may be necessary to achieve the four byte }
                                               { alignment of the data, unless they are specified as part of structure, }
                                               { such as with the ATSFlatDataFontSpecRawNameData structure.}
 		nameSpecifierSize: UInt32;

+ 1 - 1
packages/univint/src/ATSUnicodeFonts.pas

@@ -1810,7 +1810,7 @@ function ATSUCountFontInstances( iFontID: ATSUFontID; var oInstances: ItemCount
  *    the font, with a similar value range. The type designer can then
  *    choose to declare a font instance for a set of specific values
  *    within these axes, such as ÒDemiboldÓ for a value of 0.8 for the
- *    'wght' axis and 0.5 for the 'wdth' axis. By calling the function
+ *    'wight' axis and 0.5 for the 'wdth' axis. By calling the function
  *    ATSUGetFontInstance , you can obtain the variation axis values
  *    for a given index into an array of font instances. Typically you
  *    use the function ATSUGetFontInstance by calling it twice, as

+ 1 - 1
packages/univint/src/ATSUnicodeObjects.pas

@@ -1797,7 +1797,7 @@ function ATSUCopyLayoutControls( iSourceTextLayout: ATSUTextLayout; iDestTextLay
  *    width of the text area from margin to margin, the alignment of
  *    the text, its justification, rotation, and direction, as well as
  *    other layout options. See ATSUSetLineControls for information
- *    about controling text and the line level. Similar to style
+ *    about controlling text and the line level. Similar to style
  *    attributes, you use a "triple" to specify a line or layout
  *    control attribute. That is, (1) an attribute tag, (2) the size
  *    (in bytes) of the attribute value, and (3) the value of the

+ 11 - 11
packages/univint/src/ATSUnicodeTypes.pas

@@ -522,7 +522,7 @@ const
 	kATSUCGContextTag = 32767;
 
   {
-   * (Type: Boolean) (Default value: false) For compatability purposes
+   * (Type: Boolean) (Default value: false) For compatibility purposes
    * only. Choosing typographic styles from font families is preferred.
    * Note this tag will produce a synthetic style for fonts that do not
    * have a typographic style. May be set as a style attribute.
@@ -530,7 +530,7 @@ const
 	kATSUQDBoldfaceTag = 256;
 
   {
-   * (Type: Boolean) (Default value: false) For compatability purposes
+   * (Type: Boolean) (Default value: false) For compatibility purposes
    * only. Choosing typographic styles from font families is preferred.
    * Note this tag will produce a synthetic style for fonts that do not
    * have a typographic style. May be set as a style attribute.
@@ -538,19 +538,19 @@ const
 	kATSUQDItalicTag = 257;
 
   {
-   * (Type: Boolean) (Default value: false) For compatability purposes
+   * (Type: Boolean) (Default value: false) For compatibility purposes
    * only. May be set as a style attribute.
    }
 	kATSUQDUnderlineTag = 258;
 
   {
-   * (Type: Boolean) (Default value: false) For compatability purposes
+   * (Type: Boolean) (Default value: false) For compatibility purposes
    * only. May be set as a style attribute.
    }
 	kATSUQDCondensedTag = 259;
 
   {
-   * (Type: Boolean) (Default value: false) For compatability purposes
+   * (Type: Boolean) (Default value: false) For compatibility purposes
    * only. May be set as a style attribute.
    }
 	kATSUQDExtendedTag = 260;
@@ -648,7 +648,7 @@ const
 
   {
    * (Type: Boolean) (Default value: false) When set to true, ligatures
-   * and compound characters will not have divisable components. May be
+   * and compound characters will not have divisible components. May be
    * set as a style attribute.
    }
 	kATSUNoLigatureSplitTag = 276;
@@ -935,7 +935,7 @@ const
  *    The constants kATSUTruncateNone, kATSUTruncateStart,
  *    kATSUTruncateEnd, and kATSUTruncateMiddle represent different
  *    places in the text where glyphs should be replaced with an
- *    elipsis should the text not fit within the width set by the
+ *    ellipsis should the text not fit within the width set by the
  *    kATSULineWidthTag line and layout control. The constant
  *    kATSUTruncFeatNoSquishing is special and can be bitwise OR'd with
  *    any of the other constants. It indicates that ATSUI should not
@@ -1137,7 +1137,7 @@ const
  *    ATSUGlyphSelector can direct ATSUI to use a specific glyph
  *    instead of the one that ATSUI normally derives.  The glyph can be
  *    specified either as a glyphID (specific to the font used) or CID
- *    from a specfic collection defined by the collection entry.
+ *    from a specific collection defined by the collection entry.
  }
 type
 	ATSUGlyphSelector = record
@@ -1389,13 +1389,13 @@ type
  *  Discussion:
  *    There are two methods of highlighting available on Mac OS X:
  *    invert and redraw. For the invert method, no unhighlight method
- *    needs to be specified. ATSUI will simply higlight text by
+ *    needs to be specified. ATSUI will simply highlight text by
  *    performing a color inversion on the area surrounding the test.
- *    However, for best results, the redraw method is perferred. With
+ *    However, for best results, the redraw method is preferred. With
  *    this method, ATSUI will redraw text with a new background when
  *    highlighting, and redraw it again when unhighlighting. When using
  *    the redraw method, ATSUI needs to know how to restore the
- *    backround when unhighlighting text. That is where the unhighlight
+ *    background when unhighlighting text. That is where the unhighlight
  *    data comes in. This struct tells ATSUI how to restore the
  *    background after a highlight. There are two methods for
  *    specifying this information to ATSUI. One is by specifying a

+ 1 - 1
packages/univint/src/AXActionConstants.pas

@@ -227,7 +227,7 @@ uses MacTypes;
 
 {
 	TBD: Explain general philosophy on whether to expose an action or not.
-	Our initial philopsophy is to not to have an action where there is a menu item
+	Our initial philosophy is to not to have an action where there is a menu item
 	or button that does the same thing.
 }
 

+ 3 - 3
packages/univint/src/AXAttributeConstants.pas

@@ -549,7 +549,7 @@ uses MacTypes;
 	
 	Writable? No.
 	
-	Required for many user maniipulatable elements. See kAXValueAttribute for more
+	Required for many user manipulable elements. See kAXValueAttribute for more
 	details.
 }
 {$ifc USE_CFSTR_CONSTANT_MACROS}
@@ -569,7 +569,7 @@ uses MacTypes;
 	
 	Writable? No.
 	
-	Required for many user maniipulatable elements. See kAXValueAttribute for more
+	Required for many user manipulable elements. See kAXValueAttribute for more
 	details.
 }
 {$ifc USE_CFSTR_CONSTANT_MACROS}
@@ -722,7 +722,7 @@ uses MacTypes;
 	Value: A CFArrayRef of AXUIElementRefs.
 	
 	Writable? Only if there is no other way to manipulate the set of selected elements via
-	accessibilty attributes or actions. Even if other ways exist, this attribute can be
+	accessibility attributes or actions. Even if other ways exist, this attribute can be
 	writable as a convenience to assistive applications and their users. If
 	kAXSelectedChildrenAttribute is writable, a write request with a value of an empty
 	array should deselect all selected children.

+ 1 - 1
packages/univint/src/AXRoleConstants.pas

@@ -328,7 +328,7 @@ uses MacTypes;
 	vertical scrolling for the outline. Outlines are expected to follow certain conventions
 	with respect to their hierarchy of sub-elements. In particular, if the outline uses
 	columns, the data should be accessible via either rows or columns. Thus, the data in a
-	given cell will be represented as two diffrent elements. Here's a hierarchy for a
+	given cell will be represented as two different elements. Here's a hierarchy for a
 	typical outline:
 	
 		AXScrollArea (parent of the outline)

+ 2 - 2
packages/univint/src/Appearance.pas

@@ -981,7 +981,7 @@ const
 	kThemeSmoothFontEnabledTag = FourCharCode('smoo'); { Boolean}
 	kThemeSmoothFontMinSizeTag = FourCharCode('smos'); { UInt16 (must be >= 12 and <= 24)}
 
-{ Picture Aligmnents that might be reported in the data for kThemeDesktopPictureAlignmentTag}
+{ Picture Alignments that might be reported in the data for kThemeDesktopPictureAlignmentTag}
 const
 	kTiledOnScreen = 1;    { draws picture repeatedly}
 	kCenterOnScreen = 2;    { "actual size", shows pattern on sides or clips picture if necessary}
@@ -2401,7 +2401,7 @@ type
 {      handle on the window.                                                               }
 {  kThemePopupTabCenterOnOffset                                                            }
 {      tells us to center the width of the handle around the value passed in offset.       }
-{  The Appearance Manager will try its best to accomodate the requested placement, but may }
+{  The Appearance Manager will try its best to accommodate the requested placement, but may}
 {  move the handle slightly to make it fit correctly.                                      }
 const
 	kThemePopupTabNormalPosition = 0;

+ 2 - 2
packages/univint/src/AppleEvents.pas

@@ -272,7 +272,7 @@ const
 
 
 {
- * AEEventSource is defined as an SInt8 for compatability with pascal.
+ * AEEventSource is defined as an SInt8 for compatibility with pascal.
  * Important note: keyEventSourceAttr is returned by AttributePtr as a typeShortInteger.
  * Be sure to pass at least two bytes of storage to AEGetAttributePtr - the result can be
  * compared directly against the following enums.
@@ -546,7 +546,7 @@ type
  *    Create a Remote Process List Resolver object.  The allocator is
  *    used for any CoreFoundation types created or returned by this
  *    API.  The resulting object can be scheduled on a run loop, or
- *    queried synchronously.  Once the object has retreived results
+ *    queried synchronously.  Once the object has retrieved results
  *    from the server, or got an error doing so, it will not re-fetch
  *    the data.  To retrieve a new list of processes, create a new
  *    instance of this object.

+ 3 - 3
packages/univint/src/AudioCodecs.pas

@@ -538,7 +538,7 @@ const
 						A Float64 containing the current output sample rate in Hz. No Default.
 						May be writable. If only one sample rate is supported it does not have to be.
 	@constant		kAudioCodecPropertyQualitySetting
-						A UInt32 that sets the tradeoff between sound quality and CPU time consumption.
+						A UInt32 that sets the trade-off between sound quality and CPU time consumption.
 						The property value is between [0 - 0x7F].
 						Some enum constants are defined below for convenience.
 						Writable if supported.
@@ -627,10 +627,10 @@ const
                         Writable if supported.
 	@constant		kAudioCodecPropertyAdjustLocalQuality
 						An SInt32 number in the range [-128, 127] to allow encoding quality adjustements on a packet by packet basis.
-						This property can be set on an initialized encoder object without having to uninitialize and re-intialize it
+						This property can be set on an initialized encoder object without having to uninitialize and re-initialize it
 						and allows to adjust the encoder quality level for every packet. This is useful for packets streamed over
 						unreliable IP networks where the encoder needs to adapt immediately to network condition changes.
-						Escape property ID's start with a '^' symbol as the first AnsiChar code. This bypasses the initilization check.
+						Escape property ID's start with a '^' symbol as the first AnsiChar code. This bypasses the initialization check.
     @constant		kAudioCodecPropertyProgramTargetLevel
 						A Float32 specifying the program target level in dB FS for decoders.
 						Supported target levels are in the range of -31.0 to -20.0dB.

+ 1 - 1
packages/univint/src/AudioConverter.pas

@@ -678,7 +678,7 @@ function AudioConverterNew( const (*var*) inSourceFormat: AudioStreamBasicDescri
     @param      inNumberClassDescriptions
                     The number of class descriptions.
     @param      inClassDescriptions
-                    AudioClassDescriptions specifiying the codec to instantiate.
+                    AudioClassDescriptions specifying the codec to instantiate.
     @param      outAudioConverter
                     On successful return, points to a new AudioConverter instance.
     @result     An OSStatus result code.

+ 3 - 3
packages/univint/src/AudioHardware.pas

@@ -615,7 +615,7 @@ const
     @constant       kAudioHardwarePropertyPlugInForBundleID
                         Using an AudioValueTranslation structure, this property translates the input
                         CFString containing a bundle ID into the AudioObjectID of the AudioPlugIn
-                        that corresponds to it. This property will return kAudioObjectUnkown if the
+                        that corresponds to it. This property will return kAudioObjectUnknown if the
                         given bundle ID doesn't match any AudioPlugIns.
     @constant       kAudioHardwarePropertyUserSessionIsActiveOrHeadless
                         A UInt32 where a value other than 0 indicates that the login session of the
@@ -1473,7 +1473,7 @@ const
                         device.
     @constant       kAudioAggregateDevicePropertyComposition
                         A CFDictionary that describes the composition of the AudioAggregateDevice.
-                        The keys for this CFDicitionary are defined in the AudioAggregateDevice
+                        The keys for this CFDictionary are defined in the AudioAggregateDevice
                         Constants section. The caller is responsible for releasing the returned
                         CFObject.
     @constant       kAudioAggregateDevicePropertyMasterSubDevice
@@ -1596,7 +1596,7 @@ const
     @abstract       AudioObjectPropertySelector values provided by the AudioSubDevice class.
     @discussion     The AudioSubDevice class is a subclass of AudioDevice class and has the same
                     scope and element structure. However, AudioSubDevice objects do not implement an
-                    IO path of their own and as such do not implmenent any  AudioDevice properties
+                    IO path of their own and as such do not implement any  AudioDevice properties
                     associated with the IO path. They also don't have any streams.
     @constant       kAudioSubDevicePropertyExtraLatency
                         A Float64 indicating the number of sample frames to add to or subtract from

+ 7 - 7
packages/univint/src/AudioHardwareBase.pas

@@ -409,7 +409,7 @@ const
 {!
     @enum           Wildcard Constants
     @abstract       Constants that are used as wildcards.
-    @discussion     Wildcards match any and all values for thier associated type. They are useful
+    @discussion     Wildcards match any and all values for their associated type. They are useful
                     when registering to receive notificationss.
     @constant       kAudioObjectPropertySelectorWildcard
                         The wildcard value for AudioObjectPropertySelectors.
@@ -449,7 +449,7 @@ const
     @discussion     The AudioObject class is the base class for all classes. As such, all classes
                     inherit this set of properties.
     @constant       kAudioObjectPropertyBaseClass
-                        An AudioClassID that identifies the class from which the clase of the
+                        An AudioClassID that identifies the class from which the class of the
                         AudioObject is derived. This value must always be one of the standard
                         classes.
     @constant       kAudioObjectPropertyClass
@@ -853,13 +853,13 @@ const
                     element structure.
     @constant       kAudioEndPointDevicePropertyComposition
                         A CFDictionary that describes the composition of the AudioEndPointDevice.
-                        The keys for this CFDicitionary are defined in the AudioEndPointDevice
+                        The keys for this CFDictionary are defined in the AudioEndPointDevice
                         Constants section. The caller is responsible for releasing the returned
                         CFObject.
     @constant       kAudioEndPointDevicePropertyEndPointList
                         An array of AudioObjectIDs for all the AudioEndPoints in the device.
     @constant       kAudioEndPointDevicePropertyIsPrivate
-                        A pid_t where a value of 0 idicates that the device is public and a non-zero
+                        A pid_t where a value of 0 indicates that the device is public and a non-zero
                         value indicates the pid of the process that owns the device.
 }
 const
@@ -876,7 +876,7 @@ const
     @abstract       Various constants related to the AudioEndPoint class.
     @discussion     The AudioEndPoint class is a subclass of AudioDevice class and has the same
                     scope and element structure. However, AudioEndPoint objects do not implement an
-                    IO path of their own and as such do not implmenent any  AudioDevice properties
+                    IO path of their own and as such do not implement any  AudioDevice properties
                     associated with the IO path.
     @constant       kAudioEndPointDeviceClassID
                         The AudioClassID that identifies the AudioEndPointDevice class.
@@ -931,7 +931,7 @@ const
     @abstract       This structure allows a specific sample rate range to be associated with an
                     AudioStreamBasicDescription that specifies it's sample rate as
                     kAudioStreamAnyRate.
-    @discussion     Note that this structure is only used to desicribe the the available formats
+    @discussion     Note that this structure is only used to describe the the available formats
                     for a stream. It is not used for the current format.
     @field          mFormat
                         The AudioStreamBasicDescription that describes the format of the stream.
@@ -988,7 +988,7 @@ const
     @constant       kAudioStreamTerminalTypeHeadsetMicrophone
                         The ID for a terminal type of a microphone attached to an headset.
     @constant       kAudioStreamTerminalTypeReceiverMicrophone
-                        The ID for a terminal type of a microhpone on a telephone handset recevier.
+                        The ID for a terminal type of a microhpone on a telephone handset receiver.
     @constant       kAudioStreamTerminalTypeTTY
                         The ID for a terminal type of a device providing a TTY signal.
     @constant       kAudioStreamTerminalTypeHDMI

+ 3 - 3
packages/univint/src/AudioHardwareDeprecated.pas

@@ -483,7 +483,7 @@ function AudioHardwareRemoveRunLoopSource( inRunLoopSource: CFRunLoopSourceRef )
                         on exit. This can be NULL if the size information is not being requested.
     @param          outWritable
                         A pointer to a Boolean that receives indication of whether or not the given
-                        property can be set. This can be NULL if the writability is not being
+                        property can be set. This can be NULL if the write ability is not being
                         requested.
     @result         An OSStatus indicating success or failure.
 }
@@ -920,7 +920,7 @@ function AudioDeviceRead( inDevice: AudioDeviceID; const (*var*) inStartTime: Au
                         on exit. This can be NULL if the size information is not being requested.
     @param          outWritable
                         A pointer to a Boolean that receives indication of whether or not the given
-                        property can be set. This can be NULL if the writability is not being
+                        property can be set. This can be NULL if the write ability is not being
                         requested.
     @result         An OSStatus indicating success or failure.
 }
@@ -1138,7 +1138,7 @@ const
                         on exit. This can be NULL if the size information is not being requested.
     @param          outWritable
                         A pointer to a Boolean that receives indication of whether or not the given
-                        property can be set. This can be NULL if the writability is not being
+                        property can be set. This can be NULL if the write ability is not being
                         requested.
     @result         An OSStatus indicating success or failure.
 }

+ 3 - 3
packages/univint/src/AudioUnitProperties.pas

@@ -1649,7 +1649,7 @@ const
 
 {!
 	@define		kAudioUnitConfigurationInfo_InitialInputs
-	@discussion	An array of numbers whose size is equal to the number of input buses posessed by the
+	@discussion	An array of numbers whose size is equal to the number of input buses possessed by the
 				AU. Each number in the array represents the number of channels for the corresponding
 				bus.
 }
@@ -1658,7 +1658,7 @@ const
 
 {!
 	@define		kAudioUnitConfigurationInfo_InitialOutputs
-	@discussion	An array of numbers whose size is equal to the number of output buses posessed by
+	@discussion	An array of numbers whose size is equal to the number of output buses possessed by
 				the AU. Each number in the array represents the number of channels for the
 				corresponding bus.
 }
@@ -3071,7 +3071,7 @@ const
 	kAudioUnitProperty_ScheduledFileNumberBuffers = 3314;
 
 type
-	ScheduledAudioFileRegionPtr = ^ScheduledAudioFileRegion; //forward declaraion, see definition below
+	ScheduledAudioFileRegionPtr = ^ScheduledAudioFileRegion; //forward declaration, see definition below
 {!
 	@typedef		ScheduledAudioFileRegionCompletionProc
 }

+ 11 - 11
packages/univint/src/Authorization.pas

@@ -249,13 +249,13 @@ uses MacTypes;
 	@header Authorization
 	Version 1.0 10/16/2000
 
-	The Authorization API contains all the APIs that a application or tool that need pre-authorization or need an authorization desision made.
+	The Authorization API contains all the APIs that a application or tool that need pre-authorization or need an authorization decision made.
 	
 	A typical use cases are a preference panel that would start off calling AuthorizationCreate() (without UI) to get an authorization object.  Then call AuthorizationCopyRights() to figure out what is currently allowed.
 	
 	If any of the operations that the preference panel wishes to perform are currently not allowed the lock icon in the window would show up in the locked state.  Otherwise it would show up unlocked.
 	
-	When the user locks the lock AuthorizationFree() is called with the kAuthorizationFlagDestroyRights to destroy any authorization rights that have been aquired.
+	When the user locks the lock AuthorizationFree() is called with the kAuthorizationFlagDestroyRights to destroy any authorization rights that have been acquired.
 	
 	When the user unlocks the lock AuthorizationCreate() is called with the kAuthorizationFlagInteractionAllowed and kAuthorizationFlagExtendRights flags to obtain all required rights.  The old authorization object can be freed by calling AuthorizationFree() with no flags.
 
@@ -426,11 +426,11 @@ type AuthorizationEnvironmentPtr = ^AuthorizationEnvironment;
 
 {!
     @function AuthorizationCreate
-    Create a new autorization object which can be used in other authorization calls.  When the authorization is no longer needed AuthorizationFree should be called.
+    Create a new authorization object which can be used in other authorization calls.  When the authorization is no longer needed AuthorizationFree should be called.
 
 	When the kAuthorizationFlagInteractionAllowed flag is set, user interaction will happen when required.  Failing to set this flag will result in this call failing with a errAuthorizationInteractionNotAllowed status when interaction is required.
 
-	Setting the kAuthorizationFlagExtendRights flag will extend the currently available rights. If this flag is set the returned AuthorizationRef will grant all the rights requested when errAuthorizationSuccess is returned. If this flag is not set the operation will almost certainly succeed, but no attempt will be made to make the requested rights availible.
+	Setting the kAuthorizationFlagExtendRights flag will extend the currently available rights. If this flag is set the returned AuthorizationRef will grant all the rights requested when errAuthorizationSuccess is returned. If this flag is not set the operation will almost certainly succeed, but no attempt will be made to make the requested rights available.
 		Call AuthorizationCopyRights to figure out which of the requested rights are granted by the returned AuthorizationRef.
 
 	Setting the kAuthorizationFlagPartialRights flag will cause this call to succeed if only some of the requested rights are being granted by the returned AuthorizationRef. Unless this flag is set this API will fail if not all the requested rights could be obtained.
@@ -442,9 +442,9 @@ type AuthorizationEnvironmentPtr = ^AuthorizationEnvironment;
 		The reason for passing in this flag is to provide correct audit trail information and to avoid unnecessary user interaction.
 
     @param rights (input/optional) An AuthorizationItemSet containing rights for which authorization is being requested.  If none are specified the resulting AuthorizationRef will authorize nothing at all.
-    @param environment (input/optional) An AuthorizationItemSet containing enviroment state used when making the autorization decision.  See the AuthorizationEnvironment type for details.
+    @param environment (input/optional) An AuthorizationItemSet containing enviroment state used when making the authorization decision.  See the AuthorizationEnvironment type for details.
     @param flags (input) options specified by the AuthorizationFlags enum.  set all unused bits to zero to allow for future expansion.
-    @param authorization (output optional) A pointer to an AuthorizationRef to be returned.  When the returned AuthorizationRef is no longer needed AuthorizationFree should be called to prevent anyone from using the aquired rights.  If NULL is specified no new rights are returned, but the system will attempt to authorize all the requested rights and return the appropriate status.
+    @param authorization (output optional) A pointer to an AuthorizationRef to be returned.  When the returned AuthorizationRef is no longer needed AuthorizationFree should be called to prevent anyone from using the acquired rights.  If NULL is specified no new rights are returned, but the system will attempt to authorize all the requested rights and return the appropriate status.
 
     @result errAuthorizationSuccess 0 authorization or all requested rights succeeded.
 
@@ -459,11 +459,11 @@ function AuthorizationCreate( rights: AuthorizationRightsPtr; environment: Autho
 
 {!
     @function AuthorizationFree
-    Destroy an AutorizationRef object. If the kAuthorizationFlagDestroyRights flag is passed,
+    Destroy an AuthorizationRef object. If the kAuthorizationFlagDestroyRights flag is passed,
 	any rights associated with the authorization are lost. Otherwise, only local resources
 	are released, and the rights may still be available to other clients.
 
-	Setting the kAuthorizationFlagDestroyRights flag will prevent any rights that were obtained by the specified authorization object to be preserved after returning from this API.  This effectivaly locks down all potentially shared authorizations.
+	Setting the kAuthorizationFlagDestroyRights flag will prevent any rights that were obtained by the specified authorization object to be preserved after returning from this API.  This effectively locks down all potentially shared authorizations.
 
     @param authorization (input) The authorization object on which this operation is performed.
 	
@@ -497,7 +497,7 @@ function AuthorizationFree( authorization: AuthorizationRef; flags: Authorizatio
 
     @param authorization (input) The authorization object on which this operation is performed.
     @param rights (input) A rights set (see AuthorizationCreate).
-    @param environment (input/optional) An AuthorizationItemSet containing enviroment state used when making the autorization decision.  See the AuthorizationEnvironment type for details.
+    @param environment (input/optional) An AuthorizationItemSet containing enviroment state used when making the authorization decision.  See the AuthorizationEnvironment type for details.
     @param flags (input) options specified by the AuthorizationFlags enum.  set all unused bits to zero to allow for future expansion.
     @param authorizedRights (output/optional) A pointer to a newly allocated AuthorizationInfoSet in which the authorized subset of rights are returned (authorizedRights should be deallocated by calling AuthorizationFreeItemSet() when it is no longer needed).  If NULL the only information returned is the status.  Note that if the kAuthorizationFlagPreAuthorize flag was specified rights that could not be preauthorized are returned in authorizedRights, but their flags contains the kAuthorizationFlagCanNotPreAuthorize bit.
 
@@ -516,7 +516,7 @@ function AuthorizationCopyRights( authorization: AuthorizationRef; const (*var*)
 	Returns sideband information (e.g. access credentials) obtained from a call to AuthorizationCreate.  The format of this data depends of the tag specified.
 	
     @param authorization (input) The authorization object on which this operation is performed.
-    @param tag (input/optional) An optional string tag specifing which sideband information should be returned.  When NULL is specified all available information is returned.
+    @param tag (input/optional) An optional string tag specifying which sideband information should be returned.  When NULL is specified all available information is returned.
     @param flags (input) options specified by the AuthorizationFlags enum.  set all unused bits to zero to allow for future expansion.
     @param info (output) A pointer to a newly allocated AuthorizationInfoSet in which the requested sideband infomation is returned (info should be deallocated by calling AuthorizationFreeItemSet() when it is no longer needed).
 
@@ -596,7 +596,7 @@ function AuthorizationFreeItemSet( var setx: AuthorizationItemSet ): OSStatus; e
 	establish a communications pipe.
 
  	@discussion This function has been deprecated and should no longer be used.
- 	Use a launchd-launched helper tool and/or the Service Mangement framework
+ 	Use a launchd-launched helper tool and/or the Service Management framework
  	for this functionality.
  }
 type

+ 1 - 1
packages/univint/src/AuthorizationDB.pas

@@ -259,7 +259,7 @@ uses MacTypes,Authorization,CFBase,CFDictionary,CFString,CFBundle;
 
 	add identical rule, but specify additional attributes this time.
 
-	Keep in mind while specifying a comment to be specific about what you need to authorize for (1 fax), in terms of a general message for user.  The means of proof required for kRuleIsAdmin (enter username/password for example) should not be included here, since it could be configured differently.  Also note that the "authRef" variable used in each of the above examples must be a vaild AuthorizationRef obtained from AuthorizationCreate().
+	Keep in mind while specifying a comment to be specific about what you need to authorize for (1 fax), in terms of a general message for user.  The means of proof required for kRuleIsAdmin (enter username/password for example) should not be included here, since it could be configured differently.  Also note that the "authRef" variable used in each of the above examples must be a valid AuthorizationRef obtained from AuthorizationCreate().
 
 }
 

+ 2 - 2
packages/univint/src/AuthorizationTags.pas

@@ -268,7 +268,7 @@ const
 
 {!
 	@define kAuthorizationEnvironmentShared
-	The name of the AuthorizationItem that should be passed into the environment when specifying a username and password.  Adding this entry to the environment will cause the username/password to be added to the shared credential pool of the calling applications session.  This means that further calls by other applications in this session will automatically have this credential availible to them.  The value is ignored.
+	The name of the AuthorizationItem that should be passed into the environment when specifying a username and password.  Adding this entry to the environment will cause the username/password to be added to the shared credential pool of the calling applications session.  This means that further calls by other applications in this session will automatically have this credential available to them.  The value is ignored.
 }
 const
 	kAuthorizationEnvironmentShared = 'shared';
@@ -277,7 +277,7 @@ const
 	@define kAuthorizationRightExecute
 	The name of the AuthorizationItem that should be passed into the rights when preauthorizing for a call to AuthorizationExecuteWithPrivileges().
 	
-	You need to aquire this right to be able to perform a AuthorizationExecuteWithPrivileges() operation.  In addtion to this right you should obtain whatever rights the tool you are executing with privileges need to perform it's operation on your behalf.  Currently no options are supported but you should pass in the full path of the tool you wish to execute in the value and valueLength fields.  In the future we will limit the right to only execute the requested path, and we will display this information to the user.
+	You need to acquire this right to be able to perform a AuthorizationExecuteWithPrivileges() operation.  In addition to this right you should obtain whatever rights the tool you are executing with privileges need to perform it's operation on your behalf.  Currently no options are supported but you should pass in the full path of the tool you wish to execute in the value and valueLength fields.  In the future we will limit the right to only execute the requested path, and we will display this information to the user.
 }
 const
 	kAuthorizationRightExecute = 'system.privilege.admin';

+ 1 - 1
packages/univint/src/CFBundle.pas

@@ -253,7 +253,7 @@ function CFBundleGetBundleWithIdentifier( bundleID: CFStringRef ): CFBundleRef;
 
 function CFBundleGetAllBundles: CFArrayRef; external name '_CFBundleGetAllBundles';
     { This is potentially expensive, and not thread-safe.  Use with care. }
-    { Best used for debuggging or other diagnostic purposes. }
+    { Best used for debugging or other diagnostic purposes. }
 
 { ===================== Creating Bundles ===================== }
 

+ 6 - 6
packages/univint/src/CFCharacterSet.pas

@@ -232,7 +232,7 @@ uses MacTypes,CFBase,CFData;
         bitmap representation rarely has 136K byte.  For detailed
         discussion of the external bitmap representation, refer to the
         comments for CFCharacterSetCreateWithBitmapRepresentation below.
-        Note that the existance of non-BMP characters in a character set
+        Note that the existence of non-BMP characters in a character set
         does not imply the membership of the corresponding surrogate
         characters.  For example, a character set with U+10000 does not
         match with U+D800.
@@ -336,7 +336,7 @@ function CFCharacterSetCreateWithCharactersInString( alloc: CFAllocatorRef; theS
 
 {!
 	@function CFCharacterSetCreateWithBitmapRepresentation
-	Creates a new immutable character set with the bitmap representtion in the given data.
+	Creates a new immutable character set with the bitmap representation in the given data.
 	@param alloc The CFAllocator which should be used to allocate
 		memory for the array and its storage for values. This
 		parameter may be NULL in which case the current default
@@ -490,7 +490,7 @@ function CFCharacterSetCreateBitmapRepresentation( alloc: CFAllocatorRef; theSet
 
 {!
 	@function CFCharacterSetAddCharactersInRange
-	Adds the given range to the charaacter set.
+	Adds the given range to the character set.
 	@param theSet The character set to which the range is to be added.
                 If this parameter is not a valid mutable CFCharacterSet,
                 the behavior is undefined.
@@ -504,7 +504,7 @@ procedure CFCharacterSetAddCharactersInRange( theSet: CFMutableCharacterSetRef;
 
 {!
 	@function CFCharacterSetRemoveCharactersInRange
-	Removes the given range from the charaacter set.
+	Removes the given range from the character set.
 	@param theSet The character set from which the range is to be
                 removed.  If this parameter is not a valid mutable
                 CFCharacterSet, the behavior is undefined.
@@ -518,7 +518,7 @@ procedure CFCharacterSetRemoveCharactersInRange( theSet: CFMutableCharacterSetRe
 
 {!
 	@function CFCharacterSetAddCharactersInString
-	Adds the characters in the given string to the charaacter set.
+	Adds the characters in the given string to the character set.
 	@param theSet The character set to which the characters in the
                 string are to be added.  If this parameter is not a
                 valid mutable CFCharacterSet, the behavior is undefined.
@@ -530,7 +530,7 @@ procedure CFCharacterSetAddCharactersInString( theSet: CFMutableCharacterSetRef;
 
 {!
 	@function CFCharacterSetRemoveCharactersInString
-	Removes the characters in the given string from the charaacter set.
+	Removes the characters in the given string from the character set.
 	@param theSet The character set from which the characters in the
                 string are to be remove.  If this parameter is not a
                 valid mutable CFCharacterSet, the behavior is undefined.

+ 1 - 1
packages/univint/src/CFDictionary.pas

@@ -240,7 +240,7 @@ uses MacTypes,CFBase;
 	capacity, which can have an unlimited number of values (or rather,
 	limited only by constraints external to CFDictionary, like the
 	amount of available memory). Fixed-capacity dictionaries can be
-	somewhat higher performing, if you can put a definate upper limit
+	somewhat higher performing, if you can put a definite upper limit
 	on the number of values that might be put into the dictionary.
 #else
 	Dictionaries come in two flavors, immutable, which cannot have

+ 1 - 1
packages/univint/src/CFFileSecurity.pas

@@ -219,7 +219,7 @@ uses MacTypes,MacOSXPosix,CFBase,acl,CFUUID;
 
 
 {
- *	A CFFileSecurity object encapulates a file system object's security information
+ *	A CFFileSecurity object encapsulates a file system object's security information
  *	in a CF object.
  }
 type

+ 2 - 2
packages/univint/src/CFHTTPAuthentication.pas

@@ -506,7 +506,7 @@ function CFHTTPAuthenticationRequiresOrderedRequests( auth: CFHTTPAuthentication
  *	
  *	error:
  *	  Reference to a CFStreamError which will be populated with the
- *	  error information should one occurr during the application of
+ *	  error information should one occur during the application of
  *	  the credentials. Pass NULL if not interested in the failure
  *	  reason.  The error domain will be kCFStreamErrorDomainHTTP, and
  *	  the error code will be one of those define in CFHTTPStream.h or
@@ -552,7 +552,7 @@ function CFHTTPMessageApplyCredentials( request: CFHTTPMessageRef; auth: CFHTTPA
  *	
  *	error:
  *	  Reference to a CFStreamError which will be populated with the
- *	  error information should one occurr during the application of
+ *	  error information should one occur during the application of
  *	  the credentials. Pass NULL if not interested in the failure
  *	  reason.  The error domain will be kCFStreamErrorDomainHTTP, and
  *	  the error code will be one of those define in CFHTTPStream.h or

+ 1 - 1
packages/univint/src/CFHTTPStream.pas

@@ -260,7 +260,7 @@ const
 	kCFStreamErrorHTTPRedirectionLoop = -2;
 
   {
-   * Could not retreive url for request/response.
+   * Could not retrieve url for request/response.
    }
 	kCFStreamErrorHTTPBadURL = -3;
 

+ 1 - 1
packages/univint/src/CFSocketStream.pas

@@ -500,7 +500,7 @@ var kCFStreamPropertyNoCellular: CFStringRef; external name '_kCFStreamPropertyN
  * Discussion:
  * Stream property key for copy operations.  Returns a CFBooleanRef value
  * of kCFBooleanTrue if the stream has connected using the built in cellular radios.
- * It returns kCFBooleanFalse if the stream is conneceted over a non-cellular
+ * It returns kCFBooleanFalse if the stream is connected over a non-cellular
  * interface or has not yet established a connection.
  }
 var kCFStreamPropertyConnectionIsCellular: CFStringRef; external name '_kCFStreamPropertyConnectionIsCellular'; (* attribute const *)

+ 3 - 3
packages/univint/src/CFStream.pas

@@ -260,7 +260,7 @@ function CFWriteStreamGetTypeID: CFTypeID; external name '_CFWriteStreamGetTypeI
 
 { Memory streams }
 
-{ Value will be a CFData containing all bytes thusfar written; used to recover the data written to a memory write stream. }
+{ Value will be a CFData containing all bytes thus far written; used to recover the data written to a memory write stream. }
 var kCFStreamPropertyDataWritten: CFStringRef; external name '_kCFStreamPropertyDataWritten'; (* attribute const *)
 
 { Pass kCFAllocatorNull for bytesDeallocator to prevent CFReadStream from deallocating bytes; otherwise, CFReadStream will deallocate bytes when the stream is destroyed }
@@ -269,7 +269,7 @@ function CFReadStreamCreateWithBytesNoCopy( alloc: CFAllocatorRef; bytes: UnivPt
 { The stream writes into the buffer given; when bufferCapacity is exhausted, the stream is exhausted (status becomes kCFStreamStatusAtEnd) }
 function CFWriteStreamCreateWithBuffer( alloc: CFAllocatorRef; buffer: UnivPtr; bufferCapacity: CFIndex ): CFWriteStreamRef; external name '_CFWriteStreamCreateWithBuffer';
 
-{ New buffers are allocated from bufferAllocator as bytes are written to the stream.  At any point, you can recover the bytes thusfar written by asking for the property kCFStreamPropertyDataWritten, above }
+{ New buffers are allocated from bufferAllocator as bytes are written to the stream.  At any point, you can recover the bytes thus far written by asking for the property kCFStreamPropertyDataWritten, above }
 function CFWriteStreamCreateWithAllocatedBuffers( alloc: CFAllocatorRef; bufferAllocator: CFAllocatorRef ): CFWriteStreamRef; external name '_CFWriteStreamCreateWithAllocatedBuffers';
 
 { File streams }
@@ -395,7 +395,7 @@ function CFWriteStreamSetProperty( stream: CFWriteStreamRef; propertyName: CFStr
    or on one or more run loops.  If scheduled on a run loop, it is the caller's responsibility
    to ensure that at least one of the scheduled run loops is being run.
 
-   NOTE: Unlike other CoreFoundation APIs, pasing a NULL clientContext here will remove
+   NOTE: Unlike other CoreFoundation APIs, passing a NULL clientContext here will remove
    the client.  If you do not care about the client context (i.e. your only concern
    is that your callback be called), you should pass in a valid context where every
    entry is 0 or NULL.

+ 1 - 1
packages/univint/src/CFString.pas

@@ -954,7 +954,7 @@ function CFStringConvertEncodingToWindowsCodepage( encoding: CFStringEncoding ):
 
 function CFStringConvertWindowsCodepageToEncoding( codepage: UInt32 ): CFStringEncoding; external name '_CFStringConvertWindowsCodepageToEncoding';
 
-{ ID mapping functions from/to IANA registery charset names.  Returns kCFStringEncodingInvalidId if no mapping exists.
+{ ID mapping functions from/to IANA registry charset names.  Returns kCFStringEncodingInvalidId if no mapping exists.
 }
 function CFStringConvertIANACharSetNameToEncoding( theString: CFStringRef ): CFStringEncoding; external name '_CFStringConvertIANACharSetNameToEncoding';
 

+ 1 - 1
packages/univint/src/CFURL.pas

@@ -1279,7 +1279,7 @@ function CFURLCreateBookmarkData( allocator: CFAllocatorRef; url: CFURLRef; opti
 	@param	options options which affect the resolution
 	@param relativeToURL If non-NULL, and if the bookmark was created relative to another url, then resolve it relative to this url.  If
                 kCFURLBookmarkCreationWithSecurityScope was provided at creation, and kCFURLBookmarkResolutionWithSecurityScope is set, then relativeURL
-                should point to the same item which was passed as relavitiveURL at creation time.
+                should point to the same item which was passed as relativeURL at creation time.
 	@param resourcePropertiesToInclude If non-NULL, a CFArray containing those properties which the caller would like to already be cached on the given url
 	@param isStale If non-NULL, on exit will be set to true if during resolution any of the properties in the bookmark no longer seemed to match the
 		corresponding properties on the returned file.  Clients, upon seeing a stale representation, may want to replace whatever stored bookmark data they

+ 1 - 1
packages/univint/src/CFXMLParser.pas

@@ -236,7 +236,7 @@ kCFXMLParserReplacePhysicalEntities -
    Currently not supported.
 
 kCFXMLParserSkipWhitespace -
-   skip over all whitespace that does not abut non-whitespace character data.
+   skip over all whitespace that does not about non-whitespace character data.
    In other words, given <foo>  <bar> blah </bar></foo>, the whitespace between
    foo's open tag and bar's open tag would be suppressed, but the whitespace
    around blah would be preserved.

+ 1 - 1
packages/univint/src/CGBase.pas

@@ -242,7 +242,7 @@ const
 type
   CGFloatPtr = ^CGFloat;
 
-// Avoid cyclic dependencises by putting CGRefs here
+// Avoid cyclic dependencies by putting CGRefs here
 
 type
 	CGColorRef = ^OpaqueCGColorRef; { an opaque type }

+ 6 - 6
packages/univint/src/CGContext.pas

@@ -726,7 +726,7 @@ procedure CGContextSetStrokeColorSpace( context: CGContextRef; space: CGColorSpa
 {* Color functions. *}
 
 { Set the components of the current fill color in `context' to the values
-   specifed by `components'. The number of elements in `components' must be
+   specified by `components'. The number of elements in `components' must be
    one greater than the number of components in the current fill color space
    (N color components + 1 alpha component). The current fill color space
    must not be a pattern color space. }
@@ -735,7 +735,7 @@ procedure CGContextSetFillColor( context: CGContextRef; {const} components: {var
 (* CG_AVAILABLE_STARTING(__MAC_10_0, __IPHONE_2_0) *)
 
 { Set the components of the current stroke color in `context' to the values
-   specifed by `components'. The number of elements in `components' must be
+   specified by `components'. The number of elements in `components' must be
    one greater than the number of components in the current stroke color
    space (N color components + 1 alpha component). The current stroke color
    space must not be a pattern color space. }
@@ -746,7 +746,7 @@ procedure CGContextSetStrokeColor( context: CGContextRef; {const} components: {v
 {* Pattern functions. *}
 
 { Set the components of the current fill color in `context' to the values
-   specifed by `components', and set the current fill pattern to `pattern'.
+   specified by `components', and set the current fill pattern to `pattern'.
    The number of elements in `components' must be one greater than the
    number of components in the current fill color space (N color components
    + 1 alpha component). The current fill color space must be a pattern
@@ -756,7 +756,7 @@ procedure CGContextSetFillPattern( context: CGContextRef; pattern: CGPatternRef;
 (* CG_AVAILABLE_STARTING(__MAC_10_0, __IPHONE_2_0) *)
 
 { Set the components of the current stroke color in `context' to the values
-   specifed by `components', and set the current stroke pattern to
+   specified by `components', and set the current stroke pattern to
    `pattern'. The number of elements in `components' must be one greater
    than the number of components in the current stroke color space (N color
    components + 1 alpha component). The current stroke color space must be a
@@ -1098,12 +1098,12 @@ procedure CGContextBeginTransparencyLayer( context: CGContextRef; auxiliaryInfo:
 procedure CGContextBeginTransparencyLayerWithRect( context: CGContextRef; rect: CGRect; auxiliaryInfo: CFDictionaryRef ); external name '_CGContextBeginTransparencyLayerWithRect';
 (* CG_AVAILABLE_STARTING(__MAC_10_5, __IPHONE_2_0) *)
 
-{ End a tranparency layer. }
+{ End a transparency layer. }
 
 procedure CGContextEndTransparencyLayer( context: CGContextRef ); external name '_CGContextEndTransparencyLayer';
 (* CG_AVAILABLE_STARTING(__MAC_10_3, __IPHONE_2_0) *)
 
-{* User space to device space tranformations. *}
+{* User space to device space transformations. *}
 
 { Return the affine transform mapping the user space (abstract coordinates)
    of `context' to device space (pixels). }

+ 2 - 2
packages/univint/src/CGDirectDisplay.pas

@@ -522,14 +522,14 @@ function CGDisplayRelease( display: CGDirectDisplayID ): CGError; external name
 (* CG_AVAILABLE_STARTING(__MAC_10_0, __IPHONE_NA) *)
 
 { Capture all displays. This operation provides an immersive environment
-   for an appplication, and prevents other applications from trying to
+   for an application, and prevents other applications from trying to
    adjust to display changes. }
 
 function CGCaptureAllDisplays: CGError; external name '_CGCaptureAllDisplays';
 (* CG_AVAILABLE_STARTING(__MAC_10_0, __IPHONE_NA) *)
 
 { Capture all displays, using the options specified by `options'. This
-   operation provides an immersive environment for an appplication, and
+   operation provides an immersive environment for an application, and
    prevents other applications from trying to adjust to display changes. }
 
 function CGCaptureAllDisplaysWithOptions( options: CGCaptureOptions ): CGError; external name '_CGCaptureAllDisplaysWithOptions';

+ 2 - 2
packages/univint/src/CGDisplayFades.pas

@@ -269,7 +269,7 @@ function CGConfigureDisplayFadeEffect( config: CGDisplayConfigRef; fadeOutSecond
    period of time that the program will be doing fades.
 
    Failing to release the hardware by the end of the reservation interval
-   will result in the reservation token becomingn invalid, and the hardware
+   will result in the reservation token becoming invalid, and the hardware
    being unfaded back to a normal state. The reservation interval is limited
    to a maximum of 15 seconds and should be greater than zero. }
 
@@ -306,7 +306,7 @@ function CGReleaseDisplayFadeReservation( token: CGDisplayFadeReservationToken )
    applying a nonlinear (sine-based) bias term, and blends the video output
    with the specified color based on the resulting value.
 
-   If the time interval is specifed as 0, then the ending state blend value
+   If the time interval is specified as 0, then the ending state blend value
    is applied at once and the function returns.
 
    The maximum allowable time interval is 15 seconds.

+ 2 - 2
packages/univint/src/CGEvent.pas

@@ -248,7 +248,7 @@ function CGEventCreateFromData( allocator: CFAllocatorRef; data: CFDataRef ): CG
    is ignored unless `mouseType' is one of `kCGEventOtherMouseDown',
    `kCGEventOtherMouseDragged', or `kCGEventOtherMouseUp'.
 
-   The current implemementation of the event system supports a maximum of
+   The current implementation of the event system supports a maximum of
    thirty-two buttons. Mouse button 0 is the primary button on the mouse.
    Mouse button 1 is the secondary mouse button (right). Mouse button 2 is
    the center button, and the remaining buttons are in USB device order. }
@@ -434,7 +434,7 @@ procedure CGEventSetDoubleValueField( event: CGEventRef; field: CGEventField; va
    A function registers an event tap, taking a pointer to the program's tap
    function and an arbitrary reference to be passed to the tap function, and
    returning a `CFMachPortRef' the program can add to the appropriate run
-   loop by creating a surce and using `CFRunLoopAddSource'.
+   loop by creating a source and using `CFRunLoopAddSource'.
 
    Taps may be placed at the point where HIDSystem events enter the server,
    at the point where HIDSystem and remote control events enter a session,

+ 1 - 1
packages/univint/src/CGImageDestination.pas

@@ -306,7 +306,7 @@ procedure CGImageDestinationAddImage( idst: CGImageDestinationRef; image: CGImag
 
 { Set the next image in the image destination `idst' to be the image at
  * `index' in the image source `isrc'.  The index is zero-based. The
- * properties of the source image can be added to or overriden by supplying
+ * properties of the source image can be added to or overridden by supplying
  * additional keys/values in `properties'.  If a key in `properties' has
  * the value kCFNull, the corresponding property in the destination will be
  * removed. }

+ 3 - 3
packages/univint/src/CGImageMetadata.pas

@@ -550,7 +550,7 @@ function CGImageMetadataCopyTags( metadata: CGImageMetadataRef ): CFArrayRef; ex
  *    <li>'path' = CFSTR("dc:title")</li>
  *    <li>'path' = CFSTR("dc:subject")</li>
  *    <li>'path' = CFSTR("dc:subject[2]") </li>
- *    <li>'parent' = tag at path CFSTR("dc:subject"), path = CFSTR("[2]") (equivilent to previous)</li>
+ *    <li>'parent' = tag at path CFSTR("dc:subject"), path = CFSTR("[2]") (equivalent to previous)</li>
  *    <li>'path' = CFSTR("dc:description[x-default])"</li>
  *    <li>'path' = CFSTR("dc.description[de])"</li>
  *    <li>'path' = CFSTR("dc.description[fr])"</li>
@@ -630,7 +630,7 @@ function CGImageMetadataRegisterNamespaceForPrefix( metadata: CGMutableImageMeta
  * Note that if a parent tag is provided,
  * the children of that tag reference will be modified, which may be a different
  * reference from the tag stored in the metadata container. Since tags are normally
- * obtained as a copy, it is typically neccesary to use CGImageMetadataSetTagWithPath
+ * obtained as a copy, it is typically necessary to use CGImageMetadataSetTagWithPath
  * to commit the changed parent object back to the metadata container (using
  * the parent's path and NULL for the parent).
  * @param path A string with the path to the desired tag. Please consult
@@ -691,7 +691,7 @@ function CGImageMetadataSetValueWithPath( metadata: CGMutableImageMetadataRef; p
  * path from a mutable metadata container. Note that if a parent tag is provided,
  * the children of that tag reference will be modified, which may be a different
  * reference from the tag stored in the metadata container. Since tags are normally
- * obtained as a copy, it is typically neccesary to use CGImageMetadataSetTagWithPath
+ * obtained as a copy, it is typically necessary to use CGImageMetadataSetTagWithPath
  * to commit the changed parent object back to the metadata container (using
  * the parent's path and NULL for the parent).
  * @param parent A parent tag. If NULL, the path is relative to the root of the

+ 1 - 1
packages/univint/src/CGLProfiler.pas

@@ -284,7 +284,7 @@ const
 	
 { 	kCGLGOEnableDebugAttach  = 1512; }
         { param is GL_TRUE or GL_FALSE }
-        { Turns proflier attach feature on and off.  Off by default, you can
+        { Turns profiler attach feature on and off.  Off by default, you can
 	   override this with the environment variable GL_ENABLE_DEBUG_ATTACH }
 	{ Availability: set only, get is ignored. }
 	kCGLGOEnableDebugAttach = 1512;

+ 1 - 1
packages/univint/src/CGLTypes.pas

@@ -320,7 +320,7 @@ const
 	kCGLRPAccumModes          = 104;	{ a bitfield of supported accum buffer formats  }
 	kCGLRPDepthModes          = 105;	{ a bitfield of supported depth buffer depths   }
 	kCGLRPStencilModes        = 106;	{ a bitfield of supported stencil buffer depths }
-	kCGLRPMaxAuxBuffers       = 107;	{ maximum number of auxilliary buffers          }
+	kCGLRPMaxAuxBuffers       = 107;	{ maximum number of auxiliary buffers           }
 	kCGLRPMaxSampleBuffers    = 108;	{ maximum number of sample buffers              }
 	kCGLRPMaxSamples          = 109;	{ maximum number of samples                     }
 	kCGLRPSampleModes         = 110;	{ a bitfield of supported sample modes          }

+ 1 - 1
packages/univint/src/CGPDFContext.pas

@@ -236,7 +236,7 @@ function CGPDFContextCreateWithURL( url: CFURLRef; const (*var*) mediaBox: CGRec
 
 { Close a PDF context. After closing the context, all pending data is
    written to the context's destination, and the PDF file is completed. No
-   additional data will be written to the context's destionation after
+   additional data will be written to the context's destination after
    closing. }
 
 procedure CGPDFContextClose( context: CGContextRef ); external name '_CGPDFContextClose';

+ 1 - 1
packages/univint/src/CGRemoteOperation.pas

@@ -433,7 +433,7 @@ function CGWarpMouseCursorPosition( newCursorPosition: CGPoint ): CGError; exter
    dead" problems.
 
    Mouse-down conditions of arbitrary length may be produced deliberately,
-   as when scrolling through a lengthly document. }
+   as when scrolling through a lengthy document. }
 
 {$endc}
 

+ 1 - 1
packages/univint/src/CGWindowLevels.pas

@@ -223,7 +223,7 @@ uses MacTypes,CGBase;
    A common set of window levels is defined here for use within higher level
    frameworks. The levels are accessed via a key and function, so that
    levels may be changed or adjusted in future releases without breaking
-   binary compatability. }
+   binary compatibility. }
 
 type
 	CGWindowLevel = SInt32;

+ 2 - 2
packages/univint/src/CSIdentity.pas

@@ -838,7 +838,7 @@ function CSIdentityIsHidden( identity: CSIdentityRef ): Boolean; external name '
  *    example, as an entry in an application-specific access control
  *    list associated with a shared resource. Use of a persistent
  *    identity reference is preferred over a pure UUID-based identity
- *    reference because the peristent reference contains additional
+ *    reference because the persistent reference contains additional
  *    information needed to optimize the identity query and to improve
  *    the user experience when working in a distributed identity
  *    environment (LDAP, Active Directory, etc.).
@@ -1500,7 +1500,7 @@ type
 		copyDescription: CFAllocatorCopyDescriptionCallBack;
 
   {
-   * The client callback invoked when the status of an asnchronous
+   * The client callback invoked when the status of an asynchronous
    * operation changes
    }
 		statusUpdated: CSIdentityStatusUpdatedCallback;

+ 3 - 3
packages/univint/src/CSIdentityBase.pas

@@ -261,7 +261,7 @@ const
 	kCSIdentityPermissionErr = -3;
 	
 	{
-	 * The requested identity has been deteled
+	 * The requested identity has been deleted
 	 }
 	kCSIdentityDeletedErr = -4;
 	
@@ -271,7 +271,7 @@ const
 	kCSIdentityInvalidFullNameErr = -5;
 	
 	{
-	 * The full name is aleady assigned to another identity
+	 * The full name is already assigned to another identity
 	 }
 	kCSIdentityDuplicateFullNameErr = -6;
 	
@@ -282,7 +282,7 @@ const
 	kCSIdentityInvalidPosixNameErr = -7;
 	
 	{
-	 * The Posix name is aleady assigned to another identity
+	 * The Posix name is already assigned to another identity
 	 }
 	kCSIdentityDuplicatePosixNameErr = -8;
 	

+ 1 - 1
packages/univint/src/CSIdentityQuery.pas

@@ -253,7 +253,7 @@ function CSIdentityQueryGetTypeID: CFTypeID; external name '_CSIdentityQueryGetT
  }
 const
 {
-   * After the intial query phase is complete, monitor the result set
+   * After the initial query phase is complete, monitor the result set
    * for live updates
    }
 	kCSIdentityQueryGenerateUpdateEvents = $0001;

+ 2 - 2
packages/univint/src/CTFontCollection.pas

@@ -511,7 +511,7 @@ type
     @param      options
                 Options to alter the return value.
 
-    @result     This function returns a retained reference to a CFArray, or NULL on error. The caller is reponsible for releasing the array. The array contains one value for each descriptor, in the same order as the results from CTFontCollectionCreateMatchingDescriptors. When the kCTFontCollectionCopyUnique is set, duplicate values will be removed. When kCTFontCollectionCopyStandardSort is set, the values will be sorted in standard UI order.
+    @result     This function returns a retained reference to a CFArray, or NULL on error. The caller is responsible for releasing the array. The array contains one value for each descriptor, in the same order as the results from CTFontCollectionCreateMatchingDescriptors. When the kCTFontCollectionCopyUnique is set, duplicate values will be removed. When kCTFontCollectionCopyStandardSort is set, the values will be sorted in standard UI order.
  }
 function CTFontCollectionCopyFontAttribute( collection: CTFontCollectionRef; attributeName: CFStringRef; options: CTFontCollectionCopyOptions ): CFArrayRef; external name '_CTFontCollectionCopyFontAttribute';
 (* CT_AVAILABLE_STARTING( __MAC_10_7, __IPHONE_NA) *)
@@ -529,7 +529,7 @@ function CTFontCollectionCopyFontAttribute( collection: CTFontCollectionRef; att
     @param      options
                 Options to alter the return value.
 
-    @result     This function returns a retained reference to a CFArray, or NULL on error. The caller is reponsible for releasing the array. The array contains one value for each descriptor, in the same order as the results from CTFontCollectionCreateMatchingDescriptors. When the kCTFontCollectionCopyUnique is set, duplicate values will be removed. When kCTFontCollectionCopyStandardSort is set, the values will be sorted in standard UI order.
+    @result     This function returns a retained reference to a CFArray, or NULL on error. The caller is responsible for releasing the array. The array contains one value for each descriptor, in the same order as the results from CTFontCollectionCreateMatchingDescriptors. When the kCTFontCollectionCopyUnique is set, duplicate values will be removed. When kCTFontCollectionCopyStandardSort is set, the values will be sorted in standard UI order.
  }
 function CTFontCollectionCopyFontAttributes( collection: CTFontCollectionRef; attributeNames: CFSetRef; options: CTFontCollectionCopyOptions ): CFArrayRef; external name '_CTFontCollectionCopyFontAttributes';
 (* CT_AVAILABLE_STARTING( __MAC_10_7, __IPHONE_NA) *)

+ 4 - 4
packages/univint/src/CVBuffer.pas

@@ -292,7 +292,7 @@ procedure CVBufferRelease( buffer: CVBufferRef ); external name '_CVBufferReleas
 {!
     @function   CVBufferSetAttachment
     @abstract   Sets or adds a attachment of a CVBuffer object
-    @discussion You can attach any CF object to a CVBuffer object to store additional information. CVBufferGetAttachment stores an attachement identified by a key. If the key doesn't exist, the attachment will be added. If the key does exist, the existing attachment will be replaced. In bouth cases the retain count of the attachment will be incremented. The value can be any CFType but nil has no defined behavior.
+    @discussion You can attach any CF object to a CVBuffer object to store additional information. CVBufferGetAttachment stores an attachment identified by a key. If the key doesn't exist, the attachment will be added. If the key does exist, the existing attachment will be replaced. In bouth cases the retain count of the attachment will be incremented. The value can be any CFType but nil has no defined behavior.
     @param      buffer  Target CVBuffer object.
     @param      key     Key in form of a CFString identifying the desired attachment.
     @param      value	Attachment in form af a CF object.
@@ -306,7 +306,7 @@ procedure CVBufferSetAttachment( buffer: CVBufferRef; key: CFStringRef; value: C
 {!
     @function   CVBufferGetAttachment
     @abstract   Returns a specific attachment of a CVBuffer object
-    @discussion You can attach any CF object to a CVBuffer object to store additional information. CVBufferGetAttachment retrieves an attachement identified by a key.
+    @discussion You can attach any CF object to a CVBuffer object to store additional information. CVBufferGetAttachment retrieves an attachment identified by a key.
     @param      buffer  Target CVBuffer object.
     @param      key	Key in form of a CFString identifying the desired attachment.
     @param      attachmentMode.  Returns the mode of the attachment, if desired.  May be NULL.
@@ -318,7 +318,7 @@ function CVBufferGetAttachment( buffer: CVBufferRef; key: CFStringRef; var attac
 {!
     @function   CVBufferRemoveAttachment
     @abstract   Removes a specific attachment of a CVBuffer object
-    @discussion CVBufferRemoveAttachment removes an attachement identified by a key. If found the attachement is removed and the retain count decremented.
+    @discussion CVBufferRemoveAttachment removes an attachment identified by a key. If found the attachment is removed and the retain count decremented.
     @param      buffer  Target CVBuffer object.
     @param      key	Key in form of a CFString identifying the desired attachment.
 }
@@ -328,7 +328,7 @@ procedure CVBufferRemoveAttachment( buffer: CVBufferRef; key: CFStringRef ); ext
 {!
     @function   CVBufferRemoveAllAttachments
     @abstract   Removes all attachments of a CVBuffer object
-    @discussion While CVBufferRemoveAttachment removes a specific attachement identified by a key CVBufferRemoveAllAttachments removes all attachments of a buffer and decrements their retain counts.
+    @discussion While CVBufferRemoveAttachment removes a specific attachment identified by a key CVBufferRemoveAllAttachments removes all attachments of a buffer and decrements their retain counts.
     @param      buffer  Target CVBuffer object.
 }
 procedure CVBufferRemoveAllAttachments( buffer: CVBufferRef ); external name '_CVBufferRemoveAllAttachments';

+ 11 - 11
packages/univint/src/CVDisplayLink.pas

@@ -247,11 +247,11 @@ function CVDisplayLinkGetTypeID: CFTypeID; external name '_CVDisplayLinkGetTypeI
 {!
     @function   CVDisplayLinkCreateWithCGDisplays
     @abstract   General call to create a CVDisplayLink
-    @discussion Use this call to create a CVDisplayLink for a set of displays indentified by the CGDirectDisplayIDs.
+    @discussion Use this call to create a CVDisplayLink for a set of displays identified by the CGDirectDisplayIDs.
     @param      displayArray array of CGDirectDisplayIDs
     @param      count   number of displays in the displayArray
     @param      displayLisk The new display link will be returned here
-    @result	returns kCVReturnSuccesss on success.
+    @result	returns kCVReturnSuccess on success.
 }
 function CVDisplayLinkCreateWithCGDisplays( displayArray: {variable-size-array} CGDirectDisplayIDPtr; count: CFIndex; var displayLinkOut: CVDisplayLinkRef ): CVReturn; external name '_CVDisplayLinkCreateWithCGDisplays';
 (* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
@@ -262,7 +262,7 @@ function CVDisplayLinkCreateWithCGDisplays( displayArray: {variable-size-array}
     @discussion Use this call to create a CVDisplayLink for a CGOpenGLDisplayMask.
     @param      mask CGOpenGLDisplayMask describing the display
     @param      displayLisk The new display link will be returned here
-    @result	returns kCVReturnSuccesss on success.
+    @result	returns kCVReturnSuccess on success.
 }
 function CVDisplayLinkCreateWithOpenGLDisplayMask( mask: CGOpenGLDisplayMask; var displayLinkOut: CVDisplayLinkRef ): CVReturn; external name '_CVDisplayLinkCreateWithOpenGLDisplayMask';
 (* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
@@ -273,7 +273,7 @@ function CVDisplayLinkCreateWithOpenGLDisplayMask( mask: CGOpenGLDisplayMask; va
     @discussion Use this call to create a CVDisplayLink for a single CGDirectDisplay.
     @param      displayID CGDirectDisplayID of the target display
     @param      displayLisk The new display link will be returned here
-    @result	returns kCVReturnSuccesss on success.
+    @result	returns kCVReturnSuccess on success.
 }
 function CVDisplayLinkCreateWithCGDisplay( displayID: CGDirectDisplayID; var displayLinkOut: CVDisplayLinkRef ): CVReturn; external name '_CVDisplayLinkCreateWithCGDisplay';
 (* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
@@ -294,7 +294,7 @@ function CVDisplayLinkCreateWithActiveCGDisplays( var displayLinkOut: CVDisplayL
                 discontinuity in the video time stamp
     @param      displayLink target CVDisplayLinkRef
     @param      displayID target CGDirectDisplayID
-    @result     CVReturn. kCVReturnSuccesss if successfull.
+    @result     CVReturn. kCVReturnSuccess if successfull.
 }
 function CVDisplayLinkSetCurrentCGDisplay( displayLink: CVDisplayLinkRef; displayID: CGDirectDisplayID ): CVReturn; external name '_CVDisplayLinkSetCurrentCGDisplay';
 (* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
@@ -326,7 +326,7 @@ function CVDisplayLinkGetCurrentCGDisplay( displayLink: CVDisplayLinkRef ): CGDi
     @param      displayLink target CVDisplayLinkRef
     @param	callback	CVDisplayLinkOutputCallback function
     @param	userInfo  User data for the callback to identify the context.
-    @result     CVReturn. kCVReturnSuccesss if successfull.
+    @result     CVReturn. kCVReturnSuccess if successfull.
 }
 function CVDisplayLinkSetOutputCallback( displayLink: CVDisplayLinkRef; callback: CVDisplayLinkOutputCallback; userInfo: UnivPtr ): CVReturn; external name '_CVDisplayLinkSetOutputCallback';
 (* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
@@ -336,8 +336,8 @@ function CVDisplayLinkSetOutputCallback( displayLink: CVDisplayLinkRef; callback
     @abstract   Start timer for DisplayLink
     @discussion (description)
     @param      displayLink target CVDisplayLinkRef
-    @result     CVReturn. kCVReturnSuccesss if successfull.
-                kCVReturnDisplayLinkCallbacksNotSet The DisplayLink cannot be started untill both callbacks are set.
+    @result     CVReturn. kCVReturnSuccess if successfull.
+                kCVReturnDisplayLinkCallbacksNotSet The DisplayLink cannot be started until both callbacks are set.
 }
 function CVDisplayLinkStart( displayLink: CVDisplayLinkRef ): CVReturn; external name '_CVDisplayLinkStart';
 (* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
@@ -347,7 +347,7 @@ function CVDisplayLinkStart( displayLink: CVDisplayLinkRef ): CVReturn; external
     @abstract   Stop timer for DisplayLink
     @discussion (description)
     @param      displayLink target CVDisplayLinkRef
-    @result     CVReturn. kCVReturnSuccesss if successfull.
+    @result     CVReturn. kCVReturnSuccess if successfull.
 }
 function CVDisplayLinkStop( displayLink: CVDisplayLinkRef ): CVReturn; external name '_CVDisplayLinkStop';
 (* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
@@ -355,7 +355,7 @@ function CVDisplayLinkStop( displayLink: CVDisplayLinkRef ): CVReturn; external
 {!
     @function   CVDisplayLinkGetNominalOutputVideoRefreshPeriod
     @abstract   Retrieves the nominal refresh period of a CVDisplayLink.
-    @discussion This call allows one to retrieve the device's "ideal" refresh period.   For example, an NTSC output device might report 1001/60000 to represent the exact NTSC vertial refresh rate.
+    @discussion This call allows one to retrieve the device's "ideal" refresh period.   For example, an NTSC output device might report 1001/60000 to represent the exact NTSC vertical refresh rate.
     @param      displayLink The CVDisplayLink to get the refresh period from.
     @result     A CVTime struct that holds the nominal refresh period.    This value may be indefinite.
 }
@@ -422,7 +422,7 @@ function CVDisplayLinkTranslateTime( displayLink: CVDisplayLinkRef; const (*var*
     @abstract   Retains the CVDisplayLink
     @discussion Use this call to retain a CVDisplayLink.
     @param      displayLink target CVDisplayLinkRef.   NULL safe.
-	@result		If successfull the passed in dislplayLink
+	@result		If successfull the passed in displayLink
 }
 function CVDisplayLinkRetain( displayLink: CVDisplayLinkRef ): CVDisplayLinkRef; external name '_CVDisplayLinkRetain';
 (* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)

+ 1 - 1
packages/univint/src/CVOpenGLBufferPool.pas

@@ -299,7 +299,7 @@ function CVOpenGLBufferPoolGetOpenGLBufferAttributes( pool: CVOpenGLBufferPoolRe
 {!
     @function   CVOpenGLBufferPoolCreateOpenGLBuffer
     @abstract   Creates a new OpenGLBuffer object from the pool.
-    @discussion The function creates a new CVOpenGLBuffer with the default attachments using the OpenGL buffer attributes specifed during pool creation.
+    @discussion The function creates a new CVOpenGLBuffer with the default attachments using the OpenGL buffer attributes specified during pool creation.
     @param      allocator The CFAllocatorRef to use for creating the OpenGL buffer.  May be NULL.
     @param      openGLBufferPool      The CVOpenGLBufferPool that should create the new CVOpenGLBuffer.
     @param      openGLBufferOut   The newly created OpenGL buffer will be placed here

+ 1 - 1
packages/univint/src/CVOpenGLTextureCache.pas

@@ -241,7 +241,7 @@ type
 var kCVOpenGLTextureCacheChromaSamplingModeKey: CFStringRef; external name '_kCVOpenGLTextureCacheChromaSamplingModeKey'; (* attribute const *)
 (* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
 var kCVOpenGLTextureCacheChromaSamplingModeAutomatic: CFStringRef; external name '_kCVOpenGLTextureCacheChromaSamplingModeAutomatic'; (* attribute const *)
-(* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)	    // Defaut if the key is not present
+(* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)	    // Default if the key is not present
 var kCVOpenGLTextureCacheChromaSamplingModeHighestQuality: CFStringRef; external name '_kCVOpenGLTextureCacheChromaSamplingModeHighestQuality'; (* attribute const *)
 (* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)    // Force highest quality regardless of performance impact
 var kCVOpenGLTextureCacheChromaSamplingModeBestPerformance: CFStringRef; external name '_kCVOpenGLTextureCacheChromaSamplingModeBestPerformance'; (* attribute const *)

+ 4 - 4
packages/univint/src/CVPixelBuffer.pas

@@ -410,7 +410,7 @@ function CVPixelBufferCreateResolvedAttributesDictionary( allocator: CFAllocator
     @discussion Creates a single PixelBuffer for a given size and pixelFormatType. It allocates the necessary memory based on the pixel dimensions, pixelFormatType and extended pixels described in the pixelBufferAttributes. Not all parameters of the pixelBufferAttributes will be used here.
     @param      width   Width of the PixelBuffer in pixels.
     @param      height  Height of the PixelBuffer in pixels.
-    @param	pixelFormatType		Pixel format indentified by its respective OSType.
+    @param	pixelFormatType		Pixel format identified by its respective OSType.
     @param	pixelBufferAttributes      A dictionary with additional attributes for a a pixel buffer. This parameter is optional. See PixelBufferAttributes for more details.
     @param      pixelBufferOut          The new pixel buffer will be returned here
     @result	returns kCVReturnSuccess on success.
@@ -427,7 +427,7 @@ type
     @discussion Creates a single PixelBuffer for a given size and pixelFormatType. Not all parameters of the pixelBufferAttributes will be used here. It requires a release callback function that will be called, when the PixelBuffer gets destroyed so that the owner of the pixels can free the memory.
     @param      width   Width of the PixelBuffer in pixels
     @param      height  Height of the PixelBuffer in pixels
-    @param      pixelFormatType		Pixel format indentified by its respective OSType.
+    @param      pixelFormatType		Pixel format identified by its respective OSType.
     @param      baseAddress		Address of the memory storing the pixels.
     @param      bytesPerRow		Row bytes of the pixel storage memory.
     @param      releaseCallback         CVPixelBufferReleaseBytePointerCallback function that gets called when the PixelBuffer gets destroyed.
@@ -448,7 +448,7 @@ type
     @discussion Creates a single PixelBuffer for a given size and pixelFormatType. Not all parameters of the pixelBufferAttributes will be used here. It requires a release callback function that will be called, when the PixelBuffer gets destroyed so that the owner of the pixels can free the memory.
     @param      width			Width of the PixelBuffer in pixels
     @param      height			Height of the PixelBuffer in pixels
-    @param      pixelFormatType		Pixel format indentified by its respective OSType.
+    @param      pixelFormatType		Pixel format identified by its respective OSType.
     @param	dataPtr			Pass a pointer to a plane descriptor block, or NULL.
     @param	dataSize		pass size if planes are contiguous, NULL if not.
     @param	numberOfPlanes		Number of planes.
@@ -538,7 +538,7 @@ function CVPixelBufferGetBytesPerRow( pixelBuffer: CVPixelBufferRef ): size_t; e
 
 {!
     @function   CVPixelBufferGetDataSize
-    @abstract   Returns the data size for contigous planes of the PixelBuffer.
+    @abstract   Returns the data size for contiguous planes of the PixelBuffer.
     @param      pixelBuffer Target PixelBuffer.
     @result     Data size used in CVPixelBufferCreateWithPlanarBytes.
 }

+ 1 - 1
packages/univint/src/CVPixelBufferPool.pas

@@ -298,7 +298,7 @@ function CVPixelBufferPoolGetPixelBufferAttributes( pool: CVPixelBufferPoolRef )
 {!
     @function   CVPixelBufferPoolCreatePixelBuffer
     @abstract   Creates a new PixelBuffer object from the pool.
-    @discussion The function creates a new (attachment-free) CVPixelBuffer using the pixel buffer attributes specifed during pool creation.
+    @discussion The function creates a new (attachment-free) CVPixelBuffer using the pixel buffer attributes specified during pool creation.
     @param      allocator The CFAllocatorRef to use for creating the pixel buffer.  May be NULL.
     @param      pool      The CVPixelBufferPool that should create the new CVPixelBuffer.
     @param      pixelBufferOut   The newly created pixel buffer will be placed here

+ 4 - 4
packages/univint/src/CarbonEvents.pas

@@ -3371,9 +3371,9 @@ const
  *          input method that no text in the active input area is
  *          changing.  It may be that the existing active input area is
  *          being confirmed "as is", or that the input method is
- *          modifying its highlite attributes in some way, due to some
+ *          modifying its highlight attributes in some way, due to some
  *          user action, such as changing the selected clause or
- *          highlited subrange of text in the active input area, or
+ *          highlighted subrange of text in the active input area, or
  *          that the input method is changing the caret position in the
  *          active input area (if it uses the kTSMHiliteCaretPosition
  *          hilite style). Depending on how your text engine draws
@@ -3386,7 +3386,7 @@ const
  *    --> kEventParamTextInputSendHiliteRng (in, typeTextRangeArray)
  *          An array of text-range records (see TextRangeArray) that
  *          specifies how various subranges of the active input area
- *          are to be highlited, and possibly specifies caret position
+ *          are to be highlighted, and possibly specifies caret position
  *          within the active input area. NOTE:  The text offsets used
  *          in the HiliteRng parameter are relative to the beginning of
  *          the active input area AFTER all text has been updated (per
@@ -9732,7 +9732,7 @@ const
  *    This event is only sent to windows that use an HIView-based
  *    window frame. It is not sent to windows that use a WDEF-based
  *    window frame. At the time that the event is sent, the window's
- *    attributes have already been changed, so an event hander for this
+ *    attributes have already been changed, so an event handler for this
  *    event can simply call GetWindowAttributes to get the new
  *    attributes. This event is sent to all handlers registered for it
  *    on the window event target. It does not propagate past the window.

+ 2 - 2
packages/univint/src/CarbonEventsCore.pas

@@ -272,7 +272,7 @@ const
 
   {
    * This is what you should return from a kEventClassAccessibility
-   * event handler when asked to process a directly dispached event
+   * event handler when asked to process a directly dispatched event
    * that would cause your handler proc to not return after more than a
    * split-second. This will cause the accessibility engine to defer
    * the event until a later time when your handler will be able to
@@ -2709,7 +2709,7 @@ function RemoveEventHandler( inHandlerRef: EventHandlerRef ): OSStatus; external
  *    installed by default, but may be requested. A standard handler
  *    typically provides higher-level behavior for its target. Prior to
  *    Mac OS X 10.5, only  window event targets have a standard
- *    handler; the window standard event hander may also be installed
+ *    handler; the window standard event handler may also be installed
  *    by setting the kWindowStandardHandlerAttribute flag. In Mac OS X
  *    10.5 and later, the application and menubar event targets also
  *    support standard event handlers. Calling

+ 10 - 10
packages/univint/src/ColorSyncDeprecated.pas

@@ -261,8 +261,8 @@ const
 
 { speed and quality flag options }
 const
-	cmNormalMode = 0;    { it uses the least significent two bits in the high word of flag }
-	cmDraftMode = 1;    { it should be evaulated like this: right shift 16 bits first, mask off the }
+	cmNormalMode = 0;    { it uses the least significant two bits in the high word of flag }
+	cmDraftMode = 1;    { it should be evaluated like this: right shift 16 bits first, mask off the }
 	cmBestMode = 2;     { high 14 bits, and then compare with the enum to determine the option value }
 
 { black point compensation flag option }
@@ -743,7 +743,7 @@ type
 	CMMultiFunctCLUTTypePtr = ^CMMultiFunctCLUTType;
 	CMMultiFunctCLUTType = record
 		gridPoints: packed array[0..15] of UInt8;         { grigpoints for each input channel dimension (remaining are 0) }
-		entrySize: SInt8;              { bytes per lut enrty (1 or 2) }
+		entrySize: SInt8;              { bytes per lut entry (1 or 2) }
 		reserved: array[0..2] of SInt8;            { fill with 0x00 }
 		data: SInt8;                { variable size, determined by above }
 		pad: SInt8;                                  { pad byte needed for correct record size. Critical to accessing CMMultiFunctLutType's variable sized data field contents. }
@@ -2741,7 +2741,7 @@ var kCMIlluminantD65: IlluminantArray; external name '_kCMIlluminantD65'; (* att
 
 {!
     @function   CMFloatBitmapMakeChunky
-    @abstract   A handy funtion to fill in a CMFloatBitmap.
+    @abstract   A handy function to fill in a CMFloatBitmap.
     @discussion Returns a filled in CMFloatBitmap structure given a single buffer of chunky data with no alpha.
     @param      buffer  (in) address of interleaved data
     @param      height  (in) height of bitmap in pixels
@@ -2757,7 +2757,7 @@ function CMFloatBitmapMakeChunky( var buffer: Float32; height: size_t; width: si
     @function   CMConvertXYZFloatBitmap
     @abstract   Used to convert CMFloatBitmaps between the related colorspaces XYZ, Yxy, Lab, and Luv.
     @discussion The buffer data from the source CMFloatBitmap is converted into the buffer data
-                specified the destination CMFloatBitmap.  Converion "in-place" is allowed.
+                specified the destination CMFloatBitmap.  Convertion "in-place" is allowed.
     @param      src     (in) description of source data buffer to convert from
     @param      srcIlluminantXYZ    (in) required if src->space is XYZ or Yxy
     @param      dst     (in,out) description of destination data buffer to convert to
@@ -2772,7 +2772,7 @@ function CMConvertXYZFloatBitmap( const (*var*) src: CMFloatBitmap; const (*var*
     @function   CMConvertRGBFloatBitmap
     @abstract   Used to convert CMFloatBitmaps between the related colorspaces RGB, HSV, and HLS.
     @discussion The buffer data from the source CMFloatBitmap is converted into the buffer data
-                specified the destination CMFloatBitmap.  Converion "in-place" is allowed.
+                specified the destination CMFloatBitmap.  Convertion "in-place" is allowed.
     @param      src     (in) description of source data buffer to convert from
     @param      dst     (in,out) description of destination data buffer to convert to
 }
@@ -2784,7 +2784,7 @@ function CMConvertRGBFloatBitmap( const (*var*) src: CMFloatBitmap; var dst: CMF
     @function   CMMatchFloatBitmap
     @abstract   Used to convert CMFloatBitmaps using a CMWorldRef.
     @discussion The buffer data from the source CMFloatBitmap is converted into the buffer data
-                specified the destination CMFloatBitmap.  Converion "in-place" is allowed.
+                specified the destination CMFloatBitmap.  Convertion "in-place" is allowed.
     @param      cw      (in) the CMWorldRef to convert with
     @param      src     (in) description of source data buffer to convert from
     @param      dst     (in,out) description of destination data buffer to convert to
@@ -3174,7 +3174,7 @@ function CMRegisterColorDevice( deviceClass: CMDeviceClass; deviceID: CMDeviceID
     @abstract    Unregisters a device with ColorSync
     @discussion  When a device is no longer to be used on a system (as opposed to
                     just being offline), it should be unregistered. If a device is
-                    temporariy shut down or disconnected it need not be unregistered
+                    temporary shut down or disconnected it need not be unregistered
                     unless the device driver knows that it will not be used (e.g. being
                     deinstalled) or cannot access the device profiles without the device.
     @param       deviceClass    (in) Device class to remove
@@ -3189,7 +3189,7 @@ function CMUnregisterColorDevice( deviceClass: CMDeviceClass; deviceID: CMDevice
 
 {!
     @function    CMSetDefaultDevice
-    @abstract    Specifeis the default device of a class
+    @abstract    Specifies the default device of a class
     @param       deviceClass    (in) Device class to modify
     @param       deviceID       (in) Device id to make default
 }
@@ -3230,7 +3230,7 @@ function CMSetDeviceFactoryProfiles( deviceClass: CMDeviceClass; deviceID: CMDev
     @abstract    Returns all the device's factory profiles
     @discussion  This API allows the caller to retrieve the original profiles for a device.
                     These may differ from the profiles currently in use for that device in the
-                    case where factory profiles have been overriden with custom profiles.
+                    case where factory profiles have been overridden with custom profiles.
     @param       deviceClass    (in) Device class to query
     @param       deviceID       (in) Device id to query (can be cmDefaultDeviceID)
     @param       defaultProfID  (out) Returns id of default mode (optional)

+ 2 - 2
packages/univint/src/Components.pas

@@ -278,9 +278,9 @@ const
 type
 	ComponentDescriptionPtr = ^ComponentDescription;
 	ComponentDescription = record
-		componentType: OSType;          { A unique 4-byte code indentifying the command set }
+		componentType: OSType;          { A unique 4-byte code identifying the command set }
 		componentSubType: OSType;       { Particular flavor of this instance }
-		componentManufacturer: OSType;  { Vendor indentification }
+		componentManufacturer: OSType;  { Vendor identification }
 		componentFlags: UInt32;         { 8 each for Component,Type,SubType,Manuf/revision }
 		componentFlagsMask: UInt32;     { Mask for specifying which flags to consider in search, zero during registration }
 	end;

+ 1 - 1
packages/univint/src/ConditionalMacros.pas

@@ -258,7 +258,7 @@ interface
 //   UNIVERSAL_INTERFACES_VERSION = $0400;
 {***************************************************************************************************
 
-    All TARGET_* condtionals are set up by TargetConditionals.h
+    All TARGET_* conditionals are set up by TargetConditionals.h
 
 ***************************************************************************************************}
 

+ 3 - 3
packages/univint/src/Controls.pas

@@ -744,7 +744,7 @@ type
 {      processing the click. If activation is requested, you may also want to immediately redraw the   }
 {      newly exposed portion of the window.                                                            }
 {  ¥ Ignore/Handle Click indicates whether or not to call an appropriate click handling API (like      }
-{      HandleControlClick) in respose to the event.                                                    }
+{      HandleControlClick) in response to the event.                                                   }
 const
 	kDoNotActivateAndIgnoreClick = 0;    { probably never used. here for completeness.}
 	kDoNotActivateAndHandleClick = 1;    { let the control handle the click while the window is still in the background.}
@@ -948,7 +948,7 @@ const
 	kControlMsgGetRegion = 31;   { Available in Appearance 1.1 or later}
 	kControlMsgFlatten = 32;   { Available in Carbon. Param is Collection.}
 	kControlMsgSetCursor = 33;   { Available in Carbon. Param is ControlSetCursorRec}
-	kControlMsgDragEnter = 38;   { Available in Carbon. Param is DragRef, result is boolean indicating acceptibility of drag.}
+	kControlMsgDragEnter = 38;   { Available in Carbon. Param is DragRef, result is boolean indicating acceptability of drag.}
 	kControlMsgDragLeave = 39;   { Available in Carbon. As above.}
 	kControlMsgDragWithin = 40;   { Available in Carbon. As above.}
 	kControlMsgDragReceive = 41;   { Available in Carbon. Param is DragRef, result is OSStatus indicating success/failure.}
@@ -1285,7 +1285,7 @@ function InvokeControlKeyFilterUPP( theControl: ControlRef; var keyCode: SInt16;
 
 
 {ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ}
-{  ¥ DragGrayRgn Constatns                                                             }
+{  ¥ DragGrayRgn Constants                                                             }
 {   For DragGrayRgnUPP used in TrackControl()                                          }
 {ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ}
 const

+ 8 - 8
packages/univint/src/CoreAudioTypes.pas

@@ -365,7 +365,7 @@ const
                     However, where applicable, the appropriate fields will be filled out correctly
                     for these kinds of formats (the extra data is provided via separate properties).
                     In all fields, a value of 0 indicates that the field is either unknown, not
-                    applicable or otherwise is inapproprate for the format and should be ignored.
+                    applicable or otherwise is inappropriate for the format and should be ignored.
                     Note that 0 is still a valid value for most formats in the mFormatFlags field.
 
                     In audio data a frame is one sample across all channels. In non-interleaved
@@ -966,7 +966,7 @@ type
 
 {!
     @typedef        AudioChannelLabel
-    @abstract       A tag idenitfying how the channel is to be used.
+    @abstract       A tag identifying how the channel is to be used.
 }
 type
 	AudioChannelLabel = UInt32;
@@ -1145,11 +1145,11 @@ const
                     AudioChannelDescription structure.
     @constant       kAudioChannelFlags_RectangularCoordinates
                         The channel is specified by the cartesioan coordinates of the speaker
-                        position. This flag is mutally exclusive with
+                        position. This flag is mutually exclusive with
                         kAudioChannelFlags_SphericalCoordinates.
     @constant       kAudioChannelFlags_SphericalCoordinates
                         The channel is specified by the spherical coordinates of the speaker
-                        position. This flag is mutally exclusive with
+                        position. This flag is mutually exclusive with
                         kAudioChannelFlags_RectangularCoordinates.
     @constant       kAudioChannelFlags_Meters
                         Set to indicate the units are in meters, clear to indicate the units are
@@ -1161,17 +1161,17 @@ const
 	kAudioChannelFlags_SphericalCoordinates = 1 shl 1;
 	kAudioChannelFlags_Meters = 1 shl 2;
 
-// these are indices for acessing the mCoordinates array in struct AudioChannelDescription
+// these are indices for accessing the mCoordinates array in struct AudioChannelDescription
 {!
     @enum           Channel Coordinate Index Constants
     @abstract       Constants for indexing the mCoordinates array in an AudioChannelDescription
                     structure.
     @constant       kAudioChannelCoordinates_LeftRight
-                        For rectangulare coordinates, negative is left and positive is right.
+                        For rectangular coordinates, negative is left and positive is right.
     @constant       kAudioChannelCoordinates_BackFront
-                        For rectangulare coordinates, negative is back and positive is front.
+                        For rectangular coordinates, negative is back and positive is front.
     @constant       kAudioChannelCoordinates_DownUp
-                        For rectangulare coordinates, negative is below ground level, 0 is ground
+                        For rectangular coordinates, negative is below ground level, 0 is ground
                         level, and positive is above ground level.
     @constant       kAudioChannelCoordinates_Azimuth
                         For spherical coordinates, 0 is front center, positive is right, negative is

+ 1 - 1
packages/univint/src/Dictionary.pas

@@ -931,7 +931,7 @@ function DCMGetDictionaryPropertyList( dictionaryID: DCMDictionaryID; maxPropert
 
 
 {
-    Seaarch dictionary
+    Search dictionary
 }
 {
  *  DCMCreateDictionaryIterator()   *** DEPRECATED ***

+ 2 - 2
packages/univint/src/Displays.pas

@@ -449,7 +449,7 @@ type
 	DMComponentListEntryRec = record
 		itemID: DisplayIDType;                 { DisplayID Manager}
 		itemComponent: Component;          { Component Manager}
-		itemDescription: ComponentDescription;      { We can always construct this if we use something beyond the compontent mgr.}
+		itemDescription: ComponentDescription;      { We can always construct this if we use something beyond the component mgr.}
 
 		itemClass: ResType;              { Class of group to put this panel (eg geometry/color/etc for panels, brightness/contrast for engines, video out/sound/etc for devices)}
 		itemFidelity: DMFidelityType;           { How good is this item for the specified search?}
@@ -549,7 +549,7 @@ const
 	kDMModeListIncludeAllModesMask = 1 shl 0; { Include all timing modes not _explicitly_ excluded (see other bits)}
 	kDMModeListIncludeOfflineModesMask = 1 shl 1;
 	kDMModeListExcludeDriverModesMask = 1 shl 2; { Exclude old-style timing modes (cscGetNextResolution/kDisplayModeIDFindFirstResolution modes)}
-	kDMModeListExcludeDisplayModesMask = 1 shl 3; { Exclude timing modes that come from the display (always arbritrary timing modes)}
+	kDMModeListExcludeDisplayModesMask = 1 shl 3; { Exclude timing modes that come from the display (always arbitrary timing modes)}
 	kDMModeListExcludeCustomModesMask = 1 shl 4; { Exclude custom modes that came neither from the driver or display (need a better name)}
 	kDMModeListPreferStretchedModesMask = 1 shl 5; { Prefer modes that are stretched over modes that are letterboxed when setting kDisplayModeListNotPreferredBit}
 	kDMModeListPreferSafeModesMask = 1 shl 6; { Prefer modes that are safe over modes that are not when setting kDisplayModeListNotPreferredBit}

+ 1 - 1
packages/univint/src/FSEvents.pas

@@ -404,7 +404,7 @@ const
    * be delivered after latency seconds have elapsed. This flag is
    * useful for apps that are interactive and want to react immediately
    * to changes but avoid getting swamped by notifications when changes
-   * are occurringin rapid succession. If you do not specify this flag,
+   * are occurring in rapid succession. If you do not specify this flag,
    * then when an event occurs after a period of no events, the latency
    * timer is started. Any events that occur during the next latency
    * seconds will be delivered as one group (including that first

+ 1 - 1
packages/univint/src/FileTypesAndCreators.pas

@@ -664,7 +664,7 @@ const
 	{	************* Special FileTypes and creators *************	}
 	ftApplicationName			= FourCharCode('apnm');						{  this is the type used to define the application name in a kind resource  }
 	sigIndustryStandard			= FourCharCode('istd');						{  this is the creator used to define a kind string in a kind resource for a FileType that has many creators   }
-	ftXTND13TextImport			= FourCharCode('xt13');						{  this is a pseduo-format used by "XTND for Apps". The taDstIsAppTranslation bit is set  }
+	ftXTND13TextImport			= FourCharCode('xt13');						{  this is a pseudo-format used by "XTND for Apps". The taDstIsAppTranslation bit is set  }
 
 
 	{	************* Apple][ applications and FileTypes *************	}

+ 8 - 8
packages/univint/src/Files.pas

@@ -600,8 +600,8 @@ type
 		ioVNmFls: UInt16;               {number of files in directory}
 		ioVDirSt: UInt16;               {start block of file directory}
 		ioVBlLn: SInt16;                {GetVolInfo: length of dir in blocks}
-		ioVNmAlBlks: UInt16;            {for compatibilty ioVNmAlBlks * ioVAlBlkSiz <= 2 GB}
-		ioVAlBlkSiz: UInt32;            {for compatibilty ioVAlBlkSiz is <= $0000FE00 (65,024)}
+		ioVNmAlBlks: UInt16;            {for compatibility ioVNmAlBlks * ioVAlBlkSiz <= 2 GB}
+		ioVAlBlkSiz: UInt32;            {for compatibility ioVAlBlkSiz is <= $0000FE00 (65,024)}
 		ioVClpSiz: UInt32;              {GetVolInfo: bytes to allocate at a time}
 		ioAlBlSt: UInt16;               {starting disk(512-byte) block in block map}
 		ioVNxtFNum: UInt32;             {GetVolInfo: next free file number}
@@ -710,8 +710,8 @@ type
 			ioVNmFls:			UInt16;									{ number of files in directory }
 			ioVDirSt:			UInt16;									{ start block of file directory }
 			ioVBlLn:			SInt16;								{ GetVolInfo: length of dir in blocks }
-			ioVNmAlBlks:		UInt16;									{ for compatibilty ioVNmAlBlks * ioVAlBlkSiz <= 2 GB }
-			ioVAlBlkSiz:		UInt32;									{ for compatibilty ioVAlBlkSiz is <= $0000FE00 (65,024) }
+			ioVNmAlBlks:		UInt16;									{ for compatibility ioVNmAlBlks * ioVAlBlkSiz <= 2 GB }
+			ioVAlBlkSiz:		UInt32;									{ for compatibility ioVAlBlkSiz is <= $0000FE00 (65,024) }
 			ioVClpSiz:			UInt32;									{ GetVolInfo: bytes to allocate at a time }
 			ioAlBlSt:			UInt16;									{ starting disk(512-byte) block in block map }
 			ioVNxtFNum:			UInt32;									{ GetVolInfo: next free file number }
@@ -1980,12 +1980,12 @@ type
 { volume mount flags }
 const
 	volMountNoLoginMsgFlagBit = 0;    { Input to VolumeMount: If set, the file system }
-	volMountNoLoginMsgFlagMask = $0001; {  should suppresss any log-in message/greeting dialog }
+	volMountNoLoginMsgFlagMask = $0001; {  should suppress any log-in message/greeting dialog }
 	volMountExtendedFlagsBit = 7;    { Input to VolumeMount: If set, the mount info is a }
 	volMountExtendedFlagsMask = $0080; {  AFPXVolMountInfo record for 3.7 AppleShare Client }
 	volMountInteractBit = 15;   { Input to VolumeMount: If set, it's OK for the file system }
 	volMountInteractMask = $8000; {  to perform user interaction to mount the volume }
-	volMountChangedBit = 14;   { Output from VoumeMount: If set, the volume was mounted, but }
+	volMountChangedBit = 14;   { Output from VolumeMount: If set, the volume was mounted, but }
 	volMountChangedMask = $4000; {  the volume mounting information record needs to be updated. }
 	volMountFSReservedMask = $00FF; { bits 0-7 are defined by each file system for its own use }
 	volMountSysReservedMask = $FF00; { bits 8-15 are reserved for Apple system use }
@@ -5992,7 +5992,7 @@ const
 
   {
    * Do not perform a copy/delete to move an item across volume
-   * boundries - fail the operation instead.
+   * boundaries - fail the operation instead.
    }
 	kFSFileOperationDoNotMoveAcrossVolumes = $04;
 
@@ -6019,7 +6019,7 @@ const
 	kFSOperationStageUndefined = 0;
 
   {
-   * Operation is calulating sizes and number of items involved in the
+   * Operation is calculating sizes and number of items involved in the
    * operation.
    }
 	kFSOperationStagePreflighting = 1;

+ 1 - 1
packages/univint/src/FinderRegistry.pas

@@ -396,7 +396,7 @@ const
 {
    Properties of class cControlPanel (Views CP only) (subclass of cFile)
    Note: the other view-like preference settings are not available in the Views
-   control panel. These properties are only offered here for backward compatability.
+   control panel. These properties are only offered here for backward compatibility.
    To set the full range of Finder Preferences, use the Preferences object.
 }
 const

+ 3 - 3
packages/univint/src/Folders.pas

@@ -474,9 +474,9 @@ const
 	kTemporaryFolderType = FourCharCode('temp'); {    On Mac OS X, each user has their own temporary items folder, and the Folder Manager attempts to set permissions of these}
                                         {    folders such that other users can not access the data inside.  On Mac OS X 10.4 and later the data inside the temporary}
                                         {    items folder is deleted at logout and at boot, but not otherwise.  Earlier version of Mac OS X would delete items inside}
-                                        {    the temporary items folder after a period of inaccess.  You can ask for a temporary item in a specific domain or on a }
+                                        {    the temporary items folder after a period of inaccessible.  You can ask for a temporary item in a specific domain or on a }
                                         {    particular volume by FSVolumeRefNum.  If you want a location for temporary items for a short time, then use either}
-                                        {    ( kUserDomain, kkTemporaryFolderType ) or ( kSystemDomain, kTemporaryFolderType ).  The kUserDomain varient will always be}
+                                        {    ( kUserDomain, kkTemporaryFolderType ) or ( kSystemDomain, kTemporaryFolderType ).  The kUserDomain variant will always be}
                                         {    on the same volume as the user's home folder, while the kSystemDomain version will be on the same volume as /var/tmp/ ( and}
                                         {    will probably be on the local hard drive in case the user's home is a network volume ).  If you want a location for a temporary}
                                         {    file or folder to use for saving a document, especially if you want to use FSpExchangeFile() to implement a safe-save, then}
@@ -519,7 +519,7 @@ const
 	kVoicesFolderType = FourCharCode('fvoc'); { macintalk can live here }
 	kUtilitiesFolderType = FourCharCode('utiÄ'); { for Utilities folder }
 	kThemesFolderType = FourCharCode('thme'); { for Theme data files }
-	kFavoritesFolderType = FourCharCode('favs'); { Favorties folder for Navigation Services }
+	kFavoritesFolderType = FourCharCode('favs'); { Favorites folder for Navigation Services }
 	kInternetSearchSitesFolderType = FourCharCode('issf'); { Internet Search Sites folder }
 	kInstallerLogsFolderType = FourCharCode('ilgf'); { Installer Logs folder }
 	kScriptsFolderType = FourCharCode('scrÄ'); { Scripts folder }

+ 5 - 5
packages/univint/src/GestaltEqu.pas

@@ -1527,7 +1527,7 @@ const
 
 const
 {    On Mac OS X, the user visible machine name may something like "PowerMac3,4", which is}
-                                        {    a unique string for each signifigant Macintosh computer which Apple creates, but is}
+                                        {    a unique string for each significant Macintosh computer which Apple creates, but is}
                                         {    not terribly useful as a user visible string.}
 	gestaltUserVisibleMachineName = FourCharCode('mnam'); { Coerce response into a StringPtr to get a user visible machine name }
 
@@ -1562,7 +1562,7 @@ const
 	gestaltOCETBPresent = $01; { OCE toolbox is present, not running }
 	gestaltOCETBAvailable = $02; { OCE toolbox is running and available }
 	gestaltOCESFServerAvailable = $04; { S&F Server is running and available }
-	gestaltOCETBNativeGlueAvailable = $10; { Native PowerPC Glue routines are availible }
+	gestaltOCETBNativeGlueAvailable = $10; { Native PowerPC Glue routines are available }
 
 const
 	gestaltOpenFirmwareInfo = FourCharCode('opfw'); { Open Firmware info }
@@ -1705,7 +1705,7 @@ const
 {
  * PPC will return the combination of following bit fields.
  * e.g. gestaltPPCSupportsRealTime +gestaltPPCSupportsIncoming + gestaltPPCSupportsOutGoing
- * indicates PPC is cuurently is only supports real time delivery
+ * indicates PPC is currently is only supports real time delivery
  * and both incoming and outgoing network sessions are allowed.
  * By default local real time delivery is supported as long as PPCInit has been called.}
 const
@@ -2132,7 +2132,7 @@ const
 const
 	gestaltALMAttr = FourCharCode('trip'); { Settings Manager attributes (see also gestaltALMVers) }
 	gestaltALMPresent = 0;    { bit true if ALM is available }
-	gestaltALMHasSFGroup = 1;    { bit true if Put/Get/Merge Group calls are implmented }
+	gestaltALMHasSFGroup = 1;    { bit true if Put/Get/Merge Group calls are implemented }
 	gestaltALMHasCFMSupport = 2;    { bit true if CFM-based modules are supported }
 	gestaltALMHasRescanNotifiers = 3;     { bit true if Rescan notifications/events will be sent to clients }
 
@@ -2336,7 +2336,7 @@ const
 	gestaltX86HasSupplementalSSE3 = 9;    { Supplemental SSE3 instructions}
 	gestaltX86HasCID = 10;   { L1 Context ID}
 	gestaltX86HasCX16 = 13;   { CmpXchg16b instruction}
-	gestaltX86HasxTPR = 14;    { Send Task PRiority msgs}
+	gestaltX86HasxTPR = 14;    { Send Task PPriority msgs}
 
 const
 	gestaltTranslationAttr = FourCharCode('xlat'); { Translation Manager attributes }

+ 1 - 1
packages/univint/src/HIDataBrowser.pas

@@ -233,7 +233,7 @@ uses MacTypes,TextEdit,AXUIElement,AEDataModel,CFBase,Events,QuickdrawTypes,Icon
 {     (CDEF 29)                                                                        }
 {ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ}
 {  This control implements a user interface component for browsing (optionally)        }
-{  hiearchical data structures. The browser supports multiple presentation styles      }
+{  hierarchical data structures. The browser supports multiple presentation styles     }
 {  including, but not limited to:                                                      }
 {      kDataBrowserListView   - items and item properties in                           }
 {                               multi-column (optionally outline) format               }

+ 1 - 1
packages/univint/src/HIDisclosureViews.pas

@@ -378,7 +378,7 @@ const
  *    considered "closed" and should point to the right (or sometimes
  *    to the left). When the user clicks on it, the Disclosure Triangle
  *    rotates downwards into the "open" state. The application should
- *    repond by revealing the appropriate information or interface. On
+ *    respond by revealing the appropriate information or interface. On
  *    Mac OS X, a root control will be created for the window if one
  *    does not already exist. If a root control exists for the window,
  *    the Disclosure Triangle control will be embedded into it.

+ 1 - 1
packages/univint/src/HIShape.pas

@@ -28,7 +28,7 @@
 {     Copyright:  Subject to the constraints of Apple's original rights, you're free to use this		}
 {				  translation as you deem fit.															}
 { 																										}
-{     Bugs?:      This is an AS IS translation with no express guarentees of any kind.					}
+{     Bugs?:      This is an AS IS translation with no express guarantees of any kind.					}
 {                 If you do find a bug, please help out the Macintosh Pascal programming community by   }
 {				  reporting your bug finding and possible fix to either personal e-mail to Gale Paeper	}
 {				  or a posting to the MacPascal mailing list.											}

+ 1 - 1
packages/univint/src/HITheme.pas

@@ -1386,7 +1386,7 @@ type
 
   {
    * The ThemeWindowAttributes of the window for which the scroll bar
-   * delimters are to be drawn.
+   * delimiters are to be drawn.
    }
 		attributes: ThemeWindowAttributes;
 	end;

+ 1 - 1
packages/univint/src/HIToolbar.pas

@@ -30,7 +30,7 @@
 {     Copyright:  Subject to the constraints of Apple's original rights, you're free to use this		}
 {				  translation as you deem fit.															}
 { 																										}
-{     Bugs?:      This is an AS IS translation with no express guarentees of any kind.					}
+{     Bugs?:      This is an AS IS translation with no express guarantees of any kind.					}
 {                 If you do find a bug, please help out the Macintosh Pascal programming community by   }
 {				  reporting your bug finding and possible fix to either personal e-mail to Gale Paeper	}
 {				  or a posting to the MacPascal mailing list.											}

+ 1 - 1
packages/univint/src/HIView.pas

@@ -31,7 +31,7 @@
 {     Copyright:  Subject to the constraints of Apple's original rights, you're free to use this		}
 {				  translation as you deem fit.															}
 { 																										}
-{     Bugs?:      This is an AS IS translation with no express guarentees of any kind.					}
+{     Bugs?:      This is an AS IS translation with no express guarantees of any kind.					}
 {                 If you do find a bug, please help out the Macintosh Pascal programming community by   }
 {				  reporting your bug finding and possible fix to either personal e-mail to Gale Paeper	}
 {				  or a posting to the MacPascal mailing list.											}

+ 3 - 3
packages/univint/src/HostTime.pas

@@ -231,7 +231,7 @@ uses MacTypes,CoreAudioTypes;
 {!
     @header HostTime
     This collection of functions provides access to the host's time base. It also provides
-    discriptive information about the time base and translations to and from nanoseconds.
+    descriptive information about the time base and translations to and from nanoseconds.
 }
 
 
@@ -270,7 +270,7 @@ function AudioGetHostClockMinimumTimeDelta: UInt32; external name '_AudioGetHost
     @abstract       Convert the given host time into a time in nanoseconds.
     @param          inHostTime
                         A UInt64 containing the host time to convert.
-    @result         A UInt64 containining the converted host time.
+    @result         A UInt64 containing the converted host time.
 }
 function AudioConvertHostTimeToNanos( inHostTime: UInt64 ): UInt64; external name '_AudioConvertHostTimeToNanos';
 (* __OSX_AVAILABLE_STARTING(__MAC_10_0, __IPHONE_2_0) *)
@@ -280,7 +280,7 @@ function AudioConvertHostTimeToNanos( inHostTime: UInt64 ): UInt64; external nam
     @abstract       Convert the given nanosecond time into a host time.
     @param          inNanos
                         A UInt64 containing the nanosecond time to convert.
-    @result         A UInt64 containining the converted nanosecond time.
+    @result         A UInt64 containing the converted nanosecond time.
 }
 function AudioConvertNanosToHostTime( inNanos: UInt64 ): UInt64; external name '_AudioConvertNanosToHostTime';
 (* __OSX_AVAILABLE_STARTING(__MAC_10_0, __IPHONE_2_0) *)

+ 3 - 3
packages/univint/src/ICAApplication.pas

@@ -898,7 +898,7 @@ type
     kICANotificationDeviceICAObjectKey  CFNumberRef       A device object associated with the notification.
     kICANotificationClassKey            CFStringRef       See below.
     kICANotificationTypeKey             CFStringRef       See below.
-    kICANotificationRawEventKey         CFNumberRef       The unprocesssed event code sent by a device.
+    kICANotificationRawEventKey         CFNumberRef       The unprocessed event code sent by a device.
     kICANotificationDataKey             CFDataRef         Data associated with the event.
     kICANotificationDataSizeKey         CFNumberRef       Size of data associated with the event. This is used if the data is
                                                           not sent with the notification. [Needed for backward compatiblity with pre-Leopard device modules].
@@ -1329,7 +1329,7 @@ const
     @field header
         See description for ICAHeader. <->
     @field object
-        An object whose thumbail is being requested. <--
+        An object whose thumbnail is being requested. <--
     @field thumbnailFormat
         One of the format values defined above. <--
     @field thumbnailData
@@ -1816,7 +1816,7 @@ type
     @abstract
         Use this API to open a session on a camera device. For a scanner device use the ICAScannerOpenSession API.
     @discussion
-        This API gets a session ID for a open session on a camera device. Since access to cameras is generally not be session-based, this API generall will not fail. If the camera has open session, the device module controlling the camera will continue to control it during fast-user-switching.
+        This API gets a session ID for a open session on a camera device. Since access to cameras is generally not be session-based, this API in general will not fail. If the camera has open session, the device module controlling the camera will continue to control it during fast-user-switching.
     @param pb
         A pointer to an <code><b>ICAOpenSessionPB</b></code> parameter block.
     @param completion

+ 1 - 1
packages/univint/src/ICACamera.pas

@@ -4,7 +4,7 @@
  *
  *  Copyright (c) 2000-2006 Apple Computer, Inc. All rights reserved.
  *
- *  For bug reports, consult the following page onthe World Wide Web:
+ *  For bug reports, consult the following page on the World Wide Web:
  *  http://bugs.freepascal.org
  *
  *----------------------------------------------------------------------------------------------------------------------------}

+ 1 - 1
packages/univint/src/ICADevice.pas

@@ -4,7 +4,7 @@
  *
  *  Copyright (c) 2000-2006 Apple Computer, Inc. All rights reserved.
  *
- *  For bug reports, consult the following page onthe World Wide Web:
+ *  For bug reports, consult the following page on the World Wide Web:
  *  http://bugs.freepascal.org
  *
  *----------------------------------------------------------------------------------------------------------------------------}

+ 2 - 2
packages/univint/src/IOSurfaceAPI.pas

@@ -347,7 +347,7 @@ function IOSurfaceGetID( buffer: IOSurfaceRef ): IOSurfaceID; external name '_IO
 const
 // If you are not going to modify the data while you hold the lock, you should set this flag to avoid invalidating
 	// any existing caches of the buffer contents.  This flag should be passed both to the lock and unlock functions.
-	// Non-symmentrical usage of this flag will result in undefined behavior.
+	// Non-symmetrical usage of this flag will result in undefined behavior.
 	kIOSurfaceLockReadOnly = $00000001;
 	
 	// If you want to detect/avoid a potentially expensive paging operation (such as readback from a GPU to system memory)
@@ -472,7 +472,7 @@ function IOSurfaceLookupFromMachPort( port: mach_port_t ): IOSurfaceRef; externa
 
 {$ifdef XPC_TRANSLATED}
 { This call lets you get an xpc_object_t that holds a reference to the IOSurface.
-   Note: Any live XPC objects created from an IOSurfaceRef implicity increase the IOSurface's global use
+   Note: Any live XPC objects created from an IOSurfaceRef implicitly increase the IOSurface's global use
    count by one until the object is destroyed. }
 function IOSurfaceCreateXPCObject( aSurface: IOSurfaceRef ): xpc_object_t; external name '_IOSurfaceCreateXPCObject';
 (* IOSFC_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_NA) *)

+ 2 - 2
packages/univint/src/IconsCore.pas

@@ -343,7 +343,7 @@ const
 {
    Type of the predefined/generic icons. For example, the call:
       err = GetIconRef(kOnSystemDisk, kSystemIconsCreator, kHelpIcon, &iconRef);
-   will retun in iconRef the IconRef for the standard help icon.
+   will return in iconRef the IconRef for the standard help icon.
 }
 
 { Generic Finder icons }
@@ -1293,7 +1293,7 @@ function FlushIconRefsByVolume( vRefNum: SInt16 ): OSErr; external name '_FlushI
 
 {
   ==============================================================================
-   Controling custom icons
+   Controlling custom icons
   ==============================================================================
 }
 

+ 5 - 5
packages/univint/src/ImageCodec.pas

@@ -891,7 +891,7 @@ const
 	kAtomNoFlags = $00000000;
 	kAtomNotInterpolated = $00000001; { atom can never be interpolated}
 	kAtomInterpolateIsOptional = $00000002; { atom can be interpolated, but it is an advanced user operation}
-	kAtomMayBeIndexed = $00000004; { more than one value of atom can exist with accending IDs (ie, lists of colors)}
+	kAtomMayBeIndexed = $00000004; { more than one value of atom can exist with ascending IDs (ie, lists of colors)}
 
 type
 	ParameterAtomTypeAndIDPtr = ^ParameterAtomTypeAndID;
@@ -957,7 +957,7 @@ const
 	kParameterDataRange = FourCharCode('rang');
 
 const
-	kNoMinimumLongFixed = $7FFFFFFF; { ignore minimum/maxiumum values}
+	kNoMinimumLongFixed = $7FFFFFFF; { ignore minimum/maximum values}
 	kNoMaximumLongFixed = $80000000;
 	kNoScaleLongFixed = 0;    { don't perform any scaling of value}
 	kNoPrecision = -1;  { allow as many digits as format}
@@ -975,7 +975,7 @@ type
 	LongRangeRecord = record
 		minValue: SIGNEDLONG;               { no less than this}
 		maxValue: SIGNEDLONG;               { no more than this}
-		scaleValue: SIGNEDLONG;             { muliply content by this going in, divide going out}
+		scaleValue: SIGNEDLONG;             { multiply content by this going in, divide going out}
 		precisionDigits: SIGNEDLONG;        { # digits of precision when editing via typing}
 	end;
 { 'enum'}
@@ -990,7 +990,7 @@ type
 	FixedRangeRecord = record
 		minValue: Fixed;               { no less than this}
 		maxValue: Fixed;               { no more than this}
-		scaleValue: Fixed;             { muliply content by this going in, divide going out}
+		scaleValue: Fixed;             { multiply content by this going in, divide going out}
 		precisionDigits: SIGNEDLONG;        { # digits of precision when editing via typing}
 	end;
 { 'doub'}
@@ -1000,7 +1000,7 @@ type
 {$r-}
 {$q-}
 const
-  kNoMinimumDouble=0.0/0.0;                   { ignore minimum/maxiumum values }
+  kNoMinimumDouble=0.0/0.0;                   { ignore minimum/maximum values }
   kNoMaximumDouble=0.0/0.0;
 {$pop}
 const

+ 1 - 1
packages/univint/src/InternetConfig.pas

@@ -933,7 +933,7 @@ function ICStart( var inst: ICInstance; signature: OSType ): OSStatus; external
 
 
 { Call this at application initialisation. Set signature to a value
-   * which has been regsitered with DTS to allow for future expansion
+   * which has been registered with DTS to allow for future expansion
    * of the IC system. Returns inst as a connection to the IC system.
    }
 {

+ 2 - 2
packages/univint/src/IntlResources.pas

@@ -233,11 +233,11 @@ const
 
 const
 { One more flag in the itlcFlags byte }
-	itlcDisableKeyScriptSync = 3;     {Disable font and keyboard script synchrinozation}
+	itlcDisableKeyScriptSync = 3;     {Disable font and keyboard script synchronization}
 
 const
 { We should define masks, too. }
-	itlcDisableKeyScriptSyncMask = 1 shl itlcDisableKeyScriptSync; {Disable font and keyboard script synchrinozation mask}
+	itlcDisableKeyScriptSyncMask = 1 shl itlcDisableKeyScriptSync; {Disable font and keyboard script synchronization mask}
 
 
 const

+ 1 - 1
packages/univint/src/Keyboards.pas

@@ -360,7 +360,7 @@ const
 	kKLKCHRuchrKind = 0;
 
   {
-   * Only KCHR format is avaiable.
+   * Only KCHR format is available.
    }
 	kKLKCHRKind = 1;
 

+ 1 - 1
packages/univint/src/LSQuarantine.pas

@@ -269,7 +269,7 @@ uses MacTypes,CFBase;
  *
  * kLSQuarantineDataURLKey - value type CFURLRef
  *
- *    The URL from which the data for the quarantined item data was actaully streamed
+ *    The URL from which the data for the quarantined item data was actually streamed
  *    or downloaded, if available.
  *
  *

+ 2 - 2
packages/univint/src/LanguageAnalysis.pas

@@ -480,7 +480,7 @@ function LADeleteCustomEnvironment( environment: LAEnvironmentRef ): OSStatus; e
 
 
 {
-    Handling dictionries
+    Handling dictionaries
 }
 {
  *  LAOpenDictionary()   *** DEPRECATED ***
@@ -671,7 +671,7 @@ const
 const
 	kLAJapaneseTTSEnvironment = 'JapaneseTextToSpeech';
 {
-    File cretor for dictionary of Apple Japanese access method
+    File creator for dictionary of Apple Japanese access method
 }
 const
 	kAppleJapaneseDictionarySignature = FourCharCode('jlan');

+ 2 - 2
packages/univint/src/MDImporter.pas

@@ -235,10 +235,10 @@ uses MacTypes,CFBase,CFString,CFUUID,CFDictionary,CFPlugIn,CFPlugInCOM,MDItem;
         @constant kMDImporterInterfaceID Importers must implement this
         Interface - 6EBC27C4-899C-11D8-84A3-0003936726FC
 
-        @constant kMDExporterInterfaceID Exporters can optionaly also implement this
+        @constant kMDExporterInterfaceID Exporters can optionally also implement this
         Interface - B41C6074-7DFB-4057-969D-31C8E861A8D4
 
-        @constant kMDImporterURLInterfaceID Importers can optionaly also implement this
+        @constant kMDImporterURLInterfaceID Importers can optionally also implement this
         Interface - B41C6074-7DFB-4057-969D-31C8E861A8D4
 }
 function kMDImporterTypeID: CFUUIDRef; inline;

+ 7 - 7
packages/univint/src/MDItem.pas

@@ -424,14 +424,14 @@ function MDItemsCopyAttributes( items: CFArrayRef; names: CFArrayRef ): CFArrayR
    This attribute indicates where the item was obtained from.
    Examples:
    - downloaded file may refer to the site they were downloaded from,
-    the refering URL, etc
-  - files reveived by email may indicate who sent the file, the
+    the referring URL, etc
+  - files revived by email may indicate who sent the file, the
     message subject, etc
    Type is a CFArray of CFStrings
 
    @constant kMDItemLastUsedDate
    This is the date that the file was last used, this field is updated
-   by LaunchServices everytime a file is opend by double clicking or
+   by LaunchServices every time a file is opened by double clicking or
    by asking LaunchServices to open a file. Type is a CFDate
 
    @constant kMDItemContentCreationDate
@@ -531,7 +531,7 @@ function MDItemsCopyAttributes( items: CFArrayRef; names: CFArrayRef ): CFArrayR
    Time that the lens was open during exposure
 
    @const kMDItemEXIFVersion
-   The verion of the EXIF header that was used to generate the metadata
+   The version of the EXIF header that was used to generate the metadata
 
    @const kMDItemEXIFGPSVersion
    The version of GPSInfoIFD header that was used to generate the metadata
@@ -558,8 +558,8 @@ function MDItemsCopyAttributes( items: CFArrayRef; names: CFArrayRef ): CFArrayR
    Delivery type Fast start or RTSP
 
    @constant kMDItemAlbum
-   The title for a collection of media. This is analagous to a record album,
-   or photo album whichs are collections of audio or images. Type is a CFString.
+   The title for a collection of media. This is analogous to a record album,
+   or photo album which are collections of audio or images. Type is a CFString.
 
    @constant kMDItemHasAlphaChannel
    Boolean indicating if this image file has an alpha channel. Type is
@@ -1287,7 +1287,7 @@ var kMDItemSupportFileType: CFStringRef; external name '_kMDItemSupportFileType'
         the email address, and not the human readable version)
 
         @const kMDItemRecipientEmailAddresses
-        This attribute indicates the reciepients email addresses. (This is always the email
+        This attribute indicates the recipients email addresses. (This is always the email
         address,  and not the human readable version).
 
         @const kMDItemAuthorAddresses

+ 8 - 8
packages/univint/src/MDQuery.pas

@@ -230,7 +230,7 @@ uses MacTypes,CFBase,CFString,CFDictionary,CFArray,MDItem,MacOSXPosix;
         the progress notifications are sent out, so the query is in a
         good state during those events.
 
-        Result Retreval
+        Result Retrieval
                 An MDQueryRef presents its results as if it were a simple
                 array object.  The results can either be MDItemRefs (the
                 default) or custom structs, CFTypeRefs, or Objective C
@@ -246,7 +246,7 @@ uses MacTypes,CFBase,CFString,CFDictionary,CFArray,MDItem,MacOSXPosix;
                 two ways. First is to let the library sort the results for you
                 by passing an array of attributes to sort on to
                 MDQueryCreate(). The default sort provided by MDQueryCreate()
-                is a assending sort strings are compared using
+                is a ascending sort strings are compared using
                 CFStringCompare() with the options kCFCompareNonliteral |
                 kCFCompareLocalized | kCFCompareNumerically. CFDataRefs are
                 compared by using memcmp() of the data pointers. If an Item
@@ -300,7 +300,7 @@ type
                 will allow anything registered in that mode with this run
                 loop to execute as well. If this parameter is false, the
                 function returns immediately after starting the query
-                asychronously.
+                asynchronously.
         @constant kMDQueryWantsUpdates When set, after gathering the initial results
                 the query will watch for changes in the system which should
                 update the list of results. This can be changes which cause
@@ -765,10 +765,10 @@ procedure MDQuerySetDispatchQueue( query: MDQueryRef; queue: dispatch_queue_t );
                 [[There are three operational modes: (1) synchronous static
                 queries, which collect the list of current results and then
                 do not watch for updates to the results, (2) asynchronous
-                static queries, which collect the results asychronously
+                static queries, which collect the results asynchronously
                 after this function returns, and then do not watch for
                 updates to the results, and (3) asynchronous live queries
-                which collect the initial results asychronously after this
+                which collect the initial results asynchronously after this
                 function returns, and then do watch for updates to the
                 results, until the query is destroyed. There is little
                 reason not to allow the fourth case, synchronous collection
@@ -1047,7 +1047,7 @@ type
                 returns. The function pointer can be NULL to cancel
                 custom sorting and revert to the default sorting.
                 The default sort provided by MDQueryCreate()
-                is a assending sort strings are compared using
+                is a ascending sort strings are compared using
                 CFStringCompare() with the options kCFCompareNonliteral |
                 kCFCompareLocalized | kCFCompareNumerically. CFDataRefs are
                 compared by using memcmp() of the data pointers.
@@ -1079,7 +1079,7 @@ procedure MDQuerySetSortComparator( query: MDQueryRef; comparator: MDQuerySortCo
                 returns. The block can be NULL to cancel
                 custom sorting and revert to the default sorting.
                 The default sort provided by MDQueryCreate()
-                is a assending sort strings are compared using
+                is a ascending sort strings are compared using
                 CFStringCompare() with the options kCFCompareNonliteral |
                 kCFCompareLocalized | kCFCompareNumerically. CFDataRefs are
                 compared by using memcmp() of the data pointers.
@@ -1227,7 +1227,7 @@ var kMDQueryResultContentRelevance: CFStringRef; external name '_kMDQueryResultC
 			 options. This must be called before the query is executed.
     @param query The query object to modify.
     @param scopeDirectories a CFArray of CFStringRef or CFURLRef objects which
-           specify where to search.  For conveinience, the kMDQueryScopeHome,
+           specify where to search.  For convenience, the kMDQueryScopeHome,
 			kMDQueryScopeComputer and kMDQueryScopeNetwork constants may also
 			be present in this array.
     @param scopeOptions additional options for modifying the search.

+ 2 - 2
packages/univint/src/MDSchema.pas

@@ -220,14 +220,14 @@ uses MacTypes,CFBase,CFString,CFArray,CFDictionary,MDItem;
 
 	Functions in MDSchema return meta data about attributes, for example
         the type of an attribute, and a localized string for an attribute that is
-        sutable to display to a user.
+        suitable to display to a user.
 }
 
 {!
 	@function MDSchemaCopyAttributesForContentType
         Returns an dictionary attributes to display or show the
                 user for a given UTI type. This function does not walk up the
-                UTI hiearchy and perform a union of the information.
+                UTI hierarchy and perform a union of the information.
         @param utiType the UTI type to be interrogated.
         @result A CFDictionaryRef with keys ==  to kMDAttributeDisplayValues etc..
 

+ 3 - 3
packages/univint/src/MIDIServices.pas

@@ -291,7 +291,7 @@ uses MacTypes,CFBase,CFData,CFDictionary;
 	@constant		kMIDIWrongEndpointType
 						A source endpoint was passed to a function expecting a destination, or vice versa.
 	@constant		kMIDINoConnection
-						Attempt to close a non-existant connection.
+						Attempt to close a non-existent connection.
 	@constant		kMIDIUnknownEndpoint
 						An invalid MIDIEndpointRef was passed.
 	@constant		kMIDIUnknownProperty
@@ -963,7 +963,7 @@ var kMIDIPropertySingleRealtimeEntity: CFStringRef; external name '_kMIDIPropert
 		10.3, Audio MIDI Setup maintains endpoint-to-external endpoint connections (in 10.2, it
 		connected devices to devices).
 
-		The property is non-existant or 0 if there is no connection.
+		The property is non-existent or 0 if there is no connection.
 
 		Beginning with CoreMIDI 1.3 (Mac OS X 10.2), this property may also be a CFDataRef containing an array of
 		big-endian SInt32's, to allow specifying that a driver object connects to multiple
@@ -1050,7 +1050,7 @@ var kMIDIPropertyUserPatchNameFile: CFStringRef; external name '_kMIDIPropertyUs
 		OS-specific constructs outside of the specification, to fully define the current names
 		for a device.
 
-		The MIDINameConfiguration property is implementated as a CFDictionary:
+		The MIDINameConfiguration property is implemented as a CFDictionary:
 
 		key "master" maps to a CFDataRef containing an AliasHandle referring to the device's
 		master name document.

+ 3 - 3
packages/univint/src/MacApplication.pas

@@ -461,7 +461,7 @@ type
  *    Note that SetSystemUIMode should _not_ be used from UIElement or
  *    BackgroundOnly applications. The presentation mode of the current
  *    login session is determined by the presentation mode of the
- *    frontmost faceful application. Therefore, the presentation mode
+ *    frontmost fateful application. Therefore, the presentation mode
  *    of a UIElement or BackgroundOnly application will be ignored,
  *    since these types of applications can't be the frontmost faceful
  *    application.
@@ -502,8 +502,8 @@ function SetSystemUIMode( inMode: SystemUIMode; inOptions: SystemUIOptions ): OS
  *    calling application, _not_ the mode of the current login session.
  *    The login session mode may be different, since the login session
  *    mode is determined by the presentation mode of the frontmost
- *    faceful application. If the calling application is not currently
- *    the frontmost faceful application, then its presentation mode
+ *    fateful application. If the calling application is not currently
+ *    the frontmost fateful application, then its presentation mode
  *    will not be in use. You may use the kEventAppSystemUIModeChanged
  *    Carbon event to track changes in the login session's presentation
  *    mode.

+ 15 - 15
packages/univint/src/MacErrors.pas

@@ -446,7 +446,7 @@ const
 	rgnTooBigErr = -500; { should have never been added! (cf. rgnTooBigError = 147) }
 	updPixMemErr = -125; {insufficient memory to update a pixmap}
 	pictInfoVersionErr = -11000; {wrong version of the PictInfo structure}
-	pictInfoIDErr = -11001; {the internal consistancy check for the PictInfoID is wrong}
+	pictInfoIDErr = -11001; {the internal consistency check for the PictInfoID is wrong}
 	pictInfoVerbErr = -11002; {the passed verb was invalid}
 	cantLoadPickMethodErr = -11003; {unable to load the custom pick proc}
 	colorsRequestedErr = -11004; {the number of colors requested was illegal}
@@ -545,14 +545,14 @@ const
 	smEmptySlot = -300; {No card in slot}
 	smCRCFail = -301; {CRC check failed for declaration data}
 	smFormatErr = -302; {FHeader Format is not Apple's}
-	smRevisionErr = -303; {Wrong revison level}
+	smRevisionErr = -303; {Wrong revision level}
 	smNoDir = -304; {Directory offset is Nil}
 	smDisabledSlot = -305; {This slot is disabled (-305 use to be smLWTstBad)}
 	smNosInfoArray = -306;  {No sInfoArray. Memory Mgr error.}
 
 
 const
-	smResrvErr = -307; {Fatal reserved error. Resreved field <> 0.}
+	smResrvErr = -307; {Fatal reserved error. Reserved field <> 0.}
 	smUnExBusErr = -308; {Unexpected BusError}
 	smBLFieldBad = -309; {ByteLanes field was bad.}
 	smFHBlockRdErr = -310; {Error occurred during _sGetFHeader.}
@@ -775,7 +775,7 @@ const
 	kFMFontContainerAccessErr = -985;
 
 const
-	noMaskFoundErr = -1000; {Icon Utilties Error}
+	noMaskFoundErr = -1000; {Icon Utilities Error}
 
 const
 	nbpBuffOvr = -1024; {Buffer overflow in LookupName}
@@ -860,7 +860,7 @@ const
 	errAERecordingIsAlreadyOn = -1732; { available only in version 1.0.1 or greater }
 	errAEReceiveTerminate = -1733; { break out of all levels of AEReceive to the topmost (1.1 or greater) }
 	errAEReceiveEscapeCurrent = -1734; { break out of only lowest level of AEReceive (1.1 or greater) }
-	errAEEventFiltered = -1735; { event has been filtered, and should not be propogated (1.1 or greater) }
+	errAEEventFiltered = -1735; { event has been filtered, and should not be propagated (1.1 or greater) }
 	errAEDuplicateHandler = -1736; { attempt to install handler in table for identical class and id (1.1 or greater) }
 	errAEStreamBadNesting = -1737; { nesting violation while streaming }
 	errAEStreamAlreadyConverted = -1738; { attempt to convert a stream that has already been converted }
@@ -1130,7 +1130,7 @@ const
 	tsmTSNotOpenErr = -2514; { text service is not open }
 	tsmComponentAlreadyOpenErr = -2515; { text service already opened for the document }
 	tsmInputMethodIsOldErr = -2516; { returned by GetDefaultInputMethod }
-	tsmScriptHasNoIMErr = -2517; { script has no imput method or is using old IM }
+	tsmScriptHasNoIMErr = -2517; { script has no input method or is using old IM }
 	tsmUnsupportedTypeErr = -2518; { unSupported interface type error }
 	tsmUnknownErr = -2519; { any other errors }
 	tsmInvalidContext = -2520; { Invalid TSMContext specified in call }
@@ -1290,7 +1290,7 @@ const
 	cfragInitAtBootErr = -2816; { A boot library has an initialization function.  (System 7 only)}
 	cfragLibConnErr = -2817; { }
 	cfragCFMStartupErr = -2818; { Internal error during CFM initialization.}
-	cfragCFMInternalErr = -2819; { An internal inconstistancy has been detected.}
+	cfragCFMInternalErr = -2819; { An internal inconsistency has been detected.}
 	cfragFragmentCorruptErr = -2820; { A fragment's container was corrupt (known format).}
 	cfragInitFunctionErr = -2821; { A fragment's initialization routine returned an error.}
 	cfragNoApplicationErr = -2822; { No application member found in the cfrg resource.}
@@ -1650,7 +1650,7 @@ const
 	afpCatalogChanged = -5037;
 	afpSameObjectErr = -5038;
 	afpBadIDErr = -5039;
-	afpPwdSameErr = -5040; { Someone tried to change their password to the same password on a mantadory password change }
+	afpPwdSameErr = -5040; { Someone tried to change their password to the same password on a mandatory password change }
 	afpPwdTooShortErr = -5041; { The password being set is too short: there is a minimum length that must be met or exceeded }
 	afpPwdExpiredErr = -5042; { The password being used is too old: this requires the user to change the password before log-in can continue }
 	afpInsideSharedErr = -5043; { The folder being shared is inside a shared folder OR the folder contains a shared folder and is being moved into a shared folder }
@@ -1720,7 +1720,7 @@ const
 	errCannotUndo = -5253;
 
 
-{ HTMLRendering OSStaus codes}
+{ HTMLRendering OSStatus codes}
 const
 	hrHTMLRenderingLibNotInstalledErr = -5360;
 	hrMiscellaneousExceptionErr = -5361;
@@ -2067,7 +2067,7 @@ const
 	kATSUFontsNotMatched = -8794; {    This value is returned by ATSUMatchFontsToText()    }
                                         {    when the text contains Unicode characters which    }
                                         {    cannot be represented by any installed font.  }
-	kATSUNoCorrespondingFontErr = -8795; {    This value is retrned by font ID conversion }
+	kATSUNoCorrespondingFontErr = -8795; {    This value is returned by font ID conversion }
                                         {    routines ATSUFONDtoFontID() and ATSUFontIDtoFOND() }
                                         {    to indicate that the input font ID is valid but }
                                         {    there is no conversion possible.  For example, }
@@ -2175,7 +2175,7 @@ const
 	kATSUOutputBufferTooSmallErr = -8903; {    An attempt was made to use an output buffer which was too small}
                                         {    for the requested operation.}
 	kATSUInvalidCallInsideCallbackErr = -8904; {    A call was made within the context of a callback that could}
-                                        {    potetially cause an infinite recursion}
+                                        {    potentially cause an infinite recursion}
 	kATSUNoFontNameErr = -8905; {    This error is returned when either ATSUFindFontName() or ATSUGetIndFontName() }
                                         {    function cannot find a corresponding font name given the input parameters}
 	kATSULastErr = -8959; {    The last ATSUI error code.}
@@ -2275,7 +2275,7 @@ const
 	kNoCardEnablersFoundErr = -9099; { No Enablers were found}
 	kNoEnablerForCardErr = -9100; { No Enablers were found that can support the card}
 	kNoCompatibleNameErr = -9101; { There is no compatible driver name for this device}
-	kClientRequestDenied = -9102; { CS Clients should return this code inorder to }
+	kClientRequestDenied = -9102; { CS Clients should return this code in order to }
                                         {   deny a request-type CS Event                }
 	kNotReadyErr = -9103; { PC Card failed to go ready }
 	kTooManyIOWindowsErr = -9104; { device requested more than one I/O window }
@@ -2408,7 +2408,7 @@ const
 	errTaskNotFound = -10780; { no task with that task id exists }
 
 
-{ Video driver Errorrs -10930 to -10959 }
+{ Video driver Errors -10930 to -10959 }
 { Defined in video.h. }
 
 const
@@ -2606,7 +2606,7 @@ const
 	kFNSMismatchErr = -29585; { reference didn't match or wasn't found in profile }
 	kFNSInsufficientDataErr = -29586; { insufficient data for the operation }
 	kFNSBadFlattenedSizeErr = -29587; { flattened size didn't match input or was too small }
-	kFNSNameNotFoundErr = -29589; { The name with the requested paramters was not found }
+	kFNSNameNotFoundErr = -29589; { The name with the requested parameters was not found }
 
 
 { MacLocales error codes}
@@ -2887,7 +2887,7 @@ const
 	errCantEmbedIntoSelf = -30594;
 
   {
-   * You called EmbedControl or a similiar API to embed the root
+   * You called EmbedControl or a similar API to embed the root
    * control in another control. You cannot embed the root control in
    * any other control.
    }

+ 2 - 2
packages/univint/src/MacTypes.pas

@@ -837,7 +837,7 @@ type
 	TimeRecord = record
 		value: CompTimeValue;                  { units (duration or absolute) }
 		scale: TimeScale;                  { units per second }
-		base: TimeBase;                   { refernce to the time base }
+		base: TimeBase;                   { reference to the time base }
 	end;
 	TimeRecordPtr = ^TimeRecord;
 
@@ -867,7 +867,7 @@ type
 {$elsec}
 type
 	NumVersion = packed record
-{ Numeric version part of 'vers' resource accessable in little endian format }
+{ Numeric version part of 'vers' resource accessible in little endian format }
 		nonRelRev: UInt8;              {revision level of non-released version}
 		stage: UInt8;                  {stage code: dev, alpha, beta, final}
 		minorAndBugRev: UInt8;         {2nd & 3rd part of version number share a byte}

+ 1 - 1
packages/univint/src/MacWindows.pas

@@ -9307,7 +9307,7 @@ function HIWindowCopyDrawers( inWindow: WindowRef; var outDrawers: CFArrayRef ):
  *  Discussion:
  *    It is appropriate to disable updates if you are moving or
  *    resizing multiple windows and you want all of the geometry
- *    changes to appear onscreen simulataneously. In most other cases,
+ *    changes to appear onscreen simultaneously. In most other cases,
  *    you should strive to avoid disabling screen updates. The window
  *    server will automatically re-enable updates (and print a message
  *    to the Console log) if you leave updates disabled for a

Some files were not shown because too many files changed in this diff